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
1174cf6f242fcf0de6c0b28dfeaa51c1d81c9911
f3046b51f3ee47dfaf6c203ac066d60c5f4bd345
/src/TextClassifier/main_q_s.py
31eea427e236fcb5236ce660ee5f87e5142f7558
[]
no_license
manulaAtapattu/FYP_2
ae1e4b1c5b1075bc5d449839f8595673e2c28b01
dcdbc092b8a1202df6be993e329a7c1f84537fa0
refs/heads/master
2020-09-09T04:21:54.771491
2019-12-15T11:05:50
2019-12-15T11:05:50
220,775,569
0
0
null
null
null
null
UTF-8
Python
false
false
11,300
py
import matplotlib.pyplot as plt import numpy as np import os import re import string import keras from nltk.corpus import stopwords from sklearn.model_selection import train_test_split plt.style.use('seaborn') # WORD-level # MAX_NUM_WORDS = 15000 MAX_NUM_WORDS = 100000 EMBEDDING_DIM = 200 #MAX_SEQ_LENGTH ...
[ "mratapattu.15@cse.mrt.ac.lk" ]
mratapattu.15@cse.mrt.ac.lk
dee654d6dd62c57d449909085c9e9a389e29d419
29b8529e02975c810b8bf7bc0493259bccf415e4
/Level 3/Landscape Panic.py
bb88d4efc875f37530b6afddc3053f2b5580a244
[ "MIT" ]
permissive
subhamb123/Python-Projects
74af72151bc7613dee976c35b477f2947c679d2d
e180a3f503be8375b4cf65cda7fc01cdaaa300e1
refs/heads/master
2021-05-29T00:26:34.036862
2020-12-26T10:22:16
2020-12-26T10:22:16
254,294,524
1
0
null
2020-06-15T19:59:37
2020-04-09T06:53:36
Python
UTF-8
Python
false
false
568
py
import tsk import pygame pygame.init() window = pygame.display.set_mode([1018, 573]) sky = tsk.Sprite("outdoor_sky.png", 0, 0) back_mountains = tsk.Sprite("outdoor_mountain_b.png", 0, 0) front_mountains = tsk.Sprite("outdoor_mountain_a.png", 0, 0) foreground = tsk.Sprite("outdoor_foreground.png", 0, 0) drawing = T...
[ "noreply@github.com" ]
subhamb123.noreply@github.com
ee6f15e3182bc0c650262c869b4aa170fc6f416d
40f8107fdd2afa1f9c41d4d02b32298258bd3ae7
/src/app/cache.py
bdc0c3b9d8a36c32ac9b7ea12af8a10dacd4439c
[ "Apache-2.0" ]
permissive
ConvergeTP/von_tails
91f62e722325e1a0845e766359dae94de13076d3
98ce984b001cd09005b6496ce10687588def53ef
refs/heads/master
2020-05-30T23:18:30.532496
2019-08-21T14:30:58
2019-08-21T14:30:58
170,901,819
0
0
Apache-2.0
2019-04-02T18:01:45
2019-02-15T17:18:29
Python
UTF-8
Python
false
false
705
py
""" Copyright 2017-2019 Government of Canada - Public Services and Procurement Canada - buyandsell.gc.ca 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 ...
[ "srklump@hotmail.com" ]
srklump@hotmail.com
9d87f084d9a02881509f3b986c12f3641d981396
e9d15cf96d9f03761b8cda870973d1f62d1c30bb
/pp/rgbmf.py
31e7a08e4e931970e39dc0e3ff83a60b6b828863
[]
no_license
gkoundry/glen
32ecb9a40c7e14ba1c1a2b603b024a7a0a7264e1
f1bf76a2a247e19803ba4b8b3a55eea33b76708e
refs/heads/master
2020-05-09T17:07:30.657019
2014-11-18T14:28:41
2014-11-18T14:28:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,230
py
import pandas import cPickle import numpy as np from sklearn.preprocessing import Imputer from math import log import sys import rpy2.robjects as robjects import rpy2.robjects.numpy2ri rpy2.robjects.numpy2ri.activate() from rpy2.robjects.numpy2ri import numpy2ri robjects.conversion.py2ri = numpy2ri from rpy2.robjects.p...
[ "glen@datarobot.com" ]
glen@datarobot.com
f45a7c021c917211499697638ecd5c9ba9364482
24d374628f25549b3162672826dfd5e58f9bd952
/test.py
0526b70107b60bf0ba8811a9d9b461e875f0d0f0
[]
no_license
XiaojiaoLiu/Test_project
4c2fb7d274494ed8d440559fbf04910dfbd81f49
9da0dd584340b662c8ca0c4e965ec691884a5c44
refs/heads/master
2021-01-22T13:57:48.368654
2015-01-31T18:50:10
2015-01-31T18:50:10
29,825,750
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
##encoding=utf8 from __future__ import print_function print("hello kitty")
[ "lxjiao0805@126.com" ]
lxjiao0805@126.com
5cf1d0203417d378aac698a22fa0890bb4bffcae
ba0e07b34def26c37ee22b9dac1714867f001fa5
/azure-mgmt-web/azure/mgmt/web/operations/recommendations_operations.py
c3e0db7d769a8e215a861a5b4665f4787afeeee7
[ "MIT" ]
permissive
CharaD7/azure-sdk-for-python
b11a08ac7d24a22a808a18203072b4c7bd264dfa
9fdf0aac0cec8a15a5bb2a0ea27dd331dbfa2f5c
refs/heads/master
2023-05-12T12:34:26.172873
2016-10-26T21:35:20
2016-10-26T21:35:20
72,448,760
1
0
MIT
2023-05-04T17:15:01
2016-10-31T15:14:09
Python
UTF-8
Python
false
false
14,493
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
caa1bab989647808316c09990fc13f5e713b386c
21e7753732296bfdfb6dd9a9b58c7c6b8d90a1e5
/Bits/nextNumber/getNext.py
6ebc140b20a361fff4350f249e1d6384893f8d31
[]
no_license
rongfeng-china/python-algorithms-and-data-structures
eb8514b44d7ff97dd7c4deda2d8ea888a5aa8d04
a69241bb7b684bc7d00acdd46c2fc214f7b61887
refs/heads/master
2020-03-13T09:08:13.375870
2015-12-11T07:37:30
2015-12-11T07:37:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
# Given a positive number, print the next smallest and the next # largest number that have the same number of 1 bits in their # binary representation. def getNext(n): c = n # let p denote the position of first non-trailing 0 ie a zero which is followed by 1s c0 = 0 # number of zeros to right of position p ...
[ "prathamt@outlook.com" ]
prathamt@outlook.com
699b728edbe5c238230c82160cd3126f39a42d6e
b8a2cb1d6996f46e541e9f3a387feb3e27e39fdf
/sorting/containsdup3.py
9017054d0d2a71eda620d0158c38447821763e80
[]
no_license
TDress/py-algorithms
489dba40442cd84e10d52d30a843bb660c4e522d
c851a79955130f7cc09943654efcc2ffe3ea69d6
refs/heads/master
2018-09-29T14:07:11.584501
2018-07-24T14:56:14
2018-07-24T14:56:14
113,503,052
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
def _isNAD(numpos1, numpos2, k, t): pos1, val1 = numpos1 pos2, val2 = numpos2 return (abs(pos1 - pos2) <= k) and (abs(val1 - val2) <= t) def containsNearbyAlmostDuplicate(nums, k, t): """ :type nums: List[int] :type k: int :type t: int :rtype: bool """ numpos = [(i, num) for i,...
[ "Thomas.Dressler1@gmail.com" ]
Thomas.Dressler1@gmail.com
3cc09a706da3a3bc86607104e7b965444bbc1e0a
4fc6074b6d5d4cf5e943e9b11ded26a1897b2952
/Power_prod_data_handling.py
974adefd754d00685abbbb8a39a1f9705bfc92a4
[]
no_license
Torbjfug/TTK4260_MultivariatDatamodellering
dd6f4d2f424dcdab5a4fe6d56c1c97b9351a54df
ebb2a5cfa209f5e4c9b56bc2dd05b91ee1142ce9
refs/heads/master
2020-12-23T18:20:02.281331
2020-02-25T10:17:07
2020-02-25T10:17:07
237,231,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
import pandas as pd import sys import numpy as np filepath = 'Data/PowerProduction/' X = pd.read_csv(filepath + 'X.csv', sep=';') Y = pd.read_csv(filepath + 'Y.csv', sep=';') print(len(X)) one_hot_columns = ['IsDayBin', 'Month'] X = X.join(Y['WindPower']) for col in one_hot_columns: one_hot = pd.get_dummies(X[...
[ "torbjfug@stud.ntnu.no" ]
torbjfug@stud.ntnu.no
fe592940da0522d107051269bce908a8c55a816d
e36cd65361ccfed2bd7bf910d57da41028c45a71
/clase2.py
0b8dac521488a251811e5b26afc568866506b921
[]
no_license
fzanollo/algoBio
3647ed59b298336ed655c770aba874d1fc04804a
3c6d79f4c1338e60ce7280f37145541d25aa395b
refs/heads/master
2022-11-29T02:26:29.213324
2020-08-05T19:33:53
2020-08-05T19:33:53
285,385,875
0
0
null
null
null
null
UTF-8
Python
false
false
3,298
py
from pprint import pprint def score(vi, wi): sigma = 2 mu = 1 score = 0 if vi=='-' or wi=='-': score = -sigma elif vi==wi: score = 1 else: score = -mu return score def alineamientoLocal(v,w): n = len(v) m = len(w) camino = [ [ None for i in range(m) ]...
[ "fzanollo@dc.uba.ar" ]
fzanollo@dc.uba.ar
032935fea5faa717d6af89c63d1eb9d6fd00fda5
5164498df453f7c46a3fc6e1c15bda1277fa7158
/features_featuretools.py
4b64a5ae8578340613bce03060302571c8fc36bd
[ "MIT" ]
permissive
pnb/naep
333b17ee4e6714fb44a54f6591c61e96095fa00c
eb01cff143cfe02819f8bec8781ae495501c06ad
refs/heads/master
2023-03-26T13:14:57.362543
2021-03-24T19:05:20
2021-03-24T19:05:20
195,287,497
5
1
null
null
null
null
UTF-8
Python
false
false
3,879
py
# Automatic feature engineering with featuretools ("deep feature synthesis") import featuretools as ft import pandas as pd import load_data # Combine all dataframes so that features will be consistent across them dfs = [] dfs.append(load_data.train_full()) dfs[-1]['STUDENTID'] = [str(p) + '_train_30m' for p in dfs[-...
[ "pnigelb@gmail.com" ]
pnigelb@gmail.com
7a5041bb2d78f7bce8b0fc577ee989af570720e0
ff52b2b95642fc9f14c2bc1d9d4ee6d6147b70a1
/config/settings/base.py
727f73cf4bfd7fd0f924f761d73a94493987a284
[]
no_license
Srednogorie/data_branch
f36f9aa5c857443d5f5daaa779aed966660a77f9
d2c8637978bb16bc8387e7aa75d31d0b3237eed4
refs/heads/master
2020-03-08T14:40:57.823312
2018-04-05T11:10:30
2018-04-05T11:10:31
128,187,665
0
0
null
null
null
null
UTF-8
Python
false
false
11,551
py
""" Base settings to build other settings files upon. """ import environ ROOT_DIR = environ.Path(__file__) - 3 # (data_branch/config/settings/base.py - 3 = data_branch/) APPS_DIR = ROOT_DIR.path('data_branch') env = environ.Env() READ_DOT_ENV_FILE = env.bool('DJANGO_READ_DOT_ENV_FILE', default=False) if READ_DOT_E...
[ "akrachunov@gmail.com" ]
akrachunov@gmail.com
85f4e51c026da2a1a3bc7fb5c2ebd7e01c96d33e
2a1969afe3818412140efb25921f35610dd9023d
/python/python爬虫/python爬虫/爬虫/爬虫代码/1.5ip地址爬取.py
df6ff01467963e24b1e921e23de8567edacb83ae
[]
no_license
Light2077/LightNote
149cf42089f15bbebd62e27fe5aa6afe67f25779
cd733014f8be44207d624a5fd02dfddcd776aad1
refs/heads/master
2023-09-01T07:49:05.494481
2023-08-24T10:00:09
2023-08-24T10:00:09
224,410,710
4
0
null
null
null
null
UTF-8
Python
false
false
258
py
import requests import os url ='http://m.ip138.com/ip.asp?ip=' try: r = requests.get(url + '202.204.80.112') r.raise_for_status() r.encoding = r.apparent_encoding print(r.text[-500:]) except: print('爬取失败')
[ "Light1912@users.noreply.github.com" ]
Light1912@users.noreply.github.com
8fd09d2e5543ab05838d7dc9fa167237ed8e091c
c1f454623b7e5568ef58c5aa12d62d13bbb95711
/grid.py
c94b62890aecf80d14dff5c5392b21b50aceff94
[]
no_license
kalakuta/protein_surfaces
d9672836977f282faab18a35de5949dfe134ba37
c642f4351a410bfea993503e8b32d01a7b54ca39
refs/heads/master
2020-12-02T08:15:46.163577
2018-08-21T11:44:03
2018-08-21T11:44:03
96,789,748
2
0
null
null
null
null
UTF-8
Python
false
false
487
py
import matplotlib.pyplot as plt import math plt.plot() plt.xlim(-30,30) plt.ylim(-30,30) plt.gca().set_aspect('equal',adjustable='box') #plt.suptitle(domain) s = 3 cell_list = [(x,y) for x in range(-5*s,6*s,s) for y in range(-5*s,6*s,s) if x+y < 6*s and x+y > -6*s] for cell in cell_list: p = cell[0]...
[ "patrick.macmahon@gmail.com" ]
patrick.macmahon@gmail.com
32119cf0bfd53844d02f1fad478fdca6ab9ee59e
b5025befdf74fff3071252abaa4db09479f2d763
/Ananthu/Aug31/Qstn1/server_socket_chat.py
9cdbaa12df72a2298625550949f95bb2f9462c38
[]
no_license
sidv/Assignments
d2fcc643a2963627afd748ff4d690907f01f71d8
d50d668264e2a31581ce3c0544f9b13de18da2b3
refs/heads/main
2023-07-30T02:17:19.392164
2021-09-23T04:47:56
2021-09-23T04:47:56
392,696,356
1
20
null
2021-09-23T08:14:11
2021-08-04T13:20:43
Python
UTF-8
Python
false
false
303
py
#server socket import socket PORT = 3002 serv = socket.socket() serv.bind(("",PORT)) serv.listen(10) print("Lisening") conn,addr = serv.accept() print(f"Connected to {addr[0]} on {addr[1]}") while True: data = conn.recv(200) print(data) inp = input("-:") conn.send(bytes(inp,"utf-8")) conn.close()
[ "ananthups666@gmail.com" ]
ananthups666@gmail.com
c9a4982606ec0ac098d6647639e73c8df949a444
946d5814b15ec3bffd25e6a377dea7c1cca313de
/grit/node/base.py
2d093e6b443afda23717aa369319e5389c860f87
[]
no_license
Magister/pak-tools
bad82f124be3fd2cb63bdd2ecd820df42b286f60
025a1bacecbffe2121e27568dac821354b7d5d8a
refs/heads/master
2021-01-25T05:15:30.906020
2015-07-18T22:38:25
2015-07-18T22:38:25
10,413,713
13
6
null
2015-07-18T22:38:26
2013-05-31T21:53:37
Python
UTF-8
Python
false
false
19,868
py
#!/usr/bin/env python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. '''Base types for nodes in a GRIT resource tree. ''' import os import sys import types from xml.sax import saxutils from grit imp...
[ "misha.cn.ua@gmail.com" ]
misha.cn.ua@gmail.com
791eb38cc58c33681d0a94055779d53287ea54ce
68fb568c78dbcd4e73c2b697ab463e02fdde7960
/_scripts/utils_databasePopulate.py
cf0c8c512c0b35083f405a6f9bafae21830b87a2
[]
no_license
StBogdan/LightningExplorer
114400dfb813ee039b1b73d7d3f92817b982c79b
4ef5e5e1c633bd1ba18a5b37e3e9d1db79f1d503
refs/heads/master
2020-03-20T06:06:06.264959
2019-04-21T14:52:07
2019-04-21T14:52:07
137,238,511
3
0
null
null
null
null
UTF-8
Python
false
false
12,013
py
import os import django import sys import _scripts.utils_config as config from datetime import datetime from nodes.models import * """ What: Take data from files, convert it, put it in database Why: Automate data loading """ # Django setup (run in the virtual environment) os.environ.setdefault("DJANGO_SETTINGS_MODUL...
[ "bogdan.stoicescu95@gmail.com" ]
bogdan.stoicescu95@gmail.com
621a9809e8f9a0c711fccec07ffb4f43131cc423
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/c19541276c8f809733d4587fdcc04a8c7add54b3-<draw_text>-bug.py
4b03e81403d0a80992ec3ff20502160971ac0508
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,744
py
def draw_text(self, gc, x, y, s, prop, angle, ismath=False, mtext=None): s = common_texification(s) prop_cmds = _font_properties_str(prop) s = ('%s %s' % (prop_cmds, s)) writeln(self.fh, '\\begin{pgfscope}') alpha = gc.get_alpha() if (alpha != 1.0): writeln(self.fh, ('\\pgfsetfillopaci...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
913058c844e36dd690c3377ac8a3221f0b13c84d
104070a8555d0f2cddf67c1db9d7943aa1756893
/python/InvestmentUSD.py
36dbb4d81ccf79e1cc4d32f55083552426afd1f5
[]
no_license
pangeon/SE-Wallet
2cbf0c6972a21e15e080ddcaecca86f05a2fb5a8
a6f8a3b0343b00e75fea5275cc0d70680112af85
refs/heads/main
2023-06-23T20:41:48.547211
2021-07-15T14:57:57
2021-07-15T14:57:57
376,570,939
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
from decimal import Decimal from python.Investment import Investment class InvestmentUSD(Investment): def __init__(self, name, amount, buy_price, actual_price, usd_price): super().__init__(name, amount, buy_price, actual_price) self._usd_price = Decimal(usd_price) def __str__(self) -> str: ...
[ "kamil.cecherz@gmail.com" ]
kamil.cecherz@gmail.com
6eaa337389048bb068373f464bf2fa25030f8efd
680aa5d54a34a9a31d9ffca5b9357440e6ebc909
/hsc/pluginnet/sun397/testing.py
e46a5cb710b8a25572113d0ba358d72f8a5e5062
[ "MIT" ]
permissive
lemmersj/ground-truth-or-daer
356ff4b5b5b3374994ca34688d72cf38f3f49c01
e4e7ba43123bb97ab1fa0242093b56a15c7ba54b
refs/heads/main
2023-08-02T18:28:41.292183
2021-10-06T21:27:40
2021-10-06T21:27:40
325,838,309
0
0
null
null
null
null
UTF-8
Python
false
false
5,116
py
from pluginnet.sun397.sun397 import sun397_data_transform_val, CrossEntropyLossOneHot from pluginnet.sun397.metrics import create_softmax_metrics_dictionary from pluginnet.sun397.partial_evidence import build_plugins, AlexNetPartialEvidence, SUN397PE from pluginnet.sun397.sun397 import SUN397 import torchvision import ...
[ "lemmersj@umich.edu" ]
lemmersj@umich.edu
c2c4feec8873df24d9d55a2b2b043ad737963ac0
c4cd01d4dff72486361c76d36e62bd9ca86c47b9
/kiet/btech/b_first/en/.EN2ndsem_1st.py
a2369455bfc48c8293bf742bece698dd53099909
[]
no_license
anuj72/result_analysis
50e92606410ba4cc8719f7955e4ff02160d2be5d
bfcefab9ea5d03772758b9665d63338e784fe327
refs/heads/master
2020-11-27T09:53:38.997512
2018-02-14T09:25:33
2018-02-14T09:25:33
229,387,012
1
0
null
2019-12-21T06:27:10
2019-12-21T06:27:09
null
UTF-8
Python
false
false
2,398
py
from bs4 import BeautifulSoup import os import glob import sys from xlrd import open_workbook from xlwt import Workbook import xlsxwriter workbook = xlsxwriter.Workbook('EN_2nd_sem_1st.xlsx') #NAME OF GENERATED FILE worksheet = workbook.add_worksheet() row = 1 for filename in glob.glob('*.html'): soup = Beau...
[ "root@college.edu" ]
root@college.edu
bf604f8d8770be82c55c3259acfbd9957a6deac9
1cfbe55b6f602bc8321e2294bfe73d64890326ae
/votes/migrations/0002_auto_20190123_1819.py
5bff6e96f2b70d54d372f3fb66c73b5ddfd6fd26
[]
no_license
BlacKnight23/midexamapigo
60481cf2c6d4e795cd4438e535cf158d8f97fc26
02bfff0adb961045715cc67568e8f4a445545b30
refs/heads/master
2020-04-19T17:33:18.041493
2019-01-23T18:35:02
2019-01-23T18:35:02
168,338,374
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
# Generated by Django 2.1 on 2019-01-23 18:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('votes', '0001_initial'), ] operations = [ migrations.AlterField( model_name='candidate', name='birthdate', ...
[ "amrapigo@addu.edu.ph" ]
amrapigo@addu.edu.ph
3b96e5ce191ac951020d3af07454faec70bbb18a
6879a8596df6f302c63966a2d27f6b4d11cc9b29
/abc/problems030/021/b.py
8a85c8e452bae3d0deb92785c327dd6922669e59
[]
no_license
wkwkgg/atcoder
41b1e02b88bf7a8291b709306e54cb56cb93e52a
28a7d4084a4100236510c05a88e50aa0403ac7cd
refs/heads/master
2020-07-26T03:47:19.460049
2020-03-01T18:29:57
2020-03-01T18:29:57
208,523,188
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
N = int(input()) A, B = map(int, input().split()) K = int(input()) P = list(map(int, input().split())) print("YES" if len(P) + 2 == len(set(P + [A, B])) else "NO")
[ "yujin@komachi.live" ]
yujin@komachi.live
98d504f1aa5a2b0be4576b543986a18bd545d895
161be705c298acc6a18c0d2b391d3a75a13c99be
/fonksiyonlar2-4.soru.py
1a9db4ea3e921c588118e24bfb6b788125c9c0c0
[]
no_license
esrabozkurt/programlama
ba274652727eca1d7b6f8bc31b114dcaa7f610d6
eaafc0d05bb64151aae047e08ca17d163e4cbab6
refs/heads/master
2021-04-26T22:25:11.944276
2018-04-27T12:34:46
2018-04-27T12:34:46
124,088,082
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
def donemBasi(koltuk,yatak,dolap): stok=koltuk+yatak+dolap global donemBasi return stok def donemSonu (satilanKoltuk=25,satilanYatak=20,satilanDolap=10,alinanKoltuk=10,alinanYatak=15,alinanDolap=5): stokSon=(satilanKoltuk+satilanYatak+satilanDolap)-(alinanKoltuk+alinanYatak+alinanDolap) glob...
[ "noreply@github.com" ]
esrabozkurt.noreply@github.com
c4cdd27e818ae51036e0d3597520bdda05745122
4dd75662f7315e8b0e2e28c76dce7654c1b03c4c
/kaguya/lib/models/quad.py
0d53dd61216d1334bebe3422f2deb1e9dbf4c861
[]
no_license
quagzlor/Kaguya-Seeker
2dec0d878a6f454040a57b2bb255d8fde8f7a0be
ab6b8a0cbb9dd394a6935afb3193a74f23103ea6
refs/heads/main
2023-05-01T11:31:20.091661
2021-05-23T07:13:21
2021-05-23T07:13:21
332,379,089
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
from lib.db import db class Quad(db.Model): __tablename__ ="quad" id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(64), nullable=False) def __init__(self, name): self.name = name
[ "noreply@github.com" ]
quagzlor.noreply@github.com
891c04f0e9ac631bf85675e4d0782506fb41e0c9
c9643f2e644875d3781412bb9a9f84274bdf55d5
/lib/quaternion.py
7cb9ed5510324b4278be5d676982abb1cc46af02
[]
no_license
Humhu/python-lib
b507ae7dd321b624f17c651e9a8975f7d707ac7a
96fe2186ade753835ad99330324c565b3a298b3e
refs/heads/master
2020-04-02T12:28:20.600797
2012-10-24T01:57:39
2012-10-24T01:57:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,369
py
from math import * def quatGenerate(angle, axis): a_2 = angle/2.0; w = cos(a_2); sina_2 = sin(a_2); x = axis[0]*sina_2; y = axis[1]*sina_2; z = axis[2]*sina_2; return (w, x, y, z) def eulerToQuaternion(yaw, pitch, roll): psi_2 = yaw/2.0 theta_2 = pitch/2.0 phi_2 = roll/2.0...
[ "humphrey.hu@gmail.com" ]
humphrey.hu@gmail.com
82449f43a77d7008703082bf0d83768860297c65
bd48e8af13abb5a8574b47ea3337e64a45e8f672
/nanum/search/apis.py
c9621326855333e4e5c41e1bd2a515cdc0b21840
[]
no_license
markui/nanum-project
d221cacfaed9d6e2e882f3d4f29dc77055a4e97b
399064b62a7c8049b37efd77a98f17a903754070
refs/heads/master
2021-09-08T08:03:30.667750
2018-01-09T07:06:11
2018-01-09T07:06:11
110,780,979
1
0
null
null
null
null
UTF-8
Python
false
false
1,510
py
from rest_framework import generics, permissions from rest_framework.exceptions import ParseError from rest_framework.response import Response from rest_framework.views import APIView from topics.models import Topic from topics.serializers import TopicSerializer from . import search class TopicSearchAPIView(generics...
[ "johnsuh94@gmail.com" ]
johnsuh94@gmail.com
9b9afbb047cf6727bb42595fed496738377aa805
64c6134c2873ded7e84b93f10162fb6f27f25139
/PPPDebug.py
30ce0f3868cb09886d2cbb64b184695648871941
[ "BSD-2-Clause" ]
permissive
umd-lhcb/UT-Aux-mapping
1c22e1aec6eeefaa9d54f0cc48486a8162784c99
69f611f133ddcf1df18a9256c9ba1e9a577c1019
refs/heads/master
2022-01-19T11:54:26.101859
2022-01-09T04:31:49
2022-01-09T04:31:49
162,521,821
0
0
null
null
null
null
UTF-8
Python
false
false
2,246
py
#!/usr/bin/env python # # Author: Yipeng Sun # License: BSD 2-clause # Last Change: Fri May 28, 2021 at 03:43 AM +0200 from pathlib import Path from itertools import permutations from collections.abc import Iterable from pyUTM.io import WirelistNaiveReader, PcadNaiveReader from UT_Aux_mapping.const import input_dir ...
[ "syp@umd.edu" ]
syp@umd.edu
fbca1cf8b47af5a1c721e5488d0216af80fd1bbd
1f8360d8a94869b7074d47458626d8b65509a153
/HackerRank/Easy/MinimumDistances/solution.py
121aadca0421f808b6b3f44a903491e5b07e2de6
[]
no_license
Duaard/ProgrammingProblems
954812332632a5932ada310976a7f79d9285d415
baeef97663f85aa184e93b46a26602711d3c3c94
refs/heads/master
2021-08-09T01:48:55.108061
2020-12-21T06:17:34
2020-12-21T06:17:34
233,727,308
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
#!/bin/python3 import math import os import random import re import sys def minimumDistances(a): # Map used to store values from a distanceMap = {} minDistance = None # Loop through the entire array # O(n) complexity for i in range(len(a)): # Check if value does not exists in map ...
[ "ejllikwong@gmail.com" ]
ejllikwong@gmail.com
ff62f296b863828db43fd5fe482e00773f5c6e5f
d8d7e40199334fb104d0d6aeff537007858e0ddd
/basic_app/migrations/0001_initial.py
eb1af47a48c09cde3803edec51e5bb24dcd14ad9
[]
no_license
dchida3/RMJ_Final
f2816dc89dfcf3cabc812ef21ff8814ffda631ec
635c77fff6736f8d9c2238027c3766e989356635
refs/heads/master
2021-08-08T00:30:08.931505
2020-06-26T22:23:54
2020-06-26T22:23:54
194,914,677
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
# Generated by Django 2.1.7 on 2019-03-27 20:09 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "36213822+dchida3@users.noreply.github.com" ]
36213822+dchida3@users.noreply.github.com
de8847b98859f45a2aa099cc3edc51818cb87fd7
fbcdb3e66f9fce9bf8596ae9f28e14ad23da30a2
/lib/elf/header.py
53d8e10256a8ee921189b7ecba34a03f83eb3a03
[ "BSD-2-Clause" ]
permissive
arizvisa/syringe
38349e6ff81bc1d709d520b8a8d949a47a3b5f6c
e02b014dc764ed822288210248c9438a843af8a9
refs/heads/master
2023-08-18T11:44:50.096141
2023-08-16T21:15:58
2023-08-16T21:15:58
22,565,979
36
9
BSD-2-Clause
2021-05-24T19:38:31
2014-08-03T03:24:16
Python
UTF-8
Python
false
false
23,782
py
import ptypes, time, datetime, functools, operator, bisect from . import EV_, E_IDENT, section, segment from .base import * class ET_(pint.enum, Elf32_Half): _values_ = [ ('NONE', 0), ('REL', 1), ('EXEC', 2), ('DYN', 3), ('CORE', 4), # ET_LOOS(0xfe00) - ET_HIOS(0xfef...
[ "arizvisa@gmail.com" ]
arizvisa@gmail.com
e41738150e99fb09f7fe947af5117b5707b2b180
903822cbf59801231f44e02d4a3ee94079fe689a
/directionFinder.py
924694c287d1626049a903a596532284731f9812
[]
no_license
jackcmac/cuhackit-2020
a48d12fb1aea8a27f2fdce1415a6f0fafbd2fa0e
80df9ad72621547b1f566ce7bc576887e61cebc2
refs/heads/master
2020-12-21T00:44:07.315857
2020-01-26T12:54:41
2020-01-26T12:54:41
236,257,095
0
0
null
null
null
null
UTF-8
Python
false
false
2,620
py
import numpy as np import math import pyproj def latlong_to_3d(latr, lonr): """Convert a point given latitude and longitude in radians to 3-dimensional space, assuming a sphere radius of one.""" return np.array(( math.cos(latr) * math.cos(lonr), math.cos(latr) * math.sin(lonr), ...
[ "noreply@github.com" ]
jackcmac.noreply@github.com
b6560b4059ab59a2021f313d7423356d18ca79e8
7ec24b34aba5e0f15737a0e02a64e527cdb3b28e
/Fluid_Mechanics_White_7th/white_9_9.py
b86c6bb5c23005d9c350411761c902d9113577ac
[ "MIT" ]
permissive
ekremekc/compressibleflow
f76be7f3d39e8df041cd8741bc767791a0b98de4
b72af73d8e5097d2f08452c9e0dee44f4ab7b038
refs/heads/master
2022-12-15T21:31:39.713211
2020-09-05T22:33:46
2020-09-05T22:33:46
272,946,332
2
0
null
null
null
null
UTF-8
Python
false
false
450
py
from compressibleflow import Gas, RocketNozzle, Air T0 = 500 P0 = 1000 gas = Air(T0,P0) A_star = 0.002 A_exit = 0.008 #a area_ratio = A_exit/A_star Ma_e = Gas.ma_finder(gas, 'downward', area_ratio) P_e = Gas.exit_pressure(gas, Ma_e) m_throat = Gas.critical_m_dot(gas, 1,gas.diameter(A_star)) #b ...
[ "noreply@github.com" ]
ekremekc.noreply@github.com
3b2eb6184a74fe1795d4723d8869074529581a3e
3886c78ffed288379a54865ec6e494a514207d0d
/caravantone/run_app.py
6401778510ae188dc7a1f2f93b0a3d52db940c00
[]
no_license
Attsun1031/caravantone
34a2a8b612af7bafc49b063f50953abe469d393b
bc5a9e481649e67f2c631aaf55384a4fce051ba7
refs/heads/master
2021-06-11T14:31:43.966237
2014-07-20T03:41:08
2014-07-20T03:41:08
18,760,513
0
0
null
2021-06-01T21:53:28
2014-04-14T12:55:19
JavaScript
UTF-8
Python
false
false
226
py
# -*- coding: utf-8 -*- from caravantone import app if __name__ == "__main__": #app.run(host=app.config['HOST'], port=app.config['PORT'], ssl_context=context) app.run(host=app.config['HOST'], port=app.config['PORT'])
[ "atsumi.tatsuya@gmail.com" ]
atsumi.tatsuya@gmail.com
d68fe861a80437aa7df982272ee1d513723f0492
69582e48fd7965df3f769c52e27caf0868a09e93
/lista1/roberta/questao4.py
23e35af4384697af77761db66b666f007e2d6d4d
[]
no_license
yurimalheiros/IP-2019-2
b591cd48fd8f253dfd17f2f99d5a2327b17432c2
25b9e5802709a7491933d62d8300cbd7c3ef177f
refs/heads/master
2020-09-18T16:59:50.937764
2020-02-26T15:42:41
2020-02-26T15:42:41
224,156,588
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
# Função Definir alarme # Autor Roberta de Lima from datetime import datetime, timedelta # Função Estática print("ALARME") dt = datetime(2019,11,3, 14) hrAlarme = dt + timedelta(hours=51) print("Sendo 14hrs, daqui a 51hrs o alarme tocará às ",hrAlarme.strftime("%H:%M ")) # Função dinâmica #tempo = int...
[ "yurimalheiros@gmail.com" ]
yurimalheiros@gmail.com
29ee841cd44cf44b514b4bb084b5ce230d1b30e5
42ae0da51d7099c53717b8626940eb3fde7bc3a3
/routes/__init__.py
0a305fc281d4e6c40eaf3303ab586f7a10381840
[]
no_license
single-person/flask-web
ad300a9212252e875e343f758d61622a55bb5d70
e224ad3fecee065ebbc01d4ad2bdbee287735dac
refs/heads/master
2021-08-14T18:21:57.427354
2017-11-16T13:12:50
2017-11-16T13:12:50
110,972,844
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
import uuid from functools import wraps from flask import session, request, abort from models.user import User def current_user(): uid = session['user_id'] u = User.find_by(id=uid) return u csrf_tokens = dict() def csrf_required(f): @wraps(f) def wrapper(*args, **kwargs): token = req...
[ "single_person@163.com" ]
single_person@163.com
376950281aa4bac83042e8aa5ee07e19749f02c3
13cf6f650a15fac4b7d9e20d55b4fcbf85b8f977
/seed.py
c4200598f465cd19f97215df98488d94004f49a3
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mrethana/sqlalchemy-more-on-one-to-many-lab-nyc-career-ds-062518
1c5c32f3dd7fc0a7e57b1cba0898ac683997daf3
07d9ed7e2cf314617e24338270018cec67ce25c3
refs/heads/master
2020-03-22T22:21:08.526530
2018-07-11T21:21:30
2018-07-11T21:21:30
140,747,263
0
0
null
2018-07-12T17:54:32
2018-07-12T17:54:32
null
UTF-8
Python
false
false
1,559
py
from models import * from sqlalchemy import create_engine import pandas as pd engine = create_engine('sqlite:///actors.db') Session = sessionmaker(bind=engine) session = Session() # below we are reading the csv files to create the data we will need to create the players # pandas returns a DataFrame object from readi...
[ "terrancekoar@gmail.com" ]
terrancekoar@gmail.com
3830086a02340a3597a265882c952d1206107884
db1d2871e7958209d68a1f1e9d5c0d8a003a200e
/final/trainer.py
b884178e1bd5d06ea4425bb34e3a0a0bb523096c
[]
no_license
anpoli99/GenerativePCA
84e4ffe739a59d3c6517a0707b180198c2e173c2
4bc79c247928fe9d515c0e3595adfd330ac6fab4
refs/heads/master
2021-01-07T01:01:03.405866
2020-02-20T13:32:01
2020-02-20T13:32:01
241,533,605
0
0
null
null
null
null
UTF-8
Python
false
false
3,918
py
from __future__ import absolute_import, division, print_function, unicode_literals import numpy as np import cv2 import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from keras.layers import Dense, Flatten, Reshape, Input, InputLayer, MaxPooling2D, UpSampling2D, Conv2D from keras.m...
[ "noreply@github.com" ]
anpoli99.noreply@github.com
9a77c4750eb1a8a2defb42f47f243ebc67da8d86
8da427b5619ecda9b611ab3cc0646832a0e60253
/TelecomChurnPrediction_Flusk_Deployment/app.py
4ae354edad3d74f8e00048d1cfa7f413eb7efebf
[]
no_license
anirbansarkar823/Telecom_Churn_Predection
875135f371f92a3044ec8894e2304a70e5fc45a8
3e00529febc49b6471a305753cd56146b67b7cd7
refs/heads/master
2023-06-29T02:53:29.881001
2021-08-01T16:43:33
2021-08-01T16:43:33
391,682,311
0
0
null
null
null
null
UTF-8
Python
false
false
5,154
py
# coding: utf-8 # loading libraries import pandas as pd from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestClassifier from sklearn import metrics from flask import Flask, request, render_template import pickle app = Flask("__name__") # instantiating the flask #df_1=pd.rea...
[ "anirbansarkar823@gmail.com" ]
anirbansarkar823@gmail.com
33315eec8cad01b618f9fb0490797a465a9ff420
78f08e427cceaa18d1e87d400ca90acd171a3d9c
/extjs_cc/js_profile.py
af2edd5f136a3eec8bf89c00e03ce5281d09b733
[]
no_license
joeedh/FunLittleProject
29e13ef743092a3c89605efd722a375dcc9be3af
ad99c8310f54e631bdc05716175108633c5c8619
refs/heads/master
2021-01-17T17:38:08.821410
2016-06-06T02:54:09
2016-06-06T02:54:09
60,484,978
1
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
from js_process_ast import * def type_logger(node, typespace): def arg_log(): n = js_parse(""" var _args = ""; for (var i=0; i<arguments.length; i++) { if (i > 0) _args += "," if (typeof arguments[i] == "object") _args += arguments[i].constructor.name; ...
[ "joeedh@JOESLAPTOP.localdomain" ]
joeedh@JOESLAPTOP.localdomain
bbb923534301c4cae5c32ca5b00cd3f7312c7a8e
e89de171ca5b4762cde957dd35048af341dd457a
/metrics_mem/metrics_mem.py
501a086ecbdd60dc60e1185aa34552dceee97585
[]
no_license
Alexcd83/git_init
553ac3c75e0d31279ce08791edb8fc650ed9b147
b70a0b177361c2195a03a92d45bc6dd02547d2d8
refs/heads/master
2021-01-14T15:48:59.693148
2020-02-25T13:20:56
2020-02-25T13:20:56
242,668,651
1
0
null
null
null
null
UTF-8
Python
false
false
364
py
#!/usr/bin/env python3 import psutil m=psutil.virtual_memory() print("Memory Metrics:") print("virtual total - %r" % m.total) print("virtual used - %r" % m.used) print("virtual free - %r" % m.free) print("virtual shared - %r" % m.shared) w=psutil.swap_memory() print("swap total - %r" % w.total) print("swap used - %r"...
[ "localadmin@SEAD2MONGRAF1.3jzp01jr1hduhhq4whxfbs3qfd.ix.internal.cloudapp.net" ]
localadmin@SEAD2MONGRAF1.3jzp01jr1hduhhq4whxfbs3qfd.ix.internal.cloudapp.net
81ca441693e2d19cef17640464f2ec14d72e34a1
9297cf5f12e1b361535653622f9c4f9571a89de1
/VoiceActivityDetection.py
12352c71bc47993aa6299a834e7c81b1a3fe4e59
[ "MIT" ]
permissive
nayyarv/python_speech_features
81b2004e1be9492705367c0a1ffd290a448c7e3e
385af774df7bcccc4b836b7a093990ff75d47eb5
refs/heads/master
2021-01-15T09:09:16.197491
2014-11-05T05:08:08
2014-11-05T05:08:08
26,201,908
2
2
null
null
null
null
UTF-8
Python
false
false
1,390
py
__author__ = 'Varun Nayyar' __doc__ = \ """ This file is to be modified by users to provide their own Voice Activity Detection (VAD) functions. I.e. not all frames will have speech present and it is common to remove these frames in many situations These functions can be used in most base functions by p...
[ "nayyarv@gmail.com" ]
nayyarv@gmail.com
390a91d3204e239532b30e5056f92b38c109f406
4576432964a20bcd247b7705f022055e4f660681
/1학기/생성자메소드정의.py
8a0149ef0399c257743e672cf11e74b9471c8913
[]
no_license
hamjihyeon/Programming-Python-
2206d8ce01379de007bb12c7e0e09deee03ae697
8d62b78b4463d7e84449cdd0441e1e964771f49c
refs/heads/master
2020-07-07T06:58:15.121982
2020-04-02T12:06:49
2020-04-02T12:06:49
203,284,774
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
class Car: def __init__(self, type, speed): self.type = type self.speed = speed def move(self): print(self.type + "가 " +str(self.speed) + " 속도로 움직입니다.") def speed_up(self, amount): self.speed += amount def speed_down(self, amount): self.speed -=amount c = Car(...
[ "gkawlgus01@naver.com" ]
gkawlgus01@naver.com
d08f60cd524554297d85e4fe7e504e3eb05bea32
49d4d4ebf3a6552714b154cb53fd8efdafb08eba
/stats/forms.py
1ca2b83f83cc337533b34bc5389342618f9f5e20
[]
no_license
iamkjw/Stats-Website
408e3ef3148257511a9a63e92f9aefc6c66d823a
200576a13c206a348830b404dc859b083fff9059
refs/heads/master
2021-03-17T10:32:01.244204
2020-03-14T23:34:36
2020-03-14T23:34:36
246,983,169
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
from django import forms from .models import Game class GameRegisterForm(forms.ModelForm): class Meta: model = Game fields = ['title', 'company']
[ "jakekim18@hotmail.com" ]
jakekim18@hotmail.com
a2101c723405d6479327e1d9f436f0b70b2118dd
6eb5e75507d0159ce5a587a2aa897cd77d4796d1
/flask_app/app.py
88830b05a23df64a450e0875c9ee558efff873a8
[]
no_license
GenerationTRS80/JS_projects
a53a0ee902fd9c48d38a10492fcbbf169aac8fb6
0b2441c8f1e8fd8f4edd5ed36605860a4ac0d9da
refs/heads/master
2021-06-01T22:38:02.947045
2020-07-29T05:11:48
2020-07-29T05:11:48
146,136,284
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from flask import Flask app = Flask(__name__) @app.route('/<name>') def index(name): return '<h1>Hello {}!</h1>'.format(name)
[ "gentrs80@gmail.com" ]
gentrs80@gmail.com
0507e491e028162a6c7b92b66d02a8189977e890
f4e8261006265b019d57ceadd52063b43f6cd0b8
/Set4/[29][Break SHA1]/SHA1.py
4bcdbe886251d877ed529d34a8900c8da82cbc2b
[]
no_license
rnehra01/cryptopals-solutions
5aeb5a5792f48df4b1c51a0567951914ebdfef8d
0142799e10554828919f3dfa4ec650aba90a0faf
refs/heads/master
2020-06-11T17:42:23.347228
2017-01-21T04:36:33
2017-01-21T04:36:33
75,634,351
0
0
null
2016-12-16T09:22:17
2016-12-05T14:49:48
Python
UTF-8
Python
false
false
2,519
py
class __SHA1(): """SHA1 implementation""" ''' data : new data if prev_data_len=0 else addidtional forge data pre_data_len : 0 if new data else non-zero a,b,c,d,e : show stating internal state ''' def __init__(self, data, prev_data_len = 0, a = 0x67452301, b = 0xEFCDAB89, c = 0x98BADCFE, d = 0x10325476, ...
[ "hnehra1@gmail.com" ]
hnehra1@gmail.com
3e1b72386f1c5898b627f85329a56d1f26b86e57
1a334401b4a951222620d9432c0714480e4bf587
/Infodate/models.py
9724f6ad11af4981f853ab80986577f398a3f536
[]
no_license
maxproj/max-project
9f3e1c7302eaeff96a0a98915980ff47926e7f4e
b27146b36861d953e169fda4acdce35589ee62d8
refs/heads/master
2020-04-05T06:49:59.802013
2018-11-22T12:17:52
2018-11-22T12:17:52
156,653,066
0
0
null
null
null
null
UTF-8
Python
false
false
2,396
py
from django.db import models from django.utils import timezone STATUS_CHOICES_TYPE = ( ('новый', 'новый'), ('б/у', 'б/у'), ) STATUS_CHOICES = ( ('да', 'да'), ('нет', 'нет'), ) STATUS_CHOICES_ENG = ( ('1,4л/75л.с.(K7J)', '1,4л/75л.с.(K7J)'), ('1,6л/82л.с.(K7M710)', '1,6л/82л.с.(K7M710)'), ('1,...
[ "noreply@github.com" ]
maxproj.noreply@github.com
4df396dfafec126bad4587eff4e631e324b7f381
7e1d1d75fe1d32784ebb892f7a8cf1a3ef394af3
/gameoflife.py
6b73d65b5200d7917973a9ef2b237ec0963dc974
[]
no_license
samhithaaaa/Array-2
ca0d109ac5b08cb7765006447ecc6bb2e0052cf4
cdd2f636feb9c960f6c9ce6f41ef727b455c6fbe
refs/heads/master
2020-09-24T13:45:29.277034
2019-12-04T05:23:42
2019-12-04T05:23:42
225,772,085
0
0
null
2019-12-04T03:36:14
2019-12-04T03:36:13
null
UTF-8
Python
false
false
1,036
py
class Solution: def gameOfLife(self, board: List[List[int]]) -> None: if not board: return for i in range(len(board)): for j in range(len(board[0])): live = self.validneighbours(board,i,j) if board[i][j] == 0 and live == 3: ...
[ "samhithamamindla037@gmail.com" ]
samhithamamindla037@gmail.com
370ff42546afff8468e9b3558b409c47aac52b59
e63f01b9409f11322792ac9027a72576c2c46f50
/core/urls.py
f3b219c0aa1792462fc7a952c98f23124edeeb88
[]
no_license
danyel66/Exampleblog
b234c53343ec62e15a5ab826370db34da5209ecb
4afe7cfc91bfbb2a5101db6ee8f118f10d452929
refs/heads/master
2021-06-13T21:32:33.898004
2020-04-09T18:43:57
2020-04-09T18:43:57
254,451,634
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
from django.urls import path from .views import post_list, post_detail, post_share, post_search from django.contrib.sitemaps.views import sitemap from core.sitemaps import PostSitemap from core.feeds import LatestPostsFeed app_name = 'core' sitemaps = { 'posts': PostSitemap, } urlpatterns = [ path('', post_...
[ "danielonyeka247@gmail.com" ]
danielonyeka247@gmail.com
5f65118ec3e3f6e131fe983f21f4e4c718a82344
a03d595545ae7fe698ce359381551a7665bbf946
/calc/views.py
a53750a1f08fec3a27ad3b2d1563c4ff4e704868
[]
no_license
darwell/django_travello
f359561dca7206f5c9c0f62a4380a332fdb7498e
cd1def12745df4fcd38a621ffb41762ad777d402
refs/heads/master
2021-01-14T02:18:26.335109
2020-02-23T18:36:19
2020-02-23T18:36:19
242,555,937
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def home(request): return render(request, 'home.html', {'name': 'Darko!!!'}) def add(request): val1 = int(request.POST['num1']) val2 = int(request.POST['num2']) return render(request, 'result.html', {'re...
[ "darusohrid@yahoo.com" ]
darusohrid@yahoo.com
245e30a12a1d2ad46ca40d3018cb3e900a6d25a6
24f664aa2344d4f5d5e7b048ac4e85231715c4c8
/experimental/dsmith/glsl/generators.py
145d0ae0ab124b97f48c357842f95e93fd61bc24
[]
no_license
speycode/clfuzz
79320655e879d1e0a06a481e8ec2e293c7c10db7
f2a96cf84a7971f70cb982c07b84207db407b3eb
refs/heads/master
2020-12-05T13:44:55.486419
2020-01-03T14:14:03
2020-01-03T14:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,783
py
# # Copyright 2017, 2018 Chris Cummins <chrisc.101@gmail.com>. # # This file is part of DeepSmith. # # DeepSmith 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 opt...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
e9f4ad51b2f1ff568dd13e7270be99155fef7ddc
e5b4a7a9f2e734d15c7b6e28216cf43d70ea3cfd
/exercises/utils.py
3297a09ef4c3187670578623e6417f2b67fed2cc
[]
no_license
emarcey/cryptopals
b9eee6d1d92199a522cab3a653f56eb846f9f734
b825a85d5e77cc6f9b998d6c34c76bcb6d120fea
refs/heads/main
2023-09-01T19:25:54.610208
2021-10-14T22:40:38
2021-10-14T22:40:38
406,948,399
0
0
null
null
null
null
UTF-8
Python
false
false
1,673
py
import time import secrets from typing import List def str_to_chunks(s: str, chunk_size: int, max_chunks: int = -1, allow_partials: bool = True) -> List[str]: chunks = [] num_chunks = 0 for i in range(0, len(s), chunk_size): if max_chunks != -1 and num_chunks >= max_chunks: break ...
[ "evanmarcey@gmail.com" ]
evanmarcey@gmail.com
34c7c8949c4802c431dceaa21353344f19f869fe
39bf07efcfa20344216162d0171024c9d9628a61
/Example_2/Git_Capon_mseed.py
cba2da6a10491a53ee23bc62a1e87e5e86ff929e
[]
no_license
davcra/IAS-Capon
05f191abe22ca5cf94d801a93d77d06fccfba5ef
8447a02945baf9fe1b865418a5e496f1aafc7ac8
refs/heads/master
2020-05-29T11:51:41.322964
2014-12-17T18:32:54
2014-12-17T18:32:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,862
py
import matplotlib.pyplot as plt from subroutines import * from obspy.core import read import scipy as sp # ==== USER INPUT PARAMETER === nsamp = 4000 smin = -50.0 smax = 50.0 sinc = 0.5 cap_find = 160 cap_fave = 15 dl = 1 st = read('ASAR.2012.146.00.00.SHZ.mseed',format='MSEED') dic_meta = get_metadata('ASAR.metad...
[ "martin.gal@utas.edu.au" ]
martin.gal@utas.edu.au
06cb3dba995469d9d43334f466f944fca9c7cb06
d726465b0e79d267a5116c35453051af38503620
/Slack/MonitorML/send_alerts.py
e588aa2468cdd504c48d29f8b4752c3f31ea5445
[]
no_license
anshuln/Bots
9f9d27f7fd8a24a9029783f1830978eb9905536c
e5cd4166761a0a128add10a0716d2591ce431445
refs/heads/master
2020-06-22T18:57:44.514950
2020-03-27T17:22:36
2020-03-27T17:22:36
197,780,550
0
1
null
null
null
null
UTF-8
Python
false
false
1,262
py
import requests import json import sys from time import time #TODO - ideas - 1. Sending images, 2. Read messages according to time, user to respond, can respond with either stats/ do some other action later def send_alert(text,url): headers = {"Content-type":"application/json"} data = {"text":text} response = reque...
[ "anshulnasery@gmail.com" ]
anshulnasery@gmail.com
fc4c273175f45a1ada5dd909d0745d74d7571f1d
cf76ea1c17414624c6b610f5384400dd8b56f2cc
/joinQuantTest/factorsTest.py
ea34f682d7ee3e1eb5ded925db0b968be8989310
[]
no_license
yuanxiaofan/stockAnalysis
64c1010d9f692fde9374d8d517e495f3f129c5b1
e4395b2adc2496f3bed58f0aa6c141127ef267bc
refs/heads/master
2023-01-24T12:03:51.392811
2020-11-28T13:27:28
2020-11-28T13:27:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
from jqdatasdk import * import pandas as pd id='18518326872' password='84559515A' auth(id,password) pd.set_option('display.max_rows', None) pd.set_option('display.max_columns', None) # from jqdatasdk import * # #获取聚宽因子库所有因子 # df = get_all_factors() # print(df) #获取聚宽因子库营业收入TTM因子“operating_revenue_ttm”的分层回测收益 result...
[ "thrallotaku@yeah.net" ]
thrallotaku@yeah.net
90d24bee7d321b2f8802b9526348cdbbf68578f3
b2414d1edac3ff490766f5d3265d0290c057c467
/ballast/util.py
1e6f5b5010f6edbeb2006b441a24036fad28d01b
[ "Apache-2.0" ]
permissive
git-naren/ballast
c482cacb1e61bb8a386b2a194534ee7a4f348cbb
083b2fa649321f85ab6d5ff686c2d61917a91b7e
refs/heads/master
2021-06-22T12:42:28.136247
2017-08-18T21:09:29
2017-08-18T21:09:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,195
py
from ballast.compat import basestring, unicode try: from urllib.parse import urlparse, urlunparse, urljoin, parse_qs, urlencode except ImportError: from urlparse import urlparse, urlunparse, urljoin, parse_qs from urllib import urlencode class UrlBuilder(object): DEFAULT_SCHEME = 'http' DEFAULT_P...
[ "smith.justin.c@gmail.com" ]
smith.justin.c@gmail.com
c7ba61c0a3b5a899b8ee49ba4ba2fc8900cae79b
b1f748d761751e89f62cf5b8a2b13adac5bf3a29
/setprice/apps.py
f40a45dfd11be0925a3a5178812e4788c49ae528
[]
no_license
sangeeth-subramoniam/buildingmanagementheroku
7b77be693fa73dbd2dff9c816bf50daf1e501029
db26de549f7088d2ff80a303abeeaaa548d43e0b
refs/heads/master
2023-07-08T13:46:06.384694
2021-08-10T06:50:14
2021-08-10T06:50:14
392,492,925
0
0
null
2021-08-04T02:46:57
2021-08-04T00:14:10
Python
UTF-8
Python
false
false
148
py
from django.apps import AppConfig class SetpriceConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'setprice'
[ "s-sangeeth-k@sicis.co.jp" ]
s-sangeeth-k@sicis.co.jp
b9815f46bae9c60f624d117e3a46dbb0640ad0ee
6257aac89e77147527ed64ba9623f930e0dffb1a
/timeseries/generate_timeseries_all.py
7479c4ddd2c7b27c8f10e621a36b21451722391e
[]
no_license
dveyarangi/wrf-visualization-scripts
f119e7dcd6ea3c2b4784c27b19c171aa4134db75
da6fe180a878a320548ef6e2397f04b8370f5c3f
refs/heads/main
2023-06-23T11:00:49.471340
2021-07-21T09:11:32
2021-07-21T09:11:32
388,043,361
0
0
null
null
null
null
UTF-8
Python
false
false
1,647
py
from timeseries.generate_surface_timeseries_statistics_plots import generate as generate_station_event_statistics from timeseries.generate_surface_timeseries_plots import generate as generate_station_event_plots from timeseries.generate_surface_timeseries_avg_plots import generate as generate_stationma_event_plots from...
[ "fima.rotter@gmail.com" ]
fima.rotter@gmail.com
30c2f318bc88b67b64ad85e35405b267191a84e7
d4dfce43d228fb128da6c2376d480670a42b6149
/gc-cdcl/tclap/tests/test82.py
0916b0028df0d22ee7292b6b149b6796602aacb8
[ "MIT" ]
permissive
marijnheule/clicolcom
e4eb7ebe37f43e02bbe3120fcd7dba4106c6edd2
bfa3c893bb5182ccaec2ce5f0cd04bd48833a85e
refs/heads/main
2023-02-24T01:48:59.179761
2023-02-10T22:53:27
2023-02-10T22:53:27
454,551,066
1
0
null
null
null
null
UTF-8
Python
false
false
147
py
#!/usr/bin/python import simple_test simple_test.test("test23", ["blah", "--blah", "-s=bill", "-i=9", "-i=8", "-B", "homer", "marge", "bart", ])
[ "akarahal@phd-mbpro14-aka.wifi.local.cmu.edu" ]
akarahal@phd-mbpro14-aka.wifi.local.cmu.edu
ceb926debbc962f85988a460885f5fda6e37b377
6de91b857a2713d4711bef0031505e7d529ea51a
/venv/bin/pip3.7
492dd2b5bcdba5081a40fa081334b3d528e1ed09
[]
no_license
Jaman-dedy/flaskPython1step
80f58d19ece6830fea7c6f69f42dcee776a63d50
1206a1566e85d28605cfc2078885de15a27eec05
refs/heads/master
2020-06-22T17:18:17.486399
2019-07-19T10:19:35
2019-07-19T10:19:35
197,752,474
0
0
null
null
null
null
UTF-8
Python
false
false
413
7
#!/Users/workspace/PycharmProjects/flaskBlog/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]...
[ "jeandedieuam@gmail.com" ]
jeandedieuam@gmail.com
89ca08a129bced908f6a12ded9781432a25b497a
81220b8d60660300ba341015222d419d2b2f1515
/GUI Development/Server/Logging.py
4fedfc00061176932504cc4661489600961d1273
[]
no_license
awoerp/Seljan-Scheduler
32bb9b3329f88aa9f0eb1e344f51f50153c23e4d
6938284d183a29516917eeda19771de0de07cb16
refs/heads/master
2021-01-10T14:00:37.860353
2016-02-18T04:31:24
2016-02-18T04:31:24
48,778,865
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
from datetime import date, datetime from os import getcwd, chdir class Log: def __init__(self): cwd = getcwd() self.date = date.today() day = str(self.date.day) month = str(self.date.month) year = str(self.date.year) chdir("Logs") self.logFile = open("Se...
[ "woerpela@uwplatt.edu" ]
woerpela@uwplatt.edu
1c533906c8f8df75bddf91bf93afad8f57aaff14
c1aa16af25d8701d2ae293dfef48d7522604dfe6
/core/mo_del.py
18ca0674aabafaefa49030cba194de19800801cd
[]
no_license
jekiapp/webpy-dashboard
0ddda9f082db79b885c584d7fb35e6bef86ee238
b9c8763bef67917966ca999390502b1b5034965e
refs/heads/master
2021-06-01T06:27:52.331704
2016-07-16T02:54:46
2016-07-16T02:54:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
import web from pymongo import MongoClient from bson.son import SON from bson.objectid import ObjectId class mo_del: password = web.config.db_password; def __init__(self,cl=None): client = MongoClient('mongodb://localhost:27017/') self.db = client.pilkada self.Id = ObjectId self.SON = SON if cl: self.set...
[ "muzakki.ahmad29@gmail.com" ]
muzakki.ahmad29@gmail.com
5f5792a19f5bcf3a92dc5b959a804dbb0c63ee67
886e1f1ac3a03051ecd92992b917345fa62cab17
/Atari_v1/optimize_model.py
8a2b07cea058ffdde227a22014258bbaa4893338
[]
no_license
kjain20/ESE_546_Project
b59f930d603e3a07bc15db7ff6a7e5423d4b590b
d122ee558f676b91c53a2d29d330114f4b5d5f86
refs/heads/master
2022-10-09T01:37:01.435580
2020-06-05T19:12:37
2020-06-05T19:12:37
269,746,660
0
0
null
null
null
null
UTF-8
Python
false
false
4,701
py
import copy from collections import namedtuple from itertools import count import math import random import numpy as np import time from torch.autograd import Variable import gym from atari_wrappers import * from models import * from utils import * import torch import torch.nn as nn import torch.optim as optim import ...
[ "karishma@KARISHMAs-MBP-2.fios-router.home" ]
karishma@KARISHMAs-MBP-2.fios-router.home
4d4c4e63612c45c4b704603eece349d513f62079
6cf08320cf675eede64328958ab791911a6c60f6
/venv/lib/python3.5/site-packages/tbselenium/test/test_tbdriver.py
ce92fd118c786171afdbb624afa11dfe1e9d738b
[]
no_license
giao1989/Scraping
ed48aacc5d5a96612f946bf695bc9ff8205b46ec
3994683c471bdcd9ca0f2bba67a5d27d310ca1e9
refs/heads/master
2023-06-01T22:57:20.441102
2020-05-21T06:56:28
2020-05-21T06:56:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,293
py
import tempfile import unittest import pytest from os import environ from os.path import join, isdir, getmtime from tbselenium import common as cm from tbselenium.test import TBB_PATH from tbselenium.test.fixtures import TBDriverFixture class TBDriverTest(unittest.TestCase): def setUp(self): self.tb_driv...
[ "1126happy" ]
1126happy
97a357ea5ffdef6f835f86617addc0cc7f749d5c
87d5b21265c381104de8f45aa67842a4adc880eb
/257. Binary Tree Paths.py
51ff3604e23dc618adedd7bd3014b6538442da6f
[]
no_license
MYMSSENDOG/leetcodes
ac047fe0d951e0946740cb75103fc94aae967166
8a52a417a903a0742034161471a084bc1e494d68
refs/heads/master
2020-09-23T16:55:08.579319
2020-09-03T19:44:26
2020-09-03T19:44:26
225,543,895
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None from tree_node_lib import * class Solution: def binaryTreePaths(self, root: TreeNode) : if not root: return [] ret = [] ...
[ "fhqmtkfkd@naver.com" ]
fhqmtkfkd@naver.com
d741e22a98c934c5375e77ef20a1a5d2583d51e3
1c63d082b8200e2a52621c8e0faf7ee76687ec7b
/initial/venv/Scripts/easy_install-script.py
afa1a226f67bab1459f84737348e594cc585429d
[]
no_license
mantuonweb/pynew
072295e2e41b7e343628bc1c7fe567e18d29a2f9
4172b2ce9edad54d1e18165170b085afbaeb5744
refs/heads/master
2020-12-02T07:00:54.887961
2019-12-30T13:57:23
2019-12-30T13:57:23
230,924,492
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
#!D:\pylearn\initial\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.arg...
[ "mantuonweb@hotmail.com" ]
mantuonweb@hotmail.com
81ec603da691950b790964179afd8a252a531729
6887e654219cf928c2167f1baad5278d01758274
/.copy_file_to_all.py
f711d5dd581873ada13d4f539cdf904e73fc98cf
[]
no_license
RoboticsBrno/roboruka-examples
24e29d286596527f37e7a772629fd6b7945d9a62
b82ac408b529bc58faa898dd0089c1429c9368c6
refs/heads/master
2022-05-13T08:50:17.960991
2022-05-06T08:08:32
2022-05-06T08:08:32
195,669,422
2
1
null
2020-06-14T16:02:05
2019-07-07T15:47:15
Python
UTF-8
Python
false
false
1,009
py
#!/usr/bin/env python3 import os import shutil import sys if __name__ == "__main__": source = os.path.normpath(sys.argv[1]) abs_source = os.path.abspath(source) abs_pwd = os.path.abspath(".") if os.path.commonprefix([ abs_source, abs_pwd ]) != abs_pwd: raise Exception() tokens = source....
[ "vbocek@gmail.com" ]
vbocek@gmail.com
3828a0b1c4613505ab9b4cda45351013c7a86543
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03608/s343365481.py
d46c782a99ce70c039b4156e5d7b06c88335bcd8
[]
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
644
py
import itertools n, m, r = map(int, input().split()) d = [[float('inf')]*n for _ in range(n)] rs = list(map(int, input().split())) for _ in range(m): a, b, t = map(int, input().split()) a -= 1 b -= 1 d[a][b] = t d[b][a] = t for i in range(n): d[i][i] = 0 def warshall_floyd(d): #d[i][j]: iからjへの最短距離 for ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
44ff709db2626bf98ae899ca915c78fc40c26e2f
2eadd7380b12ac5502a2c4bd146e33e2c144ae90
/TrafficPenaltySystem/PenaltyManager/admin.py
15bf5fd9db4f1458a8bbca7becc415b47441aa0e
[]
no_license
Tswarelo1/Traffic-Penalty-System
b1ccc052552deace0fc856acb7f53dd108dbee8b
bff3a876e67f807824ca6266c1bbe1781dc33da6
refs/heads/master
2023-07-22T04:53:26.514517
2020-05-15T01:10:39
2020-05-15T01:10:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
from django.contrib import admin from .models import Driver, Penalty # Register your models here. admin.site.register(Driver) admin.site.register(Penalty)
[ "shashwatkathuria@yahoo.co.in" ]
shashwatkathuria@yahoo.co.in
113fed38febc8bc10f4e36ff65379425472cb200
7cf5019645fbedafb8e1fb1580ba5840b82205a5
/HRS/catalog/main_test.py
011960a59984d99fcc3c9fb24aa559f716723495
[]
no_license
JassiGhuman/RecommenderSystem
fa459e9b277f86a633179dda7336c25cda4a4e7a
68269e9847b66e3ba259e522b147b98a82b60d73
refs/heads/main
2023-05-04T00:53:54.923561
2021-04-21T06:55:53
2021-04-21T06:55:53
358,151,947
1
1
null
2021-04-15T08:21:51
2021-04-15T06:30:32
Python
UTF-8
Python
false
false
129
py
import sys def main(): print(sys.argv) for arg in sys.argv[1:]: print(arg) if __name__ == "__main__": main()
[ "pamilatina.92@gmail.com" ]
pamilatina.92@gmail.com
50b5f7129a2387157eed7c7deed5af6311e3a6ee
d6550314722c88db7c5854b62b2f228a08b30861
/django_chinook/employee/migrations/0001_initial.py
e0c8373d7f5c22e101327250de69d46865f3472c
[]
no_license
abxsantos/django-chinook
b7549c00d728b3e3397b6e1d10eaa9e5860b6e41
4da79836f7a4a0cce1468cd5690c30360ddb4fff
refs/heads/main
2023-03-31T18:31:35.062804
2021-04-03T22:18:46
2021-04-03T22:18:46
354,406,048
1
0
null
null
null
null
UTF-8
Python
false
false
1,566
py
# Generated by Django 3.1.7 on 2021-04-03 21:38 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Employee'...
[ "ale.bxsantos@gmail.com" ]
ale.bxsantos@gmail.com
95ab103056e37f69c331b832b2fb1d1879059e9c
3709da4d2e4a502fec65b410b54d19d42e829d2b
/gans_package/models/C_VAE.py
564e7280b4043b0432bce5526df07b699f4113ab
[ "MIT" ]
permissive
chenshaogang/GANs-Implementations
0f8c888c48c86c25fe7b1568465795d199a7c0d6
60aee8a48dc3cf3a6f1240f44ff9bf6c138e3e38
refs/heads/main
2023-07-12T03:37:16.958351
2021-08-15T18:05:10
2021-08-15T18:05:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,218
py
import torch import torch.nn as nn import torch.nn.functional as F class VAE(nn.Module): def __init__(self, latent_size=100): super(VAE, self).__init__() self.latent_size = latent_size self.l1 = nn.Conv2d(in_channels=3, out_channels=32, kernel_size=4, stride=2, padding=1) self.l1...
[ "udbhavprasad072300@gmail.com" ]
udbhavprasad072300@gmail.com
d115af47529c1ae4c0971a4c78a3cc0a5a73fd00
6433f34f3d935264217d2443725040e65178e606
/hw_C1.py
b9e9fb97d9c345789d89f9d9534c403416714f50
[]
no_license
anna-kapitonova/PythonCourse
fbe5be734d72820a76a9e7bd715f0c05e9df0ced
dbaa77986426eae94b14599f7f46617f1c6f88ae
refs/heads/master
2020-04-27T11:19:00.528153
2019-04-25T14:32:49
2019-04-25T14:32:49
174,290,673
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
a=input() b=[int(symbol) for symbol in a.split(',')] c=[] for i in range(len(b)-1): if b[i+1]>=b[i]: c.append(b[i+1]) print(c)
[ "noreply@github.com" ]
anna-kapitonova.noreply@github.com
155c17eaefb774073edb9ca8bce87a5b3cfdc588
812c6a3fa49ef9163e2e60a3b13478a6ea4d328b
/testing/views.py
8be17bfa64212da32cf9dcb18a4f4c343794d501
[]
no_license
jskonst/Reestr
6635000868f5c9bbd67468d78eb526772236510c
0abddd86745160df3dc7de73680aa0a937014fc3
refs/heads/master
2021-01-01T18:03:16.949268
2012-10-02T14:51:44
2012-10-02T14:51:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
# Create your views here. from django.shortcuts import render_to_response from forms import testForms def contsct(request): if request.method=='POST': form=testForms(request.POST) if form.is_valid(): cd=form.cleaned_data
[ "jskonst@yandex.ru" ]
jskonst@yandex.ru
127c498e0eddeca1c8a6e6e61f30f47e9b5ff49d
03e004a37171a552d1975741ff2e8b2ed4c1c0ca
/src/exp2_UxIt/exp_150_5_radial.py
27bfaed9ad062849ca2d098c4d0b3824441872db
[]
no_license
rezeck/segregation
7baf2ddaaaf5148caafbd9d93641d7a8a6f82c76
1555ae6083cb15d3af759df19d3c6ec9c5c16fc2
refs/heads/master
2022-09-28T12:49:26.972709
2020-06-05T16:28:18
2020-06-05T16:28:18
100,524,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
#!/usr/bin/env python from segregation import Segregation from termcolor import colored import progressbar import numpy as np import time bar = progressbar.ProgressBar(maxval=10000, \ widgets=[progressbar.Bar('=', '[', ']'), ' ', progressbar.Percentage()]) # Filename filename = "data/exp_150_5_radial.npy" # Setu...
[ "rezeck@dcc.ufmg.br" ]
rezeck@dcc.ufmg.br
5f9f061affb83b7c29e56f782a0ab701b3dc88bb
cad91ae76d2746a6c28ddda0f33a58f9d461378f
/CUDA-Optimized/FastSpeech/fastspeech/trt/waveglow_trt_inferencer.py
5a71fdf6e10c5f822a6a3fbe753f8663bce8a2dc
[]
no_license
NVIDIA/DeepLearningExamples
fe677521e7e2a16e3cb0b77e358f9aab72f8c11a
a5388a45f71a949639b35cc5b990bd130d2d8164
refs/heads/master
2023-08-31T20:57:08.798455
2023-08-23T10:09:12
2023-08-23T10:09:12
131,881,622
11,838
3,124
null
2023-08-28T16:57:33
2018-05-02T17:04:05
Jupyter Notebook
UTF-8
Python
false
false
4,696
py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice, this list of conditio...
[ "andabi412@gmail.com" ]
andabi412@gmail.com
be5cecfecdba0f74b4324074d8792ebd7a8fe447
2ae84e64d664e998334d42b44fab3798a90c0e48
/com/demo/lib/__init__.py
976f825fbe5d1c57a2169bb327455cb7658aea20
[]
no_license
DXShelley/python-demo
18ac35dfe15a15e481125b15f3e174c2e2ecd7bc
04d743699af32391510dbdce2a6b499722669715
refs/heads/master
2022-12-11T04:25:39.206757
2020-09-11T10:04:14
2020-09-11T10:04:14
281,336,690
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # @Time : 2020/8/4 8:35 # @Author: yuzq # @File : __init__.py
[ "yu_zhenquan@163.com" ]
yu_zhenquan@163.com
584cbb8742d2e854eb265d929bcec20f96ad30f2
43593a8fec43fea686f62aab03715bb683afa24f
/socorro/unittest/external/test_crashstorage_base.py
64ec42653a6aa23a4ca9e3d02b42a20142180992
[]
no_license
jfaust/socorro
d2130c63da006cf3f09dd892c6ea96229a4bf60a
0bc8501b0f3dce761e48d702abdb7dc8a54ba552
refs/heads/master
2021-01-21T01:19:59.353202
2012-07-12T00:48:02
2012-07-12T00:48:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,735
py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. import unittest import mock from socorro.external.crashstorage_base import CrashStorageBase, \ ...
[ "twobraids@gmail.com" ]
twobraids@gmail.com
9b98d7bfabb96ee12222318b92253a3d5c1d05a3
f981775b00980b1d8fabed01f0cd49f49c32719a
/core/consumers/__init__.py
a15efc1eccc5c709e9e068547a1139951528415e
[]
no_license
code2duo/backend
c12a6768eebbc7a22758ae7f11caaf96243ee4b4
73f3002d8e1be354e85cf1e5ae9561dbc551dd41
refs/heads/main
2023-05-06T05:02:51.152553
2021-06-07T06:56:42
2021-06-07T06:56:42
338,546,184
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
from .link_matchmaking import *
[ "debdutgoswami@gmail.com" ]
debdutgoswami@gmail.com
60210a71a62757ae874cc9ded2d4021e2125873f
86df33d911606ecae9996752d79b530a124c472b
/hipsr-converter-tandem.py
0147ac8002f3f239f71b190911e4b8564052e80f
[]
no_license
telegraphic/hipsr_reduction
905248c004e46ad7e62d05652e831c0913b32b90
1ec8e8877f68ee6d4ba0c7c103015c7749400280
refs/heads/master
2020-05-20T10:56:43.677174
2019-01-31T05:57:57
2019-01-31T05:57:57
9,489,410
0
0
null
2019-01-31T05:57:58
2013-04-17T04:48:16
Python
UTF-8
Python
false
false
8,541
py
#!/usr/bin/env python """ hipsr-converter.py ================== This script starts a graphical user interface for converting HIPSR + MBCORR data to SD-FITS. Use this script when converting HIPSR + MBCORR data taken in tandem. """ # Imports import sys from lib.sdfits import * from lib import eager_weaver try: fr...
[ "dan@thetelegraphic.com" ]
dan@thetelegraphic.com
564bc388405b583bc46791b82109ca7ea6a2ee5d
77a2818ad2c81dac096a3da038bd8e90b54f5dd0
/config.py
8f0a9f919a927b16e422d9f904d790313c50de5c
[]
no_license
leonfrench/CLP_shared_task_code
ea7e2ad700a8a92e80b0c657b8814b346dcc34d9
e8ac1c47e07e428d85b3410359b050a1f394ed0d
refs/heads/master
2021-09-05T20:40:56.649857
2018-01-30T21:50:39
2018-01-30T21:50:39
102,999,333
0
1
null
2018-01-30T21:50:41
2017-09-10T02:59:39
Python
UTF-8
Python
false
false
953
py
import os import platform if platform.node() == 'RES-C02RF0T2.local': #example of using a computer specific path DATA_DIR = "/Users/lfrench/Downloads/testseate/clp2017_release/data/" CORES = 2 else: #using working directory as per setup in the readme file cwd = os.getcwd() DATA_DIR = os.path.join(cwd, ...
[ "noreply@github.com" ]
leonfrench.noreply@github.com
668f3c2cfd522133df6c248d9298ef641cdec07a
abe81cbad04413e49b969f2a66393d01fbc8d28e
/pig_dice_game_global.py
1b54cd46039b6da7ace66d392cd9349bb23b567d
[]
no_license
JCWDFCS/Python-Handy-Programs-Checklist
cf6ee6c6637bcb0cdfe62c10843207edca9042e4
4f19368d6f2123dd0ccf517c1aea2139bd45e9f2
refs/heads/master
2021-05-16T13:32:33.454661
2017-10-16T14:55:56
2017-10-16T14:55:56
105,407,377
0
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
import random # initialize accumulators turn = 1 score = 0 score_this_turn = 0 turn_over = False game_over = False def display_rules(): print("Let's play the PIG.") print() print("* See how many turns it takes you to get to 20.") print('* Turn ends when you hold or roll a 1.') print("* If you ro...
[ "342143690@qq.com" ]
342143690@qq.com
babee146b346fe4e1012cde9cba57b1cf883c4b5
4763ed635f98a530c0f378c3ffe8d6ccb3752b19
/redditbot/onetime.py
8ac99f0d3055d3e817e0c81c128f2e09f0479428
[ "MIT" ]
permissive
mattkleinberg/AutoVodResponseBot
661dd2de075e7ae06e3464c22de959897512f79f
7986048c5c8e871aa40701a7cbfd6cee5578d210
refs/heads/master
2021-01-10T07:24:49.114981
2016-03-13T01:10:49
2016-03-13T01:10:49
53,755,200
2
0
null
null
null
null
UTF-8
Python
false
false
506
py
import praw from prawoauth2 import PrawOAuth2Server from settings import app_key, app_secret, user_agent, scopes reddit_client = praw.Reddit(user_agent=user_agent) oauthserver = PrawOAuth2Server(reddit_client, app_key=app_key, app_secret=app_secret, state=user_agent, ...
[ "mkleinbe@ist.ucf.edu" ]
mkleinbe@ist.ucf.edu
998f5b3d89a07a14d7dc41bd878db07e4902b536
6022fcef8175c71e3f9d702fc7098eee2a3eb9ac
/game/steam/review.py
adc766e91db223836ccb85b430ef0afc1fcb34f9
[]
no_license
yxw19870806/Py3Crawler
f8fe8d68138dcfe3c63cc086d8b0042c814eab20
e79889d0dbc13df90bca29e616ca5024ad2cdf18
refs/heads/master
2023-08-22T19:19:43.458412
2023-05-17T06:15:31
2023-05-17T06:15:31
139,689,380
3
1
null
null
null
null
UTF-8
Python
false
false
6,030
py
# -*- coding:UTF-8 -*- """ 获取steam可以发布评测的游戏 https://store.steampowered.com/ @author: hikaru email: hikaru870806@hotmail.com 如有问题或建议请联系 """ import os from common import * from game.steam.lib import steam # 打印列表 # print_type 0 全部游戏 # print_type 1 只要本体 # print_type 2 只要DLC # print_type 3 只要本体已评测的DLC def print_list(...
[ "hikaru870806@hotmail.com" ]
hikaru870806@hotmail.com
12d4022463c4e14e4a8d07430052771096ea3c82
48894ae68f0234e263d325470178d67ab313c73e
/sa/profiles/Supertel/K2X/get_arp.py
000b19c788f9e60b4779efc75da73afe20e2447b
[ "BSD-3-Clause" ]
permissive
DreamerDDL/noc
7f949f55bb2c02c15ac2cc46bc62d957aee43a86
2ab0ab7718bb7116da2c3953efd466757e11d9ce
refs/heads/master
2021-05-10T18:22:53.678588
2015-06-29T12:28:20
2015-06-29T12:28:20
118,628,133
0
0
null
2018-01-23T15:19:51
2018-01-23T15:19:51
null
UTF-8
Python
false
false
2,424
py
# -*- coding: utf-8 -*- ##---------------------------------------------------------------------- ## Supertel.K2X.get_arp ##---------------------------------------------------------------------- ## Copyright (C) 2007-2014 The NOC Project ## See LICENSE for details ##------------------------------------------------------...
[ "dmitryluhtionov@gmail.com" ]
dmitryluhtionov@gmail.com
eb56affbd27618bde4b06d66b69eb0980d51825f
7cf69f4a3607de56845660d684e2bc6d016c999c
/test.py
3a409d376454c1923a704f73935c5f5c34b6050e
[]
no_license
niubencoolboy/ids-python
f5e5d503c6f946f05f33350d7abb49053733369b
1e9b16d1c6bc74965daaeb677abaa38ee4929e4a
refs/heads/master
2020-05-30T13:03:53.416358
2017-02-23T08:47:35
2017-02-23T08:47:35
82,631,029
1
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
import os import linecache config_file = "/home/john/myrules/test.conf" filedata = linecache.getlines(config_file) def generate_replacestr(rulename): path = '/home/john/myrules/' fullname = path + rulename + '.rules' fullname_str = fullname + '\n' fullname_replacestr = '#' + fullname_str return [...
[ "niubencoolboy@icloud.com" ]
niubencoolboy@icloud.com
99c86ae8260bc161f018f3421b233142726ddba9
14cf596d556fbf239fd16d79643c32ddd3b427d6
/examples/example-era5-update.py
5749e846469246fc2165feab679230995e8b0c5d
[ "Apache-2.0" ]
permissive
fxi/cdsapi
b7b668686ec60938c75de78b8f87b2c4c56018ca
75f47f62253b51066302cdb443c263c5c931959a
refs/heads/master
2022-11-19T23:46:06.640125
2020-07-20T10:01:56
2020-07-20T10:01:56
281,077,366
0
0
Apache-2.0
2020-07-20T09:47:49
2020-07-20T09:47:48
null
UTF-8
Python
false
false
1,499
py
#!/usr/bin/env python # (C) Copyright 2018 ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its status...
[ "jbl@greensteam.com" ]
jbl@greensteam.com
3a47f530d3967f60e3f9aedf78f389ee9e35e612
5b3a3c6df239e8dfec2d0e49a099a777259f0b15
/repeated_string/main.py
d584986e8fb8ed324dd5ddce7781b8360ed73c99
[]
no_license
ruthaleks/hackerank
e6090945b9f7a3805ec65c69ce48288028d173a4
ad06966b82fb777b763e0caba078de70766a771d
refs/heads/master
2021-07-24T21:07:48.989361
2020-09-12T17:05:39
2020-09-12T17:05:39
216,346,236
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
#!/bin/python3 import sys from collections import Counter from itertools import accumulate from functools import reduce def read_input(): n = int(sys.stdin.readline()) data = sys.stdin.readlines() return data[0].strip(), n def repeat_string(n, s): print("n = ", n) print("string = ", s) c = ...
[ "ruth.aleks@gmail.com" ]
ruth.aleks@gmail.com
778f8a53deea26f4067bbf8916a048fc8c644981
3fa2e4e97db1dace11f58f02b56ac42da58d1e91
/statslib/_lib/gcalib.py
7657d66cf6ef9027db4b4a72c778c4a05510f891
[ "Apache-2.0" ]
permissive
a4shubert/statslib
4ab932f43185ea4fe115a7e36bcf843d29487809
5a35c0d10c3ca44c2d48f329c4f3790c91c385ac
refs/heads/main
2023-06-27T00:24:34.662281
2021-05-13T09:33:16
2021-05-13T09:33:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
from enum import Enum import inspect class CalibType(Enum): sm = 'statsmodels' sk = 'sklearn' class GeneralCalibrator: def __init__(self, cf, kwargs=None): self.cf = cf self.kwargs = kwargs if 'sklearn' in cf.__module__: self.calib_type = CalibType.sk elif 'st...
[ "ashubertt@gmail.com" ]
ashubertt@gmail.com
8a1eba8f7b2520022acab7f6eb9867e9b7be9cc9
39d2c315ad38426a6ad799fce1c742263d793fba
/app/routing.py
6abdddda25ce4bc0623818b3af39756e4bb3e5b6
[]
no_license
zhangyong1005/Django
0df02843915d2dfafdbd2dd2c589ce76c1ca1cb3
0cc8666271a0314dcac54a4cbd38959c3b7af0e2
refs/heads/master
2020-08-25T02:19:51.603325
2019-10-24T02:07:31
2019-10-24T02:07:31
216,947,828
1
1
null
null
null
null
UTF-8
Python
false
false
137
py
from django.urls import path from app.consumers import ChatConsumer websocket_urlpatterns = [ path('ws/chat/test', ChatConsumer), ]
[ "932382068@qq.com" ]
932382068@qq.com
09797f52f22903fa95a3d95e0f017996c94b5f55
1cb3e9d74f6b7047a3fd1d04cd3028df3f4c399d
/matplot_pyplot/plt1.py
bc9b199d3aa2baaad9f717ced2fa5567fe6e3ffc
[]
no_license
twilight1223/Deep-Learning-with-TensorFlow-book
9bcc52c506d0186b445a023d9a88ca8c5b50a257
0dd79b356b5548052c160bc81e05a5f136ce982c
refs/heads/master
2020-09-15T00:06:08.081192
2019-11-29T01:18:47
2019-11-29T01:18:47
223,300,808
0
0
null
2019-11-22T01:49:03
2019-11-22T01:49:02
null
UTF-8
Python
false
false
85
py
# __author__:zsshi # __date__:2019/11/28 import matplotlib.pyplot as plt plt.show()
[ "zhangshan@hzyatop.com" ]
zhangshan@hzyatop.com
2b1e5644ef133ca17895d3b65cfd195bb32c20b6
801f12dec57b18598d36aeae3a6d8fd1013defa0
/ecommerce/settings.py
9f24716404b48af1b50f528dcffd14c66833aef4
[]
no_license
aryan2621/Ecommerce_Website
b489c8e990fbeae0856bbeb4306893b66b77950f
d70012b279a0415126ce1c09bae388478dd00235
refs/heads/main
2023-02-21T06:36:01.460946
2021-01-22T17:55:24
2021-01-22T17:55:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,349
py
""" Django settings for ecommerce project. Generated by 'django-admin startproject' using Django 3.1.5. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ ...
[ "noreply@github.com" ]
aryan2621.noreply@github.com
52e3cfdf0466002035ca447e43f1cfaa5a19d947
5d4d5296406e7da42ce8b6abf524c601783000e0
/main.py
58f94546b9efcc833fa6e03906a9d2ae930abc14
[ "BSD-2-Clause" ]
permissive
melkims/silviux
7c0b00607320c5aa49712729850cc51278993ad3
69ab953be83e920e8bf397a3549ab3d955f653c1
refs/heads/main
2023-01-21T04:35:10.276672
2020-11-20T21:25:11
2020-11-20T21:25:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
import logging import logging.config import yaml with open('logger.yaml', 'r') as f: config = yaml.safe_load(f.read()) logging.config.dictConfig(config) import silviux.stream silviux.stream.main()
[ "greg@weisman.dev" ]
greg@weisman.dev
0bf7bee662a64af9821014f2e78d6df5b62b41fd
62c2d130e1cde4a78123056093936fa79bf08ae4
/csit/libraries/IoTDM/client_libs/onem2m_json_primitive.py
a0afa3accb63315efa18d681ee2f56ad4a4f1710
[]
no_license
anterodev/integration-test
5b06f7554315abfa9000f058dd8f07fca802b93d
5f53fc0f287f26c07905f1e7efd239a0e75d68b0
refs/heads/master
2021-01-21T22:09:49.642573
2017-06-20T19:12:04
2017-06-22T23:40:09
95,173,160
1
0
null
2017-06-23T01:57:03
2017-06-23T01:57:03
null
UTF-8
Python
false
false
13,940
py
""" Specific implementation of OneM2MPrimitive abstract class which uses JSON strings and dictionaries as well as JSON pointers to store and access data as OneM2M primitive objects """ # # Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved. # # This program and the accompanying materials are ma...
[ "dfarrell@redhat.com" ]
dfarrell@redhat.com
cc07adfe77b3e7b7202ad6ff5b3d8f20ca37b6c7
a9c487594e24fbb2ee48acf216f9d5e243a246c5
/client/scanner_hotelmarcopolo_caorle_alike_ws.py
62ec69d49727821a2c2bddebf5c130ba117fdb18
[]
no_license
davidedr/meteo_data_repo
ff66770c256242354010d2deadc0538679ee4f26
7701e1d1c95bdb038252cd4851f60fb3e5eef11b
refs/heads/master
2023-06-19T20:40:32.197398
2021-07-20T14:30:33
2021-07-20T14:30:33
304,581,988
0
0
null
null
null
null
UTF-8
Python
false
false
6,138
py
from datetime import datetime import logging import utility # # # def scan_hotelmarcopolo_caorle_alike(last_seen_timestamp, server, save=True, log=True): location_id=server["location_id"] server_name=server["name"] weather_station_url=server["url"] tree, _ = utility.get_tree(weather_station_url, location_id...
[ "d.dr@libero.it" ]
d.dr@libero.it
e193c720a834640102192c91e1ebc0f7a0c50778
8fa191cd4a67431a04eff62d35122ee83cc7b0af
/bookwyrm/migrations/0100_shelf_description.py
18185b17def91702d69be55cd555a444186df05a
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
bookwyrm-social/bookwyrm
24678676a7a58dba96641194dfae3fffbf01574d
0f8da5b738047f3c34d60d93f59bdedd8f797224
refs/heads/main
2023-08-20T21:45:30.957277
2023-08-19T23:41:50
2023-08-19T23:41:50
236,415,735
1,398
216
NOASSERTION
2023-09-08T20:43:06
2020-01-27T03:51:54
Python
UTF-8
Python
false
false
416
py
# Generated by Django 3.2.5 on 2021-09-28 23:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("bookwyrm", "0099_readthrough_is_active"), ] operations = [ migrations.AddField( model_name="shelf", name="descriptio...
[ "mousereeve@riseup.net" ]
mousereeve@riseup.net
d4bafe4fbfa94d284fa47da04b1100c99714a4c5
39665cb5ec2481bc3503a32c48d37e4ff86bece9
/use_django/venv/Scripts/easy_install-script.py
1c1a22b9cc10dcbc4e4c89ebaf345c085a73c2fd
[]
no_license
bingjiegu/for_django
60d96e5678ec809a4e56388e1acf9e23f8c98d95
cf37f517829d07f6d9ca5ef9b93e3ed0d20d8a75
refs/heads/master
2020-04-10T20:29:51.471653
2019-11-05T04:25:19
2019-11-05T04:25:19
161,269,560
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
#!D:\git\use_django\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv...
[ "bingjie07191223@sina.com" ]
bingjie07191223@sina.com
02391386ed128318c6a077cce242735d4d2cb214
aab9c365899202cffb144b682458389ae3ad3169
/mysite/settings.py
5e75d7d74968f203074423c30e0485c5beac1276
[]
no_license
rocio-obeso/my-first-blog
f6ec5a8c79a01be3ddbbcf265fef533db6b66f02
5e54c6e16dc743a47dc9599e452ccf49af56d931
refs/heads/master
2022-12-25T22:15:09.781583
2020-10-02T17:21:57
2020-10-02T17:21:57
300,689,309
0
0
null
null
null
null
UTF-8
Python
false
false
3,206
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.16. 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 #...
[ "rocio.obeso@gmail.com" ]
rocio.obeso@gmail.com
ed78e6a932f361509c7b2a9d7e57906f6d9a5d0f
b0485dc3e30dc0170391e131ec00ccb335768817
/_build.py
afeb10aaecab2d7aba8fdf9720bc4faddcca2854
[]
no_license
leisvip/djc_helper
8a54483780bcb6ec3a5316a869d5652cfad393f7
9e5982047ce6db05f09db3d81e7f4df6303f21d7
refs/heads/master
2023-06-25T07:06:13.307176
2021-07-19T02:09:09
2021-07-19T02:09:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,837
py
# 编译脚本 import argparse import os import shutil import subprocess from _init_venv_and_requirements import init_venv_and_requirements from log import logger, color from util import human_readable_size, show_head_line def build(disable_douban=False): # 初始化相关路径变量 venv_path = ".venv" pyinstaller_path = os.pat...
[ "fzls.zju@gmail.com" ]
fzls.zju@gmail.com
42e95b4be95d83bcba4b00923df10849d38dd895
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03393/s345995802.py
343e2097a0d4f2b25bd715fd2830e3222965ec14
[]
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
419
py
S = input() se = set() for s in S: se.add(s) if len(S) < 26: for i in range(26): s = chr(ord('a')+i) if not s in se: print(S+s) exit() else: while len(S) > 1: se.remove(S[-1]) S = S[:-1] for i in range(ord(S[-1]), ord('z')+1): s = c...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com