blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
93ccfb613e8a6d37f9533d4e82cc851a21b51f19
454447e212ed11c4626268c868f21d69e8beb1d3
/Problems/Order!/main.py
05c7ff33d459cac6b2bb0c5337dc165563b02b1c
[]
no_license
hereskellie/Zookeeper_Python3
24930cda82bc43511acd3339c5cdcaa0024e9094
1af83866c3a4dd6a88ffcdd687d4446ea8e3f7d3
refs/heads/master
2022-12-25T13:06:49.337643
2020-10-04T20:43:53
2020-10-04T20:43:53
301,220,274
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
num1 = int(input()) num2 = int(input()) num3 = int(input()) result == num1 < num2 < num3 print(result) take input take variable = 2 in loop(where variable < input ) print variable increase by 2
[ "kelliemjhughes@gmail.com" ]
kelliemjhughes@gmail.com
463f130c700d4c1a9dd6fa39dc7428e19dcfa404
2d1367bab56b5fdfb48a9fba03c2595557777652
/python/miscellaneous/fixed_point_determiner.py
7a2e6d4911c27d50f306c9dccfb84eb07bbb0e2d
[]
no_license
baraluga/programming_sandbox
11e1855d0c6df00f8a1dc929d1f4a72b2f24f161
9113b0ca1a57faa2918509fb935650c97d279c37
refs/heads/master
2021-07-17T22:48:59.182600
2020-05-12T08:05:48
2020-05-12T08:05:48
150,398,616
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
def get_fixed_point(from_this): fixed_point = [fix for idx, fix in enumerate(from_this) if idx == fix] return fixed_point[0] if fixed_point else False if __name__ == "__main__": ''' A fixed point in an array is an element whose value is equal to its index. Given a sorted array of distinct elements...
[ "brian.peralta@tractebel.engie.com" ]
brian.peralta@tractebel.engie.com
c0b3207f5177a907989a02827a6d45637df8f29d
1ced884d3844a0c237dd5201bcf64f939b845f76
/agent_zoo/ExperimentB.py
23e8f09b47314f5c44216c87c1ef95ac0dcbde1a
[ "MIT" ]
permissive
bakerb15/roboschool
c7bae73e1f5639ccd10bd4961322bb433f6177e4
47262b5d572e60fe832a81cbd7ed4eab3667373c
refs/heads/master
2020-04-02T06:32:00.957618
2018-12-09T07:34:26
2018-12-09T07:34:26
154,154,816
1
0
NOASSERTION
2018-10-22T14:05:34
2018-10-22T14:05:33
null
UTF-8
Python
false
false
6,200
py
import sys import random import time import copy import numpy as np from collections import OrderedDict from agent_zoo.weight_writer import weight_writer from agent_zoo.Eval import Eval NAME = 'B5' HIGH = 1.5 LOW = .5 SEED = 12 MAX_GEN = 100 MAX_POPULATION = 20 CLONE_RATE = .1 CLONES = int(.05 * MAX_POPULATION) MAX_F...
[ "bakerb15@msu.edu" ]
bakerb15@msu.edu
e6266e5cb1980afe195a340cc3ee2136a87072b8
074200406165bdcb62132e14c62306d7abcf14ed
/080-RemoveDuplicatesFromSortedArrayII/Python/main.py
7b40ba8d25c7d0ae73da3e0f55fdf74f3a6637af
[]
no_license
Twice22/Leetcode
220a6555141b6e5cee283e601a5740a74daf97a9
b2e80268a8e7a37b2db09f1103e91db0b4bf424e
refs/heads/master
2020-03-18T01:48:35.456957
2018-12-28T16:31:25
2018-12-28T16:31:25
134,160,724
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
class Solution: def removeDuplicates(self, nums): """ :type nums: List[int] :rtype: int """ # need to modify inplace with O(1) extra memory # so we CANNOT use a dict and 2 passes if not nums: return 0 ptr_insert, i, size = -1, 0, ...
[ "victor.busa@gmail.com" ]
victor.busa@gmail.com
e77154fd8017abc681c941a9717e4b66d8284137
2335f5b0921030aeb7162dacb044155395a2e98e
/conf-cumulativelogprobs/evasion_pgd.py
baca3bd5973812fbfa95fc9771441bd123e0a2e0
[]
no_license
dijksterhuis/cleverspeech-exp
d66a1f9759b50d7bb846a8e32a0a2470989f668d
779db8eddb8e5c34888a103c10ad2e1b23eea657
refs/heads/master
2023-07-09T09:25:32.378259
2021-08-09T17:57:37
2021-08-09T17:57:37
329,070,650
0
0
null
null
null
null
UTF-8
Python
false
false
3,035
py
#!/usr/bin/env python3 import os from cleverspeech import data from cleverspeech import graph from cleverspeech.utils.Utils import log from cleverspeech.utils.runtime.Execution import manager from cleverspeech.utils.runtime.ExperimentArguments import args # victim model import from SecEval import VictimAPI as DeepS...
[ "mrobeson@dundee.ac.uk" ]
mrobeson@dundee.ac.uk
1415423a548d19a490a2a7d777b5a8c84c6ad27d
fb7c1b112a92047145ded2e4c90ed93e119ea423
/03.py
51f2812b6ed3358b9c8dd621fccfa05bbb090a50
[]
no_license
CosmoAndrade/PythonExercicios2020
54d5285ca7f502f3d4186be583f506b75e8c4ff3
005bfae05473d7d22d929e9e7c1888abab514414
refs/heads/master
2022-11-26T02:56:55.165405
2020-08-05T23:40:01
2020-08-05T23:40:01
284,506,395
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
# Faça um Programa que peça dois números e imprima a soma. num1 = int(input('Digite um numero: ')) num2 = int(input('Digite outro numero: ')) soma = num1 + num2 print(f'A soma entre {num1} e {num2} é {soma}')
[ "cosmo.andrade@hotmail.com" ]
cosmo.andrade@hotmail.com
007ead1dabd05f60c72f61f2b58d80407cf8faea
9357b4824629465438353f726ffa08d1c54424d7
/hello.py
fb7d9ce7e93eea866fc8a7541c65f05addd33f71
[]
no_license
Rumdidum/google-course
c0b9e51021d4a2e81c4c31fed7df765b5429c602
5f0cfe1dcb1b0d20f8e9278d73969aa6060f7105
refs/heads/main
2023-08-28T15:53:37.752280
2021-11-07T14:42:14
2021-11-07T14:42:14
425,485,613
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
print("was ein dreck") print("what the hell")
[ "waldemar.rink2021@gmail.com" ]
waldemar.rink2021@gmail.com
5cecd4d9e60b44e4ca8d422a0f059209d7ee993c
9c88ee174f74a5a8352ec8cf487a302aa87053d0
/pylark/api_service_helpdesk_agent_skill_update.py
dc104e38fcbf0b2ca93b5a1d0fda43225110d229
[ "Apache-2.0" ]
permissive
duzx1/pylark
bcf34231218ec5079b8f9820a77864fbcffa4426
a54cce6b814935fd3c72668b262b54c8ee461484
refs/heads/master
2023-08-23T13:10:00.324018
2021-11-01T06:29:28
2021-11-01T06:29:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,422
py
# Code generated by lark_sdk_gen. DO NOT EDIT. from pylark.lark_request import RawRequestReq, _new_method_option from pylark import lark_type, lark_type_sheet, lark_type_approval import attr import typing import io @attr.s class UpdateHelpdeskAgentSkillReqAgentSkillRules(object): id: str = attr.ib( defau...
[ "chyroc@qq.com" ]
chyroc@qq.com
6b85f42196e17ff4126d054a820bf3b7a4e41bc1
d8fc7c283c3a9d82d1beed34aebaf63c9aae809e
/app/web/__init__.py
c22e0f946653879d8ae731cb76cd2332c6931589
[]
no_license
cardinalion/learnflask
dc2cea4e3eda864b4f69e7cda8f324afaf68c9ef
8224361478357bbb58e6ee8bcf38183910dd82a1
refs/heads/master
2020-04-17T17:12:21.963928
2019-01-24T04:42:58
2019-01-24T04:42:58
166,773,298
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
""" 1/23/2019 """ __author__ = 'cardinalion'
[ "ywang10@wesleyan.edu" ]
ywang10@wesleyan.edu
53b2ae48b341c3264c6e26ff968ef5a96651cdac
c86693fe6e877a7fabd4cbbaf42c35e1c3f7981a
/client/Commands.py
39ab8591d846cc5bea06ec647a7c54dc3246689d
[]
no_license
NormanLe/Tic-Tac-Toe-Server
0e546998a9ca51db594143248ac3c4bdceadc0df
86dec773e5770034b4c1f802ad2b19c22868271b
refs/heads/master
2021-01-20T15:26:17.959532
2017-06-14T02:17:27
2017-06-14T02:17:27
90,766,167
0
0
null
null
null
null
UTF-8
Python
false
false
3,388
py
''' Functions to support commands input by user. ''' import sys import MessageHandler from const import * def help(): ''' This command takes no argument. It prints a list of supported commands, which are ones in this list. For each command, it prints a brief description of the command function and the sy...
[ "norman.le@stonybrook.edu" ]
norman.le@stonybrook.edu
017688ce2eb9785ec864f48899013443afcaf24e
70b65dfeafb3821ea09e55e846915bd57d4a10ff
/data.py
682e7f1d8bd22c2d5fb568f03423e8590e5064a1
[]
no_license
maxeonyx/comp421-project
21a05eabf15eac46be386ee7effd6c6865236d7b
73700f0744fda37c75d6e90740a8544c152eb62c
refs/heads/master
2023-01-05T01:17:45.830898
2020-10-23T10:57:39
2020-10-23T10:57:39
304,153,062
0
0
null
null
null
null
UTF-8
Python
false
false
14,597
py
import numpy as np import tensorflow as tf from PIL import Image, ImageDraw import itertools from IPython.display import display shape_types = [ "line", "square", "circle", "tri", ] line_types = [ "single", "double", "filled", ] colors = [ "white", "blue", "green", "red", ...
[ "maxeonyx@gmail.com" ]
maxeonyx@gmail.com
abdd045c9ecaae3f016d3bcef6a016289fa19727
d32d094e50f7173d73c01599687287b864e96fb1
/wk6/assignment/b2.py
915f9718238977b34070b470b7967ea5732f709f
[]
no_license
grasingerm/statsmek
7eae64267640a09ac4cc16c565e99d248e65585e
9f9cb39417d4cf0e6ce87f64ee92b36a077c319d
refs/heads/master
2020-04-05T23:29:00.805244
2017-12-18T21:31:11
2017-12-18T21:31:11
60,022,949
0
0
null
null
null
null
UTF-8
Python
false
false
1,546
py
import math, random, pylab def rho_free(x, y, beta): return math.exp(-(x - y)**2 / (2.0 * beta)) def levy_harmonic_path(xstart, xend, dtau, N): x = [xstart] for k in range(1, N): dtau_prime = (N - k) * dtau Ups1 = 1.0 / math.tanh(dtau) + 1.0 / math.tanh(dtau_prime) Ups2 = x[k-1] / ...
[ "grasingerm@gmail.com" ]
grasingerm@gmail.com
b2c92dde453dc89b535d08529a505c032ea3554c
a0e9dbb155d5b7f82bb3dea38ce63e37f8a916d7
/LaLune/urls.py
ca677ae63f06e5a146f9ad1cf0e2b37b04916c33
[]
no_license
eminam98/lalune
792ac9a66c5b1e9fd6086706a31f44bb4f943a6b
9fc10ec3342e3f16b76b85bddf82b9163a97c121
refs/heads/master
2022-12-26T22:56:21.098397
2020-10-11T20:01:30
2020-10-11T20:01:30
302,958,164
0
0
null
null
null
null
UTF-8
Python
false
false
1,771
py
from django.urls import path from .import views from django.conf import settings from django.conf.urls.static import static from django.contrib.auth import views as auth_views urlpatterns = [ path('', views.home, name='home'), path('about/', views.about, name='about'), path('faq/', views.faq, name='faq')...
[ "ryuzakiemy@gmail.com" ]
ryuzakiemy@gmail.com
6307442c7594a2db8145b1a4f113bc74e4b77908
efd5481d02f77de1b7b9630c2a2781f03f8b9edc
/node_modules/mongojs/node_modules/mongodb/node_modules/kerberos/build/config.gypi
3bcdbb1c39ae78842ab15e4ef1681a008aba1a48
[ "Apache-2.0", "MIT" ]
permissive
prashant-git/rss-reader
7b007ce6645726b53f7ad675e13cf24fa1e58f69
43bb9cea44555f76aa63594ccd06f0984c11926a
refs/heads/master
2020-05-20T09:32:03.865246
2014-02-07T10:40:49
2014-02-07T10:40:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,015
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "gcc_version": 48, "host_arch": "x64", "node_install_npm": ...
[ "prashantjadhav7771@gmail.com" ]
prashantjadhav7771@gmail.com
db9bdb4488364e2c1c8697da29971ab8f544268a
e21fa75b83dd068b55dde463c468cfe25d80d66b
/crawl_temperature.py
fe5bdd0a19d98079807c466f925ec396809cacb1
[]
no_license
BarclayII/big-data-project
84e69a2c3a960db6facfa876aa8802b8b45947fc
5f9ed774b6948c9b507b3b1206a1ab8935ed676c
refs/heads/master
2021-01-23T03:43:06.999203
2017-09-08T15:43:58
2017-09-08T15:43:58
86,112,814
0
0
null
null
null
null
UTF-8
Python
false
false
1,914
py
import lxml.etree as ETREE import urllib2 import datetime import time def find_temperature(string): tree = ETREE.fromstring(string, parser=ETREE.HTMLParser()) body = tree.find('body') div = [d for d in body.findall('div') if d.attrib.get('id', None) == 'content-wrap'][0] div = [d for d in div.findall(...
[ "coin2028@hotmail.com" ]
coin2028@hotmail.com
67d8eef410ae22998121012c67b00809a61b9b31
c6adb271681e4101f09581692e70af0b18468f16
/INDIA/main.py
2679ea26f870d9a30323763630790610a5bdf2c0
[]
no_license
madhuv-sharma/nearest-postcodes-calculator
b1111b2a9d22f021d9d35e2b92885e3506277ee7
afb122fed4dba93803b02d47644a3419f169c540
refs/heads/master
2023-06-20T17:54:56.303121
2021-07-31T01:12:34
2021-07-31T01:12:34
376,571,219
2
0
null
null
null
null
UTF-8
Python
false
false
2,536
py
# import numpy as np # Can be used instead of 'math' module for faster calculations in 'dist' function from math import * import csv ''' Based on Haversine Formula, distance between two points whose geocoordinates are (Lat1,Lon1) and (Lat2,Lon2) is given as 2r*arcsin(sqrt(sin^2((Lat2-Lat1)/2)+cos(Lat1)*cos(Lat2)+sin^...
[ "madhuvsharma1234@gmail.com" ]
madhuvsharma1234@gmail.com
118f481de0590924d73beab2e7c968938599237f
62f3f4f5b9d1f75f96760b07ce0af1bce574a876
/model/bisenetv2.py
90ccedc6454f7f7e92fb364d3411b2b702de3be7
[]
no_license
XinZhaoFu/lajidaima
bc40f1f31cd1131e9054db7c6561d40e1656a7db
d346ee2a2004fe19cc1b1e97d0c0d98ed9415528
refs/heads/main
2023-07-10T08:13:12.053751
2021-08-17T02:31:17
2021-08-17T02:31:17
365,449,584
0
0
null
null
null
null
UTF-8
Python
false
false
14,716
py
from tensorflow.keras import Model from model.utils import Con_Bn_Act, DW_Con_Bn_Act, Sep_Con_Bn_Act from tensorflow.keras.layers import MaxPooling2D, concatenate, AveragePooling2D, Activation, \ AveragePooling2D, UpSampling2D, add, multiply class BisenetV2(Model): def __init__(self, detail_filters=64, ...
[ "35882457+XinZhaoFu@users.noreply.github.com" ]
35882457+XinZhaoFu@users.noreply.github.com
28a1a0ac8d51073c624faefdadd5efaaa05b9f90
342b914e888861c41a3681d6fe90aef04ef781cb
/settings.py
70825f990482a93f5504337ee500d7863f8dba8e
[]
no_license
varunit/cseismic2kx
920b64859c95ab60be5961683429550570ef7b63
4e7a97ef71612c343046faf58094e685ceacec41
refs/heads/master
2020-12-25T12:08:30.142306
2010-08-05T14:27:04
2010-08-05T14:27:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,909
py
# Django settings for cseismic2kx project. import os ROOT_DIR = os.path.dirname(__file__) try: import localsettings except ImportError: print "Define Localsettings" raise ImportError DEBUG = localsettings.DEBUG TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) MANAGERS =...
[ "jkk.2k9@gmail.com" ]
jkk.2k9@gmail.com
fe7e2469a76a7e7541dcb964b1b39b4f9ba6474f
dcd83aeb799143b58956612fb0bfc0258d30f229
/src/python/JobCreator/CmsGenTools.py
cee0312e494dc987fc6db4ede97f9c48a2de7566
[]
no_license
giffels/PRODAGENT
67e3e841cfca7421caa505d03417b663a62d321b
c99608e3e349397fdd1b0b5c011bf4f33a1c3aad
refs/heads/master
2021-01-01T05:51:52.200716
2012-10-24T13:22:34
2012-10-24T13:22:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,571
py
#!/usr/bin/env python """ _CmsGenTools_ Tools for installing/manipulating a CmsGen type workflow node within a workflow """ import inspect import os from JobCreator.AppTools import _StandardPreamble, _StandardAbortCheck from JobCreator.AppTools import _StandardExitCodeCheck import JobCreator.RuntimeTools.RuntimeCms...
[ "" ]
efa767f99a362671c9208cd80736bbe672911274
ee4df8a9928b684e054b45c0a7c464c38f9a4921
/django-rest-react-prototype/django_react/urls.py
f23278917e411c5badd2be3510e9d9a047795eb2
[]
no_license
cs161sjsu/goldchest
7159a704d6bac267cc22e327504dda0a29b48827
5c57c373094098191c74a276eeecff4e8e8b706e
refs/heads/main
2023-03-23T19:19:24.176773
2021-03-23T22:48:08
2021-03-23T22:48:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
"""django_react URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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') Class-...
[ "jakesrosen@gmail.com" ]
jakesrosen@gmail.com
e85bfbbcd0952f79b26348c90c74ceae73761025
4f8a1eaaf546b05323f62200c8f1d1026bbb4dec
/utilities/zip_utils.py
68189d429e05cbed6952d6aef702bccdba87de56
[]
no_license
iero1997/audit-engine-s3-and-lambdas-dev
1dc33c19e954952fd394d866facb7b32840e112f
c3d2d1669a6509a3581a89c8a047e28801b0b1f7
refs/heads/master
2022-12-13T09:19:29.487704
2020-09-08T14:01:17
2020-09-08T14:01:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,802
py
#import io import os import re import sys import time import logging import zipfile import traceback from zipfile import ZipFile from aws_lambda import s3utils #import time from utilities import utils, logs # does anyone know why this TRY is here?? try: from utilities.config_d import config_dict from util...
[ "robertoroie123@gmail.com" ]
robertoroie123@gmail.com
52c7f86beb60a85355457f8fc03219f7a0237894
4a81ae61f744ba95861767ed9344b66b392eceda
/wf_last/models/__init__.py
0092a3be45ee9c4799790bcdaaa11c7ff556859f
[]
no_license
appsgateteam/Waterfall
37f7b11ee9a30eaa9f23521e9f437f2a0865e44d
641588582c3974390098f1ae331d5048bd549bb0
refs/heads/master
2023-02-02T21:05:06.098464
2020-12-27T08:33:29
2020-12-27T08:33:29
283,480,124
0
2
null
2020-12-27T08:33:30
2020-07-29T11:25:38
Python
UTF-8
Python
false
false
116
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from . import wf
[ "56960524+Ziad-Monim@users.noreply.github.com" ]
56960524+Ziad-Monim@users.noreply.github.com
4eb785714e385a17901264575757a9da0fa57fb7
b88288f19a3094439a86e22cdf4fccfd64072f59
/google_dependency/urls.py
eb29f857d3cf17663a25399cdbea250f2de7792d
[ "MIT" ]
permissive
EdgarSun/Django-Demo
96c9ca46027db5321fd76e239afd6a9edb4cf288
7775d5d6f8d4a0e6c4a6b042bf89ce19b15f2d8e
refs/heads/master
2016-09-02T19:59:23.350255
2013-07-17T03:35:35
2013-07-17T03:35:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
from django.conf.urls.defaults import * urlpatterns = patterns('google_dependency.blobstore_handler', (r'^$', 'upload_handler'), (r'^(?P<pk>\d+)/(?P<entityID>\d+)$', 'upload_handler'), (r'^media/(?P<pk>\d+)$', 'retrieve_handler'), (r'^media/(?P<pk>\d+)/(?P<size>\d+)/(?P<crop>\d+)$', 'retrieve_handler'...
[ "edgar@SUNYAN-WS.ccp.ad.local" ]
edgar@SUNYAN-WS.ccp.ad.local
b0bbbe368d0d4a2c61ed0d5b09e17455b8212fd0
cbc39b8013558a329cd885042002838828103c1a
/milestone1/outlier.py
0f1ee1ef0fd373e7622f6e3eded507c7acac742d
[]
no_license
cjl99/Kaggle-Rental-Listing
8914574866f8b07f8dfaf26280eb544c4da19baf
5d96dc9915e5e515b41a91cd3a2a49c059a7f749
refs/heads/master
2022-12-27T20:17:00.970984
2020-10-16T07:47:46
2020-10-16T07:47:46
237,680,260
1
0
null
null
null
null
UTF-8
Python
false
false
4,714
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import time import basic_func as func # -----------------outlier-------------- # find listing_id is unique or not (listing_id, features, values, train_df) = func.load_unicef_data("mid_train.json") print(train_df.shape) # drop outlier of...
[ "noreply@github.com" ]
cjl99.noreply@github.com
5254d72522b50843e063de15fc722b54232c0aad
7dc80048f72e106f977b49ea882c63cc9623e3ef
/notebooks/production/Y2018M06D04_RH_Arid_PostGIS_30sPfaf06_V01.py
1b5ca3dff79cd1e2a70ff97152e149e19c8c352e
[]
no_license
YanCheng-go/Aqueduct30Docker
8400fdea23bfd788f9c6de71901e6f61530bde38
6606fa03d145338d48101fc53ab4a5fccf3ebab2
refs/heads/master
2022-12-16T03:36:25.704103
2020-09-09T14:38:28
2020-09-09T14:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
# coding: utf-8 # In[1]: """ Add column for arid subbasins. ------------------------------------------------------------------------------- Author: Rutger Hofste Date: 20180604 Kernel: python35 Docker: rutgerhofste/gisdocker:ubuntu16.04 Args: TESTING (Boolean) : Toggle testing case. SCRIPT_NAME (string) :...
[ "rutgerhofste@gmail.com" ]
rutgerhofste@gmail.com
29360104129bcdd0eb4af42a8b6c91fe670212a8
441785c5065ce3709c69ddfc39ce5eb99400516b
/py/db.py
5c0f839c3aa703d4adf8dbf05436e24c94028149
[ "MIT" ]
permissive
val06/restpie3
0423f94fa5f8bb95e29721721314d4e08882f1b9
bd63d26658988febfaa39bce192257fb18e4110c
refs/heads/master
2022-04-30T02:36:55.434505
2020-03-25T19:56:46
2020-03-25T19:56:46
249,764,844
0
0
MIT
2020-03-24T16:51:36
2020-03-24T16:51:35
null
UTF-8
Python
false
false
5,542
py
#!/usr/bin/python # -*- coding: utf-8 -*- """db.py: Models and functions for accessing the database - using peewee orm - preferably have all SQL in this file Author: Tomi.Mickelsson@iki.fi http://docs.peewee-orm.com/en/latest/peewee/querying.html http://docs.peewee-orm.com/en/latest/peewee/playhouse.html#postg...
[ "atomi@iki.fi" ]
atomi@iki.fi
61f008ec7179198c26823fb146e725da539d8e95
8f982d411270ea2bd77f93e27ff122ae57ea9189
/transf_model.py
455053ba03b9fb304d7c08b72c66a51dd188fa6f
[]
no_license
axe76/Speech-To-Text-Implementations
ad808f7cfa3782fc6a8466e5bba2c16ebe8032fc
0e5423340cfec48f44d501285a078f8e2c3d7ab0
refs/heads/main
2023-08-13T16:55:36.895593
2021-10-02T11:33:18
2021-10-02T11:33:18
412,775,404
0
0
null
null
null
null
UTF-8
Python
false
false
10,316
py
# -*- coding: utf-8 -*- """ Created on Fri Sep 24 12:21:48 2021 @author: sense """ import tensorflow as tf import numpy as np def get_angles(pos, i, d_model): angle_rates = 1 / np.power(10000, (2 * (i//2)) / np.float32(d_model)) return pos * angle_rates def positional_encoding_1d(position, d_mod...
[ "noreply@github.com" ]
axe76.noreply@github.com
838e9fe624e2fe600df5cb0d05cf9c342cd5bf7d
37cb5a09ff38e36b19fa82c33fa040e2b2d67cee
/order_creation_tool.py
8b193e2af3d9b54efbd71722e2db289554d4621a
[]
no_license
Jeffrey-P-McAteer/dtg-printer-tool
21580c46e4ec9224f1ebafa75426626519c7726f
f51d9350312794a632e91bc5915657454738f957
refs/heads/master
2023-08-02T20:09:31.676761
2021-09-23T09:23:13
2021-09-23T09:23:13
338,182,872
1
0
null
null
null
null
UTF-8
Python
false
false
8,152
py
import sys import csv import json import os import traceback import time # Change to the windows folder that the ripping software watches for new rip orders. AUTORIP_XML_IN_DIRECTORY = r'C:\Users\17044\Desktop\test automation\hotfolder' # Change "X:" to the location of the directory holding new order .csv files PRE_...
[ "jeffrey.p.mcateer@gmail.com" ]
jeffrey.p.mcateer@gmail.com
ed2c8ca2cc30fcb085094f35f60e5fe97a0ea5ce
488d58e7a0b73fa17b87d3162e389d49dd4b63c9
/myblog/settings.py
d3b457a6905cd1144e9f52cbbcab5e4113b430d1
[]
no_license
rm4703/myblog
58cae8d6907fd968f0704313751bc4faa259fb06
7dcb402cfecd4ff447796bdcb9a0889cfedd19db
refs/heads/master
2020-04-24T06:29:03.643163
2019-02-21T01:22:10
2019-02-21T01:22:10
171,764,902
0
0
null
null
null
null
UTF-8
Python
false
false
3,325
py
""" Django settings for myblog project. Generated by 'django-admin startproject' using Django 2.0.4. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # ...
[ "r.m.d.karunarathna@gmail.com" ]
r.m.d.karunarathna@gmail.com
76bb9e0cafe73ba95cf62ab87ccc7cef03942f0d
556423abe075b21a03f6fdbaea2a6acd44a46a00
/tapystry/concurrency.py
6e9576e580a2536189c3d52cdc0e7069a58a7437
[ "MIT" ]
permissive
daniel-ziegler/tapystry
ebb43be58c2b733e0b4f8f395879d6b09bbff151
927d51be776103d7cbfa29a02ce93c0bc5747d12
refs/heads/master
2022-11-20T19:27:39.023537
2020-07-20T18:30:50
2020-07-20T18:30:50
281,474,463
0
0
MIT
2020-07-21T18:29:35
2020-07-21T18:29:34
null
UTF-8
Python
false
false
3,614
py
from uuid import uuid4 from collections import deque from tapystry import Call, Broadcast, Receive, TapystryError, as_effect """ TODO: have something like a Promise? def doStuffWithPromise(p): ... yield p.Resolve(val) p = Promise() yield Fork(doStuffWithPromise, (p,)) yield p reem suggests just running an ...
[ "wuthefwasthat@gmail.com" ]
wuthefwasthat@gmail.com
10e3051c6277a5bc0cdf2a0185509e35acb29bc2
1b94f9b96fd986a47bab1a839bb13045dfef61e4
/tests/read_write_json_test.py
19fa326989368ef4a7dc2c8619aede7880e2bb9b
[ "MIT" ]
permissive
Amine-HADJEMI/python-code-katas
565052c9413ff21afb1a57923461bff8acd91a15
496d9224bbef3ee83a0e94f3a27b8e03159f84c5
refs/heads/master
2023-03-18T20:30:20.465499
2020-11-10T07:11:44
2020-11-10T07:11:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
from src.katas.read_write_json import write_to_json_file, read_from_json_file import unittest class ReadWriteJsonTest(unittest.TestCase): _data = { "president": { "name": "Zaphod Beeblebrox", "species": "Betelgeusian" } } def test_can_write_given_data_to_json_file...
[ "tjthavarshan@gmail.com" ]
tjthavarshan@gmail.com
ed9eb94b204c2ea8d226b54c922d1098dc84d7f6
c0a10e255a0eccbda95427d3c32208298bf95f68
/build_ann_improve.py
7a7357ca9cd0240818bda78b8dc677b7c4421338
[]
no_license
jrachid/ArtificialNeuronNetwork
93093c3ef0407831459a4badac45963bc03308f7
4a78359a0e120580e95f6bfd4e2db212c5e9efa8
refs/heads/master
2020-04-17T11:24:03.437282
2019-01-19T11:27:01
2019-01-19T11:27:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,433
py
''' Une banque remarque que, récemment, beaucoup de ses clients quittent la banque Celle-ci vous recrute afin de comprendre ce qui se passe et pourquoi? La banque a sélectionné un sous ensemble de ces clients cet échantillon représente 10,000 clients customerID|Surname|CreditScore|Geography|Gender|Age|Tenure|Bala...
[ "rachidj@protonmail.ch" ]
rachidj@protonmail.ch
83c80056c6cc34b59806b887e9533647b054c969
b3c856026a28c766755d7a94e04c1d46a57d3769
/language/nodes/Pattern.py
4a58954d9555bdb1becb4d391d3797502dfb144e
[]
no_license
nipster94/humanoid-robotics
b72d3409b1b9fa83521a7330a0985b5ad5786b72
64c3852184d1e632403cf2a05906e56c81f28e08
refs/heads/master
2023-04-14T01:38:29.554381
2021-04-28T17:11:46
2021-04-28T17:11:46
211,831,854
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
class Pattern: def __init__(self, string): self.string = string def getString(self): return self.string def setString(self, string): self.string = string
[ "mailtonipun94@gmail.com" ]
mailtonipun94@gmail.com
51c4faecec1d981801b414bef09674ab7bb6981e
7e9d0982969c4875d58b527c72455da93ad8d0aa
/pioneer/client.py
2d3f97647603c36b617610ac94158ad943b77d5d
[]
no_license
vbanasihan/sample_code
bc6aeb5b69850cb8669adfb2f86d861daf35ea2a
cebfd605a3c8e790d0a8e9360524d0bdaed2f408
refs/heads/master
2023-02-09T06:31:45.590297
2020-12-31T23:18:25
2020-12-31T23:49:31
325,887,289
0
0
null
null
null
null
UTF-8
Python
false
false
3,067
py
from django.conf import settings from maria.client import HTTPAPIClient class PioneerClient(HTTPAPIClient): BASE_URL = settings.PIONEER_URL_PROD if settings.PIONEER_PROD else settings.PIONEER_URL_STAGING PRODUCT_TYPE_MEDICASH_DENGUE = 'MD' PRODUCT_TYPE_LEPTOSPIROSIS = 'ML' GENDER_MALE = 'M' GEN...
[ "silvenepistola@gmail.com" ]
silvenepistola@gmail.com
51a155118d26cb9fbbbe172f223b46f6532c9ecb
ac517b0cf71b2b501b184d3f10347294232c179a
/ocean_tasks.py
36f6a04579c7fe6706b74603e46abaff558d4db7
[]
no_license
douglasjacobsen/mpas-lettuce-ocean
6135b48cc168bae34ca1b828330b91765efed8bc
63dd5dc12e92667c7636ca7b8a5f37aea705e5bb
refs/heads/master
2016-09-15T22:32:23.590598
2015-02-18T17:51:05
2015-02-18T17:51:05
14,343,146
0
0
null
null
null
null
UTF-8
Python
false
false
6,836
py
import sys, os, glob, shutil, numpy, math import subprocess from netCDF4 import * from netCDF4 import Dataset as NetCDFFile from pylab import * from lettuce import * from collections import defaultdict import xml.etree.ElementTree as ET dev_null = open(os.devnull, 'w') def seconds_to_timestamp(seconds):#{{{ days ...
[ "jacobsen.douglas@gmail.com" ]
jacobsen.douglas@gmail.com
522cb82226b84c23e82b5bac48da2df2b3f8d690
d727adfa5c469625182e18448e297786988e953b
/examples/python/export_attachments_comments.py
180997d51f20f4d6a357ddfa28f457556b21c10c
[ "MIT" ]
permissive
swaticode/ScrumDoAPIv3
17958f8f7350bc9e5e0b3f6d0eba46f794f06be3
042a21d259029123f1ca1ab27fcd9360281787af
refs/heads/master
2021-01-23T17:42:17.404561
2017-04-27T00:54:03
2017-04-27T00:54:03
102,773,266
0
0
null
2017-09-07T18:43:04
2017-09-07T18:43:03
null
UTF-8
Python
false
false
3,388
py
import slumber from colorama import init, Fore, Back, Style from time import sleep import urllib2 import local_settings as settings import json import os # We're using slumber (http://slumber.in/), a python library that makes RESTfull calls amazingly easy, to access the API def main(): init() base_url = "%s/api/v3/...
[ "marc.hughes@gmail.com" ]
marc.hughes@gmail.com
c41c591c5cd9229e940f202ae5d2a67c35aa77b3
ee0902f2b930eeb9ae626f4a325a62bcd505a108
/app/consoles.py
60e3074ccf9814bf8333913fc16a02b8fce2286c
[]
no_license
EvanDorsky/wh2music
052f1e809cb96f8c154edc92763514a7c0390ed2
6df422a48dd03390383ab46c87c93229f082f4d4
refs/heads/master
2021-01-18T07:48:37.425963
2013-06-26T01:07:57
2013-06-26T01:07:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
#For shits and giggles, for those times I type console.log from __future__ import print_function import sys import inspect class Console(object): def __init__(self, log=None): __old_excepthook = sys.excepthook self.__log__ = [] def console_excepthook(*args): if log: ...
[ "allevitan@gmail.com" ]
allevitan@gmail.com
9ed54c4533ed3732ca4a892e7612914bbe44c2c4
d0f5fc44cd928fe575774403dcf05cb3a2f52dba
/src/appier/test/__init__.py
5b2204c86fab7233c0af77351c4f8902bb4466ce
[ "Apache-2.0" ]
permissive
gcandal/appier
8f7a7088da56637e0ff079b395b1af863a77d4ca
00a8bd952fda2392184308e324bd97ba4bb18f3c
refs/heads/master
2021-07-16T02:28:25.894889
2019-06-17T18:10:58
2019-06-17T18:10:58
69,974,499
0
0
null
2016-10-04T14:42:32
2016-10-04T14:42:32
null
UTF-8
Python
false
false
1,213
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Hive Appier Framework # Copyright (c) 2008-2016 Hive Solutions Lda. # # This file is part of Hive Appier Framework. # # Hive Appier Framework is free software: you can redistribute it and/or modify # it under the terms of the Apache License as published by the Apach...
[ "joamag@gmail.com" ]
joamag@gmail.com
5baf5f4ab1ce0f06bf39227bd60e30bfe38afa7f
bcbf1ea1c0c900e6d351bedcbf70025f7da1495f
/torch/cuda/amp/grad_scaler.py
dbb6371d633f10fefae1fe7541410cc06bd95aa8
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
taohe/pytorch
aeaca1ffd66b389535fd7b16eca61ab486c629a5
f5f1e5e7f66502a6a3f53f22f5034fdef8f040e9
refs/heads/master
2021-02-05T14:50:52.607646
2020-02-28T07:43:39
2020-02-28T07:48:09
243,793,286
0
0
NOASSERTION
2020-02-28T15:26:36
2020-02-28T15:26:36
null
UTF-8
Python
false
false
20,996
py
import torch from collections import defaultdict from torch._six import container_abcs class _MultiDeviceReplicator(object): """ Lazily serves copies of a tensor to requested devices. Copies are cached per-device. """ def __init__(self, master_tensor): assert master_tensor.is_cuda sel...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
27d895e9926997b17101009aa6aad3e92ea748bb
b25e06d09ac3bcd31f6589c06d72790a96e447d1
/IPL/Mixed records and analysis/most_matches.py
0be12f7bd21eea213a46e79d4e75675bd029c1f7
[]
no_license
forceyash/PythonProjects
01aaa16d246bea183028952085ad56b7e19f4b58
387b195a61e4cdaa1da96ab38a65bf0b326f11d8
refs/heads/master
2020-03-24T19:04:01.269194
2019-02-28T17:50:52
2019-02-28T17:50:52
142,907,972
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np deliveries = pd.read_csv("C:\\Users\\yash.a.mishra\\AppData\\Local\\Programs\\Python\\Python37\\Machine Learning\\Pandas\\ipl\\deliveries.csv") #mapper = deliveries.groupby(['match_id', 'inning']).batsman.apply(lambda x: dict(zip(x[~x.duplicated()]...
[ "forceyash@yahoo.com" ]
forceyash@yahoo.com
3798c5835b31c5b38035c561ed16c4a8bb5e76ca
49cfa38094989a4762bd1a875af0c1c38f893220
/project/settings.py
22ee98e17346257203e29e5b56e5c064c1263575
[ "MIT" ]
permissive
Rajesh25B/SuperSpace
8879e5315792e20bc4790c44dacbbf813a65f5e6
86eeb9bd499e21c92a29a44e31985333bd85cd28
refs/heads/main
2023-03-21T06:38:53.433466
2021-03-21T20:21:46
2021-03-21T20:21:46
349,925,742
0
0
null
null
null
null
UTF-8
Python
false
false
3,306
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 3.1.7. 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/ """ from pathlib...
[ "basvoju.rajesh@gmail.com" ]
basvoju.rajesh@gmail.com
f2bc31a5e78ba6421224eb8bd9681f9117f2613e
25884fc96cabc943f3f4a4525f21d89b260ad279
/Source/Falcom/EDAO/Decompiler/Instruction/ScenaOpTableEDAO.py
e2b41dad36eb912282f2ebc1ab104ac6169c885b
[]
no_license
poragn/Arianrhod
67399e7e0678b0988aa3f9b12ccc318c877b3178
2f1a7ac4daba1c6f1cf7a29db4b7cddac288d00e
refs/heads/master
2021-01-20T22:54:54.321842
2015-09-20T07:25:45
2015-09-20T07:25:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
59,541
py
from Assembler.InstructionTable import * from Base.EDAOBase import * from GameData.ItemNameMap import * def GetOpCode(fs): return fs.byte() def WriteOpCode(fs, op): return fs.wbyte(op) edao_op_table = InstructionTable(GetOpCode, WriteOpCode, DefaultGetLabelName, CODE_PAGE) InstructionNames = {} ...
[ "Hiromi.Kaede@gmail.com" ]
Hiromi.Kaede@gmail.com
c75be62d48e1e7fccfa5287f481f7b78ab92666a
22b14855ddbe3b2ab6d35e0698b19cd494a1d44f
/models/__init__.py
fc4f78da65dea698346e9473caf7bd88ec3de44f
[]
no_license
felicia126/pytorch-semantic-segmentation
810825622c9133c020ae3ba8bc6afd138e470224
8a524d1fa428b6f2e5c08f1818de03ce6be25be0
refs/heads/master
2020-06-25T20:48:01.038889
2017-06-09T05:52:48
2017-06-09T05:52:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
from fcn16 import * from fcn32 import * from fcn8 import * from seg_net import * from u_net import *
[ "mldzj123@gmail.com" ]
mldzj123@gmail.com
175e8207d56f5e176fe01f5da9e8e3596f826d8b
b1c35226c198c3225c4efe5e87bbeaee880d9ec9
/Assignment Module 1/py_module01.py
1e564fac216067bbc2c937b22d26fa0147a70db7
[]
no_license
shubhrock777/Python-basic-code-
fb054f9051edf34b026c4596237040e75eb351cf
0716dd1a7aa7c6d2c4197e48694e6025c524541a
refs/heads/main
2023-06-01T02:09:38.805179
2021-07-03T15:48:07
2021-07-03T15:48:07
379,822,075
0
1
null
null
null
null
UTF-8
Python
false
false
1,240
py
# -*- coding: utf-8 -*- """ Created on Mon Jan 11 13:58:56 2021 @author: SHBHAM """ ###############Assigement 01 Data types ################ ###########Q 1 list_a = [7, 8, 1.5, "apple", "lemon", 57j, 85j, True, False] list_b =["peanut", "coffee", 7, 1.5, 87, 9, 77j, False] #a list_ab= list_a + list_...
[ "noreply@github.com" ]
shubhrock777.noreply@github.com
1dfe198703d96f33798ce50381e62f19fedbbab7
a9e126ef31c2aae4d9b3ac311b2d9661b8d42984
/src/python/Card.py
6a418c33ef30cf2c513073de0187c4d798c4e991
[]
no_license
TechasitA/HeartsGameProject
d503749e96640d308fc8d4fbf83634764e26404d
8d2ef540f20345792a3577c6ec341a9029234fa7
refs/heads/master
2021-07-19T04:57:52.985325
2017-10-26T18:04:38
2017-10-26T18:04:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
class Card: def __init__(self, card_face, card_rank, card_point): self.card_face = card_face self.card_rank = card_rank self.card_point = card_point class Cards: def __init__(self): self.all_card = [Card("2C", 1, 0), Card("2D", 1, 0), Card("2H", 1, 1), Card("2S", 1, 0) ...
[ "techasit.a@ku.th" ]
techasit.a@ku.th
52f5b9095b43499626a4a6321bae18fac50ec5a0
3c58ba2adb6117bcb97575ac856b0daf1ed85f3b
/if.py
c708b7776712f3fbc3791f57301515d6b605eb0b
[]
no_license
yurulin1113/Python
e3abeafe64b9979f27a8546bdc66bc77bd508dd7
7b75e46a2f605b20d5ee3f3cc12b37729646e5bd
refs/heads/master
2022-12-02T09:42:38.990332
2020-08-21T10:11:13
2020-08-21T10:11:13
283,524,806
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
if True: print(123) print("hello") num = 11 if(10 < num < 20): print(exit())
[ "M0907150@o365.fcu.edu.tw" ]
M0907150@o365.fcu.edu.tw
55cd26824257f1f561dfa6ab170668f5f9c881e9
6bf592542ebb071060c78e3a7f9370ac35acd5e3
/scripts/watchberead.py
65c32c050a2e4c0725af6b74120e2b559aa80446
[]
no_license
DeathWish5/NDDBS
285800a9fbcc76b9475719deb278774cf8a963b1
a915bffdf3e7504fa7d15f74ee25690f6d687782
refs/heads/main
2023-05-21T09:30:18.353458
2021-06-06T09:57:18
2021-06-15T13:21:12
374,324,590
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
import pymongo from pymongo import MongoClient client = pymongo.MongoClient('mongodb://183.173.78.37:40000/') db = client.ddbs change_stream = db.beread.watch() for change in change_stream: # change = change['fullDocument'] # {"timestamp": xx, "id": xx, "uid": xx, "aid": xx, "readTimeLength": xx, # "agre...
[ "zyr_ms@outlook.com" ]
zyr_ms@outlook.com
427472ba3d76f7c4f286f53df7b5d26a580ad917
2421c19633749806a4d81d7a85fdf3063e64f5ef
/main.py
7ecef279543bff227a48cee1accfa343597a8e58
[]
no_license
chezhihua/BathyMetriceModel
cf7e3227538a82f63dba5f3cb8b923fd4a378e98
1eeaa3eb0507e49ad18d2a5c12316c676d0d49d8
refs/heads/main
2023-06-28T08:31:48.038852
2021-08-01T09:25:03
2021-08-01T09:25:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,348
py
# File :main_02.py # Author :WJ # Function : # Time :2021/07/13 # Version : # Amend : import os, h5py import time import numpy as np import pandas as pd import SeaSurfaceAndSeaFloorDetection_0801 as detect np.set_printoptions(suppress=True) import Section as sction import ReadH5 as readh5 from icecr...
[ "772066235@qq.com" ]
772066235@qq.com
b489578b017710ed899ebfad438fb3b607cf8d4b
2837bb900c2abb8d7ba34d92a771c430aeef90c8
/begi 38.py
999d0c07d75cd5127bbd9196a8134981b099fb3b
[]
no_license
Aravindandeva/Python-files
9e81919db80f18e28ac76f37bcb63ef3d7477db0
4c259478efd8d7d014d56542400d3444951ea97b
refs/heads/master
2020-06-14T12:11:41.237085
2019-07-31T11:16:14
2019-07-31T11:16:14
195,001,196
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
t=list(map(int,input().split())) su=reversed(t) print(*su)
[ "noreply@github.com" ]
Aravindandeva.noreply@github.com
00db01141a6fe24c1993c1a67bc74eea2ca0085c
6cff51ebc9320575978b4994c8e962f98055dad6
/Python/addColumn.py
85a8cbc70fdb0fc27fbf319b1615a8027f657fca
[]
no_license
GajanSoorian/Cplus_plus_Exercises
d7603d9ac5c1bc8aa3412594eaa5bb001e070857
f01b929d3d5071d64007ff010c02de07e999a0a6
refs/heads/master
2020-06-14T23:23:00.583463
2020-03-04T16:47:29
2020-03-04T16:47:29
195,153,540
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
a=[] sum=0 with open("inputFile") as f: for line in f: a=line.split() sum=sum+int(a[2]) print sum
[ "gajan" ]
gajan
016c37473a3491cfa4ed004a213d50967866ac40
cad07b56ba48e8769f91d9b5b05ff649a3eb9bcc
/oa.py
82a43e206edb74fd9b27da08255901def90642f1
[]
no_license
wangqi504635/webSpider
705742b61c34bafccf9c209634801cd238638df8
ebf3076d27ed9024d6ee49f8cc1eca8225b51996
refs/heads/master
2021-01-10T01:33:37.268912
2015-12-18T02:15:26
2015-12-18T02:15:26
44,084,416
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
__author__ = 'wangqi' # coding = utf-8 from selenium import webdriver url = "http://oa:2004/NewOrder.aspx"; browser = webdriver.Firefox() browser.back() browser.get(url)
[ "wangqi504635@gmail.com" ]
wangqi504635@gmail.com
9dd90e30d784cb7260b333f35539da47d64ee751
b4945edc408bdfc22050e305e12b3ac5425e4c07
/find_f2.py
0918f24ab2067e87716a937da58bbf1854c500fb
[]
no_license
hilaryfinucane/ibd
ec691e31fa9f0c7137e4c1bcfc563364561ef386
54fdd48350280123687bfa3b6762d9d328fdd5e2
refs/heads/master
2020-12-24T18:32:23.258409
2016-05-20T03:38:51
2016-05-20T03:38:51
58,578,588
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
from __future__ import print_function import numpy as np from pysnptools.snpreader import Bed data_dir = '/groups/price/hilary/ibd/data' bedfile = data_dir+'/1000G.EUR.QC.22' outfile = bedfile+'.f2snps' bed = Bed(bedfile) x = bed.read() b = np.array([sum(x.val[:,i]) in [2,976] and 1 in x.val[:,i] for i in range(len(x...
[ "hilaryfinucane@gmail.com" ]
hilaryfinucane@gmail.com
8e14b94f7a26ca4103feb5dbec9ae3a8cc3fc5c3
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/176/usersdata/268/95705/submittedfiles/funcoes1.py
ebcc0baaf58cceb76e4bfbf2803dbbd5ece60cf7
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
# -*- coding: utf-8 -*- def crescente (a): #escreva o código da função crescente aqui cont=0 for i in range(1,len(a),1): if (a[i]>a[i-1]): cont=cont+1 else: break if cont==len(a)-1: return(True) else: return(False) #escreva as demais funçõe...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
61bc500b0f35345aaa4638b3e4b0d5530638212a
2df240db11427f8f1ca0f76e93967268328501a1
/CVE-2020-0796/exploit.py
682c580809cafd4e46844018f9aaaf2d6f08ae3b
[]
no_license
ww6453/CVE-POC
b4b3107a3b01eca571bce3f59d354accbb432e0a
b37ba70068dd4f1c391f9f125e80db5f9610488a
refs/heads/master
2023-03-24T04:03:48.224305
2021-03-23T02:51:56
2021-03-23T02:51:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,831
py
#!/usr/bin/env python import sys import socket import struct import argparse from lznt1 import compress, compress_evil from smb_win import smb_negotiate, smb_compress # Use lowstub jmp bytes to signature search LOWSTUB_JMP = 0x1000600E9 # Offset of PML4 pointer in lowstub PML4_LOWSTUB_OFFSET = 0xA0 # Offset of lowst...
[ "noreply@github.com" ]
ww6453.noreply@github.com
7a34a4fdfc88f0e171da67b11b861052b765533f
dc36e50bf32db3229c4e932e27cad9126451dec6
/interceptors.py
1bc83f894ecd8215092dba14e6895fb29373f27f
[ "Apache-2.0" ]
permissive
ilyde-platform/ilyde-jobs
ca565b2d8f16dc0e191f66e03b49afc4473642c0
3b272dfe45c498f8e5cbc34a3b2be7d564885d8d
refs/heads/main
2023-05-14T14:30:47.073807
2021-05-28T09:47:50
2021-05-28T09:47:50
352,955,697
0
0
null
null
null
null
UTF-8
Python
false
false
3,068
py
# encoding: utf-8 # # Copyright (c) 2020-2021 Hopenly srl. # # This file is part of Ilyde. # # 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 #...
[ "tony.wilson@hopenly.com" ]
tony.wilson@hopenly.com
0a194bbc1f44a56f7bcabf7b470ef4d309b0de4b
6b629453f455ef6525a157dbc169a14484afebdc
/api/other_apis.py
8c3703b51ea93111ff117d33ffcebbaf89ea20fb
[ "MIT" ]
permissive
ashleymeah/pinybot
4bbdf8c4e04fde318490e90700f59c6fe0d9bb4d
54bc75e894d46c09a9b6ff32644dbe07d225f4ba
refs/heads/master
2021-01-18T13:22:30.606169
2016-08-18T17:10:32
2016-08-18T17:10:32
65,678,969
2
0
null
2016-08-16T18:51:58
2016-08-14T17:49:36
Python
UTF-8
Python
false
false
15,404
py
# -*- coding: utf-8 -*- # Provides functions to search/explore various APIs i.e. urbandictionary, # worldweatheronline , ip-api and api.icndb & many others. # Includes BeautifulSoup parsed APIs/websites functions. import web_request import unicodedata import random try: from bs4 import BeautifulSoup except Impor...
[ "goelmolel@hotmail.com" ]
goelmolel@hotmail.com
8ee5db8601d04ac50e9dad4014de6eb39977675b
ea0943075aa088a97c012d5f8a2039eb6c2238ee
/webdriver_manager/config.py
cd768f7cc0941d8f00c650e5dcb70fc5a85d6e17
[ "MIT" ]
permissive
golemhq/webdriver-manager
16efde8e8901a7f302251a9d786b9999327e75ab
0e72ef1e4c882989fd78cd50b9e46a4503e5fac5
refs/heads/master
2023-04-06T15:23:15.818404
2021-04-13T02:16:49
2021-04-13T02:16:49
117,376,091
5
2
null
null
null
null
UTF-8
Python
false
false
434
py
ALL_DRIVERS = ['chromedriver', 'geckodriver'] DEFAULT_DRIVERS = ['chromedriver', 'geckodriver'] CHROMEDRIVER_STORAGE_URL = 'https://chromedriver.storage.googleapis.com' CHROMEDRIVER_LATEST_FILE = 'https://chromedriver.storage.googleapis.com/LATEST_RELEASE' GECKODRIVER_LASTEST_URL = 'https://api.github.com/repos/mozi...
[ "feo.luciano@gmail.com" ]
feo.luciano@gmail.com
c60786012e3320cf0da9a0a1a2d75376c66b34b1
f9b90e0c103e0b5297b9ec142341bce24e8e6372
/djangoProject/urls.py
507edec3e889aaedfed881fae8f2311e6c2891da
[]
no_license
VaultBoee/test_rep
106b43a0ee7bf99692c3128490a0df6d2721c3bb
aa71e9681e05c3daa500c02d1090c9dce2f06fe0
refs/heads/main
2023-05-15T10:02:53.534653
2021-05-29T01:01:23
2021-05-29T01:01:23
371,848,724
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
"""djangoProject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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') Class...
[ "vaultboee@gmail.com" ]
vaultboee@gmail.com
a75dcb96bfd05a6f1298857cfa6c5d2702865b08
010c50a5fb86a6f2a86f78cafd46641e2cdeb10c
/CityMotif/Document/筛选.py
947219c3c74c47e64fbda48a2c9996bb8b646438
[]
no_license
Qi-Sun/SuzhouProjects
d4fca26fa2b0549b9509506cfb6df5690702887e
6a88c54d781d2a121d21411a4ba6d3af9ab60124
refs/heads/master
2020-03-11T13:05:34.185692
2018-07-06T04:40:29
2018-07-06T04:40:29
130,015,060
1
0
null
null
null
null
UTF-8
Python
false
false
2,414
py
--------------3--------------- {'gID': 78, 'freq': 784424.0, 'ave_rand_freq': 821466.94, 'conc': 0.40653, 'ave_rand_conc': 0.42993, 'f-ZScore': -0.16, 'f-pValue': 0.917, 'c-ZScore': -0.43, 'c-pValue': 0.924} {'gID': 98, 'freq': 1881.0, 'ave_rand_freq': 1657.67, 'conc': 0.00097, 'ave_rand_conc': 0.00092, 'f-ZScore': 0.4...
[ "qisun13@pku.edu.cn" ]
qisun13@pku.edu.cn
b719bab964c3d9886777b054c8dfa8c94cf39888
448b5ced3ff3a7164731404e517ebddd95a195e8
/Resnet_tl/utils2.py
fcbd091cf4b461aab94ed40ddd8451e60df77e69
[]
no_license
xkinghust/Benchmark_EPS
032d512eff5bff0fce81d3e8afee20880b44a060
697a44faa6c1c8ee88dfacb8e1723fcd30eba613
refs/heads/master
2020-07-10T13:47:14.826717
2019-06-19T10:00:20
2019-06-19T10:00:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,240
py
# coding=utf8 """ Deeply-Recursive Convolutional Network for Image Super-Resolution Paper: http://www.cv-foundation.org/openaccess/content_cvpr_2016/html/Kim_Deeply-Recursive_Convolutional_Network_CVPR_2016_paper.html Test implementation utility Author: Jin Yamanaka """ from __future__ import division import dateti...
[ "flying10101@gmail.com" ]
flying10101@gmail.com
cfb1c009a31a672021f21e0d7b268494c5275f1c
3649895cf37988d260e409d3eb01023182619d6a
/findInLineWord.py
02a0cc1cdf49ffd742523c223c3465f5db8f6c26
[]
no_license
guneetbrar/pyPractice
bb7b9720739e76e5348dbcf43e0188854121b82d
255dc7f5a0ba57404fc9da16f86513ed8451d4f1
refs/heads/main
2023-01-13T18:37:20.687813
2020-11-17T15:36:53
2020-11-17T15:36:53
301,205,506
1
0
null
null
null
null
UTF-8
Python
false
false
134
py
fhand = open('test.txt') for line in fhand: line = line.rstrip() if not '@gmail.com' in line: continue print(line)
[ "guneetsb25@gmail.com" ]
guneetsb25@gmail.com
dd81a794303ed6d00e9d6a631b8f341e69601a53
586bd1e20882fc779f1352eab629ff78aa3c9fa2
/sendgrid_backend/version.py
bb200152c96c51b2e3037463c6bfbfae581d9433
[ "MIT" ]
permissive
mr-napik/django-sendgrid-v5
58ad930c0d1bc8e9cde5d1b9e70fc57b560b6aa0
7b1e162347d49d1d4c72f4a891d5239adfc8a0ea
refs/heads/master
2021-05-02T13:04:06.811933
2018-02-08T17:01:42
2018-02-08T17:01:42
120,752,536
0
0
null
2018-02-08T11:24:42
2018-02-08T11:24:42
null
UTF-8
Python
false
false
23
py
__version__ = "0.6.86"
[ "steve@predata.com" ]
steve@predata.com
916dc949f6c1d7d4b3f95ec28302bd150df14b7b
c5abc087ace887df784be3ab7012c94a6e533d9f
/test/testClass.py
315f79915b502591bb7cf4d608661e2f5c3934ec
[]
no_license
ifhuang/azure-formation
bc0ec1926a6397f61c498450c6a202a595f09365
4db704a80c65e3e4e7d0ff18d64bfa04e7cfd407
refs/heads/master
2021-01-18T21:37:08.968600
2015-06-24T06:37:55
2015-06-24T06:37:55
30,116,621
5
0
null
null
null
null
UTF-8
Python
false
false
398
py
__author__ = 'Yifu Huang' from src.azureformation.azureoperation.service import Service class Pao(): def __init__(self, a, b, c): self.a = a self.b = b self.c = c def funcA(self): print Service.__module__ print Service.__name__ print Service.add_virtual_machi...
[ "ifhuang91@gmail.com" ]
ifhuang91@gmail.com
a467d308b3b97fee6e055f6835df889fd0257c31
3f63371bf7cdf4e8f875a90fdf4967674bb0766e
/NewsPaper/NewsPaper/news/migrations/0001_initial.py
5f600f56afecfec31b3d1cb8337889497b2e62bb
[]
no_license
Wistick/homeworks_skillfactory
c94a425b765a826d845bf428a17a8ded276790a4
652e1553d38e53b2a86a7c000462b624112d72d9
refs/heads/main
2023-05-03T15:07:08.104767
2021-05-14T14:14:10
2021-05-14T14:14:10
315,729,263
0
0
null
null
null
null
UTF-8
Python
false
false
3,300
py
# Generated by Django 3.1.7 on 2021-03-31 13:58 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...
[ "vadim.ska8@yandex.ru" ]
vadim.ska8@yandex.ru
2bf364eb9a7d7b7ff5c59dd4ab1318f9930c17a8
067b8f7180d15375a593163b44952b82544914f5
/其他python/aaa.py
3dc45608ab790574222e200a3f17017dd74dcdf8
[]
no_license
WenRich666/learn-note
fb0bfdfcddba78ccb6d35837ed2c59421907b70e
d4a344396380cefd9391baede824acabc916e507
refs/heads/master
2020-04-13T05:36:36.505613
2019-01-21T08:37:20
2019-01-21T08:37:20
162,996,885
0
0
null
null
null
null
UTF-8
Python
false
false
2,087
py
# a = input("告诉我一个数字") # b = input("告诉我另一个数字") # # def add(a,b): # while True: # a = input("告诉我一个数字") # a = int(a) # b = input("告诉我另一个数字") # b = int(b) # # c = (a + b) * b/2 # print(c) # # while a == "q": # break # # add(0,0) # # def add(): # while Tr...
[ "940031354@qq.com" ]
940031354@qq.com
55b6489b980ed4ad7ed831baf64d907a917f24c4
cb5abbab5007a40f488c0022da91014959885a7b
/tests/test_appengine_api.py
be29069de30a79da634abf37359adaba6fbccb81
[]
no_license
ryangavin/stevens_hackny2011
e6cc9e823db6510b70a21f0197cdd7da2fd1a4c6
f3b09daa9b40626099559445826de8d535a1b086
refs/heads/master
2021-01-01T06:50:31.110394
2011-04-10T15:47:40
2011-04-10T15:47:40
1,592,213
1
1
null
null
null
null
UTF-8
Python
false
false
732
py
"""Additional sample test file that will run along with app_tests.py""" import unittest from google.appengine.ext import testbed from google.appengine.api import urlfetch class AppEngineAPITest(unittest.TestCase): def setUp(self): # First, create an instance of the Testbed class. self.testbed = ...
[ "ajshulman@gmail.com" ]
ajshulman@gmail.com
7930e93940a91400b229d171cfdc37c5ed30cf8d
f19cdf33828cd0c0b35d07762213ac89811806fe
/py_37_env/bin/pip3.7
a75cae7e00096766c1b8cf0f61a7f79bcdbd4410
[]
no_license
gdvorakova/whats-cooking
4c7c32348e2c56e8b6bb2db12edafba8b4d02f59
de05173d9bfc3f67cd8991573765e13af5fd302f
refs/heads/master
2022-11-14T15:34:21.239912
2022-04-16T10:35:19
2022-04-16T10:35:19
185,632,177
1
1
null
2022-10-27T14:49:31
2019-05-08T15:22:47
Python
UTF-8
Python
false
false
281
7
#!/Users/gabrieladvorakova/School/Data_mining/whats-cooking/py_37_env/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gabdvorakova@gmail.com" ]
gabdvorakova@gmail.com
f6aa5a31dad49fc2d24535d0b476a474e66caa93
818afee23371db486b3736e40861dbd8a4bdbccf
/python_work/Chapter 2/2-9.py
7d80db9ae7a25e354d6f02ac037e3b657fe5c8b9
[]
no_license
BW1ll/PythonCrashCourse
c12a3da029652ac7eac827de040f95f9216c0967
8ac53cf439bc55896e8f5a6d7f52f60a6cb34ceb
refs/heads/master
2022-12-27T19:46:13.905195
2020-09-28T13:15:25
2020-09-28T13:15:25
297,403,097
1
0
null
null
null
null
UTF-8
Python
false
false
67
py
fav_numb = 21 print("My favorit number is " + str(fav_numb) + ".")
[ "noreply@github.com" ]
BW1ll.noreply@github.com
231f213e52df80c3e39913394ea56558f1802acb
c47466490b41101de7cf299eb0ab38564a2f2242
/build/racecar_base_public/planning_utils/catkin_generated/pkg.develspace.context.pc.py
70aa7290238b0e7241b7931e3d8dd69eddd21e8e
[]
no_license
kleist27/FinalProject_545
b1beffb10ad2bc6ece76ec17afe163e5e718f8fb
5be47eb0b3989e581869fa0fe7a4490e6ea6a323
refs/heads/master
2020-04-08T05:42:12.293288
2018-12-10T03:53:03
2018-12-10T03:53:03
159,070,418
1
0
null
2018-12-10T03:54:04
2018-11-25T20:13:51
Makefile
UTF-8
Python
false
false
385
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "planning_utils" PROJECT_SPACE_DIR = "...
[ "dylankleist@gmail.com" ]
dylankleist@gmail.com
d47558441774fb9ace9df0ced14340f028f372ab
358d22334e78eee7ae94abebdbd341a622f31add
/amazon interview experience/amazon hydrabad benguluru problem.py
76aee1173d475957600b67a21b01379b2b950867
[]
no_license
mihir6598/python_competitive
9ad1faa9c4ff50c50a8c82d7b2b20c3ed7f4f582
135b2c28d7200bbe7bfd2244fd17e34d9a08bdd6
refs/heads/main
2023-07-05T01:59:22.007318
2021-08-03T13:33:43
2021-08-03T13:33:43
339,310,299
0
0
null
null
null
null
UTF-8
Python
false
false
1,086
py
def solveutil(arr,i,h,b,n,ans): if h<n/2 and b<n/2: ans += min(arr[i][0] + solveutil(arr,i+1,h+1,b,n,ans),arr[i][1] + solveutil(arr,i+1,h,b+1,n,ans)) elif b<n/2: ans += arr[i][1] + solveutil(arr,i+1,h,b+1,n,ans) elif h<n/2: ans += arr[i][0] + solveutil(arr,i+1,h+1,b,n,ans) return...
[ "mihirpatel6598@gmail.com" ]
mihirpatel6598@gmail.com
b33c3549762293ea977ceb562ae38ec34716f32f
73bc2d190b8bc3c3b4e03c4e06e850caf2d44a58
/train_LSGAN.py
39ab3bc688e23555b46d35b8e40445c9c1bf67d7
[ "MIT" ]
permissive
masataka46/demo_LSGAN_TF
ee0c35cc9fcc72b15a667005a32aa836bb71d242
c021acdd8024214a7afc47689aa57c5680da5906
refs/heads/master
2020-03-23T06:36:04.571225
2018-07-17T02:45:47
2018-07-17T02:45:47
141,218,424
0
0
null
null
null
null
UTF-8
Python
false
false
17,136
py
import numpy as np import os import tensorflow as tf from PIL import Image import utility as Utility import argparse from make_datasets_food101 import Make_datasets_food101 def parser(): parser = argparse.ArgumentParser(description='train LSGAN') parser.add_argument('--batch_size', '-b', type=int, default=20,...
[ "takamitsu.ohmasa@automagi.jp" ]
takamitsu.ohmasa@automagi.jp
a052fe4863ca0a8bd3eadc1ce067c0397d7da66a
f2a7d668a3c359f86b07f23d5beba5cb6a0bb5f4
/Beginner/numberMirror.py
0354fbc1708a92545c7aac6a2506a522dad3e976
[]
no_license
deblina23/CodeChef
cbe4280ebec446685bfb0a3ea3322214126297b3
ceaca18defb7556c29e243c6b6ec736f663f3e56
refs/heads/master
2023-03-10T21:31:27.995069
2021-02-25T21:38:37
2021-02-25T21:38:37
336,050,803
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
#!/usr/bin/env python3 def readNumber(): number = int(input()) return(number) def checkRange(number): if (number>=0 and number<=pow(10,5)): return(True) def printNumber(number): if(checkRange): print(number) if __name__ == "__main__": number = readNumber() print(number) ...
[ "deblina.ghosh.kolkata@gmail.com" ]
deblina.ghosh.kolkata@gmail.com
5c4f8cbe73ec084c1608b7821080c56ba3a202b3
eb3683f9127befb9ef96d8eb801206cf7b84d6a7
/stypy/sgmc/sgmc_cache/taxonomy/builtin_functions/chr/error_chr_return_type.py
6c0680a7395028a90a275f021b42741f3f8bd809
[]
no_license
ComputationalReflection/stypy
61ec27333a12f76ac055d13f8969d3e0de172f88
be66ae846c82ac40ba7b48f9880d6e3990681a5b
refs/heads/master
2021-05-13T18:24:29.005894
2018-06-14T15:42:50
2018-06-14T15:42:50
116,855,812
2
0
null
null
null
null
UTF-8
Python
false
false
2,903
py
# -*- coding: utf-8 -*- """ ORIGINAL PROGRAM SOURCE CODE: 1: # coding=utf-8 2: __doc__ = "chr builtin is invoked and its return type is used to call an non existing method" 3: 4: if __name__ == '__main__': 5: # Call options 6: # (Integer) -> <type 'str'> 7: # (Overloads__trunc__) -> <type 'str'> 8: 9: ...
[ "redondojose@uniovi.es" ]
redondojose@uniovi.es
5b95e0f5bd0781c50512249533f5bf7221c82ec2
227b4fa87c66c9e8e0d159a69e4b86c1c1c910fc
/python/ex.py
42beae8470046bb8024a5dbf517808a98b139a30
[]
no_license
hiddenace0-0/Noob-Projects
935e7c87ab87d955401d4468446ca776dff12bc0
3cd11f1b5f636d6401ada3e415c62aeb28a4cb43
refs/heads/main
2023-08-10T18:06:27.450708
2021-09-10T14:28:22
2021-09-10T14:28:22
395,020,022
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
import requests import json response = requests.get('https://api.stackexchange.com//2.3/questions?order=desc&sort=activity&site=stackoverflow') print(response.json())
[ "hiddenacez@Aces-Air.cogeco.local" ]
hiddenacez@Aces-Air.cogeco.local
c33dfbd20e756cd9430e020afe1364b92bc051ef
0dd3e1a1d78b3a74b336f7082306eff82528d2b3
/pyext/professor2/ipolio.py
dee1e2555579acf4be09a9db6cad30c1ad66cad1
[ "MIT" ]
permissive
iamholger/professor
5306db0f9534b159bb98bb31db04aba7b7ce10bc
25753a19de0dbbd2db0eb80cedc87adc017459a1
refs/heads/master
2020-06-14T08:14:46.805475
2019-02-04T20:55:14
2019-02-04T20:55:14
75,209,672
2
0
null
null
null
null
UTF-8
Python
false
false
5,091
py
# -*- python -*- from professor2.errors import * from professor2.ipol import * from professor2.histos import * class IpolMeta(dict): def __init__(self, ifile=None): if ifile: self.update(self.read_ipolmeta(ifile)) @property def dim(self): return int(self.get("Dimension", -1)...
[ "holger.schulz@durham.ac.uk" ]
holger.schulz@durham.ac.uk
ccd5789da2e4c9864253749d6c74723de2dba159
15797ff64b716561d067db5f7d8ad7b7a7d86354
/apps/puppies/main/cyclone.py
6c0f0354e55c51f15e097bbccf4fa8a0ac939626
[ "MIT" ]
permissive
cloudacademy/lab-utils
27be7c0d4a87140929250afb3b95b73f066d0082
4af0d22ca9a4a7f59bf5d0d02516074496ca6437
refs/heads/master
2022-12-16T01:42:52.143567
2021-06-02T15:49:29
2021-06-02T15:49:29
71,278,089
3
4
MIT
2022-12-07T23:40:12
2016-10-18T18:19:55
HTML
UTF-8
Python
false
false
329
py
from tornado.wsgi import WSGIContainer from tornado.ioloop import IOLoop from tornado.web import FallbackHandler, Application from app import app tr = WSGIContainer(app) application = Application([ (r".*", FallbackHandler, dict(fallback=tr)), ]) if __name__ == "__main__": application.listen(80) IOLoop.instance()...
[ "ericovis@gmail.com" ]
ericovis@gmail.com
d1b0c749706d3e9f92703bdbaa8971e4b3b16169
8892b25314a97c48426220f0d60d34a4c11bbf99
/lista/migrations/0003_post_done.py
b97259844a768135f6412c13edc69a87d1950191
[]
no_license
mateoosh92/my-first-blog
82413b01a0c7627c4cda771f94491ace12b6190b
a7f7986a588bf53a9eeca1d3f1cc638d1cea7799
refs/heads/master
2020-04-16T10:17:30.552068
2019-01-16T14:06:10
2019-01-16T14:06:10
165,498,853
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# Generated by Django 2.1.5 on 2019-01-16 07:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lista', '0002_auto_20190112_1908'), ] operations = [ migrations.AddField( model_name='post', name='done', ...
[ "mmaliszewski92@gmail.com" ]
mmaliszewski92@gmail.com
c5e35b6297eb463bcbf83b9b4c9e1ab03d0934c0
8687f1f05d92099d0fe5438c4d4d398f8b7cfbf2
/blog/models.py
fab2ec11871adbf37feab38d5f5694a0d91b6732
[]
no_license
yoandresaav/Mircopayments_Systems-Bitcoin-blockchain-
5c42d1ecfffd71599a8cb5777091a57a266f6ce4
8d32ccac7d005efc966b98ebc787cc7162557bd5
refs/heads/master
2022-08-21T14:48:43.232923
2020-05-26T18:30:28
2020-05-26T18:30:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
from __future__ import unicode_literals from django.db import models # Create your models here. class Post(models.Model):# class name is capital. remember that! title = models.CharField(max_length=30) tag= models.CharField(max_length=30) post = models.TextField() thetime = models.CharField(max_length...
[ "32956678+talktovik@users.noreply.github.com" ]
32956678+talktovik@users.noreply.github.com
e7dd0f7b222db9458f0563e7fdd73a09effbfee1
733503f366825edf5f9c12f9d506af327bbb32c9
/mysite/urls.py
9de2ad9a615de7d454bb68cfa2f44dad7dbaa1d0
[]
no_license
momo2010/mysite
5a0be098cf79a420921888c05bed13aa067006da
7c0756c5d1f2d03d4086e2b6e09dbb2e787cee97
refs/heads/master
2021-06-28T08:38:34.456649
2017-09-18T01:45:18
2017-09-18T01:45:18
103,877,292
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
"""mysite 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-bas...
[ "ppjob@github.com" ]
ppjob@github.com
5aaac03e9abb2d9aa266b4cf69c3fc08101f9d61
d1fe787f5970fddcc8ddace34ed885d4c786e233
/week 1/drawFlower.py
0fb0b7ba0ac0ac3ec4871025e778948dd8a698b0
[]
no_license
astraub2/CIS210
e7a032883869026aa266efb7ed5d88cd328456af
1a50b97a1541141190c3dea5d8ec74f336cccf5d
refs/heads/master
2021-01-21T06:39:44.856018
2017-02-27T04:06:28
2017-02-27T04:06:28
83,266,855
0
0
null
null
null
null
UTF-8
Python
false
false
1,490
py
""" drawflower.py: Draw flower from multiple squares using Turtle graphics Authors: Amber Straub 95133723 Credits: CIS 210 assignment 1, Fall 2015. """ import argparse # Used in main program to get numSquares and sideLength # from command line import time # Used in main program to...
[ "astraub2@uoregon.edu" ]
astraub2@uoregon.edu
d80e2c7471b8fbfd17d1424ea85674f46384669c
3c7ce2f591fac6c17a41595a8ab6b7ed831afbe9
/deepl/extractors.py
551b5ef7f8083e84c6329e89e444ab214b70cb6a
[ "MIT" ]
permissive
saatanpion/Discord_Translator_2room
5c6a2aa5cbfa30bb21f6c89fca087085995225a4
f1d4abe8acf3377c63369b3a4009652e40e28c62
refs/heads/main
2023-07-01T03:30:08.504258
2021-07-29T07:01:19
2021-07-29T07:01:19
389,615,332
0
0
MIT
2021-07-26T11:53:04
2021-07-26T11:53:04
null
UTF-8
Python
false
false
375
py
def extract_translated_sentences(json_response): translations = json_response["result"]["translations"] translated_sentences = [ translation["beams"][0]["postprocessed_sentence"] for translation in translations ] return translated_sentences def extract_split_sentences(json_response): ...
[ "sayonari@pontanuMBA2021.local" ]
sayonari@pontanuMBA2021.local
b6b57348dc2be8a8685ef79ea553cdb8ddee01d5
592f4a21b94bf0aaec6983593063ca593d484276
/lambdafunction.py
2257cf725561340920a26c2a18d15ca752c7341d
[]
no_license
ayobablo/Steinserve-python-assignments
4ab657b7b19b3a3b2a40d0546039de3a787d3e08
f9a03f1bea49025c4c02902dde5b0a23a083a125
refs/heads/master
2020-12-21T23:16:54.293174
2020-01-27T21:51:45
2020-01-27T21:51:45
236,596,417
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
gg= lambda x:x+2 print (gg(1)) aa=lambda x,y,z:x+y+z print(aa(1,2,3))
[ "noreply@github.com" ]
ayobablo.noreply@github.com
969548608d601ec25b5bd267991480426c174433
9b0bdebe81e558d3851609687e4ccd70ad026c7f
/算法思想/贪心法/03.摇摆序列.py
d9f3e2f8193e6552ada3ed605107ffa9e21e059c
[]
no_license
lizenghui1121/DS_algorithms
645cdad007ccbbfa82cc5ca9e3fc7f543644ab21
9690efcfe70663670691de02962fb534161bfc8d
refs/heads/master
2022-12-13T22:45:23.108838
2020-09-07T13:40:17
2020-09-07T13:40:17
275,062,257
0
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
""" 描述: 一个整数序列,如果相邻元素的差恰好正负(负正)交替出现,则认为是摇摆序列,少于2个元素的序列直接是摇摆序列 给一个随机序列,求满足摇摆序列的定义的最长子序列的长度。 示例: 序列1:[1, 7, 4, 9, 2, 5] 摇摆序列:[6, -3, 5, -7, 3] @Author: Li Zenghui @Date: 2020-03-31 16:20 """ # 贪心规律:当序列有一段连续递增或者递减时候,为形成摇摆序列,只保留递增(递减)序列的首尾元素。 def wiggle_max_length(nums): if len(nums) < 2: return len(nums) ...
[ "954267393@qq.com" ]
954267393@qq.com
06038bdfb65cdd0a5211554888e826f071ed73cb
8492f9a7c15e8127b05ed826194c4ef9a6023a1a
/17/solution.py
5a8bca2a03fd50c3d0b0e58c88d2d124bfdf1817
[]
no_license
jobe0900/adventofcode2015
1eff50be50ac9118d6dd33e13d9c4e25396c2fa4
6989c463cc2c2332fef5982e970d2b5c8b7313d0
refs/heads/master
2021-01-10T09:52:59.866950
2016-02-05T13:34:26
2016-02-05T13:34:26
51,148,089
0
0
null
null
null
null
UTF-8
Python
false
false
1,809
py
#!/usr/bin/env python3 import itertools def test(): target = 25 with open("testdata") as f: lines = f.readlines() containers = parse_lines(lines) print("Containers: {}".format(containers)) combs = find_combinations(containers, target) print("FOUND combinations:") for c in combs: ...
[ "jobe0900@student.miun.se" ]
jobe0900@student.miun.se
d9f730da7e25eea9b9cbf3b8ca91929fd4f0b8d3
35948cb9eadfd2d6ed80361bedbe1579d9712f35
/fileupload/templatetags/upload_tags.py
fd421596fedefebe74fc3aa342ccb647aeff9d66
[]
no_license
KomeijiSatori/mysite
010e2e6210a91e683c133d54eec762ba593fd2eb
8565018a30a81fc32d904e57b2347f2e24a726c0
refs/heads/master
2021-04-06T10:48:59.865827
2020-08-28T16:45:03
2020-08-28T16:45:03
83,221,335
5
1
null
2018-02-14T09:01:47
2017-02-26T15:58:19
Python
UTF-8
Python
false
false
3,497
py
from django import template from django.utils.safestring import mark_safe from django.utils.translation import ugettext as _ register = template.Library() @register.simple_tag def upload_js(): return mark_safe(""" <!-- The template to display files available for upload --> <script id="template-upload" type="text/...
[ "KomeijiSatori07@gmail.com" ]
KomeijiSatori07@gmail.com
083277fc7c133a970f3166b8aa8e562115f140b5
06b67ac9f8c10225cead8b5f5d3afb29816f8585
/Main.py
7b2897bbdd1a02868ba32ccd82005dc7ff84765d
[]
no_license
agordo25/Class-work-5-15
d9224849a9aca673a80b5a3349aa9625957c3b40
a5f88f9a5dc7596315c6a04e601f8c0c5f155db0
refs/heads/master
2020-03-17T11:35:50.143449
2018-05-17T18:15:06
2018-05-17T18:15:06
133,557,034
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
from room import Room # file class kitchen= Room("kitchen") kitchen.set_description("A desk and dirty room buzzing with flies.") dining_hall = Room("Dining Hall") dining_hall.set_descrpition("A large roo, with ornate golden decorations on each wall.") ballroom = Room("Ballroom") ballroom.set_descrpition("A...
[ "noreply@github.com" ]
agordo25.noreply@github.com
0c2b3036624182822fb7490d40d6132819d75165
4f82f0d47c1ad5fce5cfb01226ee24938ffcbb1d
/my_notes/apps/account/urls.py
0fadb206b4294167205c4afa67c14cdf32f8c167
[]
no_license
khusainovrm/my_notes
fe042d9b43423c041c24649e4799b37c889e6b14
a672bc233d9327ebb1aeb0cbb161488b3d0ba269
refs/heads/master
2021-04-16T18:47:18.945225
2020-03-26T09:01:15
2020-03-26T09:01:15
249,376,781
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
from django.urls import path from . import views from django.contrib.auth import views as auth_views app_name = "account" urlpatterns = [ # previous login view # path('login/', views.user_login, name='login'), path ('login/', auth_views.LoginView.as_view (), name='login'), path ('logout/', auth_views....
[ "37953890+khusainovrm@users.noreply.github.com" ]
37953890+khusainovrm@users.noreply.github.com
73b2a72cf03900d1f809ced86925d237da893e05
2ebe38fe3251750fb992d1817cf5249573c8f3dc
/hxldash/processing_scripts/topojson_to_gz.py
0f35cabb7208ceec0b687f79cc70876672606ab4
[ "MIT" ]
permissive
SimonbJohnson/quickX3
c4d067aed978fb69a523e856694f5b3f7b9753d3
cda54c77ccf76f37246cf033d1266ac029adc36d
refs/heads/master
2021-06-24T07:47:53.857690
2020-11-06T12:27:49
2020-11-06T12:27:49
168,354,070
7
3
MIT
2021-06-10T23:35:10
2019-01-30T14:13:22
JavaScript
UTF-8
Python
false
false
771
py
import os import csv import gzip #params cutOffLevel = 4 rootdir = '../static/geoms/topojson/' #script variables countries = [] countryList = [] fileList = {} for subdir, dirs, files in os.walk(rootdir): for file in files: filePath = os.path.join(subdir, file) level = filePath[-11] coun...
[ "simonbjohnson@gmail.com" ]
simonbjohnson@gmail.com
c5ec23629e7505139473c17b90cfc7d9f78522f6
39c1de5995c11beabb1aebf1ca6d02d45bb73311
/day3/day3-1en2.py
d022a8536db733544af102298a8052e82766c7bc
[]
no_license
Pannekoek-Jona/AdventOfCode2020
24d70ac57abc131e176e6635e0ffbc20893e75ee
b69103c1bc1b3b6564f6dd8e8d58b08857d61b26
refs/heads/main
2023-01-24T14:06:40.982321
2020-12-10T19:29:50
2020-12-10T19:29:50
320,365,215
1
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
with open('day3/day3puzzle1.txt', 'r') as f: treeArray = f.readlines() trees = 0 place = 0 offset = 0 sum = 1 stepSize = [1, 3, 5, 7] if __name__ == '__main__': length = len(treeArray[0]) - 1 for iteration in stepSize: trees = 0 place = 0 offset = 0 print('ít...
[ "noreply@github.com" ]
Pannekoek-Jona.noreply@github.com
79726d5eb1481d93b134ae06b20764e1f8ebe3eb
b20cc38a18bba960ef9b0278cafde833397e506d
/plantcv/learn/__init__.py
34ad1d8165c9ceeb803b031925faad19db37183f
[ "MIT" ]
permissive
judgementc/plantcv
c44f1041bedf76f2f146131d594f7acdff26d944
6633dc457ffa1e54d1a3b7b8b4653607f23396b6
refs/heads/master
2021-07-14T22:31:03.750674
2017-10-21T12:54:58
2017-10-21T12:54:58
107,865,158
1
0
null
2017-10-22T12:47:41
2017-10-22T12:47:41
null
UTF-8
Python
false
false
110
py
from naive_bayes import naive_bayes from naive_bayes import naive_bayes_multiclass __all__ = ["naive_bayes"]
[ "noahfahlgren@gmail.com" ]
noahfahlgren@gmail.com
3610cfe8844edef8cea50aa2954c3dab2e06eaa7
41464d5effa3bcbaa1154e18d5a1199b0a36eb9b
/Egz/egz3.py
e22fc24777e8e153d7677afbbb855f77437a88a9
[]
no_license
kziel445/WizualizacjaDanych
da14d5dd3a766475c7c99bbceade775a933f263b
89ac340efbf88f48d3a31791bf90820917583725
refs/heads/master
2022-05-27T02:38:44.917593
2019-06-24T04:17:06
2019-06-24T04:17:06
173,711,017
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
import pandas as pd import numpy as np class czas: def __init__(self,godzina,minuta): self.godzina = godzina self.minuta = minuta def zegar(czas): if(czas.minuta<10): czas.minuta="0" + str(czas.minuta) print(str(czas.godzina) +":"+ str(czas.minuta)) slownik = {i :i*i for i ...
[ "noreply@github.com" ]
kziel445.noreply@github.com
c740d3355351568bdd35bb5a83a19d6658521d3f
68a66b222a8e81fbbef36e3b26cff16215a21f90
/caffeine_buzz.py
faa26d3bf351b68659c0c750965f79a43e21377f
[]
no_license
jeffwright13/codewars
725fd7d19db4b31f1d4c45fbb21f0e2b8f774425
92d16edd1441230e7c4ddc466b893e5ba5929e98
refs/heads/master
2020-04-15T15:02:36.704016
2016-11-09T18:38:17
2016-11-09T18:38:17
53,176,971
1
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
def main(): print caffeineBuzz.__doc__ def caffeineBuzz(n): """ Complete the function caffeineBuzz, which takes a non-zero integer as its one argument. If the integer is divisible by 3, return the string "Java". If the integer is divisible by 3 and divisible by 4, return the string "Coffee" If...
[ "jeff.washcloth@gmail.com" ]
jeff.washcloth@gmail.com
3d779742f29c16ee13bfb33d566c6f0d3d9adba2
2ee6d6cc371bb1fa3f8703f704715a3a3f430380
/edges.py
21abf67df6e176037944bd3eb65a5fef455d40b8
[]
no_license
maxhugouhr/PongLike
db2e84162288a8c5b468806b81cc764d18e05323
3426087517013f0fa04164af904b7ce750c14170
refs/heads/master
2023-03-20T09:33:35.588865
2021-03-06T01:47:24
2021-03-06T01:47:24
323,169,449
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
from surface import Surface from constants import Constant import time class Edge(Surface): def __init__(self, speed, leftEnd, rightEnd , color, width,reflector,speedMultiplier,defAngle): super().__init__(speed,leftEnd, rightEnd, color, width, reflector, speedMultiplier, defAngle) self.isTeleporte...
[ "uhr.max@gmail.com" ]
uhr.max@gmail.com
6dbac82a2398412d3e591e295b6932a3eeabad81
06763b248d49851be920fee5e96d6055f04c5f5d
/src/open_ai_gym_construct/gym_gazebo/envs/gazebo_maze_turtlebot_lidar.py
1b0a52a9738bffd3db05708c16d37305bd2631cd
[]
no_license
AT-main/rl_openai_ros
46d40c84c64be7e802c3a7ed3da5f945fed8920a
f6c22439ff625f41c390e14b86627fdda4b3b450
refs/heads/master
2022-12-31T19:05:03.341416
2020-10-10T20:16:54
2020-10-10T20:16:54
302,960,031
0
0
null
null
null
null
UTF-8
Python
false
false
4,464
py
import gym import rospy import roslaunch import time import numpy as np from gym import utils, spaces from gym_gazebo.envs import gazebo_env from geometry_msgs.msg import Twist from std_srvs.srv import Empty from sensor_msgs.msg import LaserScan from gym.utils import seeding class GazeboMazeTurtlebotLidarEnv(gazebo...
[ "amirtajik@gmail.com" ]
amirtajik@gmail.com
77f6eb4b33c65e1b6cef2405872ca24d819e7a93
d1507ee333bf9453a197fe997b58871b527811bf
/venv/bin/rst2man.py
ed1e5f4d0b2f0a71bdbadc1e6014ceae130052f1
[]
no_license
hirossan4049/screenshare
a336f2cf0e0584866356a82f13683480d9d039f6
004f0e649116a6059af19d6489aeb13aed1741f3
refs/heads/master
2021-01-27T09:21:48.891153
2020-04-12T04:55:40
2020-04-12T04:55:40
243,476,234
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
#!/Users/linear/Documents/pg/pythonnnnn/screenshare/venv/bin/python # Author: # Contact: grubert@users.sf.net # Copyright: This module has been placed in the public domain. """ man.py ====== This module provides a simple command line interface that uses the man page writer to output from ReStructuredText source. """...
[ "haruto405329@gmail.com" ]
haruto405329@gmail.com
98765afe90a8d371096186263aeb181ac0d088cc
97849f5073755d038f376358d93e46c0677f630f
/GOZI4/step40.py
b6dbf8080a5666b976fa60f8bb5cb7e9acc5e7e5
[]
no_license
hjkornn-phys/DZero
871aa1aca3e9887b7a66fc5979be10039a1deb94
9f7bcde270da6bcf5e7390d47869872ec78eb0b6
refs/heads/main
2023-05-14T11:54:04.318930
2021-06-07T07:00:14
2021-06-07T07:00:14
370,917,624
1
0
null
null
null
null
UTF-8
Python
false
false
384
py
if "__file__" in globals(): import os, sys sys.path.append(os.path.join(os.path.dirname(__file__), "..")) import numpy as np from dezero import * """ x = np.array([[1, 2, 3], [4, 5, 6]]) y = sum_to(x, (1, 3)) print(y) y = sum_to(x, (2, 1)) print(y) """ x_0 = Variable(np.array([1, 2, 3])) x_1 = Variable(np.a...
[ "hjkornn@gmail.com" ]
hjkornn@gmail.com
8c98ceaad7c761fc5f69acd8af7cb795eac0e32c
42585715e356b3616b300430ef93d3f977ab5c7b
/lesson08/sqrt_cal.py
14b90ff7f518b845e2e104c1b5d00fdf3ea21852
[]
no_license
hcmMichaelTu/python
78d8c9cd22978988c3c573aa82f0dddf34d2d9e1
6d3c6214ba44d1279ae484ab32e12869bfe335ae
refs/heads/master
2023-06-20T13:23:25.921831
2020-09-22T11:20:41
2020-09-22T11:20:41
383,787,369
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
import math def builtin_pow_sqrt(x): return pow(x, 0.5) def math_pow_sqrt(x): return math.pow(x, 0.5) def exp_operator_sqrt(x): return x ** 0.5 def Newton_sqrt(x): y = x for i in range(100): y = y/2 + x/(2*y) return y def cal_sqrt(method, method_name): print(f"...
[ "noreply@github.com" ]
hcmMichaelTu.noreply@github.com
0ac3037411b7aa786fcb2488bb17022c990ab351
cb3583cc1322d38b1ee05cb1c081e0867ddb2220
/home/migrations/0004_auto_20210409_1110.py
11d2ae4cb1d8c4d7d1fece40e5c722c405c4a1e4
[ "MIT" ]
permissive
iamgaddiel/codeupblood
9e897ff23dedf5299cb59fd6c44d9bd8a645e9c6
a0aa1725e5776d80e083b6d4e9e67476bb97e983
refs/heads/main
2023-05-07T23:34:27.475043
2021-04-24T20:49:08
2021-04-24T20:49:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
# Generated by Django 3.1.6 on 2021-04-09 18:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0003_auto_20210409_1110'), ] operations = [ migrations.AlterField( model_name='partner', name='class_id', ...
[ "www.spbiology@gmail.com" ]
www.spbiology@gmail.com
233594639eeefe9bbfc2d4d3922529eab7a30057
7690d57d0ec12f8da1acf9d86c2648c672f029b4
/impress/ch3/bs_2.py
8b58037c3eee594378bfedb259248bff8ac96e5c
[]
no_license
ducksfrogs/scrayPy
27f5b4f1f8d37b9e9e99961fcfa03a65fd7095ea
43d05e32f542a24b7d6853809e2094a9d139539d
refs/heads/master
2022-11-23T02:23:36.125834
2020-07-25T21:57:52
2020-07-25T21:57:52
261,369,274
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
import requests from bs4 import BeautifulSoup url = 'https://en.wikipedia.org/w/index.php' + \ '?title=List_of_Game_of_Thrones_episodes&oldid=802553687' r = requests.get(url) html_contents = r.text html_soup = BeautifulSoup(html_contents, 'html.parser') episodes = [] ep_tables = html_soup.find_all('table', clas...
[ "ma_yamaki@yahoo.com" ]
ma_yamaki@yahoo.com
4b13a19067049c5152eae0c196d301498feacf47
cdf91520568faf2e63ce12b3007cc39f8cf367c1
/compound/calculator_test.py
bfcf973935c4ee2c7690057c5fc9454711adb2f2
[]
no_license
rsarathy/yield-curve
664d552a93bddbedab313681014cf2aad51938a8
618e27bf6a11f30622e2f81918a0e3769a2224d8
refs/heads/master
2020-06-15T16:42:56.149511
2019-09-02T21:10:49
2019-09-02T21:10:49
195,344,501
0
0
null
2019-09-02T21:10:50
2019-07-05T05:32:07
Python
UTF-8
Python
false
false
1,370
py
from compound.calculator import monthly_rate, monthly import unittest class CompoundTest(unittest.TestCase): def test_monthly_rate(self): """ Checks that monthly_rate() produces the correct monthly growth rate when given a valid annual growth rate. """ # 1.00797414**12 = 1.1 self.assertAlmos...
[ "rohit@sarathy.org" ]
rohit@sarathy.org