blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
63a622bc5dc7d75afba5823fe08a819f1f40dabe
6911e809262655fe9e61b64f448cd2619264e532
/Graph/graphutils.py
2da9a843575a62a96666f97d59bfb21fa718446c
[]
no_license
bougui505/pymol_isosurface
34e31198e5185f72aa916a592125874325f0e154
8196e4ff5b58433ee3609a6841f365644fa77a77
refs/heads/master
2023-03-29T18:12:36.619106
2023-03-27T08:33:45
2023-03-27T08:33:45
240,028,457
0
0
null
null
null
null
UTF-8
Python
false
false
1,940
py
#!/usr/bin/env python # -*- coding: UTF8 -*- # Author: Guillaume Bouvier -- guillaume.bouvier@pasteur.fr # https://research.pasteur.fr/en/member/guillaume-bouvier/ # 2020-03-12 17:28:01 (UTC+0100) import numpy import scipy.sparse.csgraph from collections import defaultdict def sparse_to_dict(adjmat, symmetrize=Fals...
[ "bougui@mantrisse.bis.pasteur.fr" ]
bougui@mantrisse.bis.pasteur.fr
32db8ce55c4cbea9aca382b29446bdc0d34fdd5f
a7aa5492b574c0d15b43a6ec6f3c8425a860147b
/onto_cleaner.py
e3fcfa193abea9b55b7ce88baaa2de89b4c72e29
[]
no_license
mikjkd/json_owl_converter
d001e5a74bf1e50d24ed2a605bc350422e877a54
d1c29224299f9078733994185fc474f61762ec71
refs/heads/master
2023-03-08T19:53:26.698557
2021-02-24T10:19:38
2021-02-24T10:19:38
334,791,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
import re import sys import getopt def formatString(s): upChar = 0 pos = [] inChar = False l = 0 for p, i in enumerate(s): if i == '\'': if inChar: pos.append(p) else: pos.append(p + 1) inChar = not inChar elif inC...
[ "michele.digiovanni@studenti.unicampania.it" ]
michele.digiovanni@studenti.unicampania.it
c97f4fa37276df399fb50aac2a55fad32d1694e4
22a0715a4b71deb014cfc333c496385553ed2261
/karger2.py
a71419022383adecdac48dad811fcf30b81904c3
[]
no_license
Kharya3/algo
044d8716e65e038f5b5d94f86970bfc886caba93
9df53fc2e8a57fe7cb0d0a4ba198c622953ec801
refs/heads/master
2022-12-22T02:52:40.616235
2020-09-16T08:56:12
2020-09-16T08:56:12
280,258,290
1
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
import random, copy def choose_random_key(G): v1 = random.choice(list(G.keys())) v2 = random.choice(list(G[v1])) return v1, v2 def karger(G): length = [] while len(G) > 2: v1, v2 = choose_random_key(G) # print(v1, v2) G[v1].extend(G[v2]) # print(G[v1], G[v2]) ...
[ "noreply@github.com" ]
noreply@github.com
d3cf62698d9c734188d0b31120667881b4dbb74f
19973144ec11438c8bc4c973473033ee877e1ad3
/loops.py
0e22fb9d5d04e04afe5fcb57f9a73c37d413be10
[]
no_license
kuzmich321/python-core
b6d1720c1a0202e5d40032ed9f4b96aec1d284df
cd137980c8c5677a72f3e9c0703a1f3f06ef37e5
refs/heads/main
2023-04-16T19:10:42.450055
2021-04-24T06:52:43
2021-04-24T06:52:43
332,165,313
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
# The For Loop # There is not like for (let i = 0; i < 5; i++) {...} # In Python, an Iterable is an Object capable of returning values one at a time. # There are standard numbers of ways to iterate over iterables s = 'hello' for c in s: print(c) for i in range(len(s)): print(i, s[i]) for i, c in enumerate(s...
[ "dota2drot@gmail.com" ]
dota2drot@gmail.com
48ecc0ca3ad42f620a77d66a398fbe5db2ff1a40
87bee130fd3f2b5131b0b376b62b8d0ca56645a8
/game_stats.py
8eb9463de089b1f53575cda8e8326285c9e60610
[]
no_license
likthiis/Alien_Invarsion
42f1961ef035f5f1f10fba6ebe32bfdb46ab11fb
9fcf248d66b5a009f554b19dfdee7a4cc4092ae5
refs/heads/master
2020-03-18T03:57:41.206437
2018-05-25T10:46:45
2018-05-25T10:46:45
134,263,839
0
0
null
null
null
null
GB18030
Python
false
false
573
py
# coding=gbk class GameStats(): """跟踪游戏的统计信息""" def __init__(self, ai_settings): """初始化统计信息""" self.ai_settings = ai_settings self.reset_stats() # 游戏刚启动时处于活动状态 self.game_active = False # 在任何情况下都不应重置最高得分 self.high_score = 0 def reset_stats(self): ...
[ "1501681615@qq.com" ]
1501681615@qq.com
148be6e4cab6c7167767f805db5fe00213f61fe3
afb951b29acd33952e979851a647a27ffac66e9a
/lib/ccs2sub.py
d71a0e12d2c3222b2cded2168366b9f66c28a045
[]
no_license
zxgsy520/sbarcode
08580aaba4cb167d33c97ba9a25cd0b6ea23d105
041bff936ae56394beaca30b660ddc0e7c2d748f
refs/heads/main
2023-04-22T08:31:07.089803
2021-05-13T14:03:51
2021-05-13T14:03:51
320,477,611
0
0
null
null
null
null
UTF-8
Python
false
false
4,807
py
#!/usr/bin/env python #coding:utf-8 import os import re import sys import gzip import pysam import logging import argparse import collections LOG = logging.getLogger(__name__) __version__ = "1.1.0" __author__ = ("Xingguo Zhang",) __email__ = "113178210@qq.com" __all__ = [] def get_sample(file): name = file.s...
[ "noreply@github.com" ]
noreply@github.com
c7615ae87c204635c837d040527aafb5352163e4
574d0f165a96fadf8a76e92d60dc4dddbbd3c0ed
/common/performance_analysis/performance_plots.py
41d765eff0172793c8c5197b8de8ceb972fc3d02
[ "Apache-2.0" ]
permissive
wso2/performance-is
8bd4d9ce8ca67ac4ef52eb8be6f7f81f45b8590c
d90eeeafe39f6a77382219f81afce1c47f9759ac
refs/heads/master
2023-08-28T08:06:24.825505
2023-07-19T06:32:21
2023-07-19T06:32:21
93,613,034
47
66
Apache-2.0
2023-07-20T12:10:14
2017-06-07T08:45:50
Shell
UTF-8
Python
false
false
6,646
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2023 WSO2, LLC. http://www.wso2.org # # 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/LICEN...
[ "sachinm@wso2.com" ]
sachinm@wso2.com
5b85084497e2350d3913f2572f94e78b809bd578
4b99ba23522e4ddfa998ffd82f8d3f8c069bc64d
/COMP 1405A/General/A2/digits.py
5175bcaafd7cd2e785e7912c8fd5391267477159
[]
no_license
Matei-Paleacu/Python-Work
ed6f4d82e5a48f64bd9d103d8dc722d504bcbac8
6bca48fa8cc8528b79fcb2d061f3a6f3d51186dd
refs/heads/main
2023-04-25T20:54:44.806853
2021-05-25T00:18:14
2021-05-25T00:18:14
370,493,296
1
0
null
null
null
null
UTF-8
Python
false
false
1,883
py
def passwordIsValid(passwd:str): passwordLenght = len(passwd) valid = False if passwordLenght >= 5: CheckDigits = digits(passwd) if CheckDigits == True: CheckChar = specialChar(passwd) if CheckChar == True: CheckUpperCase = UpperCase(passwd) ...
[ "noreply@github.com" ]
noreply@github.com
755cad6603b8c7456ae3bef3a56d255f70dd82a7
f137ccf8aad740938af1f45170c16794483e2f76
/Assignment-3/q15.py
db853cd4cebb6e857535771e49a79271ba623e60
[]
no_license
pranithsrujanroy/netpro
77d38ef508a2966aa7d0ab9f22228c1813be1e66
ed2a202743695032e4c9c83aed1ac9d79a9a4570
refs/heads/master
2020-04-16T22:34:55.844603
2019-03-27T05:21:57
2019-03-27T05:21:57
165,974,745
1
0
null
2019-01-16T04:45:18
2019-01-16T04:39:48
null
UTF-8
Python
false
false
1,088
py
import sys import socket import fcntl import struct import array SIOCGIFCONF = 0x8912 #from C library sockios.h STUCT_SIZE_32 = 32 STUCT_SIZE_64 = 40 PLATFORM_32_MAX_NUMBER = 2**32 DEFAULT_INTERFACES = 8 def list_interfaces(): interfaces = [] max_interfaces = DEFAULT_INTERFACES is_64bits = sys.maxsize > PLATFORM_3...
[ "noreply@github.com" ]
noreply@github.com
c5dba6dff121e068273a2ebd3d8421bb6bd64bef
ee8eb2971a095e930637328232611be1278e5592
/tests/test_anim.py
47e5bf4d92c7947a637a53d9af1c6319effefd31
[ "BSD-3-Clause" ]
permissive
AlfredoSequeida/termtosvg
481b45a864b4d87ddf77b81fe58e7f27fdb2329a
59081f5b6dc531d6e7bad850b62f1c727b51beaf
refs/heads/master
2020-03-31T01:56:24.777272
2018-08-05T09:06:58
2018-08-05T13:41:06
151,801,080
0
0
null
null
null
null
UTF-8
Python
false
false
8,273
py
import io import pkgutil import tempfile import unittest from collections import namedtuple import pyte.screens from lxml import etree from termtosvg import anim class TestAnim(unittest.TestCase): def test_from_pyte(self): pyte_chars = [ # Simple mapping pyte.screens.Char('A', 'r...
[ "nicolas.bedos@gmail.com" ]
nicolas.bedos@gmail.com
f787d50b557f0d147fbe93df2775bd5530138d40
a55576f86a08b3c92a3a76ee814166671272be10
/Citral/CC_L1app.py
688e270f3f49fd7618e41ff4c3843c5573d4d3d5
[]
no_license
sharifrahman/CodechefV2
9f79373f833080f2eca077a3309dd88d6de4e96d
8b04517476b0d6921580cf9ddee6c13969e71516
refs/heads/master
2022-12-29T14:48:15.384718
2020-09-17T02:57:21
2020-09-17T02:57:21
289,880,301
0
0
null
null
null
null
UTF-8
Python
false
false
5,166
py
import os import flask import webbrowser import socket import dash import dash_html_components as html import dash_core_components as dcc import dash_bootstrap_components as dbc from dash.dependencies import Input import plotly.express as px import CC_AppModules as cca app = dash.Dash(__name__, external_stylesheets=[d...
[ "ahmadsharif90@gmail.com" ]
ahmadsharif90@gmail.com
3e02810e60f802ee9aac3b685c0efbc957858d9d
c893a42d342bc2cb3a96b054bda8b3be8df68f90
/enigma2/python/Plugins/Extensions/dBackup/plugin.py
58a045118b3240aa37c19fc3fe0e1b8c8e1312fc
[]
no_license
erolmutlu/tsimage
d60de733920f800bf64af6eaf96381ebcc01166d
6e98431726f3eca1989ce4c5e6895d8df9b4849a
refs/heads/master
2021-08-07T21:32:16.010264
2017-11-08T23:58:01
2017-11-08T23:58:01
110,044,408
0
0
null
null
null
null
UTF-8
Python
false
false
117,383
py
# -*- coding: utf-8 -*- # # dBackup Plugin by gutemine # dbackup_version="0.71" # from Components.ActionMap import ActionMap from Components.Label import Label from Components.config import config, ConfigSubsection, ConfigText, ConfigBoolean, ConfigInteger, ConfigSelection, getConfigListEntry from Components.ConfigList...
[ "erol@gentoo.erolmutlu.com" ]
erol@gentoo.erolmutlu.com
82ffcf288917a2676cd025438e5aa94b75c65e82
1f7d10c27fdb9d6a8a2100e23cfa3a8962fa7548
/2018/07a.py
9468556da6ea7086811f90a60af25848f6c23dea
[ "MIT" ]
permissive
apie/advent-of-code
97ce01e5d64f73a675b8027e7d5c0635162a1795
51963d2b53fed8b521676e4e20be961816f994fe
refs/heads/master
2022-12-22T22:39:33.308275
2022-12-16T15:34:39
2022-12-16T15:35:05
160,063,354
5
0
null
null
null
null
UTF-8
Python
false
false
1,731
py
#!/usr/bin/env python3 import pytest import re from collections import defaultdict from itertools import chain DAY='07' def answer(in_lines): #print('\n'.join(in_lines)) blockers = defaultdict(list) for in_line in in_lines: #print('['+in_line.strip()+']') m = re.match(r'Step (.) must be finished before ...
[ "1049485+apie@users.noreply.github.com" ]
1049485+apie@users.noreply.github.com
5db23612af98cf79e6c92ed2f0f172468c11550b
132d88c08e339b5e69b4bac8589123e457aa6625
/troll_scammer/declined.py
56b591741b6f3c49ff5027866b18179f66e8d1bd
[]
no_license
josemballes99/The-Playbook
4221f7d0a8c4363a7641a60113d299c38776bc5e
bbf628deedaf97c936f88f2e065d606c97fa1a7f
refs/heads/master
2022-12-03T21:54:07.344037
2022-11-30T06:03:35
2022-11-30T06:03:35
210,080,848
0
0
null
null
null
null
UTF-8
Python
false
false
3,228
py
import requests import threading import random import string def generateUsername(first, last): num = random.randint(0,4) if (num == 0): return first.lower() + ''.join(str(random.randint(1,100))) elif (num == 1): return last.lower() + ''.join(str(random.randint(1,100))) elif (num == 2): return firstname.lo...
[ "ballesjm@mcmaster.ca" ]
ballesjm@mcmaster.ca
09ea36cc2dab1ca85f45f1d7576b20a05a647c73
ef599d3a3d8134eb70b2d39c119bea99918b4aa1
/app/settings.py
1fd88de931729651c5e050abada592d9f61244df
[]
no_license
cecedille1/django-migrate-empty-columns-poc
867044eab948d83ebe56db158058c82b5383e39a
a9b7f652141604d33c87d78fca336315993d1c6c
refs/heads/master
2021-08-15T10:09:20.099751
2017-11-17T17:39:18
2017-11-17T17:39:18
111,132,251
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
# -*- coding: utf-8 -*- import os.path BASE_DIR = os.path.dirname(os.path.dirname(__file__)) SECRET_KEY = '4' INSTALLED_APPS = [ 'app', ] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'database.sqlite3'), } }
[ "gregoire@emencia.com" ]
gregoire@emencia.com
4ddb20892f2525b9f1ec0275d12d03c500c0ed78
2259345acb0d9726acd915f7a839f592a44168b7
/searches.py
0385379eb2a9370994ed269204131c8f69dd9ad1
[]
no_license
zesameri/Beginner-Python-Projects
b251c0655fd568133e13687fe18dc886f0a425f7
d91e26a54438fcfd648341ad17f589f516945358
refs/heads/master
2021-05-28T15:22:00.516125
2015-04-02T13:35:49
2015-04-02T13:35:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
''' Created on Jan 11, 2012 @author: Meredith ''' def linear_search(lst, key): for i in range(len(lst)): if key == lst[i]: return i return -1 def binary_search(lst, key): low = 0 high = len(lst) -1 while high >= low: mid = low + (high - low)//2 if key == lst[mid...
[ "meredith.hoo1@gmail.com" ]
meredith.hoo1@gmail.com
85aaa7c1675fe5b80b9f19648ff51427595f8e1c
7d46e8745a7c6d7c369a9e212cabb6b8b6dd0334
/tools/build_system/scripts/flac.py
5090730ff765b24f76cb853d4b87ef5c17482451
[]
no_license
eighteight/roxlu_experimental2
02166ccab0322061b3ed4269dcfd2453f2fea537
5a4d3f81a5abcac415adfa107c4d4bc7d4fb173c
refs/heads/master
2021-01-22T09:51:01.638125
2013-10-10T15:33:49
2013-10-10T15:33:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,447
py
import os from base import * class Flac(Base): def __init__(self): self.name = "flac" self.version = "1.3.0" self.compilers = [Base.COMPILER_WIN_MSVC2010] # Base.COMPILER_MAC_GCC, Base.COMPILER_MAC_CLANG] # , Base.COMPILER_WIN_MSVC2010, Base.COMPILER_WIN_MSVC2012] self.arch =...
[ "diederick@apollomedia.nl" ]
diederick@apollomedia.nl
098abcaa95c65e425c1c3af460a7ffab5fcf5073
64428d657723c40745616ec8880e4d5744b63b72
/tryproject/tryproject/urls.py
eee2b8c39f9c4c5bedb88bc77f6e79d4abbe1f6e
[]
no_license
anirudhmaheshwari/tryproject
b12f6f233d20510d71083c5667841f26d011aebd
8fcb87f36f25f987b7ce0df0b96a44dc283bae36
refs/heads/master
2020-05-30T19:27:03.440907
2019-06-03T03:09:11
2019-06-03T03:09:11
189,925,180
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
"""tryproject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "noreply@github.com" ]
noreply@github.com
aafeccc6a332e1269060337aa4a3ad47c3a4a974
1be9cc00531cb884bac1f69ecc43b801575611d8
/Park.py
4e6449b16c7d7966b0d3b83d869bebb87bff8916
[]
no_license
sirvar/fast-and-furious-parking
44a6e34905f95ad92b4b977ef337c4d9e4132cd5
7934962de39193874f3ee045f20b3538cbda1a1d
refs/heads/master
2021-01-14T11:22:52.155620
2015-10-22T12:35:37
2015-10-22T12:35:37
33,823,440
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
#class that has parking location from pygame import * class Park(): def __init__(self, surface, x, y): "Set surface and position of parking spot" self.surface = surface self.x = x self.y = y self.park = image.load("res/park.png") self.rect = Rect(x,y,73,110) def render(self): "Blit parking spot" se...
[ "katyalrikin@gmail.com" ]
katyalrikin@gmail.com
e4bbff0c6a3c94d8f907716931b1a66bbbca591a
71fdaa3b1d528011eabe13c2ffed34516e21c8b3
/PEuler021.py
bd87f51ab2ebb44bc4a06de63a38ccd2d5b87932
[]
no_license
rchughye/tripping-octo-wight
feaa085ae56b40fe1ddb7af77d236f8a94d1cda3
0eed15aa81da78b945af8ab9ad98e970e3a4377f
refs/heads/master
2020-04-14T07:10:45.119372
2014-06-13T04:35:36
2014-06-13T04:35:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
# Euler Problem #21: Amicable numbers # http://projecteuler.net/problem=21 # Q: Evaluate the sum of all the amicable numbers under 10000. # A: 31626 # Iterate through the sum of divisors for 1 - 9999 # sum if both sum of divisors(sum of divisors) = i AND if sum of divisors != i # i.e. if d(d(a)) = a and d(a) != a , a...
[ "rchughye@uwaterloo.ca" ]
rchughye@uwaterloo.ca
6334628fdb2404ff737bbd910afaf8aff7e39961
9334fc8856717457f2bdeb29dc3f7d5f317221d3
/robo_protocolados/script_extracao_tudo.py
795269490e74efd5afaacfbc701deff65252d34a
[]
no_license
h-pgy/api_alvaras
68e1ad2b5eb9fe713314438a2661f6cbd3a3e640
dc0aed0593dfa0e2b45d6c8a1f71c4423d489d83
refs/heads/master
2022-07-16T11:29:42.507014
2020-03-11T21:23:06
2020-03-11T21:23:06
246,632,054
0
0
null
2022-06-22T01:24:03
2020-03-11T17:07:18
Python
UTF-8
Python
false
false
1,569
py
from config import usuario, chromedriver_path import os from extractor_ano import ExtratorAno from selenium import webdriver from selenium.webdriver.chrome.options import Options def gerar_driver(headless): if headless: chrome_options = Options() chrome_options.add_argument("--headless") d...
[ "hpougy@gmail.com" ]
hpougy@gmail.com
3637fd77df2558839eb597774bf2005728fdb9c7
1b9754e54d54a162ce17aa1bc218f8591fe8265a
/diagnose.py
35a738276941ae783c66f4e9a64aed683dc98f66
[]
no_license
ifayost/cdb_pneumonia
7cc3255ff547dd851443d915833e1390a8e00aac
1b261d4b9a6c01c89b4e04f800646a13a3f5088c
refs/heads/master
2022-09-15T18:09:38.441144
2020-05-21T11:40:09
2020-05-21T11:40:09
259,653,419
1
0
null
null
null
null
UTF-8
Python
false
false
4,651
py
import os import sys import numpy as np import matplotlib.pyplot as plt from PIL import Image import torch from torch import nn import torch.nn.functional as F from torch.utils.data import Dataset import torchvision from torchvision import transforms from tqdm import tqdm from transform_images import crop_images from c...
[ "ifayost@gmail.com" ]
ifayost@gmail.com
5d3b0d5651a6723d3dcf389c5490f62d3a179bf4
2fd2b050270b8984d889717dd64896522be9803c
/homework_examples.py
a811dcb49ceb64c2834d6edbf679ab356ab8ace4
[]
no_license
nj-bay/python_programs
7b78f265f71f23c8d1b7ae109f2575df31c2f149
2a1f5bdb07d4cc970a4aab41ca986fb9db45d109
refs/heads/master
2021-01-10T18:26:03.263693
2014-05-20T17:31:48
2014-05-20T17:31:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
# Name: # Login: # TA: # Section: # Q1. def stone_age(): """Returns the year in which Steven and Eric took CS 61A.""" return _____ # Q2. def favorite_player(): """Returns Steven's favorite basketball player.""" return '_____' # Q3. def favorite_number(): """Returns Eric's favorite number.""" ...
[ "neal_jacob_415@gmail.com" ]
neal_jacob_415@gmail.com
77b0e27f69d68d55e5c960174be4b00b81a93555
3c8858e9f41ebcc01952a395372b54ab10cee02b
/Problems/prob016/models/TrafficLights.py
ea3df5b3705d928e57d3904a7b9159fdcc7f3ae6
[ "CC-BY-4.0" ]
permissive
csplib/csplib
052d496016fa52b594f788bce8af4feecf64c6bc
102fc7418c6ac103e6ae07d3c8ac1df4f010d73a
refs/heads/master
2023-05-02T17:54:32.570647
2023-04-20T20:59:43
2023-04-20T20:59:43
14,191,632
77
77
null
2023-04-20T20:59:44
2013-11-07T02:02:24
Prolog
UTF-8
Python
false
false
494
py
""" PyCSP3 Model (see pycsp.org) Execution: python3 TrafficLights.py """ from pycsp3 import * R, RY, G, Y = "red", "red-yellow", "green", "yellow" table = {(R, R, G, G), (RY, R, Y, R), (G, G, R, R), (Y, R, RY, R)} # v[i] is the color for the ith vehicle traffic light v = VarArray(size=4, dom={R, RY, G, Y}) # p[...
[ "caj21@st-andrews.ac.uk" ]
caj21@st-andrews.ac.uk
f19711c824d08b2f99bde202875be60d5015bc4a
dfc827bf144be6edf735a8b59b000d8216e4bb00
/CODE/experimentcode/DryBedPaper/Dambreak/FEVMdryWBuhonly zeroorder/Run.py
12accac582bfd8b9937706f72632e59e0bb7acdc
[]
no_license
jordanpitt3141/ALL
c5f55e2642d4c18b63b4226ddf7c8ca492c8163c
3f35c9d8e422e9088fe096a267efda2031ba0123
refs/heads/master
2020-07-12T16:26:59.684440
2019-05-08T04:12:26
2019-05-08T04:12:26
94,275,573
0
1
null
null
null
null
UTF-8
Python
false
false
7,430
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 5 14:24:26 2017 @author: jp """ from Serre2dc import * from scipy import * from pylab import plot, show, legend,xlim,ylim,savefig,title,xlabel,ylabel,clf, loglog import csv import os from numpy.linalg import norm,solve from time import time def copyarraytoC(a): n = ...
[ "jordanpitt3141@github.com" ]
jordanpitt3141@github.com
c20fe8115967e9d552ddfeb737d8479dc086965d
764dda5d961257581dd21eae83953a307387eab3
/comments/views.py
c672e8906c4a4b4a7c46349a4eaceef11c930f99
[]
no_license
erfanrahaei/my_first_personal_website
3c429c1139d0fc80f6ec7ce4e5f7b22fe01c7cc3
cb5e340c7d42239bda4efc3c76adb44daaacdc65
refs/heads/master
2023-06-29T22:03:00.860400
2021-08-01T15:52:21
2021-08-01T15:52:21
391,660,526
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
from django.shortcuts import render,redirect from .models import Comment def comment_delete(request,id=None,post_id=None): comment=Comment.objects.get(id=id) print(comment) comment.delete() return redirect('details',id=post_id)
[ "erfanrahaei5@gmail.com" ]
erfanrahaei5@gmail.com
3514ec92ed02abcbee5fee7ae8ee2db6b9582ad4
a087b6fbd9bc4f3ec1d7f48268e733e106369fcd
/food_project/recipe/ingredient.py
7e888e99153f0a4be95aaba923d7f84a712d1aff
[]
no_license
zhakguder/FoodProject
8b628583fb2f0ee3537f5340301b78c926401968
7ab881d9884d366efffa7a4c84c27c02fbe7a467
refs/heads/main
2023-03-05T18:30:16.939582
2021-02-14T19:50:04
2021-02-14T19:50:04
327,974,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
#!/usr/bin/env python3 class Ingredient: def __init__(self, name, id, quantity, entropy): self.name = name self.id = id # column number in recipe ingredients dataframe self.quantity = quantity self.entropy = entropy # clusters = {} ingredients_to_clusters = {} # TODO: put this ...
[ "zeynep.hakguder@huskers.unl.edu" ]
zeynep.hakguder@huskers.unl.edu
2147443dc38aba2001c329771265c83121d84896
0dc57da7ac6f9eff5c05d40693309f15ad511aed
/MessageBox.py
506a7536c0a9725c1a30314bb290a5f1776afcc3
[]
no_license
Lorenhub/Python
8e6fc82701d6dda71da070d2390b095ed91fa8e3
5e6afa748f222cda754780c69adfd6f7a4217f50
refs/heads/main
2023-03-10T11:48:01.568699
2021-02-24T06:28:06
2021-02-24T06:28:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
from pyautogui import * print(alert(text="alert", title="messagebox", button="ok")) # creates a tkinter window with alert message box # button accepts only one string print(confirm(text="confirm", title="messagebox", buttons=["ok", "save", "cancel"]))# creates a tkinter window with confirm message box # buttons accepts...
[ "75368049+Yohith-Programmer101@users.noreply.github.com" ]
75368049+Yohith-Programmer101@users.noreply.github.com
6f7181182372c8d12ebeef354db623f7661accf3
aa7836793561f01fa26e51f37ac13a79402a0a86
/fec_download/luigi_indiv.py
e3a22740effc5b6f8ea03799e9029f3f95aaa0b5
[ "Apache-2.0" ]
permissive
jmausolf/OpenFEC
211989de56a78555c4d973635b89abfe186467a9
7313b0a3ef21a60984db0668757c0032554dc453
refs/heads/master
2022-04-28T23:21:48.511435
2020-04-11T06:35:26
2020-04-11T06:35:26
104,601,210
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
""" from _get_individuals.gen_indiv_profiles import * from _util.util import * from _build_db.clean_db import * def gen_indiv_table(db, c): #(Clean file to merge, then calc levels, load) alter_create_table("schedule_a_cleaned", "individual_partisans", db, c, alter_function=alt_group_indiv, limit=...
[ "jgm346@gmail.com" ]
jgm346@gmail.com
5b21cf2a5b35d62a5fba6d66b251e0e4f36c3d54
05a70c12df808455100598d8a6fdb5635c641ab8
/Ago-Dic-2019/DanielM/Ordinario/EjercicioUno/Ord_DB_RickMorty.py
ede14cf7a284dde57b93a500e312e190b711133b
[ "MIT" ]
permissive
Jonathan-aguilar/DAS_Sistemas
991edcc929c33ba9bb8bc84e741b55c10a8420a3
4d02efc64161871084df1bff258112351e5d1241
refs/heads/development
2023-07-24T12:26:54.698452
2021-09-02T20:52:26
2021-09-02T20:52:26
289,764,892
1
0
MIT
2021-09-02T20:52:27
2020-08-23T20:54:55
Python
UTF-8
Python
false
false
1,988
py
import sqlite3 # Crear BD try: conexion = sqlite3.connect('Ord_DB_RickMorty.db') cursor = conexion.cursor() print('Conectado a SQLite') query = 'SELECT sqlite_version();' cursor.execute(query) rows = cursor.fetchall() print('Version de SQLite: ', rows) cursor.close() except sqlite3.Err...
[ "daniel.mont@hotmail.com" ]
daniel.mont@hotmail.com
8bdd4dfa161b69ab1245afd50eb7f926c7bd1cac
7889c115e37025b8d5ebc7475a7de87430a3dde1
/GUIWrapper.py
d54f25e3017f5b78c0a02aed6593edda31f07889
[]
no_license
DaEvil1/Tagpro-Replay-Renderer
c4a667e4e853572abe02ad484de588cdc5a43860
e36dae4f13b8b5966ae424c03774e340ec197631
refs/heads/master
2021-01-16T21:46:15.538639
2016-07-08T22:05:27
2016-07-08T22:05:27
62,918,081
0
0
null
null
null
null
UTF-8
Python
false
false
9,663
py
from _GUIWrapper import * import sys, os import pygame from pygame.locals import * class Window(Window_): def __init__(self, name, width, height, position = (5, 20)): self.functions = {"background" : self._background, "transparent" : self._transparent, ...
[ "thomas.m.bolstad@gmail.com" ]
thomas.m.bolstad@gmail.com
ded92cee6acaafcbd79d447b4776c8cc928d4f3e
58124977b232fab135ea97468b8c53e7672e4f42
/benchmarks/sanic_app.py
fdc199778b34d2571368c2ca881fd083352e9fb0
[ "MIT" ]
permissive
BLQNXAY/xweb
b3103786fd78a3b60d5585e7385d8b99138c4253
28a7b1e0d7ca424bf1d4b9265d68a212c5e5a799
refs/heads/master
2021-01-06T08:49:27.762942
2018-11-08T07:41:12
2018-11-08T07:41:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
"""python sanic_app.py""" from sanic import Sanic from sanic.response import text app = Sanic() @app.route('/') async def test(request): return text('hello world') # Requests/sec 50000 if __name__ == '__main__': app.run(host='0.0.0.0', port=8000, workers=4, access_log=False)
[ "elliotgao@xwfintech.com" ]
elliotgao@xwfintech.com
b663e80f12a97f590a58ac182a8cfc7e791046fc
acee3064bab44e1ac466425988349d899df2171e
/DatabaseConnectivity/Demo1.py
50e65e91110ec3a755c1f06a0debd598965481a9
[]
no_license
vidhyachenji/gitdemo
fd387be8a87ac077f513427dbdb89572b29661ee
eb345648e3940f977c047512cde743a660f0198a
refs/heads/master
2023-01-08T08:49:11.898333
2020-11-16T04:01:43
2020-11-16T04:01:43
313,179,893
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
import cx_Oracle import os os.environ['PATH'] = 'C:\\oracle\\instantclient_19_6' #create connection dsn_tns = cx_Oracle.makedsn('localhost', '1523', service_name='orcl3') conn = cx_Oracle.connect(user='system', password='system', dsn=dsn_tns) print(conn.version) query1 = "insert into persons values(101,'Radhika','FQ','...
[ "chenjividhya@gmail.com" ]
chenjividhya@gmail.com
6cccf043bfac22f74bf6b70629ea65782072baf2
3b2c34559cf6bd2d9974dc4bc38487f1cce0bd16
/blog/views.py
941885ae19ff003a766d91793742b85d6b1d52c8
[]
no_license
urbinasusseth16/interiores
2cef1429b2cd342c4df57b0315bafbdb6a36ad3e
3c5deba58e8f5417b4a3762d645980d00b6b50c6
refs/heads/main
2022-12-29T05:48:00.914751
2020-10-19T00:33:22
2020-10-19T00:33:22
304,149,111
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
from django.shortcuts import render from .models import * def listar_publicaciones(request): news = Publicacion.objects.all() return render(request, './post/index.html', {'news':news}) def ver_publicacion(request, pub): publicacion = Publicacion.objects.get(id = pub) return render(request, './post/v...
[ "51416167+urbinasusseth16@users.noreply.github.com" ]
51416167+urbinasusseth16@users.noreply.github.com
5a8b22eb963fde1ffb823b79eb1f765310937784
9bfd68e0138d6fadc82a0d70b0966cc5d396acc6
/src/python/extendeble_ISO3166.py
3c086ebd2814b10acaf94e52c3807bab9a3317e2
[]
no_license
persan/ISO-3166
3c14ab6b57f418e2748763cea35f6d9228c7d153
35aa2756b2fb9cb9d0c1f88bda93ced8b02672bc
refs/heads/main
2023-08-16T09:45:53.784852
2021-02-09T09:26:08
2021-02-09T09:26:08
333,488,328
4
0
null
null
null
null
UTF-8
Python
false
false
47,282
py
# =================================================================== # This file is generated from an iso-3166 descrition # Do not edit by hand ! # If more entries are needed write a new xmlfile and run the tool # with both the basefile and the extras as arguments # =============================================...
[ "per.s.sandberg@bahnhof.se" ]
per.s.sandberg@bahnhof.se
3a390a443f62dda7aaf9ce5b667f5dfe9dd4c376
9b39e32f36e4f949d617e158c5034faa9595aaf0
/python/PHYS14/QCD_Pt-1800to2400_Tune4C_13TeV_pythia8_cff.py
e21dd683067ea39f4ddd04af1141721dd2490d0b
[]
no_license
awhitbeck/SuSySubstructure
c24043227697f74bb85edc1cb84d65b884a141d5
1422a1f6e46468fdd103f92ccbdffc34468cbbd9
refs/heads/synch_June26_2015
2021-01-19T07:43:59.339373
2015-08-16T09:35:49
2015-08-16T09:35:49
14,053,341
0
2
null
2015-08-08T08:24:37
2013-11-01T20:44:04
Python
UTF-8
Python
false
false
1,133
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/Phys14DR/QCD_P...
[ "whitbeck.andrew@gmail.com" ]
whitbeck.andrew@gmail.com
5ea6dac2e1e68ac62b2b84dc089bade38e2b1911
4e135c9d35a033c8f9f5c70e57ae27f61b4f34fb
/19_Sympact/Python/sympact.py
cc5b733f58860962724032b8ef0ef8b107763984
[]
no_license
xpessoles/TP_Documents_PSI
a95b57eebd32a3641a02623e01cd3ab32f3155c2
76bd77fed5a88337e7669c8ca01944020de47458
refs/heads/master
2023-08-23T21:15:23.205881
2023-08-15T06:15:29
2023-08-15T06:15:29
168,961,130
0
0
null
null
null
null
UTF-8
Python
false
false
3,417
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 21 07:27:14 2022 @author: xpess """ import numpy as np import matplotlib.pyplot as plt def trapeze(les_t:list,t1:float,t2:float,amax:float,vmax:float)->list : """ Détermination des loi horaires en trapèze Parameters ---------- les_t : list DE...
[ "xpessoles.ptsi@free.fr" ]
xpessoles.ptsi@free.fr
e4c8ee2b1b83f67d9e4246f9b3f50db7419e2523
e27e113d73cf90da91d9161847460b4dbe18e593
/apps/catalog/migrations/0008_auto_20191114_1724.py
d4cbc8d33cfd81992d95a144d3b720c5adb122b9
[]
no_license
rsdeus/dt-store
14a75ddca20029a1ee44c10abd8e7c3af46219cd
94292e4a3fcd51e4fe89b29d360bad82a0a3689a
refs/heads/master
2023-02-27T00:22:18.291658
2021-01-26T18:12:23
2021-01-26T18:12:23
220,774,167
0
0
null
null
null
null
UTF-8
Python
false
false
2,148
py
# Generated by Django 2.2.6 on 2019-11-14 20:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('catalog', '0007_auto_20191108_1524'), ] operations = [ migrations.CreateModel( name='Partner', ...
[ "rsdeus@gmail.com" ]
rsdeus@gmail.com
80323aa0c33ac672897ee319b3f16f71e768fb5c
da47e42519b6d5eb37bdb634fd618672706e79da
/localizacion_metromed/tys_http/__manifest__.py
5094cf573f3be281a9e1d379e90f33313dc7ee0c
[]
no_license
Tysamncaweb/produccion2
02bbbccefc4f4cd0d0948b1b0552d931f804fb9b
b95909d0689fc787185290565f0873040a6027cf
refs/heads/master
2022-04-26T13:51:22.316294
2020-04-29T19:58:35
2020-04-29T19:58:35
260,013,639
1
0
null
null
null
null
UTF-8
Python
false
false
916
py
# -*- coding: utf-8 -*- { 'name': "submodules/tys_http", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "My Company", ...
[ "soporte.innova2129@gmail.com" ]
soporte.innova2129@gmail.com
8beeb7a8ce35cf20c2ed489a10a9da606021b5c7
eaf37d1f428fd552e16c40fd57ab07b6822358a5
/products/views.py
6a708ed4e0ca6b276bdb41a5cd11380323286150
[]
no_license
PathakDeepak/Ecommerce_Website
26df5f502a5ca04ddb9a456c31ac0df3b57ccb27
23eaa2f07462d03b2c326761c4135c3b63258e77
refs/heads/master
2020-03-19T08:34:36.465715
2018-06-12T22:14:50
2018-06-12T22:14:50
136,216,239
0
0
null
2018-06-12T22:10:00
2018-06-05T18:08:22
HTML
UTF-8
Python
false
false
1,122
py
from django.shortcuts import render, get_object_or_404 from django.views.generic import ListView, DetailView from .models import Product # Create your views here. #class based Listviews class ProductListView(ListView): queryset = Product.objects.all() #function based Listview def product_list_view(request): ...
[ "pathakdeepak024@gmail.com" ]
pathakdeepak024@gmail.com
aeea6a98694c9496aa4295c0bb0e019d074e27e0
b6b1710a8a3f3d0ceda6496e9d846c1c8dc1c5fa
/Zookeeper/Zookeeper/task/test.py
3c6ba1c0b84aab7489814f469395aa71996f6bd6
[]
no_license
pulkocho/Pyhton
fce0cfec98c052aed43a4c4bba80d8c38308221b
90176c34bffbc08939e63494bcfb1e374eacb9cb
refs/heads/main
2023-04-26T14:19:34.875864
2021-05-16T16:21:31
2021-05-16T16:21:31
339,902,089
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
a = input() b = input() if a >= b: print(a) print(b) else: print(b) print(a)
[ "david87dc@gmail.com" ]
david87dc@gmail.com
2d6be584dbe664f1c96da1731febcec3c8fc88fb
2481cde6506743565dff2b405a2396daf208ab3e
/src/notification/migrations/0026_notificationmessage_sender.py
567ce2e804646575b24a3ee33b7668cbd7a59bdb
[ "Apache-2.0" ]
permissive
aropan/clist
4819a3036d179595e4df8c646aff2ed593b9dad3
5c805b2af71acee97f993f19d8d4e229f7f5b411
refs/heads/master
2023-08-31T11:15:17.987776
2023-08-27T21:51:14
2023-08-27T21:52:16
187,111,853
276
35
Apache-2.0
2023-09-06T18:42:53
2019-05-16T22:57:03
Python
UTF-8
Python
false
false
593
py
# Generated by Django 3.1.14 on 2022-01-17 00:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('true_coders', '0048_auto_20220111_2315'), ('notification', '0025_auto_20220111_2315'), ] operations = [ ...
[ "nap0rbl4@gmail.com" ]
nap0rbl4@gmail.com
48506f5f4c982eb1a23f118f17baf17f0336d215
eddde71b861b2fd4eddcfdeff1a498677b80ab55
/base/base_assert.py
80967ee3d6845ad7ef5ef97a80091a38b88a5ca2
[]
no_license
MgLay123/KBZ
652b874c679b74dfc4da4ad12c7936713d6e415c
00ee9358dc87d17f3e16ae71245286967c1edcd9
refs/heads/master
2020-06-25T03:59:14.418526
2019-03-09T10:08:26
2019-03-09T10:08:26
199,194,492
0
0
null
2019-07-27T17:23:21
2019-07-27T17:23:21
null
UTF-8
Python
false
false
835
py
import time from base.base_action import BaseAction class BaseAssert: def if_display(self, driver, text): for i in range(10): if text in driver.page_source: break else: time.sleep(2) print('Finding element,Please waiit...') ...
[ "446880611@qq.com" ]
446880611@qq.com
4051013cb749e4537f1d7905343871778e1be479
14ed72a44d78f748d03df772c4449a5620ae2e85
/openstack_dashboard/api/nova.py
07688692eb223e3a73f7fa073aea0098e26c1304
[]
no_license
duihuhu/mydashboard
91a98b240da320f65a5324c78d099760057eb429
670f5f2fc7ceb7f0f2770b2f7f6f1c9173e0a8c6
refs/heads/master
2021-01-19T03:02:18.128402
2016-07-25T09:06:01
2016-07-25T09:06:01
64,120,033
0
0
null
null
null
null
UTF-8
Python
false
false
37,337
py
# Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 OpenStack Foundation # Copyright 2012 Nebula, Inc. # Copyright (c) 2012 X.commerce, a business unit of eBay Inc. # # Licensed under the Apach...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
ce0a9a6f7b597165158e3f6115852854e6e42276
d86f50d01ac04fffe58fd91afd836c142606151f
/web.py
d9391fa1198d103f9b1cd546ac015ff7eb43c41f
[]
no_license
Kanika-Gurditta/release-script
af94c5ae4efff721d3cc527c6eb35b4fa66bb052
65c4b0e22ae263996b20320ac383450e754a8403
refs/heads/master
2020-03-26T05:33:00.013305
2018-07-24T16:00:21
2018-07-24T16:00:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
""" Web server for handling slack webhooks """ import json from tornado.web import Application, RequestHandler class ButtonHandler(RequestHandler): """ Handle button requests """ def initialize(self, token, bot, loop): # pylint: disable=arguments-differ """ Set variables Arg...
[ "noreply@github.com" ]
noreply@github.com
538e683d6a0172584d0d26be823ecacd73ca9eb2
f85087a1b033d0319fedfbb2c7cf05167cc126e3
/ch7/dream_vacation.py
b56a62e610608b5972d8addacef9676fda8086d4
[]
no_license
drliebe/python_crash_course
d62ec0cde497101c34f7a0221c4ca30ae68de81d
081a0b6dc07e867e7d7c27fdc739062341c76552
refs/heads/master
2023-04-05T01:56:56.836690
2021-04-22T22:24:07
2021-04-22T22:24:07
360,694,544
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
prompt = 'Where would you go on a dream vacation? ' prompt += "\n(enter 'quit' to stop): " destinations = [] active = True while active: destination = input(prompt) if destination == 'quit': active = False else: destinations.append(destination) print('\nDestinations of a Dream Vacation:')...
[ "drliebe@gmail.com" ]
drliebe@gmail.com
e63185ef82854f35fb855155037d1cc7a2ad8563
07d30793a76a0dd2fa1d3ffec462c73e0164c6e1
/hexaparse.py
9ff25d7c8f06e38587430cccecebd561f5c5ff08
[ "MIT" ]
permissive
bbrk364/isilon_stat_browser
6e4eef622264328032fed6544409ca4d0b19b841
c0368c079c73f44b6b1a49a4605920efe48a17c4
refs/heads/master
2020-05-19T02:04:49.507126
2018-04-11T21:36:40
2018-04-11T21:36:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,518
py
#! /usr/bin/env python """ Parse a hexa key/lists-of-values doc into a list of dicts. Each list item is a dict. The contain lists referenced by keyname. -Input- :::::: :::keyA value1 :::keyB value1 value3 value5 :::::: :::key20 valuesA -Outputs- [{'keyA': ['value1'], 'keyB': ['value1', 'value3', 'value5']}, {'key2...
[ "christopher.brainerd@isilon.com" ]
christopher.brainerd@isilon.com
495b2ec1563ff083c161ceed00c7cb888178ead0
fbbaf3f4cf87d75e87c992f62f40dc198fb7b5a8
/libs/sqlalchemy-rel_0_7/lib/sqlalchemy/engine/reflection.py
76cb5bdaa4328f1096ba3b737ba8bc4d3d374d4c
[ "MIT" ]
permissive
sonikandpikachu/wcomp
cfe30371beb518fda9af890434a089673226df32
b0c445bf3e2fec636eb4b5cb01ae1e2fc06ed29a
refs/heads/master
2021-01-18T16:47:50.918828
2012-10-05T15:27:37
2012-10-05T15:27:37
3,497,017
0
1
null
null
null
null
UTF-8
Python
false
false
17,090
py
# engine/reflection.py # Copyright (C) 2005-2012 the SQLAlchemy authors and contributors <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Provides an abstraction for obtaining database schema information. Usage Note...
[ "marchukpavelp@gmail.com" ]
marchukpavelp@gmail.com
b34cc4a6c6bb510a6cb526348b14851f8cf7b341
27c9b374a75550252ddfe5da400fad891c6de590
/chars/monster_scripts/MonsterAudio.py
d92db631a6f408a33e87967e694889278c5eabfa
[]
no_license
Dynamique-Zak/Zelda_BlenderGame
03065416939deb3ce18007909ccc278c736baad0
0f5d5d15bfa79e9f8ea15f0ebcb76bce92f77a21
refs/heads/master
2016-08-13T00:12:34.746520
2016-02-19T23:18:27
2016-02-19T23:18:27
49,572,402
30
16
null
null
null
null
UTF-8
Python
false
false
383
py
import aud # load sound device device = aud.device() class MonsterAudio: def __init__(self): self.lastStepFrame = 0 def playStepSound(self, current_frame, frames, audio): for frame in frames: r = range(frame-1, frame+1) if ( (current_frame >= frame and current_frame <= frame+1) and self.lastStepFrame !=...
[ "schartier.isaac@gmail.com" ]
schartier.isaac@gmail.com
a483c715ff7b777eb9d2bd220bd3a653dadc3f48
042f4afa2e438cc3f2776d934e649534309c5c16
/export_time_groups.py
c3d068a0a96cac52af68305b70dec223caef5f11
[ "Apache-2.0" ]
permissive
CheckPointSW/ExportObjects
2f038947186eebd4828c10ffaa8fc076958335c1
e3260800ecc042307936835cdda8dadd28c47b50
refs/heads/master
2022-05-01T17:33:48.074011
2022-04-28T06:12:36
2022-04-28T06:12:36
111,394,430
13
9
Apache-2.0
2019-04-10T17:05:08
2017-11-20T10:17:12
Python
UTF-8
Python
false
false
505
py
from get_objects import get_objects fields = { "whitelist": ["^name$", "^tags$", "^color$", "^comments$", r"^members\.[0-9]+\.name$"], "blacklist": ["uid"], "translate": [ # (#1, [(#2, #3)]) -> if field matches with regex #1 then in that field, replace regex #2 with regex #3 (r"^members\.[...
[ "rdecker@checkpoint.com" ]
rdecker@checkpoint.com
685c1ca6032a2e511df6dd672b224cdad9a943b5
84eb1c9d793e674d7777a01b75517c9c5c13a23d
/best_champs.py
9a4da6040075a7fccf3fe5fbd50528672dfd1d49
[]
no_license
Barcode534/League-of-Legends-API-stats-analysis
3e749950e41739deaa98008b149aed7124f504bb
21866d301723947179576399dbf1623767d69eb3
refs/heads/master
2020-05-16T07:11:33.870387
2019-05-30T11:44:45
2019-05-30T11:44:45
182,872,839
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
from convert_functions import num_to_string, string_to_num import ast baseline = open("baseline_dataVladimir.txt", "r") # has dicts of appearances, wins and winrates for each champ number lines = baseline.readlines() print(lines) wr = lines[2] #wr dict is this one wr_dict = ast.literal_eval(wr) apps_dict =...
[ "noreply@github.com" ]
noreply@github.com
69f59da5d712304e8e6c0f2455bb587bd17c6609
73a4598aa7dca01ef53218e4ef3d13c89d49303e
/blogapp/forms.py
b46f340acac86acea3b207ea76dbb82f54581ab8
[]
no_license
Emon-Jan/blog-app-django
d76161f2d41fe4ce0ff22c0b58628abe790e14a6
86ddcfacc41dc44215a54ce95ef5b59f23e1eab1
refs/heads/master
2023-01-12T12:32:42.695139
2018-07-01T11:53:38
2018-07-01T11:53:38
314,035,414
0
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
from django.contrib.auth import get_user_model from django.forms import ModelForm, TextInput, Textarea, PasswordInput, EmailInput from django.contrib.auth.forms import UserCreationForm from django import forms from blogapp.models import Post, Comment class PostForm(ModelForm): class Meta: model = Post ...
[ "muktadirimam@gmail.com" ]
muktadirimam@gmail.com
3afd9866a37000da97a5bae4e35cf4934ba1a2ad
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/qichamao_cmpInfo_20210203092107.py
f91c112ba48f192dce00f481f0f2d683966be121
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
6,230
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : qichamao_cmpInfo.py @Time : 2021/02/03 09:17:24 @Author : Jiajun Chen @Version : 1.0 @Contact : 554001000@qq.com @License : (C)Copyright 2017-2018, Liugroup-NLPR-CASIA ''' import requests from bs4 import BeautifulSoup import time import cs...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
4c90e7ccc1436f439a89264bc78bae5968b2552a
4793bd9b63a01fc9e69477ef4c10b09c47fb036b
/C7_Flask-DebugToolbar.py
6fdade85f2367bf2f2eef0fa1c70a8d9151e1081
[]
no_license
NaoiseGaffney/BookODM
c8187e3ed9eca9a3f62732d8f638b859fa937b63
d7e2427209d99dcc7b1b321934f144ab52f81299
refs/heads/master
2022-12-16T20:55:39.508256
2020-09-23T21:14:07
2020-09-23T21:14:07
298,045,885
1
0
null
2020-09-23T21:14:08
2020-09-23T17:31:52
HTML
UTF-8
Python
false
false
4,915
py
import os from flask import Flask import gunicorn from flask_mongoengine import MongoEngine import datetime from flask import Flask, render_template, redirect, url_for, request, flash, session from dotenv import load_dotenv from pathlib import Path env_path = Path(".") / ".env" load_dotenv(dotenv_path=env_path) # FDT...
[ "61478687+NaoiseGaffney@users.noreply.github.com" ]
61478687+NaoiseGaffney@users.noreply.github.com
b4ccb64fb9f5a2c0c23bf3b386d43e9fbc4568bd
01a085bb89225d0390316036a915b2b8d7403219
/bin/dynamodb_dump
8550b8bc85167f6177c7a589e20cdfa1b46810ab
[]
no_license
vipinsachdeva/elasticluster_full
0199ee00e716f285173c8974fdf9570ab5d43470
71160196682a8d18a9547d5d28e8a885b067924d
refs/heads/master
2021-05-15T11:35:44.706476
2017-10-25T22:37:37
2017-10-25T22:37:37
108,333,786
1
0
null
null
null
null
UTF-8
Python
false
false
2,153
#!/home/vsachde/elasticluster/bin/python import argparse import errno import os import boto from boto.compat import json from boto.compat import six DESCRIPTION = """Dump the contents of one or more DynamoDB tables to the local filesystem. Each table is dumped into two files: - {table_name}.metadata stores the t...
[ "vipin@kryptonite" ]
vipin@kryptonite
bba715e1af829ea34c66dd42895a46395de5450f
e092d45af03a0ec7b237e74bf3157bb3deb04d47
/mosquitto/send.py
57a2c932de937de746e7100bdff6b649c0c3bca0
[]
no_license
john-Lyrics/John
9f3de5a65eef8e59b1c36c9cabd38a1e259f326b
aaacb560cb7d853e429b3847e57ae282738bc110
refs/heads/master
2020-06-18T08:00:46.021811
2019-07-19T16:07:24
2019-07-19T16:07:24
196,224,445
1
0
null
null
null
null
UTF-8
Python
false
false
753
py
import paho.mqtt.client as mqtt import time def on_connect(client, userdata, flags, rc): if rc == 0: print("Connected to broker") global Connected # Use global variable Connected = True # Signal connection else: print("Connection failed") Connected = False # global ...
[ "johnbledua362@gmail.com" ]
johnbledua362@gmail.com
b8aafb5b60e806817d8bb6084aae738c01bfca0b
22b1ca0d3e93c10356a95aa4377a798e3615bcc3
/djoauth/djoauth/urls.py
7566acb7c068796cad8ba9fafab4d105db12ece4
[]
no_license
xtornasol512/djoauth
b99142640356d454a738a5047a315449d3a5315a
dede596ecc0fee3010f331b01975b5cb51c122dd
refs/heads/master
2020-04-09T14:43:15.017259
2018-12-04T20:37:31
2018-12-04T20:37:31
160,405,246
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
"""djoauth URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "xtornasol512@gmail.com" ]
xtornasol512@gmail.com
8b4a3a1772e9d321a786be6aed034ed3e7dfb22e
038fc13bbbee68f7112ae7a67b1f18ea75c627dc
/website/migrations/0024_auto_20200321_1728.py
5eb8e4eff165a903ea4ce5ab39f4dc484e0a4649
[]
no_license
hassam361/demand-drive
2065eb8b946296a3733b7b7a5b13e5b3d435012e
d6a61109ec13170edacf4b5f09d3334f978f8a11
refs/heads/master
2021-12-02T11:32:00.352734
2021-08-25T12:05:35
2021-08-25T12:05:35
226,549,785
0
0
null
2019-12-07T17:24:33
2019-12-07T17:20:10
PHP
UTF-8
Python
false
false
424
py
# Generated by Django 3.0.3 on 2020-03-21 17:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('website', '0023_auto_20200321_1727'), ] operations = [ migrations.AlterField( model_name='fulfillcontent', name='f_s...
[ "hassam.asif48@gmail.com" ]
hassam.asif48@gmail.com
8af719c8ebf36b8c75d00e1e29806f0e699c388a
c3aec72f243f0e2c9da7eed5cab8fcb869bd1f72
/edabit/Bottle_deposit.py
c5583d18e794394213e1dc80029637ea17b74f27
[]
no_license
karkyra/Starting_out_with_python3
5219c0201abab2aa74e546ed70681ed795a736e0
7ad9f5df47e5ee2f679376d2177aa285c9451ec5
refs/heads/master
2021-06-23T19:47:36.194433
2021-01-19T14:46:51
2021-01-19T14:46:51
164,492,175
0
0
null
2020-12-17T22:02:31
2019-01-07T20:41:16
Python
UTF-8
Python
false
false
325
py
# Compute the refaund amount for a collection of bottle LESS_DEPOSIT = 0.10 MORE_DEPOSIT = 0.25 less = int(input("How many containers 1 litre or less? ")) more = int(input("How many containers more than 1 litre? ")) refaund = less * LESS_DEPOSIT + more * MORE_DEPOSIT print("Your total refound will be $%.2f." %refa...
[ "suin-i@mail.ru" ]
suin-i@mail.ru
2c00845769b93f3283d0fc495c7635a9f4aa901e
c55d7180e2000e7d216a4fd08bf5b9b6ae62d1d0
/social/tests/backends/test_appdotnet.py
de64ec9283c28a72fd4eb6ebb2e598540d543b14
[ "BSD-3-Clause", "Python-2.0", "BSD-2-Clause" ]
permissive
berg/python-social-auth
5eeb28619144628550b5dfc74d1174ec173b49a3
af21b60930a3985ed2d166ceb2d528f20b56932b
refs/heads/master
2021-01-18T07:36:35.445054
2014-03-19T00:20:07
2014-03-19T00:20:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,573
py
import json from social.tests.backends.oauth import OAuth2Test class AppDotNetOAuth2Test(OAuth2Test): backend_path = 'social.backends.appdotnet.AppDotNetOAuth2' user_data_url = 'https://alpha-api.app.net/stream/0/token' expected_username = 'testuser' access_token_body = json.dumps({ 'access_t...
[ "bryan@mixedmedialabs.com" ]
bryan@mixedmedialabs.com
5d46dce1968984f73b9c337ec989712c1533506a
6393e3e0455e28d18541f82583385a92850717ca
/ping/accounts/models.py
94bb2982e167947bff0b7d15fdc3def2940673da
[]
no_license
uahoo/deneme
66364811f0a35fc95b42ac9f6de9d5fa3c0fc6b0
55991a5bdde088006c968b17bfe72620160bd727
refs/heads/master
2022-12-05T12:09:24.570144
2020-08-18T15:59:06
2020-08-18T15:59:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,457
py
from django.db import models from django.contrib.auth.models import User """from django.contrib.auth.models import AbstractBaseUser, BaseUserManager class MyAccountManager(BaseUserManager): def create_user(self, email, username, password=None): if not email: raise ValueError("Users must have ...
[ "51791764+berkersooy@users.noreply.github.com" ]
51791764+berkersooy@users.noreply.github.com
d0f9fd666d948269f7c93cf1615cd40a63779a1c
bd5fe73b28c5f4e83e14b07d6a53fcbc6c03a62f
/markdown_parser.py
e9fddd135c97e537783e0baf476f34053fa4f843
[ "MIT" ]
permissive
qandrew/evernote-analysis
1b712465f117a111cdaa6d447cc94756c022d3d5
f85683484b2678733eb93a00b4066bc4acb5fa8b
refs/heads/master
2021-01-21T14:48:52.596848
2017-07-07T01:55:00
2017-07-07T01:55:00
95,338,014
0
0
null
null
null
null
UTF-8
Python
false
false
2,779
py
# July 7 2017 # Andrew Xia # this program will read in a markdown file and be able to do some stuff # import pandas as pd import matplotlib.pyplot as plt import numpy import nltk #natural language toolkit import sys reload(sys) sys.setdefaultencoding('utf8') #some encoding issues class MarkdownParser: def __ini...
[ "axia@mit.edu" ]
axia@mit.edu
b4114f55a3b44215c32b9f099140ad31264d5e11
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/simple-cipher/85118e8764e3424d97f4175fe0cad1fd.py
28007cdd0fefc6a8857a63ff19f4b2b3418fd3e8
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
1,923
py
# cgi path # William Morris # exercism.io # cipher.py import random class Caesar: def __init__(self): self.key = 'd' def encode(self,phrase): encoded_phrase = '' for letter in phrase: if letter.isalpha(): encoded_phrase += _shift(le...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
57b8b6cac2db007cca24da9c5ae401f81b02ad05
a77f8f2d576b3875d647837fd0a786f38147b32d
/venv/bin/email_validator
64b4fc5fa7ae999bdd3e6ee2269904aa110a55c7
[]
no_license
Jaeki-Lee/Flask-practice
a0dbb63e33647ca581bbc539b483a01e64e160a0
ee1407e388982ee56715f252551bc607742f59fb
refs/heads/main
2022-12-23T16:40:10.622584
2020-10-04T16:39:08
2020-10-04T16:39:08
300,859,800
0
0
null
null
null
null
UTF-8
Python
false
false
255
#!/Users/jaekilee/root/src/python/myproject/venv/bin/python # -*- coding: utf-8 -*- import re import sys from email_validator import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jaekilee@jaekis-MacBook-Pro.local" ]
jaekilee@jaekis-MacBook-Pro.local
915f7fac1fa7ff2c9cefb93c878e95e308abf16e
dbd45f2b256b32b35f22812314ce723836178aeb
/setup.py
13237d8ad8f8a0b2f23d6b707af42e711f65bca7
[ "MIT" ]
permissive
oskar456/dzonegit
85cbbec2d8220a57c1e284b448d62d02f0d1fee7
17cbd099de1224e55009834677fbbfa8df59f53d
refs/heads/master
2021-12-28T09:37:25.803247
2021-12-21T21:28:36
2021-12-21T21:28:45
141,398,916
47
13
MIT
2021-12-21T21:36:08
2018-07-18T07:37:20
Python
UTF-8
Python
false
false
1,477
py
from setuptools import setup from pathlib import Path readme = Path(__file__).with_name("README.rst").read_text() setup( name="dzonegit", version="0.15", description="Git hooks to manage a repository of DNS zones", long_description=readme, long_description_content_type="text/x-rst", url="https...
[ "ondrej@caletka.cz" ]
ondrej@caletka.cz
5cfa9ce5c59fad91ec62018641f1f8e3be5b7d6b
176c2f480ab726ec7997f0042681751cdfaf1368
/Chapter6_WebCrawler/6_4_WeChatCrawler.py
f32e91f437065b334e60223bcb9d5c3d6dbb97d5
[]
no_license
Donald-Zhuang/WebScrapingWithPython
d06f9a4be2e72b53d38c264d76de3dbe6cfa7425
efd5721a5293aac733a3225871cb3f008c4cc62e
refs/heads/master
2021-01-01T16:40:41.350708
2017-08-30T00:45:15
2017-08-30T00:45:15
97,884,535
0
0
null
null
null
null
UTF-8
Python
false
false
5,160
py
#!/usr/local/bin/python3 #-*- coding: utf-8 -*- __author__ = 'donald.zhuang' import urllib.request import http.cookiejar import random import re import os import socket # for collecting proxy address Url_ProxyAddr = 'http://www.xicidaili.com/nn' RegExp_ProxyAddr= '<tr class=.*?<td>(.*?)</td>\s+<td>(.*?)</td>.*?(HTT...
[ "1034894966@qq.com" ]
1034894966@qq.com
4182bab025ff0c9a6cf3caf024927a9d6edc1a12
45f01e252acda91ab3efd8f1f2b6cbf3ab0527b9
/setup.py
ba5d11c4e79fc15dfefa73c4b9f39d355ecb3c16
[ "MIT" ]
permissive
kwcooper/flapAI-Bird
3075e9793b96e838c07a52abf2f8aece78590d77
717c1bbe509b5083cea08b9615087722e9e884f2
refs/heads/master
2021-10-11T13:43:35.385383
2019-01-26T23:42:27
2019-01-26T23:42:27
113,087,437
1
0
null
null
null
null
UTF-8
Python
false
false
795
py
import os import sys from distutils.core import setup import py2exe origIsSystemDLL = py2exe.build_exe.isSystemDLL def isSystemDLL(pathname): dlls = ("libfreetype-6.dll", "libogg-0.dll", "sdl_ttf.dll") if os.path.basename(pathname).lower() in dlls: return 0 return origIsSystemDLL(pathna...
[ "officialkwade@gmail.com" ]
officialkwade@gmail.com
e61138fdabff455fc399bfe8f5afb0dceb0e32ce
71811040518c98269282d94ed298d97060a3a769
/problem29.py
f56796f54bda88a5f0f347690a2588b740b013d9
[]
no_license
beesknees18/dailycodingproblems
d823bf02615b85bd383a63e6b9ec7c0f5e9dc0a3
a115b1d3a37cf686e6510842e05207d7d2b79aa2
refs/heads/master
2021-09-12T15:33:50.081497
2018-04-18T03:53:36
2018-04-18T03:53:36
126,124,365
0
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
# This problem was asked by Amazon. # Run-length encoding is a fast and simple method of encoding strings. The basic idea is to represent repeated successive characters as a single count and character. For example, the string "AAAABBBCCDAA" would be encoded as "4A3B2C1D2A". # Implement run-length encoding and decodin...
[ "hariharan.b18@gmail.com" ]
hariharan.b18@gmail.com
ea8d7d96c0226cb39788f41eaf019db365d62368
1a704da6de6aaf13b4f03daab01c8ed314c7d659
/votersite/settings.py
d91ef99eaed6553fa7db772223a3c39ebac2c3a8
[]
no_license
catonalake/dav
182bb89cd40d5b38be1b3ab2a00603e8a7a2bdc5
04170bd81456899bc325cb6b058d41f88751e08d
refs/heads/master
2021-01-10T13:28:05.751140
2019-02-23T05:40:12
2019-02-23T05:40:12
55,928,677
0
0
null
null
null
null
UTF-8
Python
false
false
8,195
py
""" Django settings for votersite project. """ import os """ when getting ready to deploy - review ALLOWED_HOSTS settings: - http://stackoverflow.com/questions/19875789/django-gives-bad-request-400-when-debug-false """ DEBUG = True ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'catonalake.pythonanywhere.com'] ADMINS ...
[ "detectavoter@gmail.com" ]
detectavoter@gmail.com
f9a26bc8e4860c9939d3032229a1b7c3bd531d21
98eb043d32613815cf098decaa360fae98b913c5
/mn-v5r.py
5eb99333e2af8383cb22602e3f728f91bcf82bf7
[]
no_license
hankhuynh1011/sdn-lfr
100e38fc29092ab934dd5e5588ba175c8e6b68b1
19bb3ca7cf0261d70b748145e582307c14ce386d
refs/heads/master
2020-05-27T15:35:05.449616
2019-05-26T12:57:28
2019-05-26T12:57:28
188,682,883
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
# Author: Hank Huynh # use for the paper: https://ieeexplore.ieee.org/document/7779007 # For simulate the topology. # import time, sys from mininet.node import Host from mininet.topo import Topo from mininet.util import quietRun from mininet.log import error from mininet.examples.vlanhost import VLANHost class MyTop...
[ "noreply@github.com" ]
noreply@github.com
1374334266148ee72eb5cafd47aa48f10f54381c
37866090464fdee23ba78040c354b4b667064e58
/web_app/user/test.py
0dfc532d660e86218692aacac725cbda0f4ce107
[]
no_license
Xuuuuu/test2
87e50dcab2969c9d2a883974005b1ae16cdb4f2c
3ae6617534a2d3295081c81caa9d87218305b49d
refs/heads/master
2020-12-30T14:34:13.816737
2017-05-12T08:26:49
2017-05-12T08:26:49
91,068,775
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
a= 0 if a==1: print(1) else: print(0)
[ "1026169337@qq.com" ]
1026169337@qq.com
626be4db5c0fe451d49f061b73c4ded0c23674f6
9ef785d0a412f8f6fdad61573436399e0646ee87
/blog_backup/models.py
638d55dc4f59822cdfd81b31eef99a624458f193
[]
no_license
samueljr/my-first-blog
6f136768f1ebb986ed334f9d901c2f006a5475b9
c0e6f8626b3ce049d3b1400826d0001c32e4c33d
refs/heads/master
2016-09-14T01:18:41.822559
2016-06-01T00:10:59
2016-06-01T00:10:59
59,263,539
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.User') name = models.TextField(default="") party = models.CharField(max_length=1) state_code = models.CharField(max_length=2) np_score = models.CharField(max_length=7) id =...
[ "samueljr@princeton.edu" ]
samueljr@princeton.edu
d15374227af9925fe01c4ae57e4de03233a34919
86a680dcb7f1f0f93da15f9fc45a6362b012360d
/build/lib/ocr_image/__Init__.py
512318fee589da69d550cf22a38a0ce8e7f6810e
[]
no_license
SANGJUN12-KIM/NIA_image2table
d156fd84b4631a3e549e60d845b26e826ad226d8
44eccb7f8da03ff04f87affe86d29f6262e65881
refs/heads/master
2023-06-30T21:07:32.333760
2021-08-05T06:35:51
2021-08-05T06:35:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,069
py
import math import os import sys import cv2 import numpy as np import easyocr def ocr_images(image_file, reader): """ OCR the image and output the text to a file with an extension that is ready to be used in Tesseract training (.gt.txt). Tries to crop the image so that only the relevant text gets pas...
[ "mame-mame@kakao.com" ]
mame-mame@kakao.com
835223e821c59ceef8863f8fe623ab7eb0747115
3386d3f9bef799ff7742844350d31b61836b7ca5
/models/1_solubility_physical-descriptors/03_flask_deployment_AWS-EC2/2_html/flask_api/app.py
4844dc197b734988695a274ef34622fadbf8242a
[]
no_license
rnaimehaom/solubility-2
091d1a9899bac5743a21b0e6b2ed7630915fc0de
55330e102b23a2f101dceac04e22992a7cc284e5
refs/heads/master
2023-03-20T20:19:07.057952
2020-11-28T11:07:16
2020-11-28T11:07:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,167
py
# run it with: # python3 app.py #import the necessary libraries import numpy as np from flask import Flask, request, jsonify, render_template import pickle import pandas as pd from rdkit import Chem from rdkit.Chem import Descriptors app = Flask(__name__) # load the model from disk loaded_model = p...
[ "bogdan.tarus@gmail.com" ]
bogdan.tarus@gmail.com
d3930fcd5569ff795869cbce29d26dee4a4a1439
e00052a9c36f72e5b50ab0605fbd47f956f3d44f
/bigml/tests/test_40_local_from_file.py
cf221e7ad822415b9ed180a2f8e9fae2615dcfe1
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
Bakage1016/python
e0e97541732af1c3a22c29b9e1fe982c46a41521
d844258dbf43d5ae285fee793765aae95866ca58
refs/heads/master
2023-02-05T14:28:07.933696
2020-12-22T18:57:32
2020-12-22T18:57:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,488
py
# -*- coding: utf-8 -*- # # Copyright 2018-2020 BigML # # 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 ...
[ "merce@bigml.com" ]
merce@bigml.com
d90e23db3bd5e848709470467b7d59d38716a555
832a6c38ddcb05d1b32ac0bfc3334a8a05c73111
/smsapp/urls.py
0c3d4341baf867653eb33cfa16162b0d1cc657f3
[]
no_license
Archanavigeesh/newapp
619f2c8362fc5ee4f380ecba15cc323210fe99c3
90822006d2e242518fb9714583ea1e15e56aa0f0
refs/heads/master
2023-08-21T04:39:03.651136
2021-10-19T10:50:23
2021-10-19T10:50:23
334,850,600
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
from django.urls import path,include from . import views urlpatterns = [ path('', views.index,name='index'), path('new',views.new,name='new'), path('newlogin',views.fnnewlogin,name='newlogin'), path('newhome',views.fnnewhome,name='newhome'), path('grid',views.grid,name='grid'), path('home',view...
[ "archanavigeesh@gmail.com" ]
archanavigeesh@gmail.com
1bc588a37778df955ee49ad2e48e96bf755d3a5a
ec70db9faba0eb9eeb5c6dc93b5ae9b3e4d3d11a
/AutomateTheBoringStuff/Ch-12-SpreadsheetToText.py
4dc7a00b402456cef02449206c29d8dfaa95c8e2
[]
no_license
jain-aayush/AutomateTheBoringStuff
12150ebe577d70921a14e47458e21ea6ed1c160b
fa1523ffeceee126aaa8026d102effa13079a414
refs/heads/master
2020-03-27T13:01:08.201344
2018-11-03T17:28:38
2018-11-03T17:28:38
146,584,992
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
""" Write a program that performs the tasks of the previous program in reverse order: The program should open a spreadsheet and write the cells of column A into one text file, the cells of column B into another text file, and so on. """ import openpyxl spreadsheet = input("Enter the name of the spreadsheet you want t...
[ "patni.aayush1998@gmail.com" ]
patni.aayush1998@gmail.com
c08a761826a0a22a919f2284ff1fb2075e1e2c8b
974fe767ebe0745667a1e9240d43f963f342e02b
/second_module.py
5ae1e030f550c72f7c05a3df9a63e3041852cda8
[]
no_license
pachai22/Thoughtworks-Learning
7cd58cbd46788c36fa5268b97fbfae7dcc9cbd08
c2aa32b94a64139c58eca2870459386919572345
refs/heads/master
2022-12-08T06:10:07.848843
2020-09-01T11:14:36
2020-09-01T11:14:36
267,534,401
0
1
null
null
null
null
UTF-8
Python
false
false
90
py
import first_module print(first_module.my_name("Pachai")) print(first_module.var(10,20))
[ "pachai4477@gmail.com" ]
pachai4477@gmail.com
db69009c6d605dc22d7667b5a809f8a804e75ad6
7c26657018dbd179f0f5c6ce3f719894249017ff
/Macros/VeliMacros/Select all LED GREEN and Blue channels.py
dc714a931faf011207fcf34d8f85a3f7b6ec002f
[]
no_license
dago/dmxis-preset-generator
3e3a83cc71d8c16d51042f239b91720993f469a4
812bbc0a97321fac26d30e1e8b0a4d7181088ac5
refs/heads/master
2020-04-15T05:33:00.835476
2016-03-11T02:59:16
2016-03-11T02:59:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
#=============================================================== # DMXIS Macro (c) 2010 db audioware limited #=============================================================== found=False for ch in range(1,511): SelectCh(ch, 0) for ch in range(16,48): nm = GetChName(ch).lower() if nm in ["g", "b"]: ...
[ "jay@hdmessaging.com" ]
jay@hdmessaging.com
15c3e065ccc64d3d3f1dec17d35600524114924f
0aa8489dc5fd2c6488cddb68046412b8f93c150c
/comment_section/comments/serializers.py
8683f9e6597b10f33c0e6f581c666048595af521
[]
no_license
Daleyar/Youtube-Clone-API
b14608365eddb00528e1e4c4c717d9ca96a35899
a50d4b13f6b77b1dbe1f92162734f08af887733b
refs/heads/main
2023-08-05T06:41:01.353484
2021-09-17T19:23:48
2021-09-17T19:23:48
406,847,079
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from rest_framework import serializers from .models import Comment class CommentSerializer(serializers.ModelSerializer): class Meta: model = Comment fields = ['id', 'video_id', 'like', 'dislike', 'comment']
[ "ali.daley72@gmail.com" ]
ali.daley72@gmail.com
823128232096e5a64b6c166ca62a3b471935bf31
4d01bd8003ac64b2a688db12108b472387c999c4
/Q_Q.py
a27e43ccf178755bb31aa68761a4fffd6c588111
[]
no_license
BlackHat-S/PWN
2ef6aa7db3baafe009ac31631bdaffaf043f3b85
cde1f9ee3258aa56c2634995d5baec14b500a399
refs/heads/master
2021-01-07T00:44:20.208899
2020-03-21T04:16:14
2020-03-21T04:29:47
241,529,666
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
from pwn import * #p=process('./Q_Q') p=remote('121.40.92.129',28022) #gdb.attach(p) s2='you\x11need"pwntools!3' #s2=p32(0x11756F79) #s2=p32(0x6e11756f) p.sendline(s2) payload='a'*19+p32(0x8181B1B) p.sendline(payload) p.interactive()
[ "root@localhost.localdomain" ]
root@localhost.localdomain
2395a9a09b13c29f37cde235713f8f3c21ed0b97
14ce468074dff4b4aa4a8cc92f3ac1550fb4f038
/blogs/migrations/0006_auto_20200608_1235.py
76edc6ef5f0c4db05bd324bc7369d9d9ce5d61b6
[]
no_license
zybk23/Develop-blog-Python-Django
67944fe59d82b0c769bd4da7fcd4fb44e5d350ed
301501eca460ede7af0843399968b10bff9fe61f
refs/heads/master
2022-10-11T02:23:35.768340
2020-06-09T14:37:07
2020-06-09T14:37:07
271,025,739
1
0
null
null
null
null
UTF-8
Python
false
false
360
py
# Generated by Django 2.2 on 2020-06-08 09:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blogs', '0005_post_category'), ] operations = [ migrations.AlterField( model_name='post', name='slug', fie...
[ "tahazeybek5@gmail.com" ]
tahazeybek5@gmail.com
3b2fd0e045240de508f3065bee83649c42f71948
fd2601e0d47a8644c0e17a28b510466a297a0ac5
/services/redispublishservices.py
1da8b1db61a1de71241db12a2a73dc859e2f0fdc
[]
no_license
KrishnanSriram/RedisPythonMicroservice
fce8426823eb2a1714dc7bb51fbcecf23bb122eb
b11b67cd2bc79ab36ee417083d57c3132a76713f
refs/heads/master
2023-03-22T10:23:23.608318
2021-03-15T13:53:54
2021-03-15T13:53:54
347,753,369
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
# This class will take care of all Redis publish operations # This will take PDF2ImageRedisCommand & SettingsService as parameters class RedisPublishService: pass
[ "krishnan.sriram@hotmail.com" ]
krishnan.sriram@hotmail.com
bab4d9f341b3b7a0ad4fc8ed7b39028c5185ccc1
1f82ec60619d333b14ab1f17cac7086d6905480e
/uriref/__main__.py
4ceed3ee40150ee1dd7691e42aa22025f36fd828
[]
no_license
dotmpe/uriref
ce29812c86ede3c01322ab5b838269e5eb15dcd6
56c37d68f8544de130bfdb0c1df6ab2c2717daa1
refs/heads/master
2021-12-30T11:54:19.669118
2021-12-23T17:49:13
2021-12-23T17:49:13
1,965,261
0
1
null
null
null
null
UTF-8
Python
false
false
1,152
py
from . import * ### Testing def bug1(): "http://host" m = absoluteURI.match("my://host/path") gd = m.groupdict() # problem 1, what should the net path be? assert gd['net_path'] == '/path' # my guess: #assert gd['net_path'] == '//host/path', gd # problem 2, this be a hostname: m = absoluteURI.match("my://ne...
[ "dev@dotmpe.com" ]
dev@dotmpe.com
00ef30496fb8281677180c17a9e7e258de62ec10
30edfb786863e502403c8f5690d82ffe3a7fc8a9
/UserInterface/Variables.py
6c76b88e3ffd8f36f265c8930ac4d10a508bface
[]
no_license
Vich3rlys14/chessEngine
c9be8550343eb66966474e507cc3c8ac44a5296b
a545086d418006ccb12b6fbc806bd2b1d7bfe86b
refs/heads/master
2021-06-26T11:55:08.544700
2021-05-01T17:03:19
2021-05-01T17:03:19
222,399,579
1
0
null
null
null
null
UTF-8
Python
false
false
908
py
import pygame case_size = 50#px # Colors black = 0x333333 white = 0xffffff covercolor = 0xfafa00 #Pieces wpawn = pygame.image.load("./Sprites/whitePawn.png") bpawn = pygame.image.load("./Sprites/blackPawn.png") wKing = pygame.image.load("./Sprites/whiteKing.png") bKing = pygame.image.load("./Sprites/blackKing.png") w...
[ "vich3rlys@gmail.com" ]
vich3rlys@gmail.com
6a67160c7fa7f2f3822b409582df472a396991ab
f0551d822fa62f558785b9944c58f29067a6cd81
/Parameters_set_1.py
ff5d43db042116fc6fbfebddf5a30136192ff411
[]
no_license
Foeni91/NadirEchoSuppressio
9e8281be78feeb50081fb4d98c036cb07934f123
ecb410e21f16a1fd92934fbaa6be397d44a803f4
refs/heads/master
2023-02-08T21:23:21.924698
2020-12-29T23:24:10
2020-12-29T23:24:10
325,405,599
0
0
null
null
null
null
UTF-8
Python
false
false
4,575
py
import numpy as np import math from scipy.io.idl import readsav class Parameters: def __init__(self): # %%%%%%%%%%%%% SCENE INPUTS %%%%%%%%%%%%% # Signal scene: # 1 -> Lake # 2 -> City # 3 -> Forest # 4 -> Town self.signal = 1 # %%%%%%%%%...
[ "fabian_glatz@web.de" ]
fabian_glatz@web.de
2bb41b97fabc89ae81151489395fb337486608cd
ef03fc373249e4c4b9e58c2587b3ae9cbdca3cea
/venv/bin/easy_install-3.5
82f76550ac58e0815d86976db1dc59a0830a09cd
[]
no_license
tewinsid/ReptileSystem
c7927d5a35db4459c69bc85c35a011905326b126
897e7daf08463d1395f8d7aebc975b8d8955d779
refs/heads/master
2020-04-09T05:19:21.407299
2019-01-08T15:02:20
2019-01-08T15:02:20
160,059,972
0
0
null
null
null
null
UTF-8
Python
false
false
456
5
#!/home/tewinsid/PycharmProjects/ReptileSystem/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.5' __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?|...
[ "vipwanggang@outlook.com" ]
vipwanggang@outlook.com
2359b73367e408f711677161745663919226af11
97a235b5501a981f3715903d6dd9e16e293ebdac
/Imagedatasets/FID_Measure_single.py
e8834aed735297dcfcf68c6e69a60cefbff260ab
[]
no_license
JosephineRabbit/Relation-GAN
19fc8608c0cce4dde34710092e4ab4d5ba06728b
563d80107a76029db3495dda1f52d4c7de9686f3
refs/heads/master
2021-01-14T16:36:16.409211
2020-07-04T15:02:43
2020-07-04T15:02:43
242,682,088
1
0
null
null
null
null
UTF-8
Python
false
false
3,522
py
# -*- coding: utf-8 -*- from options.test_options import TestOptions from data import CreateDataLoader from models import create_model import os import torch import numpy as np from inception import InceptionV3,_compute_statistics_of_path,calculate_frechet_distance,adaptive_avg_pool2d def text_save(filename, data): ...
[ "429774648@qq.com" ]
429774648@qq.com
ea06394e335fad81afcb39da877df9cf15fbc2d3
bc441bb06b8948288f110af63feda4e798f30225
/translate_sdk/model/ops_automation/job_tasks_pb2.py
c0f92286f95c90cdfcca776560baf3bce86aceeb
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
10,518
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: job_tasks.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf i...
[ "service@easyops.cn" ]
service@easyops.cn
afd08dfdb5fdaa16718ddf70c0b0f61f1921f557
18b6da5a52df8cf3fc57fb38bb7a304183a921f2
/cogniable_application/cogniable_application/wsgi.py
48e86a0dcb777757c0b3d5a4c57e9f6cd693f453
[]
no_license
bluesky49/cogniableApp
4d077c64ada49bd3a9261d746b059a75021bbc7c
ef9400969a5792d1df49c1dbe86d41e0f4abaea5
refs/heads/master
2022-12-10T19:33:53.336419
2020-07-22T16:29:47
2020-07-22T16:29:47
294,920,315
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
""" WSGI config for cogniable_application project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault...
[ "yaghdevpaliwal@gmail.com" ]
yaghdevpaliwal@gmail.com
39763dada35168638ae5e1e8b7ec0faa6847b5ba
0775a2175ddc9f41b4f7637a388623ca9ef15259
/chap8/16.子数组的最大累加和问题/16_maxSubArray.py
fb63c569d4ab173bbb1254567316ee40c6b6c431
[]
no_license
huang-jingwei/Coding-Interview-Guide
6839876457b3cf01a08c5623463e66fe9efa7416
a42f45213c94d529f69a61f0bda92eddfe5bdfea
refs/heads/master
2023-04-16T20:05:40.615475
2021-05-05T03:32:25
2021-05-05T03:32:25
286,343,194
6
1
null
null
null
null
UTF-8
Python
false
false
592
py
class Solution: def maxSubArray(self, nums: List[int]) -> int: if len(nums) == 1: # 只有一个元素 return nums[0] maxSubArraySum = [0] * len(nums) for index in range(len(maxSubArraySum)): if index == 0: maxSubArraySum[index] = nums[index] eli...
[ "2194454302@qq.com" ]
2194454302@qq.com
35abada8bdd33271954c4889d29820e82575a201
d9864e8273b11dd0155cf2f0b4b14344015f19cf
/chapter3_nn/test_filter.py
052fdc8277ee8f611afe638ab09a102f92cbe7dc
[]
no_license
nihaizai/PyTorch
11130c71bc6bf6f8b555547eb1bd240c93db2673
a8661ca19fbf5bd9d1ac05d786aab9d3faba2068
refs/heads/master
2020-03-26T13:38:51.994578
2018-11-15T06:18:48
2018-11-15T06:18:48
144,545,505
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 16 17:31:54 2018 @author: mmg #lambda filter map reduce """ #print [(lambda x : x*x - 4)(x) for x in range(4)] # #print (lambda x:x*x - 4)(3) # #g = lambda x: x*x-4 #for i in range(10): # print g(i) #print filter(lambda x:x*x-4,range(10)) #print ma...
[ "noreply@github.com" ]
noreply@github.com
f7c079b554bdb7b64950930a5c1ae88ac595d901
26c09ac04542a3cc2809ade8e9ceefc60e67b797
/Method2/test.py
e7ffe0dba114b7293043290e28548adf973d2c27
[]
no_license
Saketspradhan/Image-caption-generation-using-attention-model
104f09bb054d7c8543d54ff1787eef72d49d1210
6fcc4ab01d8ee039f7e3932273e9900ccaa5a1ad
refs/heads/master
2023-03-15T21:32:55.342165
2020-09-18T05:38:22
2020-09-18T05:38:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
import pickle from keras.applications.vgg16 import VGG16 from keras.models import load_model model=load_model('app\\vgg16_weights_tf_dim_ordering_tf_kernels.h5') # model = VGG16()
[ "bhaseen.varun@gmail.com" ]
bhaseen.varun@gmail.com
1801f478f73579ae23ce3d61b2ed1d64b5c7e40f
1cc8604dff9713d3879599f1876a6ea313ebe1fb
/pysc2/lib/stopwatch.py
6c4202c859716afb77ef1155c82b1955ffcfd8d1
[ "Apache-2.0" ]
permissive
SoyGema/pysc2
c363ec768ebf94e7b0fa08e136b36b7432ae1b44
e5de62023ec45ac212016b5404dd73272109d9d4
refs/heads/master
2022-02-08T21:41:46.530129
2022-01-29T13:11:15
2022-01-29T13:11:15
143,897,552
1
0
Apache-2.0
2018-08-07T16:06:23
2018-08-07T16:06:22
null
UTF-8
Python
false
false
7,935
py
# Copyright 2017 Google Inc. All Rights Reserved. # # 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 ...
[ "tewalds@google.com" ]
tewalds@google.com
4cf50892a6da71cd428aab359b8f3dc06f606392
80c9b1baa262883d69f9f155b662142ec5b1888b
/bin/buddy/tests/unit_tests/test_validation_classes.py
96b87d468b86e85be952541f3a60e68f35d78728
[]
no_license
russHyde/bfx_201909
b054eaf72073b29fc3d4bd2f71f291445cb6c486
58923e9eb3e83e2c64d647a1647a71f0d5212b33
refs/heads/master
2020-07-04T16:10:44.143091
2019-10-01T13:59:54
2019-10-01T13:59:54
202,333,892
3
0
null
2019-10-01T13:53:45
2019-08-14T11:07:37
Python
UTF-8
Python
false
false
2,462
py
import buddy.validate_file_contents from buddy.validation_classes import Md5sumValidator # user # .. can ensure the md5sum for a file matches a given value # class TestMd5sumValidatorConstruction(object): def test_can_construct_md5sum_validator(self): validator = Md5sumValidator( test_name="...
[ "noreply@github.com" ]
noreply@github.com
eb1e6ec6f9fd273c302a1013e5b04142e70669fd
e40e4247341de99f62fb577910c3699eb5175c37
/Movies/drop_table.py
1c05726ebf9815eb87d5a304a09ec7063d9a9d65
[]
no_license
Life-Turner/Douban-Fantagsy
f7028854d814f0707d03495e60643a2c65c7ac9a
5a916b9f0888d1f6f98231220019d797cabbd615
refs/heads/master
2020-03-30T00:11:59.968105
2018-11-23T01:17:06
2018-11-23T01:17:06
150,510,289
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
#-*- coding: UTF-8 -*- import mysql.connector def drop_table(my_host, user_name, my_password, db_name, drop_table): conn = mysql.connector.connect(host = my_host, user = user_name, password = my_password, database = db_name, ) #-*- coding: UTF-8 -*- cur = conn.cursor() cur.execute("USE " + d...
[ "noreply@github.com" ]
noreply@github.com
070a1e9064fa7ea3e71735d8fd08affab920ce2f
e4b036b011032ddc0d2f696206588824e8f100c5
/api/province/migrations/0011_auto_20200215_2207.py
fd23ce41a8d8922cec937429c21e6aa93f877b4f
[]
no_license
zifeng175mo/Minipro_Backend
36193a0082ee1b0e8cc0f2ddd4bd9efd354b16ff
9025e958c89e69e14f01f5652ca532b0503fffd0
refs/heads/master
2020-09-15T23:59:13.491651
2020-09-14T02:43:35
2020-09-14T02:43:35
223,590,377
0
0
null
2019-11-29T08:48:27
2019-11-23T13:10:27
Python
UTF-8
Python
false
false
1,672
py
# Generated by Django 2.2.7 on 2020-02-15 14:07 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('province', '0010_auto_20191211_1643'), ] operations = [ migrations.RemoveField( model_name='pro...
[ "378663429@qq.com" ]
378663429@qq.com
ea8c4b27fd517c9af906d3e872bdb853046b1c47
7a2d80bb2f8a041832c06acb8806b43f05ca5751
/main/lessons/lesson_13/lesson_13.py
eaf38097ef865f11cb2cd623f4c15bb0fd223b9c
[]
no_license
EvgeniiMorozov/studying_Python
d18ec7e0e6f34b6b609bc1bdf182324d28c10cf7
3e53babc2b283f33478c99243f75a7c8d8c8f4d1
refs/heads/master
2023-08-11T01:13:38.674826
2021-09-17T04:23:52
2021-09-17T04:23:52
332,633,611
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
# Работа с GIT. def sum_func(a, b): return a + b def main(): pass if __name__ == '__main__': main()
[ "emorozov1101@gmail.com" ]
emorozov1101@gmail.com
4022b440f893cb8eaf445656b659588640bbe5fb
083c0bf626240d00928307ea379911f23b3018e4
/govtjobs/venv/bin/jupyter-nbextension
fba54f73ec268c834de785ddea3a696019d6f01f
[]
no_license
Minali24/govtjobs
731931cd9b759ca6e4b7aa92a79e814cb380b3e9
8c3d04381637e75064c9831f3265587cb44d025d
refs/heads/master
2020-04-23T15:07:02.596416
2019-02-19T12:23:22
2019-02-19T12:23:22
171,253,707
0
1
null
null
null
null
UTF-8
Python
false
false
255
#!/home/collab/Documents/govtjobs/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from notebook.nbextensions import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "urmisaha.88@gmail.com" ]
urmisaha.88@gmail.com
3da0dd89f52f37d5240c661c4e7a1aa151811436
6ed541d5ae2203d2b2fe68863568e5dfce45f9c1
/Bubble Sort_20200320.py
281adec6e9b3be9f3144d2523d7cfeaec1b65601
[]
no_license
max2004boy/Hackerrank-Problem-Solving
c79763f2da7865ab8972f126fd02b23d302a101e
4e9a4c562e79bb177f1c0fb72a14da48c0a2a434
refs/heads/master
2022-11-05T04:39:33.765297
2020-06-18T03:48:03
2020-06-18T03:48:03
257,767,684
1
0
null
null
null
null
UTF-8
Python
false
false
615
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 20 18:47:32 2020 @author: max20 """ n = int(input().strip()) a = list(map(int, input().strip().split(' '))) # Write Your Code Here swap_counter = 0 for i in range(len(a)): temp_counter = 0 for j in range(len(a)-1): if a[j]>a[j+1]: ...
[ "noreply@github.com" ]
noreply@github.com