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
034ed03c88bab1e13251ff4cd083aed6ff1c7b3a
1eb04e960be4b5b2c3b752596311d8652e217dba
/python/datatype-set,boolean.py
e67652d55a7860785104808e702c899f0b0142ec
[]
no_license
vyshakhRemesh/rev
69de99899a1757a458f4ff8ee2f91052ed83fcf7
f12aff5b20555a7c47430f0f500a65b3012b6c97
refs/heads/main
2023-07-09T10:24:43.052720
2021-08-08T17:25:41
2021-08-08T17:25:41
388,158,046
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
#set thisset = {"apple", "banana", "cherry"} print(thisset) #access thisset = {"apple", "banana", "cherry"} for x in thisset: print(x) #remove thisset = {"apple", "banana", "cherry"} thisset.discard("banana") print(thisset) #boolean a = 200 b = 33 if b > a: print("b is greater tha...
[ "noreply@github.com" ]
vyshakhRemesh.noreply@github.com
52c042f3f625dd35b3d5f51b79ba0db084da328e
b556ce9f81c91f8e31d44712a37d460b321453a9
/src/truecaller_lookup.py
abe98a96c39acd8652b351c0c3234dd0bd9ce648
[ "MIT" ]
permissive
hvgh88/num-info
2f08adf6198124b39e5f646110f859b03edf9c46
db7cacf1e3271d8cccee710989d10fcc939703e8
refs/heads/main
2023-07-15T17:30:41.627121
2021-09-03T20:40:14
2021-09-03T20:40:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,971
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import NoSuchElementException from time import sleep from getpass import getpass from termcolor import colored import auxillary class TrueCaller: # initializes the instance attributes def __init__( ...
[ "manishgowd09@gmail.com" ]
manishgowd09@gmail.com
8ccc55335ccb38651211ca0b39eaa69cc7912ec9
d2f94613b342c143554e0d1649244f71f634cfe2
/TOPSIDE/MATE_2019/auto-ROV.py
2bed4354a8a84a479f8e9a820a2de5f20a9c80aa
[]
no_license
jacksonsugar/ROV_2019
f79f8757289d35c94b71466922505889a68ed851
186e70864da354195ebc4aeb2d9336c1072b8a74
refs/heads/master
2022-03-11T10:48:02.454006
2019-10-24T15:59:13
2019-10-24T15:59:13
216,714,409
1
0
null
null
null
null
UTF-8
Python
false
false
5,070
py
#!/usr/bin/env python import numpy as np import cv2 import math import gi import os import rospy from std_msgs.msg import String import imutils from skimage import exposure from geometry_msgs.msg import Twist import math font = cv2.FONT_HERSHEY_COMPLEX i = 0 depth = 0 boundaries = [([17, 15, 100], [50, 56, 200])] ...
[ "noreply@github.com" ]
jacksonsugar.noreply@github.com
49e50d64110e6cda62a541ad93cd6e989f8a06bd
530b9779035c9f2482f20097c11c2295fbc6248c
/restframework/serializers.py
e8544e9e73aa3cf5909738abb4abff75cbc0cb71
[]
no_license
sanooptp/MakeDeal
69ff0e4f07d82d1e1fbf6e8f31bcdf65461818bd
03d22527a4dcfa1631cd3173235a8fdd85f91ad4
refs/heads/master
2023-08-31T12:04:46.927813
2021-10-11T15:19:34
2021-10-11T15:19:34
389,553,544
0
0
null
2021-10-11T15:16:17
2021-07-26T07:54:23
JavaScript
UTF-8
Python
false
false
2,271
py
from product.models import Product from django.contrib.auth import models from rest_framework import serializers from restframework.models import Snippet, LANGUAGE_CHOICES, STYLE_CHOICES, TestModel from django.contrib.auth.models import User from rest_framework_simplejwt.serializers import TokenObtainPairSerializer fro...
[ "isanooptp@gmail.com" ]
isanooptp@gmail.com
8fe7534f7a917b9a24339237b65158d3c38d891e
76c4f199adcc450d1bff5bc1d85d138e99948274
/riotwatcher/Handlers/__init__.py
83c58199ed93d7ff523603bb5d20aa3aa359d096
[ "MIT" ]
permissive
finleylau/Riot-Watcher
8083cf6d09292264d3f6576bf23b723b59df2102
3a4a5d8f708d5bc7d83e5fffaa0388504b111faf
refs/heads/master
2021-01-22T19:26:00.160641
2017-09-05T19:00:45
2017-09-05T19:00:45
102,420,367
0
0
null
2017-09-05T01:48:24
2017-09-05T01:48:24
null
UTF-8
Python
false
false
527
py
from .LimitCount import LimitCount from .RateLimitHeaders import RateLimitHeaders from .RequestHandler import RequestHandler from .BaseRateLimitHandler import BaseRateLimitHandler from .JsonifyHandler import JsonifyHandler from .ThrowOnErrorHandler import ThrowOnErrorHandler from .WaitingRateLimitHandler import Waiti...
[ "godtheresnonamesleft@gmail.com" ]
godtheresnonamesleft@gmail.com
f7b8dceb9b4cf4acba51c4da0d7fe1a97fb0e10c
089cdec42966ca40ba3cbf4a5ffe166c80f19389
/module2.py
619ef8431015b77f50857ae5f8c4cf1b60f093b5
[]
no_license
feelosophy13/bioinformatics_algorithm_1
0d01035f7e590bfe982edef9ce0424a4f5fde5c1
6514f9035d35f14e3d85d50c9c63e38e57b45238
refs/heads/master
2020-06-03T22:44:48.995592
2015-05-14T23:58:44
2015-05-14T23:58:44
35,568,928
0
0
null
null
null
null
UTF-8
Python
false
false
5,706
py
from module1 import * import itertools ## this function outputs a list of skew, where each skew is the difference between the number of guanines and that of cytosines (#G - #C) at (i+1)-th index in the DNA string def create_GC_skews_list(DNA_str): skew = 0 result = [0] for nucleotide in DNA_str: i...
[ "feelosophy13@gmail.com" ]
feelosophy13@gmail.com
c78a128037d56a51af8dd35b30b236235e8555eb
2173387d499bc75cf3f21be6f5d7e01009dae148
/Ingestion/Kafka/kafkaC.py
1e0362e94e05e8e5dd13bde90959fe7d709935ef
[]
no_license
prarthanabhattarai/AdReportProject
13c8059f82b25913b61575a6629d79da14a345d3
f1d41135e39c6b1688ea43a690353ba47f1ad404
refs/heads/master
2021-01-23T20:14:28.235866
2015-07-14T17:51:01
2015-07-14T17:51:01
38,027,815
2
2
null
null
null
null
UTF-8
Python
false
false
3,721
py
import time from kafka.client import KafkaClient from kafka.consumer import SimpleConsumer import os class Consumer(object): def __init__(self, addr, group, topic): self.client = KafkaClient(addr) self.consumer = SimpleConsumer(self.client, group, topic, max_buffer_size=1310720000) self.temp_fil...
[ "ubuntu@ip-172-31-9-43.us-west-1.compute.internal" ]
ubuntu@ip-172-31-9-43.us-west-1.compute.internal
f4a90c423a193dd05d8521b940780699acd28b4d
36bffa15a4205bfb4601de31f52278ef1f787792
/requests/views.py
8c81bc6f31ce6b182fb3fcea1d4c123921660f3b
[]
no_license
christaggart/requestly
63e0abb2a1e5130fe194a560b84cdb3c5e86042b
f1271d2dc4c2551cd761fe8a7bacad8b4ab16650
refs/heads/master
2021-01-10T22:03:04.110611
2012-01-06T17:04:29
2012-01-06T17:04:29
1,856,664
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
# Create your views here. from django.http import HttpResponse from django.template.response import TemplateResponse import datetime def home(request): return HttpResponse("hello world")
[ "chris@thinkit.ca" ]
chris@thinkit.ca
d440b3127f444d1ed80a2ad574d3cb9c84b5bb5b
3018a23cfa3b272b9825925407746890b4c53f1e
/TryOutGame/main.py
5b78a38d833261ce8bd2646e66444932cbadaffd
[ "Apache-2.0" ]
permissive
Ardatufekci/GridPointGameAITry
75455f2ea44a76fe2486b21896214aa91f41d991
cc9a879b8d9f67e1202f94080d913c3bbe3101eb
refs/heads/main
2023-01-07T21:18:06.177074
2020-11-08T13:45:52
2020-11-08T13:45:52
310,737,904
2
0
null
null
null
null
UTF-8
Python
false
false
4,815
py
import tkinter as tk import numpy as np from player import Player from filler import Filler from random import sample ### DEĞİŞKEN grid = [64*i for i in range(10)] puans = np.zeros((10,10),dtype=np.int) data = [] sdata = [] playerslastscore = [0,0] ### OBJELER oyuncu = Player(0,0,"red") oyuncu.makeDecisi...
[ "noreply@github.com" ]
Ardatufekci.noreply@github.com
4542ce8b7fa747af2ca0b266c787f0c496bb198e
54dc4eb7d4809f902ed8e4aa5a230578c5ab91e7
/mysocialmedia/mysocialmedia/asgi.py
8b2b8327642bb2b0a567c329b8b91c3fa18d986a
[]
no_license
lufepama/sinparo-django-react
5c901d717fe4460753b49aff55a5b0dcf0961907
ff7042a69194c54421370ad1a4b89933e7256b4c
refs/heads/main
2023-03-20T23:26:28.895045
2021-03-08T23:34:44
2021-03-08T23:34:44
345,486,134
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for mysocialmedia project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO...
[ "lufepama31@gmail.com" ]
lufepama31@gmail.com
fd96964145fbc06b436ee1ecbbf561c15f201c00
caf192dbc1ca90fee18bb4ce170d37eb14870ec5
/Chapter-5/7. Caesar cipher.py
f827a177676fc978c4d7d8bfee8324bfba34dc4a
[]
no_license
Dfredude/PythonZelle
858b00f5eacce841173c64b3cecd978dedbeb145
1923fe84df604968eebc5269f23b7c0f167d55f0
refs/heads/main
2023-08-30T21:45:57.070344
2021-10-17T01:32:57
2021-10-17T01:32:57
359,041,963
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
def main(): #Get plaintext(p_text) and key(x) from the user p_text = input("Enter the message you'd like encrypted.\n") key = eval(input("What's the key? : ")) p_text = p_text.lower() #Create string of letters table = "abcdefghijklmnopqrstuvwxyz" #Convert plaintext to ciphertext(c_text) using ci...
[ "dominguezlucio@outlook.com" ]
dominguezlucio@outlook.com
80338f57e4494dc5fd84346bfab8cd6f883a4347
b5dabe2e6da0e53498650b3c3f3f944c20f3e050
/dolo/compiler/function_compiler_numexpr.py
e20ec37370ffaf43ad7e04c17d62a3028aaf64d8
[ "BSD-2-Clause" ]
permissive
christophe-gouel/dolo
12d582ecf3289aa9168f5d825da83a6284d5a669
d9aef6d78d19899e2669e49ee6b7ad9aacf0e35d
refs/heads/master
2020-12-24T09:31:19.389548
2018-01-04T20:42:19
2018-01-04T20:42:19
6,064,096
0
0
null
null
null
null
UTF-8
Python
false
false
3,105
py
from __future__ import division from dolo.symbolic.derivatives import DerivativesTree from dolo.symbolic.symbolic import TSymbol from dolo.compiler.function_compiler import compile_multiargument_function as compile_multiargument_function_regular DerivativesTree.symbol_type = TSymbol def compile_multiargument_functi...
[ "pablo.winant@gmail.com" ]
pablo.winant@gmail.com
91dbf8f944594010b21f4e33cdd5c303b603daa0
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/outbound_nat_rule.py
509f9e9922798df037d6dab645f99d2111cc92f6
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
2,886
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
bedf0931ccef770750040887a803cdba60d8d515
de1f9d660cfb738afdb66e4a2d63a4577c07d9c6
/test/webapi/controllers/test_wmts.py
ad52d78c1aaca58531a54c0ef0ecba42c5079c04
[ "MIT" ]
permissive
rabaneda/xcube
db47eb416db85df891a924063482a7943cae9d4f
0d38ca513987184dbc4a37da1616e4076964d0f1
refs/heads/master
2020-11-24T00:11:17.107630
2020-02-11T10:11:34
2020-02-11T10:11:34
227,877,138
0
0
MIT
2019-12-13T16:14:51
2019-12-13T16:14:50
null
UTF-8
Python
false
false
703
py
import os import unittest from test.webapi.helpers import get_res_test_dir, new_test_service_context from xcube.webapi.controllers.wmts import get_wmts_capabilities_xml class WmtsControllerTest(unittest.TestCase): def test_get_wmts_capabilities_xml(self): self.maxDiff = None with open(os.path.jo...
[ "norman.fomferra@gmail.com" ]
norman.fomferra@gmail.com
660d8fe0314977e4a5fd5748ddcb6c4aef0ca904
438d479eac3bff296407ca46b567c9745186222c
/app/admin.py
2f776f6b63daad8171856e2abaa4a2ba52482f0d
[]
no_license
mclt0568/pyserverman
c6a82c4801a4cc62eb0e33f838d9484f24906614
176820488e1fff39b5dee8c6bcf6a7c595fe83f2
refs/heads/master
2023-05-08T12:12:51.008630
2021-05-31T11:07:32
2021-05-31T11:07:32
355,734,937
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
from constants import database def get_admins(): return database["admins"].fetch_column("user_id") def is_admin(user_id): admins = get_admins() return user_id in admins #Return True for successful, False for admin not found. def remove_admin(user_id): if is_admin(user_id): database["admins"].delete(f"user_id =...
[ "tis7bfrankie@gmail.com" ]
tis7bfrankie@gmail.com
5845ad25df07deb2f338228c0feb1eb3bd4936b0
6a8f267ae3443e9b1bd1ee14b428d4378b90d87d
/deps/shapely/geometry/multipolygon.py
3e645de1feac587199ac4b259e5a28045f6c131c
[ "MIT" ]
permissive
meshulam/sly
713878fd3957a7fcdeee4f5dfcc6325ce08918fc
9cb0287b9d2bce7e872898365f1dc9bcd37ef5a9
refs/heads/master
2021-01-18T22:41:42.548393
2015-04-26T18:11:18
2015-04-26T18:11:18
32,053,249
11
2
null
2015-04-21T01:47:07
2015-03-12T02:40:08
Python
UTF-8
Python
false
false
5,745
py
"""Collections of polygons and related utilities """ import sys if sys.version_info[0] < 3: range = xrange from ctypes import c_void_p, cast from shapely.geos import lgeos from shapely.geometry.base import BaseMultipartGeometry, geos_geom_from_py from shapely.geometry import polygon from shapely.geometry.proxy ...
[ "matt@meshul.am" ]
matt@meshul.am
3be06eb873cdd1760ff6e5f63aa67790705e4936
70cdf0741a22c678401a306229003bf036ffe5a6
/ocbind/interfaces/interface/routed_vlan/ipv4/state/counters/__init__.py
fc80550902dca33ef1415b13bb6c12c3d63fa5ce
[]
no_license
zsblevins/nanog81-hackathon
5001e034339d6b0c6452ae2474f06916bcd715cf
1b64fd207dd69837f947094fbd6d6c1cea3a1070
refs/heads/main
2023-03-03T09:39:28.460000
2021-02-15T13:41:38
2021-02-15T13:41:38
336,698,856
2
0
null
null
null
null
UTF-8
Python
false
false
42,316
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "zblevins@netflix.com" ]
zblevins@netflix.com
b92a0e4c7afa8244a54b3964bea78bc355235382
544c85db4196b279f242a6d1a3838f69b85a8ff6
/drostelib/drostehelper.py
db44391e85c5e66c536be20607e0a4db2fd419cc
[]
no_license
azer89/Droste_Generator
e0d5c4785608d6db253b9658627f4273cb047035
f8a81540746eacfed8edbdf39b901edbee99b020
refs/heads/master
2023-02-22T12:05:53.246208
2021-01-18T11:10:34
2021-01-18T11:10:34
46,583,332
1
0
null
null
null
null
UTF-8
Python
false
false
1,950
py
# -*- coding: utf-8 -*- """ Created on Thu Dec 24 12:59:31 2015 @author: azer """ import numpy as np """ Magenta color as the mask color """ transp_color = np.array([255, 0, 255]) """ Determine whether a color is the mask color """ def IsMasked(col): if(col[0] == transp_color[0] and col[1] == transp_color...
[ "radhitya@uwaterloo.ca" ]
radhitya@uwaterloo.ca
52e3abab22df23c0d41785c571071dfae963b422
532775cf6728c43fb0346c758a02ae9f55651f14
/main.py
cac66817a8910d71fce6577967555b37f8c9b044
[]
no_license
adarsh1783/SearchEngine
9402c517e59eaaed8d9e9082076e5eb6ba5798d1
f3e527c5f30ee550c8c1527ab97f10f53c3211a3
refs/heads/master
2022-09-26T17:14:07.500379
2020-06-07T11:13:27
2020-06-07T11:13:27
270,262,267
0
0
null
null
null
null
UTF-8
Python
false
false
8,513
py
from sentenceSegmentation import SentenceSegmentation from tokenization import Tokenization from inflectionReduction import InflectionReduction from stopwordRemoval import StopwordRemoval from informationRetrieval import InformationRetrieval from evaluation import Evaluation from sys import version_info import argpars...
[ "noreply@github.com" ]
adarsh1783.noreply@github.com
b45caf654c9014fad4ce37ba5d3fe51256a56e14
0713d5e8014dfa7bdc28ac79b3e9e35caba81334
/chapter6/SketchWindow_beauty_ui.py
65166a3313131d2f25212a68bde143713c098864
[ "Apache-2.0" ]
permissive
sdphome/wxPython_training
420bc7a30a197fd54e9d93f2881774de970bb9a1
eea3a1863d0ab4e3fa5b3920772a37b525cadc49
refs/heads/master
2021-01-10T04:08:15.242263
2016-01-22T06:22:31
2016-01-22T06:22:31
49,471,638
0
0
null
null
null
null
UTF-8
Python
false
false
12,642
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import wx import os import cPickle class SketchWindow(wx.Window): def __init__(self, parent, ID): wx.Window.__init__(self, parent, ID) self.SetBackgroundColour("White") self.color = "Black" self.thickness = 1 self.pen = wx.Pen(s...
[ "sdphome@qq.com" ]
sdphome@qq.com
1d8f54ca4a88c470d03a417bd277657ac061b42a
6622c5a9eaac04540d7704372edc6050a735f522
/df_virginica_setosa.py
4cf53b99c8ab2b7d3420812fdde3cc9eb3ac92ba
[]
no_license
mihirdshirur/NNLS-Assignment-3
a603d50a6e23fd735e1fba99b15bb4b13e8ea15d
f13df10aef21d4ac2b76381547c6a55d350017b0
refs/heads/main
2023-08-29T17:40:25.841161
2021-11-12T17:29:06
2021-11-12T17:29:06
427,441,730
0
0
null
null
null
null
UTF-8
Python
false
false
2,233
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt df = pd.read_csv("/Users/apple/Desktop/Coding/Sem5/Assignment3_Code/iris.data") error1 = [] x = [] data_setosa = df.iloc[0:50,0:4].values data_versicolor = df.iloc[50:100,0:4].values data_virginica = df.iloc[100:150,0:4].values # Setosa is of c...
[ "noreply@github.com" ]
mihirdshirur.noreply@github.com
5fff7525d5f2305f06f03162747b3f3fad7c7ead
61a6f6e5756066546b4be09e45c8214fcc6e15ba
/mutvariant_extraction.py
a04dbc75afa19b6fdcd943b282a9a0f50434e32c
[]
no_license
outbreak-info/topic_classifier
9f07164105a70dcfaeb2edf1aa322688392ecde1
d5838f9aa4ee55b5a67fcbd77fbfcb0b0937db74
refs/heads/main
2023-04-15T11:49:36.392049
2022-12-15T02:48:37
2022-12-15T02:48:37
359,611,695
0
4
null
2021-07-02T22:43:59
2021-04-19T22:10:44
Jupyter Notebook
UTF-8
Python
false
false
630
py
import os import re import requests import json import pathlib import pandas as pd from pandas import read_csv from datetime import datetime from src.common import * from src.extract_variants import * script_path = pathlib.Path(__file__).parent.absolute() DATAPATH = os.path.join(script_path,'data/') RESULTSPATH = os.p...
[ "gtsueng@gmail.com" ]
gtsueng@gmail.com
25272b331eb766592f1b2361e63de77a581afc78
14fac282147a83e5607aceb7f5f589921fbf9329
/choicer/test/__init__.py
6fd5466da9544eef5d1869a0fa787b1ab0ca7353
[ "MIT" ]
permissive
tonimichel/django-choicer
4079cce7b45bb6781c309c4aa6e2a2e37b0ce291
69bce93585c6b3711f90c893d449e3eb3ce44eb5
refs/heads/master
2021-01-21T13:04:54.348088
2016-05-09T11:20:35
2016-05-09T11:20:35
54,739,325
3
2
null
null
null
null
UTF-8
Python
false
false
335
py
from __future__ import absolute_import, print_function, unicode_literals import unittest from choicer.test import core_tests def suite(): return unittest.TestSuite([ unittest.TestLoader().loadTestsFromTestCase(core_tests.ChoicerTests), ]) def run_all(): return unittest.TextTestRunner(verbosity=2...
[ "toni.michel@schnapptack.de" ]
toni.michel@schnapptack.de
e6d1d32bdcd74e78895ec9458610ec4a8c07cbef
3cf617e510b4da4c90744f60c40d057d887656db
/datatypes/Static.py
dd0d19691d4b3d1f8e65bfb40b15f2da4cddb10e
[]
no_license
Peaches491/typecast
b971a7330494f5a078090065b6180fdd7668b344
363d960dd784ca8d20dbc50dcace271cb2015125
refs/heads/master
2020-12-24T15:06:06.613738
2014-05-10T04:29:30
2014-05-10T04:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
from utilitites import markdown2 from google.appengine.ext import db from blog_handler import Blog class StaticPage(db.Model): title = db.StringProperty(required = True) brief = db.StringProperty(required = True) url = db.StringProperty(required = True) content = db.TextProperty(required = True) ...
[ "peaches@TADesktop.(none)" ]
peaches@TADesktop.(none)
a21dfa9182883f7045cd35880f722f3d9a36a0ab
45e376ae66b78b17788b1d3575b334b2cb1d0b1c
/tests/terraform/checks/resource/azure/test_SynapseWorkspaceEnablesDataExfilProtection.py
2f0a8e8e46b503edb13ed42ed956bc6d6a70830a
[ "Apache-2.0" ]
permissive
bridgecrewio/checkov
aeb8febed2ed90e61d5755f8f9d80b125362644d
e64cbd27ffb6f09c2c9f081b45b7a821a3aa1a4d
refs/heads/main
2023-08-31T06:57:21.990147
2023-08-30T23:01:47
2023-08-30T23:01:47
224,386,599
5,929
1,056
Apache-2.0
2023-09-14T20:10:23
2019-11-27T08:55:14
Python
UTF-8
Python
false
false
1,453
py
import unittest from pathlib import Path from checkov.runner_filter import RunnerFilter from checkov.terraform.checks.resource.azure.SynapseWorkspaceEnablesDataExfilProtection import check from checkov.terraform.runner import Runner class TestSynapseWorkspaceEnablesDataExfilProtection(unittest.TestCase): def tes...
[ "noreply@github.com" ]
bridgecrewio.noreply@github.com
b4ee36238f1638496b350f08c5a2bdceb96da3ee
764fc4145a4136b48d4b6d95050adbedd3758ce3
/CircularBuffers.py
a2245ade003ea52bb3cd7c4a7e7958ad9ea9ceec
[]
no_license
cmaher92/algorithms
acf373a4da32c066cd3458a4431ec51676072fc1
9ed1531ffc2c874a861f792b7e70b1b39d9ee0d4
refs/heads/master
2021-01-10T13:11:01.937289
2016-02-03T21:27:59
2016-02-03T21:27:59
50,763,826
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
# Vectors # Linked Lists # Circular # Resizable Arrays # Circular Buffers # The useful property of a circular buffer is that it does not need to # have its elements shuffled around when one is consumed. # circular is FIFO # Alan's definition # Array with many cells, wraps around # An example is an array of 30 frames,...
[ "connormmaher@gmail.com" ]
connormmaher@gmail.com
4f08c4b5e1285ffe0a86c36c93632b2c2a6cb41a
aa869786dc2108b549acf689a4f6a8369d9eb0b8
/gaussian.py
a9d286b70a6b6a1cafe44161ff091ee5999fd043
[]
no_license
ard1498/Pattern_Recognition_Techniques
8617c065655ffbdee61a51961db3d397e8e88462
a3542f50eb9333fb278232c526604373b3cdc4d4
refs/heads/master
2020-06-02T20:57:34.586648
2019-07-10T07:27:57
2019-07-10T07:27:57
191,307,828
0
0
null
2019-06-11T06:36:38
2019-06-11T06:27:27
Jupyter Notebook
UTF-8
Python
false
false
3,359
py
import numpy as np from pprint import pprint import math class Gaussian: def __init__(self,sigma = 1, m = 1): self.result = {} self.sigma = sigma self.K = 1/((2*3.14)**(m/2) * self.sigma**m) self.classes = set() def train(self, X, Y): self.classes = set(...
[ "noreply@github.com" ]
ard1498.noreply@github.com
1ebd7b2c006bec2429d3ea7c144429ca6a16ab58
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/235864d6-5cc5-11e4-af55-00155d01fe08.py
203705756d386be4768e626b13c813ce06acf1fd
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
#!/usr/bin/python ################################################################################ # 235864d6-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
784f3b3c4ad379098fcd5976886c425f69bc8941
f979434a8bf71df06f1d36eeab8397806a530978
/create_pool_with_different_settings.py
8284562a15666c47955556371814d821ea9b9f98
[]
no_license
symlib/gui
4dc505c3b31d9347ad22d5ad45d43ce6e388c47a
7d0a259ad3cd9a7b154f1a92b1d5a48fea7cb6e4
refs/heads/master
2021-01-20T07:27:49.664039
2017-08-03T06:24:38
2017-08-03T06:24:38
89,999,584
0
0
null
null
null
null
UTF-8
Python
false
false
8,435
py
# -*- coding: utf-8 -*- # !/usr/bin/env python from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions ...
[ "noreply@github.com" ]
symlib.noreply@github.com
eb0ddf382bb720cb968e3c942df4b16d726a4bfa
42075953df65bdd6b02e02da7dcb3d7fab74fbbd
/superset/charts/schemas.py
bf1b57b321922ea7c9dac7dba8d130b5c4fb3eff
[ "Apache-2.0", "OFL-1.1" ]
permissive
milimetric/incubator-superset
f61c00aeca7d7aa782816120037e63872df117a1
7b11b44abe08c131fb9df6ec479ea29c24c784ec
refs/heads/master
2022-04-23T19:29:46.935978
2020-04-16T09:54:45
2020-04-16T09:54:45
256,266,649
0
0
Apache-2.0
2020-04-16T16:14:18
2020-04-16T16:14:17
null
UTF-8
Python
false
false
2,465
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
milimetric.noreply@github.com
d28590752bf1d79eb7d65ed1f3d70627c6484cb6
3056277f38904026704d023a1708c10049eb598e
/Smtp.py
61e5871f2ccaaa4cc1fbe0cb35b97d27069018ba
[]
no_license
Vampyy/EmailSpammer
fcc0f67ff8531bbdd97dc8aa3bc3299ccc105950
117ed4755bc95595b3ac33d83c27beb86581041d
refs/heads/master
2021-01-11T11:58:25.919699
2017-01-22T08:09:42
2017-01-22T08:09:42
79,703,553
1
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
import smtplib import getpass # In the lines below please insert the domain name and port address of the SMTP server of your Email provider domain_name = 'smtp.gmail.com' port_address = 587 # In the lines below please insert your email login credentials username = input ("Enter your mail address : ") password = getpas...
[ "noreply@github.com" ]
Vampyy.noreply@github.com
d09e8f1f8f6ce69f17db42f0cc74904c1ba4e74e
e48375c39c0d1fc71742b1964dffdd3af0ff86c0
/nlu/components/sentence_detectors/deep_sentence_detector/deep_sentence_detector.py
ab4ea95db84960ec483781f792af9daed7b121c3
[ "Apache-2.0" ]
permissive
ahmedlone127/nlu
b8da5a84f0e47640cb09616559bf8b84c259f278
614bc2ff94c80a7ebc34a78720ef29a1bf7080e0
refs/heads/master
2023-02-09T05:10:29.631583
2022-05-20T15:16:33
2022-05-20T15:16:33
325,437,640
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
from sparknlp.annotator import * class SentenceDetectorDeep: @staticmethod def get_default_model(): return SentenceDetectorDLModel\ .pretrained()\ .setInputCols(["document"]) \ .setOutputCol("sentence") @staticmethod def get_pretrained_model(name,lang, buck...
[ "christian.kasim.loan@gmail.com" ]
christian.kasim.loan@gmail.com
73474c8bf71b439bda5aed84f134b363b55c7e2f
41d23de79d8fd85d31955d9fac0b5228ffca2a29
/day/3/map_route.py
7fafa72bbdd8c6792251559b1523fd3536631a42
[ "MIT" ]
permissive
philparkbot/advent2020
652d90e9d192bcd1c444e83516358d9836a1777b
e5ee7e0703ae82d4c773024e4289d7d37879af35
refs/heads/main
2023-02-21T16:42:39.065252
2021-01-04T00:42:51
2021-01-04T00:42:51
324,212,552
0
0
null
null
null
null
UTF-8
Python
false
false
1,625
py
#!/usr/bin/env python3 ''' Input file represents a map. '#' represents trees, '.' represents free space. Traverse the map down and to the right in steps of the x/y increments. If you go past the last character in the X direction, you wrap back around. You are done when you reach the last row. The goal is to count the ...
[ "phil.park@gmail.com" ]
phil.park@gmail.com
88510c98e614cffb3f41acaeb92caf8f37774ff5
fe4af6b73828193684575644010a2cb741db91be
/pandas_practice
0fdd1eca7386b41bd623460f2bd4c5806e8a649c
[]
no_license
ZheRenoO/Python4DS
416765b15808438b73294da54127f14fae38c9e9
5df4adbe537c47ac683e1841b731b152d9da2adb
refs/heads/master
2022-08-02T09:32:12.459498
2020-06-06T00:44:10
2020-06-06T00:44:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,351
#!/usr/bin/env python # coding: utf-8 # ___ # # <a href='http://www.pieriandata.com'> <img src='../../Pierian_Data_Logo.png' /></a> # ___ # # SF Salaries Exercise # # Welcome to a quick exercise for you to practice your pandas skills! We will be using the [SF Salaries Dataset](https://www.kaggle.com/kaggle/sf-sala...
[ "noreply@github.com" ]
ZheRenoO.noreply@github.com
6312c87325c4ac19ffd4a502d580ce4c926c0ab6
6f269812a96d47c5670b4a7d5512f01bc7156217
/manage.py
18c1b3390a3f1f98873d26d42fc900e32bb82d06
[]
no_license
kalkins/buk-django
00a1724c19127840ac19182f003e28ed4f4f4480
708071d144b06ab289abdea6046437c40a81d230
refs/heads/dev
2022-12-13T05:51:30.664433
2019-02-12T03:10:04
2019-02-12T03:10:04
77,866,135
4
0
null
2022-12-08T01:28:31
2017-01-02T22:34:59
Python
UTF-8
Python
false
false
801
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "buk.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "sindre@sindrestephansen.com" ]
sindre@sindrestephansen.com
eb95e12f1a17e86ad399d5b8dc910a900f87944b
83dd196a98fe80fc8521513070c9189ba4fcec62
/Analysis_Code/Had_Data_43.py
a79628e7d11889ad079b2e4e5673f3efc4089441
[]
no_license
DarrenBurton/RA1_2012
e7162e81251c090277d43d0cb7fa2227161b36fd
ab46ff5434b3c2bea2b5d5c0050d19372c74317c
refs/heads/master
2021-01-16T18:39:59.269229
2012-07-27T18:57:06
2012-07-27T18:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
#!/usr/bin/env python import setupSUSY from libFrameworkSUSY import * #from libbryn import * from libHadronic import * from libOneLepton import * from icf.core import PSet,Analysis from time import strftime from batchGolden_singlemu import * from ra1objectid.vbtfElectronId_cff import * from ra1objectid.vbtfMuonId_cff ...
[ "d.burton10@imerial.ac.uk" ]
d.burton10@imerial.ac.uk
70568dbd8fea74a804629bbf8c0ba8699ea10aaf
b0d7d91ccb7e388829abddb31b4aa04a2f9365cd
/archive-20200922/uncategorized/quick_palindrome_check.py
4e1d9675666f0b9bddffa3ece524d351e0e26a37
[]
no_license
clarkngo/python-projects
fe0e0aa02896debe82d1e9de84b1ae7d00932607
139a20063476f9847652b334a8495b7df1e80e27
refs/heads/master
2021-07-02T10:45:31.242041
2020-10-25T08:59:23
2020-10-25T08:59:23
188,570,684
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
# function which return reverse of a string def reverse(s): return s[::-1] def isPalindrome(s): # Calling reverse function rev = reverse(s) # Checking if both string are equal or not if (s == rev): return True return False # Driver code s = "malayalam" ans = isPalindrome(s) if ans ...
[ "clarkngo@gmail.com" ]
clarkngo@gmail.com
848b00dce8c68b93c85b751b4d5c57683f6980f1
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/homeassistant/components/airzone/coordinator.py
ba0296557a1be58bacea112719a507f82be0fb6b
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
1,309
py
"""The Airzone integration.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from aioairzone.exceptions import AirzoneError from aioairzone.localapi import AirzoneLocalApi import async_timeout from homeassistant.core import HomeAssistant from homeassistant.he...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
3016c687ec5ae81b1cd9d16c05eb06f58500219f
968968aa5e81043cad5af6883f23ef077c36b65f
/load_model.py
87518857933f46b083d4611584a50ca9100d20e9
[]
no_license
Guya-LTD/profanity-detector
59dbcb2e3e2fe4eba29cd49f5f028c48413f035f
ba957c42c4d14dd3c68ef2c48fce317e9db17f8f
refs/heads/main
2023-02-11T18:26:59.205036
2021-01-10T06:41:25
2021-01-10T06:41:25
307,553,959
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
import numpy as np import joblib def _get_profane_prob(prob): return prob[1] def predict(lang, texts): vectorizer = joblib.load(lang + '/vectorizer.joblib') model = joblib.load(lang + '/model.joblib') return model.predict(vectorizer.transform(texts)) def predict_prob(lang, texts): vectorizer = joblib.load(...
[ "simonbelete@gmail.com" ]
simonbelete@gmail.com
53837fb5e2aad28f95b52a92f23678b03b832595
a9bbd4dbcc74eaeddf6ba29c04454c89c7e4a98c
/main.py
56f50c21480d4d47b46d00809049677014862eb4
[]
no_license
texcaltech/windmilltownhomes
c5b531c07b95fc751afe3a68a11509dedefdc077
8747c75a23304e28f64cc207be9d06b81679c355
refs/heads/master
2021-01-19T21:28:47.899739
2013-03-20T02:52:51
2013-03-20T02:52:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,193
py
import webapp2 import jinja2 import os jinja = jinja2.Environment( loader=jinja2.FileSystemLoader(os.path.dirname(__file__))) def getBackground(page): bg = {} if (page == 'contact'): bg['large'] = 'http://farm9.staticflickr.com/8382/8552707810_b5110806a8_h.jpg' bg['small']...
[ "texcal.tech@gmail.com" ]
texcal.tech@gmail.com
c833d1c9767af5dcdba2857ebd60cf7735f680aa
2447637c04a881d6ea9b569232da3460883fb237
/settings.py
f9c840fac2aa638a95f1ead6b85d70f5d90cfe7b
[]
no_license
Hardysong/web-crawler-spider-
315078ef7502cf12208106548f0468a7b111ec7d
8cac837bc7889c2be3fec3962af970adbd5badfe
refs/heads/master
2021-01-23T00:06:47.115545
2017-03-21T12:35:39
2017-03-21T12:35:39
85,699,871
16
8
null
null
null
null
UTF-8
Python
false
false
3,330
py
# -*- coding: utf-8 -*- # Scrapy settings for tutorial project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/lates...
[ "sunyibo110@sina.com" ]
sunyibo110@sina.com
e6ea4e632b0b731721851c7db5ec5498ae307b76
3cb06711ab1a6e379e5778456fce5770ac994ba9
/python/wait_functions_test_py3.py
02cab39f268b7e1880b29bbcbcffa372099fe449
[ "MIT" ]
permissive
glenn-edgar/chain_flow
7e8238c1f5e5c00f4c5906e2eb356d33c2b4696c
750a9b126de04e46b71a58c5bd3e7500c4d26459
refs/heads/master
2021-01-02T22:41:30.066536
2017-09-05T19:34:57
2017-09-05T19:34:57
99,368,944
0
0
null
null
null
null
UTF-8
Python
false
false
1,444
py
from py_cf_py3.chain_flow_py3 import CF_Base_Interpreter def test_function_1( cf_handle, chainObj, parameters, event ): print("test function 1 ",event) def wait_test_function( cf_handle, chainObj, parameters, event ): print("event",event) return_value = False if event["name"] == "INIT": parameter...
[ "glenn-edgar@onyxengr.com" ]
glenn-edgar@onyxengr.com
8294ffcfd711b3cf43a17380fbbd667b66521dc5
412e0178562be3a33916d02679bd84ab83fc4f8a
/FPROPlay/Py05/LongestWord.py
2c4cd9bb02957146bd074848312d4d9cea8697de
[]
no_license
filiperecharte/FEUP-FPRO
401a9a9ec5349f1ada928b67bc7e160e40ee6d7a
7295524f42f6af9cb455957d5b75ce587bb7d4ca
refs/heads/master
2022-03-24T19:07:24.895356
2019-12-19T17:36:34
2019-12-19T17:36:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Nov 4 12:27:04 2019 @author: filipe """ def longestInlist(alist): longest=alist[0] for i in alist: if(len(i)>=len(longest)): longest=i return longest def longest(s): lista=[] s=s+" " for i in s: ...
[ "filipeteixeira00@hotmail.com" ]
filipeteixeira00@hotmail.com
a29bead203db36e725015751cd87e1ad705a7280
af78246fc438f09f6e17d9a32bc698117edd8954
/blog/migrations/0001_initial.py
b69dfb87cc66e24be3d9e18cbe0e558301ca11a6
[]
no_license
deek28/my-first-blog
968b627147444a2dc0ee2733689a2da65fc3ffce
6a7cc99eaa7c18918182a5c338e08aff6f00f9e9
refs/heads/master
2021-05-24T16:37:52.362891
2020-04-13T15:29:07
2020-04-13T15:29:07
253,658,256
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.2.4 on 2020-04-07 01:11 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "dkshtbn@gmail.com" ]
dkshtbn@gmail.com
eb0103e62ae9f3d18f040c6db9cc6d787793b6df
219be32fc6958365deb47e9f1037abfe23be46a2
/HackerRank/candies.py
6f5b0439788998668fcdd1dfdd581bd2a4b59c7c
[]
no_license
JustinHoyt/interview-practice
65179ec56df71b2e807d4b6c548889058e8a3000
c1608c166290cac892576043f8d3b84f7a756fc8
refs/heads/master
2022-06-30T00:25:55.694391
2022-05-30T02:37:20
2022-05-30T02:37:20
73,835,577
7
1
null
null
null
null
UTF-8
Python
false
false
878
py
def give_candies(students, memo, current, prev): key = str(current) if key in memo: return memo[key] if len(students) <= current or current < 0: return 0 left = 0 right = 0 if current - 1 != prev and current-1 >= 0: left = give_candies(students, memo, current-1, current...
[ "justinhoyt24@gmailcom" ]
justinhoyt24@gmailcom
4075efc0ed3a769582d7d67cd20953c61bab212c
950297160fae36138ada537f87c71e4ba17bb6af
/my_agent.py
50fe583096b91294edafd1637688333f588eae0f
[]
no_license
Vishal0703/DeepRL_Navigation
c6d217771c7bcdc704bb1daf6c48e0c3e7a30fe2
7b2c56cd1cc0bb640a9a6593a35aa9ca534e4179
refs/heads/master
2020-04-12T15:50:52.127872
2019-01-16T09:32:58
2019-01-16T09:32:58
162,594,148
0
0
null
null
null
null
UTF-8
Python
false
false
6,899
py
import numpy as np import random from collections import namedtuple, deque from model import QNetwork import torch import torch.nn.functional as F import torch.optim as optim BUFFER_SIZE = int(1e4) # replay buffer size BATCH_SIZE = 64 # minibatch size GAMMA = 0.99 # discount factor TAU = 1e-3 ...
[ "noreply@github.com" ]
Vishal0703.noreply@github.com
83d009922a8912f1f5ddf4fecf3fddade6bf61cc
d05bb67ed5fefcb979c7ffa343ec970a3b0f18d8
/build/numpy_tutorial/catkin_generated/stamps/numpy_tutorial/numpy_talkers52s8.py.stamp
88707d7b0d6f7f70ffa2089aa7310b027d94564b
[]
no_license
GillMarMad/catkin_ws
eafeedbc49f76ccbec0cf283ef2e113e5354b2de
550b8a8d815704cf57e423be9580f047770cb8fe
refs/heads/master
2023-02-10T17:58:27.450209
2021-01-09T23:22:12
2021-01-09T23:22:12
328,265,453
0
0
null
null
null
null
UTF-8
Python
false
false
538
stamp
#!/usr/bin/env python import rospy from rospy.numpy_msg import numpy_msg from rospy_tutorials.msg import Floats import random import numpy def talker(): pub = rospy.Publisher('s52s8', numpy_msg(Floats),queue_size=10) rospy.init_node('talker', anonymous=True) r = rospy.Rate(10) # 10hz while not rospy.i...
[ "gillmarmad@gmail.com" ]
gillmarmad@gmail.com
5a62de54810f05b493445f3c2654a56a4247d18c
11d051965e2121d60ccedc66dcfc893e4ae505b8
/lintcode/365 countOnes.py
ba67bdea5bc8fe0f6c09785ef2e64302b9f88df1
[]
no_license
shuaili8/CodingPractice
f2d519f2a479b11ae82edf4b44f2046226bb77e9
a04b194703a42d0c5d833d54cc8582e37c3fa151
refs/heads/master
2021-06-12T08:23:28.883687
2017-03-05T07:21:10
2017-03-05T07:21:10
43,593,606
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
import sys class Solution: # @param num: an integer # @return: an integer, the number of ones in num def countOnes(self, num): # write your code here r = 0 if num < 0: r = 1 num = num & sys.maxsize while num != 0: r = r + (num & 1) num = num...
[ "lishuai.sherry@gmail.com" ]
lishuai.sherry@gmail.com
ab18d390675297b3dc7088e097b39afb5af818fd
45619f832fbb3939098f2d0e890f7f81e6dd19a3
/hornet/settings/production.py
0ef5a7307d42591a2e16a866bfbadecbaea57894
[]
no_license
coding-buzz/hornet
bba6b4db59434e1ee4e29284752cf7fcc244873d
5054eddac1edfc427ac07ea7dc419853cf33f0a4
refs/heads/master
2021-01-17T10:19:10.202806
2017-12-07T10:38:13
2017-12-07T10:38:13
59,466,128
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
import os from base import * SECRET_KEY = os.environ['SECRET_KEY'] DEBUG = False ALLOWED_HOSTS = ['coding.buzz'] COMPRESS_CSS_FILTERS = ( 'django_compressor_autoprefixer.AutoprefixerFilter', ) COMPRESS_AUTOPREFIXER_BINARY = os.path.join(BASE_DIR, '..', 'node_modules/postcss-cli/bin/postcss') COMPRESS_AUTOPREFIX...
[ "marcinskiba91@gmail.com" ]
marcinskiba91@gmail.com
cb20e9e52b32e9c6326a763015d867ba85acb885
7b5f7dc5b6a0fc063aeabc9f2408dc867586c129
/env/lib/python2.7/site-packages/sure/old.py
59cef893c4075eff83a691a530ebb8822e678328
[]
no_license
kingbifoe/django-calendar-reminder
687dfa419895cfc67f5fad542179d9d4a716e75d
3325717f53fd9825e036f21f391510f6a754aa93
refs/heads/master
2023-01-02T05:10:47.418059
2016-04-10T19:04:44
2016-04-10T19:04:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,705
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # <sure - utility belt for automated testing in python> # Copyright (C) <2010-2013> Gabriel Falcão <gabriel@nacaolivre.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the...
[ "cndeti@gmail.com" ]
cndeti@gmail.com
8f625038c620cfe6780ab65acbcdcdc12082f039
8df9a0b12b8451d6c198164b85f8776fd4fccc31
/casesrc/test5updateBook.py
abc1873aa5785eebc6cc87417ade51e1e8a2a26c
[]
no_license
alexxu56/httpbook
aa4cd295e9269fda9d3598f674e65871bf6453e0
c5f3708d8e8584926273ba2ae154e5565b339884
refs/heads/master
2020-03-08T05:12:52.905480
2018-04-03T17:19:06
2018-04-03T17:19:06
127,942,667
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
# -*- coding: utf-8 -*- from updateBook import UpdateBook from getBookList import GetBookList import unittest class testUpdateBook(unittest.TestCase): def testupdatebook(self): # addbook filename = 'caseUpdate.xlsx' begincase = '00301' casenum = 2 updatebooklist = UpdateBoo...
[ "156461040@youremail.com" ]
156461040@youremail.com
d82a7c81e00fa27c5ad59a4fc4811c1928d2518e
63daf225819636397fda6ef7e52783331c27f295
/taobao-sdk/top/api/rest/TmallProductSpecsGetRequest.py
b7150211c3b1b6c63e9ce9e9c0ee66bd56c5f336
[]
no_license
cash2one/language-Python
e332ecfb4e9321a11407b29987ee64d44e552b15
8adb4f2fd2f023f9cc89b4edce1da5f71a3332ab
refs/heads/master
2021-06-16T15:15:08.346420
2017-04-20T02:44:16
2017-04-20T02:44:16
112,173,361
1
0
null
2017-11-27T09:08:57
2017-11-27T09:08:57
null
UTF-8
Python
false
false
356
py
''' Created by auto_sdk on 2014.02.28 ''' from top.api.base import RestApi class TmallProductSpecsGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.cat_id = None self.product_id = None self.properties = None def getapiname(self): ...
[ "a@ie9.org" ]
a@ie9.org
5d93ce633829dede636e08e12802f99ad3b751d6
b806c351b5b09c68fb82edd26b7f48ac60124293
/examples/tutorials/04_cubes_and_objects/13_pop_a_wheelie.py
f96809dd4c591c60124b58427a2a22972974c1e5
[ "Apache-2.0" ]
permissive
cashcat/cozmo-python-sdk
ddd9ac042fe5b254ba2d721d89b552a4931d913b
c4dcfb2c323bbfdce0c3affed2b64a59edfd0f68
refs/heads/master
2022-07-08T13:28:19.862721
2022-07-03T14:10:02
2022-07-03T14:10:02
172,061,034
1
0
NOASSERTION
2019-02-22T12:15:38
2019-02-22T12:15:38
null
UTF-8
Python
false
false
1,214
py
#!/usr/bin/env python3 # Copyright (c) 2017 Anki, Inc. # # 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 in the file LICENSE.txt or at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
[ "noreply@github.com" ]
cashcat.noreply@github.com
ce502221c2081beadd2ed01aa5ddd02cf7cf7901
89a90707983bdd1ae253f7c59cd4b7543c9eda7e
/data_structures_and_algorithms_in_python/ch04/power_fast.py
c7f98d650facb9e5b5bb39c4db5cd09f1ee64c4c
[]
no_license
timothyshull/python_reference_code
692a7c29608cadfd46a6cc409a000023e95b9458
f3e2205dd070fd3210316f5f470d371950945028
refs/heads/master
2021-01-22T20:44:07.018811
2017-03-17T19:17:22
2017-03-17T19:17:22
85,346,735
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
def power(x, n): if n == 0: return 1 else: partial = power(x, n // 2) # rely on truncated division result = partial * partial if n % 2 == 1: # if n odd, include extra factor of x result *= x return result
[ "timothyshull@gmail.com" ]
timothyshull@gmail.com
fe8c1b110597c61d4d0d0cf4df44e625ada09bf3
d7c0193f7f81138466ea182aa624bb4305aa65e2
/Calculator.py
8f3f0f255d10648bb662341465089242a1899537
[]
no_license
Avilash2001/Calculator-Python
9103c4631b8f27f7f989b55a78d6ce61f1603915
3dd4fa61f4faa90a500bcfa7a45b93f90cd4a0c8
refs/heads/master
2022-11-21T20:14:40.870119
2020-07-25T15:52:00
2020-07-25T15:52:00
282,469,297
0
0
null
null
null
null
UTF-8
Python
false
false
33,219
py
from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5 import QtCore, QtGui, QtWidgets from math import sqrt def is_integer(n): try: float(n) except ValueError: return False else: return float(n).is_integer() class Ui_Calculato...
[ "noreply@github.com" ]
Avilash2001.noreply@github.com
68c248e166090f6f4c128958819a7b23e91b52f8
f7d686ff80f262cb3812980dc7e3e9b1d142b368
/venv/nums.py
1f5d1c782c5949aba3cd9287a2a6e0a12979d760
[]
no_license
orDasha/Python_Algorithm_Home_Work
b569525cea267b77b6c1952797e3f26b62be2fe1
b1c4fcb07410f5374036580dcc0ad58f6c895b1e
refs/heads/master
2021-02-26T05:58:34.785475
2020-03-06T19:30:09
2020-03-06T19:30:09
245,500,641
0
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
#Функция приведения вводимого значения к числовому (FLOAT), на входе число, на выходе float def digitalize_prompt(num): if num.isdigit(): return float(num) else: try: float(num) return float(num) except ValueError: print('Неверно введено число') ...
[ "21261637+orDasha@users.noreply.github.com" ]
21261637+orDasha@users.noreply.github.com
87e458170ac80e1d168ac33dc51962ad66b4f833
9134990653ca039918ad14a2c345f0ee4c421fe1
/setup.py
7ecc05f9d920cdb9bc37e3340e20015b75fed2b6
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
soderluk/bottle-oauthlib
31e2bfba817f04931de5f0db4cd0fbdd2bce2e99
92bd9ed6a7b6c23b073625d45c284e293b70b28c
refs/heads/master
2020-04-08T20:01:31.077961
2018-11-06T08:31:14
2018-11-06T08:31:14
159,681,033
0
0
BSD-3-Clause
2018-11-29T14:43:56
2018-11-29T14:43:56
null
UTF-8
Python
false
false
1,028
py
from setuptools import setup import inspect from os import path import os with open(path.join(path.dirname(path.abspath(inspect.getfile(inspect.currentframe()))), "requirements.in")) as fd: dependencies = fd.read().split('\n') try: version_tag = os.environ["TRAVIS_TAG"] except KeyError: version_tag = "1....
[ "jonathan.huot@thomsonreuters.com" ]
jonathan.huot@thomsonreuters.com
d09ba860d2dd4bfc110801c221ab765641fde85a
b1ca83526e516b173adac193fb988f66f14ed65d
/halotools_ia/correlation_functions/tests/test_ed_3d.py
30d36c4fe39c51678989b1ac0a60bfb956ea8513
[ "BSD-3-Clause" ]
permissive
nehapjoshi/halotools_ia
a520149ce208e9b5b2bba10d1628115de9190b70
36b228bf788354fac692cb4d55d32bfd4e39a998
refs/heads/master
2023-06-13T00:17:31.123130
2020-06-08T19:09:03
2020-06-08T19:09:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,070
py
""" Module providing unit-testing for the `~halotools.mock_observables.alignments.w_gplus` function. """ from __future__ import absolute_import, division, print_function, unicode_literals import numpy as np import warnings import pytest from astropy.utils.misc import NumpyRNGContext from ..ed_3d import ed_3d from h...
[ "duncan@donut-hole.local" ]
duncan@donut-hole.local
e20932bf17f71d78ac469d9c003fc8b2ae163ad0
283b2a1f39fa1da3daa6bc58990682968b0fdd46
/src/scene/brick.py
b84a9b44f4056d5f2d41a7137a9741b7cb28ba6c
[ "Apache-2.0" ]
permissive
vlad94568/bricks
c2de4a4c0a2657f14182c4a13371cc03c59898d5
ffe6b761930fcb592c802cd7fde4b0657b05f951
refs/heads/master
2021-04-28T13:35:45.402367
2020-12-18T05:14:54
2020-12-18T05:14:54
122,108,325
2
0
null
null
null
null
UTF-8
Python
false
false
1,673
py
# # _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/_/ # _/ _/ _/ _/ _/ _/ _/ _/ _/ # _/_/_/ _/_/_/ _/ _/ _/_/ _/_/ # _/ _/ _/ _/ _/ _/ _/ _/ _/ # _/_/_/ _/ _/ _/_/_/ _/_/_/ _/ _/ _/_/_/ # # By Vlad Ivano...
[ "nivanov@gridgain.com" ]
nivanov@gridgain.com
5c5fdc9dd71759badee24f5bc5a70e72ab1d9938
78beced1a6a96380077059e3b1520fa6a7faed95
/compare_classifiers_DATA401/base_model.py
610411d0ac0e3cc221e3de5669042a57289e4772
[]
no_license
markellekelly/portfolio
da59e0e39eea4396819d8acb385fac04bfdbf890
787bfaf10976af038879aebe21556c7240027c31
refs/heads/master
2020-08-31T04:56:43.193459
2020-02-10T00:34:02
2020-02-10T00:34:02
218,595,183
3
1
null
null
null
null
UTF-8
Python
false
false
5,326
py
import abc import numpy as np import pandas as pd import matplotlib.pyplot as plt from abc import abstractmethod def _convert_dataframe(x): """ Converts x from a Pandas DataFrame to a Numpy ndarray if x is a DataFrame. If x is already a ndarray, then x is returned :param x: Input DataFrame :retur...
[ "mkelly23@calpoly.edu" ]
mkelly23@calpoly.edu
e8fb8b6c7a2c7ba04314e431ec618dd22761941e
612325535126eaddebc230d8c27af095c8e5cc2f
/src/build/android/pylib/utils/device_dependencies.py
c448396fbc0ab0c74370a723afeb7c9fb47be053
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/proto-quic_1V94
1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673
feee14d96ee95313f236e0f0e3ff7719246c84f7
refs/heads/master
2023-04-01T14:36:53.888576
2019-10-17T02:23:04
2019-10-17T02:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,315
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import re from pylib import constants _BLACKLIST = [ re.compile(r'.*OWNERS'), # Should never be included. re.compile(r'.*\.crx'...
[ "2100639007@qq.com" ]
2100639007@qq.com
b69f8beff48dd50cb0d5282793730a6584dc94dc
3c2b7c4f632697b382cbd55bf0e4652c11cbf685
/python-Exp3/Q3.py
87a97054c957025233ea449d5e9a093f46240468
[]
no_license
ajitjha393/PYTHON-EXP
0b7c56157ff1054d84cfbd5b9820cae46567adc1
1ae42a9bc4f163fc512b887f5ff8c2734f6d62ab
refs/heads/master
2020-04-22T22:04:36.314429
2019-04-07T17:30:03
2019-04-07T17:30:03
170,695,397
0
0
null
null
null
null
UTF-8
Python
false
false
1,628
py
# ---------Simple Calculator def add(*args): sum = 0 for i in args: sum += i return sum def sub(*args): subtraction = args[0] for i in args: if i == args[0]: continue else: subtraction -= i return subtraction def Multiply(*args): mul = 1 ...
[ "noreply@github.com" ]
ajitjha393.noreply@github.com
14e91cfd8dbbec97c9ab3e312f3b5779cd6e22fb
ed7907d39df5ecfa2ed40f5dba77646dd680c0ba
/exceptionTest3.py
28645142fe713c83a936ec0f81af7b12a677c398
[]
no_license
neighborpil/Py_EasyPython
2cc0a7b7914c6a720f9c2da426f5bceba2bf8f2d
042e82e6c67549da307800c87492145b731319ec
refs/heads/master
2021-07-06T05:28:43.364552
2017-10-01T04:41:10
2017-10-01T04:41:10
103,515,499
0
0
null
2017-10-01T04:41:11
2017-09-14T09:46:24
null
UTF-8
Python
false
false
438
py
#finally 처리 #파일 닫기와 같이 예외발생 여부와 상관없이 반드시 발생해야 하는 경우 사용한다 try: #테스트를 위하여 파일 생성 open('__test.txt', 'w').close() #파일 읽기로 연다 f = open('__test.txt', 'r') #파일에 먼가 쓰면 예외 f.write('xxx') except OSError as e: print('Exception : {}'.format(e)) finally: f.close() print('release file')
[ "neighborpil@naver.com" ]
neighborpil@naver.com
b1dea3c4983f09b3a6dc08bf597ea9ff4f8bd617
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2158/60876/250371.py
2410110cab9dc4be3dd9ff187554b0e5447e6868
[]
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
537
py
string=input() index=0 while string[index]==' ': index+=1 temp="" if string[index]=='-': temp+="-" index+=1 while index<len(string) and string[index].isdigit(): temp+=string[index] index+=1 if int(temp)<-2**(31): print( -2**(31)) else: print(temp) elif not string[...
[ "1069583789@qq.com" ]
1069583789@qq.com
d1c4dcce1c4d93f639798a0b8d7b8ac902d9ad74
4d90a1f16b90589c893c250d59b3edf2913ebdf2
/Coding Topics/NestedInteger/Nest weight sum.py
71875c33f380c741c74581d9f30745ba0a099844
[]
no_license
cliu0507/CodeForFun
76cfd63f7eca9e6791be6fdda569d6d1d52c9405
5751a5176f86ac03b351d47efb5cfd9c2f6c886d
refs/heads/master
2021-08-18T09:33:10.046130
2021-08-13T17:00:50
2021-08-13T17:00:50
62,689,547
1
1
null
null
null
null
UTF-8
Python
false
false
15
py
Nest weight sum
[ "cliu0507@yahoo.com" ]
cliu0507@yahoo.com
60e1fae3e610401595ac4c325afa9c1d4c049bfa
7c0369b719201ac461a053bf385c191faf82adb9
/cnngeometric_yong/DataSet_old/venv/bin/easy_install
d1bd7d69b4efe14d31ced0cca45c7659b168c1d5
[]
no_license
yoyongbo/Thesis-Image-Alignment-Using-Machine-Learning-
ab9f692450ea2d408fccc8b56da7baae9617ac92
3a6abf9b5e0082a2b4a9786d6f7f0960955e6c91
refs/heads/master
2023-08-29T21:14:55.282716
2021-10-04T22:41:24
2021-10-04T22:41:24
413,600,586
0
0
null
null
null
null
UTF-8
Python
false
false
276
#!/Users/yongboyu/Desktop/yong_honors/DataSet/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "yoyu@upei.ca" ]
yoyu@upei.ca
683ce542c7bd81520833cab65d8c4764426527d6
a90d3018fc1ca827c79c169259b9b071c4548864
/Python_edition/frame2d_eg/frame2d_ele_info.py
c0dc94ada2d471fe98f5d8414ad78c1dbde6a45a
[]
no_license
yiphon/FEM_code
706958c1784a25392134b06d9fbabfb373a8ae99
2c9cabc1dd3a37efc418d5ecdcb71a04374ce6f1
refs/heads/master
2020-03-16T15:58:31.591619
2018-05-25T02:56:00
2018-05-25T02:56:00
132,766,451
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
import numpy as np from math import * def frame2d_ele_info(node_coordinate): #利用各单元对应节点坐标,完成ele_info矩阵。 eles = node_coordinate.shape[1] a = np.zeros((3, eles)) for i in range(eles): x1 = node_coordinate[0, i] y1 = node_coordinate[1, i] x2 = node_coordinate[2, i] ...
[ "noreply@github.com" ]
yiphon.noreply@github.com
89f4e42b94db78a216da5d14a10ae08a72d8c834
13e0ae2c2bb5442a099a5e5acd90a81082de6cea
/entities/entity.py
2473ea0df75aa19494afccd9c27474102b3cb6f9
[]
no_license
eseraygun/python-entities
03345364075c47c7370b898f178420766ab2bbb7
9763ef61dacda70cb7d9731f74bfff2e35efe08b
refs/heads/master
2016-09-08T00:42:13.032623
2014-03-24T13:33:20
2014-03-24T13:33:20
9,154,428
4
1
null
null
null
null
UTF-8
Python
false
false
3,415
py
from basic import PRIMARY, MultipleErrors, ValidationError from field import Field from schema import Schema class Entity(object): __metaclass__ = Schema # noinspection PyArgumentList def __new__(cls, *args, **kwargs): self = super(Entity, cls).__new__(cls, *args, **kwargs) self._values =...
[ "eser.aygun@gmail.com" ]
eser.aygun@gmail.com
06746b9cdd028e85cf95b1206bf2464f527454c1
f5533537b9e1b79afe8f034ebcd453bfe8adab5d
/0x07-python-test_driven_development/6-main.py
9f21b3c501094ffe4261da7c20e7fca8c21d9010
[]
no_license
Matteo-lu/holbertonschool-higher_level_programming
99d06bf4ed6b4ca770a45d30e3158a18ad7d5a0b
77311f452e8d62145b5e7afe151557ed7a6d210a
refs/heads/main
2023-09-03T09:55:12.144861
2021-09-25T14:47:47
2021-09-25T14:47:47
361,899,952
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
#!/usr/bin/python3 max_integer = __import__('6-max_integer').max_integer print(max_integer([1.1, 2.2, 4.4, 6.6])) print(max_integer([1, 3, 4, 2]))
[ "mateolondono.u@gmail.com" ]
mateolondono.u@gmail.com
3767e3ce1ee0d228ed60b849ea6b096818fdab1b
764b0e8f4175661c1e26d4d2a1f8a70ecf2899b9
/Find the Runner-up score HackerRank/Find the Runner-up Score.py
1d6272c6e96875205071f932ee514626050ad3fb
[]
no_license
Abishek-Git/HackerRank
5a427a2ce6d287c738f1935954ec952b7771dcb9
436d58b277f8ecb5cb65ec1f950717e4d45a2570
refs/heads/main
2023-07-23T09:57:03.269478
2021-08-30T13:48:06
2021-08-30T13:48:06
397,639,616
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" Given the participants' score sheet for your University Sports Day, you are required to find the runner-up score. You are given scores. Store them in a list and find the score of the runner-up. """ total = int(input()) marks = list(map(int, input().split())) marks.sort() runner = 0 for i in marks[::...
[ "noreply@github.com" ]
Abishek-Git.noreply@github.com
a136fc23e69ebae89afe6c5d639ca6272310d0dc
3c3fccf2087fb1a7057485fb5c0205ed4c7a5bb2
/luffy_strak/wsgi.py
2dfce00ac61a81ab1f45566387632c10632a5968
[]
no_license
heehoo-ai/stark
6ae22b4072f92d5ab753242611432837e43ac944
d0824590dbfa2c7ae7cb8e7fca7ff96a88b4e294
refs/heads/master
2022-12-08T06:06:37.203234
2020-09-03T08:00:03
2020-09-03T08:00:03
290,717,157
1
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for luffy_strak project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "heehoo@qq.com" ]
heehoo@qq.com
efb162f0cd66acb5dedda151c7f0b21528f0fffe
bee7dc3fd989fa3b7d79a1a4d58255d8a2019cb9
/categories/utils.py
8b372ce17ce801dd7fb730195e8c80f5abdec229
[]
no_license
philipp94831/mmds
c7a10dabc204b6c9f640c508508068ef298645a8
6d1ae5776996c4235a3c9a517286d72eeaf6237a
refs/heads/master
2020-04-06T07:06:45.144039
2016-08-31T08:43:12
2016-08-31T08:43:12
59,962,975
2
0
null
null
null
null
UTF-8
Python
false
false
568
py
import sys def uprint(*objects, sep=' ', end='\n', file=sys.stdout): enc = file.encoding if enc == 'UTF-8': print(*objects, sep=sep, end=end, file=file) else: f = lambda obj: str(obj).encode(enc, errors='backslashreplace').decode(enc) print(*map(f, objects), sep=sep, end=end, file=f...
[ "richard.trebichavsky@gmail.com" ]
richard.trebichavsky@gmail.com
08a3fe7445f742ea3b4da8caf57c52bbc9acc66b
13da6acd43e63b8be0e6e6971d06bd4706b2be71
/tests/test_octodns_record_geo.py
6b9cd4eaa90c74a52ff2cd2b1e5d329ac137ef04
[ "MIT" ]
permissive
grahamhayes/octodns
4db23d47c6397dec2dee5f75285bfde5b30c7791
ea81b7a535d722f81cb862767a295f277960e257
refs/heads/master
2023-01-11T00:03:03.461018
2019-01-28T17:51:40
2019-01-28T17:51:40
168,031,154
0
0
MIT
2022-12-27T15:33:45
2019-01-28T20:24:02
Python
UTF-8
Python
false
false
2,110
py
# # # from __future__ import absolute_import, division, print_function, \ unicode_literals from unittest import TestCase from octodns.record.geo import GeoCodes class TestRecordGeoCodes(TestCase): def test_validate(self): prefix = 'xyz ' # All valid self.assertEquals([], GeoCodes....
[ "ross@github.com" ]
ross@github.com
745598179a1f4f9fc81a7259c54c7e70776b17c7
7083f3e6121a63b0c21e15d8b23c32067d7e4e5e
/scripts/debugging/test_data_utils.py
471d21749014c77fe08ae8e78ca5ffb1b5c2ab15
[]
no_license
nathanin/milk
e46317cf0d1b2162fd301a144f5aa3b889cf5d27
9afb3b01715a4f65a03b7cd45dcd121745b117f8
refs/heads/master
2023-02-22T05:23:06.850961
2019-10-26T19:08:20
2019-10-26T19:08:20
154,750,122
2
0
null
2023-02-15T21:36:19
2018-10-25T23:29:33
Jupyter Notebook
UTF-8
Python
false
false
79
py
import sys sys.path.insert(0, '../..') from milk.utilities import data_utils
[ "ing.nathany@gmail.com" ]
ing.nathany@gmail.com
4371051b460fbdb7f7e35435ddd12876a32f7a6e
21b0b4c27193898207751c91b8b2ed168a1b1638
/py/py_0198_ambiguous_numbers.py
ca312ac6f6f03c67908c6bd6ae8705a25e557c7b
[ "MIT" ]
permissive
lcsm29/project-euler
67560a4e66968f1671a3d7ecf2dda6c956893dca
fab794ece5aa7a11fc7c2177f26250f40a5b1447
refs/heads/main
2023-07-04T11:45:24.374841
2021-08-07T08:20:41
2021-08-07T08:20:41
371,808,781
0
0
null
null
null
null
UTF-8
Python
false
false
1,130
py
# Solution of; # Project Euler Problem 198: Ambiguous Numbers # https://projecteuler.net/problem=198 # # A best approximation to a real number $x$ for the denominator bound $d$ is a # rational number $\frac r s$ (in reduced form) with $s \le d$, so that any # rational number $\frac p q$ which is closer to $x$ than $...
[ "lcsm29@outlook.com" ]
lcsm29@outlook.com
cac2318a8b307ad741c58dda75e970b204bed67a
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_4/bgrtej001/piglatin.py
8a3ae80180102da97b97c2eee4594a3e8512b2c3
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
#Tejasvin Bagirathi #Assignment 4, Question 3 def toPigLatin(s): wrdno = 1 new = "" for i in range(len(s)): if s[i] == " ": wrdno+=1 string = s.split(" ") for i in range(wrdno): wrd = string[i] #If word starts with vowel if wrd[0] in "aeiou": wrd =...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
6b13c73368d607436536d7bb16a10162a3ac9dc2
1c9fadd68fe1a22d873c9b3d9d50e54ca67614cb
/plaid_integration/urls.py
e823bbb4a90aa8a6923cac0758ca97bb57a7c833
[]
no_license
vijayhk94/plaid_integration
aacda2c350d58710d9f6bb2c7429c41d998bcfb7
266ab0d6f9c9ba799ab773d40d6312138b66c16a
refs/heads/master
2022-11-28T17:03:07.378996
2020-08-06T11:44:09
2020-08-06T11:44:09
285,233,931
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
"""plaid_integration 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'...
[ "vijay.kahalekar@belong.co" ]
vijay.kahalekar@belong.co
9fb17ce7b6fb0a7b73112825f591381e23c30c80
fe70774ff6898c5bdb0c941b4f335de576abfdb6
/autotest/test_flopy_io.py
bb09cd2207661c1b0258d7feb56b3d6788f12990
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
robinthibaut/flopy
35af468415d1ba6e1de119a7cb335381304fada9
22ef330bcfb9259fc23735d6b174d27804b624a0
refs/heads/develop
2023-06-30T21:43:24.101593
2023-06-13T19:46:03
2023-06-13T19:46:03
255,560,877
0
0
BSD-3-Clause
2022-10-10T12:23:38
2020-04-14T09:05:42
null
UTF-8
Python
false
false
3,153
py
import os import platform from os import getcwd from os.path import relpath, splitdrive from pathlib import Path from shutil import which import pytest from modflow_devtools.markers import requires_exe from modflow_devtools.misc import set_dir from flopy.utils.flopy_io import line_parse, relpath_safe def test_line_...
[ "noreply@github.com" ]
robinthibaut.noreply@github.com
80581b80f9d902d4e72466d2931fc4f87459aa48
e672677f921d11f59c6a83dcbb8b947330730c5d
/source/incqueryserver-jupyter/iqs_jupyter/mms_extensions.py
3d23072c7e2f4ddde1ad7f11044a8666dca919d1
[ "Apache-2.0" ]
permissive
IncQueryLabs/incquery-server-jupyter
4e1cc36c2643c5ba324e2f98618a5d4912bbe6bf
40072eb8cdfd60ba36783faf5bef4f88e5342f8a
refs/heads/master
2023-08-17T01:10:06.501516
2021-10-21T09:51:41
2021-10-21T09:51:41
187,173,984
2
1
Apache-2.0
2023-02-02T08:43:24
2019-05-17T08:04:37
Python
UTF-8
Python
false
false
10,410
py
# Copyright 2019 IncQuery Labs Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
[ "gabor.bergmann@incquerylabs.com" ]
gabor.bergmann@incquerylabs.com
ecab9c466f0cd944b8390cc5ff0302f9d8b7cbd3
7a1b0ac96ab98666ba29092c12378aca583e090e
/Content/Jay's Oled+Ultrasonic Sensor.py
c37979a1f0493c767b173a80421d3f807c674498
[]
no_license
wendahere/JAWS
12a2e571996c7b6ff81ebf13a8fc37c62a6e161b
303800c42fa159bbb969eba475b99f49cc65dd16
refs/heads/master
2021-07-17T03:16:05.307792
2020-10-01T08:03:36
2020-10-01T08:03:36
215,438,213
0
1
null
null
null
null
UTF-8
Python
false
false
1,981
py
import machine import sys import time from machine import Pin import utime from machine import Pin, I2C import ssd1306 from time import sleep trig=machine.Pin(25, machine.Pin.OUT) #Purple wire echo=machine.Pin(26, machine.Pin.IN) #Blue wire jaws_state="Stop" #Starting position is Stop, this will be reflected on the ...
[ "noreply@github.com" ]
wendahere.noreply@github.com
929415e28cd27f08856ade898c069d066e6a7851
80000409c75d68f15f04d10075df7abae6b1c244
/stamper_targets/Wedge100B65/bfrt_grpc/bfruntime_pb2_grpc.py
0178b1671a5179a99f03ff074ff10281f3401dcb
[ "Apache-2.0" ]
permissive
ralfkundel/P4STA
a778ca1b9bbe2f4063da5fa25affec90c6d7ca85
a9fea4d7e48de05e17b9da14e5c31455a9f00f9d
refs/heads/master
2023-07-21T18:37:57.558802
2023-04-13T11:58:42
2023-04-13T11:58:42
186,822,141
27
7
Apache-2.0
2023-07-05T21:30:57
2019-05-15T12:30:40
JavaScript
UTF-8
Python
false
false
9,014
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc import bfruntime_pb2 as bfruntime__pb2 class BfRuntimeStub(object): """Missing associated documentation comment in .proto file.""" def __init__(self, ...
[ "ralf.kundel@kom.tu-darmstadt.de" ]
ralf.kundel@kom.tu-darmstadt.de
5593fcb9ec3b1417a331b3952f8d5f7cd229fa92
11bb0cbe6de2a0a4e94fc0ba610f61894d5593a1
/VBS_Zgamma/Significance/Invert_detajj/data_cards/th2_to_txt.py
40511394bf0a015827f544aacee6e14b17f68643
[]
no_license
AnYpku/PKU-Cluster
0dc4a88445aeb3ca239b2d7d7f796c6a67f3f69c
f9ffbcb7988053f4618fd015c1bb656d92ff51c6
refs/heads/master
2022-11-01T23:46:59.442037
2022-10-21T06:37:43
2022-10-21T06:37:43
188,202,345
0
4
null
null
null
null
UTF-8
Python
false
false
10,414
py
#!/usr/bin/env python from ROOT import gROOT, THStack, TH1D, TList, TFile import sys from math import sqrt from numpy import sum def merge_bin(th1): nbins=th1.GetNbinsX() print 'nbins', nbins th1.SetBinContent(nbins-2,th1.GetBinContent(nbins-2)+th1.GetBinContent(nbins-1)+th1.GetBinContent(nbins)) ...
[ "anying@pku.edu.cn" ]
anying@pku.edu.cn
2676c8b70cc62e532379d2c46e363e54f2d94d14
97999ecca9e50972cc9e80df27d4768d83498dba
/credentials/migrations/0008_aboutme_resume.py
0ca7767e117e9ddde7e97056617a2f2465605750
[]
no_license
apatten001/portfolio
c79312d13f7a75f909e2d4d66ab6ef275b69543e
4fdb503afccea83b849b62e3b12539e25a0b722f
refs/heads/master
2020-04-25T05:45:20.946946
2019-03-07T16:53:00
2019-03-07T16:53:00
172,554,299
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
# Generated by Django 2.1.5 on 2019-02-27 19:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('credentials', '0007_auto_20190128_1630'), ] operations = [ migrations.AddField( model_name='aboutme', name='resume',...
[ "apatten001@yahoo.com" ]
apatten001@yahoo.com
978111f2aee347cc7bb6b68d5008784cbd0cfd2e
9b286a676f3db10da382ef165b747766cad903d5
/02.Programming Fundamentals/11.text-processing/emoticon_finder.py
3b8f332d0214ca4e970910d11dab24ff8b53c9d4
[]
no_license
moshu1337/SoftUni
77213cd12fce989557fb3891ce0befb53a6a85e9
262351b9def88a2810c7fc0d05d161671a0a89e9
refs/heads/master
2022-12-01T13:50:40.785701
2020-08-19T18:18:22
2020-08-19T18:18:22
281,163,832
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
emoticon = ':' text = input() for char in range(len(text)): if text[char] == emoticon: if text[char + 1] != " ": print(f":{text[char + 1]}")
[ "68555478+moshu1337@users.noreply.github.com" ]
68555478+moshu1337@users.noreply.github.com
d9642c6dc06e274de14cd94b6e2fc5eaadf3a6fb
a98f696107817c68f058ff4148276372078940e0
/BERT/src/dataset.py
8005aefa81ec9c3f7210bb6a58922763c81eba29
[]
no_license
MiuLab/CQA-Study
90d57e4356d39cc9b82039dd544149fdf25c8866
4a8f72dd43c5cf1937883336670180b6a11e4762
refs/heads/master
2022-04-01T17:46:21.066198
2020-02-03T12:38:52
2020-02-03T12:38:52
222,895,519
7
0
null
null
null
null
UTF-8
Python
false
false
4,763
py
import numpy as np import torch from torch.utils.data import Dataset class QuACDataset(Dataset): def __init__(self, data, padding=0, context_truncated_len=400, utterance_truncated_len=100): self.padding = padding self.context_truncated_len = context_truncated_len ...
[ "b03902072@ntu.edu.tw" ]
b03902072@ntu.edu.tw
0ea8b20ca248bdf1880742e069342724e1b07a53
21f01e2a697f1ec37d49934a46084882d700d9f8
/nhom-3/source/item/models.py
2b1731a0c869b9c32b2318dfa252fc6e856cfeb0
[]
no_license
trunganhvu/INT2208-8-2019
362b1238e8568876fa0b09cfccfac0b3edb47225
58867a3844cbc2633516082f8dae198523b76d2d
refs/heads/master
2020-04-28T08:57:21.570832
2019-05-12T17:58:07
2019-05-12T17:58:07
170,449,725
1
0
null
2019-02-13T06:01:43
2019-02-13T06:01:40
null
UTF-8
Python
false
false
563
py
from django.db import models from django.contrib.auth.models import User from user.models import Restaurant # Create your models here. class Comment(models.Model): userId = models.OneToOneField(User, on_delete=models.CASCADE) content = models.CharField def __str__(self): return content class Item...
[ "conglb@yahoo.com" ]
conglb@yahoo.com
0c60aa2fb9f53122c19b8224e91ee6cccdc8ee08
41976ba2c94759b16f165236cbce8616bb2adeb8
/eventex/core/tests/test_views_talk_list.py
5e68a215dffaf3bb6a4734970a341233198ba44f
[]
no_license
AdeilsonF/eventex-adeilson
6d194849573ca350c94e80ee2f013a7ee699ab72
cbca9bfbeae19c65e28b7fb32f94f23f7a38f260
refs/heads/master
2020-12-24T14:56:54.911529
2014-06-13T20:40:01
2014-06-13T20:40:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,012
py
# coding: utf-8 from django.test import TestCase from django.core.urlresolvers import reverse as r from eventex.core.models import Speaker, Talk class TalkListTest(TestCase): def setUp(self): s = Speaker.objects.create(name='Henrique Bastos', slug='henrique-bastos', ...
[ "adeilsono.oinfo@gmail.com" ]
adeilsono.oinfo@gmail.com
bf87b37a2e04bb39ba5a09c86b581bd34be15a03
cde373aef58da4226bfadee3d1a7086d22f33414
/Matplotlib/20-AddingMoreIndicatorData.py
6deebcb3c6cd32cf086b49db0aff5da22174f70c
[]
no_license
ravi4all/ML_WeekEnd_Feb
6c66c6e6845062928834986980e5c229a19da6cd
43891ff36cfcd557861b4eebb99c44c68d24954e
refs/heads/master
2021-01-09T06:10:34.007131
2017-06-12T03:57:54
2017-06-12T03:57:54
80,917,805
0
1
null
null
null
null
UTF-8
Python
false
false
3,150
py
import matplotlib.pyplot as plt import matplotlib.dates as mdates import matplotlib.ticker as mticker from matplotlib.finance import candlestick_ohlc from matplotlib import style import numpy as np import urllib import datetime as dt #style.use('ggplot') style.use('fivethirtyeight') MA1 = 10 MA2 = 30 ...
[ "noreply@github.com" ]
ravi4all.noreply@github.com
d3b5d2220dfd64a054fc44c58b941464e11c9a62
bb2b6422476f5bd80171a31517465f9f62e15558
/catkin_ws/build/scan_tools/laser_ortho_projector/catkin_generated/pkg.installspace.context.pc.py
a7beec3bd992862819cd8c913a124d3586a9795b
[]
no_license
Forrest-Z/MyKitAgv
ccd7b1c5fdb3a046bc5267d1827c4a08d89e74a4
db9506ad8c8a9012fb49775e188932e28526337e
refs/heads/master
2022-12-07T17:49:23.140713
2020-09-07T14:25:04
2020-09-07T14:25:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include".split(';') if "${prefix}/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;nodelet;sensor_msgs;tf;pcl_ros;pcl_conversions;geometry_msgs;message_filters".replace(';', ' ') PKG_C...
[ "nhamtung125@gmail.com" ]
nhamtung125@gmail.com
34c9d63c64f37b6a17a2adfae7b3bb9d3677a416
0130c8b14927097663157846adc4b146d67d2fda
/tests/common/test_run/softplus_run.py
72090ba2620e11675993ae68cec770d88f6b7703
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-3-Clause", "NCSA", "LLVM-exception", "Zlib", "BSD-2-Clause", "MIT" ]
permissive
Shigangli/akg
e8be3e0ee1eafe3e42b4cc4d424c28f08ef4c0bc
3766c54e0b109541932d147a6b5643a334b82403
refs/heads/master
2023-09-06T05:13:40.571583
2021-11-23T03:44:54
2021-11-23T03:44:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "1027252281@qq.com" ]
1027252281@qq.com
105d384348c813c95cee9ab8d72d6d04d7edae30
e8d03c56048a02df607ea5e48660285175174ee7
/bbs/start.py
a20be8d8021280f9766115058c0bb1a307843cc6
[]
no_license
Alex-wwei/Tornado
acf3b4b996bcf2fabf299021ad9b96eb6d49d8b5
0448c075ce0cf1c6b2b3d1de3cc0d83bee6792cc
refs/heads/master
2022-06-16T01:42:44.167203
2017-07-20T02:35:22
2017-07-20T02:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,220
py
import tornado.web, tornado.ioloop, re class BaseField(object): def __init__(self, error_dict, required = True, ): self.error_dict = {} if error_dict: self.error_dict.update(error_dict) self.error = None self.required = required self.is_valid = False ...
[ "starhub2009@qq.com" ]
starhub2009@qq.com
8d1fa11057a3eb756835e5592f14169c1e60d7ef
12aed04fd2bcedb7405c8fc70e4312907fdb30b5
/comparator/rms_final_comparator.py
bd6abd124f86f3ef91ff6e52cd377021e809e9f9
[]
no_license
rogerdenisvieira/myoplotter
8387f99e01c473d9d72ef2b09374e3586514d17c
64bd2d82b02cc84aebe779aaea1ff6a565843a96
refs/heads/master
2020-03-22T22:36:57.543475
2019-06-27T13:18:42
2019-06-27T13:18:42
140,761,166
0
0
null
null
null
null
UTF-8
Python
false
false
1,988
py
import matplotlib.pyplot as plt import numpy as np from numpy import mean from comparator.base_comparator import BaseComparator DPI = 100 class RMSFinalComparator(BaseComparator): def __init__(self): BaseComparator.__init__(self) pass def compare(self, rep_rms_list, cvm_rms_list, output_path...
[ "roger_v@dell.com" ]
roger_v@dell.com
0a8d575b2b400d7251a2163fe1bd61be8ed51ca1
5dcb7913895f5892dd945c015920759e1dee7dc2
/Solutions/day5.py
78557e74dd6f7b3f83dfae8bdbfeaa749e972547
[]
no_license
atg-abhishek/adventofcode2015
a05d7e1f50533fbc03597eb736eb70799bfd42dd
499c77f2bfa7e48ebae02e0bf94cb17bd5367cdd
refs/heads/master
2021-08-19T12:09:08.855786
2017-11-26T05:04:46
2017-11-26T05:04:46
112,049,159
0
0
null
null
null
null
UTF-8
Python
false
false
1,536
py
from pprint import pprint li = [] with open('../Data/day5.txt') as infile: li = infile.readlines() def part1(): nice_strings = 0 for line in li: vowel_count = 0 double_present = False for char in line: if char in ['a','e', 'i', 'o', 'u']: vowel_count+=1...
[ "atg.abhishek@gmail.com" ]
atg.abhishek@gmail.com
43a0cab3c9c839ec46266c935ecdf82958e35ef6
ba3c06f9ae89479fa4987fe841ac09b5b5d71383
/python_for_kids/book/Projects/monster6.py
a10a99ac4030b0d5d0cfab3769dc4e6741f8afab
[]
no_license
mary-tano/python-programming
6d806e25011e770a04a0922d0b71bf38c222d026
829654a3274be939fa529ed94ea568c12f7f1a27
refs/heads/master
2021-05-17T15:30:32.710838
2020-04-01T13:37:18
2020-04-01T13:37:18
250,846,188
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
# Лаборатория Франкенштейна from monsterlab import * # Основная программа Frank = Monster("Фрэнки", "необычный") Frank.show() Albert = GMonster("Альберт", "задумчивый") Albert.show() Sigmund = SMonster("Зигмунд", "веселый") Sigmund.show()
[ "masha.mary.tano@gmail.com" ]
masha.mary.tano@gmail.com
db668ec99a3e918fab75689d177f3b571a030a86
8ef5a09d76a11c56963f18e6a08474a1a8bafe3c
/leet_code/7. Reverse Integer.py
79b791271388c6874618159d647c255bde2e2e06
[]
no_license
roiei/algo
32c4677649c7666db148f6183fbfbf66c8b1969f
ae8bb8bf4ae4026ccaf1dce323b4098547dd35ec
refs/heads/master
2022-04-01T19:21:27.768675
2022-02-19T06:15:29
2022-02-19T06:15:29
169,021,154
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
class Solution: def reverse(self, x: 'int') -> 'int': if x > float('inf') or x < float('-inf'): return 0 sign = 1 if x < 0: sign = -1 xstr = str(x) if -1 == sign: xstr = xstr[1:] xstr = xstr[::-1] skip_cnt = 0 ...
[ "hyoukjea.son@hyundai.com" ]
hyoukjea.son@hyundai.com
cee714270ac9da346b73a254f76e2c64e3ffa383
2f361629eff8a16a35a3b37ad8959e22077adfb4
/lab3and4/ecommerce/serialize.py
d91ae279c636fd638a6d4e53bb1d7a27ebe7ce98
[]
no_license
alexiscollado/alexiscollado.github.io
5dfe82ed43a399e089f537b603ad77a6a8ff7a7c
07bad41f92d24e31a9933991b02a9d560274de57
refs/heads/master
2021-05-02T10:16:38.117572
2018-04-30T15:50:39
2018-04-30T15:50:39
120,792,856
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
from .models import User, Product, Cart from rest_framework import serializers class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ('email', 'first_name', 'last_name', 'shipping_address') class ProductSerializer(serializers.ModelSerializer): class Meta: model = Product fiel...
[ "lex.collado@gmail.com" ]
lex.collado@gmail.com
11180e15b35f69a7900177782c6a8647996bb3db
9efb7ed6ae39065837247c6fe66655e702d6120a
/static/solutions/labs/bfs/solution/vertex.py
db5d3c094bb69cf5c2f6b5fc5d20c6a21e515840
[]
no_license
hardlyHacking/cs1
305b0db330ee13e4bbde71bdb53cb2a2378747a4
957f578b933fe01b208eae8e5c9577c056b565e5
refs/heads/master
2020-03-09T16:26:11.023918
2019-11-26T03:25:24
2019-11-26T03:25:24
128,884,594
0
1
null
null
null
null
UTF-8
Python
false
false
2,695
py
# vertex.py # Emily Freebairn # November 17, 2011 # Minor changes by THC. # The Vertex class represents a vertex in a graph. It stores the vertex's name, # location, and a list of the vertices that are adjacent to it. from cs1lib import * RADIUS = 8 # RADIUS of the drawn vertices LINE_WIDTH = 3 # line width of...
[ "hardly.hacking@gmail.com" ]
hardly.hacking@gmail.com
1d49c638c84d9cfa20e25fd85489966f882c7123
bfda3af75d94767a5cb265bd68c17cfbf94e3ee1
/rosalind/qrt/rosalind_qrtd_tung.py
c6d0de60e3be4d40377362c4f3b26bdba3ad70ce
[]
no_license
orenlivne/euler
d0e5b956a46eacfe423fbd6c52918beb91eea140
2afdd8bccdc5789c233e955b1ca626cea618eb9b
refs/heads/master
2020-12-29T02:24:36.479708
2016-12-15T21:27:33
2016-12-15T21:27:33
20,263,482
1
1
null
null
null
null
UTF-8
Python
false
false
4,129
py
''' ============================================================ http://rosalind.info/problems/qrtd Given: A list containing n taxa (n<=2000) and two unrooted binary trees T1 and T2 on the given taxa. Both T1 and T2 are given in Newick format. Return: The quartet distance dq(T1,T2). ==================================...
[ "oren.livne@gmail.com" ]
oren.livne@gmail.com
710bcc0fb5dcc70b3aacdae1595043478681cdb2
02560440f9f91e583fe98d80ab11e18aa6c7a525
/apps/usuarios/migrations/0003_usuario_correo.py
ad084ca9dc73a72604d08e401a8af1a08f618f45
[]
no_license
eduardogpg/wamadeusV1
a36c89176543e638486009620c5131f46743edbc
82d93293dc6afc95a6661f727162f4055ab83a43
refs/heads/master
2020-12-28T01:57:47.831689
2015-01-08T05:14:25
2015-01-08T05:14:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('usuarios', '0002_auto_20141215_1710'), ] operations = [ migrations.AddField( model_name='usuario', n...
[ "eduardo78d@gmail.com" ]
eduardo78d@gmail.com
b76f179288fa582d387bf950eec30e00a1f63724
ff44b59792d68783387f542ed76419182630573f
/mage_python/Ex/04/users.py
17e31c040889b38f52ef8c431831af13addfec6a
[]
no_license
caichenyi/daily
e130a9ab24e170ca3c0167774e9aca739ff7f928
717fada9ff473d6d244e8aadfd2b96621fec4120
refs/heads/master
2021-09-01T10:08:25.548701
2017-12-26T11:13:34
2017-12-26T11:13:34
114,218,991
0
0
null
null
null
null
UTF-8
Python
false
false
3,150
py
# encoding: utf-8 # Author: Cai Chenyi ''' 1. 每一个用户存储信息修改为字典 {name : xxx, age : xxxx, tel: xxx} 2. 用户输入了三次,修改为一次,使用:分隔用户信息 3. 查找的时候使用包含关系,name包含查找的字符串 ''' users = {} user_info_tpl = '|{0:>20}|{1:>5}|{2:>20}|' user_info_header = user_info_tpl.format('name', 'age', 'telephone') fhandler = open('users.txt') for line in ...
[ "chenyi.cai@wwwarehouse.com" ]
chenyi.cai@wwwarehouse.com