blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
39814591414bdd5dd5e964ffbd42f0692f1f0ef8
d1d2b41be8c7749e43c8f1fa876529de89e37f16
/utils/objreg.py
d3fc2bf14476afdd604de7fb309aac73258f3f67
[]
no_license
bellyfat/MultiCA
4faca0cb639f6e86e8518968354e80c0ffd5588f
d6bbb467e58c824e40708705185880fddcefde83
refs/heads/master
2023-03-15T23:09:23.957539
2017-04-10T23:03:33
2017-04-10T23:03:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,096
py
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: # Copyright 2014-2016 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. # # qutebrowser is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free S...
[ "rich@slyone.org" ]
rich@slyone.org
a4e86864532a808b15b5e79338f65769c9f59ef7
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/Default/FPythonCode/FOperationsGenerators.py
d6dd072a59bc78f8da23b710047f349b73f6dd9e
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,719
py
""" Compiled: 2020-09-18 10:38:53 """ #__src_file__ = "extensions/operations/etc/FOperationsGenerators.py" #------------------------------------------------------------------------- # Generator for generating pairs of related objects. #------------------------------------------------------------------------- class Pa...
[ "81222178+nenchoabsa@users.noreply.github.com" ]
81222178+nenchoabsa@users.noreply.github.com
87b86983f5b9c127daaf39b762790b56ebfb345a
8762f79893c1984ce0dc527a189af815acd22aac
/bike_crawler/venv/lib/python3.7/site-packages/crochet/_eventloop.py
d6ba8063b3bc2d3414ce56ba267e2930a89f9c04
[]
no_license
nancywan1004/bike-crawler
3991c12a4e0fa32fa6f82434ec39bcf939cd9166
f086fbf977b520be54c38ad404481dbe56ef730d
refs/heads/master
2020-09-14T22:49:47.775163
2019-11-29T04:15:14
2019-11-29T04:15:14
223,281,779
1
0
null
null
null
null
UTF-8
Python
false
false
18,133
py
""" Expose Twisted's event loop to threaded programs. """ from __future__ import absolute_import import select import threading import weakref import warnings from functools import wraps import imp from twisted.python import threadable from twisted.python.runtime import platform from twisted.python.failure import F...
[ "leqiwan@alumni.ubc.ca" ]
leqiwan@alumni.ubc.ca
d3e983b7ab56cd37804c08f4163ad217a274efb2
cdc7df6e2bc2d637fee27fb243b0a5bc1757c916
/events/migrations/0004_auto_20180414_1513.py
abee47d26c3702dede480805914a330bab58ad9b
[ "MIT" ]
permissive
sinkva/pktroop
0548b13212fd849b8d33afb9383cd9f2e629c8bd
72a8f22f0b0f7c994d6ba2239b2ea17a46b6e133
refs/heads/master
2021-09-14T02:11:16.509047
2018-05-07T13:59:30
2018-05-07T13:59:30
113,116,893
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-04-14 15:13 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('events', '0003_auto_20180414_1512'), ] operations = [ ...
[ "github@kuo1.com" ]
github@kuo1.com
621578ecfb09a3690255ff500ef39f1646d416b7
d1f0978c544033699402d0682d75f25af4efa5a2
/util.py
6dce1b766df6602ab51a00e035e70c8f34ab3bf9
[]
no_license
kjack1111/Enarthia-bot
20867085bee0c800f2599bd2bb17bf0e3e4c6b2e
b33c4fd93a2b44c18858a09835d06688bc6913b5
refs/heads/master
2020-04-01T06:15:03.168385
2018-11-18T03:11:02
2018-11-18T03:11:02
152,939,400
3
1
null
null
null
null
UTF-8
Python
false
false
115
py
async def timeout(client, M): await client.send_message(M.channel, "The command timed out! Please try again.")
[ "kjackgilchrist@gmail.com" ]
kjackgilchrist@gmail.com
2de9f086b9867ed8b8e4efa37b61f5d90ceaf5c8
bd6fbfe23ad91c4638011530c640d237c698627f
/recorder.py
c00cf075f02123bea36fa0640762952af0e6b94b
[ "Apache-2.0" ]
permissive
VishwaasHegde/CRETORA
5a3efa257d23ef0227ec86486a3c3db6ec7611b0
a03b25e5cf52aa7d4dee23d45fedc5d7b1351dca
refs/heads/main
2023-06-15T02:24:20.409075
2021-07-11T16:29:59
2021-07-11T16:29:59
377,884,380
1
0
null
null
null
null
UTF-8
Python
false
false
535
py
import sounddevice as sd from scipy.io.wavfile import write fs = 16000 # Sample rate def record(seconds): key = input('Press 1 to start recording or press 0 to exit: ') if key == str(0): return None print('Started recording for {} seconds'.format(seconds)) myrecording = sd.rec(int(seconds * ...
[ "vishwaas.n" ]
vishwaas.n
1154f55391b8710921a61cad7912bb4ba2a26ea8
da0ae46bf509e93f230434cf650f718519480633
/ckanext/suggests/controllers/suggest_controller.py
2fe6e10d56ca4baed6c6f82433a70326f515514c
[ "MIT" ]
permissive
WilJoey/ckanext-suggests
bc2787255e766428f5876ba8bbb3591295428301
58eeddbafa3677582cd9ac1c5b6a832aa56d1e2b
refs/heads/master
2021-01-25T05:23:17.390346
2015-03-27T11:05:44
2015-03-27T11:05:44
32,977,061
0
0
null
null
null
null
UTF-8
Python
false
false
12,672
py
import logging import ckan.lib.base as base import ckan.model as model import ckan.plugins as plugins import ckan.lib.helpers as helpers import ckanext.suggests.constants as constants import functools import re from ckan.common import request from urllib import urlencode #############################################...
[ "wiljoey@gmail.com" ]
wiljoey@gmail.com
aa485daed43aec74f3451a00b7b8fbc9f7869c9a
ce7fa1fabd322e09021d5e23d3500d82fbc3dcd1
/CRDS.py
e29d9544277219a011722b0250486034f628c020
[]
no_license
esun0087/SPOJ-Solution
e71e59de9730cdad4f463c21c97ff53a14e5d996
4eb9f648fcf9d6e91d3db6a6cf8de732d7f7479e
refs/heads/master
2021-01-11T04:46:12.415125
2015-06-12T11:19:46
2015-06-12T11:19:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
import sys inp = sys.stdin.readlines() mod = 1000007 for i in xrange(1,int(inp[0])+1): n = int(inp[i]) if n%2 == 0: S = ((n/2)*(((3*n)%mod+1)%mod))%mod else: S = (n*(((3*n+1)/2)%mod))%mod print S
[ "niraj_kr_das@yahoo.in" ]
niraj_kr_das@yahoo.in
2576188caa2fe025cb8a785fe18dde6d50a7acb5
0bb5143af13cab85346f0443a1c2ba39eac40bfd
/zipfunction.py
650ccfec84d8a95db7e75884817080a55d6930ca
[]
no_license
Nasir1004/-practical_python-with-daheer
62e766d5946df4ea29ebbd059ef904c536c281e5
3d5a6ac466685aeaf8736de7886a4b7e2641d6ef
refs/heads/master
2020-09-22T02:22:12.054111
2019-11-30T10:31:44
2019-11-30T10:31:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
first = ['nasir', 'abbas', 'sharu'] last = ['ibrahim', 'dahir', 'nasir'] names = zip(first, last) for a, b in names: print(a, b)
[ "ibrahimnasir618@gmail.com" ]
ibrahimnasir618@gmail.com
ecb0b78414194f4b28d464b9bc67c8af598753f5
b1f5d364832cbf9309628660faefa0c0f950b754
/accounts/urls.py
8c2e8a471c8dcfa422eb77395ada5ed19e474a7f
[]
no_license
cachimiro/final-proyect
04272c4c0ed47977d1614b2bb99466424ddcd446
90b0917805285a7b302b1ab3793fdc1f2a2ec062
refs/heads/master
2021-09-27T13:54:54.204800
2020-01-14T13:44:41
2020-01-14T13:44:41
232,796,879
0
0
null
2021-09-22T18:22:46
2020-01-09T11:49:43
Python
UTF-8
Python
false
false
390
py
from django.conf.urls import url, include from accounts import url_reset from .views import index, register, profile, logout, login urlpatterns = [ url(r'^register/$', register, name='register'), url(r'^profile/$', profile, name='profile'), url(r'^logout/$', logout, name='logout'), url(r'^login/$', log...
[ "johannaguirre55@gmail.com" ]
johannaguirre55@gmail.com
1c17f1472b345de9ea5859b8faad6b065b3a52ae
511dbb4c1b132263ff2f943eee574edf6963a027
/CricketWidget/WidgetCricbuzz.py
64d66d6b9aa4ebb8d758701c37fd6a2c06e33911
[]
no_license
ElToro13/Python
b41c07c227d2574178de474e04958448bf1b57d9
90e2c741f4d851a6866907a0cc9c12cd088c4c8c
refs/heads/master
2022-12-09T05:51:50.287085
2019-04-27T23:30:34
2019-04-27T23:30:34
98,705,694
0
0
null
2022-12-08T00:43:56
2017-07-29T03:31:37
Python
UTF-8
Python
false
false
10,112
py
from tkinter import * import tkinter as tk from tkinter import ttk from tkinter import scrolledtext from Class_Cricbuzz import * from pycricbuzz import Cricbuzz import time def scoreb(i): root = Tk() sco = Cricbuzz() Total = sco.scorecard(i) ii = len(Total['scorecard'][0]['batcard']) ...
[ "noreply@github.com" ]
ElToro13.noreply@github.com
d2ec78700adbdabb41836c5003016d18c394db8a
4e5b20fdcca20f458322f0a8cd11bbdacb6fb3e5
/test/promotesale/QueryFullReductionTest.py
872c46b84243b6ed269a15938975388fe619df59
[]
no_license
shijingyu/sunningAPI
241f33b0660dc84635ce39688fed499f5c57a5da
4a3b2ef7f9bdc4707d1eaff185bc7eb636fe90d5
refs/heads/master
2020-04-24T22:15:11.584028
2019-02-24T06:41:20
2019-02-24T06:41:20
172,305,179
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
#!usr/bin/python # -*- coding: utf-8 -*- ''' Created on 2014-10-17 @author: suning ''' import sys import os basepath = os.path.dirname(os.path.abspath(sys.argv[0]))+"/../../" sys.path.append(basepath) import suning.api as api a=api.QueryFullReductionRequest() a.pageNo='1' a.pageSize='2' a.startTime='2014-09-09 12:...
[ "945090896@qq.com" ]
945090896@qq.com
a9d0a7485ba678bfc517fabaf0f4af8e3e934ef1
95b2d1096cb263d07e049eab2d6707f1acb3b085
/nanoctf/ext/themes.py
df6561e2cbf9401bbe123350c41c330a22674252
[]
no_license
Sven-Sch/nanoCTF
068ede4a156950a9a0f612ce213f527c2046744c
e850d2d01d2d35162eda2b2997f6aa7d73aeb802
refs/heads/master
2021-01-12T07:34:21.367142
2016-12-20T18:31:30
2016-12-20T18:31:30
36,599,546
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from flask_themes2 import Themes def configure(app): themes = Themes() themes.init_themes(app, app_identifier='nanoctf')
[ "funkym0nk3y@acmelabs.vpn" ]
funkym0nk3y@acmelabs.vpn
78801955bc863de34214f1f1cdc3bb2843539e29
6f2a424a74b22695b65cdff5f06b2c42f8c01540
/post/migrations/0001_initial.py
42a3bf6499f48629e9bb7837ce49e0f3f92dff70
[]
no_license
saurabh-jindal/blog
d082a0ae23c79424b0c92b97077d64ad9613d170
39b083bb5399eccdb9d9258ce05425963082b7ab
refs/heads/master
2022-12-17T07:46:55.169491
2020-09-25T13:29:22
2020-09-25T13:29:22
298,564,002
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
# Generated by Django 3.1.1 on 2020-09-25 08:38 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "jindalsaurabh533@gmail.com" ]
jindalsaurabh533@gmail.com
bc91f6c3d59ca8f650fe1a4456caba86df29ab50
bee9d96912078d68877aa53e0c96537677ec3e6a
/peakpo/control/jcpdscontroller.py
45d17941513eb3e86946eed8c7238ac55fde688b
[ "Apache-2.0" ]
permissive
SHDShim/PeakPo
ce0a637b6307787dd84fd3dcb3415e752d180c32
4c522e147e7715bceba218de58ee185cccd2055e
refs/heads/master
2022-06-26T11:26:45.097828
2022-06-19T22:03:24
2022-06-19T22:03:24
94,345,216
17
3
null
null
null
null
UTF-8
Python
false
false
11,139
py
import os import copy from PyQt5 import QtWidgets from PyQt5 import QtCore from PyQt5 import QtGui # import matplotlib.pyplot as plt from matplotlib import colors import matplotlib.cm as cmx from .mplcontroller import MplController from .jcpdstablecontroller import JcpdsTableController from utils import xls_jlist, dial...
[ "SHDShim@gmail.com" ]
SHDShim@gmail.com
3e237cfd5fe8786cc4840ec4fee31d555573cc91
fa71c4453520d7e7b00a5245cee3628628070e91
/Coursera/Python Spring 2013/Assignment_3_NumberGame.py
f5b5296de4ca13862c34f2d1d50a9406b8847186
[]
no_license
jeffwindsor/learn
6b6ecc67a8453206c193e9527d7c6e0c12177f34
a7fc1dac5d5f4c3986761ffb30bb8255f8e9ade0
refs/heads/master
2021-07-15T20:48:26.089887
2021-06-25T01:27:17
2021-06-25T01:27:17
41,703,235
0
0
null
null
null
null
UTF-8
Python
false
false
2,763
py
# template for "Guess the number" mini-project # input will come from buttons and an input field # all output for the game will be printed in the console import simplegui, random, math # initialize global variables used in your code low = 0 high = 0 guess_target = 0 remaining_guesses = 0 def display_guess_result(gues...
[ "jeff.windsor@gmail.com" ]
jeff.windsor@gmail.com
8d5f57d9f9d2d32a2bee12d64593e7e073b6369b
5b05ef6b03d21eb2e5dbaa15a76059de408f2558
/selenium_start/pages/ff_support.py
84c1f468820d55dc06fca33c891afdb63e2b8392
[]
no_license
flavia-c/Mozilla
c1727af0f7615daa741deb709792b133f5b19214
d570671732f6d2ec2ff0b31a753cfa6aa8af2a63
refs/heads/master
2020-03-24T08:08:27.523874
2018-07-27T14:21:26
2018-07-27T14:21:26
142,586,246
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
from selenium.webdriver.common.by import By from .basepage import BasePage class FfSupport(BasePage): _search_box_selector = (By.ID, 'search-q') _support_button_selector = (By.CSS_SELECTOR, '#get-involved-box .btn.btn-submit') """def __init__(self, selenium, variables, open_url=False): suffix_url...
[ "flavia.croitoru@3pillarglobal.com" ]
flavia.croitoru@3pillarglobal.com
ee987dc97b5aa0a7529752d0e719651d989c6283
741ee09b8b73187fab06ecc1f07f46a6ba77e85c
/AutonomousSourceCode/data/raw/sort/d0d3b906-00e8-4b06-aa81-423fdf44d307__mergesort.py
4121ebe48ffcab855687335df0292d65e95b9edb
[]
no_license
erickmiller/AutomatousSourceCode
fbe8c8fbf215430a87a8e80d0479eb9c8807accb
44ee2fb9ac970acf7389e5da35b930d076f2c530
refs/heads/master
2021-05-24T01:12:53.154621
2020-11-20T23:50:11
2020-11-20T23:50:11
60,889,742
6
1
null
null
null
null
UTF-8
Python
false
false
1,800
py
# nlogn, divide and conquer # recursive def merge_sort(int_array): # base case if len(int_array) == 0: return None elif len(int_array) == 1: return int_array # recursive step else: l = len(int_array)/2 first_half = int_array[:l] second_half = int_array[l:] ...
[ "erickmiller@gmail.com" ]
erickmiller@gmail.com
d8e84cf721c759a8fde3138782a033b35746d27f
c09a4b4f02849c03ba536edda2bf920b655be6bc
/wyl/mvis2uvd.py
915db718f98decc67ab738874bf2d62bda69f28b
[]
no_license
jpober/brownscripts
33bcc70a31694dfb06f1314adb1402316540108c
c25789ec765b018eaad59d99a0a4264c75655265
refs/heads/master
2021-01-23T22:01:19.004636
2020-11-12T18:39:14
2020-11-12T18:39:14
57,912,669
2
2
null
null
null
null
UTF-8
Python
false
false
4,616
py
import sys,optparse,aipy,glob import numpy as np, mp2cal import pyuvdata.uvdata as uvd o = optparse.OptionParser() o.set_usage('mvis2uvd.py [options] obsid') #only takes 1 obsid o.set_description(__doc__) o.add_option('-d',dest='datpath',default='/users/wl42/data/wl42/FHD_out/fhd_MWA_PhaseII_EoR0/',type='string', hel...
[ "wenyang_li@brown.edu" ]
wenyang_li@brown.edu
925f40e33fde6a2820212b79be8eddad514edb16
5447499810138e0fe78122b01d30924322fe26d8
/examples/example.py
cc1fb3687a0e65da725a414445a356da1a315263
[ "MIT" ]
permissive
mathfac/habitat-api
d225925b504d077e142d74af6849ce564d8fd8c9
6a49edfca53f0fec99fd0f0c8e5d4828589167f2
refs/heads/master
2020-05-09T13:12:42.695103
2019-04-13T08:47:43
2019-04-13T08:47:43
181,142,429
0
0
MIT
2019-04-13T08:47:44
2019-04-13T08:26:24
Python
UTF-8
Python
false
false
708
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import habitat def example(): env = habitat.Env( config=habitat.get_config(config_file="tasks/pointnav.yam...
[ "abhishekkadiyan@gmail.com" ]
abhishekkadiyan@gmail.com
bca775c71a982c091d9ff1e42bd3398929ca5c9d
c0bc52faf567e7c473bf829e266f6bac0ebdddfe
/geo_prior/geo_prior/grid_predictor.py
197148afbab9891a59b547e8e3e050618ba8e97d
[ "Apache-2.0" ]
permissive
daima2017/space2vec
3c34318eceb9ac8cc288c58bc8770d4d409d2851
a29793336e6a1ebdb497289c286a0b4d5a83079f
refs/heads/master
2023-03-24T22:26:29.575726
2020-06-07T00:39:57
2020-06-07T00:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,307
py
""" Class for making dense predictions on a 2D grid. """ import numpy as np import torch import math import sys sys.path.append('../') import geo_prior.utils as ut class GridPredictor: def __init__(self, mask, params, mask_only_pred=False): ''' Args: mask: (1002, 2004) mask for the e...
[ "gengchen.mai@gmail.com" ]
gengchen.mai@gmail.com
a4c063576e93f33f70d241c426e780fbedee2dca
bc15d20fc0ed12059debf7a5fb7a38ba1c1d179f
/dgp/urls.py
4768ecc62f82ebf2501701f763f5d632b701bbae
[]
no_license
Spikenstein/my-first-blog
aaf89acab9b9076cd5c88e00c32ee2ce2bab5496
9b3e06dfb0851a9530cd735fc8a5efced18c7801
refs/heads/master
2021-01-20T18:24:16.116997
2016-06-28T14:42:35
2016-06-28T14:42:35
61,197,924
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.run_list, name='run_list'), url(r'^run/(?P<pk>[0-9]+)/$', views.run_detail, name='run_detail'), url(r'^newSelectionRun/$', views.newSelectionRun, name='newSelectionRun'), url(r'^newParametersRun/$', views.newParameter...
[ "stephane.picq@gmail.com" ]
stephane.picq@gmail.com
46ce65b6676b954ecbf444ddd7b6a9e00ba28ce4
9b342f025762c0ae36fa9f30e3b3456e7ecbddbf
/resources/user.py
c87a02872341e8e2085e37bf7e86272fab9dab08
[]
no_license
skpeters87/flask-store-api
6ff973e921c7be5e4992ca2e493a009c628a8c3a
f1c5b422b4d3fae759d0328e22995f3c064a6e92
refs/heads/master
2023-05-10T09:49:29.620924
2020-05-25T01:55:25
2020-05-25T01:55:25
266,638,810
0
0
null
2023-05-01T21:50:45
2020-05-24T22:58:43
Python
UTF-8
Python
false
false
1,055
py
from flask_restful import Resource, reqparse from models.user import UserModel class UserRegister(Resource): parser = reqparse.RequestParser() parser.add_argument('username', type=str, required=True, help='invalid entry') parser.add_a...
[ "skpeters87@gmail.com" ]
skpeters87@gmail.com
1713babd927c9dfa4224e1ad3277567e37cb7907
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/AbstractUnknownMsSymbol.pyi
09fd912dc8f16775243884f29d4f2ce850338007
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
702
pyi
import ghidra.app.util.bin.format.pdb2.pdbreader.symbol import java.lang class AbstractUnknownMsSymbol(ghidra.app.util.bin.format.pdb2.pdbreader.symbol.AbstractMsSymbol): def emit(self, __a0: java.lang.StringBuilder) -> None: ... def equals(self, __a0: object) -> bool: ... def getClass(self) -> ...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
cfa3740ba18f9384af22770130b7148306057883
a96f603b34525f97c4b2fdca9f329aa38ffcc18c
/models/result_time_table_model.py
a705bdd8dd445e922470a4421768a1975e585705
[]
no_license
mparlaktuna/capraz_sevkiyat2.0
d1fbdaaeeec4c4113448aa18b0e58457ca2ad0e5
3d350826084230e2c71b57e0b587e193d72b2985
refs/heads/master
2020-04-06T07:11:14.641477
2016-08-26T14:43:25
2016-08-26T14:43:25
59,899,015
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * class ResultTimeTableModel(QAbstractTableModel): def __init__(self, results, number_of_trucks, truck_name): super(ResultTimeTableModel, self).__init__() self.times = results.times try: self.v_hea...
[ "mparlaktuna@gmail.com" ]
mparlaktuna@gmail.com
f1eface4f93946e2c307b7ffb8b98756f0dcffdb
209fb2ccbdfa10c69a3a1374dcd88386f443f092
/app_config.py
41450922309ba86494117f88509da54600575e18
[]
no_license
AKASOLOMID/flask_email
ede96c7d66176a3a7a858ef05e0569cc5ce7750a
fa5a37d608da29f0c00ab307d3ead6a64ffa078e
refs/heads/master
2021-01-10T19:09:38.909605
2014-07-02T20:50:01
2014-07-02T20:50:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
class Config(object): DEBUG = False TESTING = False DATABASE_URI = 'db/email_flask.db' class ProductionConfig(Config): DATABASE_URI = 'db/email_flask.db' class DevelopmentConfig(Config): DEBUG = True DATABASE_URI = 'sqlite://:memory:' class TestingConfig(Config): TESTING ...
[ "yoursyj@gmail.com" ]
yoursyj@gmail.com
13c3d1decbae42e219344347744f7622a9b4a4f7
281e2f5b71e013217e940dfa12d3e2fa58cdb5a5
/test.py
6aec51ecfc769a4b04c96a1fc765119c0785c962
[]
no_license
nh2/linux-bad-core-scheduling-investigation
e894f36f9ab9629dc018fdf5f3e8b3ecd24f8bbf
6bc14d9931a9d8fc70087370a7e0fa4ac32f72dd
refs/heads/master
2020-12-24T18:14:06.074397
2016-04-16T00:50:37
2016-04-16T00:50:37
56,279,666
2
1
null
null
null
null
UTF-8
Python
false
false
645
py
#!/usr/bin/env python3 # Requires python3 >= 3.4, and stress-ng to be installed. import subprocess import sys from statistics import stdev, mean def measure(): time_seconds = float(str(subprocess.check_output("stress-ng -c2 --cpu-method ackermann --cpu-ops 10 | grep -o '[0-9][0-9\.]*s'", shell=True), encoding="utf...
[ "mail@nh2.me" ]
mail@nh2.me
03c796ab2acc97968c7de60928c9c4189fff980f
a79fb6cf661586952134e008c54bf32d7e191823
/chat_server/chats4/jiot_chat.py
f308b1fe2d102186e9f72b5312615b64dfd11b4f
[]
no_license
YeoHoonYun/jiot-service
556867e850bec6f36918c7d0fedd989a9d594ac9
e5fe271a18b3072ed94c37ed6abb5839a7a8bf8a
refs/heads/master
2022-02-14T01:41:04.166152
2019-08-28T13:02:38
2019-08-28T13:02:38
204,930,618
0
0
null
null
null
null
UTF-8
Python
false
false
2,324
py
from flask import Flask, request, abort, jsonify from flask_socketio import SocketIO from flask_cors import CORS, cross_origin from pytz import timezone from datetime import datetime from chat_test import * import json, pymongo, pprint # app = Flask(__name__) # app.config['SECRET_KEY'] = 'vnkdjnfjknfl1232#' # cors = ...
[ "cjswo9207@gmail.com" ]
cjswo9207@gmail.com
d0c94eb069edcb59bae5016f312fd58240e8b083
c930514f5620da7d8aea39c51c22bffa74d02d1b
/atmPy/radiation/rayleigh/lab.py
02c7db32db2f7488242cde2a1588d021e44f33ab
[ "MIT" ]
permissive
hagne/atm-py
0828e1cc4d4673fe99ea3ed7d6f64baf8d2ed749
f2cc0832ccedb2c52f222a6754e83ce553385fb1
refs/heads/master
2023-08-19T03:31:44.251118
2023-08-03T21:55:22
2023-08-03T21:55:22
50,296,187
4
3
MIT
2019-03-06T16:29:58
2016-01-24T16:24:53
Python
UTF-8
Python
false
false
907
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Sep 8 11:27:53 2022 @author: hagen """ # import numpy as np def rayleigh_od_johnsmethod(pressure_surface, wavelength, pressure_standard = 1013.25): """ This is the method to estimate total collum OD from rayleigh scattering that John is u...
[ "hagen.telg@gmail.com" ]
hagen.telg@gmail.com
df321da5e6a1fdf6dea7212baced4314bf3ec1eb
0b221e8bdd113fa4d28dfd7065440832f31ec47d
/L5/lab5/db_utils.py
4548a5bf9b11f27508bc17b3527d86f667fa7e2b
[]
no_license
vyklyuk/python_labs
7705bfc0da07ff029e98b891bdd1a01d23a942c8
15ba9397471ae112b6c406d4bad6e6ffbb6afea6
refs/heads/master
2022-12-31T19:48:34.043975
2020-10-16T12:28:29
2020-10-16T12:28:29
297,615,082
0
1
null
2020-10-16T12:28:30
2020-09-22T10:31:04
Python
UTF-8
Python
false
false
2,114
py
from lab5.models import Session, Users, Wallets, Transactions def list_users(email=None, first_name=None, last_name=None): session = Session() filters = [] if email: filters.append(Users.email.like(email)) if first_name: filters.append(Users.email.like(first_name)) if last_name: ...
[ "vyklyuk@ukr.net" ]
vyklyuk@ukr.net
cc3684181fbe33907028bc6c8d5d0ffd573945be
8cfda94bb4b421b9b6fbb22cecb4ff2ae75cb8ce
/start_python/day01.py
443db7d10dc2a92b39f63f4dab6b4b3412ee1cac
[]
no_license
Royal-Chokobi/pythonBasic
15e79de919766dfc2ae3fcd72e4bf15e352ffd82
491516c0934d0e8851c62156dc5c543de84e297c
refs/heads/master
2020-04-28T22:19:20.137566
2019-05-30T13:09:22
2019-05-30T13:09:22
175,612,898
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
import keyword def changeNumber(x, y) : print('교환전 : ', x, y) x, y = y, x print('교환후 : ', x, y) print('hello') print('기초수업') score1 = 100 score2 = 200 score3 = 300 total = score1+score2+score3 print(score1, score2, score3) print(total) x = 10 y = 2.5 print(type(x)) print(type(y)) print(keyword.kwlis...
[ "ollehing@gmail.com" ]
ollehing@gmail.com
88993bd670d098610c4e52f4cd46b2cf58f810f2
fb13921ed3751e48de562de02e939df01f30e36e
/alunos.py
7d95b68c0e9f286bfaefd2543362f33654b8674a
[]
no_license
sevendri/fiap
a7f7084de7aab826ed7d86029b58c63e933c52e4
ed4a990c831e180892789d0b7ddb66cbb404718b
refs/heads/master
2022-12-08T13:00:45.485151
2019-07-13T13:49:59
2019-07-13T13:49:59
196,723,643
0
0
null
2022-12-08T05:52:42
2019-07-13T13:16:30
JavaScript
UTF-8
Python
false
false
2,283
py
from datetime import datetime from flask import jsonify, make_response, abort def get_timestamp(): return datetime.now().strftime(("%Y-%m-%d %H:%M:%S")) PEOPLE = { "Jones": { "fname": "Indiana", "lname": "Jones", "timestamp": get_timestamp(), "teste": "func", }, " Sparrow": { ...
[ "sevendri@hotmail.com" ]
sevendri@hotmail.com
ed89df92447a5ccef8d43ce951e44edf085f4982
86c5cd3c4a8937177a8566095d10cd7dba54b1f9
/Python4_class——data/python_json/Python_json.py
d57915cb1f1834cd4469c1ce66eb59f72d6e8ea3
[]
no_license
lynnoflynn/python_practice
613de6bca06cd2e8df781fea9f712211860090d8
3908f85183f812bf4415f0ec7cdeb5e910159fd1
refs/heads/master
2022-12-30T06:09:33.542886
2020-10-14T10:09:14
2020-10-14T10:09:14
289,768,303
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
import json #json.dump 表示把python对象写入在文件中 #json.dumps 表示把python对象转化成字符串 dict_hogwarts = { "a": [1, 2, 3], "name": ["spider man", "战士"] } # 在data.json中写入Python object数据 # with open("data.json", "w") as f: # json.dump(dict_hogwarts, f) # print(type(dict_hogwarts)) # print(type(json.dumps(dict_hogwarts))) # <c...
[ "378774164@qq.com" ]
378774164@qq.com
34923e2be2a7691a288d437371f696be6108d29b
488c2a204711fc16090601a02684564cf99bf56b
/openCv/Morphological_Transformations.py
ff59f11087cbff02247cf17f8a76426c233a0edf
[]
no_license
malhotra5/Completed-Projects
792ee8a2bf2d66e0cca0a9152e3e8c1a9876da85
f8533a9030cc67234571c74d5c3ae6d382d93d65
refs/heads/master
2021-09-07T15:20:50.762633
2018-02-24T23:44:39
2018-02-24T23:44:39
111,261,854
2
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
import cv2 import numpy as np cap = cv2.VideoCapture(0) while True: _, frame = cap.read() hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) lower_yellow = np.array([29,97,0]) upper_yellow = np.array([66,255,255]) mask = cv2.inRange(hsv, lower_yellow, upper_yellow) res = cv2.bitwi...
[ "noreply@github.com" ]
malhotra5.noreply@github.com
dbdda969b4f93ff83be9126e3528a31fdc8bacf4
cbc3c3e602996fe5561b06545593f1a9a2401f42
/heranca/EmpregadoHorista.py
607bc67e665402c8d950d86dc556ddda133ded26
[]
no_license
ricdtaveira/poo-python
fc06040acd032975e355edf62a8c2983f1d37972
3ecba2ccfcc84f79cfc1ef5247c017e58f36c8d4
refs/heads/master
2021-10-24T17:57:57.051213
2019-03-27T00:10:47
2019-03-27T00:10:47
105,895,238
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
''' Classe Empregado Horista ''' from Empregado import Empregado class EmpregadoHorista(Empregado): ''' Empregado Horista ''' def __init__(self, primeiro_nome, ultimo_nome, salario): super().__init__(primeiro_nome, ultimo_nome, salario) self.__horas = 0 def calcular_pagamento(self): ''' Calcula o Pagam...
[ "ricdtaveira@gmail.com" ]
ricdtaveira@gmail.com
4ebdf94e0d8f96f9ac8d65ae46ad57e3e7daeee4
73332abdcadb62f4f262d0c30856c3c257a9ee7d
/tests/environments/__init__.py
d8f2ee2ede569a4f0b62f68bcf1956da8c7c993e
[ "BSD-2-Clause" ]
permissive
code-google-com/oyprojectmanager
454435604cc150c1b54ec2c54294e0fa05490f82
3085ecbe1cc04a73ec69b4848b789009546feae7
refs/heads/master
2021-01-19T02:40:56.342086
2015-01-26T16:40:00
2015-01-26T16:40:00
32,266,400
1
2
null
null
null
null
UTF-8
Python
false
false
206
py
# -*- coding: utf-8 -*- # Copyright (c) 2009-2012, Erkan Ozgur Yilmaz # # This module is part of oyProjectManager and is released under the BSD 2 # License: http://www.opensource.org/licenses/BSD-2-Clause
[ "eoyilmaz@gmail.com" ]
eoyilmaz@gmail.com
40244fa82eb22dff011a90e2107e891cc04973fb
fb6c86ea2c21bf0d338bbc3b2d5ec2e9d06ac9a4
/debug_logger.py
3e531de42be351910d4d72ca9fbba1f254c590de
[ "MIT" ]
permissive
realtwister/LearnedEvolution
6bebe802d0171ddaa5cc56006d07949686267265
2ec49b50a49acae9693cfb05ac114dfbcc4aa337
refs/heads/master
2020-03-12T05:37:27.468651
2019-01-11T14:50:40
2019-01-11T14:50:40
130,467,388
0
0
null
null
null
null
UTF-8
Python
false
false
3,516
py
import tensorflow as tf; import logging; import os; from learnedevolution.tensorboard.algorithm_logger import AlgorithmLogger; from learnedevolution.tensorboard.generator_logger import GeneratorLogger; import learnedevolution as lev; from learnedevolution.rewards.differential_reward import DifferentialReward; from le...
[ "realtwister@gmail.com" ]
realtwister@gmail.com
e622faef1504224b73d7a18120b832beeda16411
0e9b70d8d4cfb691349d47c6d787ebbe5d4389e7
/djangoapp/settings.py
533b75041d7261b3b96166dce73d8a90f2666cef
[]
no_license
klimon69/Django-project
5252c4bffdcc5c478b8c18e4249b6a825b8c65d7
20f3207728425eef7ed62efa484ca9fe9156d177
refs/heads/master
2022-09-20T15:55:51.425948
2020-06-02T17:44:49
2020-06-02T17:44:49
268,866,852
0
0
null
null
null
null
UTF-8
Python
false
false
3,113
py
""" Django settings for djangoapp project. Generated by 'django-admin startproject' using Django 3.0.6. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "aklimko@skillfactory.ru" ]
aklimko@skillfactory.ru
63530f10dc7fdc29a90fb8237fa885a8b7cc9f3b
590facf811b9ad0e55e5eafbe6a5ed796d76b521
/apps/meetup/migrations/0003_auto_20190428_1649.py
607f35d32482cdf39d2c2855c8736906f8e3ef7c
[]
no_license
wangonya/questioner_django
6193fa779121135b5c903fef599a5bc873107b52
b598d4337b3acc39adf3ef972e50f2d750376ac0
refs/heads/develop
2020-05-16T11:59:16.778797
2019-05-01T16:43:29
2019-05-01T16:43:29
183,032,935
2
1
null
2019-05-01T16:43:30
2019-04-23T14:29:33
Python
UTF-8
Python
false
false
1,083
py
# Generated by Django 2.2 on 2019-04-28 16:49 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('meetup', '0002_auto_201904...
[ "kwangonya@gmail.com" ]
kwangonya@gmail.com
d7422c79219bab4b583ae36e290c879cd38b64d2
57db07fc4cc710b8ed5603e69217ed048649e142
/EmployeeManagement/cms/views.py
a0bdbe8aa3813dcc8bdfaafc74d1f770144f618a
[]
no_license
minetake/PythonProject
f6317da658ac5a9aeea3152fd6f5e3f0b58cd862
51df61672585a2aa3c57be5e3915c06a689e366f
refs/heads/master
2021-05-04T18:14:36.882702
2018-03-05T15:16:10
2018-03-05T15:16:10
120,097,945
0
0
null
2018-03-05T15:16:11
2018-02-03T14:23:26
HTML
UTF-8
Python
false
false
158
py
from django.http.response import HttpResponse from django.shortcuts import render def hello_template(request): return render(request,'cms/sample.html')
[ "minetake@ray.ocn.ne.jp" ]
minetake@ray.ocn.ne.jp
c19206bb3fa9ce790369bf4471ac2334d1b5fb2c
939c1254636cc0e78419265286519f087aff27ff
/Code_PA2/q1/run.py
d436c10635f9fcef0ab51bb290a1c0724bd5ad3b
[]
no_license
vaibhavnayel/cs4011
6ced14aed32a8d4143d00833fbaa68731688107e
3ad508bf9a03e32d526b9e4f5869821759bab951
refs/heads/master
2021-05-15T03:24:42.795837
2018-01-27T15:23:25
2018-01-27T15:23:25
119,175,705
1
0
null
null
null
null
UTF-8
Python
false
false
3,749
py
import numpy as np import matplotlib.pyplot as plt from sklearn import metrics from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter #running linear regression without dimensionality reduction xtrain = np.genfromtxt('../../Data/DS3/train.csv'...
[ "vaibhavnayel@gmail.com" ]
vaibhavnayel@gmail.com
50be68b9ed14bc6e7cfa7d618467ffe4b3831cf6
1fc35e54ee4723cfa3d13de713895eac30616847
/baekjun/stage solve/14.sort/2750.py
5c0dafb7b9d7c5d8d8c61146fee82535d5d55b6e
[]
no_license
yhs3434/Algorithms
02f55a5dc21085c0a17d9eaec5e3ba0cbd6d651d
24d234a301077aac1bc4efbb269b41a963cedccf
refs/heads/master
2021-07-12T19:21:00.446399
2021-01-20T01:44:27
2021-01-20T01:44:27
226,431,877
6
0
null
null
null
null
UTF-8
Python
false
false
732
py
# 수 정렬하기 # https://www.acmicpc.net/problem/2750 import sys sys.setrecursionlimit(1000000) def solution(nums): quickSort(nums, 0, len(nums)-1) return nums def quickSort(arr, left, right): if left>=right: return pivot = arr[right] i = left j = left while j<right: if arr[j] ...
[ "yoonhs3434@naver.com" ]
yoonhs3434@naver.com
ab8b857f11a12924ef956794dd8bf6b7f006e0eb
ac5eb7df8515fb92071f9e0f64d1cf6467f4042d
/Python/common_sort_algorithms.py
d337581718e16665fb015d5c5a9c79554100a9d1
[]
no_license
Litao439420999/LeetCodeAlgorithm
6ea8060d56953bff6c03c95cf6b94901fbfbe395
9aee4fa0ea211d28ff1e5d9b70597421f9562959
refs/heads/master
2023-07-08T06:17:20.310470
2021-08-08T08:12:23
2021-08-08T08:12:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,997
py
#!/usr/bin/env python3 # encoding: utf-8 """ @Filename: common_sort_algorithms.py @Function: 常用的排序算法 @Python Version: 3.8 @Author: Wei Li @Date:2021-07-09 """ # 快速排序 # 左闭右闭的二分写法 def quick_sort(nums, left, right): if left + 1 >= right: return first, last = left, right - 1 key = nums[first] whi...
[ "weili_yzzcq@163.com" ]
weili_yzzcq@163.com
06e13ba179cae93d997ce9d40d2b8b69af51a2e2
241d87e329554f362dcd8f041b0917625943c98c
/fatogo_RDB/migrations/0002_auto_20181230_0645.py
daa70ac893a79865d6412c02d869441a8e283248
[]
no_license
omnyx2/Fatogo
1c0949a230823b0ef1626aeda4df853c93c22ac9
1d066f8ae80f9b96816e459c56a7c42a94a028ec
refs/heads/master
2022-02-03T00:07:44.167559
2022-01-19T09:18:02
2022-01-19T09:18:02
162,788,614
0
1
null
2022-01-19T09:18:03
2018-12-22T06:47:52
CSS
UTF-8
Python
false
false
689
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.12 on 2018-12-30 06:45 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fatogo_RDB', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "omnyx2@gmail.com" ]
omnyx2@gmail.com
ac33194bffd378e21c7449116b073668876615e6
d99ac626d62c663704444a9cce7e7fc793a9e75e
/windows_asm_dump/dump_asm.py
919d0f476a5fa34c1e8c990412b5ca361122bb57
[]
no_license
Experiment5X/CryptoFunctionDetection
3ab32d5573a249d24db1faf772721bc80b8d905d
dac700193e7e84963943593e36844b173211a8a1
refs/heads/master
2023-04-19T09:12:35.828268
2021-05-13T22:39:27
2021-05-13T22:39:27
355,299,557
1
0
null
null
null
null
UTF-8
Python
false
false
5,802
py
import os import re import subprocess from pathlib import Path from collections import OrderedDict class BinaryCollection: def __init__(self, in_directory, out_directory): self.in_directory = in_directory self.out_directory = out_directory def process_all(self, limit=500): binarie...
[ "xmeadamx@gmail.com" ]
xmeadamx@gmail.com
fb74861083c7c05217f67d3770b4226f195711b3
6a3cc4f914cc087b50105aaeab93178afeb70c53
/demo/celery_utils.py
c1db0242cf8231c2f557a6f6ef597b80f2995a7f
[]
no_license
buendiya/celery_demo
f34983d42718c91ad9492b0f5d6d0cce06b0023b
b4e76ab601ccbde0f1215cc95dc5dd15ce90bffd
refs/heads/master
2020-04-15T15:23:32.877777
2016-07-17T07:06:48
2016-07-17T07:06:48
47,396,768
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
from __future__ import absolute_import import logging from raven import Client from raven.contrib.celery import register_signal, register_logger_signal from raven.handlers.logging import SentryHandler from celery import Celery as _Celery from celery.signals import after_setup_task_logger def add_sentry_handler_to_ce...
[ "jingshuaizhen@haomaiyi.com" ]
jingshuaizhen@haomaiyi.com
9865b88c475ace4758d045e6cc6381d76023a4f4
0eb47df15f00b98688e15cc29304c984e3ea8131
/ucsgnet/ucsgnet/net_2d.py
ffc4ec7a510345d6d7df3e0ada6d80caccb3c882
[ "MIT" ]
permissive
kacperkan/ucsgnet
b7570a40d76f6472b9889ffdd523ec7f2bb176ec
c13b204361e59c5b92a7983e929305e17a906b65
refs/heads/master
2023-01-21T21:30:25.563317
2020-11-25T09:15:19
2020-11-25T09:15:19
270,302,702
31
7
null
null
null
null
UTF-8
Python
false
false
14,840
py
import argparse import typing as t from collections import OrderedDict, defaultdict import numpy as np import pytorch_lightning as pl import torch import torch.optim as optim import torchvision from torch.optim.optimizer import Optimizer from torch.utils.data import DataLoader from ucsgnet.common import THREADS, Trai...
[ "kacp.kania@gmail.com" ]
kacp.kania@gmail.com
e341b10365879ae8db5489b7764144b40ca6dff3
279d3252b0275562ed43a4d978b4cdd27269b0a7
/knn.py
50ed87c3eaac50390d6ee8d694c94e3668d3da06
[ "BSD-3-Clause" ]
permissive
rishabhjain16/Machine-Learning-1
02d45879fae5f8934687976a58d7179fe15b175a
69d858a29e6516b6913ff2b41acd3f9d62ba5115
refs/heads/master
2022-07-11T01:53:26.385406
2020-05-17T20:30:29
2020-05-17T20:30:29
264,460,595
0
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
# -*- coding: utf-8 -*- """ @author: Rishabh Jain """ # Importing the libraries import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns # Importing the dataset dataset = pd.read_csv('hazelnut.csv') X = dataset.iloc[:, [0,1,3,4,6,7,8,9,10]] y = dataset.iloc[:, 11].v...
[ "noreply@github.com" ]
rishabhjain16.noreply@github.com
6b1a7d1059f1835517ce19b8a3246538105ed4a5
bbea1678dbf015dcb31f844e9a632f18df101cb1
/InsertInOrderAndInsertionSort.py
27b9193e3c24682943671121ec26d1b981510337
[]
no_license
aidanrfraser/CompSci106
e6597e326da890d42feea8ce70ce640b571322cf
1e905a8b1cdc019cb79991f4aaa116fa5c18ecc9
refs/heads/master
2020-09-13T00:23:02.126036
2020-08-25T23:51:04
2020-08-25T23:51:04
222,604,255
1
0
null
null
null
null
UTF-8
Python
false
false
792
py
from cisc106 import assertEqual def insert_in_order(n, alist): """ Inserts n into its respective place in alist """ if not alist: return [n] else: if n < alist[0]: return [n] + alist else: return alist[0:1] + insert_in_order(n, alist[1:]) ...
[ "54653789+aidanrfraser@users.noreply.github.com" ]
54653789+aidanrfraser@users.noreply.github.com
09b65d768f9b9686b72cd9958c1122f6bc4e66af
b7efe6df88602633e63c4e615db9af22d679241d
/Chapter3-loading_displaying_and_saving/load_display_save.py
2ceec2ca6baad96079467a26fb4915f1b716c1ea
[]
no_license
amuLee/PPoa
042bc8adde9abc60207006b8da04003e23b5bd4c
65d3a9a47a3e4536646d8c3f79aac26da00c4b24
refs/heads/master
2020-05-20T05:23:28.704216
2019-05-15T09:16:22
2019-05-15T09:16:22
185,402,360
1
2
null
null
null
null
UTF-8
Python
false
false
472
py
from __future__ import print_function import argparse import cv2 ap = argparse.ArgumentParser() ap.add_argument("-i", "--image", required=True, help="path to the image") args = vars(ap.parse_args()) image = cv2.imread(args["image"]) print("width: {} pixels".format(image.shape[1])) print("height: {} pixe...
[ "leeamu340@gmail.com" ]
leeamu340@gmail.com
c3eef6d5636fc89030c505b2336108a8410143d5
c841ccb89033f31f483366db61eb743ae5893bb4
/x_arrary_test.py
0db5e2967645f0769f85eb6a1ec8e403cbf951a3
[]
no_license
kenneth-meyer/deepdishdata
1ddf2a1cc7110b674feac0b4d4d33858c36bf8db
418a95853c64d91ad80729ce3924258bcb2083ff
refs/heads/master
2020-09-13T13:27:15.125327
2019-11-21T00:02:37
2019-11-21T00:02:37
222,797,562
1
0
null
null
null
null
UTF-8
Python
false
false
127
py
import pandas as pd data_df = pd.read_csv("/home/d3/deepdishdata/AoT_Chicago.complete.recent.csv") print(data_df.head(50))
[ "d3@deepdishdata-3423-wd-login.c.cloudycluster19-den-2253.internal" ]
d3@deepdishdata-3423-wd-login.c.cloudycluster19-den-2253.internal
b6f72bb86b3a305dc12f17daf5ed00670c12a129
485b781c6000259f4f27a9380e75ef76b04dd79d
/tests/expectdata/statements/load_stockrow_cat_quarterly.py
0ea5ee39e665b3c4d3c63adda507d1df4f0a1294
[ "MIT" ]
permissive
azafrob/py-finstmt
5858693d2d78647c69dff46802d56a4e143ca9e1
7903bce83b31e4425ac680020bf7d3536ed1ed11
refs/heads/master
2023-08-25T02:39:50.898489
2020-12-30T22:57:10
2020-12-30T22:57:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,768
py
import pandas as pd LOAD_STOCKROW_CAT_Q_INDEX_str = ["2009-12-31 00:00:00", "2010-03-31 00:00:00", "2010-06-30 00:00:00", "2010-09-30 00:00:00", "2010-12-31 00:00:00", "2011-03-31 00:00:00", "2011-06-30 00:00:00", "2011-09-30 00:00:00", "2011-12-31 00:00:00", "2012-03-31 00:00:00", "2012-06-30 00:00:00", "2012-09-30 0...
[ "whoopnip@gmail.com" ]
whoopnip@gmail.com
736142527e57ae2aceb8960a4ea6a9487e7e21fe
2fb22b9c1389a358ab1f9d4a66aca41331e63d35
/core/filters.py
1a755242523255ccb3dd0b61385fa8d749d1a9c2
[]
no_license
hoangnammkt/EcommerceDjango
3e42f78e023b0c081732254bbd7aa26b3351c035
f15e94bd191936e3441a54098c7a24bdff77d885
refs/heads/master
2023-06-24T03:49:27.948248
2021-07-23T03:06:52
2021-07-23T03:06:52
355,046,985
1
0
null
null
null
null
UTF-8
Python
false
false
360
py
import django_filters from .models import * class ProductFilter(django_filters.FilterSet): class Meta: model = Product fields = { 'brandname', 'socket', 'seriescpu', 'memory_type', 'capacity', 'screensize', 'resolu...
[ "hoangnam921@gmail.com" ]
hoangnam921@gmail.com
5e4ee90a3ca26719d300c5e9032f7fd9c673031c
ff63af0035b0b3688a66b48bf3c209a3e0dbc5aa
/spambayes/spambayes/core_resources/help_gif.py
4649b7f776eb05a9e728f2fa8bef227f2e37c97f
[ "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
smontanaro/spambayes
87767433d2d12de390a2e7204ceb2fa641f209d5
8ae169fde78371780019db5b7b7acfb4950bab8f
refs/heads/master
2023-06-25T06:43:25.595642
2023-06-12T17:51:55
2023-06-12T17:51:55
8,049,522
13
20
null
2021-04-05T21:20:23
2013-02-06T10:53:49
Python
ISO-8859-5
Python
false
false
2,246
py
# -*- coding: ISO-8859-1 -*- """Resource help_gif (from file help.gif)""" # written by resourcepackage: (1, 0, 0) source = 'help.gif' package = 'spambayes.resources' data = "GIF89a\026\000 \000ї\000\000\000{ї\000„ї\010„ї\020„ї\020Œї\030Œї!Œї!”ї)”џ1œџ9œџBœџR­џZ­џcЕџkЕ\ џsЕџ{Нџ„Нџ„ЦџŒЦџœЮџЅЮџЅжџ­жџЕжџНоџЦоџжчџжяџџџџџџџџџ...
[ "montanaro@users.sourceforge.net" ]
montanaro@users.sourceforge.net
f9f574a4d00a771aa40f9ddee1222b2e1cf2f25b
f693c9c487d31a677f009afcdf922b4e7f7d1af0
/biomixer-venv/lib/python3.9/site-packages/pylint/checkers/refactoring/recommendation_checker.py
b1175f03e03853db4ae7d542287abf40d715df6b
[ "MIT" ]
permissive
Shellowb/BioMixer
9048b6c07fa30b83c87402284f0cebd11a58e772
1939261589fe8d6584a942a99f0308e898a28c1c
refs/heads/master
2022-10-05T08:16:11.236866
2021-06-29T17:20:45
2021-06-29T17:20:45
164,722,008
1
3
MIT
2022-09-30T20:23:34
2019-01-08T19:52:12
Python
UTF-8
Python
false
false
4,749
py
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/master/LICENSE import astroid from pylint import checkers, interfaces from pylint.checkers import utils class RecommendationChecker(checkers.BaseChecker): __implements__ = (inter...
[ "marcelo.becerra@ug.uchile.cl" ]
marcelo.becerra@ug.uchile.cl
f0604ffc282782d11dd705590c81cce0149c6988
d089f7fb112076861cbf7d40b9a18859890fcebe
/common/utils.py
1e25769551e33bb5d12f94db4539a374dcb60233
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
hctwgl/cmp
900e6b9cbafcd0c02e467f2141b51ebf0965c3df
6d6236ab8c24768373a483c5d0836263d08e5852
refs/heads/master
2020-05-03T15:34:36.823458
2018-12-08T04:55:44
2018-12-08T04:55:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,440
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云(BlueKing) available. Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obt...
[ "yangwu@tyun.cn" ]
yangwu@tyun.cn
3b6b5659eb0d0fdc61d6ad5674f95e90737703a9
0148a4a10bff695045f7956c11c34cfec7a2a148
/arcade/python/caravan_of_collections/46.py
cd37d8543a7c4ba38cc430c3ea30e6388d0aca93
[]
no_license
pdsmith90/codesignal
bd6e0e8dd511451dff757db68d288f88681d2e7a
9bd732584587e422036e2ffd9350cac8b99c609e
refs/heads/main
2023-04-15T22:40:40.173205
2021-04-26T20:04:12
2021-04-26T20:04:12
356,585,580
1
1
null
null
null
null
UTF-8
Python
false
false
221
py
from collections import deque def doodledPassword(digits): n = len(digits) res = [deque(digits) for _ in range(n)] deque(map(lambda x: res[x].rotate(-x),range(len(res))), 0) return [list(d) for d in res]
[ "noreply@github.com" ]
pdsmith90.noreply@github.com
0845b6e84d193784730fba1c21ceac9fbba13673
9a2215d856191dc5325281da4bd780923d882600
/combinations.py
a645aaf48fec506efec9d35b9a2cdd5ce10d8b58
[]
no_license
ciscprocess/leetcode-problems
7fe8ed2b9fac155b41ea15b97ea739b6f8879289
dbbeb782fa72a30ab6c62dad89d4cee46d53e2cb
refs/heads/master
2021-01-23T22:15:13.405808
2015-01-21T00:05:21
2015-01-21T00:05:21
29,561,399
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
__author__ = 'Nathan' class Solution: # @return a list of lists of integers def combine(self, n, k): pass def step(self, depth, n, k): for i in range(depth, n): pass def main(): print 'hi' if __name__ == "__main__": main()
[ "ciscprocess@gmail.com" ]
ciscprocess@gmail.com
4ebd87e5c2ce79ca2cb99a93d6f23de47520a7f0
af98da80f355fd75c6edfe76feb6806b8adba6a9
/pytorch-pretrained-BERT/make_data.py
bb69d729bfcf71d425ca02601f507acb72a49147
[ "Apache-2.0" ]
permissive
dzhao123/exp
4d2fe39c33785eb15893bc4ae3eea12f2067b83e
aef8152127d3f1f6671310d942fca78bea0d46e3
refs/heads/master
2022-10-19T16:04:58.074873
2019-07-08T13:27:32
2019-07-08T13:27:32
182,865,478
0
1
null
2022-10-03T00:08:00
2019-04-22T20:47:21
Python
UTF-8
Python
false
false
1,341
py
from pytorch_pretrained_bert import BertTokenizer tokenizer = BertTokenizer('/work/ececis_research/Manning/uncased_L-12_H-768_A-12/vocab.txt') def trans(txt): #print(txt) return tokenizer.convert_tokens_to_ids(tokenizer.tokenize(txt)) def make_data(line): #for line in data: #line = line.strip('\n')...
[ "zhaodimcmc@gmail.com" ]
zhaodimcmc@gmail.com
47633761925b05cb7b78e248675293d5b8f9b673
c74c907a32da37d333096e08d2beebea7bea65e7
/kaikeba/cv/week6/Week 6 coding/model/network.py
0d65271f2868c98a4052e0036c292fdbae18f056
[]
no_license
wangqiang79/learn
6b37cc41140cc2200d928f3717cfc72357d10d54
e4b949a236fa52de0e199c69941bcbedd2c26897
refs/heads/master
2022-12-25T06:24:39.163061
2020-07-13T15:43:13
2020-07-13T15:43:13
231,796,188
2
2
null
2022-12-08T07:03:05
2020-01-04T16:45:33
Jupyter Notebook
UTF-8
Python
false
false
1,057
py
import torch.nn as nn import torchvision.models as models from model.module import Block, Bottleneck, DownBottleneck, Layer #pytorch Torchvision class ResNet101v2(nn.Module): ''' ResNet101 model ''' def __init__(self): super(ResNet101v2, self).__init__() #下采样2倍 self.conv1 = Bl...
[ "wang20100226@outlook.com" ]
wang20100226@outlook.com
67b5e8386db8e4569b1d1edacc6de547975d3b74
af626ade966544b91fbfe0ea81fc887f1b8a2821
/qa/rpc-tests/python-bitcoinrtxrpc/setup.py
fdfe9d34717f62f28824291c40f42b658d4ca311
[ "MIT" ]
permissive
kunalbarchha/bitcoinrtx-old
91f2b36a50e009151c61d36e77a563d0c17ab632
42c61d652288f183c4607462e2921bb33ba9ec1f
refs/heads/master
2023-03-13T22:46:36.993580
2021-03-04T13:01:00
2021-03-04T13:01:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python2 from distutils.core import setup setup(name='python-bitcoinrtxrpc', version='0.1', description='Enhanced version of python-jsonrpc for use with Bitcoinrtx', long_description=open('README').read(), author='Jeff Garzik', author_email='<jgarzik@exmulti.com>', ma...
[ "kunal@coinrecoil.com" ]
kunal@coinrecoil.com
e464341de923718bbbaa1488a84683873c713a8e
e735a31f57bf6a7e0fe46c5819ccd5582a9dd610
/BackFrontInterface.py
8dd37b3027eda00999404b5e77f06c11ac5824e6
[]
no_license
LucaFiume/PWScale
91a81d75727b7ac071289241f7935f38a63c78d8
9ce67a0119225c7faed8191dac3f388d6d8a3cba
refs/heads/main
2023-02-27T01:39:55.426071
2021-01-28T08:25:47
2021-01-28T08:25:47
333,689,060
0
0
null
2021-01-28T08:07:58
2021-01-28T08:07:57
null
UTF-8
Python
false
false
3,947
py
from flask import Flask, request, jsonify from Tester import Tester app = Flask(__name__) testers = {} previousType = {} questionCount = {} questionsAsked = {} finished = {} """This script intends to apply Flask for an integration between a Javascript frontend and this Python App. This app should be used as follows: ...
[ "alvarotomasasv@gmai.com" ]
alvarotomasasv@gmai.com
a54826ebaa280ca23aad774cb3f6aec445632e62
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2561/60639/261665.py
65b5061f633e844981dc12f1881df53161da5a40
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
446
py
def solution(n,x,arr1,arr2): sum=0 for i in range(n*n): if x-arr1[i] in arr2: sum+=1 else: continue print(sum) t=int(input()) for i in range(t): inp=input().split() n=int(inp[0]) x=int(inp[1]) arr1=[] arr2=[] for i in range(n): arr1+=l...
[ "1069583789@qq.com" ]
1069583789@qq.com
3fa7693640d499ad3cc3b2d1aca80224ca920b45
81e01b2daa052adf44380d3224bdbfd023d01118
/chapter3-stacks-and-queues/3.5.py
a2370c7a59d997bc1fa24cb1450c7d2930cf507f
[]
no_license
yuanxu-li/careercup
888dbea43e4e91267c42683ae74b6ab56e27c2a1
d28ea71a1a5aaa97b23e23bb04c84aaa5f590a78
refs/heads/master
2021-01-10T00:56:45.710856
2016-03-28T00:58:47
2016-03-28T00:58:47
43,286,008
0
0
null
null
null
null
UTF-8
Python
false
false
2,309
py
# 3.5 Sort Stack: Write a program to sort a stack such that the smallest # items are on the top. You can use an additional temporary stack, but # you may not copy the elements into any other data structure (such as # an array). The stack supports the following operation: push, pop, peek, # and isEmpty. class StackNode...
[ "yuanxu.lee@gmail.com" ]
yuanxu.lee@gmail.com
5b8ac0baacc647c51ca2b8b194dd89a41db30913
35a0ebfa46bb9aab662a5bc23b6e6375751327b9
/exercise1/low_order_cycle_lengths.py
99fce4bc8f4a4ac878bec8630f7db4caec0a89d0
[]
no_license
46bit/entropy-practical
bae486efa29c04660cc8b5097ccfa7041ec757ba
5fe6c19d2c89c3067a15fc5d23866fcf3cc028b9
refs/heads/master
2021-05-01T20:33:06.641717
2016-11-09T02:16:37
2016-11-09T02:16:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
from cp_randomness.exercise1 import LCG, LCGS # Implement find_low_bits_cycle using the hints it contains. # To run this file and see your calculated cycle lengths, run # python3 low_order_cycle_lengths.py # To check your results, run the tests # python3 low_order_cycle_lengths_test.py def find_low_bits_cycle(low...
[ "hi@46b.it" ]
hi@46b.it
6c8789550af13191f5d64b9eb7d8bbbced53484a
d2f6140a45b234711c0b6bce9ab98c9468d6041e
/homework/2014-20/similar_hw_3/HenryRueda_primos.py
d98f69dad28fbfccad7005e984d6a50995f81e42
[]
no_license
ComputoCienciasUniandes/MetodosComputacionalesDatos
14b6b78655ed23985ecff28550934dec96f6373b
ecc7c21ca13a3b7bbdc7a8ef5715e8c9bf6e48cf
refs/heads/master
2020-04-10T14:17:03.465444
2017-06-09T15:02:57
2017-06-09T15:02:57
12,526,572
0
8
null
null
null
null
UTF-8
Python
false
false
1,369
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys,math if len(sys.argv)<2: print('\nNo hay suficiente información\n'.format(sys.argv[0])) sys.exit(0) Maximo=1000000 n=int(sys.argv[1]) if n<0: print('\nEl número ingresado es negativo\n'.format(Maximo)) if n == 0: print ('\n{} no es un...
[ "j.e.forero.romero@gmail.com" ]
j.e.forero.romero@gmail.com
7a5957ca47ce221a260a0e4b81b01764c18e7f4c
8679994dc5328d588d0f9c4a03a6f659775cfe4b
/testscripts/emptylogin.py
d2f4b57495a7c02cf35864e05b15d002b6c4fd03
[]
no_license
TheMysteryofDoom/houseblog
b65881bb995760e58101e2ff6aee6092e7109953
4f481938d6b25b2d69661f3504238f7a8f515d0e
refs/heads/master
2020-05-15T12:39:15.674194
2019-05-25T14:24:38
2019-05-25T14:24:38
182,272,702
2
1
null
2019-05-25T09:22:29
2019-04-19T13:57:38
Java
UTF-8
Python
false
false
314
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys import string #Charles Ricky Villarin - SE41 driver = webdriver.Chrome() driver.get("localhost:8080/login") loginbtn = driver.find_element_by_id("login") loginbtn.click() driver.save_screenshot('error-emptylogin.jpg')
[ "noreply@github.com" ]
TheMysteryofDoom.noreply@github.com
d1c92acbcebd8f85a1f1734625261cf949103442
77fa042cadaf9d5fd8afcb9864311fb1bad7602f
/lab04/src/ice/Bank_ice.py
32b67cceaad45092661188c509756d9951cf334c
[]
no_license
konrad2508/distributed-systems-lab
96873faa2a0619328d7aa1190937836192aa892f
2c1531a0237ccaab601ef0c137b84528696d7f8b
refs/heads/master
2023-07-30T04:48:46.506011
2019-06-03T21:40:19
2019-06-03T21:40:19
174,689,130
2
0
null
2023-07-05T20:56:35
2019-03-09T12:04:24
Python
UTF-8
Python
false
false
18,936
py
# -*- coding: utf-8 -*- # # Copyright (c) ZeroC, Inc. All rights reserved. # # # Ice version 3.7.2 # # <auto-generated> # # Generated from file `Bank.ice' # # Warning: do not edit this file. # # </auto-generated> # from sys import version_info as _version_info_ import Ice, IcePy # Start of module Bank _M_Bank = Ice.o...
[ "konrad1997@gmail.com" ]
konrad1997@gmail.com
2e8b7dc96dc9fea6cd98624dca6cf79be8d7aacb
0f8fee33880b5625def82350b3cec70fbcca6470
/player.py
8925a902369c20bb36053d5c54932836ee9f63f6
[ "MIT" ]
permissive
bastinat0r/webaudio
1aa37c0f37eef7923eb21fc7e92763331be70fbf
185c0c164ec3b8304a5f115a94bde8a281eb467b
refs/heads/master
2021-01-01T05:30:28.529045
2014-03-10T12:08:18
2014-03-10T12:08:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,463
py
import mplayer import youtube from time import sleep import threading import sys import audiourl import argparse class Player(threading.Thread): """Docstring for Player """ def __init__(self, playlist=[], paused=False, pulse=False): """""" self._playlist = [] for entry in playlist: ...
[ "bastinat0r@bastinat0r.de" ]
bastinat0r@bastinat0r.de
2f0f6d17bc0837a0cf08c9ec5743e93ced6d825e
c771d2ca8f7e1744a0e3a7deb9c88596871b63bc
/semana1/dimensoes_matriz.py
0193c4f8a9da83329b4306d556fec129634ef500
[]
no_license
r25ta/USP_python_2
9acf49ab02b5c0222eadc10710d914b90b64cd6e
101ab95734713a17b255cb5825679c3f9bb5bc85
refs/heads/master
2023-07-14T22:49:34.158627
2021-08-16T23:54:16
2021-08-16T23:54:16
377,664,374
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
def dimensoes(matriz): linhas = 0 for l in range(len(matriz)): colunas = 0 for c in range(len(matriz[l])): colunas += 1 linhas += 1 print(f"{linhas}X{colunas}") def main(): matriz = [[1,3,2],[3,1,4]] dimensoes(matriz) main()
[ "twentyfive@hotmail.com" ]
twentyfive@hotmail.com
07d214b22b6821a929c66b84c868ee1c7a506e58
cb8d5308290f806531c72fcd3b59cee70c8ea8cd
/Shortest Job First.py
f9dbc25e6baf352c97a9820f51b202072b345fdd
[]
no_license
SohaibSaqib1/OSAssignments
8bc8f4e5acd8f4f8bb7c909e43e1f5abc3f3e273
d3101777be8a107a9137fb0e6c966a657f178523
refs/heads/master
2020-04-01T15:14:45.429584
2018-11-29T18:56:11
2018-11-29T18:56:11
153,328,118
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
process =[] b_time = [] a_time = [] f_time =[] w_time =[] sum =int(0) print "No. of processes" n = input() print "Arrival time is set at 0 for every process" a_time = [int(0) for i in range(n)] print "Burst time of the processes" b_time = [input() for i in range(n)] for i in range(n): for j in range(n-...
[ "noreply@github.com" ]
SohaibSaqib1.noreply@github.com
7822c1401b53a59962d8ff2c9a319e87026d1b5d
db9cb3f04dc6d0bdf5f78b7e627ee39201367ace
/loop_vs_array.py
66dd66d1001e8e09a659c08a53574fcc1ca222e6
[]
no_license
rometsch/cplab-hydro
21a350540d9f5f658f567d64b58f94881231b869
7d2f48f9d953fac5530fe8eb9c03d03438436113
refs/heads/master
2021-01-12T11:08:43.575091
2016-11-21T13:11:22
2016-11-21T13:11:22
72,847,964
0
0
null
null
null
null
UTF-8
Python
false
false
2,414
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 4 14:57:23 2016 @author: thomas """ import matplotlib.pyplot as plt import advection def initial_function(x): if (x<-1./3 or x>1./3): return 0.0; else: return 1.0; # Make sure upwind 2nd order with loop calculation # yields same re...
[ "thomas.rometsch@gmail.com" ]
thomas.rometsch@gmail.com
cb092a7db01072d77bb3556bad1a1807f4173a38
f7489d73004d03969480064e79e2c82b90ad2d08
/wordcount/views.py
063b5479165cea4a1f6e332f5ea8522be048b583
[]
no_license
toppixx/wordcount-project
24202847ef3e0fdab951a7791adf80ffea7da93a
4da860c6a78fb6c1e9a38efeb718f291a044e48a
refs/heads/master
2020-03-10T14:09:22.552546
2018-04-13T15:04:15
2018-04-13T15:04:15
129,418,906
0
0
null
null
null
null
UTF-8
Python
false
false
1,372
py
from django.http import HttpResponse from django.shortcuts import render import json import operator def home(request): return render(request, 'home.html') def count(request): #aboutButton = request.GET['aboutButton'] #if aboutButton == 'submit': # return render(request, 'about.html') #body_unic...
[ "TobiasFaller@gmx.de" ]
TobiasFaller@gmx.de
89a58ddac413e0ea9c52c55fd7696271ee2a5528
3b573ec069cf956eede20af6f931d7fac5677348
/Modulo1-2/Basicos/resta.py
cff943c69c6ff7210616eb54a214530767e6e742
[]
no_license
codeevs/PythonLearn
5a05672c4f40be576f387630d13579e41ec450a5
040c4ba2ab8cdf7f463ab64cbcf4197624581023
refs/heads/master
2022-11-24T05:27:06.297276
2020-07-31T01:37:14
2020-07-31T01:37:14
283,914,117
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
#El símbolo del operador de resta es obviamente - (el signo de menos), sin embargo debes notar que este operador tiene otra función - puede cambiar el signo de un número.# print(7 - 8) print (-4 -4) print(-1.-1)
[ "eval.sanches@gmail.com" ]
eval.sanches@gmail.com
30d7469399b92616e07ca3c05680f37c5bb243e6
a829f2bc751b3038171177276611df0c889ba13e
/adv_contructs/decorators_std_lib/classmethod.py
445dc4c0d4288c24c2c0beda3db6a64575df94eb
[]
no_license
karthikarun119/python
e5b7a268c2ddb72ac8fca160f5377bd8331a9cc1
b8da90cb5324658264d5d229584685d54bff9371
refs/heads/master
2020-04-08T19:20:42.972387
2018-12-04T13:13:30
2018-12-04T13:13:30
159,651,132
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
import numpy class Array(object): def __init__(self, data): self.data = data @classmethod def fromfile(cls, file): data = numpy.load(file) return cls(data)
[ "karthikarun119@gmail.com" ]
karthikarun119@gmail.com
92bfb3c53ed15e6c59d7c0e88d1657aa55f993b6
5af6f7248b081a4df03f32a425da9f1d04c9af8a
/australia2.py
af3d18ce966c2a4924933bf7c7514b59c33cb2b2
[]
no_license
beginnerHB1/Invoice_extraction
15c58a8587fc3b332f95dd193d824895b7cb59ae
ac77f143de04b2554c2630985aa78e8cf872c852
refs/heads/master
2022-12-24T11:01:28.856063
2020-10-01T10:53:01
2020-10-01T10:53:01
296,529,319
0
0
null
null
null
null
UTF-8
Python
false
false
6,074
py
import pdftotext import re def find_regex(text): dct = {} for i in text.split("\n"): if "TAX INVOICE" in i: invoice_num = i.split("TAX INVOICE")[-1].strip() break elif "COMMERCIAL INVOICE" in i: invoice_num = i.split("COMMERCIAL INVOICE")[-1].strip() ...
[ "noreply@github.com" ]
beginnerHB1.noreply@github.com
315d7331d97e823173a175eadf6825e3f48c6a3a
753e660acd0ce36caf52867d53eb8d10f67aac45
/Djikstra.py
671f643c03a420cf6d864ec950dcd6ec620bd7ed
[]
no_license
vedantshetty/ZIP-Distance-Calculator
e269031c50d60dd14a613b11b41fc449bee499c8
ee4788df264e6613a76498557376a5564e1eed5a
refs/heads/master
2020-04-03T14:32:31.533667
2018-10-31T04:31:40
2018-10-31T04:31:40
155,325,240
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
from collections import defaultdict class Graph: def __init__(self): self.nodes = set() self.edges = defaultdict(list) self.distances = {} self.times = {} #function to add graphs in a node def add_node(self, value): self.nodes.add(value) #function to build edges in a graph def add_edge(self, from_node,...
[ "vshetty.vs@gmail.com" ]
vshetty.vs@gmail.com
0680719e6df43f1672f7fe9872d0c7ee24994ecd
33baed525c0844f45fb863f847a5351d43049e19
/generator_de_parole/settings.py
9c9dc707078e4249f8ab44696cc23dd7c315bccc
[]
no_license
DugheanaSebastianAdelin/Password_generator
1c2b55ceeb7a3e0ec8ee8db90de8a42d96c978cc
2e4c33b1f92cfc012d1274d91ac129e96cbf1b30
refs/heads/master
2022-12-23T05:53:38.161049
2020-09-19T20:32:41
2020-09-19T20:32:41
293,531,180
0
0
null
null
null
null
UTF-8
Python
false
false
3,198
py
""" Django settings for generator_de_parole project. Generated by 'django-admin startproject' using Django 3.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ fr...
[ "dugheanasebastianadelin@gmail.com" ]
dugheanasebastianadelin@gmail.com
4e63ec6e11a2930a2f2777279a9b9d37db8a763a
8ed6c124bc994a9339d43081280164f66b0ce0cf
/prob25.py
d466dfa5c7e1bd3ef4b9a7e54c8b987d7180385a
[]
no_license
ritwik95/Project-Euler
0d9c40e5f0c4f44df6c929dc894f96053793be82
739f530c68428de8ad0c2447df56370b8b07a95a
refs/heads/master
2021-01-01T18:11:56.427908
2015-03-13T18:35:14
2015-03-13T18:35:14
32,172,920
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
a,b=0,1 list=[] while len(str(b))<1000: a,b=b,a+b list.append(b) print len(list) print len(str(1253764))
[ "ritwik13079@iiitd.ac.in" ]
ritwik13079@iiitd.ac.in
d43fe1f462f31569bfc7f29fc9640febc6060e29
581dec25eb1fbd6951d67451a7c04025365f22e9
/MeanShift Detector/detector.py
2926ef04b754fcd396a8f24ec9b586bd67ce36a1
[]
no_license
MrLebovsky/Course-Project-CV
c682c89b00657c80f8d3b8440a116060dfbfefc5
3dbaf4eb3a53a1ace7cd8e4bd999e40808969208
refs/heads/master
2020-05-15T22:13:30.153400
2019-04-25T12:12:37
2019-04-25T12:12:37
182,520,871
0
0
null
null
null
null
UTF-8
Python
false
false
4,473
py
#Идея алгоритма: разобьем изображение на кластеры #Найдем дескрипторы, которые принадлежат i-му кластеру #Замэтчим дескрипторы текущего кластера с эталоном. Хорошо мэтчится? Там объект! import cv2 from matplotlib import pyplot as plt MIN_MATCH_COUNT = 100 img1 = cv2.imread('images/my/etalon.jpg', 0) # эталонное изо...
[ "roma00712@gmail.com" ]
roma00712@gmail.com
cc8955245f1cc644c37bd057694467e385b10688
81dadecf40ea7eb46ebf6f536c615766fb767775
/boilerplate/repositories/blacklist.py
0e1b558f38b90cd6fb361e7dd3c032c171715540
[]
no_license
huunghia98/flask-login
4f0f1787d2133ae88d81d419852c29f69a54b139
11a278bd5eb9f0cf04d972522d164a892f2e0bc1
refs/heads/master
2020-05-18T13:04:51.747403
2019-08-07T10:12:08
2019-08-07T10:52:58
184,427,243
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
from boilerplate import models as m from .user import get_one_user_by_email_or_username def save_user_to_blacklist(**kwargs): try: u = m.Blacklist(**kwargs) m.db.session.add(u) m.db.session.commit() return log except: print("Can't save user to blacklist") def get_user...
[ "nguyenhuunghia295@gmail.com" ]
nguyenhuunghia295@gmail.com
ebbe58a0f10c7c76cb094aecaf73d95b6eda6250
8b2361cbccbe13cf9aa914b94824b4f389316cc5
/twatter/database/utils.py
1a353da70c05666c37120696c76f7b47b7740257
[ "MIT" ]
permissive
sorja/twatter
5903c057fcff551808511bf11ca501273a4bf781
fa0ec8bb100507394db8cf412a7b81f4f0b163b3
refs/heads/master
2021-01-17T18:24:38.226563
2016-10-26T11:22:37
2016-10-26T11:22:37
67,942,462
1
0
null
null
null
null
UTF-8
Python
false
false
4,360
py
import psycopg2 import psycopg2.extras from ..models.user import User from twatter import config def get_connection(): return psycopg2.connect(config.db['db_string']) #GET STUFF def get_one_with_id(table, id): assert table assert id query = "SELECT * FROM {} WHERE id = %s".format(table) conn = ps...
[ "miro.sorja@gmail.com" ]
miro.sorja@gmail.com
100cc4423e0541652df26c26743f481b6d4a2d9e
1c6d8bc7876d4f034d8b671ee0f1e3bc5d13ac05
/3DUnet_attention/backup_model.py
d3a668d39e498cce4a57d25ea00c5b6d222d3935
[]
no_license
DinhHieuHoang/DAM-AL
29ddcb98616e49c5e7f57f38897c5148bb2ccd6e
57d07387243e5b85cdaa079347019bd718c890fa
refs/heads/main
2023-09-04T00:30:18.746352
2021-11-11T03:07:51
2021-11-11T03:07:51
420,787,902
1
0
null
null
null
null
UTF-8
Python
false
false
33,639
py
from keras.models import * from attention import * from bilinear_upsampling import BilinearUpsampling, BilinearUpsampling3D import tensorflow as tf from tensorpack.tfutils.scope_utils import auto_reuse_variable_scope from tensorpack.tfutils.summary import add_moving_summary from tensorpack.tfutils.argscope import...
[ "noreply@github.com" ]
DinhHieuHoang.noreply@github.com
347e50e12b8769ef432ef42169ec2bef2a6ddd96
b252d0cb253aa216b435469ad5be07ac0050c2e4
/spec/Muraille.spec
4648fd2dd391d6251bd25df2fe1012903c8767c5
[]
no_license
dziry/CPSWarcraft
1c79353d2ff3670621b3584195393ff52f7e5b33
709b4b3a7fc154d78e0cd5e69a145f07563f2936
refs/heads/master
2021-05-29T10:46:14.706414
2015-06-22T18:27:02
2015-06-22T18:27:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
658
spec
Muraille service : Muraille refine : Terrain observators : pointsDeVie : [Muraille] → int estDetruite : [Muraille] → int Constructors : init : int × int × int → [Muraille] pre init(largeur,hauteur, pointsDeVie) require largeur%2=1 ∧ hauteur%2=1 ∧ largeur > 1 ∧ hauteur > 1 ∧ pointsDeVie>0 Operators : frappee :...
[ "larbiyoucef.mohamed@gmail.com" ]
larbiyoucef.mohamed@gmail.com
c14137e9752ea6d63b4176c7c0ea538b39e6814d
515f1da38c6d33c9cf8597b037bbf4e8c9ee615d
/py_practice/13_01_2020_Duck_Typing_in_Python/Exception_example.py
cf74fa19c020b15e7af111bf6e69a199a47ebda1
[]
no_license
patelvini13/python
776be39f2f733d4d82cb0e219ef4587e01e7960a
66a2f4cf9e2bb02149fe9ee1554ca67293ea02c8
refs/heads/master
2021-01-02T00:29:13.752439
2020-02-10T02:38:57
2020-02-10T02:38:57
239,411,540
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
def exception_func(): """exception handling in python""" try: f = open("exception_file.txt","r") except: # raise Exception ("FileNotFoundException") print("FileNotFoundException occurs while opening a file!!") else: print("File open successfully.") finally: print("Done!") exception_func() ...
[ "noreply@github.com" ]
patelvini13.noreply@github.com
74d24489bae3d44f5ab306ac3571c32915f1f4c2
65099340ea576c4872627ac5e1ab1b7ac063a55d
/cup/shell/oper.py
dfd29f9b214ddf89e161591caf4b4c6e74cdbb0e
[ "Apache-2.0", "MIT" ]
permissive
lotapp/CUP
e8e1dd576639006f481402ab81f21283c66e1acd
c3b3d4cdc2627a0fecbfecc6adaaa6670ac73a1c
refs/heads/master
2020-04-11T17:45:15.771994
2018-12-16T06:15:36
2018-12-16T06:15:36
161,972,903
0
0
NOASSERTION
2018-12-16T06:04:36
2018-12-16T06:04:34
null
UTF-8
Python
false
false
22,267
py
#!/usr/bin/python # -*- coding: utf-8 -* # Copyright: [CUP] - See LICENSE for details. # Authors: Zhao Minghao, Guannan Ma """ :description: shell operations related module """ import os import time import sys import shutil import signal import random import hashlib import platform import warnings import datetime ...
[ "maguannan@baidu.com" ]
maguannan@baidu.com
510b53b63d95c89119527ad6b488ba97bd782baf
8862a4405df395c88ec79167c580648462668e71
/Test.py
1f7e7949335f34c1935043dbe10dd188b3b63bd8
[]
no_license
prateeksarangi/Rough_Code_Practice
f0fca186ea7d75000650901231e7a6ae91b603c1
7d6014f06d8c3296f56ef6767a0783c5e4490011
refs/heads/master
2022-12-23T14:50:22.182635
2021-03-04T04:18:17
2021-03-04T04:18:17
197,002,033
0
0
null
2022-12-13T09:40:25
2019-07-15T13:15:48
JavaScript
UTF-8
Python
false
false
482
py
import math import os import random import re import sys # Complete the maxMin function below. def maxMin(k, arr): arr.sort() return arr[k-1] - arr[0] if __name__ == '__main__': #fptr = open(os.environ['OUTPUT_PATH'], 'w') n = int(input()) k = int(input()) arr = [] for _ in range(n): ...
[ "sarangiprateek80@gmail.com" ]
sarangiprateek80@gmail.com
a860c888aaa57bcc2ac829ceec0b974d2dcca974
05a3858cbedb092a188357a2a896020b98f65e99
/database/db_hero.py
e2a521c8799270baa3ba981e1730fd020e6e5f73
[]
no_license
694035434/Official-game-website
89d7dc0b151d2fd2fca9ab7f43870e88153be38c
a0245df98a5466db2fabaf82dd0d51f383bbee01
refs/heads/master
2022-07-12T19:17:36.082586
2020-05-15T16:21:44
2020-05-15T16:21:44
264,222,252
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
from database.db_util import Db_util class Hero(): def __init__(self): self.db=Db_util() self.conn=self.db.conn self.cursor=self.db.cursor def insert(self,name,img,skill,story): sql="insert into t_hero(h_name,h_photo,h_skill,h_story) VALUES ('%s','%s','%s','%s')"%(name,img,skill,...
[ "694035434@qq.com" ]
694035434@qq.com
71eda8ebf13d74adada1b21721f5e0965ad1f24c
5a64f117df8580cda2990db2e6c3c7f22a1783db
/menes/trunk/cyazon/cyazon.py
f388cd0c437294ba156d5168f15fc00a77e44af9
[]
no_license
xcode2010/saurik-svn-mirror
5fa87e01a052ed1171c716fe121dc1a8b4d6c7dd
42aaa83d383dc85faa51733d7da3d2bc3c82de9e
refs/heads/master
2021-12-12T12:15:03.477067
2017-01-06T10:44:46
2017-01-06T10:44:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,740
py
# Cyazon - Python Amazon FPS Client # Copyright (C) 2009 Jay Freeman (saurik) # Redistribution and use in source and binary # forms, with or without modification, are permitted # provided that the following conditions are met: # # 1. Redistributions of source code must retain the # above copyright notice, t...
[ "286674783@qq.com" ]
286674783@qq.com
a4fe8badfa3fa74eb867fa7cf3b3eea6a75102cb
b094155ee50d0ddd8b8703955a968d8bed77b25c
/appprincipal/vendas/urls.py
1e1d649c2aa8a638435b0763ac1f2a61c7130ac9
[]
no_license
Netovoski/padariadjango
704b1f3340625ac81e5f9a6d629ec39a3b68c33d
f4850f02f2ab4de45f6b8d5fa7c1b36fd2eca407
refs/heads/master
2023-02-14T16:34:41.203758
2020-12-23T13:55:01
2020-12-23T13:55:01
290,487,895
2
0
null
2020-08-26T12:18:07
2020-08-26T12:18:07
null
UTF-8
Python
false
false
767
py
from django.views.generic import View, TemplateView, CreateView, UpdateView, ListView, DeleteView from django.urls import path from . import views from appprincipal.vendas.views import * app_name = 'vendas' urlpatterns = [ path('addvenda/', views.venda_create, name='add_venda'), path('novavenda/<int:idvenda2>'...
[ "netovoski@gmail.com" ]
netovoski@gmail.com
d6246ef699c47ce3d1bbcf801835f3fac4236d8f
3395a234e7c80d011607e79c49cd48bf516f256b
/dependencies/jedi/third_party/typeshed/third_party/2and3/werkzeug/test.pyi
764b76d8e78bf0f973af8fbcc504bf8dfd79edde
[ "MIT", "Apache-2.0" ]
permissive
srusskih/SublimeJEDI
67329b72e184bc9584843968dcc534a002c797a1
95c185d778425c04536d53517b0e3fe6dedf8e59
refs/heads/master
2023-08-24T11:30:37.801834
2022-08-30T09:04:17
2022-08-30T09:04:17
6,241,108
669
125
MIT
2022-08-30T09:04:18
2012-10-16T08:23:57
Python
UTF-8
Python
false
false
5,957
pyi
import sys from wsgiref.types import WSGIEnvironment from typing import Any, Generic, Optional, Text, Tuple, Type, TypeVar, overload from typing_extensions import Literal if sys.version_info < (3,): from urllib2 import Request as U2Request from cookielib import CookieJar else: from urllib.request import Re...
[ "srusskih@users.noreply.github.com" ]
srusskih@users.noreply.github.com
ec0a0bef48d97751f1051798d55b81d8ca117f5c
94899dff297d3985c70c6ea9e897130ca3ef6527
/DataProcessing/interest_similarity_scores.py
7f6fb7feb0025365eb55baf3ceb8bc3a352ad1d7
[ "MIT" ]
permissive
fenekku/Masters
a6516430752c7dac1f0b6a1a18db0f74b86bfaa7
32ce3f9ae22893c7777262cfc7aa215345d68ad5
refs/heads/master
2020-06-06T02:01:34.855231
2014-11-12T16:11:55
2014-11-12T16:11:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,393
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Generate similarity interest score matrix """ import numpy as np from sklearn.metrics.pairwise import cosine_similarity from helpers import repositories_interested_by def get_interest_similarity_scores(u_rs, nb_rs, state, similarity="cos"): """Return ndarray of...
[ "guillaume.viger@mail.mcgill.ca" ]
guillaume.viger@mail.mcgill.ca
df6b6f8f850dfdbf0072fbe2a9ec784ec46c1b31
a2a535e005dc73a7baf27595c517e2c31e9483d1
/dags/sparkdag.py
5b5e6b618904df33e63337d63b1387da7ea9263d
[ "Apache-2.0" ]
permissive
d3vzer0/airflow-training-skeleton
f35a7f0f6ca26e91e7d742e109b8d1185ecce3c7
938a4035fbbc6cd4af8e9618c1c6df7b9f8929be
refs/heads/master
2020-12-26T05:19:49.071978
2020-02-14T15:31:58
2020-02-14T15:31:58
237,397,813
0
0
Apache-2.0
2020-01-31T09:25:18
2020-01-31T09:25:18
null
UTF-8
Python
false
false
2,081
py
# -*- coding: utf-8 -*- import airflow import datetime from datetime import timedelta from airflow.models import DAG from airflow.contrib.operators.postgres_to_gcs_operator import PostgresToGoogleCloudStorageOperator from airflow.contrib.operators.dataproc_operator import DataprocClusterCreateOperator from airflow.cont...
[ "jdreijer@schubergphilis.com" ]
jdreijer@schubergphilis.com
5596faf42b17bba57856e691b2314449fe742aa5
2986d9712ffd124f38a7026fc419aedd6cf8fb6b
/main/migrations/0004_auto_20191130_2302.py
e0f1243324a73f6f261517fe22958d1d2aad1919
[]
no_license
leandroReyes/proyectodjango
a400206fa5e1c242b04e49e91cd887f5351e9e68
add2ab6aeddbe89264472e147630284ebba6c772
refs/heads/master
2023-04-26T15:50:03.546801
2019-12-08T03:03:13
2019-12-08T03:03:13
226,537,469
0
0
null
2023-04-21T20:41:31
2019-12-07T15:46:50
JavaScript
UTF-8
Python
false
false
539
py
# Generated by Django 2.2.7 on 2019-11-30 23:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0003_auto_20191130_2301'), ] operations = [ migrations.AlterField( model_name='paciente', name...
[ "leandro.reyes.castillo@gmail.com" ]
leandro.reyes.castillo@gmail.com
7989a8fa946a7e31f630ae9c36202f2e4bb708f5
b2b88e602e7354c0d1d32a1f27fa148862884128
/gad.py
2f95325690fb91b3e0e8077bd92e445384fa0e09
[]
no_license
pramod-Paratabadi/Gender_AgePrediction
897f5c0fc865524b8d21b37d1b3049281926100f
2794231548e28b1df23783f3736a81829a5f7966
refs/heads/master
2022-04-26T01:32:09.604919
2020-04-27T03:23:00
2020-04-27T03:23:00
259,193,266
0
0
null
null
null
null
UTF-8
Python
false
false
2,626
py
import cv2 import math import argparse def highlightFace(net, frame, conf_threshold=0.7): frameOpencvDnn=frame.copy() frameHeight=frameOpencvDnn.shape[0] frameWidth=frameOpencvDnn.shape[1] blob=cv2.dnn.blobFromImage(frameOpencvDnn, 1.0, (300, 300), [104, 117, 123], True, False) net.setInput(blob) ...
[ "pramodp151999@gmail.com" ]
pramodp151999@gmail.com
8d99e844f456c608e8c0f84c06b8644e99e75ce6
2b20f132cbcb6f14f13ef3412302fb6926a506d9
/format_to_pandas.py
e32d9d0077abbf12178f1800159e3e2e9b439ea1
[ "Apache-2.0" ]
permissive
nfrumkin/forecast-prometheus
a200a140cf7705fcb8a9acf4f7a1c3f13e679c75
fae241ec4303992ed06df67cbbd8118622e9750b
refs/heads/master
2020-03-26T09:18:37.156900
2018-08-23T20:33:00
2018-08-23T20:33:00
144,744,292
119
26
null
null
null
null
UTF-8
Python
false
false
6,699
py
import json import pandas as pd import fnmatch import os import bz2 import pickle import argparse import gc # read files in list and convert to pandas dataframes def load_files(files, file_format): dfs = {} for file in files: # check file format and read appropriately if file_format == ".json":...
[ "nfrumkin@redhat.com" ]
nfrumkin@redhat.com
3d11424b10d24e306887deedfdff84244709c173
e71a769c99648e99b14166000b4784c9dd573f5c
/Section 2 Django Introduction Project/first/settings.py
d7785d11e23b8bcef743488fb458e6aded039c3e
[ "BSD-3-Clause" ]
permissive
kmranrg/WebApp_BackendAPI_MobileApps_React_Django
70850be07f28c27aaf4828adf8995eeb463ceff4
d7e2d0f68ed3dda0127cb001a2e6d01327119eb9
refs/heads/master
2023-02-07T23:48:12.646350
2020-06-20T15:18:32
2020-06-20T15:18:32
245,768,863
1
2
BSD-3-Clause
2023-01-26T21:00:43
2020-03-08T07:10:59
Python
UTF-8
Python
false
false
3,272
py
""" Django settings for first project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # B...
[ "kmranrg@gmail.com" ]
kmranrg@gmail.com
265743f910dbb4abac5c1ec1331465c3b608f7a6
5a8eeb361feb99fdc54341c338b07fff93740050
/viirs/horidist/colorbar.py
163c4b3ffdecf9d37bd3ee065f2f9accb6a127c1
[]
no_license
gss2002/Team
2a85a2a0a9b4d1671451cf187a844a83e4952e3a
5ceb4da52245a3d6eb658fba67fd893b9792f5e4
refs/heads/master
2021-01-21T07:39:29.253192
2016-04-18T21:30:27
2016-04-18T21:30:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
from pylab import * from numpy import * from matplotlib.colors import LinearSegmentedColormap class nlcmap(LinearSegmentedColormap): """A nonlinear colormap""" name = 'nlcmap' def __init__(self, cmap, levels): self.cmap = cmap # @MRR: Need to add N for backend self.N = cmap.N ...
[ "karrey05@gmail.com" ]
karrey05@gmail.com
5478f0ed6e84d36a081197e9e17ed5b0e151144f
7fa08c93ff0caa4c86d4fa1727643331e081c0d0
/brigid_api_client/models/__init__.py
116e0784876b77021f16b674f520d34edb77dc10
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
caltechads/brigid-api-client
760768c05280a4fb2f485e27c05f6ae24fbb7c6f
3e885ac9e7b3c00b8a9e0cc1fb7b53b468d9e10a
refs/heads/master
2023-03-23T03:11:02.446720
2021-03-13T00:47:03
2021-03-13T00:47:03
338,424,261
0
0
null
null
null
null
UTF-8
Python
false
false
7,175
py
""" Contains all the data models used in inputs/outputs """ from .action_response import ActionResponse from .action_response_errors import ActionResponseErrors from .application import Application from .applications_list_expand import ApplicationsListExpand from .applications_retrieve_expand import ApplicationsRetrie...
[ "cmalek@caltech.edu" ]
cmalek@caltech.edu
ad39b4047c556d1d07c6e8d63f416c3a80fc3184
97aa47340e99f7be364f27cba87e499d942eab43
/find_factorial.py
9d137b5c4cc6e3b31248b88d7307a774fa3a810f
[]
no_license
eryilmazysf/assignments-
cbe0d0d761a0a3da819c456ea0d9accb86175a35
c1b3084b39ea72ae14fdc4c564d94c26ca198806
refs/heads/master
2022-12-11T00:22:59.427632
2020-09-02T15:26:12
2020-09-02T15:26:12
277,168,892
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
print(""" ************************** FİND MY FACTORİAL VALUE to quit enter "q" ************************** """) while True: number=int(input("please enter number to find fatorial value:")) if number=="q": print("see you") break factorial = 1 for i in range(2,number+1): ...
[ "yusuferyilmaz1819@gmail.com" ]
yusuferyilmaz1819@gmail.com