blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
eb44b56597ed38859a186bab390a37befad4ce3d
74d052286bb3a11aed29e2294272a2435ae74b57
/ztfquery/utils/stamps.py
533b53108a47ae88607cfd085bfc59c5653edc4c
[ "Apache-2.0" ]
permissive
MickaelRigault/ztfquery
0fdd437095ac212db3fcdd92a4dc269c24704a7f
c58ea600cb47aea75135da27fcec2b4df946a0b1
refs/heads/master
2023-04-29T00:34:21.560032
2023-04-16T09:25:57
2023-04-16T09:25:57
130,460,948
29
14
Apache-2.0
2023-02-24T15:03:24
2018-04-21T09:53:47
Jupyter Notebook
UTF-8
Python
false
false
2,964
py
#! /usr/bin/env python # import io import requests import numpy as np """ PanStarrs stamps tools """ PANSTARRS_SOURCE = "http://ps1images.stsci.edu/cgi-bin/" def get_ps_stamp(ra, dec, size=240, color=["y","g","i"]): """ Download a PanStarrs Stamp center on the given RA, Dec and returns the colored PIL Image ...
[ "mick.rigault@gmail.com" ]
mick.rigault@gmail.com
7f690eb1f9ab65c76f1376e53b39ee3db1327cd1
b4216d709a51cfeeedb5cfd1713f8da1603fbcb4
/losses.py
934bfbf703d34028f15f9e48b72dff6b41c77f70
[]
no_license
dsl2009/pytorch_RefineDet
134ea2fd0a793609fbea5c50c7e7b2f01cf33ae0
c03dedd5afc05f69b21d2fca38d5629b2bebdd4e
refs/heads/master
2020-04-16T03:05:37.557262
2019-01-11T09:48:25
2019-01-11T09:48:25
165,219,772
0
0
null
null
null
null
UTF-8
Python
false
false
3,458
py
# -*- coding: utf-8 -*- import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import config def log_sum_exp(x): x_max = x.data.max() return torch.log(torch.sum(torch.exp(x-x_max), 1, keepdim=True)) + x_max class MultiBoxLoss(nn.Module): def __init__(self...
[ "dsl" ]
dsl
3e04f75b872a31aa2d59aaa83cacc9d0e9b12bc0
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/7/rvc.py
a8a2c90dbcb078ec491b7c7421fce7e942c9e94f
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
6eb2b0692490d4ee898bbd631519ce4de1159a97
27b1d48534a3f35d1286498e84df8333250f51a8
/05-List-Advanced/Exercise/09_heart_delivery.py
367ae7990a65e3c0d10dc3ec8cc20d7653085a31
[]
no_license
zhyordanova/Python-Fundamentals
f642f841629c99fcdd12ace79ea813d62972f36f
07c16053e5d03bd7cfb51ace8ef277c2c62cd927
refs/heads/main
2023-03-19T03:05:12.764726
2021-03-15T08:20:39
2021-03-15T08:20:39
345,451,804
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
# houses = list(map(int, input().split('@'))) # # current_index = 0 # # command = input() # # while not command == "Love!": # tokens = command.split() # length_jump = int(tokens[1]) # current_index += length_jump # # if current_index >= len(houses): # current_index = 0 # # if not houses[curr...
[ "zhyordanova88@gmail.com" ]
zhyordanova88@gmail.com
95d86f8c4da6fe20eae29bae728f169596f9f49d
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/network/v20181001/get_express_route_circuit_connection.py
11e98c0e611b9fe28c33d16845a63020465a9d9a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
7,528
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
f1c6c29334c030d44a2238755fecbc56d5adde79
3c38febb2f7a42fb72b543eb23caa9f46580f06b
/Python/Old/Python Advance/Practise/Sort_array.py
956abaea764ed0617dfafe634b3cbd9040362d41
[]
no_license
joyonto51/Programming_Practice
479b8e84862e35f29a3904bd3556edb6532efb4b
1d6ff08cf63011cfde6b73988bc1686a12e70a79
refs/heads/master
2020-03-09T05:34:39.502942
2018-10-01T14:34:17
2018-10-01T14:34:17
128,617,218
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
A=list(map(int,input().split())) while True: B=[] a =A[0] n=0 for i in range(1,len(A)): b =A[i] if a>b: B.append(b) else: B.append(a) a=b n+=1 B.append(a) print(B) A=B if n==len(A)-1: break print(A)
[ "meghla1609" ]
meghla1609
d8e962a06c43a9ea21c6c58d0bc5a94bf28b7e4d
d3a0a2cabd572a9e597a399cf6b7012e34a99475
/flask/script-api/flask/lib/python3.6/encodings/iso8859_5.py
76b50db5152d8c2189bef8c743602e226f563a8d
[]
no_license
rahulgoyal911/Face-Recogniton-Using-OpenCV-and-Python-on-RaspberryPI
06ed227dc56a0956d668de0d9f78287c75e790f4
1bbdfd45adebda0728831065df0580cd48dedef8
refs/heads/master
2020-05-01T01:18:18.868473
2019-03-24T16:48:21
2019-03-24T16:48:21
177,192,198
0
1
null
null
null
null
UTF-8
Python
false
false
66
py
/home/rahulgoyal911/anaconda3/lib/python3.6/encodings/iso8859_5.py
[ "rahulgoyal0.rg@gmail.com" ]
rahulgoyal0.rg@gmail.com
b97aca6d0a6e38717ccfba5cb184a7e3b7af74a2
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/rds_write_f/db-cluster-parameter-group_copy.py
32e4e73778247fa0030c4cf737b98c634aeaa3ea
[]
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
1,140
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
59077e717a9072817be63d32d4dc883f5d2ac618
71d3632c19ada5585223d4800f681718af0e1f87
/python/sw/pro/6249.py
4ec4e47d2b2e434ca211bf6f091a00fbc76cbe34
[]
no_license
hyunwoo-song/TOT
640433b909913098699ff517698e71a1b8661cff
76a8c18af942d9ed3d636fcec35001ae70b6b8d2
refs/heads/master
2023-01-05T08:11:38.858134
2019-08-14T08:53:23
2019-08-14T08:53:23
162,208,482
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
T= input() D = {'0':0, '1':0, '2':0, '3':0, '4':0, '5':0, '6':0, '7':0, '8':0, '9':0} i = -1 l_1 =[] l_2 = [] for k in D.keys(): D[k] = T.count(k) i += 1 l_1 += [str(i)] print(' '.join(l_1)) for v in D.values(): l_2 += [str(v)] print(' '.join(l_2))
[ "gerrar486@gmail.com" ]
gerrar486@gmail.com
11a809439eba75e1d9e10e02c1965a2519953bef
6214c5175247107cbdd5b79f89585566c06f2081
/qanta/guesser/experimental/whoosh.py
528b2ab61296d5efeb56bd60e48c85c4251dab80
[ "MIT" ]
permissive
IFarhankhan/qb
aedd4c2b6cb3413c6133ac4cc370516c5b9302d2
72ce2016e2ed68c7b999d0523b456b0dd1456c8f
refs/heads/master
2021-06-15T20:19:01.338830
2017-04-13T01:32:53
2017-04-13T01:32:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,165
py
from typing import List, Tuple, Optional from itertools import repeat from multiprocessing import Pool from qanta.datasets.abstract import TrainingData, Answer, QuestionText from qanta.datasets.quiz_bowl import QuizBowlDataset from qanta.guesser.abstract import AbstractGuesser from qanta.preprocess import format_guess...
[ "ski.rodriguez@gmail.com" ]
ski.rodriguez@gmail.com
72dbe5b8627e4c58b1ba7df6047ef26e5146dea4
36e04590d145b41bd505ed072fc6b15f9dda6b33
/stonesoup/dataassociator/tracktotrack.py
d09d370d930cf70d13338ce9ef0fa90865b7a62a
[ "MIT", "LicenseRef-scancode-proprietary-license", "Python-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-secret-labs-2011", "Apache-2.0" ]
permissive
jswright-dstl/Fuzzy-Felt-Framework
00bbda8de43e36cebd930c785e2422efb6d0af24
07e9a85c7c01c110efef6b6a18463bd17891f131
refs/heads/master
2022-12-29T07:42:28.104216
2020-10-20T16:43:05
2020-10-20T16:43:05
305,765,399
0
0
MIT
2020-10-20T16:43:06
2020-10-20T16:14:47
Python
UTF-8
Python
false
false
12,664
py
# -*- coding: utf-8 -*- from operator import attrgetter from .base import TrackToTrackAssociator from ..base import Property from ..measures import Measure, Euclidean from ..types.association import AssociationSet, TimeRangeAssociation from ..types.time import TimeRange class TrackToTrack(TrackToTrackAssociator): ...
[ "sdhiscocks@dstl.gov.uk" ]
sdhiscocks@dstl.gov.uk
ef2acd0c52e1a9cb96f5076ae93d7298be241799
ff0c17789badd75559eb834fe039d4b4ab175ba8
/pythonscript/x11-64-cpython/lib/python3.6/test/test_functools.py
cd4664cec0874567dead66d8fd8b900deace242d
[ "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-free-unknown", "Python-2.0", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unicode", "BSD-3-Clause", "Apache-2.0", "LicenseRef-scancode-public-domain", "OpenSSL", "MIT" ]
permissive
studioschade/notebook_graph
3f7555ab46167b050e461164c6b4a1525dc7df0c
0fd159855fdd9c38a6dd293e5ec6164986ad6209
refs/heads/master
2022-10-23T23:54:54.467050
2018-10-14T08:10:18
2018-10-14T08:10:18
148,099,361
9
2
MIT
2022-10-10T20:16:48
2018-09-10T04:32:44
Python
UTF-8
Python
false
false
77,882
py
import abc import builtins import collections import copy from itertools import permutations import pickle from random import choice import sys from test import support import time import unittest from weakref import proxy import contextlib try: import threading except ImportError: threading = None import func...
[ "allen.schade@gmail.com" ]
allen.schade@gmail.com
f640a10590d61cfcba42454cd782eaf65e490c91
2d2b062faf97198d8f569ecbd336099eb0ec44ad
/2016_17_cool_season/reliability_diagrams_sref_arw_nmb_bin_percentile_int_non_bias_corrected.py
9b1b7ca3934b7e553db41f8e607494bf60e856ed
[]
no_license
tomgowan/probabilistic-verification
828645a3cd736dee170bbb23153c8a801da79351
7fc72df9a24846990a01bb96f2bb2487def1d9d5
refs/heads/master
2020-03-22T20:30:06.541599
2018-07-11T17:01:40
2018-07-11T17:01:40
140,605,477
0
0
null
null
null
null
UTF-8
Python
false
false
39,038
py
import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap import pygrib, os, sys, glob from netCDF4 import Dataset from numpy import * import numpy as np from pylab import * import time from datetime import date, timedelta from tempfile import TemporaryFile impor...
[ "tom.gowan@gmail.com" ]
tom.gowan@gmail.com
99a5aac877a9789aaca2c3dd2f6d4da4e850c9a8
7213b7d08021cfb88d1af7fec75f35c437573c32
/Getting-Started-with-Python/Week7/Assignment 5.2.py
3e05290336b6a1f0e84a2947ca04db032483776a
[]
no_license
microease/coursera-Python-for-Everybody
d20993072f48ef89f6ee62e074b38e16eb3414a4
85482e1b05c338be86d67a26b37018deb6fe34ce
refs/heads/master
2020-08-02T03:17:47.644071
2019-11-23T10:05:11
2019-11-23T10:05:11
211,218,582
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
largest = 0 smallest = None while True: try: num = input("Enter a number: ") if num == "done": break n = int(num) if largest < n: largest = n if smallest == None or smallest > n: smallest = n except: print("Invalid input") print...
[ "microease@163.com" ]
microease@163.com
2aa60bd1ac026090ba22779e2359058e94401f29
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/4/usersdata/99/2807/submittedfiles/swamee.py
4d2931e41bf47370090f62ac4c8a92fcc323f247
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
# -*- coding: utf-8 -*- from __future__ import division import math #COMECE SEU CÓDIGO AQUI #Entrada f=('Digite o valor de f:') L=('Digite o valor de L:') Q=('Digite o valor de Q:') DeltaH=('Digite o valor de deltaH:') v=('Digite o valor de v:') #Processamento g=9.81 e=0.000002 D=(((8*f*L*(Q**2))/(((math.pi)**2)*g*...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f4ee1daf6dafd20971f70a347116f8f10a1313cf
3dfd076bed3cc99df8fa7dbf04927a03f87d54cc
/main/views.py
ee35145c416c47e9d3871be677f28bd1d46e180b
[]
no_license
SebGrobelny/Craigslist_Extension
b0228cc329b1b9f213fdd43b49716a3d1013ad5f
f15c7eb7e8240797b9c06212774f4fd2ba28ec40
refs/heads/master
2021-08-14T23:48:44.298747
2017-11-07T00:31:49
2017-11-07T00:31:49
111,042,023
0
0
null
null
null
null
UTF-8
Python
false
false
2,312
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render from django.http import HttpResponse, HttpResponseBadRequest import urllib, json, time import requests from bs4 import BeautifulSoup import lxml, time, csv, codecs from requests import get from requests.adapters impo...
[ "sgrobelny@Sebastians-MacBook-Air-2.local" ]
sgrobelny@Sebastians-MacBook-Air-2.local
056d74755d0d150717d667e262c0f59d3354aea4
dc51e4714820d991e7d0e94b3e9eac4dbc67eea7
/历史练习1120/bbs_v3/app01/models.py
3995714d950d17cf6c4c6e13cb3b5896d4586899
[]
no_license
ruoxiaojie/Django
537d27abe9ebb85e0dfc69585f318a87e7514a70
92b88600953cd4ff743032cab3d4785437c949e0
refs/heads/master
2021-01-15T22:18:56.033883
2018-03-09T06:15:46
2018-03-09T06:15:46
99,894,862
0
1
null
null
null
null
UTF-8
Python
false
false
1,763
py
from django.db import models class UserInfo(models.Model): username = models.CharField(max_length=16) password = models.CharField(max_length=32) phone = models.CharField(max_length=32) email = models.EmailField(max_length=64) class NewsType(models.Model): caption = models.CharField(max_length=16...
[ "475030894@qq.com" ]
475030894@qq.com
219783399ca6a97e814faa3a9cf1e38fd672365d
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_200/1674.py
7c2c792f792be218698bb32e4d5edeb31d4cfd24
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
import sys import math def main(): total = int(sys.stdin.readline()) for i in range(total): line = sys.stdin.readline() result = find_tidy(line.rstrip()) print ('Case #{}: {}'.format(i + 1, result)) def find_tidy(string): length = len(string) asc = 0 nondesc = 0 for i i...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b1a6a072310ce68d31862369369e72b1e10ef623
f2dd3825da3ed8b6e52058453a9340f5330581c2
/0x01-python-if_else_loops_functions/5-print_comb2.py
46dab92dc70094e911e5c5445149ec8e8beeab81
[]
no_license
mlaizure/holbertonschool-higher_level_programming
855c8b2672b59d27cba4c05ad8a7bb5f30b5d253
0d2bcdab97c31e79093497a1783a52e56e10ac6e
refs/heads/main
2023-04-22T23:20:58.284834
2021-05-13T01:00:20
2021-05-13T01:00:20
319,399,234
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
#!/usr/bin/python3 for i in range(99): print("{}{}".format(int(i / 10), int(i % 10)), end=", ") print("{}".format(i + 1))
[ "maddi.laizure@gmail.com" ]
maddi.laizure@gmail.com
cd01560f95505bb11e6e5ce559467f9a763de0d5
a73cc710aa370be94b70248f2268d9c3b14059d0
/server/src/weblab/core/web/logo.py
c4a670fc2900776ec60083135143227f8f463f60
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
weblabdeusto/weblabdeusto
05692d4cc0a36287191544551d4a1113b3d95164
62e488afac04242a68efa4eb09fd91d7e999d4dd
refs/heads/master
2023-05-10T23:14:05.407266
2022-08-31T14:16:23
2022-08-31T14:16:23
5,719,299
19
23
BSD-2-Clause
2023-05-01T20:18:53
2012-09-07T16:24:03
Python
UTF-8
Python
false
false
1,410
py
#!/usr/bin/env python #-*-*- encoding: utf-8 -*-*- # # Copyright (C) 2005 onwards University of Deusto # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. # # This software consists of contributions made by many individual...
[ "pablo.orduna@deusto.es" ]
pablo.orduna@deusto.es
74b18cf57257b38b19c8253d49dbe18de7cd2a75
ed34f8facca1e57172b39a45d1b9d15637e3b1ed
/nanodet/model/arch/__init__.py
6301eba076b9401ad183ccabc8ae59ca636cd666
[ "Apache-2.0" ]
permissive
tkupek/nanodet
89f8a5ce5163fe029be661f34d9384567ea55f27
b04fafe2e91b3818b95cc3cd299bfe1ed014cb18
refs/heads/main
2023-08-30T15:39:53.362527
2021-11-10T10:09:53
2021-11-10T10:09:53
374,983,580
1
0
Apache-2.0
2021-06-08T11:25:46
2021-06-08T11:25:45
null
UTF-8
Python
false
false
1,309
py
# Copyright 2021 RangiLyu. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
[ "lyuchqi@gmail.com" ]
lyuchqi@gmail.com
043896a1589ed939ade2f37523a2454c05bcaada
264d41d7c4d28d8529ac4a0239d5ee1f3d455856
/opencv_traffic_capacity_counting/traffic_capacity.py
cec54bc142c46236769ca488c49766dcffa044ad
[]
no_license
permikomnaskaltara/object_detection_projects
ef86bb7b3f9ffc10235bb191aa1d1490ea6eccc8
f24c4f4bf5efa82f39f18cbc55fd65bf6c23534c
refs/heads/master
2020-03-23T06:45:49.494884
2018-04-20T10:41:47
2018-04-20T10:41:47
141,227,983
1
0
null
2018-07-17T03:46:59
2018-07-17T03:46:58
null
UTF-8
Python
false
false
1,902
py
import logging import logging.handlers import os import time import sys import cv2 import numpy as np import skvideo.io import utils import matplotlib.pyplot as plt # without this some strange errors happen cv2.ocl.setUseOpenCL(False) # ============================================================================ IMA...
[ "creotiv@gmail.com" ]
creotiv@gmail.com
7c5f790bcf4cea00f8c3f21ad27892d359325f46
09c00563e44d0e4b62449f1648ba1c595a4fa455
/Python_File_IO_Spawn.py
fb8e6eecc4486b02b9509274d7917784f10bad0f
[]
no_license
VakinduPhilliam/Python_File_IO
20da71688384fe145873ae5ade064b37be6c67d6
016d7d6d5315def35d82354e9d46a627afa2f271
refs/heads/master
2020-05-27T17:54:15.751253
2019-05-26T21:31:10
2019-05-26T21:31:10
188,731,817
5
0
null
null
null
null
WINDOWS-1252
Python
false
false
1,604
py
# Python File IO # pty.spawn(argv[, master_read[, stdin_read]]). # Spawn a process, and connect its controlling terminal with the current process’s standard io. # This is often used to baffle programs which insist on reading from the controlling terminal. # The functions master_read and stdin_read should be functi...
[ "noreply@github.com" ]
VakinduPhilliam.noreply@github.com
85f585d8ebc0a6388af23841b3af164c7653b737
36957a9ce540846d08f151b6a2c2d582cff1df47
/VR/Python/Python36/Lib/site-packages/django/contrib/postgres/fields/hstore.py
7b94e6d9862b2dfe03873f07dd9dc7170643f38a
[]
no_license
aqp1234/gitVR
60fc952307ef413e396d31e0d136faffe087ed2b
e70bd82c451943c2966b8ad1bee620a0ee1080d2
refs/heads/master
2022-12-29T15:30:12.540947
2020-10-07T15:26:32
2020-10-07T15:26:32
290,163,043
0
1
null
2020-08-25T09:15:40
2020-08-25T08:47:36
C#
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:05f43789f9bb3464e5287a98bdace0696a037fa183462a83c0071d3209d9d1ca size 3243
[ "aqp1234@naver.com" ]
aqp1234@naver.com
2c9db2340c1a6bf473a3bc3d669789e2fb6f1871
5df1b1159a9507c6f95ab7e3ae0fd633b0875df9
/virtual/bin/alembic
bca0bf44e82d7b69bc1388ecbc89ac408c7d31b9
[ "MIT" ]
permissive
KabageMark/oneminute2
f7bbe2732015a048c5e5e778deecdf100d086ef9
42c6aed9ebded27896ed33de62301cc7c0d0c061
refs/heads/master
2020-03-27T21:51:49.386044
2018-09-17T16:58:42
2018-09-17T16:58:42
147,181,551
0
0
null
null
null
null
UTF-8
Python
false
false
261
#!/home/markchege/Documents/oneminutepitch2/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from alembic.config import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "kabagemark@gmail.com" ]
kabagemark@gmail.com
669b0195d8dd22c6b429df5df72c457d0a16ae05
bc441bb06b8948288f110af63feda4e798f30225
/tuna_service_sdk/model/resource_manage/filter_strategy_pb2.pyi
74523e32ba65be246772ab2e25bd95503fe9bc3d
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
5,445
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.containers import ( RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedC...
[ "service@easyops.cn" ]
service@easyops.cn
566a3db90ddec77ef436fda0de1ee22cc4654528
720126354851961926277c61f41318184c79fad2
/venv/lib/python3.8/site-packages/pm4py/objects/conversion/bpmn/__init__.py
c9d6f5b34771a15af1df1ef39a145ced64b9433a
[]
no_license
yclei/co-co-eaa
c4057025e9b91e6af01d2765196df743bfe5985d
aeb6d42ab3ce4bc83b08a1ec9a4a3d6d3da380b4
refs/heads/main
2023-03-12T14:49:03.972865
2021-03-03T22:38:48
2021-03-03T22:38:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
''' This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de). PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) an...
[ "javetter@mail.uni-mannheim.de" ]
javetter@mail.uni-mannheim.de
8053654304c751e394fe2f9e20a82fcb4d524ed7
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories_2to3/159753/kaggle-malware-classification-master/prepare_bytes_ngrams_2_model.py
c520032f46bb02f060c95d216d626f5f7372b4df
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
2,006
py
import ujson from collections import Counter import pandas as pd import config import sys MAX_NGRAMS_FILE = 'max_bytes_ngrams_top_%s.txt' DATA_FILE = 'bytes_ngrams_2_%s.txt' OUTPUT_FILE = 'bytes_ngrams_2_top_%s_%s.pd' def key_to_str(key): if isinstance(key, list): key = "%s_%s" % tuple(key) ...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
abb44823ef19462d8baf60e857c05349904e8d4c
e62b1e748582584a5c2a05fff970fe09e72752b4
/sf/api/wprowadz.py
0d0406f6ab53d5bd1ae4a1f5709296c5b70478f5
[]
no_license
wlodekf/jpk
5957b515ecbcded9b4f27d6a0785ee89e3a0d585
1c200350f57469e890a124d07f741d836d9a0833
refs/heads/master
2023-07-10T20:15:11.111276
2021-08-11T12:21:14
2021-08-11T12:21:14
394,978,461
1
0
null
null
null
null
UTF-8
Python
false
false
4,785
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import json from django.shortcuts import get_object_or_404 from django.http import HttpResponse, JsonResponse from app.models import Plik from sf.models import Sprawozdanie, Wprowadzenie from . import access_control, txt2data from sf.api import views ...
[ "wlodekf@softprodukt.com.pl" ]
wlodekf@softprodukt.com.pl
05f8ab80dcd73c22dcc36cc9f03045d09410b356
ae7ba9c83692cfcb39e95483d84610715930fe9e
/yubinbai/pcuva-problems/UVa 10363 - Tic Tac Toe/main.py
c01b5a7a1fd951706c7ee7f1674189ef05e1cbe9
[]
no_license
xenron/sandbox-github-clone
364721769ea0784fb82827b07196eaa32190126b
5eccdd8631f8bad78eb88bb89144972dbabc109c
refs/heads/master
2022-05-01T21:18:43.101664
2016-09-12T12:38:32
2016-09-12T12:38:32
65,951,766
5
7
null
null
null
null
UTF-8
Python
false
false
2,915
py
''' Created on Jun 18, 2013 @author: Yubin Bai All rights reserved. ''' import time from multiprocessing.pool import Pool parallelSolve = False INF = 1 << 30 def solve(par): def checkwin(): if countO == 3: win[0] = True if countX == 3: win[1] = True board = par ...
[ "xenron@outlook.com" ]
xenron@outlook.com
3a3960c227ee1260bc74f0a559c512ea89251ebe
4f906856e07f82f5d14ddabfd3c00c491d4ce8c8
/OldScripts/PowerMethod_Example.py
1b3e9ba2c05c22490b7185844fe4457a129b4525
[]
no_license
SoliareofAstora/NumericMethods
d4ce4d6559b9f0fbad72082ca2f2197ea3c1d349
6696a07d0ae45a6f18a44c1257f5631ab78bd859
refs/heads/master
2021-09-05T11:10:18.370598
2018-01-26T20:05:56
2018-01-26T20:05:56
112,853,919
0
0
null
null
null
null
UTF-8
Python
false
false
1,911
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 18 17:08:12 2017 @author: SoliareOfAstora """ import numpy as np class diagonalArray: values = np.array([8, 2, 1]) offset = np.array([0, 1, 3]) def get(self, x, y): if y < 0: return 0 distance = x - y if distance < 0: ...
[ "piotr1kucharski@gmail.com" ]
piotr1kucharski@gmail.com
e3cae4303aa534332c3c0bd8d31eea9b5b0b97ed
f9dd12b580207cbd7387a6fd2506175f284c96f2
/283-Move Zeroes.py
64dce7dae345af5595578bd1ba04e6b12e7d0e17
[]
no_license
Damon0626/Leetcode-
c2e8ced0f2e6da3d3116aa33415bca691bb57217
0fb8fa7d9ef65bee816a8aa35326b975d6fb7844
refs/heads/master
2020-04-03T03:05:00.090478
2019-04-15T15:10:05
2019-04-15T15:10:05
154,976,056
1
0
null
null
null
null
UTF-8
Python
false
false
797
py
# -*-coding:utf-8-*- # @Author: Damon0626 # @Time : 19-4-2 下午8:53 # @Email : wwymsn@163.com # @Software: PyCharm ''' Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. Example: Input: [0,1,0,3,12] Output: [1,3,12,0,0] ''' # 在不改变数组的顺序...
[ "2404448093@qq.com" ]
2404448093@qq.com
2c3d1e3b71da8e453c13f2c63f65822ebce1cb16
2ca5a1fe5608eb8298d7e142ecca98fd0fa4566b
/uwsgi_latest_from_installer/tests/threads.py
9c623c3a3818365950dada3fa381ffeae8908a40
[ "GCC-exception-2.0", "GPL-2.0-only", "MIT" ]
permissive
basemanbase/Animal-Health
75bd2e4dc4eb29b6466125b197a77a70e14d91a4
d9741aafd54126f05ba43e6f4ad6517755797c76
refs/heads/master
2023-05-30T17:53:19.905594
2022-01-30T05:52:53
2022-01-30T05:52:53
228,593,914
0
1
MIT
2023-05-01T20:37:31
2019-12-17T10:41:05
Python
UTF-8
Python
false
false
679
py
import uwsgi import threading import time import sys def monitor1(): while 1: time.sleep(1) print("i am the monitor 1") def monitor2(): while 1: time.sleep(2) print("i am the monitor 2") print(sys.modules) def monitor3(): while 1: time.sleep(5) print("5 seconds elapsed") #reload(fake) def spa...
[ "ogunbaseemmanuel@yahoo.com" ]
ogunbaseemmanuel@yahoo.com
f2d0617323f4f3e0be53d3c18ce67f9c63588249
a5622dafafd782af153be2bc0bd19cb086fd07b2
/tests/integration_tests/resources/scripts/reset_storage_mgmtworker.py
76a3996525582aabf870357d0dc13b56b383c303
[ "Apache-2.0" ]
permissive
cloudify-cosmo/cloudify-manager
8b2d226ad5a9dd8103d7690b2f8081bef24078e1
c0de6442e1d7653fad824d75e571802a74eee605
refs/heads/master
2023-09-06T09:11:51.753912
2023-09-04T08:01:58
2023-09-04T08:01:58
18,326,574
146
84
Apache-2.0
2023-09-04T08:02:00
2014-04-01T11:06:47
Python
UTF-8
Python
false
false
788
py
import os import shutil def clean_dirs(): dirs_to_clean = [ '/opt/mgmtworker/work/deployments', # nonexistent dirs will be skipped. # these will be present on an AIO '/opt/mgmtworker/env/plugins', '/opt/mgmtworker/env/source_plugins', # ...and these will be on a dis...
[ "noreply@github.com" ]
cloudify-cosmo.noreply@github.com
1f5e1e1505d9c608ab5be39a01c9bb6babf8d0d0
ffa6a9ef1a8ad9940fa59f8ac206e334e8f1f821
/Collections.py
5c08d5c44a3793154f5940504281e5aa58df38d1
[]
no_license
CodeKul/Python-Dec-2018-CrashCourse
11a7f7bb3d237418c913bf56d57c0517bf597a52
c7cb749e3b42ef273e5c2dfd4c1e90e67302cf91
refs/heads/master
2020-04-08T18:51:26.588806
2018-12-11T08:17:39
2018-12-11T08:17:39
159,628,027
2
1
null
null
null
null
UTF-8
Python
false
false
1,132
py
# String # str = 'Codekul' # int = 100 # float = 10.20 # print("Value: %d, %s, %f"%(int, str, float)) # print("Value: {}, {}, {}".format(int, str, float)) # str = '''"Codekul"- The Gurukul for Coders!''' # print(str) # List myList = [1,2,3,4,5,6,7,8,9, 10.20, 'Codekul', "The Gurukul for Coders"] print(myList) myL...
[ "varun.kudalkar@gmail.com" ]
varun.kudalkar@gmail.com
d07983840f3016f7f3bfe3247e222d4c8877d8fe
6af5c8821005a1f0e38c9354fee86bb263df9588
/elections/urls.py
8d57d9ec44399082f95ad1bbf6797464b31ffeac
[]
no_license
dlatjdrms124/my-first-blog
4276c5f410d0d669e3b426c73f28ec39bb097437
920b97070e70a3c0046358e012ac5eee053192bd
refs/heads/master
2020-03-24T02:50:42.292706
2018-07-26T05:06:14
2018-07-26T05:06:14
142,392,274
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
from django.urls import path, include from . import views #.은 현재폴더의 디렉토리라는뜻. 즉 현재폴더의 views.py를 import하는것임 urlpatterns = [ path('', views.index), ]
[ "you@example.com" ]
you@example.com
5bcc94fa735a4186c7655b68876170db0e8df6fe
5f27bc1a0460a078f6fe33a544f494a5dff7f452
/script/forHubo/1008_tmi.py
bb4e1d952660e15508ad30f685baac81c77f23f8
[]
no_license
A-Why-not-fork-repositories-Good-Luck/arm_move
3e381f0310265f47da14beaac136c358fb318f92
e2e6182cfd93df1935bd3b8e9158134964dc44fa
refs/heads/master
2023-03-15T18:37:17.337770
2020-11-18T06:46:06
2020-11-18T06:46:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,919
py
#!/usr/bin/env python # Software License Agreement (BSD License) # # Copyright (c) 2013, SRI International # 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 ...
[ "welovehun91@gmail.com" ]
welovehun91@gmail.com
f3c80a7348a9c63af8ff92b5c51e3d0a4b39f125
45f75e4ec6a8880d12707c1887d3b6f0c1630546
/test_autolens/profiling/interferometer/fourier_transform.py
2ec2c9644b2da2d68c25405ccc9795230eae815c
[ "MIT" ]
permissive
carlosRmelo/PyAutoLens
45861eb31f5b9cd50d133a29f279ed0b3c4eaaf3
8c3d59cb990d8a1ddc6ed4008893ab312bd07b97
refs/heads/master
2022-12-07T23:31:07.618110
2020-08-25T18:10:31
2020-08-25T18:10:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,347
py
import time import autolens as al import numpy as np repeats = 1 total_visibilities = 100000 real_space_shape_2d = (256, 256) real_space_pixel_scales = 0.05 real_space_sub_size = 1 real_space_radius = 3.0 image_pixels = real_space_shape_2d[0] * real_space_shape_2d[1] shape_data = 8 * total_visibilities shape_prel...
[ "james.w.nightingale@durham.ac.uk" ]
james.w.nightingale@durham.ac.uk
98edc9c336d75eb28a15201c604a6ab424b41aee
8602a87e12fe19b28c2e85cfae0bbde27a62855d
/ingenico/connect/sdk/domain/payment/definitions/complete_payment_card_payment_method_specific_input.py
0fd80c933998b8bb0f19bbad8777d973e40ff94a
[ "MIT" ]
permissive
king1212/connect-sdk-python2
6a687de7967a411fa802477069c7fc7079d059c2
203982559c5c10e3dbbb9dfc71123c269908ed26
refs/heads/master
2021-07-04T03:10:55.061416
2017-09-27T09:29:49
2017-09-27T09:29:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
# -*- coding: utf-8 -*- # # This class was auto-generated from the API references found at # https://epayments-api.developer-ingenico.com/s2sapi/v1/ # from ingenico.connect.sdk.data_object import DataObject from ingenico.connect.sdk.domain.definitions.card_without_cvv import CardWithoutCvv class CompletePaymentCardPa...
[ "jenkins@isaac.nl" ]
jenkins@isaac.nl
99c25f6755fb617380500b649f883685447c6db6
cb5dc505b8a1b24a85016018a238c86ecab55b4e
/code/fluentPython/chapter_19/explore0_19_5.py
a2b79cf058d231a4f3edf6feedde89932727cdd1
[]
no_license
ahwi/PythonNote
3becff3f015497302e7d4f65425dbc958f46dd96
3f3e0e263be6fdf79f0cd8425a4b57a080d8fb17
refs/heads/master
2023-05-12T15:36:13.464358
2023-01-17T23:06:52
2023-01-17T23:06:52
171,092,344
0
0
null
2023-05-01T20:23:55
2019-02-17T07:05:57
Jupyter Notebook
UTF-8
Python
false
false
767
py
from collections import abc class FrozenJSON: def __init__(self, mapping): self.__data = dict(mapping) def __getattr__(self, name): if hasattr(self.__data, name): return getattr(self.__data, name) else: return FrozenJSON.build(self.__data[name]) ...
[ "jyws66@qq.com" ]
jyws66@qq.com
602d185da64edd52ab8e9b6a88278d3d8404cb66
52266a44e2aca241707984e3b138775681b3e95f
/Exercise/Reptile/Scrapy/zhilianzhaopin/zhilianzhaopin/settings.py
dc8d68c4e9d2fb358c2448b126f6af9780209963
[]
no_license
Mr-hongji/pythonNote
91b1252711ce0b919fc365932276b89d85d4c16b
ff5eda0c8f63345de4d98cff8f0f7ab5254c77a6
refs/heads/master
2020-04-11T14:49:39.637983
2019-05-26T09:21:09
2019-05-26T09:21:09
161,869,676
0
0
null
null
null
null
UTF-8
Python
false
false
3,716
py
# -*- coding: utf-8 -*- # Scrapy settings for zhilianzhaopin project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/lates...
[ "shihongji@xiaoneng.cn" ]
shihongji@xiaoneng.cn
6f0e93b9c159369108c6d845e0e7a74776fb7370
44679f92450eff89207a2a60f576e3874083e117
/sampleproject/book/BeginningPython3_O_REILLY/chapter5/report.py
cfaeee9125a05855d6dc8c62a233d31b5e8e255d
[]
no_license
kazkitou/exercise_python_it
54c4eefa14538fe33d2f1c0ea14fc697f49409a8
1ec968ab373deff5d0e829c9cee9c79e2da3b337
refs/heads/main
2023-03-07T16:27:10.927356
2021-02-26T09:04:11
2021-02-26T09:04:11
335,477,434
1
1
null
2021-02-08T09:04:19
2021-02-03T01:53:37
Python
UTF-8
Python
false
false
225
py
def get_description(): """プロと同じようにランダムな天気を返す""" from random import choice possibilities = ["rain", "snow", "sleet", "fog", "sun", "who knows"] return choice(possibilities)
[ "kazkitou9080@gmail.com" ]
kazkitou9080@gmail.com
35dc2df7f5a1c11e9bd5ba81c9eb82e1459df011
5fbd95bd5f500a8b606ce1da98e7214cdfcd7396
/pyroSAR/gamma/parser.py
ec2966219c5e25ed61e3e4095edfd1ed3b63f1cb
[ "MIT" ]
permissive
glacierSid/pyroSAR
3e479e3df35e4b541c1ad02fa7d220e4adb65c88
a5db10e81ff1cfd725a642e7adc63cdac0fecfe8
refs/heads/master
2022-09-18T20:48:28.391461
2020-05-26T07:50:31
2020-05-26T07:50:31
267,170,473
1
0
null
2020-05-26T23:06:04
2020-05-26T23:06:04
null
UTF-8
Python
false
false
32,660
py
############################################################################### # parse Gamma command docstrings to Python functions # Copyright (c) 2015-2019, the pyroSAR Developers. # This file is part of the pyroSAR Project. It is subject to the # license terms in the LICENSE.txt file found in the top-level # dire...
[ "john.truckenbrodt@uni-jena.de" ]
john.truckenbrodt@uni-jena.de
353a5441824ebcd32fa12b880a236143fbfbf9a6
a147a9091e5ba0f86e0edc594e14709bdef5e2cc
/test/TestApp.py
f879e84bfa2da9f485b2617629263234412c62e5
[ "MIT" ]
permissive
wjtxlliubin/simutil
19e3d3d117453f097a7eca09affbcdc5c71efe8d
ae5a42a40da43e763844a1e4eea591a40b574aab
refs/heads/master
2022-08-31T10:10:34.715951
2020-06-01T07:33:38
2020-06-01T07:33:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,842
py
from simutil.App import app, App import os if __name__ == '__main__': pass App().register("BASE_PATH", str(os.path.dirname(os.path.dirname(__file__)))) # 环境初始化 # Env # print(app('env')('LOG_PATH')) # print(app('env')('LOG_PATH1', "hahaha")) # print(app('env').LOG_PATH) # print(app('env...
[ "490573621@qq.com" ]
490573621@qq.com
d2a52c4f16778594d7d631796a1dae3e29d9f2df
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/pandas/tests/groupby/test_nth.py
1a373c9796915742c46dc9298bfeb5fc0ddbfa66
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:a577d04319c81c11de218cdb1be289d9697656f8e892d956f4e8bec41c6e94b3 size 21112
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
a0540312395edfd6ba40eb37e6e8c146090ae0d8
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_Wxyz_focus_Z_ok/pyr_Tcrop255_pad60_jit15/Sob_k15_s001_EroM/pyr_5s/L4/step10_a.py
64ee192254404ea0743d63e463a3dcb2bddcea42
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
73,274
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
289ebf87bfcdc7f7f2265bdc390da342bbd931ff
c73844125d190b14397dd42d2161d938e12506a8
/poptimizer/store/dividends.py
65a28b58ba998ab484ba32ccf0fe2a7c512a626b
[ "Unlicense" ]
permissive
ralex1975/poptimizer
5169396c0108f7857758d65bc7665f085fea70f4
47925177a94fd1730abea2414e068f884ef1dff0
refs/heads/master
2022-01-04T20:09:37.430746
2019-05-12T10:40:53
2019-05-12T10:40:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
"""Менеджер данных для дивидендов.""" import sqlite3 from typing import Tuple import pandas as pd from pandas.io.sql import DatabaseError from poptimizer.config import DATA_PATH from poptimizer.store.manager import AbstractManager from poptimizer.store.utils import DATE # Данные по дивидендам хранятся во вложенной б...
[ "wlmike@gmail.com" ]
wlmike@gmail.com
0341040a01c6e3b3a8c3ffeb87e9a2f8b79f6787
4cd62443b3cd918ed608ce0bcdefe8928f283af1
/book_codes/Odoo11DevelopmentCookbookSecondEdition_Codes/Chapter13/r09_py3o/my_module/models/library_book.py
8b5e8c846f9cf5e7332ac6e957151da92eb9784e
[]
no_license
thienkimlove/odoo-league
e3f4eeec191e44037b515d60268c657bc0df161d
1812cf7623bdce8856dbf4bbd79d493294d04331
refs/heads/master
2020-03-15T23:59:33.352371
2018-05-15T11:15:07
2018-05-15T11:15:07
132,405,334
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
from odoo import models, fields class LibraryBook(models.Model): _name = 'library.book' _description = 'Library Book' name = fields.Char('Title', required=True) author_ids = fields.Many2many('res.partner', string='Authors')
[ "quan.dm@teko.vn" ]
quan.dm@teko.vn
d01d51b0cdfd96e06ebd4fb8d2e93864ad2e7702
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/lib/python2.7/site-packages/sympy/core/tests/test_truediv.py
3398b0c2a5b12efba00ae08df00fdf899a965e86
[ "Python-2.0", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
829
py
from __future__ import division #this module tests that sympy works with true division turned on from sympy import Rational, Symbol, Float def test_truediv(): assert 1/2 != 0 assert Rational(1)/2 != 0 def dotest(s): x = Symbol("x") y = Symbol("y") l = [ Rational(2), Float("1.3"...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
9781103ba4464eccc394d50484b8a6c87eddd2a8
7b7c570b30d6d7a0e9b904c7cb378cfb0d0f0e07
/mlflow/gateway/providers/mosaicml.py
a59cb1efff1198e931db36df086664c8938ff946
[ "Apache-2.0" ]
permissive
mlflow/mlflow
ca97bfbbf32f8e59f454e428f5e46eb3d34d062f
37298ffafcd34002352d01d579d4524790544267
refs/heads/master
2023-09-01T13:15:53.902815
2023-09-01T09:00:42
2023-09-01T09:00:42
136,202,695
14,102
3,748
Apache-2.0
2023-09-14T21:52:42
2018-06-05T16:05:58
Python
UTF-8
Python
false
false
8,923
py
from typing import Any, Dict, List from fastapi import HTTPException from fastapi.encoders import jsonable_encoder from mlflow.exceptions import MlflowException from mlflow.gateway.config import MosaicMLConfig, RouteConfig from mlflow.gateway.providers.base import BaseProvider from mlflow.gateway.providers.utils impo...
[ "noreply@github.com" ]
mlflow.noreply@github.com
783684cfb7c856e4e100a6d5778b40896c7e1f21
d0f11aa36b8c594a09aa06ff15080d508e2f294c
/leecode/1-500/401-500/410-分割数组的最大值.py
c356263034c790f564cf51bed7577f064e182228
[]
no_license
saycmily/vtk-and-python
153c1fe9953fce685903f938e174d3719eada0f5
5045d7c44a5af5c16df5a3b72c157e9a2928a563
refs/heads/master
2023-01-28T14:02:59.970115
2021-04-28T09:03:32
2021-04-28T09:03:32
161,468,316
1
1
null
2023-01-12T05:59:39
2018-12-12T10:00:08
Python
UTF-8
Python
false
false
605
py
class Solution(object): def splitArray(self, nums, m): """ :type nums: List[int] :type m: int :rtype: int """ if len(nums) == m: return max(nums) lo, hi = max(nums), sum(nums) while(lo < hi): mid = (lo + hi) // 2 tem...
[ "1786386686@qq.com" ]
1786386686@qq.com
d1d0e0ec4b467347d8b477be304b9fb591d3513a
9692a20a1e7a224a72785e4495f31421639b9f3b
/examples/ramen_rec/app/services/exceptions/malformed_domain_object_exception.py
1083d41260416a5ac2deeffe93ad7e7db319112a
[]
no_license
solashirai/FREx
6b0cb040930761a0e269f4591d7dde36e3f636d1
36ad09a0cb0020661ee990c7800bafd110e2ec04
refs/heads/master
2023-08-14T08:49:49.270281
2021-09-29T14:58:23
2021-09-29T14:58:23
291,760,109
0
0
null
2021-09-24T22:41:19
2020-08-31T15:57:47
Python
UTF-8
Python
false
false
437
py
from examples.ramen_rec.app.services.exceptions import MalformedContentException from rdflib import URIRef from typing import Optional class MalformedDomainObjectException(MalformedContentException): def __init__(self, *, uri: URIRef, message: Optional[str] = None): if not message: message = f...
[ "solashakashirai@gmail.com" ]
solashakashirai@gmail.com
471957e52609d813a22c94a0f5ada65e683a6869
95d1dd5758076c0a9740d545a6ef2b5e5bb8c120
/PY/web/django/todo_prj/todo_app/urls.py
9aa75de54960ab91f2a4b719b131c908cfca7fde
[]
no_license
icoding2016/study
639cb0ad2fe80f43b6c93c4415dc6e8a11390c85
11618c34156544f26b3b27886b55c771305b2328
refs/heads/master
2023-08-31T14:15:42.796754
2023-08-31T05:28:38
2023-08-31T05:28:38
117,061,872
2
0
null
null
null
null
UTF-8
Python
false
false
480
py
from django.urls import include, path from rest_framework import routers from . import views router = routers.DefaultRouter() router.register(f'ToDo', views.ToDoViewSet) # Wire up our API using automatic URL routing. # A router works with a viewset to dynamically route requests. # Additionally, we include login URLs...
[ "icoding2016@gmail.com" ]
icoding2016@gmail.com
6c00774d9cd1c8be6be9d296a2ebd8bf1fa353ef
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/iambus_xunlei-lixian/xunlei-lixian-master/lixian_query.py
e1a27cccd68b197d0fb9101d8bc520a881d39081
[]
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
11,797
py
__all__ = ['query', 'bt_query', 'user_query', 'Query', 'ExactQuery', 'SearchQuery', 'build_query', 'find_tasks_to_download', 'search_tasks', 'expand_bt_sub_tasks'] import lixian_hash_bt import lixian_hash_ed2k import lixian_encoding def link_normalize(url): from lixian_url import url_unmask, normalize_u...
[ "659338505@qq.com" ]
659338505@qq.com
e2faad1de6300e1ceb1b4bc707786947f833ca1b
d32c0f5a81e2c0f32289edef261ca5171282db7b
/questions/math/count_of_2s.py
7f8141d7a9d7757e237e6b03934a36be1f7183be
[]
no_license
mpettersson/PythonReview
5a9c863a298855d4949fb06c52e31c8a114736c3
14be619208dfffeafcab1a6ba5c3ff0b1e31c0b5
refs/heads/master
2022-03-05T00:18:42.397061
2022-02-19T15:15:35
2022-02-19T15:15:35
233,277,588
0
0
null
null
null
null
UTF-8
Python
false
false
1,802
py
""" COUNT OF 2S Write a method to count the number of 2s that appear in all the numbers between 0 and n (inclusive). Example: input = 25 output = 9 (2, 12, 20, 21, 22, 23, 24, and 25--Note that 22 counts for two 2s) """ import time # Approach 1: Brute Force def count_twos_brute_force(num...
[ "matt@mpettersson.com" ]
matt@mpettersson.com
9a72b348ddeb7532a87afd148d12b77182dcfb98
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_pulleys.py
f136cb5dc40c6878ecbf8db932b07bfa647ce784
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from xai.brain.wordbase.nouns._pulley import _PULLEY #calss header class _PULLEYS(_PULLEY, ): def __init__(self,): _PULLEY.__init__(self) self.name = "PULLEYS" self.specie = 'nouns' self.basic = "pulley" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1698933dc5a6ee85eacbc04a4971c6a2329731d5
361adca9f871ae8ca03f1d4bedff99b3de5fd0a4
/cameras/disparity_estimation/scripts/bwsball1_disparitysgbm_task_ball.py
010afbf093460c502ada84b4c3e2f99f8745069a
[]
no_license
Berkeley-BORIS/NDS-Code
123fb76eb7c339a2dd8dd17fd8110520839e4a50
aca912e22d62980ae78729355ad2b3b761186da3
refs/heads/master
2016-09-06T10:30:00.075969
2015-03-24T18:44:33
2015-03-24T18:44:33
39,850,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
from disparity_sgbm_parallel import * ##EDIT subj = 'bwsball1' inputs = [] ##MANUALLY SELECT RELEVANT FRAMES FROM EACH TASK IF NECESSARY # FRAME SELECTION IS UNNECESSARY IF FRAMES OF INTEREST WERE # MOVE TO THEIR OWN FOLDER inputs.append(["task_ball",(0,0)]) min_distance_mm=100 SAD_window_size=(3,5,17) disp_12_maxd...
[ "bill.sprague@berkeley.edu" ]
bill.sprague@berkeley.edu
d75d7ac4852d9ad64a657ba56151ed050e512853
d84c430ac048d09e2a0290956004f5cc52131b19
/fixie/__main__.py
e190f750d10f0fd4f7476bf9e990a35b71a86160
[ "BSD-3-Clause" ]
permissive
yarden-livnat/fixie
f8abb16d080cd1aa7518c2516aea97652e4c7679
0a9773d080f0c4e2fe538f3817ea15abc1bd57a9
refs/heads/master
2020-03-21T01:10:13.015792
2018-06-25T21:56:54
2018-06-25T21:56:54
137,927,793
0
0
BSD-3-Clause
2018-06-19T18:05:49
2018-06-19T18:05:48
null
UTF-8
Python
false
false
35
py
from fixie.main import main main()
[ "scopatz@gmail.com" ]
scopatz@gmail.com
b2117f8d7dd92ec24a755bdbdbef5c1f8d57f65b
52b5773617a1b972a905de4d692540d26ff74926
/.history/sequence_20200622002600.py
1afdfdc32a8e732db4ebacd1e79bc8c9a91a438c
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
from itertools import permutations def sequence(n,k): newArr = permutations([1,2,3]) for li in newArr: print("".join(li)) sequence(3,3)
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
bd519bc4e826a0dd74454e5808e5bc3792f09927
5abe2d8bac6e0cbfbaab25024f99fce48bbecd92
/src/questions/migrations/0016_auto_20160624_0445.py
d5f89b08c0cb06d48a9871e806264d96c0c51002
[]
no_license
av8ramit/caprende
086cad46d59ff54cacdc7eee2ec084c1528b8947
cd4ff5222e437fca055dce4790c8c349699d3f5f
refs/heads/master
2021-03-27T12:30:25.338673
2017-02-21T04:34:31
2017-02-21T04:34:31
58,184,420
0
1
null
null
null
null
UTF-8
Python
false
false
425
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-06-24 04:45 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('questions', '0015_auto_20160602_0515'), ] operations = [ migrations.AlterModelOption...
[ "av8ramit@yahoo.com" ]
av8ramit@yahoo.com
749928c94ab46549705e3367d348c65a60065882
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_36560_notags.py
5db5801136c7c6594f55ce4d0cb335763c8420f0
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
6,607
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
44b40892482993f3775a87c852cd61002f3d902f
8bc5c6a29d304af1875e2d48b5d2e785dbac5b9a
/tests/follow_reference_field/test_to_mongo.py
5f6bd820b996ad5453232fb1c71cdfb2b64eae8b
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
mohithg/mongoengine-goodjson
ff32ca510ecc929509630d3a06308abaf2138899
c0b2981f47e106a3c1fa167b9e16f40421871372
refs/heads/master
2020-03-24T03:04:58.872330
2018-07-26T07:16:58
2018-07-26T07:16:58
142,403,922
0
0
MIT
2018-07-26T07:18:58
2018-07-26T07:18:58
null
UTF-8
Python
false
false
4,342
py
#!/usr/bin/env python # coding=utf-8 """FollowReferenceField to_mongo unit tests.""" from unittest import TestCase, skip try: from unittest.mock import patch, PropertyMock except ImportError: from mock import patch, PropertyMock from bson import DBRef, ObjectId, SON from .schema import ( DisabledIDChec...
[ "hiroaki@hysoftware.net" ]
hiroaki@hysoftware.net
78ad1642d61179b8b7ca33bcd44797896ad7d6a1
eef72818143c9ffef4c759a1331e8227c14be792
/sktime/utils/datetime.py
c0ea2119b6f553f3b4ea1c3a2dd528543d524280
[ "BSD-3-Clause" ]
permissive
jattenberg/sktime
66a723d7844146ac1675d2e4e73f35a486babc65
fbe4af4d8419a01ada1e82da1aa63c0218d13edb
refs/heads/master
2023-08-12T07:32:22.462661
2022-08-16T10:19:22
2022-08-16T10:19:22
298,256,169
0
0
BSD-3-Clause
2020-09-24T11:20:23
2020-09-24T11:20:23
null
UTF-8
Python
false
false
7,626
py
#!/usr/bin/env python3 -u # -*- coding: utf-8 -*- """Time format related utilities.""" __author__ = ["mloning", "xiaobenbenecho", "khrapovs"] __all__ = [] from functools import singledispatch from typing import Optional, Tuple, Union from warnings import warn import numpy as np import pandas as pd from sktime.datat...
[ "noreply@github.com" ]
jattenberg.noreply@github.com
41c8564cf61f70b2206c691db1b7084c28f7dacc
329f0e8bf63b8ee7fc55ca1c9ea0a3fcc58bbff5
/app/__init__.py
3ecc3f38ff3c20fcfc76ab2c2938750321a5a147
[]
no_license
pwgraham91/cratejoy-darts
6be90ead11e6580d1630d1cf95b1402118200d72
f6e3eb3dd5f47c2c155dcd85a0d3f46b00eee38d
refs/heads/master
2022-09-21T10:44:51.908579
2017-01-01T02:25:44
2017-01-01T02:25:44
70,245,826
0
0
null
2022-09-16T17:45:43
2016-10-07T12:47:36
Python
UTF-8
Python
false
false
308
py
from flask import Flask from flask_login import LoginManager from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config.from_object('config') db = SQLAlchemy(app) login_manager = LoginManager(app) login_manager.init_app(app) login_manager.login_view = 'login' from app import views, models
[ "pwgraham91@gmail.com" ]
pwgraham91@gmail.com
fccee5cd6101ca7a03ec4014bb151bf45b1778a7
680754b5d8245ee35706530be8a3185b8bf10264
/spithread/helpers/spider.py
babd7b1db9c0242059993f52af3ea2b6702ebe23
[]
no_license
dhavalsavalia/gogov_hackathon_project
5a04030c043d21143acbd3c92f9e7625f642c243
e5c0195b1781bc0db5b922b057647880e0d25054
refs/heads/master
2022-02-26T11:39:13.102079
2019-10-16T05:35:58
2019-10-16T05:35:58
124,995,582
3
1
null
2019-10-16T05:36:00
2018-03-13T05:09:46
Python
UTF-8
Python
false
false
2,626
py
from urllib.request import urlopen from .link_finder import LinkFinder from .domain import * from .general import * class Spider: project_name = '' base_url = '' domain_name = '' queue_file = '' crawled_file = '' queue = set() crawled = set() def __init__(self, project_name, base_url,...
[ "dhaval.savalia6@gmail.com" ]
dhaval.savalia6@gmail.com
d0bf443e0ac489a70222c7bb2dc675c9c74e8ee9
c71af56951d1c661a5819db72da1caccd9130df2
/python/django-apps/hello-world/sandbox/src/app/app/settings.py
651cee3f60247cae88b4c544e438d281941c2b5f
[]
no_license
adrianpoplesanu/personal-work
2940a0dc4e4e27e0cc467875bae3fdea27dd0d31
adc289ecb72c1c6f98582f3ea9ad4bf2e8e08d29
refs/heads/master
2023-08-23T06:56:49.363519
2023-08-21T17:20:51
2023-08-21T17:20:51
109,451,981
0
1
null
2022-10-07T04:53:24
2017-11-03T23:36:21
Python
UTF-8
Python
false
false
3,297
py
""" Django settings for app project. Generated by 'django-admin startproject' using Django 3.0.13. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os impor...
[ "adrian.poplesanu@yahoo.com" ]
adrian.poplesanu@yahoo.com
53ff12b37b6d8f941fba70a0c07458664f4b7e11
21e1130abff85dcc6d8503cc4d10e718c48e767d
/figures/plot_1kg_diversity.py
06bd72eaf14dded14164d1aacf73945af536b761
[]
no_license
petrelharp/treestats_ms
55984c0646f476c3f3a3560c2a463ced9363d7e5
8b12b8e47494176fd028887c528de63d02ddc626
refs/heads/master
2022-04-24T11:41:36.588794
2020-04-29T23:15:19
2020-04-29T23:15:24
107,820,986
1
3
null
2020-04-29T23:57:42
2017-10-21T22:40:13
TeX
UTF-8
Python
false
false
6,890
py
#!/usr/bin/env python3 import tskit, json import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import os, sys usage = """ Usage: {} treefile maskfile mode window_width Here `maskfile` should be a fasta of 0s and 1s. """.format(sys.argv[0]) if len(sys.argv) != 5: raise Val...
[ "petrel.harp@gmail.com" ]
petrel.harp@gmail.com
a0489313e2fafe25461ea750cd307294e4f0fd3c
3c8aaef535328f7c4d812cf086a637b27d891752
/interview/dp/hard/LintCode.Maximum Subarray III.py
b36fd4eaa42a61700644d309aa540384decf2b78
[]
no_license
zhangshv123/superjump
9339cd7f5e75d8a94be60d44c752267cc38183d3
7de5f69e6e44ca4e74d75fed2af390b3d2cbd2b9
refs/heads/master
2020-03-20T20:36:34.378950
2019-03-08T04:37:22
2019-03-08T04:37:22
137,696,605
1
0
null
null
null
null
UTF-8
Python
false
false
1,308
py
""" Given an array of integers and a number k, find k non-overlapping subarrays which have the largest sum. The number in each subarray should be contiguous. Return the largest sum. Example Given [-1,4,-2,3,-2,3], k=2, return 8 """ class Solution: """ @param nums: A list of integers @param k: An integer d...
[ "sz1266@nyu.edu" ]
sz1266@nyu.edu
9303ecd269e50ac2f55ec36147e138e1398a27c5
72a90b4aca25302678a6195831a3895b6ad22615
/todo_app/todo_app/settings.py
c952d1b7dd67ae7b52372e064100219aa1ca13bd
[]
no_license
Solly64/portfolio-project
ffa8570845309c236357986c42b99fa33348b61c
749853ee40ec36f9019a8b049a2204c3feed12e9
refs/heads/master
2022-12-15T17:43:56.737007
2019-07-10T20:48:34
2019-07-10T20:48:34
196,194,976
0
0
null
2022-12-08T05:52:05
2019-07-10T11:44:37
HTML
UTF-8
Python
false
false
3,094
py
""" Django settings for todo_app project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "git@github.com:Solly64/datasciencecoursera.git" ]
git@github.com:Solly64/datasciencecoursera.git
27ae236bb900e6e57be6fa10fdb8fd6bf09a44e7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02722/s860678341.py
2007d4181be55224449efe2f5eaa7e61e3a04c01
[]
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
317
py
def divisors(n): ret=[] for i in range(1,int(n**0.5)+1): if n%i==0: ret.append(i) if n//i!=i: ret.append(n//i) return ret n = int(input()) ans = len(divisors(n-1)) - 1 for d in divisors(n)[1:]: tmp = n while tmp%d == 0: tmp = tmp//d if tmp%d == 1: ans += 1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c83b8efeb43a21faf74a6b5776e9aa1aff6ca13c
802ceea4c246a04ce56d6cb7fbd7875ae892ccd3
/problems/0198.house-robber/house-robber.py
0d3482e614f745f3c553fe21923de0a5497ba5cb
[]
no_license
tirsott/lc-go
dc5f828a77d1542cfa047ec88ca38fa73b7055c8
9ae68ada9f63483323cdeaa0f7da3410a0669371
refs/heads/master
2021-07-16T00:46:07.714403
2020-11-13T07:15:05
2020-11-13T07:15:05
224,170,434
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
from typing import List class Solution: def rob(self, nums: List[int]) -> int: if not nums: return 0 dp = [[0, 0] for _ in range(len(nums))] dp[0] = [0, nums[0]] for i in range(1, len(nums)): dp[i][0] = max(dp[i-1][1], dp[i-1][0]) dp[i][1] = dp[i-...
[ "t-huyahui@atman360.com" ]
t-huyahui@atman360.com
ce4a9bd912875ac7976e22621816d8e198595240
a8062308fb3bf6c8952257504a50c3e97d801294
/test/test_N2136_Earliest_Possible_Day_Of_Full_Bloom.py
b11df94194a5324fd18acbde209139da8f537917
[]
no_license
wan-catherine/Leetcode
650d697a873ad23c0b64d08ad525bf9fcdb62b1b
238995bd23c8a6c40c6035890e94baa2473d4bbc
refs/heads/master
2023-09-01T00:56:27.677230
2023-08-31T00:49:31
2023-08-31T00:49:31
143,770,000
5
0
null
null
null
null
UTF-8
Python
false
false
552
py
from unittest import TestCase from problems.N2136_Earliest_Possible_Day_Of_Full_Bloom import Solution class TestSolution(TestCase): def test_earliest_full_bloom(self): self.assertEqual(9, Solution().earliestFullBloom(plantTime = [1,4,3], growTime = [2,3,1])) def test_earliest_full_bloom_1(self): ...
[ "rarry1988528@126.com" ]
rarry1988528@126.com
8730063e65f83b669db2e60b95852a0f2c5fd404
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02624/s700818371.py
01bf3be94c8bd7e3bb9b3244c92a51cc3ce58b47
[]
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
191
py
N = int(input()) f = [0] * (N+1) for i in range(1, N+1): cnt = i while cnt <= N: f[cnt] += 1 cnt += i ans = 0 for i in range(1, N+1): ans += i*f[i] print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c72c3e6c921ed26e79f5eab725404647c6221a88
28915bc7ab3697024d938a275d4b44ac34cbcaa6
/TPS_138/migrations/0001_initial.py
25292faf3182d5e9da5686ed98d7269f32354902
[]
no_license
QQX1234/TPS138
cebd3c0c0b083547a10622b6766ace1f3608f065
b3debb2e9b4dc45e400b471b60bc5b155ac5390d
refs/heads/master
2020-04-10T17:06:12.410153
2018-12-11T13:18:10
2018-12-11T13:18:10
161,165,267
3
0
null
null
null
null
UTF-8
Python
false
false
630
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-12-11 11:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Wheel'...
[ "you@example.com" ]
you@example.com
e041863f494077f29f30d269162ca46870f9cdf2
cad539f5c8819f36969a442239f0b40916f5542e
/CMS/cms/auth_views.py
567370d573b941b46089ea669f36ab33ae23d848
[]
no_license
AlexYangLong/Flask_Project
fc5e86755e4c1a0d5c7589c668a963fce3784d04
45b0d452d7ae0c02db0dc0dcf8bce7c4b02d53db
refs/heads/master
2020-03-19T04:07:09.871982
2018-07-19T12:26:42
2018-07-19T12:26:42
135,796,579
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
from flask import Blueprint, render_template, jsonify, request, session from flask_restful import Resource from cms.models import Admin from utils import status_code from utils.exts import api auth_blueprint = Blueprint('auth', __name__) @auth_blueprint.route('/login/', methods=['GET']) def login(): return rend...
[ "alex@alex.com" ]
alex@alex.com
20d7e8c730d64f6b15413c0f7d21c0eb75e04390
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_1_1/carren.dou/p1.py
1e0ccb93774aa93dc336a113f89dc4b6ff18725f
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
375
py
fp = open('A-small.in','r') fw = open('A-small.out','w') cases = int(fp.readline().strip()) for case in xrange(1, cases+1): words = [] s = fp.readline().strip() words.append(s[0]) for i in xrange(1,len(s)): y = [] for word in words: y.append(s[i] + word) y.append(word + s[i]) words = y y = sorted(wo...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
bed03f00fb974beb868192fe9ab1ad4c3b922bd6
60aa3bcf5ace0282210685e74ee8ed31debe1769
/simulation/socials/social_scoring.py
9041a8d4bce0e15ba4e894094c8fdc9bf87e49aa
[]
no_license
TheBreadGuy/sims4-ai-engine
42afc79b8c02527353cc084117a4b8da900ebdb4
865212e841c716dc4364e0dba286f02af8d716e8
refs/heads/master
2023-03-16T00:57:45.672706
2016-05-01T17:26:01
2016-05-01T17:26:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,662
py
import weakref from interactions.constraints import ScoringFunctionBase import sims4.math import socials.geometry import accumulator class SocialJoinScoringFunction(ScoringFunctionBase): __qualname__ = 'SocialJoinScoringFunction' def __init__(self, target_sim): self._target_sim_ref = target_sim.ref() ...
[ "jp@bellgeorge.com" ]
jp@bellgeorge.com
55628921e48e8f10ebf6770a28296408022db24d
fdd9e3131ead660db9485304438993a2a249fb1f
/tests/test_npc/test_campaign/test_campaign_class/test_campaign_metatags.py
d147cd4c2e8e70541238fe8235172d4d5bf339a4
[ "MIT" ]
permissive
aurule/npc
6807aa0723e765cb33fe5f5b49b0f579a6207153
2e1b2e92e2a4908d791846f184ee7e4de2f6682e
refs/heads/develop
2023-09-02T02:46:47.900892
2023-08-30T17:31:00
2023-08-30T17:31:00
47,045,977
14
2
MIT
2023-08-18T20:49:12
2015-11-29T01:40:18
Python
UTF-8
Python
false
false
1,094
py
from tests.fixtures import tmp_campaign from npc.campaign import Campaign def test_includes_global_metatags(tmp_campaign): tmp_campaign.settings.data["npc"]["metatags"] = { "brewer": { "desc": "Brewer at brainz beer", "set": { "employer": "Brainz" }, ...
[ "paige.andrews@modolabs.com" ]
paige.andrews@modolabs.com
0981d75ae1430abbe42b1e85aa29afc66416c0aa
625a2b46caf94a8bfb1afdbc1b933cd19aaafc33
/BinaryStrawberry.py
c7c2b53fe2baf43678f96f463c8d41ce289a2ea7
[]
no_license
smilu97/SoftwareStartClass
4118e5c80d0f8253785aa2ecb72db0935c457fcb
df41a2e93a315ab155e0995132a66a9e4dc86ef4
refs/heads/master
2020-12-24T21:21:22.779636
2016-05-04T07:42:35
2016-05-04T07:42:35
58,031,445
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
import time strStrawberry = 'S' strNotStrawberry = '.' waitTime = 0.1 def BinaryStrawberry(val) : for i in range(3,-1,-1) : if val & (1 << i) : print strStrawberry, else : print strNotStrawberry, time.sleep(waitTime) print def DoBinaryStrawberry() : while True : for i in range(1, 15) : BinaryStra...
[ "smilup2244@gmail.com" ]
smilup2244@gmail.com
af2e48aebaa52663c4f30bf1a3e5bb4b348fe7d7
013637702e485b2c15f440f5fecd52ec7593ae76
/app01/migrations/0005_click.py
e1f47259b913dc7c27d561d8d7e1cbc10db9e728
[]
no_license
lianzhang132/blog1fu
0d7ba3ceb0dab5c73869dfe918ae7821e1f7440e
6e0615cbf1e2e735c18b4445275b9fdd3d98513c
refs/heads/master
2020-07-11T01:50:40.866235
2019-08-26T07:28:02
2019-08-26T07:28:02
204,422,286
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
# Generated by Django 2.1.5 on 2019-07-01 06:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app01', '0004_praise_praise_addtime'), ] operations = [ migrations.CreateModel( name='Click', ...
[ "2327431669@qq.com" ]
2327431669@qq.com
2345dd197f4c443028022171824ff8a8ed4e9fdd
52f3ca4aee10823002bf3908c67d246350416868
/djd-prog2/manha-aula5/triangulo.py
1f5ed51927e14c4dc8ce8d399b1633ce9553e75c
[]
no_license
antoniorcn/fatec-2020-1s
3cec0c9d9bf122176b2b9d14f2891a8f57c13d27
090cda56662a7f0d76dad630e619d791d09ab34f
refs/heads/master
2021-01-07T12:25:24.520056
2020-06-27T15:36:26
2020-06-27T15:36:26
241,691,238
8
15
null
null
null
null
UTF-8
Python
false
false
104
py
for linha in range(1, 6): for coluna in range(0, linha): print("*", end="") print("")
[ "antoniorcn@hotmail.com" ]
antoniorcn@hotmail.com
1dc707fc8e6ad4d3b125d157b386c0fe3af75142
3b506b2e82c24a3eb0eb34ae72bad60123b30d02
/construct_cpenv/__init__.py
03aae008aa793893b5ea70be7da888b9b88477a5
[ "MIT" ]
permissive
construct-org/construct_cpenv
729af4e19fa37429f3941e3186ac3ab59bb53d89
644ec8788608d060be82c04501d74137020919b5
refs/heads/master
2021-04-26T14:50:47.730439
2020-06-03T01:28:38
2020-06-03T01:28:38
123,993,138
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
# -*- coding: utf-8 -*- from __future__ import absolute_import __title__ = 'construct_cpenv' __description__ = 'Construct Cpenv Integration' __version__ = '0.3.0' __author__ = 'Dan Bradham' __email__ = 'danielbradham@gmail.com' __license__ = 'MIT' __url__ = 'https://github.com/construct-org/construct_cpenv' from cons...
[ "danielbradham@gmail.com" ]
danielbradham@gmail.com
c93407e38e11ae9e06aa37b010eb9b2dbf9ece75
c791c3f2b9e941859b7c642b84c6f17e8a3e836a
/redtree/utils/base_models.py
a1aafde1b3e72c68151695bcbc7afba0796dc923
[]
no_license
kaushal6038/SecutityApp
f6887735e0f7c247a0d6462b72ab58ce5c235d13
282349a24ca93ae4f2826663e08e92952608b600
refs/heads/master
2023-05-28T03:21:21.842097
2021-06-18T07:34:06
2021-06-18T07:34:06
378,069,017
0
0
null
null
null
null
UTF-8
Python
false
false
1,768
py
from django.db import models from django.utils import timezone import time import datetime from datetime import timedelta, datetime from django.utils import timezone class LoggingBaseModel(models.Model): task_id = models.CharField(max_length=56, null=True, blank=True) scan_id = models.CharField(max_length=1024, nul...
[ "you@example.com" ]
you@example.com
0166302e80ba5639edcbe17361c1c728ac2ff402
9a9fb43d866dc8fd829211d2b47328ef1f5ed428
/ROS_CODE/catkin_ws/build/gazebo_ros_demos-kinetic-devel/gazebo_tutorials/catkin_generated/pkg.develspace.context.pc.py
8a0c984676d9f90b17161f56be7ea982726c0b73
[]
no_license
droter/auto_mow
326df42a54676079cac61fe63c40d5d04beb049b
3742cb2ef78bc06d2771ac4c679e5110909774f8
refs/heads/master
2022-05-19T20:18:33.409777
2020-04-29T00:42:24
2020-04-29T00:42:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;gazebo_ros".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "-lgazebo_tutorials".split(';') if "-lgazebo_tutorials" != "" else [] ...
[ "joshuatygert@gmail.com" ]
joshuatygert@gmail.com
f80f2314a9721c5bd53d18b34310f420640cdaf7
9f2445e9a00cc34eebcf3d3f60124d0388dcb613
/2020-01-25-TimeCell_randomwalk/TimeCell_randomwalk.py
afa32fd2b90cdaf7ba6915d2dff4f688a9886c51
[]
no_license
analkumar2/Thesis-work
7ee916d71f04a60afbd117325df588908518b7d2
75905427c2a78a101b4eed2c27a955867c04465c
refs/heads/master
2022-01-02T02:33:35.864896
2021-12-18T03:34:04
2021-12-18T03:34:04
201,130,673
0
1
null
null
null
null
UTF-8
Python
false
false
303
py
import numpy import pandas as pd import matplotlib.pyplot as plt import numpy.random as nrm class RandomWalkNeuron: def __init__(self, idx, prON): self.idx = idx self.prON = prON state = nrm.binomial(1,self.prON) def changestate(self): self.state = nrm.binomial(1,self.prON)
[ "analkumar2@gmail.com" ]
analkumar2@gmail.com
82d1240069b8955e71460f7a3cdf9ac06b033a2a
ddfd0f0dcb5accb0aa07060eafdcbbcdabe8a916
/export/nutep/migrations/0024_auto_20170831_0920.py
b71340b910e3712ae1c2b60e7ac14c62fc6c4c71
[]
no_license
314casso/export
7ec2a7a965901d9868959c34ab58f2850084c85d
f8384ebb633d01d931119874908e6e60621e63eb
refs/heads/master
2021-05-23T04:32:40.101536
2020-11-20T08:37:14
2020-11-20T08:37:14
81,556,213
0
0
null
null
null
null
UTF-8
Python
false
false
587
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nutep', '0023_auto_20170719_1438'), ] operations = [ migrations.AddField( model_name='mission', name...
[ "picasso75@yandex.ru" ]
picasso75@yandex.ru
a6a304652398a518a2e827606a362cba4c4f67dd
56ade096db1fe376ee43d38c96b43651ee07f217
/067. Add Binary/Python/Solution.py
8f4660349aecc8254ab2db41ce74b7ea042a39c1
[]
no_license
xiaole0310/leetcode
c08649c3f9a9b04579635ee7e768fe3378c04900
7a501cf84cfa46b677d9c9fced18deacb61de0e8
refs/heads/master
2020-03-17T05:46:41.102580
2018-04-20T13:05:32
2018-04-20T13:05:32
133,328,416
1
0
null
null
null
null
UTF-8
Python
false
false
888
py
class Solution(object): def addBinary(self, a, b): """ :type a: str :type b: str :rtype: str """ i = len(a) - 1 j = len(b) - 1 carry = 0 result = "" while i >= 0 or j >= 0 or carry: count = 0 if i >= 0: ...
[ "zhantong1994@163.com" ]
zhantong1994@163.com
5727a9a2e207d9512faec05074bfcb1c3648418b
a07411ec502b796fb8b3435058602494a4516d05
/src/processing/actions/generate_input.py
aee7ad4a6206f2379010f4984c86f4ded54f53e9
[ "MIT" ]
permissive
code-critic/codecritic2
cc20ca1d437c28f6e19874cca0043d4ee6ed98c3
1c0f941731411f2d5b4f9f9ba87aabc8dcf3c564
refs/heads/master
2020-05-14T16:38:55.381413
2019-05-29T13:18:58
2019-05-29T13:18:58
181,876,349
0
0
null
null
null
null
UTF-8
Python
false
false
3,511
py
#!/bin/python3 # author: Jan Hybs import pathlib import shutil from uuid import uuid4 from loguru import logger from env import Env from processing import ExecutorStatus, ProcessRequestType from processing.actions import AbstractAction from processing.executors.multidocker import MultiDockerExecutor from processing....
[ "jan.hybs@tul.cz" ]
jan.hybs@tul.cz
fc5bcd6e88fcba27a1a3fa08ec58b1c8cef430fa
25ab659dcd65d9957c62dcb6b6aee231bda614f2
/mysite/migrations/0001_initial.py
0f861dcb067408552e730b2ec9c2ae4ce52b8e22
[]
no_license
Inf3rn0113/Django-First-Website
e0922b1085fe94734df308e852b56b4c8ebf32c5
7eaf2da46619b4cad47019d6329c5ae4d8d843b5
refs/heads/master
2020-04-13T02:43:33.435837
2018-12-23T17:20:25
2018-12-23T17:20:25
162,910,896
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
# Generated by Django 2.1.4 on 2018-12-23 09:19 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student', fields=[ ('id', models.AutoField(...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
c6494a708597036260f8a7f9435bf5dfab53c145
affe3bc451f4dd2603363a5ddced25712a9966e5
/pythoncycle4/rect.py
ff09ae4ece58a509e267f18063b9a8e0fda0df1a
[]
no_license
alexachu/python
9a54dab4a1f9fb76b160311700f05b373965f7cf
5285e3b46bfc7b87474174a76d7c8f1fdcd2fc63
refs/heads/master
2023-03-23T04:14:52.200648
2021-03-21T08:20:29
2021-03-21T08:20:29
323,098,532
0
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
class rectangle(): def __init__(self, breadth, length): self.breadth = breadth self.length = length def area(self): return self.breadth * self.length def perimeter(self): return 2 * (self.breadth + self.length) print("Rectangle1") a = int(input("Enter length of rectangle1: ...
[ "Student@mcalab.edu" ]
Student@mcalab.edu
0b85efe551eb027da59483eaddaa2577ecdfd5f6
083ca3df7dba08779976d02d848315f85c45bf75
/ShortestPalindrome2.py
91bd2988070d93177b5a72a32f8c82fcedd3a7f0
[]
no_license
jiangshen95/UbuntuLeetCode
6427ce4dc8d9f0f6e74475faced1bcaaa9fc9f94
fa02b469344cf7c82510249fba9aa59ae0cb4cc0
refs/heads/master
2021-05-07T02:04:47.215580
2020-06-11T02:33:35
2020-06-11T02:33:35
110,397,909
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
class Solution: def shortestPalindrome(self, s): """ :type s: str :rtype: str """ r = s[::-1] for i in range(len(s), -1, -1): if s[:i] == r[len(s) - i:]: print(i) return r[ : len(s) - i] + s if __name__ == '__main__...
[ "jiangshen95@163.com" ]
jiangshen95@163.com
5c80fb34fb5cc66b095dd2b40feeffd5a7946803
b7bf93fc21ba8eec04d6f24e79689dd7bb989770
/test/functional/feature_nulldummy.py
b1499436e3c84dc73329e21af2a03a4f364b1b5d
[ "MIT" ]
permissive
onuratakan/bitracoin
cd3ab809af1ce9e245b2fecf59e1421e1e427f90
1d73e0b6352d29066706ac4033dc7b4711246883
refs/heads/main
2023-04-09T03:10:58.075426
2021-04-16T22:06:06
2021-04-16T22:06:06
358,728,118
0
0
MIT
2021-04-16T22:06:07
2021-04-16T21:54:02
null
UTF-8
Python
false
false
6,592
py
#!/usr/bin/env python3 # Copyright (c) 2016-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test NULLDUMMY softfork. Connect to a single node. Generate 2 blocks (save the coinbases for la...
[ "binosaurcoin@gmail.com" ]
binosaurcoin@gmail.com
bf186b72d227c6c3d9b212369fd1190a86508a60
c21f89fbbf095ea048a1a22a257097525bf19451
/build/rbx2/rbx2_bringup/catkin_generated/pkg.develspace.context.pc.py
4cffb2bb299d36a169066c196921c70f9cd82a9a
[]
no_license
kmxz2016/rbx2
6ad0f048277f07a32b936f90d00655115f6856a9
f1118763f524d5c7195a407472b9d294990273fb
refs/heads/master
2021-01-21T12:57:54.545514
2017-09-01T13:01:41
2017-09-01T13:01:41
102,108,408
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "rbx2_bringup" PROJECT_SPACE_DIR = "/h...
[ "601985329@qq.com" ]
601985329@qq.com
9fdf62d01abf8fdaac2b927f365797ae14670faa
590fe9abe8932f7935ab6b0399fb3e2f3f933bd8
/backend/real_estate/models.py
bb3b028eb3553144125ceb7f818cb327a2706e51
[]
no_license
Hyunwoo29/restartproject
779f52f9d9b3515d150ed8118bbdf9179ae87f3b
2a630e3fa1fc6e7de388813a414e081040c180d0
refs/heads/master
2023-06-03T00:03:19.084031
2021-06-11T09:09:16
2021-06-11T09:09:16
373,744,623
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
from common.models import DataTransferObject class HousingDTO(object): pass
[ "nbaksa3@gmail.com" ]
nbaksa3@gmail.com
7b7c121f1edd3bf1055811214842a445ae0f30a5
9ddc88fe2f8be8fa32b205d6f6ef5d4f9c8da1c0
/view_the_review/administration/urls.py
44b2d0b034265dc716d3be69ed881d9819c439f6
[]
no_license
manishbalyan/view_the_review
3b64f080a92b18e9c5e7663a5aa5d0ba4974f624
04055cbb6e55847f2a4c11755fe6ec8dc7445994
refs/heads/master
2021-06-06T21:02:40.180796
2019-10-29T09:08:01
2019-10-29T09:08:01
51,379,483
1
0
null
2021-04-16T20:08:04
2016-02-09T16:25:52
HTML
UTF-8
Python
false
false
514
py
"""Import for admin urls.""" from django.conf.urls import patterns, url from administration import views urlpatterns = patterns('', url(r'^index/$', views.index, name='index'), url(r'^hostel/$', views.hostel, name='hostel'), url(r'^academic/$', views.academic, name='academic'), url(r'^Pquery/(?P<slu...
[ "balyan05.manish@gmail.com" ]
balyan05.manish@gmail.com
fbc65e78cb5c09bd7b879e492ba13b912f01846a
58654f5f9f01813da08ecb4f151e7dae32f18cad
/quant_mech/plots/scripts/PSIIRC_modified_redfield_dynamics.py
b49d9c81a230fa60211b32237e81107048522ce4
[]
no_license
rstones/quant_mech
57c2f106adfe6fcd1880ab3c50d6f68012963beb
4dc8f59d66e131cca0cc896638f548d9fcae66e4
refs/heads/master
2021-01-19T02:58:24.027297
2018-11-26T11:15:04
2018-11-26T11:15:04
11,790,263
1
1
null
null
null
null
UTF-8
Python
false
false
1,900
py
import numpy as np import matplotlib.pyplot as plt np.set_printoptions(precision=3, linewidth=100, suppress=True) data = np.load('../../data/PSIIRC_ChlD1_pathway_dynamics_77K__incorrect_ordering_data.npz') population_dynamics_realisations = data['population_dynamics_realisations'] dynamics_time = data['dynamics_time'...
[ "r.stones@ucl.ac.uk" ]
r.stones@ucl.ac.uk
c46093473eae297a35b5edef8d60fc5ecd751264
a5d6ac8db0b1d30e45cc9350f558234989cb88cb
/MultiPlanarUNet/bin/cv_experiment.py
37100eb52c823e3c07717480897249175d413ed2
[ "MIT" ]
permissive
yangyuren03/MultiPlanarUNet
c018ed7eeb5a653b6a141f427181776707fb973d
66d50750ccf0e06188c32c9a2a51e05d61de1cda
refs/heads/master
2020-08-18T01:41:52.679852
2019-10-03T16:21:25
2019-10-03T16:21:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,070
py
import os from multiprocessing import Process, Lock, Queue, Event from MultiPlanarUNet.utils import create_folders from MultiPlanarUNet.bin.init_project import copy_yaml_and_set_data_dirs from MultiPlanarUNet.logging import Logger import argparse import subprocess def get_parser(): parser = argparse.ArgumentParse...
[ "mathias@perslev.com" ]
mathias@perslev.com
c20d5c58866e0829e533bf257027c8829fec4d26
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/statsmodels/2016/8/nbgenerate.py
8028d44c7ab3f874d934b517bcf5773f3245c1d2
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
5,331
py
#! /usr/bin/env python # -*- coding: utf-8 -*- import io import os import sys import argparse from functools import partial try: from concurrent import futures par = True except ImportError: par = False import nbformat from nbconvert import HTMLExporter, RSTExporter from nbconvert.preprocessors import Exe...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
cbd28a80234440239f17e954b44aec0416fe076d
1c3b81cbcd7894846362bc7067ea2587d6438afc
/djangoAuthentication/urls.py
6b767f611791eee9f513f5c2aaf4e85800888617
[]
no_license
mmrubayet/djangoAuthentication
b23403dc36fc74edde03995c81361c8d742760c4
90ef86e2c4b7ff4c80e7b253dce5307c7a14f0d4
refs/heads/master
2020-11-30T03:45:31.892261
2020-01-07T09:35:24
2020-01-07T09:35:24
230,292,326
0
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
"""djangoAuthentication URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home'...
[ "m.rubayet94@gmail.com" ]
m.rubayet94@gmail.com
765bb40ca67a16d88c87be9b1b1ca4b96ad34e79
e4a20e722324ef249f16f434ca2a7f52e73d2e42
/keep/testplugins.py
40c46231b7cc27043b7c694588d41771a1fec127
[]
no_license
emory-libraries/TheKeep
edeac5b507b5dde65c78ccf592ee64875db282bd
579d926794fc5662312e3f009c4b1a0d589867c9
refs/heads/master
2022-11-24T05:00:06.680368
2019-05-14T15:56:33
2019-05-14T15:56:33
24,734,938
0
2
null
2016-12-09T20:03:15
2014-10-02T20:17:02
Python
UTF-8
Python
false
false
1,805
py
import sys from nose.plugins.base import Plugin from django.conf import settings class KeepTestSettings(Plugin): def begin(self): # Context processors to be used for testing # - remove search form context processors # (otherwise, this adds a solr dependency to every page load) prin...
[ "rebecca.s.koeser@emory.edu" ]
rebecca.s.koeser@emory.edu