blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
7849122eb3fe8c33686282b0d31947253548e51b
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L31/31-35_MD_NVT_rerun/set_6.py
8441267cd7f30a30dc5e9f08e15d3a37e6877812
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L31/MD_NVT_rerun/ti_one-step/31_35/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_6.in' temp_pbs = filesdir + 'temp_6.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
02dda9d71cdceea323cc189f06c4e34e849415aa
f0aa307e12bf7ea74c7bee23830f016aeaf45dd8
/tensor2tensor/data_generators/timeseries_test.py
9daabe80b1a68bdd9c361272296b30955bbae4de
[ "Apache-2.0" ]
permissive
ShahNewazKhan/tensor2tensor
d94aaa0eea23e20fe1e483d27890939a7243d3b9
ef91df0197d3f6bfd1a91181ea10e97d4d0e5393
refs/heads/master
2020-03-19T17:42:27.293415
2018-06-10T02:41:33
2018-06-10T02:41:33
136,773,457
0
0
null
2018-06-10T02:34:05
2018-06-10T02:34:05
null
UTF-8
Python
false
false
1,873
py
# coding=utf-8 # Copyright 2018 The Tensor2Tensor Authors. # # 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...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
a2169451d8f1b8e4c3a35108c6208337b798af78
cca3f6a0accb18760bb134558fea98bb87a74806
/abc175/F/main.py
a737fd1cdca034d435b425811277d4674b8061de
[]
no_license
Hashizu/atcoder_work
5ec48cc1147535f8b9d0f0455fd110536d9f27ea
cda1d9ac0fcd56697ee5db93d26602dd8ccee9df
refs/heads/master
2023-07-15T02:22:31.995451
2021-09-03T12:10:57
2021-09-03T12:10:57
382,987,918
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
#!/usr/bin/env python3 import sys def solve(N: int, S: "List[str]", C: "List[int]"): return # Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template) def main(): def iterate_tokens(): for li...
[ "athenenoctus@gmail.com" ]
athenenoctus@gmail.com
db042864a1223f46e3ce2426fa6200fe5f845b09
4910ef5677b0af1d5ee88dd422a1a65f8ad81413
/whyis/autonomic/global_change_service.py
2bbd467310b2daad084e27918b861e99a88b4ca3
[ "Apache-2.0" ]
permissive
mobilemadman2/whyis
a0d3b0d88873955d7f50471ecb928f6cdb47ffb1
009fdfefc0962dbf1dd629c47d763720c6f20ba0
refs/heads/master
2020-06-27T00:43:01.894275
2019-07-30T23:22:42
2019-07-30T23:22:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
from __future__ import print_function from builtins import str import sadi import rdflib import setlr from datetime import datetime from .service import Service from nanopub import Nanopublication from datastore import create_id import flask from flask import render_template from flask import render_template_string im...
[ "gordom6@rpi.edu" ]
gordom6@rpi.edu
1b30005c650309cac9e0140834da3c81572bba0f
e96deed00dd14a1f6d1ed7825991f12ea8c6a384
/093. Restore IP Addresses.py
3bbe1bad78b5fc89c3478ebae0c08eaec03f3737
[]
no_license
borisachen/leetcode
70b5c320abea8ddfa299b2e81f886cfeb39345c1
15e36b472a5067d17482dbd0d357336d31b35ff4
refs/heads/master
2021-01-19T17:07:46.726320
2020-11-16T04:30:52
2020-11-16T04:30:52
88,306,634
3
0
null
null
null
null
UTF-8
Python
false
false
2,485
py
93. Restore IP Addresses Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example: Given "25525511135", return ["255.255.11.135", "255.255.111.35"]. (Order does not matter) class Solution(object): def restoreIpAddresses(self, s): """ :type s: str ...
[ "boris.chen@gmail.com" ]
boris.chen@gmail.com
cf5eff96017123e59bba07e49d5d94addf5b3000
dd8363acd9a028d9b6432936d72e7a5344077c20
/plugins/modules/s3_logging.py
16561ce89703400d898a79597cd3ab3f8a659732
[]
no_license
gundalow-collections/amazon
5d437c41af5e3cfa73731c9cd2c08b66c7480b43
23c743b63f58ba97960479e230b462fb1c90cc95
refs/heads/master
2020-08-28T04:53:02.641829
2019-10-25T19:40:04
2019-10-25T19:40:04
217,595,855
0
1
null
null
null
null
UTF-8
Python
false
false
5,361
py
#!/usr/bin/python # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['stableinterf...
[ "brian.coca+git@gmail.com" ]
brian.coca+git@gmail.com
1dc1bf27b4946f2a8920cea5731c6958148fa159
a54d5a5ae5ba352963f1166a29e1bb6c867157ab
/python/divides_evenly.py
2b4eec4e705a704904ffcb8479439ddadd25217b
[]
no_license
alephist/edabit-coding-challenges
06f573e90ffbd13bc54ecbdaa8e6a225aa44f5d8
35f1fc84848fc44e184aae1ae231a36319c1c81e
refs/heads/main
2023-07-30T22:39:37.468756
2021-09-18T07:47:02
2021-09-18T07:47:02
341,467,751
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
""" Divides Evenly Given two integers, a and b, return True if a can be divided evenly by b. Return False otherwise. https://edabit.com/challenge/NRxWszQRw5JqSDmQS """ def divides_evenly(a: int, b: int) -> bool: return a % b == 0
[ "justin.necesito@gmail.com" ]
justin.necesito@gmail.com
ebdf44d0b8071754b1394cf7bba558ebb4b9144c
c69e2b05b709a030c6f35244986df889d544adbf
/slackbot_ce/code_em/patrick/slacklib.py
6770528924553d0a47a23fcf377fe93c8ed72d8b
[ "MIT" ]
permissive
wray/code_em
af325787d3f7a6dad68d28c72990c28e5baab4dd
1500141828e0db8f4e13b0507398a65c2e0642cd
refs/heads/master
2021-04-30T23:00:46.659505
2018-06-25T23:15:05
2018-06-25T23:15:05
68,224,253
1
3
null
null
null
null
UTF-8
Python
false
false
337
py
# Put your commands here COMMAND1 = "~~" # Your handling code goes in this function def handle_command(command): """ Determine if the command is valid. If so, take action and return a response, if necessary. """ response = "" if COMMAND1 in command: response = "Huh?" ...
[ "joe@techemstudios.com" ]
joe@techemstudios.com
7de3feab7305a15bf87af61ebc2b63f2601479a7
a111639e451d54e3284363e2ad2e3e328f711a94
/structural/bridge/free_web_page.py
6baede3f34d1508f259c2565d60a7eabee1044b3
[]
no_license
TheProrok29/design_patterns_in_python
33bc24c8853d3ffe13711b06ea11e8bbe4a5f391
a68930ca60c431f93be596b7e4440daf7f4bc319
refs/heads/master
2021-02-18T14:31:05.465004
2020-04-03T10:07:40
2020-04-03T10:07:40
245,205,958
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
from structural.bridge.web_page import WebPage class FreeWebPage(WebPage): def show_page(self): image = self.fetcher.get_image() snippet = self.fetcher.get_snippet() ads = self.fetcher.get_ads() full_version = self.fetcher.go_to_full_version() print(snippet) print(i...
[ "tomaszdbogacki@gmail.com" ]
tomaszdbogacki@gmail.com
276da94c564d9de0962c4d7f29d8230ac4925eb8
9aa85999021da96ce0a7d76789c1298d174d1835
/meet/migrations/0003_auto_20200128_1727.py
e4d4f1cf789a13902adda66a4e334e527bcc0455
[]
no_license
m0bi5/ISTE-NITK_Website
20b83a3a629836c33c7478c0af834f6f57e0e907
2e186bb1ba457c930f9b691cc5a5584b8e3c270c
refs/heads/master
2022-11-24T03:02:49.354491
2020-07-24T15:43:44
2020-07-24T15:43:44
184,452,941
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
# Generated by Django 2.2.4 on 2020-01-28 17:27 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('meet', '0002_auto_20200128_1714'), ] operations = [ migrations.AlterField( model_name='meet', name='...
[ "amodhshenoy@gmail.com" ]
amodhshenoy@gmail.com
3598c364d465f9de29b3133708e16f1b6e8a21f9
e1a2c6ed4a4b93b4697974e3b0a32a4d67daa6f6
/venv/Lib/site-packages/pybrain/structure/modules/samplelayer.py
a3096be9947029eb16c8a2d254b083c9143ce84e
[ "MIT" ]
permissive
ishatserka/MachineLearningAndDataAnalysisCoursera
cdf0f23a58617e17d6b938e3a9df17daae8585e4
e82e772df2f4aec162cb34ac6127df10d14a625a
refs/heads/master
2021-09-11T01:39:26.228392
2018-04-05T14:33:39
2018-04-05T14:33:39
117,153,454
0
0
MIT
2018-03-27T05:20:37
2018-01-11T21:05:33
Python
UTF-8
Python
false
false
577
py
#! /usr/bin/env python2.5 # -*- coding: utf-8 -*- __author__ = ('Christian Osendorfer, osendorf@in.tum.de; ' 'Justin S Bayer, bayerj@in.tum.de') from scipy import random from pybrain.structure.modules.neuronlayer import NeuronLayer class SampleLayer(NeuronLayer): ...
[ "shatserka@gmail.com" ]
shatserka@gmail.com
a6a7cf557aeeff0dfc96557ca96fa2ecf6f6a35d
a9c43c4b1a640841f1c9b13b63e39422c4fc47c2
/test/tests/set_more.py
3283c3eae471a229fed147eedfc564e625324313
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
lovejavaee/pyston
be5bd8393462be17259bcc40bf8f745e157d9793
e8f0d9667c35db043add2f07a0ea7d23e290dd80
refs/heads/master
2023-05-01T17:42:35.616499
2015-04-07T08:10:44
2015-04-07T08:10:44
33,535,295
0
0
NOASSERTION
2023-04-14T02:16:28
2015-04-07T09:53:36
Python
UTF-8
Python
false
false
225
py
# expected: fail print hasattr(set, "__ior__") print hasattr(set, "__isub__") print hasattr(set, "__iand__") print hasattr(set, "__ixor__") s1 = set() | set(range(3)) s2 = set(range(1, 5)) s3 = s1 s1 -= s2 print s1, s2, s3
[ "kmod@dropbox.com" ]
kmod@dropbox.com
4f16d28884277d1d267297d0bcd2663fcaf9a841
4c61666c08f3564459b2e9de65f1cef50ef7ce0a
/packages/vaex-server/vaex/server/service.py
1732c9555f41448c83fd571e7be1f3a913fcc7a7
[ "MIT" ]
permissive
nemochina2008/vaex
558b42e9b65455228eb95a3c96e66c9aff39a4d6
afdaea5568fd3b8f414ab6084d0bb53c5319b968
refs/heads/master
2022-05-20T16:39:14.959035
2020-04-13T06:30:47
2020-04-13T06:30:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,934
py
import concurrent.futures import logging import threading import vaex logger = logging.getLogger("vaex.server.service") class Service: def __init__(self, df_map): self.df_map = df_map def stop(self): pass def __getitem__(self, item): return self.df_map[item] def list(self...
[ "maartenbreddels@gmail.com" ]
maartenbreddels@gmail.com
d6cef3773f219850c2d45b864a285ebd437b6090
2e26bf9c44f349ee308e63e067d93da654daf69d
/python-scripts/scripts/10_find_files_recursively.py
7952c3841a6d2c43fc75392b73d25433959ad049
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
RelativeTech/PYTHON_PRAC
034e44484d63d50a9c4295aa7e1dc63ef786fb37
7fa145dece99089706460466a89901e00eef9d28
refs/heads/master
2023-06-04T18:59:45.059403
2021-06-07T19:40:10
2021-06-07T19:40:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,916
py
import fnmatch import os # constants PATH = './' PATTERN = '*.md' def get_file_names(filepath, pattern): matches = [] if os.path.exists(filepath): for root, dirnames, filenames in os.walk(filepath): for filename in fnmatch.filter(filenames, pattern): # matches.append(os.pa...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
91d11f83078c6f58b08135d0c5f716c6a00ddffd
5bf88a21ad382f75ee94cf98a481df162d519304
/functional_testing/tutorial/tests.py
f372351b7f8ebf180bda99ed038156fe8c3ca1e8
[]
no_license
VladyslavHnatchenko/pyramid_projects
43dd3181599c822109f0f5e39f05c7393c721f7c
2a727a7799845231f4ba61a8129d710938880f46
refs/heads/master
2022-06-10T22:41:01.483199
2020-05-08T05:44:10
2020-05-08T05:44:10
261,702,275
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
import unittest from pyramid import testing class TutorialViewTests(unittest.TestCase): def setUp(self): self.config = testing.setUp() def tearDown(self): testing.tearDown() def test_hello_world(self): from tutorial import hello_world request = testing.DummyRequest() ...
[ "hnatchenko.vladyslav@gmail.com" ]
hnatchenko.vladyslav@gmail.com
c284d3231f39051b27c7db6e856ea8c8fa9de65a
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/b946e078bb904b47bf67863586198872.py
8a22ddab6ef5cc2e22d14498cd235ee04d34eb67
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
661
py
# -*- coding: utf-8 -*- import re """ Bob answers 'Sure.' if you ask him a question. He answers 'Woah, chill out!' if you yell at him. He says 'Fine. Be that way!' if you address him without actually saying anything. He answers 'Whatever.' to anything else. """ def hey(text): # Remove whitespace and check if ...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
a07065dd91263b9df6c81b2273dd18dce7104ca2
a86e5de1a4a732172e4447d54fb96f62471fa450
/internet/getfilegui_ftp.py
308b819986ee148ae282c24d08b9f7ae287509c6
[]
no_license
flwwsg/learnpy
14c769ee5b59e62a9cd02095f00541ad5393517d
915d71fbb53927f7063dd344f327f95cc0b25322
refs/heads/master
2020-06-30T23:34:19.134225
2017-01-18T13:43:54
2017-01-18T13:43:54
74,344,425
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
#!/usr/bin/env python3 from tkinter import Tk, mainloop from tkinter.messagebox import showinfo import getfile_ftp, os, sys, _thread from form import Form class FtpForm(Form): def __init__(self): root = Tk() root.title(self.title) labels = ['Server Name', 'Remote Dir', 'File Name', 'Local Dir',...
[ "2319406132@qq.com" ]
2319406132@qq.com
963865d264c997cda532d2ed72b29f073ba51061
3ffeeae8a9a3245d8998d94aa08f680f00056cad
/226.翻转二叉树.py
c06af9247a396860bcc143a341de6a944f56d89f
[]
no_license
Ezi4Zy/leetcode
6e293e5c07a7d8c3e38f9445ff24330134ef6c48
9d394cd2862703cfb7a7b505b35deda7450a692e
refs/heads/master
2022-04-09T14:11:36.957861
2022-03-09T10:30:30
2022-03-09T10:30:30
57,290,918
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
# # @lc app=leetcode.cn id=226 lang=python # # [226] 翻转二叉树 # # @lc code=start # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def invertTree(self, root): """ ...
[ "Ezi4zy@163.com" ]
Ezi4zy@163.com
85451990d7639637c9028004b7716a90604a4d5e
41d1e085dc3ec6c329b8d6443035e1e8a1c93bcc
/gridded/tests/test_ugrid/test_grid_manipulation.py
61772aa3fa37c4e63d59b1f2e94ce2ec0254dcef
[ "Unlicense" ]
permissive
Ocean1125/gridded
9252d3d89ecacc55c59a0ecf6fd60fe6ac0afd6e
90cca5edf4c8d9a47914c2b6d6f78180d9c280a5
refs/heads/master
2023-05-15T13:21:34.144583
2021-06-03T21:50:01
2021-06-03T21:50:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,111
py
#!/usr/bin/env python """ Testing of various utilities to manipulate the grid. """ from __future__ import (absolute_import, division, print_function) import numpy as np import pytest from .utilities import two_triangles, twenty_one_triangles def test_build_face_face_connectivity_small(two_triangles): ugrid ...
[ "Chris.Barker@noaa.gov" ]
Chris.Barker@noaa.gov
14eb64cd3a3bd8cedfcded8bc29dfff5f452c7c8
b59372692c912ba17ec2e6812983663a6deccdaf
/.history/bsServer/models_20200502170425.py
683a93190755a6adc35736cedb98242f994d2e94
[]
no_license
nanjigirl/bs-server-project
2d7c240ddf21983ed0439829a7995bde94082467
7863aed279b233d359c540c71fdd08ce8633976b
refs/heads/master
2022-08-02T17:33:48.201967
2020-05-25T15:18:34
2020-05-25T15:18:34
261,204,713
0
1
null
null
null
null
UTF-8
Python
false
false
376
py
from django.db import models # Create your models here. #创建模型类 class User(models.Model): id = models.AutoField(primary_key = True) #该字段可不写,它会自动补全 name = models.CharField(max_length = 30) age = models.IntegerField() sex = models.CharField(max_length = 2) def _str_(self): return "<User:{id=%s,name=%s,age...
[ "chenxueb@yonyou.com" ]
chenxueb@yonyou.com
4eee6f4fb6f52da831716c694e832f567a110bd2
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/1481.py
60894a78cec6553a3757bede617c8af1cbf45e05
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
f = open('/home/cse/btech/cs1130260/workfile.txt') sumit = open("/home/cse/btech/cs1130260/output.txt","w") a = int(f.readline()) x = 1 while (a > 0): firstanswer = int(f.readline()) firstrow1 = f.readline() firstrow2 = f.readline() firstrow3 = f.readline() firstrow4 = f.readline() secondanswer ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
4f98552f0e559f617ec311f4d3261eceae59e4d2
dfcbc3d04adda5925ff36f0708173cb7baa10e7e
/leetcode/145.py
9993c2e7a9a0e8d47052b9fd01540bec850fad61
[]
no_license
yanggelinux/algorithm-data-structure
66a6fe9acdcacce226b9dbb85e6236776e7206e9
3b13b36f37eb364410b3b5b4f10a1808d8b1111e
refs/heads/master
2021-07-25T14:14:18.521174
2020-09-04T08:20:24
2020-09-04T08:20:24
215,970,108
0
0
null
null
null
null
UTF-8
Python
false
false
2,642
py
# -*- coding: utf8 -*- """ 给定一个二叉树,返回它的 后序 遍历。 示例: 输入: [1,null,2,3] 1 \ 2 / 3 输出: [3,2,1] 进阶: 递归算法很简单,你可以通过迭代算法完成吗? 后序遍历:对于树中的任意节点来说,先打印它的左子树,然后再打印它的右子树,最后打印它本身。 """ # Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left =...
[ "yangyang@ishansong.com" ]
yangyang@ishansong.com
c75cb1f819a7c2b1caff1b2ab17f1b923f229602
a2812fad2ff72d4769d136a4a79c320749bffe72
/jesusanaya_blog/providers/blog_post.py
99b6551e5d10f12053d069a0f7159931da5f8821
[]
no_license
JesusAnaya/jesusanaya_blog
7976ab2c3b1edc773d5c2e04674f865464033566
fecc91c479caf8e7c0514fcdb85bcb9ad34f1308
refs/heads/master
2021-05-04T10:02:20.308204
2016-10-14T09:03:44
2016-10-14T09:03:44
51,033,152
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
from jesusanaya_blog.services.storage import StorageService from .base import Provider class BlogPostProvider(Provider): def __init__(self, dbsession, settings): super(BlogPostProvider, self).__init__(dbsession, settings) self.storage = StorageService(settings) def create(self, post_data): ...
[ "jesus.anaya.dev@gmail.com" ]
jesus.anaya.dev@gmail.com
fc6c2a31ee7db5f9532e1462ad34bd6736bc43dc
08cef372f61ba96b05e88a44a8528ac506633c51
/Pantera/Tools/BLAST/__init__.py
90ac553468320b5640596f8eea68f82f81856a4f
[]
no_license
xubeisi/Pantera
322603575db54ff5e63c2fa3b4ef6b6c80376940
b1315bbf8362ae514971b86824a144ef6b696d71
refs/heads/master
2021-06-22T21:58:43.048214
2017-08-27T23:23:29
2017-08-27T23:23:29
105,809,057
1
0
null
2017-10-04T19:25:27
2017-10-04T19:25:27
null
UTF-8
Python
false
false
297
py
__author__ = 'mahajrod' from Pantera.Tools.BLAST.BLAST import * from Pantera.Tools.BLAST.BLASTPlus import * BLAST = BLAST() BLASTn = BLASTn() BLASTp = BLASTp() BLASTPlus = BLASTPlus() DustMasker = DustMasker() BLASTDbCmd = BLASTDbCmd() MakeBLASTDb = MakeBLASTDb() Windowmasker = Windowmasker()
[ "mahajrod@gmail.com" ]
mahajrod@gmail.com
06978625b54d51d9560dc5732e5211749a1fa1fd
d1c67f2031d657902acef4411877d75b992eab91
/test/test_drip_stat_integration.py
d8752d86bfdd76e55e14d2fec9e4dfbf4bd27a58
[]
no_license
Certn/opsgenie-python
c6e6a7f42394499e5224d679cc9a449042fcf9c3
bd5f402f97d591e4082b38c938cbabca4cf29787
refs/heads/master
2023-01-01T10:45:13.132455
2020-10-27T17:40:01
2020-10-27T17:40:01
307,769,432
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
# coding: utf-8 """ Opsgenie REST API Opsgenie OpenAPI Specification # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.models.drip_sta...
[ "john@oram.ca" ]
john@oram.ca
78476fd94dbd2f8efaad66cfcdfdc067311dd1c7
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20200212/example_monogusa2/01fake_stream.py
2dabee38e314697abf9b966624a9316bbb5a7e37
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
1,017
py
import logging from monogusa.events import EventParser, subscription from monogusa.events import Message logger = logging.getLogger(__name__) @subscription.subscribe(Message) def echo(ev: Message) -> None: print("!", ev.content) def read(): import typing as t import sys import os import io ...
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
43c1a434653a699d34d6d91683a508e50c615182
aa3b7c6a81a323d2e17a1be7cb7ce90a20d6099a
/cproject/donation_form/api.py
48cec882a58d24ee8f22fe9be7e58654cc1de176
[]
no_license
gadia-aayush/sample
fdf00a4a890af6e4380b133cc64d7df89c1defff
145b83206f9fb0972d19bef9229da0c1bf0aede0
refs/heads/master
2022-12-22T16:54:50.228277
2020-08-18T20:26:05
2020-08-18T20:26:05
288,516,734
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
from donation_form.models import Donationreqs from rest_framework import viewsets,permissions from .serializers import DonationRquestsSerializers #Donation_Request Viewset class DonationRequestViewSet(viewsets.ModelViewSet): queryset = Donationreqs.objects.all() permission_classes = [ permissions.Allow...
[ "gadia.aayush@gmail.com" ]
gadia.aayush@gmail.com
0de1d75746071df0018fe7e5eb5ddb319207be71
11cd15da4be0eba77aee8edc64dbfcacd9f418c4
/probleme22.py
8fb7376bcba8d81369815d8f8a79c41b63d82ee5
[]
no_license
mines-nancy-tcss5ac-2018/td1-YonasHassnaoui
1bdc1af9872a6faacda5ba0479f8eafddc0ba8ee
96c3e030fe1345429dd6d17af50e19d8f6383ea4
refs/heads/master
2020-03-30T23:38:42.027520
2018-10-05T11:00:08
2018-10-05T11:00:08
151,707,853
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
def alphabet(lettre): res=0 al=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'] for i in range(len(al)): if al[i]==lettre: res=i+1 return res fichier=open('p022_names.txt','r') for i in fichier: print(i) p=i...
[ "noreply@github.com" ]
mines-nancy-tcss5ac-2018.noreply@github.com
32e84c96e90c012be5b6f4123a13f29014248c3a
051c3ee44478265c4510530888335335ec9f7fdf
/ML_Applications/SVM/Mutants/code/SVM_rbf/DigitRecognitionApp_8.py
3932c672a9a2b7163e2eba4970f01104b676b8ec
[]
no_license
PinjiaHe/VerifyML
b581c016012c62d8439adfce0caef4f098b36d5e
3bd7c49e45720c1cdfe0af4ac7dd35b201056e65
refs/heads/master
2020-03-25T19:40:39.996370
2018-01-30T08:58:58
2018-01-30T08:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,163
py
""" Created on Fri May 26 15:20:01 2017 #Digit Recognition for V & V #Following note added by RR Note: 1. The actual digits data from the http://archive.ics.uci.edu/ml/datasets/Pen-Based+Recognition+of+Handwritten+Digits is different than the one referred in this sklearn example 2. For more info, refer this link htt...
[ "anurag.bms@gmail.com" ]
anurag.bms@gmail.com
d620033debfba7430ebb3d0748e29d104a5f7713
764696896b3a0595f83dc7d108d79d23700d4573
/pytest_relaxed/trap.py
8f6baba442e4e1b42c6d3515273cda866a17ba12
[ "BSD-2-Clause" ]
permissive
bitprophet/pytest-relaxed
57f35b65c54f0ac86032050ac4f841772c755d1a
5c18490316cbeebe9a4650a26218c10740950d8a
refs/heads/main
2023-05-27T05:45:06.488119
2023-05-23T14:53:28
2023-05-23T14:53:28
87,468,490
31
9
BSD-2-Clause
2022-12-31T22:25:32
2017-04-06T19:45:24
Python
UTF-8
Python
false
false
2,260
py
""" Test decorator for capturing stdout/stderr/both. Based on original code from Fabric 1.x, specifically: * fabric/tests/utils.py * as of Git SHA 62abc4e17aab0124bf41f9c5f9c4bc86cc7d9412 Though modifications have been made since. """ import io import sys from functools import wraps class CarbonCopy(io.BytesIO): ...
[ "jeff@bitprophet.org" ]
jeff@bitprophet.org
b38c5460f365eaedac5a460595d58f26f950814c
f0d521aad290086063c8928ebc064e021d63aa0c
/mlib/Mobigen/Common/Log/__init__.py
af22ed78642e24c02c685db408f255d5baa5012f
[]
no_license
mobigen/MSF_V2
9817cc97c2598c3f69b1192d4b186c3bc1761932
8a32adc3969d77455464a07523ced68564eb10af
refs/heads/master
2023-04-27T20:14:16.020536
2022-02-18T08:17:10
2022-02-18T08:17:10
134,684,685
3
2
null
2023-04-18T22:47:33
2018-05-24T08:24:01
Roff
UHC
Python
false
false
2,938
py
# -*- coding: cp949 -*- import sys import types from traceback import * from DummyLog import CDummyLog from StandardLog import CStandardLog from StandardErrorLog import CStandardErrorLog from RotatingLog import CRotatingLog from PipeLog import CPipeLog from UDPLog import CUDPLog __VERSION__ = "Release ...
[ "cheerupdi@gmail.com" ]
cheerupdi@gmail.com
926854e5ba9d587446f3978075fb9e0f6484759c
9633fb1796269d049aad814efc46ac1545c3b88d
/tetris.py
239dce1c1bc3fe5fd9d561ba450374c4861dac61
[]
no_license
Ajax12345/pygame
90fea131736c87778965a11f4b8ed1fcce729576
0bfe055d3a1e3e16c5a1bed01b41044dd0671746
refs/heads/master
2021-01-21T08:24:07.355205
2017-12-04T14:06:57
2017-12-04T14:06:57
91,626,454
0
0
null
null
null
null
UTF-8
Python
false
false
6,984
py
import pygame import random import collections import time import sys converter = {"tercoise":(0,238,238), 'yellow':(255,215,0), 'purple':(191,62,255), 'green':(127,255,0), 'red':(255,0,0), 'blue':(0, 0, 255), 'brown':(255,127,36)} class Block(pygame.sprite.Sprite): def __init__(self, x, y, color): pygame....
[ "noreply@github.com" ]
Ajax12345.noreply@github.com
e7bbafa17d265718d8a42bc0251991aeb3da2de2
4fe1dc7170d2d44e2c9988c71b08f66d469ee4b8
/Unit7/ej7.28.py
f48af0397e694f0f8fdcb886a9e279d206aa6a27
[]
no_license
ftorresi/PythonLearning
53c0689a6f3e7e219a6314a673a318b25cda82d1
f2aeb5f81d9090a5a5aa69a8d1203688e9f01adf
refs/heads/master
2023-01-12T00:40:05.806774
2020-11-13T14:33:08
2020-11-13T14:33:08
267,460,517
0
0
null
null
null
null
UTF-8
Python
false
false
3,227
py
### Polynomials #import numpy class Polynomial: def __init__(self, coefficients): self.coeff = coefficients def __call__(self, x): """Evaluate the polynomial.""" return sum(self.coeff[power]*x**power for power in self.coeff) def __add__(self, other): """Return ...
[ "noreply@github.com" ]
ftorresi.noreply@github.com
7cda5cdd83a59146eb5c1d6c5eb8be5261114aaf
c4e05230949efbd1ef858839850520ee94a87a58
/musicbingo/gui/dialogbase.py
0fb81331348d5a628a6d5e765f7eb7ed4df5e60c
[]
no_license
asrashley/music-bingo
bd33b883da9b6f88df506860475861daea63c6fb
f49d26900a10593a6f993b82d8d782b2e7367f84
refs/heads/main
2023-07-20T11:15:47.696132
2023-06-29T09:59:51
2023-07-05T16:48:41
125,717,777
1
1
null
2023-08-28T17:28:04
2018-03-18T11:26:17
Python
UTF-8
Python
false
false
3,461
py
""" A base class for creating dialog boxes This class is based upon the code from: http://effbot.org/tkinterbook/tkinter-dialog-windows.htm """ from abc import ABC, abstractmethod from typing import Any, Optional, Protocol, Union import tkinter as tk # pylint: disable=import-error from .panel import Panel class Fo...
[ "alex@ashley-family.net" ]
alex@ashley-family.net
94806089d8e2bf6b6faa81a9841e2b0dfc88baf2
cbedb18df0aaac810aeea87a2273edb15c1cf899
/mixed bag/day9-10/394. Decode String (straight sol, but not easy to write).py
cb739c9f859f998c3e95e8efa8d9fe182117b893
[]
no_license
kanglicheng/CodeBreakersCode
71b833bb9f4c96d520c26f0044365dc62137a940
31f7f730227a0e10951e7468bad1b995cf2eafcb
refs/heads/master
2023-08-07T20:32:05.267695
2020-09-14T14:36:25
2020-09-14T14:36:25
265,978,034
0
0
null
2020-05-22T00:05:29
2020-05-22T00:05:29
null
UTF-8
Python
false
false
1,326
py
class Solution: def decodeString(self, s: str) -> str: def rec(s, l, r, pair): res = "" i = l num = 0 while i < r: curChar = s[i] if curChar.isnumeric(): j = i ...
[ "56766457+Wei-LiHuang@users.noreply.github.com" ]
56766457+Wei-LiHuang@users.noreply.github.com
92595caed1dd7131190d5a6ceabcea4944d68c2e
b4c6013f346e178222cc579ede4da019c7f8c221
/src/main/python/idlelib/paragraph.py
f11bdaeb77ac38beb420366597c89ff90ac062fe
[ "BSD-3-Clause", "OpenSSL", "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain", "GPL-1.0-or-later", "LicenseRef-scancode-unicode" ]
permissive
cafebabepy/cafebabepy
e69248c4f3d9bab00e93ee749d273bc2c9244f8d
4ab0e67b8cd79f2ca7cab6281bc811d3b9bc69c1
refs/heads/develop
2022-12-09T21:14:56.651792
2019-07-01T09:05:23
2019-07-01T09:05:23
90,854,936
9
1
BSD-3-Clause
2018-01-02T02:13:51
2017-05-10T11:05:11
Java
UTF-8
Python
false
false
7,277
py
"""Extension to format a paragraph or selection to a max width. Does basic, standard text formatting, and also understands Python comment blocks. Thus, for editing Python source code, this extension is really only suitable for reformatting these comment blocks or triple-quoted strings. Known problems with comment ref...
[ "zh1bvtan1@gmail.com" ]
zh1bvtan1@gmail.com
312dd6aaf8ba2a988707f09b3851cb85fa7bc812
2387cd7657d82b3102e7f8361496307c5f49a534
/设计模式/python/singleton.py
b0ed87bf24fba431ef90934fc234f64cfcf4ba84
[]
no_license
kelele67/ReadBooks
da36b25b01d008b2732ad4673e6b676ac7f25027
1cf5fc42e1a9edc32971fbcadb64b4b7a84481ad
refs/heads/master
2021-01-19T14:48:56.932194
2017-10-16T10:11:35
2017-10-16T10:11:35
100,925,474
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
# import threading # class Singleton(object): # """Singleton""" # instance = None # lock = threading.RLock() # @classmethod # def __new__(cls): # if cls.instance is None: # cls.lock.acquire() # if cls.instance is None: # cls.instance = super(Singleto...
[ "kingand67@outlook.com" ]
kingand67@outlook.com
06c38aa52a024c092191fe02628c564ccab24845
e92a3d0fb77120be99de6040cb6cd34eda0a95f4
/Ветки в Git, словари, кортежи и множества/code/delete_all-words.py
0f30acdcfd066b2f9022bb81ba363d691eac67d1
[]
no_license
Python18Academy/python_first_level
495f85631f5afc737aa156ef8ca0ea307340c322
9ce490da3108474b135a17086f4d11f2a3bbbe55
refs/heads/master
2023-09-04T17:00:36.920987
2021-03-31T18:44:37
2021-03-31T18:44:37
331,934,029
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
# я знаю что вы люите подобные списки spisok = ['skovorodka', 'stolick', 'istoria', 'skovorodka', 'stena', 'kartina'] while 'skovorodka' in spisok: spisok.remove('skovorodka') print(spisok) # выведет только обрезанный список
[ "isakura313@gmail.com" ]
isakura313@gmail.com
6b5e7cbb93508bf3bf78ec609a82b00d5bd0e6c9
742f1c8301264d4f06fc1d389157613c57614b7f
/web_test/web.py
3d455f2d3970d34edb9732ad9174c6b8a2f4bab2
[ "MIT" ]
permissive
DieMyDarling/python-web-test
93fe9be2fb372545346621a0a6bd5b3961eb9af4
31a2beb82c8ad50df481a7ce0541813a2088a2b6
refs/heads/master
2022-11-23T10:34:44.072430
2020-07-30T18:12:46
2020-07-30T18:12:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,803
py
from web_test.pages.duckduckgo import Duckduckgo from web_test.pages.ecosia import Ecosia from web_test.pages.github import Github from web_test.pages.google import Google """ This module is optional. Usually it makes sense to call it `app.py`, but in the context of this template project, our app is "all web", and t...
[ "yashaka@gmail.com" ]
yashaka@gmail.com
5e71698c0e44077c937447562f247b876aac103f
625a3b84b86df1b0a61a7088373094e481b7502e
/simple_shop/wsgi.py
8e65b23f6d90e12dc890866495e35847af8f8601
[]
no_license
muremwa/simple-shop-api
868dc4747fbdb0e6b3eca18969c373c2dd056b4f
ab96e04030de4f2833a4ede8834c4bce393e4528
refs/heads/master
2022-05-09T23:43:28.587469
2020-04-16T04:57:03
2020-04-16T04:57:03
256,277,383
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for simple_shop 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...
[ "danmburu254@gmail.com" ]
danmburu254@gmail.com
5218e4c00c5dad5ac8b32aa30d93dff669c14ca5
ee1bd2a5c88989a43fee1d9b3c85c08d66392502
/intro_to_statistics/class15_probability.py
002c1a3723c3ee75f9b05865185001170828f69a
[]
no_license
shasky2014/PythonLearning
46288bd915466110ee14b5ee3c390ae9b4f67922
04c06d06a2c3f1c4e651627fd6b224f55205c06f
refs/heads/master
2021-06-27T13:14:10.730525
2020-10-09T07:54:31
2020-10-09T07:54:31
252,903,485
1
0
null
null
null
null
UTF-8
Python
false
false
3,176
py
# Relative Probabilities 1 # Let's suppose we have a fair coin and we flipped it four times. # p1= 4*0.5*0.5*0.5*0.5 # p2= 0.5 # # print p1/p2 # FlipPredictor # A coin is drawn at random from a bag of coins of varying probabilities # Each coin has the same chance of being drawn # Your class FlipPredictor will be initi...
[ "249398363@qq.com" ]
249398363@qq.com
d584073eb7a7fc0392f9fc00e0573e29debd20dd
66c6df450753acc7c41db5afe66abd35d5018c8c
/cliente Rujel/bin92.py
76d7a6fac53865a674f5e3fd250b034be7f8ee9a
[]
no_license
hanmiton/CodigoCompletoEncriptacion
a33807d9470b538842751071031c9ce60951260f
efb7898af5d39025e98c82f1f71c8e9633cce186
refs/heads/master
2020-03-24T02:03:08.242655
2018-07-25T22:41:05
2018-07-25T22:41:05
142,360,817
0
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
import sys import math import random import openpyxl import xlsxwriter from time import time LAMBDA = 16 #security parameter N = LAMBDA P = LAMBDA ** 2 Q = LAMBDA ** 5 def principal(m1,m2): numsA = [] numsB = [] aux = [] numsAEncrypt = [] numsBEncrypt = [] keys= [] doc = openpyxl.load_workbook('cifrado.xlsx...
[ "hanmilton_12@outlook.com" ]
hanmilton_12@outlook.com
0df51dc4002580c130c48d9c16bdcd453f42d795
3665e5e6946fd825bb03b3bcb79be96262ab6d68
/jc/parsers/route.py
668ea3545e3157b06975c36ee8c9bd699778ec9a
[ "MIT", "BSD-3-Clause" ]
permissive
philippeitis/jc
a28b84cff7fb2852a374a7f0f41151b103288f26
d96b3a65a98bc135d21d4feafc0a43317b5a11fa
refs/heads/master
2021-02-16T05:03:03.022601
2020-03-04T16:30:52
2020-03-04T16:30:52
244,969,097
0
0
MIT
2020-03-08T21:10:36
2020-03-04T18:01:38
null
UTF-8
Python
false
false
4,085
py
"""jc - JSON CLI output utility route Parser Usage: specify --route as the first argument if the piped input is coming from route Compatibility: 'linux' Examples: $ route -ee | jc --route -p [ { "destination": "default", "gateway": "gateway", "genmask": "0.0.0.0", ...
[ "kellyjonbrazil@gmail.com" ]
kellyjonbrazil@gmail.com
7e3ced9ace84a2042505115765dc9b9879f9ec7e
55b4fe0a6616b30c128b51a9918605050ce49f6d
/migrate_reverb
2a0df049882f7873eb0353b8db62d960747cadec
[]
no_license
samhaug/ScS_reverb_setup
783a4fb7c942a598f18dc6c9e3544aa5e2bbcafe
05e96b9f871d25a1e7b5e9284083167993f56cec
refs/heads/master
2021-01-12T03:35:45.657459
2017-06-24T17:24:07
2017-06-24T17:24:07
78,234,557
0
0
null
null
null
null
UTF-8
Python
false
false
3,844
#!/home/samhaug/anaconda2/bin/python ''' ============================================================================== File Name : migrate_reverb.py Purpose : Perform a migration to detect reflection coefficients of mid mantle discontinuities. Must have access to a lookup table, waveform glossary, ...
[ "samhaug@umich.edu" ]
samhaug@umich.edu
5c5a167f3d78f3d568304c19afe7a914241562ad
9597cb1a23e082cf8950408e7fce72a8beff6177
/src/pipeline.py
4cb6a56808ebe9440a34c8c428a9f6d11039dcfd
[]
no_license
xiaomi388/sydw_wsl
5653c981b3720c6fd496b5a12966bb9cee604878
459bbeadb288b4fb65e5d816b19b749bd447df4c
refs/heads/master
2021-03-24T12:29:22.643163
2017-10-04T15:00:33
2017-10-04T15:00:33
105,512,112
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
import os import csv class reportPipeline(object): def __init__(self, parameters): flag = os.path.exists('output.csv') self.outfile = open('output.csv', 'a') self.outcsv = csv.writer(self.outfile) if not flag: self.outcsv.writerow(parameters) def save(self, arguments...
[ "xiaomi388@gmail.com" ]
xiaomi388@gmail.com
247fe433152dd7d1247fc2bfb4b7d841a962c1cc
e6ead9c9489c1b97fb63dabb60e8083a76fe7e76
/program/sandboxv2/server/tcp/components/send.py
bfc4e94cf1b48c7e407623d63777ac08d7d9f29a
[]
no_license
montarion/morsecode
a313471c2ccd40c62fa7249897ff58407c1bb03d
eed29720c1bb6ade102d8e8a39b4b1b188737681
refs/heads/master
2021-04-30T11:45:30.576645
2018-02-12T15:13:12
2018-02-12T15:13:12
121,256,680
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from socket import * from time import sleep class send: def __init__(self, ip): self.ss = socket(AF_INET, SOCK_STREAM) self.ss.connect(((ip), 13334)) def send(self, code): print('ready to send') self.ss.send(code.encode()) print('sent') self.ss.close()
[ "jamirograntsaan@gmail.com" ]
jamirograntsaan@gmail.com
e4de52a01a45251293a26a1950fbbfb56fc8bd34
f571590e3c1787d183e00b81c408362e65671f76
/namestring.py
0e6c17addc2a6ac9c5fbce45bc29ba1924217a11
[]
no_license
neymarthan/project1
0b3d108dd8eb4b6fa5093525d469d978faf88b88
5e07f9dff181bb310f3ce2c7818a8c6787d4b116
refs/heads/master
2022-12-26T08:44:53.464398
2020-10-06T09:14:29
2020-10-06T09:14:29
279,528,778
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
filename=input('Enter the filename: ') if filename.endswith('.txt'): print('That is the name of text file.') elif filename.endswith('.py'): print('That is the name of a Python source file.') elif filename.endswith('.doc'): print('That is the name of word processing document.') else: print('Unknown file...
[ "INE-02@Admins-iMac-5.local" ]
INE-02@Admins-iMac-5.local
267efccef26c76fef97df4a0bb5bda3924f48090
af47797c9518e12a00a8de5a379d5fa27f579c40
/newbeercellar/login.py
e483db50fe8883ead45c750312921ea650f795fe
[ "MIT" ]
permissive
atlefren/newbeercellar
29526154e74b4c613061c01eb59815e08cf03f1b
fcf5a174f45a3d21ce9613b88977a88d9bae4aa5
refs/heads/master
2021-01-20T08:47:03.976431
2015-04-26T16:14:42
2015-04-26T16:14:42
29,885,741
3
0
null
null
null
null
UTF-8
Python
false
false
1,490
py
from flask import current_app, redirect, url_for, session from flask.ext.login import login_user, logout_user from flask_googlelogin import USERINFO_EMAIL_SCOPE from newbeercellar import login_manager, app, googlelogin from models import User from util import get_or_create_default_cellar @app.route("/login") def log...
[ "atle@frenviksveen.net" ]
atle@frenviksveen.net
cfc8baabe5fbc4634ddd6a8cb4267db77e24b358
000a4b227d970cdc6c8db192f4437698cb782721
/python/helpers/typeshed/stubs/passlib/passlib/ifc.pyi
80467bfea35e5977019150a5275c3534e3f1145c
[ "Apache-2.0", "MIT" ]
permissive
trinhanhngoc/intellij-community
2eb2f66a2a3a9456e7a0c5e7be1eaba03c38815d
1d4a962cfda308a73e0a7ef75186aaa4b15d1e17
refs/heads/master
2022-11-03T21:50:47.859675
2022-10-19T16:39:57
2022-10-19T23:25:35
205,765,945
1
0
Apache-2.0
2019-09-02T02:55:15
2019-09-02T02:55:15
null
UTF-8
Python
false
false
1,061
pyi
import abc from abc import abstractmethod from typing import Any class PasswordHash(metaclass=abc.ABCMeta): is_disabled: bool truncate_size: Any truncate_error: bool truncate_verify_reject: bool @classmethod @abstractmethod def hash(cls, secret, **setting_and_context_kwds): ... @classme...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
7a6660a4ebd2a02738361cb692acd4b4451abde7
4fc86f5c444f52619f9f748c9bad5bf3e0e2c0b2
/megatron/data/test/test_indexed_dataset.py
78622d275de5b38bbe02b1c1827d34036aff0eb1
[ "MIT", "Apache-2.0" ]
permissive
Xianchao-Wu/megatron2
95ea620b74c66e51f9e31075b1df6bb1b761678b
f793c37223b32051cb61d3b1d5661dddd57634bf
refs/heads/main
2023-08-17T03:42:31.602515
2021-09-24T05:12:00
2021-09-24T05:12:00
330,527,561
2
0
null
null
null
null
UTF-8
Python
false
false
5,739
py
# This file isn't really a formal automated test, it's just a place to # put some code used during development and manual testing of # indexed_dataset. import os import sys script_dir = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(script_dir, "../../../")) from megatron.data import indexed...
[ "wuxianchao@gmail.com" ]
wuxianchao@gmail.com
ee0b17ad5ca05895993677298cc9cc9d610b1be4
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-4/586613e9c4dd65b64bfcffb16c008562f967ba42-<test_cdist_calling_conventions>-bug.py
98025efd20cb767648c554c73b6b99fa2470e902
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
def test_cdist_calling_conventions(self): for eo_name in self.rnd_eo_names: X1 = eo[eo_name][:, ::(- 1)] X2 = eo[eo_name][:(- 3):2] for metric in _metrics: if (verbose > 2): print('testing: ', metric, ' with: ', eo_name) if ((metric == 'yule') and ('bo...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
4222606e1a7a16d3a76ac4e443a33e885993f6a7
915496215d4c4ae4c952dc1839e73d112dab0460
/manage/fabriccloud/vagrant.py
3fa1f48de523f43f2eed7851619dd4db94fc96c7
[]
no_license
nicholsn/simple-application-framework
4afa6f71af68968e45364fd0691c54be9acf0f71
a62f332bdebc9fff31ad58bdcb68cff990bdc663
refs/heads/master
2021-01-18T01:20:40.474399
2014-03-18T20:41:53
2014-03-18T20:41:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
__author__ = 'stonerri' from base import * def setDefaults(): env.user = 'vagrant' env.hosts = ['127.0.0.1'] env.port = 2200 # use vagrant ssh key result = local('vagrant ssh-config | grep IdentityFile', capture=True) env.key_filename = result.split()[1] def systemInformation(): pass...
[ "stonerri@gmail.com" ]
stonerri@gmail.com
d2c84c2cfac6a26d53336cc831694263d2a11349
159aed4755e47623d0aa7b652e178296be5c9604
/data/scripts/templates/object/draft_schematic/munition/component/shared_enhanced_charge_composition.py
eebfa2798168c09b5f44a3fe87ea1a262e586d88
[ "MIT" ]
permissive
anhstudios/swganh
fb67d42776864b1371e95f769f6864d0784061a3
41c519f6cdef5a1c68b369e760781652ece7fec9
refs/heads/develop
2020-12-24T16:15:31.813207
2016-03-08T03:54:32
2016-03-08T03:54:32
1,380,891
33
44
null
2016-03-08T03:54:32
2011-02-18T02:32:45
Python
UTF-8
Python
false
false
475
py
#### NOTICE: THIS FILE IS AUTOGENERATED #### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY #### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES from swgpy.object import * def create(kernel): result = Intangible() result.template = "object/draft_schematic/munition/component/shared_enhanced_charge_composition.iff" ...
[ "rwl3564@rit.edu" ]
rwl3564@rit.edu
ef2f8af259d7490fa0b6e5f825bd56b216c07e92
597b82737635e845fd5360e191f323669af1b2ae
/08_full_django/login_registration_2/login_registration_2/wsgi.py
663215d1fbccb9d37f487ac45f6c023f09112572
[]
no_license
twknab/learning-python
1bd10497fbbe181a26f2070c147cb2fed6955178
75b76b2a607439aa2d8db675738adf8d3b8644df
refs/heads/master
2021-08-08T08:50:04.337490
2017-11-10T00:28:45
2017-11-10T00:28:45
89,213,845
0
1
null
null
null
null
UTF-8
Python
false
false
416
py
""" WSGI config for login_registration 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/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("...
[ "natureminded@users.noreply.github.com" ]
natureminded@users.noreply.github.com
1abac6f5607e39fabc23ddc8411528b74bb9765f
5c94e032b2d43ac347f6383d0a8f0c03ec3a0485
/Push/sysex.py
6322a4228abd634fc27012bc7522b1d1ea89d65f
[]
no_license
Elton47/Ableton-MRS-10.1.13
997f99a51157bd2a2bd1d2dc303e76b45b1eb93d
54bb64ba5e6be52dd6b9f87678ee3462cc224c8a
refs/heads/master
2022-07-04T01:35:27.447979
2020-05-14T19:02:09
2020-05-14T19:02:09
263,990,585
0
0
null
2020-05-14T18:12:04
2020-05-14T18:12:03
null
UTF-8
Python
false
false
3,655
py
# uncompyle6 version 3.6.7 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.17 (default, Dec 23 2019, 21:25:33) # [GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.16)] # Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Push/sysex....
[ "ahmed.emerah@icloud.com" ]
ahmed.emerah@icloud.com
aa7b172ff58d05379109ded6c2595ea34f13b028
673317f52e04401fd8c5f89282b56120ad6315df
/src/pretix/plugins/ticketoutputpdf/signals.py
4b1ba025fab0a71b28fe112addcedb642a853ef0
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
barseghyanartur/pretix
0218a20bc0f7a1bac59aa03bc83448c33eccdbff
05bafd0db5a9048f585cc8431b92851e15ba87eb
refs/heads/master
2020-03-18T22:17:20.328286
2018-05-29T08:39:41
2018-05-29T08:39:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,022
py
from functools import partial from django.dispatch import receiver from django.utils.translation import ugettext_lazy as _ from pretix.base.models import QuestionAnswer from pretix.base.signals import ( # NOQA: legacy import event_copy_data, layout_text_variables, register_data_exporters, register_ticket_out...
[ "mail@raphaelmichel.de" ]
mail@raphaelmichel.de
37a055a130168f8bb3f4a7ce8dc15be15511155c
ac81f7f0160571a7e601d9808d424d2c407573b6
/0392-Is-Subsequence.py
3c57686253a10c3e7ae98adb8e18d2e9278d9c57
[]
no_license
nirmalnishant645/LeetCode
61d74c152deb0e7fb991065ee91f6f7102d7bbc6
8bdb4583187ee181ca626063d7684dcc64c80be3
refs/heads/master
2022-08-14T04:10:23.110116
2022-07-13T06:27:18
2022-07-13T06:27:18
227,960,574
53
19
null
2021-01-16T17:26:30
2019-12-14T03:31:54
Python
UTF-8
Python
false
false
1,103
py
''' Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and t. t is potentially a very long (length ~= 500,000) string, and s is a short string (<=100). A subsequence of a string is a new string which is formed from the original stri...
[ "noreply@github.com" ]
nirmalnishant645.noreply@github.com
2ddee8e373f05456f1e32c5856b3f3f9bffed03c
90b5a86b07745561267fde367259b9f48da3ca74
/apps/categorys/migrations/0002_auto_20180507_1612.py
6079d5926e69d480553e84fad584aec7caa588d6
[]
no_license
enjoy-binbin/pyblog
fb8bfc6017595412850faf20ba4ce0c8e5ee761b
47e93d67dbfd8acf58bfb7e2e15c0c6cce32ef6e
refs/heads/master
2021-08-11T06:38:52.959002
2019-02-06T13:46:50
2019-02-06T13:46:50
166,924,461
2
0
null
2021-08-09T20:47:43
2019-01-22T03:59:51
Python
UTF-8
Python
false
false
455
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2018-05-07 16:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('categorys', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "binloveplay1314@qq.com" ]
binloveplay1314@qq.com
0d33b3146a5d87f4bd3f2197443f3de225c55f6e
1e9ef3df6b65d53127f1858dbf625cd31874fb11
/REST-api/rest/migrations/0002_auto_20161022_2237.py
35388c20b14429bdd7fd8eda173603248d6e7f11
[]
no_license
Matvey-Kuk/openbmp-as-path-planet
9007c9b86009b4576638b53f45e35d429c1ed55f
ddd2c83861aa7540bd9eb83e75b5072f1e20d322
refs/heads/master
2021-01-12T14:58:48.600762
2016-10-23T02:16:00
2016-10-23T02:16:00
71,657,356
1
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-22 22:37 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('rest', '0001_initial'), ] operations = [ m...
[ "motakuk@gmail.com" ]
motakuk@gmail.com
42341246ba9ecfedf89645e2ee529b7cfc00baef
e79c4d4a633e8578ef8fbadd5937140ad1761e5b
/src/wellsfargo/models/transfers.py
a85e657729c878b01103128f49763595bd26e565
[ "ISC" ]
permissive
thelabnyc/django-oscar-wfrs
ca9a4737e8b6575bde21705179c67212ad47df16
61548f074ffd7ce41e31b3bc9a571d569a8f8248
refs/heads/master
2023-05-26T14:41:43.366400
2023-05-17T17:35:20
2023-05-17T17:35:20
59,534,130
1
2
ISC
2022-12-08T05:06:17
2016-05-24T02:32:09
Python
UTF-8
Python
false
false
3,002
py
from django.conf import settings from django.db import models from django.utils.translation import gettext_lazy as _ from django.utils.functional import cached_property from oscar.core.loading import get_model from oscar.models.fields import NullCharField from ..core.constants import ( TRANS_TYPE_AUTH, TRANS_TY...
[ "crgwbr@gmail.com" ]
crgwbr@gmail.com
6a702164df517737cd177ab547688f038cb51aa1
57ddfddd1e11db649536a8ed6e19bf5312d82d71
/AtCoder/ABC0/ABC038/ABC038-C.py
5004183698b5aec8e51581e7b45a0868ffd3856f
[]
no_license
pgDora56/ProgrammingContest
f9e7f4bb77714dc5088c2287e641c0aa760d0f04
fdf1ac5d1ad655c73208d98712110a3896b1683d
refs/heads/master
2023-08-11T12:10:40.750151
2021-09-23T11:13:27
2021-09-23T11:13:27
139,927,108
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
n = int(input()) a = list(map(int, input().split())) a.append(0) prev = 10**6 count = 0 total = n for v in a: if prev >= v: total += int(count*(count+1)/2) count = 0 else: count += 1 prev = v print(total)
[ "doradora.prog@gmail.com" ]
doradora.prog@gmail.com
68128ddef976c370dc87279299e61abaac08163a
3f0410647ec6f7f597bb2adcc169b30c85c154bf
/dataduct/pipeline/default_object.py
78d7251db70eb9c26c751ed787d2229b1fd9ebf8
[ "Apache-2.0" ]
permissive
EverFi/dataduct
5485239cc72a6aee4145634bf95a1dc5e67b28cd
797cb719e6c2abeda0751ada3339c72bfb19c8f2
refs/heads/staging
2023-07-20T14:59:00.342480
2023-03-21T21:11:56
2023-03-21T21:11:56
96,341,718
3
0
NOASSERTION
2023-07-12T20:29:12
2017-07-05T16:54:48
Python
UTF-8
Python
false
false
1,403
py
""" Pipeline object class for default metadata """ from ..config import Config from ..utils import constants as const from .pipeline_object import PipelineObject config = Config() ROLE = config.etl['ROLE'] RESOURCE_ROLE = config.etl['RESOURCE_ROLE'] MAX_ACTIVE_INSTANCES = config.etl.get('MAX_ACTIVE_INSTANCES', const....
[ "sb2nov@gmail.com" ]
sb2nov@gmail.com
03e6521dbdeeba4a2d45ddaf701bf0485213ebac
d4df3c14cea021ab95dc208e915e88383f3c7371
/Payload_Type/poseidon/mythic/agent_functions/jsimport.py
755a354107c0d6348d572365a4a32d263f0633cf
[]
no_license
a32567901/poseidon
79537ac7f082698137c7f77c746ecdc42ddc89f9
6c7d0bf52b67a952fa35a821d7c2d3e5a35cafd7
refs/heads/master
2023-06-18T06:25:17.575943
2021-07-12T20:44:03
2021-07-12T20:44:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
from mythic_payloadtype_container.MythicCommandBase import * import base64 import sys import json from mythic_payloadtype_container.MythicRPC import * class JsImportArguments(TaskArguments): def __init__(self, command_line): super().__init__(command_line) self.args = { "file_id": Comma...
[ "codybthomas@gmail.com" ]
codybthomas@gmail.com
9ffe4224c93a6d260380414f96e07e3b4b1def64
159d4ae61f4ca91d94e29e769697ff46d11ae4a4
/venv/lib/python3.9/site-packages/pygments/lexers/smv.py
a4cbf9455e3d5cfbee0f1fbdae8b7da6a7f39a21
[ "MIT" ]
permissive
davidycliao/bisCrawler
729db002afe10ae405306b9eed45b782e68eace8
f42281f35b866b52e5860b6a062790ae8147a4a4
refs/heads/main
2023-05-24T00:41:50.224279
2023-01-22T23:17:51
2023-01-22T23:17:51
411,470,732
8
0
MIT
2023-02-09T16:28:24
2021-09-28T23:48:13
Python
UTF-8
Python
false
false
2,773
py
""" pygments.lexers.smv ~~~~~~~~~~~~~~~~~~~ Lexers for the SMV languages. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from pygments.lexer import RegexLexer, words from pygments.token import Comment, Keyword, Name, Number, Operator...
[ "davidycliao@gmail.com" ]
davidycliao@gmail.com
d6a19c14ed21fd7fff372aff3356a947433b7b86
f543f74749ff6aa7731438cb1c33f01c7c6296b2
/ZenPacks/community/zenSiebelCRM/routers.py
5eda913bc6c7fa4119561975d408e0a962def296
[ "Apache-2.0" ]
permissive
j053ph4/ZenPacks.community.zenSiebelCRM
5ff2438cbf778a53b47dcf1d23fd068412232e41
fcddf900ff0290fa646722060a40e315e857e439
refs/heads/master
2021-01-01T16:39:24.706506
2015-03-20T16:29:19
2015-03-20T16:29:19
2,608,202
0
2
null
null
null
null
UTF-8
Python
false
false
133
py
from ZenPacks.community.ConstructionKit.ClassHelper import * class zenSiebelCRMRouter(ClassHelper.zenSiebelCRMRouter): ''''''
[ "janderson@agero.com" ]
janderson@agero.com
eca07f6edf533d18f3e673a87f6e9048c8363109
f39f870107ebd13914220b862a62709f22cd778d
/src/runrex/schema.py
375806ac12b85718f53d37e288fd3d4851050c2d
[ "MIT" ]
permissive
kpwhri/runrex
36efd549009d4c3cc77a498934cdcb5f92748d8e
68f7e67419cd6b87ed86d755a760b6c5fcbfb07d
refs/heads/master
2023-04-02T07:06:59.226692
2023-03-24T18:51:46
2023-03-24T18:51:46
224,006,956
0
0
null
null
null
null
UTF-8
Python
false
false
4,624
py
import json import jsonschema try: from ruamel import yaml except ModuleNotFoundError: yaml = False JSON_SCHEMA = { 'type': 'object', 'properties': { 'corpus': { 'type': 'object', 'properties': { 'directory': {'type': 'string'}, 'director...
[ "dcronkite@gmail.com" ]
dcronkite@gmail.com
fae05f2b90f2dbd3d408b281c80207daa203395c
8ed1430279ae52fd950dd0afe88549a100001e26
/qa/rpc-tests/test_framework/key.py
a36d6d71e08f3b53918ffad15038dbf82f0d3830
[ "MIT" ]
permissive
mirzaei-ce/core-najafbit
9fb70dbd4e17ec1635d7b886db17f8aab3f592bb
6de34210a9ba9cc3f21fee631bc1a1f4d12d445d
refs/heads/master
2021-08-11T08:53:58.165742
2017-11-13T13:00:14
2017-11-13T13:00:14
110,548,740
0
0
null
null
null
null
UTF-8
Python
false
false
7,367
py
# Copyright (c) 2011 Sam Rushing # # key.py - OpenSSL wrapper # # This file is modified from python-najafbitlib. # """ECC secp256k1 crypto routines WARNING: This module does not mlock() secrets; your private keys may end up on disk in swap! Use with caution! """ import ctypes import ctypes.util import hashlib import...
[ "mirzaei@ce.sharif.edu" ]
mirzaei@ce.sharif.edu
4a8ff182ff64cd8354550c0be5e3c6d332c9e65e
fb5b258968d361e652e31a753b7729acea776470
/tracker/extensions.py
32059628cfe55f696c80043be6c0188722f973aa
[]
no_license
OpenDataServices/aid-transparency-tracker
ddbac46406dccd71b5b441e543e67d1819377da3
d3d12dc3d038c24825374eb7aa74ed6e51266747
refs/heads/master
2020-06-14T00:53:28.939473
2019-06-30T15:18:55
2019-06-30T15:18:55
194,842,277
1
1
null
2019-07-02T10:30:35
2019-07-02T10:30:34
null
UTF-8
Python
false
false
528
py
"""Extensions module. Each extension is initialized in the app factory located in app.py.""" from flask_caching import Cache from flask_debugtoolbar import DebugToolbarExtension from flask_migrate import Migrate from flask_sqlalchemy import SQLAlchemy from flask_webpack import Webpack from flask_wtf.csrf import CSRFPro...
[ "a.lulham@gmail.com" ]
a.lulham@gmail.com
cd3649ce6be2f14862c05d40998542e059230fe7
bcf88b912b9443c3326466c226f68a7e7ad5aa9d
/bdbag/fetch/transports/fetch_http.py
f55b0cd33f99c76fdd5b2177276a166c30c9865e
[ "Apache-2.0" ]
permissive
mvdbeek/bdbag
33bc7e0275c720104af77654b0016024cb6ab012
fe67b5bffc68b7dac823ce03d450ede3affccbef
refs/heads/master
2020-03-25T05:17:09.646537
2018-07-12T03:58:06
2018-07-12T03:58:06
143,438,809
0
0
null
2018-08-03T14:42:27
2018-08-03T14:42:27
null
UTF-8
Python
false
false
6,656
py
import os import datetime import logging import requests from requests.adapters import HTTPAdapter from requests.packages.urllib3.util.retry import Retry import certifi from bdbag import urlsplit, get_typed_exception import bdbag.fetch.auth.keychain as keychain logger = logging.getLogger(__name__) Kilobyte = 1024 Meg...
[ "mikedarcy@users.noreply.github.com" ]
mikedarcy@users.noreply.github.com
fb95f7509a541b20d0c87ac002317fa791d06f7b
4c1c2e3a8882f58a895285232eddae337ddc1a3a
/tests/test_general.py
f0721fd9fa1cb43874e25eda16877495aa4b11b9
[ "MIT" ]
permissive
ArtellaPipe/artellapipe-tools-renamer
b00472d94de48771b3de69d2706f2e37235736d2
2456f418e2b4cf853d228fcce27af94b4fe3185a
refs/heads/master
2020-11-27T15:15:59.673296
2020-08-24T18:26:45
2020-08-24T18:26:45
229,507,085
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
#! /usr/bin/env python # -*- coding: utf-8 -*- """ Module that contains general tests for artellapipe-tools-renamer """ import pytest from artellapipe.tools.renamer import __version__ def test_version(): assert __version__.get_version()
[ "tpovedatd@gmail.com" ]
tpovedatd@gmail.com
2ccbe098d647f4aa3758b9746cb05213b6096eb2
ee53b0262007b2f0db0fe15b2ad85f65fafa4e25
/Leetcode/2545. Sort the Students by Their Kth Score.py
1938cef18d0c6419bf112383400d38432dc59634
[]
no_license
xiaohuanlin/Algorithms
bd48caacb08295fc5756acdac609be78e143a760
157cbaeeff74130e5105e58a6b4cdf66403a8a6f
refs/heads/master
2023-08-09T05:18:06.221485
2023-08-08T11:53:15
2023-08-08T11:53:15
131,491,056
1
0
null
null
null
null
UTF-8
Python
false
false
2,142
py
''' There is a class with m students and n exams. You are given a 0-indexed m x n integer matrix score, where each row represents one student and score[i][j] denotes the score the ith student got in the jth exam. The matrix score contains distinct integers only. You are also given an integer k. Sort the students (i.e....
[ "xiaohuanlin1993@gmail.com" ]
xiaohuanlin1993@gmail.com
20742f51da8d73b241b268b3e8ad34a2a7ec71a6
e8215b98dcf46417e720cc6ef4a0329474ae9b82
/PHYS304/Transcendental.py
f3540b28e7fbf87080a8c19cdb8799a835c8501e
[]
no_license
rgkaufmann/PythonCodes
2d47bab84ec851fc962598f613b1e666a14c8efd
a5d5cd993beabdb79897a05b35420ad82f438f51
refs/heads/master
2021-06-13T23:19:09.109162
2021-03-03T06:00:04
2021-03-03T06:00:04
162,771,012
0
0
null
null
null
null
UTF-8
Python
false
false
3,392
py
import numpy as np import matplotlib.pyplot as plt def tangent(z): return np.tan(z) def transient(z): return np.sqrt((8/z)**2-1) zVals = np.linspace(np.pi, 8, 1000) tanVals = tangent(zVals) tranVals = transient(zVals) zTransients = [4.16483091, 6.83067433] tanTransients = tangent(zTransients) plt.plot(zVals...
[ "ryankaufmannprof@gmail.com" ]
ryankaufmannprof@gmail.com
817f9f6f9798e25518e5c410d73fac5f146c2faa
84e4149b3571ff4abe5c27a66ecbde03c5afec3c
/chapter_09/section_3_3/test.py
8de472d0bbe2646b49941b995e27abd2d498cb45
[]
no_license
zhanlu-wm/Python-Crash-Course
6efa04bd5c03e37394b3602d20e7ae57688836e7
043fe97b4acdf0008351fd0fdb045888e9bdd44d
refs/heads/master
2021-07-18T18:34:32.435763
2017-10-23T15:27:17
2017-10-23T15:27:17
103,259,810
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
from chapter_09.section_3_3.electric_car import ElectricCar my_tesla = ElectricCar('tesla', 'model s', 2016) print(my_tesla.get_descriptive_name()) my_tesla.describe_battery()
[ "ncu09wangming@163.com" ]
ncu09wangming@163.com
c35ed578aa88d6f303bd3df648ce69e2bf6172a4
a2f6e449e6ec6bf54dda5e4bef82ba75e7af262c
/venv/Lib/site-packages/pandas/tests/frame/methods/test_nlargest.py
7f9912e61e6e168237191bd9c0e95df2fc24b6ce
[]
no_license
mylonabusiness28/Final-Year-Project-
e4b79ccce6c19a371cac63c7a4ff431d6e26e38f
68455795be7902b4032ee1f145258232212cc639
refs/heads/main
2023-07-08T21:43:49.300370
2021-06-05T12:34:16
2021-06-05T12:34:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:ad76d46aae04dbd1db10b0a2b2882fd55b14de9a1307caf45c549f0b3d316f1a size 6942
[ "chuksajeh1@gmail.com" ]
chuksajeh1@gmail.com
271db093eab9eef6514cf71cd5cdc33b0ebbebbe
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/PostProcessing/Effects/__init__.py
4712566578e17fcdf1f5316527e1b33ae470f9e3
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,600
py
# 2016.11.19 19:54:27 Střední Evropa (běžný čas) # Embedded file name: scripts/client/PostProcessing/Effects/__init__.py """PostProcessing.Effects python module This module imports all Effects for ease-of-use by script programmers. """ s_effectFactories = {} class implementEffectFactory: def __init__(self, name, ...
[ "info@webium.sk" ]
info@webium.sk
e7e338dfe35947ecf54e68e2c21b2af79339e7a0
ac64fda7f1bfc92f7897efd60b8f3f0aeb22b4d7
/syntactic_mutations/mnist/mutants/mutant28.py
8c15391a262bd2fab6f30bcef4af3ed76cab9317
[]
no_license
dlfaults/mutation_operators_evaluation
ea7f33459ba7bcf7d70092d9db8b40f9b338d516
7d1ff30e901931a46bf8908e9bb05cae3daa5f0f
refs/heads/master
2020-12-27T15:45:07.262012
2020-02-03T12:22:01
2020-02-03T12:22:01
237,955,342
1
0
null
null
null
null
UTF-8
Python
false
false
1,590
py
import keras from keras.datasets import mnist from keras.models import Sequential from keras.layers import Dense, Dropout, Flatten from keras.layers import Conv2D, MaxPooling2D from keras import backend as K batch_size = 128 num_classes = 10 epochs = 12 (img_rows, img_cols) = (28, 28) def train(x_train, y_train, x_te...
[ "gunel71@gmail.com" ]
gunel71@gmail.com
3f2754e1b1a8db1b55c2e9557da13f86471dabad
a7ab35ff204d7c4679ce8b1bf7da8fa363a7a708
/algo_problems/q861-880/q873.py
1015c2b49ca79f3a6b3e6bba1765132f41499876
[]
no_license
lin13k/practice
c68e7270be2694cb9737c35af8beb19db7e30d65
c3efe1a5839c3ff1c320c0fcfc7b65a9462f7b52
refs/heads/master
2021-01-19T11:05:43.521468
2018-11-12T09:42:29
2018-11-12T09:42:29
87,928,424
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
import collections class Solution: def lenLongestFibSubseq(self, A): """ :type A: List[int] :rtype: int """ table = collections.defaultdict(lambda: 2) indexDict = {v: k for k, v in enumerate(A)} result = 0 for i, v in enumerate(A): for j ...
[ "lin.13k@gmail.com" ]
lin.13k@gmail.com
55054610ae4183039b1acb0e4e418f03195a81c4
9d862dd68f8b4ea4e7de9397fef8592824c77449
/app/top/api/rest/DeliveryTemplateDeleteRequest.py
b9f87c34c48381a9fc9ce9798903f521d14d4bb9
[]
no_license
hi-noikiy/tmall-sku-outer_id
ffaca630dfb288ca33d962b8a050932d1047b9c8
1bcf29386a513bcb210bf5d91016e0dcb1ebc1ad
refs/heads/master
2021-05-09T18:20:27.150316
2017-03-08T06:43:57
2017-03-08T06:43:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
''' Created by auto_sdk on 2016.04.11 ''' from app.top.api.base import RestApi class DeliveryTemplateDeleteRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.template_id = None def getapiname(self): return 'taobao.delivery.template.delete'
[ "1037096435@qq.com" ]
1037096435@qq.com
7aa16390fac2a04b1be129c306ea0507fc300de1
6f0ceee714bccf2a89c34a06aabd3bcb781a2fa4
/tests/python/gpu/test_numpy_fallback.py
dc367b03139c0fcb872418d3db2dada7314dd41b
[ "Apache-2.0", "MIT", "Unlicense", "BSL-1.0", "NCSA", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-2-Clause", "OFL-1.0", "BSD-2-Clause-Views", "Zlib" ]
permissive
yajiedesign/mxnet
5a495fd06dd1730c17d2d27d7e46c8a770847f17
8e5a16cf673db5aceb48d2cf7a0fc1abd0ee5e51
refs/heads/master
2021-03-30T22:37:18.603396
2020-10-23T06:40:17
2020-10-23T06:40:17
43,763,550
214
59
Apache-2.0
2020-06-01T23:31:15
2015-10-06T16:36:40
C++
UTF-8
Python
false
false
4,728
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" ]
yajiedesign.noreply@github.com
4d30ab38156924fdc3bad48d9760d204c8fdebdc
d125c002a6447c3f14022b786b07712a7f5b4974
/tests/bugs/core_4165_test.py
d2422778b5f53e4956446b0f1a4dd1f69a715d89
[ "MIT" ]
permissive
FirebirdSQL/firebird-qa
89d5b0035071f9f69d1c869997afff60c005fca9
cae18186f8c31511a7f68248b20f03be2f0b97c6
refs/heads/master
2023-08-03T02:14:36.302876
2023-07-31T23:02:56
2023-07-31T23:02:56
295,681,819
3
2
MIT
2023-06-16T10:05:55
2020-09-15T09:41:22
Python
UTF-8
Python
false
false
1,993
py
#coding:utf-8 """ ID: issue-4492 ISSUE: 4492 TITLE: Replace the hierarchical union execution with the plain one DESCRIPTION: JIRA: CORE-4165 FBTEST: bugs.core_4165 """ import pytest from firebird.qa import * init_script = """ recreate table t1(id int); recreate table t2(id in...
[ "pcisar@ibphoenix.cz" ]
pcisar@ibphoenix.cz
5d25234ef3941728dcf320cbda2aeea1d13e6d35
a672ac356faa8743a78703812ce41eb48fc0f99f
/tests/contrib/falcon/test_middleware.py
68a9614099575934169190628353ac591579082e
[]
permissive
dailymotion/dd-trace-py
2dd0b23aac89b60d7b40a74692e210a9b8778e94
47ecf1d805bbdff3579a7d644595ac083af04c70
refs/heads/master
2023-04-13T19:56:00.888553
2018-12-05T21:27:46
2018-12-05T21:27:46
84,096,497
0
1
BSD-3-Clause
2023-04-07T00:17:31
2017-03-06T16:38:57
Python
UTF-8
Python
false
false
543
py
from falcon import testing from tests.test_tracer import get_dummy_tracer from .app import get_app from .test_suite import FalconTestCase class MiddlewareTestCase(testing.TestCase, FalconTestCase): """Executes tests using the manual instrumentation so a middleware is explicitly added. """ def setUp(s...
[ "emanuele.palazzetti@datadoghq.com" ]
emanuele.palazzetti@datadoghq.com
e614b59b4db80db0b7fa97d34be01f68a4243409
d4fa331d7d8a00865f99ee2c05ec8efc0468fb63
/alg/unique_path.py
b28469b75a95f6b64b6d410929fd04451d54d2e0
[]
no_license
nyannko/leetcode-python
5342620c789a02c7ae3478d7ecf149b640779932
f234bd7b62cb7bc2150faa764bf05a9095e19192
refs/heads/master
2021-08-11T04:11:00.715244
2019-02-05T15:26:43
2019-02-05T15:26:43
145,757,563
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
class Solution(object): def uniquePaths(self, m, n): """ :type m: int :type n: int :rtype: int """ table = [[-1] * n for _ in range(m)] table[0][0] = 1 def dfs(m, n): if m < 0 or n < 0: return 0 if m == 0 and n ...
[ "9638293+nyannko@users.noreply.github.com" ]
9638293+nyannko@users.noreply.github.com
1bd9fba50c8d65cd8d1f749fbeb322b3d5990748
12a21462d6cdb37ff7336d498a75f578a8ec7959
/lib/public/load_cases.py
15ebcfc8940fd78877551e1317ae4af284186e82
[ "MIT", "Python-2.0" ]
permissive
bushidosds/MeteorTears
b1c23331aed6158662e6d544dbf71df2b10ef78d
cde3151b42e9ccae3c58e45233b637808c152571
refs/heads/master
2020-05-25T02:16:25.171245
2019-05-17T10:32:17
2019-05-17T10:32:17
187,575,106
1
0
MIT
2019-05-20T05:47:01
2019-05-20T05:47:01
null
UTF-8
Python
false
false
1,611
py
# -*- coding:utf-8 -*- import yaml from lib.utils import fp from lib.public import logger from lib.utils import exceptions class LoadCase(object): def __init__(self, path: str = None): self.path = path def get_all_files(self) -> list: """ 返回文件目录路径下全部文件列表 :Usage: ...
[ "546464268@qq.com" ]
546464268@qq.com
fa21ef31448dccd7a96df6c42c7e27d93203474f
9da8754002fa402ad8e6f25659978bd269bbcec8
/src/426A/cdf_426A.py
acb2d5c61e1ef8068bbd8310cc8e909a4c400db3
[ "MIT" ]
permissive
kopok2/CodeforcesSolutionsPython
a00f706dbf368ba0846c8ae86d4145b5dd3e1613
35bec0dbcff47765b123b5fe60476014376153df
refs/heads/master
2023-02-02T03:08:22.097651
2020-12-17T22:00:50
2020-12-17T22:00:50
196,035,812
1
1
null
null
null
null
UTF-8
Python
false
false
612
py
class CodeforcesTask426ASolution: def __init__(self): self.result = '' self.n_s = [] self.mugs = [] def read_input(self): self.n_s = [int(x) for x in input().split(" ")] self.mugs = [int(x) for x in input().split(" ")] def process_task(self): self.mugs.sort(...
[ "oleszek.karol@gmail.com" ]
oleszek.karol@gmail.com
95d20cf93f789370811e7bf8b5254408503d39e9
d95cfcee3fc5825d10d9c930baac94ebe7b9fa13
/tests/test_pysubstringsearch.py
ece0467bba081ffd33ddde85efc22cb0720d05f8
[ "MIT" ]
permissive
Intsights/PySubstringSearch
191723bcd3ed699fe91f552d75f52a3a24f7a61f
1f027986472c5b3e5d1d0e12e0cf7259def8df9a
refs/heads/master
2023-01-22T12:18:29.351840
2023-01-10T06:41:03
2023-01-10T06:41:03
231,457,596
34
3
MIT
2023-01-10T06:41:05
2020-01-02T20:51:12
C
UTF-8
Python
false
false
8,338
py
import os import tempfile import unittest import pysubstringsearch class PySubstringSearchTestCase( unittest.TestCase, ): def assert_substring_search( self, strings, substring, expected_results, ): try: with tempfile.TemporaryDirectory() as tmp_director...
[ "gal@intsights.com" ]
gal@intsights.com
633e92496b35946000f6bd921841af0b78776164
0e8b6f94467c25dd2440f7e2ea1519244e689620
/MokkaJobs/MokkaGridJobs.py
b46bd21da2de9d0ba74c112d8fce0236cb7084ce
[]
no_license
StevenGreen1/HighEnergyPhotonAnalysis
97a661eaca2efd00472f1969855c724c9d505369
8a82ac57f56aad5bdbe99d4a5afb771592bc1725
refs/heads/master
2021-01-10T14:08:50.550184
2015-10-12T12:43:47
2015-10-12T12:43:47
43,491,318
0
0
null
null
null
null
UTF-8
Python
false
false
3,854
py
# Submit Mokka jobs to the grid: MokkaGridJobs.py import re import os import sys ### ---------------------------------------------------------------------------------------------------- def setGearFile(mokkaSteeringTemplate,gearFile): mokkaSteeringTemplate = re.sub('GEAR_FILE_XXXX',gearFile,mokkaSteeringTemplate...
[ "sg1sg2sg3@hotmail.co.uk" ]
sg1sg2sg3@hotmail.co.uk
ad1d6246f54fb89f7cf4d0bd153800016048e5b1
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/devices/v20170701/list_iot_hub_resource_keys.py
a406e6b6c9a9cbd4caa7847dbb84ed9eee6cb173
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
2,753
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
bd0f247b7986d7d12e7110d7fe7257f8dc06b819
faabe34af6297530617395bcc6811350765da847
/platforms/leetcode/DeleteNodesAndReturnForest.py
4c40784b5befdda322e99dfa179d34fc32592d04
[]
no_license
pqnguyen/CompetitiveProgramming
44a542aea299bd553dd022a9e737e087285b8b6d
27330e7ff79c4ac883d7e1fcdf2f0d30939c3f78
refs/heads/master
2021-07-21T12:15:47.366599
2021-06-27T14:58:48
2021-06-27T14:58:48
132,837,831
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def delNodes(self, root: TreeNode, to_delete: List[int]) -> List[TreeNode]: to_delete = set(to_delete) roots = [] ...
[ "pqnguyen1996@gmail.com" ]
pqnguyen1996@gmail.com
c8b141e64d1719e48b961907b0984796c4450614
4ace4d5a94ab0db79562f1b23edd6011a89148c6
/src/airflow-stubs/contrib/hooks/dingding_hook.pyi
dab4dfa1201d2ddd2dda0f3a426571174e3d6bae
[ "MIT" ]
permissive
viewthespace/mypy-stubs
9abebc2eab2b46b2230842f06114673e1a4de052
182fa275c4a7011eb5345694b88229adbddcc999
refs/heads/master
2023-06-07T18:52:46.739560
2023-06-01T22:05:27
2023-06-01T22:05:45
236,780,299
0
0
MIT
2022-01-11T20:53:55
2020-01-28T16:23:07
Python
UTF-8
Python
false
false
532
pyi
from airflow import AirflowException as AirflowException from airflow.hooks.http_hook import HttpHook as HttpHook from typing import Any class DingdingHook(HttpHook): message_type: Any message: Any at_mobiles: Any at_all: Any def __init__(self, dingding_conn_id: str = ..., message_type: str = ..., ...
[ "andrew.marshall@vts.com" ]
andrew.marshall@vts.com
7919332572d3089ed39adfdcfd8799e6e725cb1d
9b8ca63a377e6f94cc6a970cc97a6f7f50932811
/nomitang_affpart/main.py
3c8900c633842101ee3c2057923d4f1ddb4697b7
[ "Apache-2.0" ]
permissive
lester-lees/extra_addons_sz
9b6d2400abe4707b7b18d9e2e9caf2fb366cf3a6
cddaf972cf4ea64c553bcff0006eb006a115d5ee
refs/heads/master
2021-01-06T20:43:28.782147
2017-08-07T06:51:45
2017-08-07T06:51:45
99,545,991
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# -*- coding: utf-8 -*- from openerp import http from openerp.http import request from openerp.addons.website.models.website import slug class website_offlinestore(http.Controller): @http.route(['/thanks',], type='http', auth="public", website=True) def thanks(self, **post): return request.website....
[ "346994202@qq.com" ]
346994202@qq.com
6c54c77da5bee9778fd95a7b143658328e2d1e93
f9b919ee04754978f739c5516434c581a47c5eec
/music/migrations/0001_initial.py
ac5da28c56ca2e8706d5e74ff2e9a56684a4e237
[ "MIT" ]
permissive
Hadryan/Music-Genre-Classification-5
7f50b9ef6778f96751c4f68391b730603f39a4bc
f67316b0710b2e5ca52e924e7f8254aa7897751b
refs/heads/master
2022-11-05T12:33:52.208512
2020-06-20T14:23:04
2020-06-20T14:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,589
py
# Generated by Django 3.0.4 on 2020-05-06 09:01 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), ...
[ "noreply@github.com" ]
Hadryan.noreply@github.com
a5ff6eb348ef84d8446262dfaac54d71e4608979
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2345/60708/256477.py
3cb0de279548277ee58180dc06b8c2254444f0e3
[]
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
722
py
N=eval(input()) for n in range(0,N): l=eval(input()) listwrong=input().split(" ") listresult=[] listright=[] for i in range(0,l): listright.append(str(i+1)) for i in range(0,l-1): if listwrong[i]==listwrong[i+1]: listresult.append(listwrong[i]) break i...
[ "1069583789@qq.com" ]
1069583789@qq.com
578200ca81aacd2162a3509662c44dda5f63f3d6
33a50bb13812090a36257078522b798762978c66
/top/api/rest/LogisticsAddressAddRequest.py
7d798e9cee0dfaf1051e7c34d3b596dd71dc72e3
[]
no_license
aa3632840/quanlin
52ac862073608cd5b977769c14a7f6dcfb556678
2890d35fa87367d77e295009f2d911d4b9b56761
refs/heads/master
2021-01-10T22:05:14.076949
2014-10-25T02:28:15
2014-10-25T02:28:15
23,178,087
1
0
null
null
null
null
UTF-8
Python
false
false
560
py
''' Created by auto_sdk on 2014-09-08 16:48:02 ''' from top.api.base import RestApi class LogisticsAddressAddRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.addr = None self.cancel_def = None self.city = None self.contact_name = None self.co...
[ "262708239@qq.com" ]
262708239@qq.com
6a9939922082aade9970368ecb9bd35d3ca06246
1297634c6641ec62c31cf30b8fabe1886aa8d9ea
/products_and_services_client/models/loan_interest_rate.py
afbcd7cfed79b47a5e2af0d0a10ef1bcfc3bb79d
[ "MIT" ]
permissive
pitzer42/opbk-br-quickstart
d77f19743fcc264bed7af28a3d956dbc2d20ac1a
b3f86b2e5f82a6090aaefb563614e174a452383c
refs/heads/main
2023-03-04T13:06:34.205003
2021-02-21T23:41:56
2021-02-21T23:41:56
336,898,721
2
0
MIT
2021-02-07T22:03:15
2021-02-07T21:57:06
null
UTF-8
Python
false
false
7,178
py
# coding: utf-8 """ API's OpenData do Open Banking Brasil As API's descritas neste documento são referentes as API's da fase OpenData do Open Banking Brasil. # noqa: E501 OpenAPI spec version: 1.0.0-rc5.2 Contact: apiteam@swagger.io Generated by: https://github.com/swagger-api/swagger-codegen.gi...
[ "arthurpitzer@id.uff.br" ]
arthurpitzer@id.uff.br
3a877527b811e3300cf094da3d9842cd84d9119f
629606ef6e0ce252f74729ac60f57ca8805c3c78
/hw_001_Django/hw_009_test1/venv/bin/pip
35101f0af30f654e8feaaf103ad4040a374ec8aa
[]
no_license
LeeXyan/lxgzhw006
cc31024874725f60b766c9d5d24c2dafc66b8de3
621a73544262df7e104806579242deeaa8dbe2c2
refs/heads/master
2021-10-10T17:41:52.381843
2019-01-15T00:25:08
2019-01-15T00:25:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
415
#!/home/lxgzhw/PythonWork/hw_001_Django/hw_009_test1/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.ar...
[ "1156956636@qq.com" ]
1156956636@qq.com
0d21f18658bf890b75fc662137cf8b561bcd829b
059e13f143a56ffe091c3181000c6928a14e2931
/gen_of_passwords/asgi.py
4bfcef1cf41b7ba7a6afb7dd84b04e0bb3c4f9e2
[]
no_license
bhobbs20/Password-Generator
5b4fea8720c4b3f36bb129e87e3a0312247d17ea
043be29289e9c217a9c2db2dacfd219f8bed11fc
refs/heads/master
2022-12-29T05:18:45.905247
2020-10-13T19:21:27
2020-10-13T19:21:27
303,807,240
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" ASGI config for gen_of_passwords 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('DJA...
[ "brianhobbs216@gmail.com" ]
brianhobbs216@gmail.com
dcb68361f62778ad7774c7e26665ce66d6246006
0378a2f1adad86f439ce214ebfe2a904cda6eb41
/badball/migrations/0059_auto_20181203_0912.py
f113b7a5add80e8fe4053ec5329a7e873956d941
[]
no_license
jeremyjbowers/badball
2035902b5f8d2bc05219af887bd3e1bfcb45192b
323289ec871e0e7e98e397c9d528d83773c86f85
refs/heads/master
2020-12-20T22:08:53.083230
2020-01-25T23:09:11
2020-01-25T23:09:11
236,222,388
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
# Generated by Django 2.0.8 on 2018-12-03 09:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('badball', '0058_team_championships'), ] operations = [ migrations.AlterField( model_name='tradereceipt', name='picks...
[ "jeremyjbowers@gmail.com" ]
jeremyjbowers@gmail.com
c33cd22e723b9f23db21dcc4d74c7254b66bddb4
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Programming_for_Computations/osc_odespy.py
738ce8a9cd8f905bd423e40bb2c2d69a7eacb3ec
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
2,100
py
"""Use odespy to solve undamped oscillation ODEs.""" import odespy from matplotlib.pyplot import \ plot, savefig, legend, xlabel, figure, title, hold, axis, show def f(u, t, omega=2): v, u = u return [-omega**2*u, v] def compare(odespy_methods, omega, X_0, number_of_peri...
[ "bb@b.om" ]
bb@b.om
82e1ac853cc31945253c155f19edfcdbcc2ff2ce
71e8bdddd84338bbb2d77934351d76251c2fd77d
/best-time-to-buy-and-sell-stock-iv.py
d811820af9e000057e587a39aa06076967a8a1a7
[]
no_license
onestarshang/leetcode
3da20fbec1b42d3565eb95a64ea3f30c29f1e1eb
0a7aa09a2b95e4caca5b5123fb735ceb5c01e992
refs/heads/master
2021-01-09T06:00:06.018037
2016-12-17T16:17:49
2016-12-17T16:17:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
''' https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv/ Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete at most k transactions. Note: You may not engage in multiple transactions at the same time (ie...
[ "irachex@gmail.com" ]
irachex@gmail.com
c87a4af03eb9fa29c6d0bbf0cbccdba9ae574442
c4d9bdeb5353c6dd014f7c3f8d1f6380a76402af
/pylibviso2/node.py
322165a8990a261c071e8120c8f71250ff8322d9
[]
no_license
AtlasBuggy/libviso2-python
28f390b7f516d7abe5c3acfdff5544d47788f726
5ae736a2e7f2bbe362e839c8d1c9dd2340245909
refs/heads/master
2021-03-22T01:09:12.302707
2017-10-26T06:37:22
2017-10-26T06:37:22
108,196,017
1
0
null
null
null
null
UTF-8
Python
false
false
704
py
import time from atlasbuggy.opencv import OpenCVPipeline from .viso2 import Viso2Mono class Viso2MonoPipeline(OpenCVPipeline): def __init__(self, f, cu, cv, width=None, height=None, enabled=True, logger=None): # self.set_logger(level=20) super(Viso2MonoPipeline, self).__init__(enabled, logger=log...
[ "woz4tetra@gmail.com" ]
woz4tetra@gmail.com