blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
510dd57a125e1dab59c4eb0b49f8871bd744a6a2
f8e1329747ca908ff8c13245fb6be44a0a4577a3
/DataCollector/configHandler.py
a337a608cb3a8b716459f89cbf4b6f11e40d5dbc
[]
no_license
FlucTuAteDev/EuProNet-Database
058ba7a19e7cca487e826787ca4241c9b262bed7
ba72421dbd8832f7c20761ff74cf240f49b350a4
refs/heads/master
2021-02-07T00:12:28.653012
2020-10-15T16:09:17
2020-10-15T16:09:17
243,960,243
1
1
null
2020-10-15T16:09:18
2020-02-29T11:56:27
Python
UTF-8
Python
false
false
3,236
py
# region - Imports import re from collections import namedtuple # endregion # region - Classes class configHandler: # region - Dunder methods """ Config settings: dict(configName : (regex, requestMessage)) Filepath: The path of the configuration file """ def __init__(self, configSettings: dict...
[ "gucziadamlaszlo@gmail.com" ]
gucziadamlaszlo@gmail.com
eb599ad48afd47de67a5a38758872173421836a2
f2a0c0cad8ccc82ac00c7fa9dbf06c5fec96089c
/Student_Management/main/urls.py
b6fe5fc9e31bae12859e560cff9d8544ad9433a3
[]
no_license
tushargoyal22/Django-Learning
49bb0c97f6e344dae053a3c913a74c765a9a021b
eb87ac56220d7f0e1e4741cda754547180835713
refs/heads/master
2020-12-26T18:12:07.305533
2020-04-20T06:22:14
2020-04-20T06:22:14
237,585,513
0
0
null
2020-06-06T09:08:09
2020-02-01T08:31:48
CSS
UTF-8
Python
false
false
497
py
from django.urls import path from main import views urlpatterns = [ path('',views.Index.as_view()), path('college/<int:pk>' , views.CollegeDetail.as_view(),name='college'), path('colleges/',views.CollegeList.as_view()), path('create_college/' , views.CollegeCreate.as_view()), path('update_college/...
[ "tushar22.tg.tg@gmail.com" ]
tushar22.tg.tg@gmail.com
e32885af94380c637c2e329002e6eddadc8fcf74
fb391ea6a3f72f3007b2dc10ed7cd746b2d59642
/lesson7/exp2.py
a1062041858fa117dbee3789381380959fd5fd6b
[]
no_license
KremenenkoAlex/Python
6946cec411b6a0c114a17cd1061168f992cde7b2
f7b4d7f6283b5ff524068cddac3c2872359a17ab
refs/heads/main
2023-03-02T12:07:11.589231
2021-01-30T14:08:48
2021-01-30T14:08:48
322,815,827
0
0
null
2020-12-26T10:12:02
2020-12-19T09:56:38
null
UTF-8
Python
false
false
843
py
from abc import ABC, abstractmethod class Clothes(ABC): def __init__(self, param): self.param = param @abstractmethod def necessary(self): pass class Coat(Clothes): def necessary(self): return "Сумма затраченной ткани на пальто равна: {:.2f}".format(self.param / 6.5 + 0.5) cl...
[ "kremenenko2008@mail.ru" ]
kremenenko2008@mail.ru
941112e2fd1cd212d7d406d0bbaa7e2bae415bc3
217a6c88943e75c79929b69657179f59cd6969c4
/Auth/serializers/user_my_languages.py
ff166117be4a8a0ccb4a6175ad4c35cd0841fe6c
[]
no_license
manish86510/testapi
15109428ffb91f434368cb810dfeb790aa45d1d6
e2cc0f5cb2369e7ad5392773942d642a01bb9f80
refs/heads/master
2022-12-11T03:03:57.132046
2020-02-25T16:55:23
2020-02-25T16:55:23
243,049,848
0
0
null
2022-12-08T07:12:56
2020-02-25T16:51:39
Python
UTF-8
Python
false
false
466
py
from rest_framework import serializers from Auth.models import MyLanguage class MyLanguageSerializer(serializers.ModelSerializer): class Meta: model = MyLanguage fields = ["id", "name", "read", "write", "speak", 'user'] # fields = "__all__" class MyLanguageCreateSerializer(serializers.Mo...
[ "ishu.k@skysoft.net.in" ]
ishu.k@skysoft.net.in
0c537ff811c0d6ba4bad2d771c8537a196c9043a
db9e654cba94034797a49897bc8185168ed13838
/Week4/7-Count-of-All-Pairs-With-Zero-Sum/pairs.py
04bb43e586bbcf29548121c513f32da0dcc0752e
[]
no_license
smonov/HomeWork
f0a65f3edcd436b25103a14bcd9b8a291cdc1f58
53053ba11fa2cdad2c27d167847f688ef1fd59ba
refs/heads/master
2021-03-12T22:08:31.464281
2015-09-30T16:13:57
2015-09-30T16:13:57
31,278,087
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
#Week4 Task7 count_of_all_pairs_wit_zer_sum def count_zero_neighbours(numbers): count = 0 index = 0 for number in numbers: if index < len(numbers) - 1: neighbour = numbers[index + 1] if number + neighbour == 0: count += 1 index += 1 return coun...
[ "smonov@abv.bg" ]
smonov@abv.bg
e187641d7db47cec739bd694e61860ff1f2d4b26
a48eaa4419b87c011abdee1eebfd04b469f4417b
/.history/ghostpost/views_20200211120737.py
0c516f78e19399fa4ac83bde5fc952b2f89adef3
[]
no_license
Imraj423/ghostpost
6418d6c9561528ac8c31dd70d8aae7fac4c77cca
4edc559eb1f9ef0d11aae78e2b1dbd5c4903ddb5
refs/heads/master
2021-01-02T13:32:58.032239
2020-02-11T23:21:31
2020-02-11T23:21:31
239,644,968
0
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
from django.shortcuts import render from django.contrib.auth.models import User from ghostpost.models import ghostPost from django.shortcuts import render, reverse, HttpResponseRedirect from ghostpost.forms import addPost def index(request): item = ghostPost.objects.all() return render(request, 'index.html',...
[ "dahqniss@gmail.com" ]
dahqniss@gmail.com
7f397abd25523532057ca09c4d0096c9bb8e847f
7e1ea98a04ac3d5c6cee48d42ca08a41b2c0f397
/books_app.py
e7817daf580717ae38aaedcdf5c44f291564b2ce
[ "MIT" ]
permissive
mihalw28/library_books
ec15a09db036e9b1215115b618a225f635d40a28
bdb82341e65fc8a3f91f7b111f63ab343a62427b
refs/heads/master
2022-12-14T01:30:01.651421
2019-10-01T09:23:31
2019-10-01T09:23:31
186,705,758
1
0
MIT
2022-12-08T05:07:50
2019-05-14T21:51:52
Python
UTF-8
Python
false
false
226
py
from app import app as application, db from app.models import Author, Book, Category @application.shell_context_processor def make_shell_context(): return {"db": db, "Author": Author, "Book": Book, "Category": Category}
[ "michal.waszak@yahoo.com" ]
michal.waszak@yahoo.com
8de0fb64fa57bd58c266f1d3d2226bb6c203a8e1
c0d1de2e61fc66ec51a670eaa8bd731e993292d2
/FCST/Read_Data.py
7743f09432162d5c3e851d53dc62e31388192408
[ "MIT" ]
permissive
WillhelmKai/PyPortfolioOpt
204d9e2fb176b4e8bd3947e881a6860309b0f524
6a040416520aaee4035528b0f2b4d6cdb3abc15f
refs/heads/master
2021-01-07T03:42:45.077964
2020-04-20T02:46:26
2020-04-20T02:46:26
241,569,327
2
0
null
2020-02-19T08:24:54
2020-02-19T08:24:54
null
UTF-8
Python
false
false
1,655
py
#coding by Willhelm import requests import time import pandas as pd from sklearn import preprocessing #sample query #https://query1.finance.yahoo.com/v7/finance/download/0288.HK?period1=1546300800&period2=1577750400&interval=1d&events=history&crumb=UuO4UZuUbll class market_Dataset(object): def __init__(self, path...
[ "Willhelmkai@outlook.com" ]
Willhelmkai@outlook.com
133c3b16ba1adaf5b0f71f1cf995a1cec6f217f7
a35632bd878ad4e7e0c1c72e0232c7d6a2866cc8
/preprocessing.py
1bcabea24b26f917cdc431426ca1fc45a3798033
[]
no_license
leowe/jgwiki
bc5a000f5e8b0007b610fdb78406ffa7436823b7
571249021483f160b77eeb3f5473a8392fef2168
refs/heads/master
2021-01-19T05:01:51.725127
2016-08-03T17:20:22
2016-08-03T17:20:22
64,864,123
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
import re from nltk.corpus import stopwords from nltk.tokenize import wordpunct_tokenize, regexp_tokenize from nltk.stem.snowball import SnowballStemmer from collections import defaultdict stop_words = set(stopwords.words('german')) #stop_words.update(['.', ',', '"', "'", '?', '!', ':', ';', '(', ')', '[', ']', '{', '...
[ "leowndt@gmail.com" ]
leowndt@gmail.com
697e048e4350aa768d9f762d8bb329c1113d6744
1bebf14ef1216332863372c677ff048ab88f5006
/problem solving/Implementation/Drawing book.py
9ea8b066f34a39d848b102d9a1c4946df08e82fa
[]
no_license
Zahidsqldba07/hackerrank-codes-in-python
2c179a91b5afaa63cb38e3aee21cdad67bf84773
7e1296d2f3d183b5a4702e83e930f05667ba5677
refs/heads/master
2023-03-17T23:21:44.836820
2020-06-26T13:00:00
2020-06-26T13:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
#!/bin/python3 import os import sys # # Complete the pageCount function below. # def pageCount(n, p): k=p//2 l=(n//2-p//2) return (min(k,l)) # # Write your code here. # if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w') n = int(input()) p = int(input())...
[ "50777789+sajal1302@users.noreply.github.com" ]
50777789+sajal1302@users.noreply.github.com
652e8748f26f358862132b7fc9300aa65f1f05ec
3ff9821b1984417a83a75c7d186da9228e13ead9
/No_0530_Minimum Absolute Difference in BST/minimum_absolute)difference_in_BST_by_inorder_iteration.py
a7418dd3d34f9db81a543e4abdb35916f72c1593
[ "MIT" ]
permissive
brianchiang-tw/leetcode
fd4df1917daef403c48cb5a3f5834579526ad0c2
6978acfb8cb767002cb953d02be68999845425f3
refs/heads/master
2023-06-11T00:44:01.423772
2023-06-01T03:52:00
2023-06-01T03:52:00
222,939,709
41
12
null
null
null
null
UTF-8
Python
false
false
2,094
py
''' Description: Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: Input: 1 \ 3 / 2 Output: 1 Explanation: The minimum absolute difference is 1, which is the difference between 2 and 1 (or between 2 and 3). No...
[ "brianchiang1988@icloud.com" ]
brianchiang1988@icloud.com
0efc2c824d85ee64bdfdb49c3b5efa82afeaff0b
b4ac05882e479636e19e2759a6e3d7fef1716e99
/Stocks.py
b5cc476c3161be6d99bcbaa93ff5cbd9cb0b7c81
[]
no_license
ganesh-8/Stocks_Software
84e88d6d337499ce31f4ba05097acaabe5930d6f
1ef9e653ef7cf4371a7fc66784efaf26fe72147f
refs/heads/main
2023-08-01T23:59:07.363688
2021-10-10T11:37:58
2021-10-10T11:37:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,617
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys import os import glob import pandas as pd import time import numpy as np import xlsxwriter companyList = ["ABB", "Reliance Industries"] browser = webdriver.Chrome(r'C:\\Users\\smart\\Downloads\\chromedriver_win32 (1)\\chromedriver.exe') bo...
[ "ganesh.sv@surya-soft.com" ]
ganesh.sv@surya-soft.com
4a7fa456d169a00bddd9c0491088b97441603746
4cf94ee34584c3a040f6668167535e5c614b8416
/url_manager.py
3a577eb555aaaf181179def5556a248ed21dae00
[]
no_license
daozl/spider
44cc1de635cb5646f941dd71e4e0692b7985f191
a456de9566167d157633ce3d5e01b9625658a41f
refs/heads/master
2021-04-30T07:45:39.224332
2018-02-13T08:19:02
2018-02-13T08:19:02
121,355,237
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
# -*- coding: utf-8 -*- """ Created on Fri Feb 09 16:41:19 2018 @author: daozl1 """ class UrlManager(object): def __init__(self): self.new_urls = set() self.old_urls = set() def add_new_url(self,url): if url is None: return if url not in self...
[ "daozl1@lenovo.com" ]
daozl1@lenovo.com
0aba029a55aec6ad1428eab510053224643a4fb5
aaa13a9db81f478a1890efc23fe0c03f3736d1a6
/package_functions/module_audiofunctions.py
9e5164b83124632233680279a5d684151703f5c6
[]
no_license
Seleukos/AudioTestCreator
ca295eb02ab4b7b44ae8b855dc09e76767fd4bd0
cc75c647d0009bfb86d59f649ccf4de9726ddd47
refs/heads/master
2020-07-24T22:06:50.821807
2019-09-12T13:57:09
2019-09-12T13:57:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
import pyaudio import wave import sys def playback_audiofile(filepath): CHUNK = 1024 #filepath = 'C:\\Users\\Tobi_SurfacePro\\PycharmProjects\\Test_PyAudio\\Jungle Windows Start.wav' if len(filepath) < 2: print("Plays a wave file.\n\nUsage: %s filename.wav" % filepath) sys.exit(-1) ...
[ "meyer.tobias92_ing@gmx.de" ]
meyer.tobias92_ing@gmx.de
56355c40281c49161566966d5d2b9a09760553bf
d350ecb50abd047d42e2c38d835d6ea8ccb3b787
/Final_Products/player_bio_info_etl.py
e61cbb9e52cdf17ff034b27f95e5545a211fcf28
[]
no_license
cs327e-spring2016/TeamCT
da1b93f2fa8e500cdcb0f959efc8c956e1dbd3b1
4c87a25cc642808c12e5690257ffb799723e1490
refs/heads/master
2021-01-19T12:10:33.196228
2016-05-05T00:38:45
2016-05-05T00:38:45
54,931,440
0
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
import pymysql def unique_items(players): insert_set = [] name_set = set() for item in players: if item[0]+" "+item[1] not in name_set: name_set.add(item[0]+" "+item[1]) insert_set.append(item) return insert_set file = open("player_info.txt", "r") players = [] for line ...
[ "ronlyleung@yahoo.com" ]
ronlyleung@yahoo.com
ed5011cc3487f985230c6ed6dd624bc9edd28642
898a94058b46ad09e55f220772b74ac9b0d7d249
/test/test_repo.py
31e8b686902e5e56550fdc2d69622f87131c4840
[]
no_license
ndreynolds/pygri
797d6f541884adead582b9a0230ae1057122aef4
239c1ceb8414170f925de9a52a31e666df090bd1
refs/heads/master
2016-09-06T04:23:13.987047
2011-12-01T06:02:12
2011-12-01T06:02:12
2,840,397
0
0
null
null
null
null
UTF-8
Python
false
false
10,602
py
from __future__ import with_statement import unittest import os import shutil import inspect import uuid from pygri.repo import Repo, \ NoHeadSet, \ NothingToCommit, \ FILE_IS_UNCHANGED, \ FILE_IS_NEW, \ ...
[ "ndreynolds@gmail.com" ]
ndreynolds@gmail.com
b96cdb37e177f57c6ce552c428b42910fcde0a6a
92dd4dff04d4682967b60d6825482b9cca7e4796
/python-samples/regex-match.py
f3a026fe0f8664167fab1f1e4d78c0aaf2c527ed
[]
no_license
vigneshmahesh/big-data-pipeline
806868f959413d897e4a12bc2349b6ef0f1bcdfb
928815a3983fce7500533ae5f468699c5e5fd4d3
refs/heads/master
2023-07-08T06:17:19.252901
2021-05-02T18:57:49
2021-05-02T18:57:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
#https://stackoverflow.com/questions/8888567/match-a-line-with-multiple-regex-using-python import re stri="hello hella hellb hellc helld" regexList = ["hella", "hellb", "hellc"] gotMatch = False for regex in regexList: s = re.search(regex,stri) if s: gotMatch = True break if gotMatch: print(...
[ "noreply@github.com" ]
vigneshmahesh.noreply@github.com
d329e0df524f7bf2d61bdfb4ee8f5c750109dcbf
ac74496d58e25060cc12bfd07f3fbcf3a790b575
/bin/wheel
d62162fcda35324b1672ebf6978b50e65e4a1876
[]
no_license
prdiction47/tryTen-Django-template
2b8e18047bb16b97dc7f0c8be92015e3b47873bd
b78fcc45631c47194d613c9590c902bf09cf217f
refs/heads/master
2022-02-06T11:55:21.526535
2019-07-20T20:01:43
2019-07-20T20:01:43
197,975,578
0
0
null
null
null
null
UTF-8
Python
false
false
233
#!/home/p37/tryTen/activate/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "noreply@github.com" ]
prdiction47.noreply@github.com
35fddb176546bcdc04b5f7168fe7656d9d16c1c5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02675/s648199301.py
b63ed0e3bb4be52116a50e76ac3fe5f3864781f1
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
# -*- coding: utf-8 -*- def main(): N = int(input()) case1 = [2, 4, 5, 7, 9] case2 = [0, 1, 6, 8] case3 = [3] num = N % 10 if num in case1: ans = 'hon' elif num in case2: ans = 'pon' elif num in case3: ans = 'bon' print(ans) if __name__ == "__main__"...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fbb22d07d9835c8d6caf030863e2810b22a5435c
43a8517e548eedbd8e5b74297207a794c63c5c0d
/examplePrintNameReverse.py
a797e4c755d3c64ea1348808c6fca356cf7aff2a
[]
no_license
JaleelSavoy/CS6.0001
7842bd22dad1f93ec18b3e60636f5acc0ba653b7
ca9a0ae2afd18bcf476de1091a402341d053be51
refs/heads/master
2021-01-19T21:21:34.417329
2017-04-22T19:53:28
2017-04-22T19:53:28
88,646,408
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
#print name example def printName(firstName, lastName, reverse = False): if reverse: return print(lastName + "," + firstName) else: return print(firstName, lastName) # printName('Jaleel', 'Savoy', True) #prints: Savoy, Jaleel
[ "noreply@github.com" ]
JaleelSavoy.noreply@github.com
2eceaf1c444d32ea302bb66c18aa3323860897b4
507103d591ed6993203db92fd8dffc992e8bcd5c
/k2/python/host/tests/fsa_equivalent_test.py
c328246c581ba7fda7ed9cc2746d8e53fc9b4e4a
[ "Apache-2.0" ]
permissive
k2-fsa/k2
6e661bd505f06583af779f4249bbb8ea87a0d662
2b2ac14b326d61d79d04e53fbd69b1ff6d630411
refs/heads/master
2023-09-03T11:57:13.505432
2023-08-23T21:58:26
2023-08-23T21:58:26
256,463,281
851
192
Apache-2.0
2023-08-26T06:51:21
2020-04-17T09:44:05
Cuda
UTF-8
Python
false
false
8,722
py
#!/usr/bin/env python3 # # Copyright 2020 Xiaomi Corporation (author: Haowen Qiu) # # See ../../../LICENSE for clarification regarding multiple authors # # 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 ...
[ "noreply@github.com" ]
k2-fsa.noreply@github.com
96a1d7b58328b30fde41e93d4831caca9bf6fc36
9aaa39f200ee6a14d7d432ef6a3ee9795163ebed
/Algorithm/Python/146. LRU Cache.py
12ae61d680fa056cf718b935addad161d26c1efe
[]
no_license
WuLC/LeetCode
47e1c351852d86c64595a083e7818ecde4131cb3
ee79d3437cf47b26a4bca0ec798dc54d7b623453
refs/heads/master
2023-07-07T18:29:29.110931
2023-07-02T04:31:00
2023-07-02T04:31:00
54,354,616
29
16
null
null
null
null
UTF-8
Python
false
false
1,259
py
# -*- coding: utf-8 -*- # @Author: WuLC # @Date: 2016-08-04 22:39:03 # @Last modified by: WuLC # @Last Modified time: 2016-08-04 22:40:49 # @Email: liangchaowu5@gmail.com class LRUCache(object): def __init__(self, capacity): """ :type capacity: int """ self.capacity = capacity ...
[ "liangchaowu5@gmail.com" ]
liangchaowu5@gmail.com
c375cdd6d18f800c809abea55b624924512fcece
3b795f932efde9ad1c9fb84eeeb3d2b98bbccd2c
/generate_loader.py
cb4cc0604408aa9a6496225989db9d778c14840b
[]
no_license
pochmann/wca-api-go
f5c3927728001920ffeeb208b50d7bb8eb33de81
537f36840721244d4836f414c2f99019c99a9d2d
refs/heads/master
2020-05-17T00:51:16.004945
2015-02-14T17:17:11
2015-02-14T17:17:11
30,503,233
0
0
null
null
null
null
UTF-8
Python
false
false
2,929
py
from glob import glob from os.path import join import re, subprocess # Analyze the types in the .tsv files types = [] for path in sorted(glob(join('data', 'WCA_export_*.tsv'))): tablename = re.search('export_(.*).tsv', path).group(1) typename = 'Wca' + re.sub('ies$', 'y', tablename).rstrip('s') va...
[ "stefan.pochmann@gmail.com" ]
stefan.pochmann@gmail.com
f86f346345b1e788b5612e8ac5f117bc6c0dbce1
e168a4b9e7997b5266df4c1fe2afbaf0ed031fed
/url_shortener/profiles/forms.py
470c5cd6344634922a1279b0c41660591cc5b23a
[]
no_license
AaronScruggs/urly-bird
756eba26f21c66e78ed93bf6f936b50fb927aaef
a27314afb309de42230852fc2bd35416dece46d9
refs/heads/master
2021-01-22T01:18:59.907605
2016-04-05T07:01:53
2016-04-05T07:01:53
55,178,264
0
0
null
2016-03-31T19:45:02
2016-03-31T19:45:01
null
UTF-8
Python
false
false
217
py
from django import forms from django.contrib.auth.models import User from profiles.models import Profile class ImageUpdateForm(forms.ModelForm): class Meta: model = Profile fields = ("image",)
[ "aarondscruggs@gmail.com" ]
aarondscruggs@gmail.com
36c5318154387ad099df3c4c0100ceffc7f79f78
4b486da34cc3c0c6492eb0c183757c5a6903490e
/apps/organization/adminx.py
f1dd73b85b15a0c499ee46241b94d6882aabcd65
[]
no_license
xxqyjk/MxOnline
6c48e2bf807d6770efef2870866a7897ef5f5d69
a4d147244d5603d145636671ab246ca88490a0fa
refs/heads/master
2020-03-20T12:35:41.657651
2018-06-19T03:45:54
2018-06-19T03:45:54
137,435,213
0
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
#_*_ coding: utf-8 _*_ __author__ = 'cherryban' __date__ = '2018/6/19 9:24' import xadmin from .models import CityDict, CourseOrg, Teacher class CityDictAdmin(object): list_display = ['name', 'desc', 'add_time'] search_fields = ['name', 'desc'] list_filter = ['name', 'desc', 'add_time'] class CourseOrg...
[ "xxqyjk@163.com" ]
xxqyjk@163.com
a74b58b3e5974f4098f7a4932dfa112f9fedbc7e
19ddab74600f71700a6b693281d0180d5271f295
/程序员面试金典/01_04_回文排列.py
bc02963092c9dc8e4d739287a6103fd74aad53ce
[]
no_license
zhulf0804/Coding.Python
4d55a430da1a8077c81feba65c13ac654aaf094a
46ab03e23d15ebd5434ef4dd5ae99130000b00a5
refs/heads/master
2022-09-14T18:40:59.880941
2022-08-20T08:25:51
2022-08-20T08:25:51
213,113,482
3
1
null
null
null
null
UTF-8
Python
false
false
337
py
class Solution: def canPermutePalindrome(self, s: str) -> bool: d = {} for item in s: d[item] = d.get(item, 0) + 1 is_odd = False for k, v in d.items(): if v & 1 == 1: if is_odd: return False is_odd = True ...
[ "zhulf0804@gmail.com" ]
zhulf0804@gmail.com
42ca502857139d862fd33e501566af85364c52ba
fb509a40f884456371435b633242f29af789174d
/account/views.py
83299a0ba0a4296954cc8ed0fd0cea5906a57e80
[]
no_license
dorikoirony/django_ph
64c7b17190c8dfdd165c678fc43c075dc032858e
49067146ffa2d9e410de35fc62f2a59cb74a31ea
refs/heads/master
2020-05-04T19:44:52.227154
2019-04-15T08:25:03
2019-04-15T08:25:03
179,406,178
0
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
from django.shortcuts import render,redirect from django.contrib.auth.models import User from django.contrib import auth # Create your views here. def signup(request): if request.method == 'GET': return render(request,'signup.html') elif request.method == 'POST': user_name = request.POST['用户名']...
[ "1033188854@qq.com" ]
1033188854@qq.com
622db43d8423045eb3047bcc7e89c91ca043dd42
f25429ea099ba1d930553ebcfd3f61ec1383141a
/historia/migrations/0008_auto_20210629_1800.py
5c473c035ede96037a4ccee80a29fa7d8495ffb1
[]
no_license
MoacyrFMoreira/dmtable
3da49cd0c58e334abb8f00ec2c2a3e7d87fd7208
8b2e41125df00a9ecd365be74f4fcacd225bbce4
refs/heads/main
2023-06-29T07:05:44.121912
2021-07-24T04:45:22
2021-07-24T04:45:22
388,999,334
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
# Generated by Django 3.1.3 on 2021-06-29 21:00 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('historia', '0007_auto_20210629_1354'), ] operations = [ migrations.AlterField( model_name='post', na...
[ "mmoreira@accedian.com" ]
mmoreira@accedian.com
120016fa3909ffc968939614e61fd3313f336cfe
96f5d1d1cc1fc92bd11c4288246245722a7fec20
/College/urls.py
c6064dc3cd002341ea83f836f5e19d76f754d261
[]
no_license
vagdevik/Django-WishList
10307c168a1d9d3907fcb20386e2b1a816898892
49d0fe3f442f34f67242a7958e6b128df7d6fb31
refs/heads/master
2021-05-07T14:17:29.037822
2017-11-07T07:49:51
2017-11-07T07:49:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
"""College URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "vagdevi.k15@iiits.in" ]
vagdevi.k15@iiits.in
e2ebb7364de4eccca18cc5bce6a33b392ac1e28a
7fbb087f862f0a1351454706dee139e112addff3
/evosoro/exp/RSS_5D_Two_Diag_Legs_Control.py
4782b44d2201bd25b13af1d9b2175f558c6c2fc0
[]
no_license
fagan2888/2019-RSS
5e21b5ea992c82620d5d7a32200a0a2243057fda
4801255d7cff228772532732e18d7e7d458b81f1
refs/heads/master
2022-06-05T05:09:03.588134
2020-04-30T19:56:14
2020-04-30T19:56:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,706
py
import random import os import sys import numpy as np import subprocess as sub from evosoro.base import Sim, Env, ObjectiveDict from evosoro.networks import DirectEncoding, CPPN from evosoro.softbot import Genotype, Phenotype, Population from evosoro.tools.algorithms import ParetoOptimization from evosoro.tools.checkp...
[ "sam.kriegman@uvm.edu" ]
sam.kriegman@uvm.edu
56bc12f05d19205c8116be58692e496f43a60321
5f7a50f57fce3894a66180ecf77d13e7927c0860
/DarkCON2021/Pwn_Easy-ROP/src/solve.py
5f12093c1fb72b3039b36bfa3af66495111131f9
[]
no_license
Mumuzi7179/CTFWriteups
2a0282bd81db753df644f0aa122078396ee2bb8c
9c918a788e18a41092834431ab137b5d102aea90
refs/heads/master
2023-07-17T00:31:05.140197
2021-03-19T19:56:13
2021-03-19T19:56:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
from pwn import * from subprocess import Popen, PIPE import sys host = '65.1.92.179' port = 49153 # The result of ROPgadget execution (!# part of it) f = open("ropgadgetRes.py", "r") pycode = f.read() exec(pycode) ropchain = p off = 'a'*72 payload = off + ropchain print(payload) #t = process('./easy-rop') t = remot...
[ "a.ahsani248@gmail.com" ]
a.ahsani248@gmail.com
4e7fc439451fd0522ef5071a18742ae80ab6cbcf
077240acd51d76e5882d89f31970dc9a0b1287a5
/winston_jobs/migrations/0001_initial.py
5bc447414a4257c347ffa55b3342dd0f31976fc3
[]
no_license
Madrox/Winston
f8bb3c425c98613c2e0bf08ce6a33b07d702ee7e
f9ecc0fa594fa7cbfcaecf49cb6c465583356030
refs/heads/master
2021-01-13T05:24:14.695275
2017-04-22T21:31:32
2017-04-22T21:31:32
81,413,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-14 02:44 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "david.horn@disney.com" ]
david.horn@disney.com
16ae617aa0dff53873785822c7cb2db033f9590b
494e3fbbdff5cf6edb087f3103ad5f15acbc174f
/schedule/migrations/0002_auto_20180727_2329.py
d0a6847d6321e79defcf1bfbd06aa6f38fb59def
[]
no_license
TalentoUnicamp/my
1209048acdedbb916b8ae8ec80761d09f6ad7754
3d87a33cd282d97dbbbd5f62658f231456f12765
refs/heads/master
2020-03-23T21:12:58.316033
2018-08-14T06:11:36
2018-08-14T06:11:36
142,090,262
11
0
null
2018-08-17T05:13:26
2018-07-24T01:53:23
JavaScript
UTF-8
Python
false
false
1,698
py
# Generated by Django 2.0.3 on 2018-07-28 02:29 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('schedule', '0001_initial'), ] operations = [ migrations.AlterField( model_name='event', ...
[ "gustavomaronato@gmail.com" ]
gustavomaronato@gmail.com
65d1eb9d9c06b987fe9a9cc21d850cc58d620bfc
e82c1576b6e25d357b23c481ea48aea86272c227
/venv/Scripts/django-admin.py
94eb30a8d92e4cd11f2972d4ead9be43bf2044be
[]
no_license
MatheusLeall/api-curriculos
d72d28f27576394abcdcd352895e9b6ce7e3c8c2
b49d945579d22b66fb57d71644e065f0f664dd24
refs/heads/master
2022-12-18T14:26:18.266325
2020-09-24T14:59:33
2020-09-24T14:59:33
298,092,184
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
#!c:\users\matheus\documents\django projects\authentication_scheme\venv\scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportErro...
[ "matheuscardoso.pro@gmail.com" ]
matheuscardoso.pro@gmail.com
9abea3f326ea59ebd86d1c7b1d83e63ad82ffd60
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/ChenglongChen_Kaggle_HomeDepot/Kaggle_HomeDepot-master/Code/Chenglong/feature_group_distance.py
8be14bcf62e8f822d47294b1071b3b95a6516e0a
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
4,848
py
# -*- coding: utf-8 -*- """ @author: Chenglong Chen <c.chenglong@gmail.com> @brief: group relevance based distance features @note: such features are not used in final submission """ import re import string import numpy as np import pandas as pd import config from config import TRAIN_SIZE from utils import dist_util...
[ "659338505@qq.com" ]
659338505@qq.com
4fccba1e6cf207096ecb5d43ef2b1e74b10f2d7a
e41651d8f9b5d260b800136672c70cb85c3b80ff
/Notification_System/temboo/Library/Flickr/PhotoComments/LeaveComment.py
86bbc8411b315c8fddfd9fdd48b7df1f6c43f6c9
[]
no_license
shriswissfed/GPS-tracking-system
43e667fe3d00aa8e65e86d50a4f776fcb06e8c5c
1c5e90a483386bd2e5c5f48f7c5b306cd5f17965
refs/heads/master
2020-05-23T03:06:46.484473
2018-10-03T08:50:00
2018-10-03T08:50:00
55,578,217
1
0
null
null
null
null
UTF-8
Python
false
false
4,616
py
# -*- coding: utf-8 -*- ############################################################################### # # LeaveComment # Add a comment to a specified photo on Flickr. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not us...
[ "shriswissfed@gmail.com" ]
shriswissfed@gmail.com
e6187d164bdeea61b67cf310e711e2bfcf7d24ca
765d96d61ccca9be466d25774dc83dc2fca65a48
/kmp/1701_Cubeditor.py
4a3a279b97247e27ddac79098d6e51f832a53eb0
[]
no_license
myJamong/algorism_solved
3deedb0edbffebf9a860fe8cc75a2e9a73c55baa
af6c1db030f56695e4c0d2e647f21fd1d564421f
refs/heads/master
2023-07-06T17:44:19.401772
2021-08-17T04:54:46
2021-08-17T04:54:46
289,707,966
1
0
null
null
null
null
UTF-8
Python
false
false
729
py
# https://www.acmicpc.net/problem/1701 # Cubeditor import sys def make_table(p): p_size = len(p) table = [0] * p_size j = 0 for i in range(1,p_size): while j > 0 and p[i] != p[j]: j = table[j-1] if p[i] == p[j]: j += 1 table[i] = j return table i...
[ "noreply@github.com" ]
myJamong.noreply@github.com
db84e674ce7d15eff7e41c37de05990d4479b2a6
71c515d8411c06dbab6e91f15a755aa2fe4094ef
/test/unit/container/test_server.py
627d67cdac73538e9d691292aff66ccf26eca4f2
[]
no_license
mawentao007/swift
6f54dc9e24db41d928b8f403bb18273d97d7f7aa
fc2de6d75f0e718f4a46bead57a71a19cdb0fb3e
refs/heads/master
2021-03-12T20:18:48.961232
2013-10-29T14:14:47
2013-10-29T14:14:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
75,820
py
# Copyright (c) 2010-2012 OpenStack, LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
[ "marvin@PC.(none)" ]
marvin@PC.(none)
ec358af8dcc747a31d12f7fb499c7a78bba2c640
7701773efa258510951bc7d45325b4cca26b3a7d
/from_trans_file_cloud/explore_pathlib.py
cd6ac1e600ecf9cc21bb0408817543f804917d9b
[]
no_license
Archanciel/explore
c170b2c8b5eed0c1220d5e7c2ac326228f6b2485
0576369ded0e54ce7ff9596ec4df076e69067e0c
refs/heads/master
2022-06-17T19:15:03.647074
2022-06-01T20:07:04
2022-06-01T20:07:04
105,314,051
0
1
null
null
null
null
UTF-8
Python
false
false
222
py
from pathlib import Path root = Path('D:\\Development\\Python\\trans_file_cloud\\.git') child = Path('D:\\Development\\Python\\trans_file_cloud\\.git\\hooks') other = Path('/some/other/path') print(root in child.parents)
[ "jp.schnyder@gmail.com" ]
jp.schnyder@gmail.com
ae83c59eb63599eac7d7f45ea8229a239af25040
82f993631da2871933edf83f7648deb6c59fd7e4
/w1/L3/7.py
8469a86b108877706bb07df0088f4d1eea2b7434
[]
no_license
bobur554396/PPII2021Summer
298f26ea0e74c199af7b57a5d40f65e20049ecdd
7ef38fb4ad4f606940d2ba3daaa47cbd9ca8bcd2
refs/heads/master
2023-06-26T05:42:08.523345
2021-07-24T12:40:05
2021-07-24T12:40:05
380,511,125
1
0
null
null
null
null
UTF-8
Python
false
false
200
py
# - [] Iterators and Iterbales a = [1, 2, 3, 4] # - iterable object it = iter(a) # print(next(it)) # print(next(it)) # print(next(it)) # print(next(it)) # print(next(it)) for i in it: print(i)
[ "bobur.muhsimbaev@gmail.com" ]
bobur.muhsimbaev@gmail.com
f9a25ea75f1038ebb53730647439228ea1d83873
9102c3a5fa3a5b0202d61206973d0ea167f7a4d0
/July/07-IslandPerimeter.py
a93da08ce948ac402b6597b23157a28ceea1580f
[]
no_license
Madhav-Somanath/LeetCode
8e1b39e106cec238e5a2a3acb3eb267f5c36f781
b6950f74d61db784095c71df5115ba10be936c65
refs/heads/master
2023-01-08T15:10:00.249806
2020-10-31T14:45:43
2020-10-31T14:45:43
255,654,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
""" You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/vertically (not diagonally). The grid is completely surrounded by water, and there is exactly one island (i.e., one or more connected land cells). The island doesn't ...
[ "madhav.somanath@gmail.com" ]
madhav.somanath@gmail.com
adb7196550fdf40e9cc1626cc68f50b6734fe92d
df8029f963d8b348d83720a97fd17db693891a72
/main.py
916074acfa51e74fe77f065be6b2ea8a0d717a64
[]
no_license
jonboxkc/Web-Caesar
a7a87c870d6b7d07a7335fcf82136b1651211655
ecb51fee7619a95fdba14a4128cccd9af8476f16
refs/heads/master
2021-01-11T16:39:23.982116
2017-01-26T16:28:42
2017-01-26T16:28:42
80,133,152
0
0
null
null
null
null
UTF-8
Python
false
false
1,717
py
#!/usr/bin/env python # # Copyright 2007 Google 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 o...
[ "jonharing@gmail.com" ]
jonharing@gmail.com
e7b901806311b84a364ee6f574ac1a461ea8a62d
8cf87938eddba925c55ba9c6d44b548cb4a918e7
/FMNIST/app.py
0e67430a4645cb1ef03d5178541ab97515bff98b
[]
no_license
aj-naik/MNIST-FMNIST
d850cae6fe276bf863d683de25fa4ad12288092a
95476ef21615b9f6803464e26a5f8a95726f4ac8
refs/heads/main
2023-05-11T00:12:24.605579
2021-06-03T08:12:09
2021-06-03T08:12:09
373,411,063
0
0
null
null
null
null
UTF-8
Python
false
false
1,735
py
from keras.models import load_model from tkinter import * import tkinter as tk import win32gui from PIL import ImageGrab, Image import numpy as np model = load_model('fmnist.h5') def predict_cloth_type(img): img = img.resize((28,28)) img = img.convert('L') img = np.array(img) img = img.reshape(1,28,28...
[ "51918054+aj-naik@users.noreply.github.com" ]
51918054+aj-naik@users.noreply.github.com
01edd8becd852d512ccc8195d2ff445ca6af7674
67035089f755f88e333ff1d48f06b2dbd47b8bc8
/pvlib/iotools/ecmwf_macc.py
18262d998762bdb9663fa1871e3d3f836a0ec4cc
[ "BSD-3-Clause" ]
permissive
JoshuaC3/pvlib-python
e47c9ef4dc3d063daad1337a9543e80db6e64d70
59413747047ef8390a47a537b39415f7110c55c8
refs/heads/master
2020-04-15T16:18:31.483246
2019-01-09T10:43:42
2019-01-09T10:43:42
164,829,597
0
0
BSD-3-Clause
2019-01-09T09:17:16
2019-01-09T09:17:16
null
UTF-8
Python
false
false
11,349
py
""" Read data from ECMWF MACC Reanalysis. """ from __future__ import division import threading import pandas as pd try: import netCDF4 except ImportError: class netCDF4: @staticmethod def Dataset(*a, **kw): raise ImportError( 'Reading ECMWF data requires netCDF4 to ...
[ "cwhanse@sandia.gov" ]
cwhanse@sandia.gov
539b98bd26642d583bafee631ff62525e4d20ea8
b97d0cd8afea1e29288904c72f8af8afe9180f3f
/nav.py
d4e6a326e5caed528d0cca9d65ca04d2baaefec3
[]
no_license
jaeday/dronedeliverysystem
5dda108ba46653ead4da4a34e90590fca25e938b
957ab858af1237887a15df865529ba7457952a7c
refs/heads/main
2023-08-14T03:48:13.912000
2021-09-21T17:25:24
2021-09-21T17:25:24
386,806,199
0
0
null
null
null
null
UTF-8
Python
false
false
5,039
py
from dataclasses import dataclass from scipy.spatial import distance import math import os # The input path can be hardcoded as a relative path # ./routeplanning/outputfiles contains the outputs from the TSP algorithm # implemented in C++ inputPath = "./routeplanning/outputfiles" # This is like a C struct / C++ POD s...
[ "sjaemin@umich.edu" ]
sjaemin@umich.edu
a7d11fe7ad97288252922c00a7c365e7199665ed
43e900f11e2b230cdc0b2e48007d40294fefd87a
/Amazon/VideoOnsite/162.find-peak-element.py
5b3ada63691cf9fcf4b02f7261a2be18b71ec8d7
[]
no_license
DarkAlexWang/leetcode
02f2ed993688c34d3ce8f95d81b3e36a53ca002f
89142297559af20cf990a8e40975811b4be36955
refs/heads/master
2023-01-07T13:01:19.598427
2022-12-28T19:00:19
2022-12-28T19:00:19
232,729,581
3
1
null
null
null
null
UTF-8
Python
false
false
557
py
# # @lc app=leetcode id=162 lang=python3 # # [162] Find Peak Element # # @lc code=start class Solution: def findPeakElement(self, nums: List[int]) -> int: l, r = 0, len(nums) - 1 while l + 1 < r: mid = (l + r) // 2 if nums[mid] > nums[mid + 1] and nums[mid] > nums[mid - 1]: ...
[ "wangzhihuan0815@gmail.com" ]
wangzhihuan0815@gmail.com
a4c7d9c19632ad8e7d7c570e772ee1049d061d92
ec330e2739dbacd39be5f81e6ea44aa856c559f7
/server/compose/compose_generator.py
84d29378355e282ad14d0ce5eb6777881c39683e
[]
no_license
unitartu-remrob/remrob-server
2caeaa882d58e54bfd0b81f07c119358d8f3b63a
0833a0f8bc3f7bae2fcfdf0a2601ba376321b781
refs/heads/main
2023-08-30T14:31:23.754963
2023-03-25T10:31:14
2023-03-25T10:31:14
484,731,849
1
0
null
2022-08-03T13:43:34
2022-04-23T11:45:36
JavaScript
UTF-8
Python
false
false
995
py
import yaml from jinja2 import Environment, FileSystemLoader if __name__ == "__main__": robo_config_macvlan = yaml.safe_load(open('config/config-macvlan.yaml')) robo_config_local = yaml.safe_load(open('config/config-local.yaml')) # Load templates file from templtes folder env = Environment(loader = FileSystemLoa...
[ "chooky823@gmail.com" ]
chooky823@gmail.com
5ecceb0860a1e10a08204b9871fd1c2dc693070c
13ba299b31ef0182c69ed0b175e148c7d824f898
/Week_1/Chapter_11/section_2_6/exercise_1.py
ab0a54f85be8c15b812e4cd80c54dd9ce64c157b
[]
no_license
Marnix641/advanced_course
ba5d5541dbe2f77dd934f018658848e5b441960e
bf3937c17f50f33f21e0e2f2ecc77da7cb3692d8
refs/heads/master
2022-11-08T04:18:44.760994
2020-07-02T15:44:08
2020-07-02T15:44:08
256,275,717
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
from Week_1.Chapter_11.section_1_12.point import Point from Week_1.Chapter_11.section_2_6.rectangle import Rectangle r = Rectangle(Point(0, 0), 20, 15) r.area() print(r.area())
[ "m.dekker.18@student.rug.nl" ]
m.dekker.18@student.rug.nl
04fa896307a6d243658fb915099d337f76804cd5
86813bf514f3e0257f92207f40a68443f08ee44b
/0406 根据身高重建队列/0406 根据身高重建队列.py
989f32ac1430a2408dcaef254410bf9310c75be2
[]
no_license
Aurora-yuan/Leetcode_Python3
4ce56679b48862c87addc8cd870cdd525c9d926c
720bb530850febc2aa67a56a7a0b3a85ab37f415
refs/heads/master
2021-07-12T13:23:19.399155
2020-10-21T03:14:36
2020-10-21T03:14:36
212,998,500
4
1
null
null
null
null
UTF-8
Python
false
false
838
py
#label: 贪心算法 difficulty: medium """ 思路 1.排序:按照身高从高到低排,升高相同的按k从小到大排 2.插入:按照排序好的顺序逐个插入新数组,插入的位置按照k来插 如示例中,排序完: [[7,0], [7,1], [6,1], [5,0], [5,2],[4,4]] 插入的过程: 第一插:[[7,0]] 第二插:[[7,0], [7,1]] 第三插:[[7,0], [6,1],[7,1]] 第四插:[[5,0],[7,0], [6,1],[7,1]] ... 先插高的,后插矮的,即使后插的插到前面也不会有影像,因为矮 """ class Solution(object): def ...
[ "noreply@github.com" ]
Aurora-yuan.noreply@github.com
1b9b0ce483b3eaacca83d0e2604376ba6a14b1e8
ce82af15e3318049555292d84249dc64ed70bbc4
/conda_kapsel/test/test_yaml_file.py
ede797cceb91947bd15029da5d29afb48b0667c2
[]
no_license
digideskio/kapsel
2c75d2ce0bd4e546f058640a38099b76f5eefbb8
207a3452df2c09ee5bf70770de4ed93afa2d91b9
refs/heads/master
2021-01-18T18:26:11.772284
2016-07-28T14:15:01
2016-09-07T15:31:48
67,981,204
0
1
null
2016-09-12T06:15:29
2016-09-12T06:15:27
Python
UTF-8
Python
false
false
15,237
py
# -*- coding: utf-8 -*- # ---------------------------------------------------------------------------- # Copyright © 2016, Continuum Analytics, Inc. All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. # -------------------------------------------------------------------...
[ "hp@pobox.com" ]
hp@pobox.com
963b0a84d3f5586261ec0ed22a68007f2a76aa70
0a1356b97465cc1d5c3f661f61b3b8c51fb05d46
/android_binding/.buildozer/android/platform/python-for-android/testapps/testapp/main.py
5baa420f3c203147e6abbfe8085c24a0a8778493
[ "MIT", "Python-2.0" ]
permissive
Rohan-cod/cross_platform_calc
00360f971e4da68dd36d6836c9ddbb157f6b77d5
5785a5e8150d174019b330c812e7eb012cc4dd79
refs/heads/master
2022-12-22T10:29:05.317051
2021-06-05T10:52:44
2021-06-05T10:52:44
237,465,912
2
1
MIT
2022-12-09T05:18:55
2020-01-31T16:07:31
C
UTF-8
Python
false
false
4,015
py
print('main.py was successfully called') import os print('imported os') print('this dir is', os.path.abspath(os.curdir)) print('contents of this dir', os.listdir('./')) import sys print('pythonpath is', sys.path) import kivy print('imported kivy') print('file is', kivy.__file__) from kivy.app import App from ki...
[ "rohaninjmu@gmail.com" ]
rohaninjmu@gmail.com
4159b4e566f28b6eb342aa69e94e92358c2909df
1507c045f1ceec9d73c0fc71e520c3e561461e1b
/node_modules/binaryjs/node_modules/streamws/build/config.gypi
cb18c71e586dda92524b900990c70b0dfc622c81
[ "MIT" ]
permissive
jimmychimmyy/KandiTag-Backend
bfa5523d7a25e3d9e5d761a0c3b76d1b17e928c3
aa1a908fe25002565f7504e37881f755c4658813
refs/heads/master
2021-05-29T12:52:57.203778
2015-08-29T23:08:11
2015-08-29T23:08:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,108
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "jimmychimmyy@gmail.com" ]
jimmychimmyy@gmail.com
c9d0a1287699c68e80691464c75983561dfea3f4
944d4bdedaf892ae2487f43715c5f1fd5b7b44c4
/party/xadmin/views/edit.py
34df9ecf4115017bce3d576a84aadfb416c2fdac
[]
no_license
laomd-2/partybuilding
c7d5076fd7803f09a4e955cb2aecf7b07b00f4d7
18cd80da82db4c873027d2d890fa8c83bcaf6e0b
refs/heads/master
2021-06-23T10:40:37.280590
2020-03-22T12:40:38
2020-03-22T12:41:11
168,854,119
0
1
null
2021-06-10T21:23:46
2019-02-02T16:53:46
TSQL
UTF-8
Python
false
false
20,635
py
from __future__ import absolute_import import copy from crispy_forms.utils import TEMPLATE_PACK from django import forms from django.contrib.contenttypes.models import ContentType from django.core.exceptions import PermissionDenied, FieldError from django.db import models, transaction from django.forms.models import m...
[ "laomd@mail2.sysu.edu.cn" ]
laomd@mail2.sysu.edu.cn
11e91c0a3ba0798110b22f64e090eb985d0159ed
67eb4ece1499a6fa6695859cfd439fb08aec20d8
/decimal_to_binary_converter.py
9dc6bbabbf0eab8a98d8ecde8a3b4478b8f54a18
[]
no_license
nurarenke/study
c823aa43ee25d1d4db653b546889d4c8b2e739a0
e117ff4eb9d5c0195f5ba4ea9edfe42a3d8c3507
refs/heads/master
2021-09-07T19:31:02.534763
2018-02-27T22:53:41
2018-02-27T22:53:41
100,279,233
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
'''Convert a decimal to a binary number string >>> dec_to_bin(6) '110' >>> dec_to_bin(4) '100' >>> dec_to_bin(3) '11' ''' def dec_to_bin(number): if number < 2: return str(number) else: result = dec_to_bin(number/2) + dec_to_bin(number%2) return str(result) ...
[ "nurarenke@gmail.com" ]
nurarenke@gmail.com
cf7330a35aacb57aecc3cf237fab0a5660c9e136
7a550d2268bc4bc7e2fec608ffb1db4b2e5e94a0
/1101-1200/1155-Number of Dice Rolls With Target Sum/1155-Number of Dice Rolls With Target Sum.py
f54e16cb49f5483bfd0bcd1a41d19b792bf96035
[ "MIT" ]
permissive
jiadaizhao/LeetCode
be31bd0db50cc6835d9c9eff8e0175747098afc6
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
refs/heads/master
2021-11-05T04:38:47.252590
2021-10-31T09:54:53
2021-10-31T09:54:53
99,655,604
52
28
MIT
2020-10-02T12:47:47
2017-08-08T05:57:26
C++
UTF-8
Python
false
false
863
py
class Solution: def numRollsToTarget(self, d: int, f: int, target: int) -> int: dp = [[0] * (1 + target) for _ in range(1 + d)] dp[0][0] = 1 MOD = 10 ** 9 + 7 for i in range(1, 1 + d): for j in range(1, 1 + target): for k in range(1, 1 + min(f, j)): ...
[ "jiadaizhao@gmail.com" ]
jiadaizhao@gmail.com
d200a1190b29b3a794c7e475966f760236ea799b
d3b362cc1339404ad0ae0ba1a1ca9a476a15dd66
/user_profile/urls.py
99398603b705c8c34a6f0fe7247dda887254b0ae
[ "MIT" ]
permissive
bitsnbytes7c8/django-site
28e4e36b0846619aedf7bd37a7d17cfa88915852
1872974e8b578c971c60cc30c71a186e518ab801
refs/heads/master
2016-08-11T20:49:03.344384
2015-10-17T21:54:52
2015-10-17T21:54:52
44,455,598
0
1
null
null
null
null
UTF-8
Python
false
false
304
py
from django.conf.urls import include, url from django.contrib import admin from . import views urlpatterns = [ url(r'^create/$', views.create_profile), url(r'^view/$', views.view_profile), url(r'^edit/$', views.create_profile), url(r'^view/(?P<username>[\w]+)/$', views.view_profile), ]
[ "arjun.sn7c8@gmail.com" ]
arjun.sn7c8@gmail.com
3db48a52f7eb63de746fb61792b5e142cdfc575d
7f0e409b5c88f77624b3b41928181f9728e0e0ae
/1-List/53_maxSubArray.py
9891922537c590f73059e22baa7e13ead57f0439
[]
no_license
yangml6/LeetCode
e6f15d54dbcadbefe5f57439ee70a4075b7aaf8b
1c487e09a0428bfeaf63ea8142a545090e2514f5
refs/heads/master
2021-05-15T20:58:39.025323
2018-11-28T02:56:02
2018-11-28T02:56:02
107,920,411
0
0
null
null
null
null
UTF-8
Python
false
false
4,793
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Oct 25 16:09:01 2017 @author: yml """ #求数组中连续子序列和的最大值 class Solution(object): # def maxSubArray(self, nums): # #超时了,,被拒绝 # """ # :type nums: List[int] # :rtype: int # """ # maxList = [nums[0]] # ...
[ "1952902819@qq.com" ]
1952902819@qq.com
16fcef6d63c434eacc476bc731df2f54419cd95e
a34739090209bf3b93563f95ba4f8da6a877dd22
/DHT11/Subscribe.py
480f58cb7b62541702d5fe9bb11621340d4e8809
[]
no_license
nam2297ptit/DoAnThietKeHeThongNhung
1048aa220fb55e6bea92c3373291095a39c5630f
6cdacf87adecdfb1827b6cc56fbb23cca81c0244
refs/heads/master
2020-04-28T23:39:51.516526
2019-05-13T10:10:21
2019-05-13T10:10:21
175,664,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
import paho.mqtt.client as mqtt from Get_Data_to_DB import Sensor # The callback for when the client receives a CONNACK response from the server. #==================================================== # MQTT Settings MQTT_Broker = "localhost" MQTT_Port = 1883 Keep_Alive_Interval = 45 MQTT_Topic = "home/sensors/#" #Co...
[ "namunjted1234@gmail.com" ]
namunjted1234@gmail.com
efc48cf55cecc69f2b9a01cbc950890c053e3a77
31bc3fdc7c2b62880f84e50893c8e3d0dfb66fa6
/libraries/numpy/python_369/python_369/numpy_118/built_in_scalars/uint_.py
31601e10986c1a268eb3ab8a0b088f9f95f7615e
[]
no_license
tpt5cu/python-tutorial
6e25cf0b346b8182ebc8a921efb25db65f16c144
5998e86165a52889faf14133b5b0d7588d637be1
refs/heads/master
2022-11-28T16:58:51.648259
2020-07-23T02:20:37
2020-07-23T02:20:37
269,521,394
0
0
null
2020-06-05T03:23:51
2020-06-05T03:23:50
null
UTF-8
Python
false
false
1,496
py
# https://numpy.org/doc/1.18/reference/arrays.scalars.html#built-in-scalar-types import numpy as np def what_is_uint(): ''' - "np.uint" and "np.uintc" are aliases for real underlying NumPy scalar types - The values of those aliases depend on the operating system - On my system, "np.uint"...
[ "uif93194@gmail.com" ]
uif93194@gmail.com
247a9f709b4b7ea2e7a3f3f4a81ac637e230a66e
e9b740947aa14c9660505e64cdaa8a4ff1e2e322
/eventex/subscriptions/tests/test_form_subscription.py
18e821d5ec893bb34515f206c0cdeb0bbefb186e
[]
no_license
Leonardoperrella/eventex
9dea1cb90acb9d32cd7dbaca16b5521eace48ea7
e38f220876cb10fb75d4d4d3b073bca0c70d5669
refs/heads/master
2021-08-17T03:07:13.297640
2019-08-26T19:16:49
2019-08-26T19:16:49
145,333,529
0
0
null
null
null
null
UTF-8
Python
false
false
2,238
py
from django.test import TestCase from eventex.subscriptions.forms import SubscriptionForm class SubscriptionFormTest(TestCase): def test_form_has_fields(self): """Form must have 4 fields.""" form = SubscriptionForm() expected = ['name', 'cpf', 'email', 'phone'] self.assertSequence...
[ "leonardo.perrella@yahoo.com.br" ]
leonardo.perrella@yahoo.com.br
2d192a9d9291492a2911fb5ad35382030baf8fc5
fad34b6b81e93850e6f408bbc24b3070e002997d
/Python-DM-Text Mining-01.py
e4b51fba0851281217136c06054f5f0570c357bf
[]
no_license
Sandy4321/Latent-Dirichlet-Allocation-2
d60c14a3abb62e05a31aaac8c9a6d9381ec9d560
0bf6670643c7968064e375a287448b515b077473
refs/heads/master
2021-05-05T09:57:17.304046
2017-07-26T16:14:22
2017-07-26T16:14:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,149
py
############################################################################ # Created by: Prof. Valdecy Pereira, D.Sc. # UFF - Universidade Federal Fluminense (Brazil) # email: valdecy.pereira@gmail.com # Course: Data Mining # Lesson: Text Mining # Citation: # PEREIRA, V. (2017). Project: LDA - Latent Dir...
[ "noreply@github.com" ]
Sandy4321.noreply@github.com
d218fdb3fc55db678f6cdfbaae28ee4a588c899b
205002cac7cfc03298f76ec6d053181400b2abe5
/src/rangeddict.py
8988d7ac3d77f346e02b7882457c588006acf989
[ "MIT" ]
permissive
GovernorGecko/RangedDict
1539e0b5ab26b9330c0d431e5f484123e157c11b
7eb34fc2e682758184a495d23db9bc096b0b288d
refs/heads/main
2023-06-04T03:35:12.187413
2021-06-15T19:38:49
2021-06-15T19:38:49
377,248,839
0
0
MIT
2021-06-15T19:38:50
2021-06-15T17:48:33
null
UTF-8
Python
false
false
2,323
py
""" rangeddict.py """ from .RedBlackTree.src.redblacktree import RedBlackTree class RangedDict(RedBlackTree): """ By using RedBlackTree, we create a Ranged Dictionary. """ # Valid instances of data __valid_instances = (int, float) __slots__ = [] def __init__(self): super(Ra...
[ "john.lee.bunting@gmail.com" ]
john.lee.bunting@gmail.com
c529c1ac4b3054de2460b7efedd3156896fc9f18
d74758b5342359c607c3ed668b9334bb9f2b7f3c
/products/models.py
8c44be24b5f226a43f14cad5e6d4716ae32899d3
[]
no_license
Cha-K28/msp4-cking-full-stack-django
30b0febfdaa439039b39582a6c472abdb67144d7
ab90ff317ff925dfa63321187afcc385c8aebe8f
refs/heads/master
2023-03-05T01:34:07.461291
2021-02-14T02:29:46
2021-02-14T02:29:46
331,568,899
0
1
null
null
null
null
UTF-8
Python
false
false
633
py
from django.db import models # Create your models here. class Product(models.Model): name = models.TextField() author = models.TextField(max_length=254) subject = models.TextField(max_length=254) rating = models.DecimalField(max_digits=6, decimal_places=2, null=True, ...
[ "charlie@cartell.ie" ]
charlie@cartell.ie
3e30a6a777fc7d9632db4589647703d42784d301
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-dgc/huaweicloudsdkdgc/v1/model/real_time_node_status.py
7221161869b508adcbdee1530355437f7d8e3e9e
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,485
py
# coding: utf-8 import re import six class RealTimeNodeStatus: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
2331d0e0f00d297ccd75ec6e7683667fd0388d71
e8315819558941a30e6dabbff9009a0a398720c6
/4YP_PiCom_Transmitter/cat_to_bw.py
bce4481cb87368ef87dfd1d8a738f9cb4631c06c
[]
no_license
jmpotter97/4YP_PiCom
2da19b5cb065d99715c661d360233b2a97163815
99b4c50cc594076a066f2b21b46a40d83b5c9143
refs/heads/master
2020-03-29T19:03:24.207624
2019-04-26T12:11:09
2019-04-26T12:11:09
150,245,236
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
import imageio as io img = io.imread('cat2.jpg', pilmode = 'L') io.imwrite('cat2_bw.jpg', img)
[ "jmpotter97@gmail.com" ]
jmpotter97@gmail.com
52e5fae633592567321cc89024bcd5209754514a
078fda8280f40078f4dbfa07ce794c817582b7f5
/oneone/wsgi.py
608985e7d5e123ed00b17993162574124f1d8df9
[]
no_license
sylvia198591/Bank-Application-Class-based-Views
4c37a106b36ac76c1ccd5176d70cee76c0a7c3e5
404063a69b89fac15321ed8b07662e64ac4f5ba2
refs/heads/master
2023-03-06T16:08:30.012280
2021-02-23T08:29:40
2021-02-23T08:29:40
341,360,709
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for oneone 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "sylvia.anitha@gmail.com" ]
sylvia.anitha@gmail.com
bf490503f9be519f8a1d25b1335c457e1faa3a3d
0972d944bfb0352ba787deb9554a7a532b73872a
/length.py
874220c3473c63b65a5c3e53d74b9c858bcd9e3a
[]
no_license
abhilashasancheti/CSR-Project
8ef37dce011bb2c80928375104b9ceb98d7f4fb3
67e1b8a6746cf55fa6baba4b66d702ff04797a88
refs/heads/main
2023-05-07T00:02:22.088224
2021-06-01T08:53:11
2021-06-01T08:53:11
315,123,936
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
import os import numpy as np def calc_length(path): with open(path) as f: lines = f.readlines() lines = [line.strip() for line in lines] length = [len(line.split()) for line in lines] return np.min(length), np.max(length), np.mean(length) print("hella_p", calc_length('./HellaSwag/mtl_common_hellaswag_train.txt...
[ "sancheti@clipsub00.umiacs.umd.edu" ]
sancheti@clipsub00.umiacs.umd.edu
e5cc439e0b34ca33b3d001bd387a2a4479ab0b82
5f332fd35e0071b6c33727b1ec7b22efefd4182a
/lib/sconstool/util/finder_.py
84618a3615bf73a74897f7ec62a7cd00982180de
[ "MIT" ]
permissive
ptomulik/scons-tool-util
ec4bc3f6971feda4fa918632b0f0431faf96779b
daab1c7db087feb988a721bf10e6b5c29c0e02b2
refs/heads/master
2021-08-07T12:20:17.485348
2020-04-15T18:48:28
2020-04-15T18:48:28
153,349,258
1
0
null
2020-04-15T18:49:16
2018-10-16T20:23:55
Python
UTF-8
Python
false
false
5,721
py
# -*- coding: utf-8 -*- """Provides the :class:`.ToolFinder` class. """ from . import misc_ import os __all__ = ('ToolFinder',) class ToolFinder(object): """Callable object which searches for executables. A single ToolFinder instance searches for a single file (program), for example a compiler executa...
[ "ptomulik@meil.pw.edu.pl" ]
ptomulik@meil.pw.edu.pl
6b0da10b62a3ac5c7cb7a4698512741531809eb2
5430e0a58f120136e1fca71e38477a2085af703c
/rqt_rotors/src/rqt_rotors/hil_plugin.py
a7adffcb2263211a0fe5d717f243a9a5ebda4792
[ "Apache-2.0" ]
permissive
gsilano/CrazyS
145fb8dd35cd3279a95d30bdd95a80a0f34e7fdd
66d62dd52b8588c6a23258be8228e1a13646d610
refs/heads/master
2023-05-22T11:55:28.717481
2022-08-11T14:57:06
2022-08-11T14:57:06
122,210,674
161
96
Apache-2.0
2022-04-02T16:09:23
2018-02-20T14:42:23
C++
UTF-8
Python
false
false
5,534
py
#!/usr/bin/env python import os import rospy import rospkg from mavros_msgs.msg import State from mavros_msgs.srv import CommandBool from mavros_msgs.srv import CommandLong from mavros_msgs.srv import SetMode from qt_gui.plugin import Plugin from python_qt_binding import loadUi from python_qt_binding import QtCore fr...
[ "g.silano89@gmail.com" ]
g.silano89@gmail.com
f6325cdee89668b585f012a30c7130e6022150fc
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/clouddirectory_write_f/schema_delete.py
58f82c7195d72611e6c1e62d27b86b09d9f7b063
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
866
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
108d86ff6f789338762a8350d686091b3e486850
3c9b19eac4f1e5bda7c07f82dc609215e8b1b519
/clean.py
be54d17850f53404d4716fb34e3bae03e2e3c36f
[]
no_license
raprakashvi/YES_NO-ALL
ab11540fc5f114981f679f7cb40b9b05f08a92dc
f514adf59556f4c676deaff5c1b5cca6eb190034
refs/heads/main
2023-03-22T22:40:11.524605
2021-03-24T03:10:37
2021-03-24T03:10:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,741
py
#From Seth Adams import matplotlib.pyplot as plt from scipy.io import wavfile import argparse import os from glob import glob import numpy as np import pandas as pd from librosa.core import resample, to_mono from tqdm import tqdm import wavio def envelope(y, rate, threshold): mask = [] y = pd.Series(y).apply(...
[ "mosesfuego@gmail.com" ]
mosesfuego@gmail.com
5281cb4b6846e006b6e7a3720f1592888f6f8d12
4f8766f4d7227ab4881f31faaeb6b5f7abe39a3f
/app.py
113201347b844e630843ae53ac470cc23d90edf7
[]
no_license
eanderson-ei/essc-search
7095db34a7db50aafd50bbf93f3b68d3f84df4a6
da6c1395df3feca84865ddb0c30adb5f138b205e
refs/heads/main
2023-07-14T01:08:11.574874
2021-08-23T19:43:15
2021-08-23T19:43:15
300,695,038
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
import dash import dash_bootstrap_components as dbc import dash_auth import json import os external_stylesheets = [dbc.themes.YETI] # Also try LITERA, SPACELAB external_scripts = ["https://rawgit.com/neo4j-contrib/neovis.js/master/dist/neovis.js"] app = dash.Dash(__name__, external_stylesheets=exter...
[ "eanderson@enviroincentives.com" ]
eanderson@enviroincentives.com
0f398c0f5262e9288ee7ba927428f264f7f6085c
555dd4290421ba30d370425aa383d0bd823f33f4
/Supermercado/market/migrations/0024_auto_20200812_1050.py
0393aabf570edfa332756bbeaca94119c92627c7
[]
no_license
RodrigoSHM1999/Proyecto-Final
f7e63798f6568f9078b08ff9c9487f50fd296952
8cdd2a6ba3d0cefb8ac817c8e40f3df1c2225616
refs/heads/master
2022-12-02T07:37:23.349182
2020-08-17T15:28:46
2020-08-17T15:28:46
278,261,049
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
# Generated by Django 3.1 on 2020-08-12 15:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('market', '0023_compra_product_id'), ] operations = [ migrations.RemoveField( model_name='compra',...
[ "agarciapu@unsa.edu.pe" ]
agarciapu@unsa.edu.pe
81b307519098ba7ed57648b55ddc5404845cae3a
eeace2da37c7dc48f30ba2e376b498c13b35cc6f
/tests.py
1ee9d08f7bceb39021f957d9def5b9eca0e425cb
[ "ISC" ]
permissive
CodeBlueDev/nanobot
9ee1a9510fa386cebfbbaa55c06f5fab5a96fc3a
bd72797dc1db238a6860272bf90e7c95207c70ee
refs/heads/master
2020-12-27T09:26:59.275206
2014-05-30T18:05:39
2014-05-30T18:05:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,677
py
from twisted.trial import unittest from twisted.internet import task, defer import nanobot import app import string class CacheTests(unittest.TestCase): def setUp(self): self.clock = task.Clock() self.cache = app.UrlCache(reactor=self.clock, expiration=60) self.cache.enable() def tearD...
[ "seppo.yliolli@gmail.com" ]
seppo.yliolli@gmail.com
3b0b0c756ee1df1d3643bade4613acc9c94aa35c
43051d6ac06dc092c77af86ef8e5bcd2de3c0dd9
/python/loop14.py
8de558a2c7e2485efaa2804a1b8f62a571fc5a0b
[]
no_license
sAnjali12/BsicasPythonProgrammas
c3b9413615e542afccdec9c5cd9246105421f843
cc1d4689cf7afd84c1280c94aa0072e46a4df614
refs/heads/master
2020-06-28T21:16:40.597495
2019-08-03T07:11:22
2019-08-03T07:11:22
200,344,316
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
i = 0 j = 1 c = 0 while i<20: print i c = i+j i = j j = c
[ "anjalisen060@gmail.com" ]
anjalisen060@gmail.com
2681bf3905a0e8f207d86b408b6412bd57e189fe
cf7b5e7eee3ce2e18d0d255d1e424bf280428d10
/app/proto6749/wsgi.py
f046b777cf2e9243d08d55afced427e1cf60746d
[ "MIT" ]
permissive
PedramHD/proto6749
4e5b5d4b2156d05608e7fc92adf2a478978acfbd
1aa2d63a098f0f3ba759a0e995f29d0c4ba2a471
refs/heads/master
2020-09-28T07:00:39.474061
2019-12-03T14:33:53
2019-12-03T14:33:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for proto6749 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "danielf@yes.com" ]
danielf@yes.com
c2a2bfd82c4476cf27893bafb5ee032d122c5c9b
67265dc35b445639a7b288b75eef8fb5aecf3778
/not_a_virus.py
cace8f104c133f6910059423cf1af51953924ad6
[]
no_license
zer0relm/zer0relm214
7a1fcf962ca5da14a96502e181283609314f68b6
f2e7d5076df69141d7617fc6e1ba57748eab0659
refs/heads/master
2021-01-03T10:36:11.701521
2020-05-05T23:08:13
2020-05-05T23:08:13
239,891,296
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
import random #import pyautogui loop_boi = 69 while loop_boi < 420: print("UwU")
[ "zer0relm@gmail.com" ]
zer0relm@gmail.com
820cee28dc44d3740f71f0e09127e9af4343a504
cb44d69ab09d7515e8919198db1d58f155576775
/dataset_gathering/5_extracting_attributes/one_by_one_match_extraction.py
daa5f3bb1f62a8132f8df4d1fbac36bad7c943dd
[]
no_license
dtoma95/dota2_mmr_estimation
8ee5268b5d64a82a4f17e9a1ac4e541050b26460
44975887090f127cfb5a3df97a68be421ff9dbe2
refs/heads/master
2020-04-24T15:31:02.266035
2019-07-08T17:00:25
2019-07-08T17:00:25
172,070,895
0
0
null
null
null
null
UTF-8
Python
false
false
5,677
py
import json import os DO_ITEMS = False DO_HEROES = False DO_ALL_PLAYERS = True PATH = "../../data/tomislav" with open("heroes.json", "r") as f: heroes = json.load(f) with open("items.json", "r") as f: items = json.load(f) def read_data1(path): f_write = open("one_be_one.csv", "w") write_header(f_wri...
[ "dtoma95@gmail.com" ]
dtoma95@gmail.com
0242461d1b3d92b2945233540096b2a542889e70
afe0d07073fac2fe70ee63580989f936e6c44197
/d3.2.py
407beff430b1101c907fa8318c7c4543ee56a064
[]
no_license
DineshBE/fjod7ofofk
c7261eec934457b8715797329904a4e3cd195c92
25f674de03d09aa73be729110096f4d89ca521ff
refs/heads/master
2020-06-19T05:11:48.715813
2019-07-19T06:41:33
2019-07-19T06:41:33
196,575,990
0
2
null
null
null
null
UTF-8
Python
false
false
77
py
yz = int(input()) mylist = list(map(int,input().split())) print(max(mylist))
[ "noreply@github.com" ]
DineshBE.noreply@github.com
fa8960c5b3b5dc86599a11cecec2129c42140c3e
8d9b47358c9ff25f456b5a33511d1a1b7b99b67f
/tests/pendulum_test.py
dc45e33b5330fe690bd786e2ce10c3e87980ac34
[]
no_license
gearsuccess/deep_rl
f84214b1b2ef00b6e8e2ebcaad4f47b5f8468f80
05e21eb634a2cdd64b85be8a075cfd686080b915
refs/heads/master
2022-11-09T19:53:14.948082
2020-07-02T12:42:05
2020-07-02T12:42:05
280,841,931
0
1
null
2020-07-19T10:26:17
2020-07-19T10:26:16
null
UTF-8
Python
false
false
3,178
py
import os import gym import argparse import numpy as np import torch from networks import * # Configurations parser = argparse.ArgumentParser() parser.add_argument('--algo', type=str, default='atac', help='select an algorithm among vpg, trpo, ppo, ddpg, td3, sac, asac, tac, atac') parser.add_argume...
[ "kid33629@gmail.com" ]
kid33629@gmail.com
557abde5a656bdf7afc39a8cb61417386b872158
dddea587abd91003b143c30fe1428635f133b62a
/summarize_summaries_standard.py
207bb5f40c7c00f7329fde94be2f818891f75167
[]
no_license
sellalab/Mutator
085721d51c964c9c458e76e02ec5972a7d432012
125895b2262c263720a473f1f3b22c7565e71c33
refs/heads/master
2022-05-01T07:33:27.781032
2022-04-07T20:29:05
2022-04-07T20:29:05
236,088,177
0
0
null
null
null
null
UTF-8
Python
false
false
7,520
py
import numpy as np import pickle import argparse import mutator_classes from collections import defaultdict as ddict import os import gzip import stationary_distribution_aug as sd def main(): # a set of default params to use default_params = {'N': 2000, # population size 'M': 1000, # n...
[ "noreply@github.com" ]
sellalab.noreply@github.com
7fb7c4d5f15747a600819c85ad9266779fdb129c
a676d918b568964d475a3ea25c79d446b1783abf
/Chap0/project/ex16.py
cbb9237d4682e1be0fb5529a2f836c5ce46caa04
[]
no_license
AIHackerTest/SailingChen10_Py101-004
35d76d32e6a21c487ce8d48f974532fb38a05051
3c95e04f7d54529e897beec7652e089514ee6dd5
refs/heads/master
2021-05-15T00:32:35.407998
2017-09-12T08:31:02
2017-09-12T08:31:02
103,240,423
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
# coding = utf-8 from sys import argv script, filename = argv print ("We're going to erase %r." % filename) print ("If you don't want that, hit CTRL-C (^C).") print ("If you do want that, hit RETURN.") input("yes or no: ") print ("Opening the file...") target = open(filename, 'w') print ("Truncatin...
[ "xiaowan5219@gmail.com" ]
xiaowan5219@gmail.com
745b14a03850f6c1021fad34879e927a63ac2e47
06de128f85f8c382a390381f5140b743ccf4a315
/blog/urls.py
71d273de9c2e21ba56103476bb0ae13a9b7aa372
[]
no_license
tisaneza/my-first-blog
e301b34c2f19905da667cea02e0e65bf24b734e1
1b2561c80aed5b3e019b1923e2a8f10175bd49bd
refs/heads/master
2020-05-27T09:24:44.801313
2019-05-25T13:41:39
2019-05-25T13:41:39
188,565,159
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
from django.urls import path from . import views urlpatterns =[ path("", views.post_list, name="post_list"), ]
[ "transfer.stolp@gmail.com" ]
transfer.stolp@gmail.com
0650f4a2cc4e43fa1e3590a8973f874af293b3fd
96a31d98f2b24fd446f956ba2d524014942b0167
/github-ec2/create-vpc.py
604932ac1a2dd5f551a3b8f702e2333e5f8c73a7
[]
no_license
Singh-Venus/Github_1
b4a05fea221c2f67db4cfc9d9248d7d87c4d2679
8e859585f96f42e4e720c16554affafec030a4da
refs/heads/master
2020-06-15T08:30:57.179268
2019-07-05T10:09:42
2019-07-05T10:09:42
195,248,863
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
import boto3 client = boto3.client('ec2',region_name='your region', aws_access_key_id='your access key id', aws_secret_access_key='your access key') response = client.create_vpc( CidrBlock='string', AmazonProvidedIpv6CidrBlock=True|False, DryRun=True|False, InstanceTenancy='default'|'dedicated'|'host'...
[ "venus.singh.1016@gmail.com" ]
venus.singh.1016@gmail.com
c4935c15260daefa5a287c54e3f6c62cb08b8752
15e7a66981d776bc0cf380a12b9b52196072fcbc
/python/misc/dataFrameToDatabase/dataFrameToDatabase.py
59f95b02645ef93d80f48dd3f5a6fd77148ddf83
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
maxklr/Geospatial-Center-Code
21520904809a1b73c1a2dca42ead2443874d77ce
a8a1c7028d254690af788cbdd9cbdf859a422413
refs/heads/master
2023-07-12T07:48:24.437332
2021-08-24T21:57:39
2021-08-24T21:57:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,799
py
import logging import time import pandas as pd from pandas.errors import EmptyDataError import sqlalchemy from typing import Union, List class DataFrameToDatabase: def __init__(self, df:Union[pd.DataFrame, pd.io.parsers.TextFileReader], dbTableName:str, driver:str, ...
[ "jak11772@esri.com" ]
jak11772@esri.com
96385bf9344820284ad1153cda420ced72c4cb9c
11b2657afc37beeb1db9dd210ce6485491ce7bfa
/config/config_naming.py
2d08ed06d85dafaa6cbb973f955bbaa96e429e81
[]
no_license
lioneltayyd/malaysia-bank-card-scraping
5299249d10e70b3fc551b62d389e0feb0aea6942
5729cd8428d2e21b90a2215ae5c3fd6cf1df82c5
refs/heads/main
2023-04-01T00:40:31.035955
2021-03-29T15:49:17
2021-03-29T15:49:17
352,584,453
0
0
null
null
null
null
UTF-8
Python
false
false
2,798
py
# ------------------------------------------------------- # Variable naming # ------------------------------------------------------- # General metadata. DF_URL = 'url' DF_IMG = 'img' DF_BANK = 'bank' # Card metadata. DF_CARD_NAME_ORIGINAL = 'card_name_original' DF_CARD_NAME = 'card_name' DF_CARD_TYPE = 'card_type...
[ "lionel0702@hotmail.com" ]
lionel0702@hotmail.com
000f8ad08dc25d337b120d65451d68320ad839fc
69ac37114be839baf66ff9982a5bc2a6c298d7ed
/pajewels/pajewels/urls.py
ea67c62786966acd9cb371f92cfe45e6833a2a10
[]
no_license
TEENUP/petalArts
d964de176ea5a51d76c03a2e71b7e4a42b3e2aa9
2408666612def847a999981cb721c06b9b284b1e
refs/heads/master
2021-01-01T15:46:35.237631
2017-07-19T13:35:57
2017-07-19T13:35:57
97,697,029
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
"""pajewels URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "puneetgupta5294@gmail.com" ]
puneetgupta5294@gmail.com
73f787908b0cf96a1049464db035b61637d6c025
952230594c8062c84f603039091956c25870dda8
/github_loader/__init__.py
bcf707abecfae5ad9b264bff3c222734e4e5f6c0
[]
no_license
OrestOhorodnyk/github_loader
db8c076734ddc540798ea76697b6c8f85ec431a7
2615a2a33df60de226281d08fcb3ff27e6665d79
refs/heads/master
2022-12-13T21:36:58.757300
2019-08-21T05:30:19
2019-08-21T05:30:19
202,147,194
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
from datetime import datetime from flask import Flask from flask_sqlalchemy import SQLAlchemy from sqlalchemy import create_engine, MetaData, Column, Table, Integer, DateTime, String, ForeignKey from flask_login import LoginManager from github_loader.config import Config, LOG_FILE_PATH from github_loader.utils.get_logg...
[ "o.ohorodnyk@gmail.com" ]
o.ohorodnyk@gmail.com
9878acf7b00e5caeb7641b7141e912a735fad17d
1cd75217b75c6400731d35aa9d4525fb416db9ac
/fullyconnect/mqtt/disconnect.py
7a0cd0783909f3ec9260763441451ce20dadea0f
[ "MIT" ]
permissive
VexingHanson/FullyConnect
8002fa35665f502165fd530c3aaa83dc318b52a1
35e5fc1645d637242f2b7e0ccaf89a4894cbb830
refs/heads/master
2023-06-08T11:31:33.302954
2019-05-23T14:18:34
2019-05-23T14:18:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
# Copyright (c) 2015 Nicolas JOUANIN # # See the file license.txt for copying permission. from fullyconnect.mqtt.packet import MQTTPacket, MQTTFixedHeader, DISCONNECT from fullyconnect.errors import fullyconnectException class DisconnectPacket(MQTTPacket): VARIABLE_HEADER = None PAYLOAD = None def __init...
[ "baiyongrui@icloud.com" ]
baiyongrui@icloud.com
899b00478c14d3e13e226668bc3af9eb98d192cd
0f5fadb3b735ff8de20f6c068a2cc52a018c5f4b
/Direcciones/migrations/0002_auto__del_field_direccion_IdSepomex__add_field_direccion_IdSepomexid.py
09abd99a043ae6d91adba6aea509fc2c208ba8f7
[]
no_license
NoelChaparro/Siobicx
193c8ed92f905f46f645f5caaa82f0bea31bd608
0d655de3ad6d2c7e3f245ff09d4ea25deb706b7d
refs/heads/master
2021-01-15T23:50:41.930456
2014-12-10T20:05:06
2014-12-10T20:05:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,185
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'Direccion.IdSepomex' db.delete_column('Direcciones', 'IdSepomex') # Adding field ...
[ "sidia.jaquez@gmail.com" ]
sidia.jaquez@gmail.com
fc3e30dacf683b8c96d1e534d35c1596cbe0aaf7
d523d06709f9cf8e3542e3ce063db748d9d36581
/easy_internship_api/centers/tests.py
af4487a5ccda12d801a21c4655c67626a9b77e76
[]
no_license
msarabi95/easy-internship-api
5daf3307a24603e3b5f7465aa6c6d40219146e89
cc715db84d73a0133158da9bc94a5fb7bf6ddacf
refs/heads/master
2022-12-08T11:06:57.444330
2018-06-16T19:30:43
2018-06-16T19:30:43
136,828,722
0
0
null
2022-11-22T02:30:38
2018-06-10T17:10:49
Python
UTF-8
Python
false
false
906
py
from django.test import TestCase from model_mommy import mommy class ModelTests(TestCase): def test_location_str(self): location = mommy.make( 'centers.Location', center=mommy.make('centers.Center'), specialty=mommy.make('centers.Specialty'), description="" ...
[ "muhammadsaeed_express@yahoo.com" ]
muhammadsaeed_express@yahoo.com
9b5b03a445f19ee80e1454f2b69ec50d24fc9858
febeffe6ab6aaa33e3a92e2dbbd75783a4e32606
/ssseg/cfgs/annnet/cfgs_voc_resnet101os8.py
c5a99a673dced76b76fc8e87509c725ef4b0e15f
[ "MIT" ]
permissive
Junjun2016/sssegmentation
7bbc5d53abee1e0cc88d5e989e4cff5760ffcd09
bf7281b369e8d7fc2f8986caaeec3ec38a30c313
refs/heads/main
2023-02-04T22:09:13.921774
2020-12-23T06:28:56
2020-12-23T06:28:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
'''define the config file for voc and resnet101os8''' from .base_cfg import * # modify dataset config DATASET_CFG = DATASET_CFG.copy() DATASET_CFG['train'].update( { 'type': 'voc', 'set': 'trainaug', 'rootdir': '/data/VOCdevkit/VOC2012', } ) DATASET_CFG['test'].update( { 't...
[ "1159254961@qq.com" ]
1159254961@qq.com
e9c36fb34f7bee040f2034bbbfe143b65b8d8e9d
8eed6883fb4dd352f29b3769b3813c996c39a583
/locomotor/scripts/send_action.py
8ac427f252ff5f15100aac0907887ef7967c524b
[]
no_license
mintar/robot_navigation
d1f210520ad5c07bd0fc3c30588c7ff07a88667c
6daae350d0ec16116fa7ecddf42b036775dc7502
refs/heads/master
2021-07-13T04:16:11.356657
2020-01-08T08:22:32
2020-01-13T10:57:56
168,338,280
1
1
null
2020-01-13T10:09:39
2019-01-30T12:20:47
C++
UTF-8
Python
false
false
1,448
py
#!/usr/bin/python import rospy import actionlib import argparse from locomotor_msgs.msg import NavigateToPoseAction, NavigateToPoseGoal def print_feedback(feedback): pose = feedback.state.global_pose.pose vel = feedback.state.current_velocity.velocity print('%.2f %.2f %.2f | %.2f %.2f' % (pose.x, pose.y,...
[ "noreply@github.com" ]
mintar.noreply@github.com
0d16c13dfc6f18cd12ea859b9915a48ccb9b5c19
5710f0e31b34ad655e8239ac24bb947f0c84f71c
/backend/userdb/apps.py
050efeb6003a4e7eed050eb6161419d5f7762375
[]
no_license
Mano-Liaoyan/DegreeOverView
825cba0d82d827256fb08bda71affaad94780004
d4552b50ec3c113e933d72167534e8415949681d
refs/heads/master
2023-05-08T15:14:34.856295
2021-05-31T14:47:44
2021-05-31T14:47:44
364,744,569
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
from django.apps import AppConfig class UserdbConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'userdb'
[ "467226765@qq.com" ]
467226765@qq.com
4e0f8c2121ae38fe6f847d1ee511e07ec78c335b
6ba4ebba2d2e5774f27b3773986144e807ccbea9
/scribe_messages
667059740ddb097c0da9fd62d111441182d9fd5d
[ "Apache-2.0" ]
permissive
yyuu/scribe-munin
e09a5d596de1b111ea6e78c70fdea8792ec25e25
e3457053c65685fff4188127170ee295bbf3d420
refs/heads/master
2021-01-19T07:35:20.782971
2011-02-28T05:27:42
2011-02-28T05:27:42
1,420,271
0
0
null
null
null
null
UTF-8
Python
false
false
3,839
#!/usr/bin/env python ## Copyright (c) 2007-2008 Facebook ## ## 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...
[ "yamashita@geishatokyo.com" ]
yamashita@geishatokyo.com
8002b8bd33ebd7c6508328204e0bcaba4abfe848
c527df31f9daf06c36e8025b372d137ad9c1c4c7
/django/call_app/admin.py
e2561d3e10d41c1a4aa4e22c0d7feb735b07ee77
[]
no_license
Katerina964/callback
8dc7d5d230d095ec32ce1d69c4648f4564e99f87
741fa58779413845ccc4e478ccc2b952c6d000a0
refs/heads/master
2023-03-30T17:55:08.611493
2021-04-13T08:53:30
2021-04-13T08:53:30
295,951,947
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from django.contrib import admin from .models import Crmaccount, Call, Customer admin.site.register(Crmaccount) admin.site.register(Call) admin.site.register(Customer)
[ "katrin.balakina@gmail.com" ]
katrin.balakina@gmail.com
383cc4ca9311b639efa851ec502c10424169145d
e10bba262b4e8732c63ec5712124a2397f63b5f0
/A+B.py
af1abd60d66e21182493de8ce44907fe0bcd4f2c
[]
no_license
forybh/Algorithm_py
d0d510b7dd05567838e2760de0a2e6c051d0622a
b8beba29168f0b9a88f796fa81a3679d519f007d
refs/heads/master
2023-08-28T20:37:05.744119
2021-10-23T13:30:59
2021-10-23T13:30:59
326,145,951
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Jan 3 14:45:18 2021 @author: yubyeongheon """ a,b = input().split() print(int(a) + int(b))
[ "forybh@naver.com" ]
forybh@naver.com
7c911c573a204e4f1e15be81356f04ef1d607eb7
4148a916ff94ac6340330852c5876f5fb4b35c60
/OOPS/method.py
4a5dcea685576b90d9e2bc99e7cadba0bdb6e9ea
[]
no_license
AneelaSarikonda/PYTHON
34e38f3fd0c4b33eb9a2eed326d4c3c30a889136
41fbc1dff067654b6f55601665a252bf1908e573
refs/heads/master
2020-09-14T13:50:06.537709
2019-12-17T06:08:59
2019-12-17T06:08:59
223,146,451
0
1
null
null
null
null
UTF-8
Python
false
false
209
py
class Student: def __init__(var,m1,m2,m3): var.m1=m1 var.m2=m2 var.m3=m3 def avg(s): return (s.m1 + s.m2 + s.m3)/3 s1=Student(36,57,89) s2=Student(46,60,27) print(s1.avg()) print(s2.avg())
[ "mounika1.g@gmail.com" ]
mounika1.g@gmail.com
67afcb30651bb27c0ab62380ab348197fbbba69b
a634e3dab7e3447b7a0269f42a55392c4f3fecb9
/app/main/urls.py
a364e5c62daca16a97ddcfae4a5c0ca9d7187e32
[ "MIT" ]
permissive
FedeRez/webldap
cbd97f876453c31d7d67331c9feaba6ec16700ba
175ad1443e46229edcd6483bb924917301f99333
refs/heads/master
2021-01-17T09:05:19.429831
2016-03-28T10:54:19
2016-03-28T10:54:19
9,249,058
13
4
null
2016-04-29T20:33:08
2013-04-05T19:38:25
Python
UTF-8
Python
false
false
1,040
py
from django.conf.urls import patterns, url urlpatterns = patterns( 'main.views', url(r'^$', 'profile'), url(r'^edit/$', 'profile_edit'), url(r'^login/$', 'login'), url(r'^logout/$', 'logout'), url(r'^passwd/$', 'passwd'), url(r'^admin/$', 'admin'), url(r'^org/(?P<uid>[A-Za-z0-9-_]+)/$',...
[ "bertrandbc@gmail.com" ]
bertrandbc@gmail.com
4b441cce5504aeabb288222da853f57bac341f53
e8d8aecb5e9031ba1f354c5f0d04075587a03a82
/code/skeletonize.py
3e4d3139e244de745998738d46cec36385e6b01b
[ "Apache-2.0" ]
permissive
UdonDa/DanbooRegion
6bf425494bada965ced00463db8fcf8f19dfd7e4
bf6fc66bec0d585efece2865d3251f52186882b5
refs/heads/master
2022-12-06T12:48:31.428187
2020-07-20T06:33:21
2020-07-20T06:33:21
284,989,195
0
0
Apache-2.0
2020-08-04T13:32:41
2020-08-04T13:32:40
null
UTF-8
Python
false
false
1,460
py
from tricks import * from skimage.morphology import skeletonize, dilation def get_skeleton(region_map): Xp = np.pad(region_map, [[0, 1], [0, 0], [0, 0]], 'symmetric').astype(np.float32) Yp = np.pad(region_map, [[0, 0], [0, 1], [0, 0]], 'symmetric').astype(np.float32) X = np.sum((Xp[1:, :, :] - Xp[:-1, :, ...
[ "914847518@qq.com" ]
914847518@qq.com