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
ff48941968979ef0668d6935a7cf5d692a04351b
dfeeb6f8a691c104898eee7b9ecefe8015d40f7c
/Pyhton tutorial /132Advanced_Python_Iterators_for_Dictionaries.py
022a96ddd6c7fba038120681284d26abfe48c699
[]
no_license
narendra-ism/Python_tutorial_basic_
9277926dbfc707a761abe2ddebafb0855249fb68
29c2ebd5e7095bfda02d8c03d0afb65a85efe05d
refs/heads/master
2021-03-30T20:46:17.444715
2018-03-12T05:29:16
2018-03-12T05:29:16
124,831,659
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
# -*- coding: utf-8 -*- """ Created on Sun Mar 11 18:02:08 2018 @author: narendra """ my_dict = { 'name': 'Nick', 'age': 31, 'occupation': 'Dentist', } for key in my_dict: print(key, my_dict[key])
[ "narendra11d@gmail.com" ]
narendra11d@gmail.com
3f52a9fa1febbb8892a9673e2e7cb36cd16cbc1f
6ad41d9b76360c8007b494616374e9e0474f4da8
/mitogen/debug.py
8cb1a3675469ddfbcbaf2b70875a73d0235d6d62
[ "BSD-3-Clause" ]
permissive
danielcompton/mitogen
a1f46aec5766a1309a4a0fb89aac6fcb72d1ee89
2813d1a968d6f694514a0053d094c0da9ea4863b
refs/heads/master
2021-04-17T20:48:30.103447
2018-03-25T09:13:20
2018-03-25T09:13:20
126,739,845
0
0
BSD-3-Clause
2018-03-25T21:00:54
2018-03-25T21:00:54
null
UTF-8
Python
false
false
3,279
py
# Copyright 2017, David Wilson # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # 2....
[ "dw@botanicus.net" ]
dw@botanicus.net
b6c563a3591bfe9763c33179bd4e387dea5f53bf
d73409535734a788af83a9b2b2e32dd1b979d5d2
/proxySTAR_V3/certbot/acme/acme/jws.py
f9b81749ab1db42de1e3654eef04f98432698ff3
[ "Apache-2.0", "MIT" ]
permissive
mami-project/lurk
adff1fb86cb3e478fe1ded4cbafa6a1e0b93bfdd
98c293251e9b1e9c9a4b02789486c5ddaf46ba3c
refs/heads/master
2022-11-02T07:28:22.708152
2019-08-24T19:28:58
2019-08-24T19:28:58
88,050,138
2
2
NOASSERTION
2022-10-22T15:46:11
2017-04-12T12:38:33
Python
UTF-8
Python
false
false
2,145
py
"""ACME-specific JWS. The JWS implementation in acme.jose only implements the base JOSE standard. In order to support the new header fields defined in ACME, this module defines some ACME-specific classes that layer on top of acme.jose. """ from acme import jose class Header(jose.Header): """ACME-specific JOSE He...
[ "diego.deaguilarcanellas@telefonica.com" ]
diego.deaguilarcanellas@telefonica.com
b598f0eb2b805c60cbd9476ff493934ffdf9de4e
b129c9b11e9d2c06114f45ce03a94f4f2a177119
/hugin/haproxy/configuration.py
a0d3263efdc2cedcdfab838f248cfbc7c2003847
[]
no_license
pyfidelity/hugin.haproxy
a9e48e345b03ed9d361c0d6c8617135378f5c311
444e30350936883e7749c2371f394fa82c1644fe
refs/heads/master
2016-09-01T17:29:48.210244
2014-11-24T12:34:51
2014-11-24T12:34:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from ConfigParser import RawConfigParser import re from paste.util.multidict import MultiDict class FilterConfig(RawConfigParser, object): def __init__(self): RawConfigParser.__init__(self, dict_type=MultiDict) def urls(self): output = self._dict() for key, value in self._sec...
[ "git@matthewwilkes.name" ]
git@matthewwilkes.name
a760406307209396651413a877d753828833f2df
b2ba88eb56e1f08b823a8865d69a69c395754011
/PycharmProjects/PythonSeleniumAutoAugSep/12Oct2019/dictWithselenium.py
6eb730986c1523b8f07b69242fef45e683ad0ad5
[]
no_license
aravindanath/TeslaEV
90d4577f4e2e2d0df9d5799acf9263895eb4a98c
a5a4b071da1187fec65f80481bf05a9469d38202
refs/heads/master
2020-12-06T12:07:52.074500
2020-03-18T15:25:21
2020-03-18T15:25:21
223,544,053
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
from selenium import webdriver import time td = {"url":"https://www.google.com/",'browser':"ff"} if td['browser']=="chrome": driver = webdriver.Chrome("/Users/aravindanathdm/PycharmProjects/PythonSeleniumProject/driver/chromedriver") elif td['browser']=="ff": driver = webdriver.Firefox(executable_path="/Use...
[ "aravindanath86@gmail.com" ]
aravindanath86@gmail.com
58018bce47bab170230d6e3048ec82dde7848ead
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part005027.py
27f26130e6844d40cbd135f283b24ee2697dcba2
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,300
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
ee8221f7212eb222c79b8dcfb88d513aad2ddf15
adf4f40bc899775e4f87b40036d8b9ed8be7e847
/chapter_03/exercises/greeting.py
5e43278a36b84cd0b47ab44fdc81c5b049187846
[]
no_license
ltsuda/python-crash-course
7473ff150214fc7d7370fa7cebfd009d1a2746e7
d153929229c071ce4733a68410220f621719983f
refs/heads/master
2020-06-23T19:14:07.967109
2019-09-03T01:00:14
2019-09-03T01:12:53
198,728,349
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
names = ['chris', 'maka', 'leandro'] print(f'The first name in the list is {names[0]}') print(f'The last name in the list is {names[-1]}')
[ "leonardo.tsuda@icloud.com" ]
leonardo.tsuda@icloud.com
4a77df5b8c2b09a7a235b60d8d7a36c558c4f1d0
1df82fa8ef888b74fb9095c9ade89e16895366b1
/14.Lambdas and Buit In Functions - Exercise/03. Multiplication.py
c04346d3cb290fa33e44cdde67bdb53e43bbb9cc
[]
no_license
filipov73/python_advanced_january_2020
868eb4bc365f7774c373183760e7ac584e1bd20c
a5e24190ee08bd1a0534dc04f91a5ba1927d1b19
refs/heads/master
2020-11-26T14:07:12.423309
2020-02-23T15:20:13
2020-02-23T15:20:13
229,097,988
1
0
null
null
null
null
UTF-8
Python
false
false
136
py
num = int(input()) list_ = [int(x) for x in input().split()] result = map(lambda x: x * num, list_) print(" ".join(map(str, result)))
[ "m_filipov@yahoo.com" ]
m_filipov@yahoo.com
86ff63b94e72ffb5a1207a33fb869f5c5fbe46f7
3bb8b4e9d9b3f38ec4ec8f049c2bb58fce5850ea
/setup.py
352fcb364ae9a12ec1549006b19b704d46994a12
[ "Apache-2.0" ]
permissive
klmitch/vapi
8ae87d1c4032e1b5ae54b50b7bc09e18f3f4e8de
3b8607d15723a6258ede96f607b32bb1ecf885be
refs/heads/master
2021-01-21T23:03:45.998643
2014-09-24T23:02:34
2014-09-24T23:02:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
#!/usr/bin/env python # Copyright 2014 Rackspace # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the # License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
[ "kevin.mitchell@rackspace.com" ]
kevin.mitchell@rackspace.com
85492e471a02ef450052f0f42fe3d28ff42058fb
7e69c60c23fce92463c78774b5968d3320c715c9
/python_net/web_cgi/cgi-bin/botengine.py
76b1f2b939236d3afc24d011cef7790c81f06c16
[]
no_license
hwet-j/Python
5128d114cf7257067f68cfb1db502e4f762ac8cc
3e6f36be665932588a576f44ebb0107a4f350613
refs/heads/master
2023-04-08T17:52:31.607225
2021-04-17T05:25:02
2021-04-17T05:25:02
353,336,473
1
0
null
null
null
null
UTF-8
Python
false
false
2,685
py
import codecs from bs4 import BeautifulSoup import urllib.request from konlpy.tag import Okt import os, re, json, random dict_file = "chatbot-data.json" dic = {} twitter = Okt() # 딕셔너리에 단어 등록하기 --- def register_dic(words): global dic if len(words) == 0: return tmp = ["@"] for i in word...
[ "ghlckd5424@gmail.com" ]
ghlckd5424@gmail.com
b62879c41444d90c6c81d3e6f4d4455793c8acc1
57106b3c8aab1f8a635806c8c15ffdde3f5d6fc2
/22data-mining/frequent_patterns/main.py
939e3a6744ea47a42464c91572bb4ab60bbe4c8c
[ "Apache-2.0" ]
permissive
CoryVegan/python-tutorial
85e6b824d1f6a39b54d1fa84cd57def192f34e20
a7c51593d779f0fc9751c2d6093f80878c4ba5c3
refs/heads/master
2020-03-22T03:22:43.774009
2018-06-28T02:52:14
2018-06-28T02:52:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,092
py
# -*- coding: utf-8 -*- # Author: XuMing <xuming624@qq.com> # Brief: import time from eclat import eclat_zc from freq_utils import loadDblpData, loadData, loadUnixData from apriori import apriori_zc from fp_growth import fp_growth def test_fp_growth(minSup, dataSetDict, dataSet): freqItems = fp_growth(dataSetDict,...
[ "507153809@qq.com" ]
507153809@qq.com
84666edef17c1b5cba6573aa7211aaf13565b74d
d930697cc16f69187c0918524e655ab8259b9806
/src/aux/parsing.py
811773ccfb4605251941ca7c528dd8eb8454f7fc
[]
no_license
tkusmierczyk/badges2
7ff6c6edd8f21f90ec2981ede569c4a7c018a765
7738483c2a732a062007b14286ca2fce6684965a
refs/heads/master
2021-09-22T09:51:08.296245
2018-09-07T15:59:33
2018-09-07T15:59:33
111,401,358
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- def str2value(s): original = s s = s.lower() if s=="t" or s=="true": return True if s=="f" or s=="false": return False try: if int(s)==float(s): return int(s) except: pass try: return float(s) except: pass return original...
[ "you@example.com" ]
you@example.com
c68ef51105c5285f6a7602dbe1e424ed80366edb
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03061/s017722263.py
daf6b30e11b69ac96f03b0ad16f9930e404f4415
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
import math n = int(input()) a = list(map(int,input().split())) L = [0]*(n+1) R = [0]*(n+1) for i in range(n): L[i+1] = math.gcd(L[i], a[i]) R[-2-i] = math.gcd(R[-1-i], a[-1-i]) ans = 0 for i in range(n): G = math.gcd(L[i], R[i+1]) ans = max(ans, G) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
51070f08059bac4f36859b19228d0f0ac977d60c
a80b8d4276140c5d702a651ef1fd4540201ae8eb
/homeworks/hw7/views.py
5b5e8c3e23ff6047fa17d906c1d693c89d25386f
[]
no_license
laky55555/application_security
cc15c7abf8e472634e37ea56fe1b0eb01b6ee060
a81299f2dfbe93e5785720eb7ccb25b9c5c11b18
refs/heads/master
2021-01-23T02:22:51.536155
2017-08-19T16:12:02
2017-08-19T16:12:02
85,986,254
0
0
null
null
null
null
UTF-8
Python
false
false
3,839
py
from django.shortcuts import render from social_django.admin import UserSocialAuth import requests # Create your views here. def index(request): page_title = "Seventh homework" content = "Using OAuth2 from popular social networks"# + '/home/ivan/Dropbox/Faks/5_godina/application_security/homeworks' proble...
[ "laky55555@gmail.com" ]
laky55555@gmail.com
3d9654063e7ca4dd1188f7023431c014a679a192
f3b023931812ca0f37bb9fcaf930b8fda4b8609c
/natsr/dataloader.py
cea9d73ac58ad2f2d8f51d3587cd416908036a94
[ "MIT" ]
permissive
kozistr/NatSR-pytorch
91bbdc31f94f6a32886f922e9825f1a947509886
51b2b5ce9b1fdc0864a299243798a0f78eb7eedc
refs/heads/master
2022-12-07T23:41:59.485090
2022-11-22T09:54:49
2022-11-22T09:54:49
251,505,048
7
3
MIT
2022-11-22T09:54:08
2020-03-31T05:02:47
Python
UTF-8
Python
false
false
4,792
py
import os import random from glob import glob from math import sqrt from typing import List, Optional, Tuple import numpy as np import torch from PIL import Image from torch import cat from torch.utils.data import DataLoader, Dataset from torchvision.transforms import ( Compose, RandomCrop, Resize, ToP...
[ "kozistr@gmail.com" ]
kozistr@gmail.com
54fa847db262c80c74df746853501b408ac95069
bbf9b9a382a427dbf90980f609f7ab14dd0511bc
/day9/ByLinkText.py
2e03bc2356c78fc357be528bc44d57c0c424b807
[]
no_license
aravindanath/MarvelAutomation
b916a73467ec479ecad67be8c268743feea98816
91ae916de90cf0f407eb83ff08ddfb477d8cbea2
refs/heads/master
2021-05-18T07:14:15.533717
2020-06-07T05:52:06
2020-06-07T05:52:06
251,174,725
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
from day8 import LaunchBrowser as lp import time from selenium.webdriver.common.keys import Keys data = "iphone SE2" lp.driver.get("https://www.google.com") lp.driver.find_element_by_link_text("తెలుగు").click() time.sleep(4) lp.driver.find_element_by_name('q').send_keys("news",Keys.ENTER) time.sleep(4) lp.driver.quit(...
[ "aravindanath86@gmail.com" ]
aravindanath86@gmail.com
1ed435bb36804248b862257ae25e0672980fa2c3
8f836e3c4add1af6311abd8c71d517847d29e8f9
/python_learning/python_book_projectsPractice/web_application/homeworks/pizzeria_18_4/pizzas/migrations/0001_initial.py
ff016843b41af2ca9ca7f2800dc4638d5a34dd86
[]
no_license
DanilWH/Python
f6282d5aff5d4fa79c1fd0f0108e6c0c3777a485
b87319409a94e26faf084c22b1eb6a1d55458282
refs/heads/master
2021-01-03T21:23:02.305101
2020-03-11T16:20:27
2020-03-11T16:20:27
240,238,725
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
# Generated by Django 2.2.3 on 2019-07-23 12:38 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Pizza', fields=[ ('id', mod...
[ "danil-lomakin-02@mail.ru" ]
danil-lomakin-02@mail.ru
a98c17ccd06a2ab20d73dde4cff5f5119ea749a8
43cdb5fc4202346394272926b37a0671b0862d42
/winremote/modules/devices.py
27d7e15aff7e6c2ca24ce6a1c3e3ab48d3706dcc
[]
no_license
machacekondra/winremote
2d2b9f9bf94cb8340dbcc49a744d74d37a770a2c
3e79f0f4b37e1a358b45eb22602f44da9068bfee
refs/heads/master
2021-01-10T07:45:16.907796
2016-08-16T10:48:50
2016-08-16T10:48:50
43,779,439
6
3
null
2016-12-02T11:52:45
2015-10-06T21:20:24
Python
UTF-8
Python
false
false
1,767
py
""" This module implements work with devices via WMI. """ def list(session, attributes='Name,ConfigManagerErrorCode'): """ Description: return list of all devices on windows machine :param session: instance of Windows, which hold session to win machine :type session: winremote.Windows :param attr...
[ "omachace@redhat.com" ]
omachace@redhat.com
233cf17b20db9e8da29c2d67bd65024db0765681
d0533b0574494b13606a557620f38f5a2c74ce16
/venv/lib/python3.7/site-packages/sympy/matrices/tests/test_normalforms.py
24475e4b219f83f5338425d08dd3529f0f06a589
[ "MIT", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft" ]
permissive
CatTiger/vnpy
af889666464ab661fb30fdb0e8f71f94ba2d1e41
7901a0fb80a5b44d6fc752bd4b2b64ec62c8f84b
refs/heads/master
2020-09-26T00:37:54.123877
2020-07-13T10:15:46
2020-07-13T10:15:46
226,124,078
0
0
MIT
2020-04-21T03:02:20
2019-12-05T14:44:55
C++
UTF-8
Python
false
false
843
py
from sympy import Symbol, Poly from sympy.polys.solvers import RawMatrix as Matrix from sympy.matrices.normalforms import invariant_factors, smith_normal_form from sympy.polys.domains import ZZ, QQ def test_smith_normal(): m = Matrix([[12, 6, 4,8],[3,9,6,12],[2,16,14,28],[20,10,10,20]]) setattr(m, 'ring', ZZ) ...
[ "guozc@133.com" ]
guozc@133.com
64ec78804a0e924b0fa62b824725c884cdeffb29
eae3d77ac72c168cee7701462f1fc45d7d4dcd91
/start1/1240_단순2진암호코드.py
30d4af020c267c1134e39d99f98595abe3ab4d21
[]
no_license
ByeongjunCho/Algorithm-TIL
ed2f018d50bd2483bd1175ff9bf7e91913c14766
ad79125a1498915fe97c1d57ee6860b06c410958
refs/heads/master
2022-07-19T15:12:23.689319
2020-05-18T08:37:09
2020-05-18T08:37:09
256,399,493
0
0
null
null
null
null
UTF-8
Python
false
false
3,506
py
# def check(N, M): # code = ['0001101', '0011001', '0010011', '0111101', '0100011', '0110001', '0101111', '0111011', '0110111', '0001011'] # code = {code[x]: x for x in range(len(code))} # passwords = [0] * 8 # # 암호가 존재하는 위치 저장 # ys, ye = 0, 0 # 암호 시작, 암호 끝 행 위치 # for i in range(N): # i...
[ "jjgk91@naver.com" ]
jjgk91@naver.com
464fd54ef836816d3e9af6de1a8449fd7e305d75
c6053ad14e9a9161128ab43ced5604d801ba616d
/Lemon/Python_Base/Lesson10_object_20181117/homework_04.py
376628267c6c40688877c51fce0c9b6091931be0
[]
no_license
HesterXu/Home
0f6bdace39f15e8be26031f88248f2febf33954d
ef8fa0becb687b7b6f73a7167bdde562b8c539be
refs/heads/master
2020-04-04T00:56:35.183580
2018-12-25T02:48:51
2018-12-25T02:49:05
155,662,403
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
# -*- coding: utf-8 -*- # @Time : 2018/11/17/13:35 # @Author : Hester Xu # Email : xuruizhu@yeah.net # @File : homework_04.py # @Software : PyCharm ''' 4:按照以下要求定义一个游乐园门票类,并创建实例调用函数, 完成儿童和大人的总票价统计(人数不定,由你输入的人数个数来决定) 1)平日票价100元 2)周末票价为平日票价120% 3)儿童半价 ''' class Ticket: def __init__(self,time,adult_numbe...
[ "xuruizhu@yeah.net" ]
xuruizhu@yeah.net
a1afa2fac8e405059e85a2618a7878c4182aab03
45b644af6d0204ff337bf348c007fd036b0fd113
/0x0B-python-input_output/11-student.py
925d2a83ec4d8aa2b22e33509ed50e7ff56a1261
[]
no_license
jaycer95/holbertonschool-higher_level_programming
b5e7f2e72a9da8242befa0945b2935ceea3a086e
47882b8a4d8b78e09cb372a8b2b85440de2b2d5b
refs/heads/master
2022-12-20T22:31:35.675364
2020-09-24T18:33:21
2020-09-24T18:33:21
259,335,318
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
#!/usr/bin/python3 """ create a student class""" class Student: """ defines a student """ def __init__(self, first_name, last_name, age): self.first_name = first_name self.last_name = last_name self.age = age def to_json(self): return self.__dict__
[ "jacer.dabbabi95@gmail.com" ]
jacer.dabbabi95@gmail.com
399a3d37af431b0d4b7205c68bef93e1a1222c45
edccc564bf3699d7bab9a6b26c369ac85cd32555
/misc/add_func.py
bba74174e82b95aac6210ab30759e4be88be0ecd
[ "LicenseRef-scancode-public-domain" ]
permissive
NAL-i5K/genomics-workspace
7bb609b651b6118d3ce8aa49868d7372f5562956
013f44dd02980d34a00e4e9b667fa8fea6e824c5
refs/heads/master
2023-01-27T20:36:09.871710
2021-02-10T13:48:25
2021-02-10T13:48:25
72,758,632
14
6
NOASSERTION
2023-01-13T22:38:11
2016-11-03T15:20:11
JavaScript
UTF-8
Python
false
false
4,539
py
from blast.models import SequenceType #from blast.models import BlastDb from app.models import Organism import os import sys import requests #from hmmer.models import HmmerDB def display_name(options): try: base_organism = options['Genus_Species'][0].lower().capitalize() + ' ' + options['Genus_Species'][1...
[ "vagrant@localhost.localdomain" ]
vagrant@localhost.localdomain
4f0f69ccaea1e69b949c44d78167b885c304c83b
f125a883dbcc1912dacb3bf13e0f9263a42e57fe
/tsis5/part1/3.py
db2049f558022d1fc5fdf786334b167dba610d5e
[]
no_license
AruzhanBazarbai/pp2
1f28b9439d1b55499dec4158e8906954b507f04a
9d7f1203b6735b27bb54dfda73b3d2c6b90524c3
refs/heads/master
2023-07-13T05:26:02.154105
2021-08-27T10:20:34
2021-08-27T10:20:34
335,332,307
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
# Write a Python program to append text to a file and display the text def f_write(fname): with open(fname,"w") as f: f.write("11111111\n") f.write("22222222\n") txt=open(fname,"r") print(txt.read()) f_write("abs.txt")
[ "aruzhanart2003@mail.ru" ]
aruzhanart2003@mail.ru
06e40101df06c9ccf95a7737360d1f5dd8b2a557
229e1e103bc24dda4d8fef54b762009e19045a45
/configs/nowd/abl/convbn/res101_nl_gc_nowd_innostd_ws1e0.py
0da33195f3bb6184f370e936c48482241eb57950
[ "MIT" ]
permissive
yinmh17/CCNet
c0be71919877c0d44c51cd8fd8ad8f644ef618a6
d5e90fe5ccfa16389fd25bdd3e2160ffe2dfbd22
refs/heads/master
2020-06-18T13:03:46.781284
2019-11-12T06:26:59
2019-11-12T06:26:59
196,311,075
1
1
MIT
2019-07-21T19:48:39
2019-07-11T03:10:01
Python
UTF-8
Python
false
false
1,135
py
model = dict( type='basenet', pretrained='', backbone=dict( type='ResNet', depth=101, num_stages=4, block_num=[3, 4, 23, 3], ), att=dict( with_att=False, type='glore', att_stage=[False,False,True,False], att_pos='after_add', at...
[ "yaozhuliang13@gmail.com" ]
yaozhuliang13@gmail.com
2c2b9eaa06d37224c0965868d3a8b2f6902e69ab
ce32e0e1b9568c710a3168abc3c638d6f9f6c31b
/prod/jobs/refill_binance_spot_bars.py
066b8b16d8c33677259b33a48a960e20cf5c9842
[ "MIT" ]
permissive
msincenselee/vnpy
55ae76ca32cae47369a66bd2d6589c13d7a0bdd4
7f4fd3cd202712b083ed7dc2f346ba4bb1bda6d7
refs/heads/vnpy2
2022-05-19T10:06:55.504408
2022-03-19T15:26:01
2022-03-19T15:26:01
38,525,806
359
158
MIT
2020-09-09T00:09:12
2015-07-04T07:27:46
C++
UTF-8
Python
false
false
4,703
py
# flake8: noqa import os import sys import csv import pandas as pd # 将repostory的目录i,作为根目录,添加到系统环境中。 ROOT_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')) if ROOT_PATH not in sys.path: sys.path.append(ROOT_PATH) print(f'append {ROOT_PATH} into sys.path') from datetime import dateti...
[ "incenselee@hotmail.com" ]
incenselee@hotmail.com
20c7fddfa77a6b8ef7a7fb0847dedd60f878899d
c4a57dced2f1ed5fd5bac6de620e993a6250ca97
/huaxin/huaxin_ui/ui_android_xjb_2_0/credit_card_reserved_pay_page.py
d67aea16c10dd49cdf86b6503a14c6c650015002
[]
no_license
wanglili1703/firewill
f1b287b90afddfe4f31ec063ff0bd5802068be4f
1996f4c01b22b9aec3ae1e243d683af626eb76b8
refs/heads/master
2020-05-24T07:51:12.612678
2019-05-17T07:38:08
2019-05-17T07:38:08
187,169,391
0
0
null
null
null
null
UTF-8
Python
false
false
2,039
py
# coding=utf-8 import time from _common.page_object import PageObject from _common.xjb_decorator import robot_log import huaxin_ui.ui_android_xjb_2_0.credit_card_repay_page RESERVED_PAY="xpath_//android.widget.TextView[@text='信用卡还款']" TRADE_PASSWORD = "xpath_//android.widget.EditText[@resource-id='com.shhxzq.xjb:id/...
[ "wanglili@shhxzq.com" ]
wanglili@shhxzq.com
3c3c3a52869314e48ca1ff01f62c307cf14d182f
0f5cccdf84bb02eafd7e18fbea2f1342bfd48185
/arch/config/cmsis.py
9f2345e3b38598ea5959fb283d3d0cccf0b8bba7
[ "LicenseRef-scancode-unknown-license-reference", "ISC", "LicenseRef-scancode-public-domain" ]
permissive
fb321/csp
c56632611a041d391c241d0ed5f0dc32c7387bed
4963c6933e873073ac4db1837896f5ca087bcd94
refs/heads/master
2020-06-27T13:21:00.675587
2019-06-29T06:04:40
2019-07-02T13:31:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,879
py
"""***************************************************************************** * Copyright (C) 2018 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software * and any derivatives exclusively with Microchip products. It is your * responsibilit...
[ "http://support.microchip.com" ]
http://support.microchip.com
94b209e024d003ffb3534976b6821966ef68c231
3eee3ee3b0dd5b5f50b0c40390fc0dfda36ccf90
/examples/textrnn_classification_demo.py
539ea657a33c75470aa2410ed235370a400b7393
[ "Apache-2.0", "Python-2.0" ]
permissive
shibing624/pytextclassifier
d36f514dee0a01c64a2e57d069344d8505cf2140
daebd31cfbe92606da92f007ffba390475e73b16
refs/heads/master
2023-09-01T05:54:11.775314
2023-08-22T11:23:37
2023-08-22T11:23:37
89,688,656
263
31
Apache-2.0
2023-09-11T12:46:43
2017-04-28T09:04:14
Python
UTF-8
Python
false
false
1,502
py
# -*- coding: utf-8 -*- """ @author:XuMing(xuming624@qq.com) @description: """ import sys sys.path.append('..') from pytextclassifier import TextRNNClassifier if __name__ == '__main__': m = TextRNNClassifier(output_dir='models/textrnn-toy') data = [ ('education', '名师指导托福语法技巧:名词的复数形式'), ('educ...
[ "shibing624@126.com" ]
shibing624@126.com
9b1471a8abc70f359d9fa154e922f6b368d53732
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2904/60641/301110.py
1c0cdc02566ddb95f235e917e0595acde8b346c7
[]
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
169
py
def main(): num = input() if num[0] == "-": print(int("-" + num[:0:-1])) else: print(int(num[::-1])) if __name__ == '__main__': main()
[ "1069583789@qq.com" ]
1069583789@qq.com
fbdedf4bbdf5e1fff6af26c44e1308075f620afb
1989c958e197c782f025e45554d39a3e302b1523
/contact/forms.py
c55d183e7d08116ce3e976f071a435ac4529798d
[]
no_license
Levalife/django_lessons
27f400ddc515102c62de39456b58b364c3ebfb80
0b313089741eb5ba8e6dead105240447585749e3
refs/heads/master
2021-01-13T01:40:05.965881
2013-07-02T10:08:07
2013-07-02T10:08:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
from django import forms class ContactForm(forms.Form): subject = forms.CharField(max_length=100) email = forms.EmailField(required = False, label='Your e-mail address') message = forms.CharField(widget=forms.Textarea) def clean_message(self): message = self.cleaned_data['message'] num_words = len(message.spl...
[ "levushka14@gmail.com" ]
levushka14@gmail.com
7f5cdeff83e1e295b6b20393714452880925c6b7
a65e5dc54092a318fc469543c3b96f6699d0c60b
/Personel/Siddhesh/Python/Mar19/Array4.py
826bf25ff6300f430b57b88d40ae55e6c0e19e92
[]
no_license
shankar7791/MI-10-DevOps
e15bfda460ffd0afce63274f2f430445d04261fe
f0b9e8c5be7b28298eb6d3fb6badf11cd033881d
refs/heads/main
2023-07-04T15:25:08.673757
2021-08-12T09:12:37
2021-08-12T09:12:37
339,016,230
1
0
null
2021-08-12T09:12:37
2021-02-15T08:50:08
JavaScript
UTF-8
Python
false
false
577
py
#Changing and Adding Elements #Arrays are mutable; their elements can be changed in a similar way as lists. import array as arr numbers = arr.array('i',[1, 2, 3, 4, 5, 6 ,10]) #changing first element numbers[0]=0 print (numbers) #changing 3rd to 5th element numbers[2:5] = arr.array('i',[4 ,8 ,9]) print(numbers) ...
[ "shindesiddhesh07@gmail.com" ]
shindesiddhesh07@gmail.com
4cef778c67f1af2bbf43a834f84a4ad272c1d7c0
3d90c79a7337bff78eb663ef8120e8279498155b
/30 Days of Code/Day 28 RegEx, Patterns, and Intro to Databases.py
9b4f935dcfaa5d170c590032372d9ee8ae19e8f3
[]
no_license
ikaushikpal/Hacker_Rank_Problems
b460f7c1d4bf331102239d13a9096ee5cd479d21
72e2f2168e1bcfdd267c9daec6da71d5aa44de52
refs/heads/master
2022-11-18T00:24:28.529594
2020-07-22T11:50:22
2020-07-22T11:50:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
import math import os import random import re import sys if __name__ == '__main__': N = int(input()) id = [] for N_itr in range(N): firstNameEmailID = input().split() firstName = firstNameEmailID[0] emailID = firstNameEmailID[1] if '@gmail' in emailID: id.appen...
[ "iamkaushik2014@desktop.com" ]
iamkaushik2014@desktop.com
5bafd0e38072c72e33f2894a208b8ac1c46f7594
cb4e07b2a5dd30804ce428ec84d9e9f77709fcd5
/swea/D3/SWEA_5201_컨테이너운반_구진범.py
0c1b095c642a35ad82382f12e82dd9555f1aa8cc
[]
no_license
jbsam2/algo_problem
141c17003e88a69afdeea93a723e7f27c4626fdc
18f2cab5a9af2dec57b7fd6f8218badd7de822e4
refs/heads/master
2023-05-18T10:03:00.408300
2021-06-02T10:36:50
2021-06-02T10:36:50
282,104,637
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
for T in range(int(input())): n,m=map(int,input().split());ret=0 w=sorted([*map(int,input().split())],reverse=True) t=sorted([*map(int,input().split())],reverse=True) for i in t: for j in w: if i>=j:ret+=j;w.remove(j);break print(f'#{T+1}',ret)
[ "kbsam2@gmail.com" ]
kbsam2@gmail.com
53882e755a639044d51f4ef49f066bb78922a0b9
7eebbfaee45fdc57c4fc6ba32c87c35be1e62b14
/airbyte-integrations/connector-templates/destination-python/integration_tests/integration_test.py
836df2c8d66ef056068217bc8f8e89be3882e0fb
[ "MIT", "Elastic-2.0" ]
permissive
Velocity-Engineering/airbyte
b6e1fcead5b9fd7c74d50b9f27118654604dc8e0
802a8184cdd11c1eb905a54ed07c8732b0c0b807
refs/heads/master
2023-07-31T15:16:27.644737
2021-09-28T08:43:51
2021-09-28T08:43:51
370,730,633
0
1
MIT
2021-06-08T05:58:44
2021-05-25T14:55:43
Java
UTF-8
Python
false
false
1,171
py
# MIT License # # Copyright (c) 2020 Airbyte # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publ...
[ "noreply@github.com" ]
Velocity-Engineering.noreply@github.com
d0e9940d5b58451bb8468f501adf11de55dca199
8dbb2a3e2286c97b1baa3ee54210189f8470eb4d
/kubernetes-stubs/client/models/v2beta1_resource_metric_status.pyi
37f745aeb5fbb9ef0d7d17bc2065e18e6af5f79a
[]
no_license
foodpairing/kubernetes-stubs
e4b0f687254316e6f2954bacaa69ff898a88bde4
f510dc3d350ec998787f543a280dd619449b5445
refs/heads/master
2023-08-21T21:00:54.485923
2021-08-25T03:53:07
2021-08-25T04:45:17
414,555,568
0
0
null
2021-10-07T10:26:08
2021-10-07T10:26:08
null
UTF-8
Python
false
false
600
pyi
import datetime import typing import kubernetes.client class V2beta1ResourceMetricStatus: current_average_utilization: typing.Optional[int] current_average_value: str name: str def __init__( self, *, current_average_utilization: typing.Optional[int] = ..., current_avera...
[ "nikhil.benesch@gmail.com" ]
nikhil.benesch@gmail.com
933f509f45c0fd0a83dfdb92b9c39cf33d4e37f7
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_QC2595.py
5a64c80e92f317a9578fed16757ba858da82bd83
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,185
py
# qubit number=4 # total number=30 import cirq import qiskit from qiskit import IBMQ from qiskit.providers.ibmq import least_busy from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from ma...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
a636a08716e18c4d09c625704f0d0e10db999f25
ed4910769a51691f222a3e311215b014dc64ae3a
/wagtail/api/v2/filters.py
42411f3c32464a76b5947023760b645c5fef406d
[ "BSD-3-Clause" ]
permissive
mr-const/wagtail
cba2db26a5b370aef2fc5dd41ca0f0ba95bf6536
091e26adfb9e4dc9bdf70be3572c104c356c664d
refs/heads/master
2021-01-13T06:28:51.819517
2016-03-10T15:29:30
2016-03-10T15:29:30
53,587,500
0
0
null
2016-03-10T13:43:50
2016-03-10T13:43:50
null
UTF-8
Python
false
false
7,094
py
from django.conf import settings from rest_framework.filters import BaseFilterBackend from taggit.managers import _TaggableManager from wagtail.wagtailcore.models import Page from wagtail.wagtailsearch.backends import get_search_backend from .utils import BadRequestError, pages_for_site class FieldsFilter(BaseFil...
[ "karlhobley10@gmail.com" ]
karlhobley10@gmail.com
a9f7c3d75ffd672e277c27e70adee3e33c3e9510
8076de02ad53ea7b6328f819ae23e212f3a7d47c
/DXCTraining/Examples/4OOP/Inheritence/first.py
ada7ce1d8a65e48bcc5d991006dd997c7906d4cc
[]
no_license
rhitik26/python
f6013d978cbfc83c211b0e4e9aa92ee43a1b488f
b667c6502c6a1cb58b79ddd9d30a752f92da1f94
refs/heads/master
2020-09-21T12:34:03.869549
2019-11-29T06:28:33
2019-11-29T06:28:33
224,790,343
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
def y(): pass class A: sam='test' class Person: count=0 def __init__(self,name): Person.count+=1 self.name=name def sayHi(self): print('Hi '+self.name) class Emp(Person,A): def __init__(self,name,id): super().__init__(name) self.id=id def sayHi(self): super().sayHi() print('Hello '+self.name) ...
[ "rkhanna36@dxc.com" ]
rkhanna36@dxc.com
c2ac269526081ba4c09e510388a319650a8b9b24
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/Basecamp/CompleteItem.py
14b5086953de1a5f7782bc7413760851d2d6ada6
[ "Apache-2.0", "MIT" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
3,797
py
# -*- coding: utf-8 -*- ############################################################################### # # CompleteItem # Marks a single, specified item in a To-do list as complete. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # ...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
f8feb419c39656afeff8e906cb8a45211147ee2b
f5d1e8b54ddbc51a9ef1b868eee93096d9b0fbeb
/weapp/webapp/modules/cms/models.py
4e7ad86001019d94d76bc9f0a091acc07944b931
[]
no_license
chengdg/weizoom
97740c121724fae582b10cdbe0ce227a1f065ece
8b2f7befe92841bcc35e0e60cac5958ef3f3af54
refs/heads/master
2021-01-22T20:29:30.297059
2017-03-30T08:39:25
2017-03-30T08:39:25
85,268,003
1
3
null
null
null
null
UTF-8
Python
false
false
2,740
py
# -*- coding: utf-8 -*- from datetime import datetime from hashlib import md5 from django.db import models from django.contrib.auth.models import Group, User from django.db.models import signals from django.conf import settings from django.db.models import F from core import dateutil ##############################...
[ "jiangzhe@weizoom.com" ]
jiangzhe@weizoom.com
5955abba13969d2e6dbf080aa32f43a83df0882d
cd257631f442d24d2e4902cfb60d05095e7c49ad
/week-03/day-03/centered_square.py
718aa19f4966f147193973ccae71489f2fde4ccd
[]
no_license
green-fox-academy/Chiflado
62e6fc1244f4b4f2169555af625b6bfdda41a975
008893c63a97f4c28ff63cab269b4895ed9b8cf1
refs/heads/master
2021-09-04T03:25:25.656921
2018-01-15T09:02:47
2018-01-15T09:02:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
from tkinter import * root = Tk() canvas = Canvas(root, width='300', height='300') canvas.pack() # draw a green 10x10 square to the center of the canvas. canvas_width = 300 canvas_height = 300 edge_length = 10 starting_x = canvas_width / 2 - edge_length / 2 starting_y = canvas_height / 2 - edge_length / 2 ending_x...
[ "prjevarabalazs@gmail.com" ]
prjevarabalazs@gmail.com
705a6c711907b2fa6d7884a850e39de847ea32db
d750fb953abda6a965c4f307266b2405ad8c11b1
/programers algorithm/LEVEL2/주식가격.py
3c0fee793a8d39bb540a3b9695a7381a3d96d493
[]
no_license
heaven324/Python
dbe8e57fa7741ab963af239474d108ff9dbdc0c7
065663fe1e5f86c9d08ec645e24b5fde2045fee1
refs/heads/master
2023-05-25T02:06:01.728138
2023-05-17T15:12:08
2023-05-17T15:12:08
188,010,310
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
# solution prices = [1, 2, 3, 2, 3] def solution(prices): result = [] for i in range(len(prices)-1): cnt = 1 for j in range(i+1, len(prices)-1): if prices[i] <= prices[j]: cnt += 1 else: break result.append(cnt) result.append...
[ "wjdtjdgh2005@gmail.com" ]
wjdtjdgh2005@gmail.com
b2b77cda68bc763a8f080a5688d500e6503eeee5
58c8838461101f2252d17824e924ece7e93212d7
/tests/cloudcli/test_server_history.py
6b50c457b3b890abce3ed7070e178294fb14528b
[ "MIT" ]
permissive
imcvampire/kamateratoolbox
9b03ac703c1dd996de3faad5520220d4e7db91f2
372853059c584bb6b80c59efca125e08352def0e
refs/heads/master
2023-02-03T17:23:00.052904
2020-12-22T07:19:17
2020-12-22T07:19:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,421
py
import datetime from ..common import assert_only_one_server_cloudcli, assert_no_matching_servers_cloudcli, get_server_id def test_server_history_only_one_server(cloudcli, session_server_powered_on, session_server_powered_off): assert_only_one_server_cloudcli([session_server_powered_on, session_server_powered_off]...
[ "ori@uumpa.com" ]
ori@uumpa.com
bbf8b5718568d7b9ef2974b393b8ce361eeefe1f
898f547bbeb7d1da27bc40e2d594a363c0d1a75a
/Leetcode Problems/lc1389e.py
bd96f9c3e848960611d528be93d5b379427f98f2
[]
no_license
TerryLun/Code-Playground
4e069e28c457309329f003ea249be83d7578a4a3
708ad69594cf5b9edc9ff1189716cad70916574c
refs/heads/master
2023-06-20T14:03:43.924472
2021-07-23T05:27:48
2021-07-23T05:27:48
237,375,279
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
""" 1389. Create Target Array in the Given Order Given two arrays of integers nums and index. Your task is to create target array under the following rules: Initially target array is empty. From left to right read nums[i] and index[i], insert at index index[i] the value nums[i] in target array. Repeat the previous st...
[ "tianweilun@yahoo.com" ]
tianweilun@yahoo.com
1936160e12db29ad137d1f6effb6db365bd0ad5f
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5634697451274240_0/Python/MReni/RevengeOfThePancakes.py
f0bd9154a41a9e82d73ac0ce8564e51703f16a39
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
5,209
py
import math import collections HAPPY_PANCAKE = '+' UNHAPPY_PANCAKE = '-' # pancake_min_flips = None # pancake_map = {} # {pancake: {value: value, parents}} pancake_value_map = {} #{pancake: steps to final} pancake_parent_map = {} #{pancake: [parent1, parent2]} super_parent = "" def all_happy(pancakes): return (UNHA...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
aba1814fbd4b650bf347f3f9336a1f8bc4df1fea
a7146e71459408498cc6b735935ba508a2e43c90
/examples/long_running_with_tm/long_running_with_tm/models.py
262843b6b4672b04747ee8cce37579b9fca74d95
[ "MIT" ]
permissive
timgates42/pyramid_celery
8ae5ed583696a35c35ddb1589a77444bec6362f6
cf8aa80980e42f7235ad361874d3c35e19963b60
refs/heads/master
2023-03-15T23:17:01.816146
2021-02-24T02:40:04
2021-02-24T02:40:04
251,593,921
0
0
NOASSERTION
2020-03-31T12:18:55
2020-03-31T12:18:55
null
UTF-8
Python
false
false
390
py
from sqlalchemy import ( Column, Integer, Text, ) from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import ( scoped_session, sessionmaker, ) DBSession = scoped_session(sessionmaker()) Base = declarative_base() class TaskItem(Base): __tablename__ = 'tasks' id = C...
[ "sontek@gmail.com" ]
sontek@gmail.com
6661c970ed8204123d5f74af8add6e78011ed805
75275e1cd5ef1a5dddd5fdcb82db03fdf1b609d3
/lib/ansible/modules/cloud/alicloud/alicloud_slb_vsg_facts.py
f191838ff20a57f9e843348e165ea5a4860f141c
[ "Apache-2.0" ]
permissive
jumping/ansible-provider
bc8b2bc51aa422de89d255ba1208ba8e8ae8f0be
067ce1aa4277720bc481c2ba08e3d1b408b8f13c
refs/heads/master
2020-03-13T21:30:50.287049
2018-04-27T13:12:23
2018-04-27T13:12:23
131,297,789
0
0
Apache-2.0
2018-04-27T13:12:24
2018-04-27T13:07:37
Python
UTF-8
Python
false
false
7,586
py
#!/usr/bin/python # Copyright (c) 2017 Alibaba Group Holding Limited. He Guimin <heguimin36@163.com.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms...
[ "guimin.hgm@alibaba-inc.com" ]
guimin.hgm@alibaba-inc.com
800eb0325b5ed7eb9f9f40151ce5297efa61fbbd
bab4f301ff7b7cf0143d82d1052f49e8632a210e
/98. Validate Binary Search Tree.py
bc811609d234bd06fd090df9f688e7930a212199
[]
no_license
ashish-c-naik/leetcode_submission
7da91e720b14fde660450674d6ce94c78b1150fb
9f5dcd8e04920d07beaf6aa234b9804339f58770
refs/heads/master
2020-04-05T05:12:03.656621
2019-06-08T17:30:22
2019-06-08T17:30:22
156,585,497
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
# 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 isValidBST(self, root): """ :type root: TreeNode :rtype: bool """ def valid(r...
[ "ashishnaik121@gmail.com" ]
ashishnaik121@gmail.com
23d4e5aa40696d6550bcbaa74f288227bb8f13b0
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/ir/inference/test_groupnorm_act_pass_fuse_pass.py
c9f821b21d4e93fb3e366f54c555278279cf2643
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
4,554
py
# Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
5d2f65939d336b320d6390d414834f0d5e24b0be
2ce3ef971a6d3e14db6615aa4da747474d87cc5d
/练习/CMB/02_03 string_test/string_test_lyh.py
153d9a8d0141a302596cb45801712394292ac494
[]
no_license
JarvanIV4/pytest_hogwarts
40604245807a4da5dbec2cb189b57d5f76f5ede3
37d4bae23c030480620897583f9f5dd69463a60c
refs/heads/master
2023-01-07T09:56:33.472233
2020-11-10T15:06:13
2020-11-10T15:06:13
304,325,109
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
import re string1="LiuYongHua" def reverse_string(str): revers_str=str[::-1] revers_list=[] for i in range(len(revers_str)): if revers_str[i]==revers_str[i].upper(): revers_list.append(revers_str[i].lower()) else: revers_list.append(revers_str[i].upper()) return '...
[ "2268035948@qq.com" ]
2268035948@qq.com
42b65f1d1f9cc2d93d1e76c4b9d4e9c9f6f48bba
22956a21b0b3ffe69c5618a7ef53683e4f73b483
/busstopped-gae/lib/wtforms/__init__.py
954ff22aba94d1172ff9785c67c417f1fb682cc4
[]
no_license
humitos/bus-stopped
b397c3c47d8bd4b0b713389b3a0f47b7aa573762
e49e6ce0b20ebc5f19fb7374216c082b0b12a962
refs/heads/master
2021-01-17T05:53:51.795324
2011-03-28T15:11:27
2011-03-28T15:11:27
1,435,952
1
0
null
null
null
null
UTF-8
Python
false
false
408
py
""" WTForms ======= WTForms is a flexible forms validation and rendering library for python web development. :copyright: Copyright (c) 2010 by Thomas Johansson, James Crasta and others. :license: BSD, see LICENSE.txt for details. """ from wtforms import validators, widgets from wtforms.fields import * from wtforms.fo...
[ "humitos@gmail.com" ]
humitos@gmail.com
380f5cd110c93d9c0100e713830642b815bad83d
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/51/usersdata/82/21229/submittedfiles/listas.py
9397d4c26e6dfec440597fe791ca4bf0c5754c4b
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
# -*- coding: utf-8 -*- from __future__ import division import math def maiorDegrau(a): for i in range (0,len(a)-1,1): degrau = math.fabs(a[i]-a[i+1]) if degrau>maiorDegrau: maior=maiorDegrau return a=[] n = input ('Digite o valor de n:') for i in range (0,n,1): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d0087db78a7bc3a955916ca6d7840764df89d2e4
27acd9eeb0d2b9b6326cc0477e7dbb84341e265c
/test/vraag4/src/yahtzee/43.py
d64a07e55e549fa6d710248f28ee87831f6d9bf7
[]
no_license
VerstraeteBert/algos-ds
e0fe35bc3c5b7d8276c07250f56d3719ecc617de
d9215f11cdfa1a12a3b19ade3b95fa73848a636c
refs/heads/master
2021-07-15T13:46:58.790446
2021-02-28T23:28:36
2021-02-28T23:28:36
240,883,220
1
1
null
null
null
null
UTF-8
Python
false
false
628
py
def histogram(stenen): histogram={} stenen.sort() for element in stenen: aantal=stenen.count(element) histogram[element]=aantal return histogram def max_gelijk(stenen): max=0 for element in stenen: aantal=stenen.count(element) if aantal>max: max=aanta...
[ "bertverstraete22@gmail.com" ]
bertverstraete22@gmail.com
5c3c7c56558b2a063516442c59fdfda684584660
f8eefef177c4794392ddbad008a67b10e14cb357
/common/python/ax/kubernetes/swagger_client/models/v1_config_map_volume_source.py
fd67a4624e8f6be40321995d40eca7c9cc399a89
[ "Apache-2.0" ]
permissive
durgeshsanagaram/argo
8c667c7e64721f149194950f0d75b27efe091f50
8601d652476cd30457961aaf9feac143fd437606
refs/heads/master
2021-07-10T19:44:22.939557
2017-10-05T18:02:56
2017-10-05T18:02:56
105,924,908
1
0
null
2017-10-05T18:22:21
2017-10-05T18:22:20
null
UTF-8
Python
false
false
6,776
py
# coding: utf-8 """ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class V1Config...
[ "elee@applatix.com" ]
elee@applatix.com
60c9c060f101e760e8b9acf844231a85212ed025
4ad94b71e30883d6df07a3277265bd6fb7457ba7
/python/examples/working_with_datasets/polygons2.py
5f0987ea17d5e5bedab0c3c064af72fa075101de
[ "MIT" ]
permissive
Tecplot/handyscripts
7cb1d4c80f323c785d06b0c8d37aeb0acb67f58c
84a89bfecff5479a0319f08eb8aa9df465283830
refs/heads/master
2023-08-22T15:29:22.629644
2023-08-12T01:19:59
2023-08-12T01:19:59
149,826,165
89
64
MIT
2022-01-13T01:11:02
2018-09-21T22:47:23
Jupyter Notebook
UTF-8
Python
false
false
4,514
py
"""Polygonal Finite-element Data Creation (Part 2) This script creates a quad of two triangles just as in Part 1, however they are placed into two different zones. Boundary connections are then made to stitch the two triangles together. The data created looks like this:: Node positions (x,y,z): ...
[ "55457608+brandonmarkham@users.noreply.github.com" ]
55457608+brandonmarkham@users.noreply.github.com
be9b797e8c84eb118ee2d5bd847543beea765636
548f9594d6634b4f814d8ee3fa9ea6fb8c612bda
/examples/simple/config/config_local.py
51dcfb603619572c6ab622b9334849a25034ad28
[]
no_license
wp-fei/algorithm-base
994a10a94c11a2ccc0e076fc76d5d12612832349
a54d8a192e364b02514cf1119761d0cb41790d9b
refs/heads/master
2023-08-19T06:36:59.142576
2021-10-14T03:48:31
2021-10-14T03:48:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
""" 本地环境配置 """ enable_calllimit = False PORT = 8000 workers = 2 # max_requests = 2 # max_requests_jitter = 1 # preload_app = False # keepalive = 2 timeout = 100 # 固定日志位置,不要修改日志目录 # accesslog='logs/access.log' # errorlog='logs/error.log' # accesslog='logs/faccess.log' # errorlog='logs/ferror.log' APP_NAME = 'simp...
[ "pengxu.hpx@alibaba-inc.com" ]
pengxu.hpx@alibaba-inc.com
335ef4cdde8d85825c1c527334f631a489ffa8db
00b762e37ecef30ed04698033f719f04be9c5545
/scripts/test_results/pipenv_test_results/conflicts/1_test_project_expected.py
d299260e39f9888bddc99b106636343d37d0a55c
[]
no_license
kenji-nicholson/smerge
4f9af17e2e516333b041727b77b8330e3255b7c2
3da9ebfdee02f9b4c882af1f26fe2e15d037271b
refs/heads/master
2020-07-22T02:32:03.579003
2018-06-08T00:40:53
2018-06-08T00:40:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,834
py
# -*- coding=utf-8 -*- import io import pytest import os from pipenv.project import Project from pipenv.utils import temp_environ from pipenv.patched import pipfile @pytest.mark.project @pytest.mark.sources @pytest.mark.environ def test_pipfile_envvar_expansion(PipenvInstance): with PipenvInstance(chdir=True) as ...
[ "srhee4@cs.washington.edu" ]
srhee4@cs.washington.edu
bb4982fbff64c4005c1bd748e6ca93e826ddc357
c04acaa6ee9c6a7c365e217bc78039fa9c77833e
/my_apps/web/migrations/0002_auto_20160913_0025.py
d61f89d3bc2746ac0e88efdd2c9d5907f5c0832d
[]
no_license
danielhuamani/django-la-cuzquena
0386800d640b224d94b0fac2d83f999b60d7da85
a6f4aaf44775b27328d073a65f1d0f50eff51fad
refs/heads/master
2020-12-05T04:51:01.077860
2016-09-17T13:56:58
2016-09-17T13:56:58
67,900,351
0
0
null
null
null
null
UTF-8
Python
false
false
6,232
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-09-13 05:25 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import filebrowser.fields class Migration(migrations.Migration): dependencies = [ ('web', '0001_initial'), ] ...
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
d56b4958a050b2475eab08b22b64f06f36724f1c
c0973d6939ef419ed3d261d95167d537499a553a
/tests/test_forex_strategy.py
34ee96c1d1ee8c48e63da8ba1979bb1dabdcf0dc
[ "MIT" ]
permissive
mj3428/OnePy
0c6e4be9b4bb36ae66b566dfa85cd44bae2a07de
8dc13fc21502daa5786aecaa4451ccba32fc8a14
refs/heads/master
2020-04-05T10:28:33.550915
2018-11-08T04:07:05
2018-11-08T04:07:05
134,518,682
0
0
MIT
2018-05-23T05:38:12
2018-05-23T05:38:11
null
UTF-8
Python
false
false
5,956
py
from collections import defaultdict import OnePy as op from OnePy.custom_module.cleaner_talib import Talib class DemoTestStrategy(op.StrategyBase): def __init__(self): super().__init__() self.params = dict(sma1=25, sma2=9) self.set_params(self.params) d...
[ "chenjiayicjy@126.com" ]
chenjiayicjy@126.com
036fab2dffd9e95949f40381d15eede2b578ec55
000f57fa43ecf9f5353ca80ced3ad505698dbecb
/imagelib/images/admin.py
a94d0a8d37ef907f4ed79f5c646191a01efdafd6
[]
no_license
kamal0072/imagegallary
846e9ef43f6e0c42c98a4a4ad5cb22faef295936
91effde764710fd9bfc31b7dec238d143833e31e
refs/heads/master
2023-05-02T07:32:35.805297
2021-05-21T05:35:05
2021-05-21T05:35:05
359,541,161
1
0
null
null
null
null
UTF-8
Python
false
false
182
py
from django.contrib import admin from .models import MyImage @admin.register(MyImage) class MyImageAdmin(admin.ModelAdmin): list_display=['id','first_name','photo','date']
[ "hasan.kamaal0072@gmail.com" ]
hasan.kamaal0072@gmail.com
2225a843e02ca5a21e862f98265377310449758d
cd90bbc775cbce9a7e0bc46cbb9437e3961e587f
/misc/advent/2017/23/b.py
4d6d170eea60181e64e6b15187262a04afe567f4
[]
no_license
llimllib/personal_code
7b3f0483589e2928bf994184e3413f4b887e1f0c
4d4662d53e0ac293dea8a4208ccca4a1f272e64a
refs/heads/master
2023-09-05T04:02:05.075388
2023-09-01T12:34:09
2023-09-01T12:34:09
77,958
9
16
null
2023-08-16T13:54:39
2008-11-19T02:04:46
HTML
UTF-8
Python
false
false
1,685
py
from collections import defaultdict import sys def go(inp): registers = defaultdict(int) registers['a'] = 1 instructions = list(i.strip() for i in inp) ptr = 0 i = 0 muls = 0 while ptr < len(instructions): if i % 1000000 == 0: pass #print(registers) ...
[ "bill@billmill.org" ]
bill@billmill.org
35971ac7e0caac70225bae1f0be790575d72bcc8
1be0090ac65ee3c4ad12c9152886169d15fd6d0d
/tests/test_shelter.py
17ad185362119c38c433f2483fbbc094c649d1f4
[]
no_license
jreiher2003/Puppy-Adoption
ec652a5df68fd428605fc154b2e6fb1bf0f5d752
0d0bea549d174d903db9de1ca5be79412f333ea3
refs/heads/master
2021-01-10T09:26:38.652807
2016-04-03T18:32:17
2016-04-03T18:32:17
51,519,990
1
0
null
null
null
null
UTF-8
Python
false
false
2,836
py
import unittest from base import BaseTestCase from app.models import Shelter class TestShelterCase(BaseTestCase): def test_shelter_new_page(self): response = self.client.get('/new-shelter', content_type='html/text') self.assertEqual(response.status_code, 200) self.assertIn(b'Add a shelter'...
[ "jreiher2003@yahoo.com" ]
jreiher2003@yahoo.com
c5cf16f641ee307011a7892379838fa61d48d9d0
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/55af9580d6a61621d0d6de6e2bbfd43d14841968ee1dd01113aeb5bd2473a4cc/pyexpat/model.py
e5b10af34a44317d9c92488636663935e2daa366
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
523
py
# encoding: utf-8 # module pyexpat.model # from C:\Users\Doly\Anaconda3\lib\site-packages\tables\indexesextension.cp37-win_amd64.pyd # by generator 1.147 """ Constants used to interpret content model information. """ # no imports # Variables with simple values XML_CQUANT_NONE = 0 XML_CQUANT_OPT = 1 XML_CQUANT_PLUS = ...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
acd76f51af16046ea805a215a3013626165e5c91
e440cbf65b3b3a390d851df876ecb859ddaf2c5b
/marl/environments/particles/multiagent/scenarios/simple_spread.py
df3cdec30af0fe28579adbe711aea76c550598db
[ "MIT" ]
permissive
wangjie-ubuntu/badger-2019
9ead42f9f4d4ebf2a74f02cf0a53de88cbe96a43
ccd8f428ad8aafad24f16d8e36ea31f6ab403dda
refs/heads/master
2022-08-12T07:49:36.928571
2020-01-07T16:04:33
2020-01-07T16:04:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,012
py
import numpy as np from marl.environments.particles.multiagent.core import World, Agent, Landmark from marl.environments.particles.multiagent.scenarios.custom.configurable_scenario import ConfigurableScenario class Scenario(ConfigurableScenario): """ Cooperative Navigation task in the https://arxiv.org/pdf/1706.0...
[ "jaroslav.vitku@goodai.com" ]
jaroslav.vitku@goodai.com
43b7e368be72ded30b0f5741ec6aaeae9d297fc1
e535f59053b545b493c93c9945aa054ad1335178
/tests/test_scripts/test_gen_namespace.py
eedf7912de2a7e4ff6f8882cfc227d6842658f13
[ "CC0-1.0" ]
permissive
pabloalarconm/linkml
9308669d5baba2a2c60fe79f31f737e87ed59295
5ef4b2f0e89698ffc0db693fdba68d1306438749
refs/heads/main
2023-08-25T14:41:58.419628
2021-10-02T02:04:06
2021-10-02T02:04:06
411,990,387
0
0
CC0-1.0
2021-09-30T08:49:50
2021-09-30T08:49:50
null
UTF-8
Python
false
false
1,107
py
import unittest from types import ModuleType import click from linkml.generators import namespacegen from tests.test_scripts.environment import env from tests.utils.clicktestcase import ClickTestCase from tests.utils.filters import metadata_filter from tests.utils.python_comparator import compare_python class GenN...
[ "solbrig@jhu.edu" ]
solbrig@jhu.edu
1440f3b31a140e37da83c49b68ae17d0efb1a5a3
38374bd02b3d88f26e3419fd94cebf292fa8460a
/jecta.py
175470b3eb92aea6391e5733f7f49d8026c0433d
[]
no_license
thisismyrobot/jecta
fa6a78624a7f33f9804f297e377eb5ab9c84f85d
53339112229b35f24df1d30abac695e904276c12
refs/heads/master
2020-05-18T18:19:40.011909
2010-01-20T03:45:31
2010-01-20T03:45:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,136
py
import gtk import signals import widgets import gobject import database class Jecta(object): """ The Jecta application. """ def __init__(self): #create signals gobject.type_register(signals.Sender) gobject.signal_new("jecta_data_received", signals.Sender...
[ "rwallhead@gmail.com" ]
rwallhead@gmail.com
fd2c3d282da1505204c3bfa937bae13dff575513
cb69392e87f4faa67adb45b8f7937d834922dc60
/rl_utils/actor_critic.py
45ffb2478732af03108fa9b9cb5a871c1d06f36d
[]
no_license
maxme1/rl
76c65a363f9d735af70ede4d3bf5b39e61a5ab41
d0506d96f30884259b88222a00b60f56d2b8e7a3
refs/heads/master
2021-01-24T13:28:26.617952
2020-05-04T13:13:58
2020-05-04T13:13:58
123,175,509
0
0
null
null
null
null
UTF-8
Python
false
false
2,037
py
import torch import torch.nn.functional as functional from torch.autograd import Variable from torch import nn from rl_utils.interfaces.base import to_var from rl_utils.utils import View def calculate_loss(agent, memory, prepare_batch, gamma, entropy_weight, value_weight): states, actions, rewards, done = prepar...
[ "maxs987@gmail.com" ]
maxs987@gmail.com
a1ef391297dbf1e19b7dd5ada859142e7a247bfb
2c38c2ea0328b75ba96a36346f71bd8ddeda3d35
/qa/cancel_direct_offline.py
93b77931436d654efd4d1274206fca4b23f65979
[ "MIT" ]
permissive
TheButterZone/openbazaar-go
c6b76e6b7d4cb608f09c6f4dd5d62b97d5b1758d
afa185e7a929eb4ee659c53859a73b1dd53b3ae0
refs/heads/master
2021-06-27T06:24:54.645852
2017-09-09T03:21:30
2017-09-09T03:21:30
102,985,074
1
1
null
2017-09-09T21:08:08
2017-09-09T21:08:08
null
UTF-8
Python
false
false
7,643
py
import requests import json import time from collections import OrderedDict from test_framework.test_framework import OpenBazaarTestFramework, TestFailure class CancelDirectOfflineTest(OpenBazaarTestFramework): def __init__(self): super().__init__() self.num_nodes = 3 def run_test(self): ...
[ "chris@ob1.io" ]
chris@ob1.io
20743807dd344294a34fe1864a3dfc8fd8b498f9
745e6021a466797a04435cc4060836c955985b89
/apps/tickets/models.py
088b985aef25e7db82c4887619e2575e91c95e2b
[]
no_license
anykate/ticketapi
f32cf5ed31065afab76a5765f583115f7e76eca5
de816dea453c4fc5b8fc04f9296c9e0ab91749aa
refs/heads/master
2020-07-03T03:00:15.230698
2019-08-11T16:31:34
2019-08-11T16:31:34
201,763,827
0
0
null
null
null
null
UTF-8
Python
false
false
1,922
py
from django.db import models import uuid from django.contrib.auth.models import User from django.utils.text import slugify # Create your models here. def generate_ticket_id(): return str(uuid.uuid4()).split("-")[-1] # generate unique ticket id class Category(models.Model): name = models.CharFie...
[ "aryamane.aniket@gmail.com" ]
aryamane.aniket@gmail.com
be5c5e9e4c35cc10ddd8cbc5b8d36c8c0df48973
9680ba23fd13b4bc0fc3ce0c9f02bb88c6da73e4
/Brian Heinold (243) ile Python/p10611b_sınav.py
a7c32a2bf1b3f9310b20a51945735eec99e834d5
[]
no_license
mnihatyavas/Python-uygulamalar
694091545a24f50a40a2ef63a3d96354a57c8859
688e0dbde24b5605e045c8ec2a9c772ab5f0f244
refs/heads/master
2020-08-23T19:12:42.897039
2020-04-24T22:45:22
2020-04-24T22:45:22
216,670,169
0
0
null
null
null
null
ISO-8859-9
Python
false
false
759
py
# coding:iso-8859-9 Türkçe teklif1 = "Sayın " teklif2 = "\n\nSize yeni Platin Artı İkramiyeli kartımızı %47.99 gibi\nçok özel bir tanıtım indirimiyle sunmaktan gurur duyuyorum.\n" teklif3 = ", böyle bir teklif kimseye her gün pek sık yapılmaz;\nbu yüzden +90-800-314-1592 ücretsiz numaramızı hemen\naramanızı şiddet...
[ "noreply@github.com" ]
mnihatyavas.noreply@github.com
7e7b6b0a507848ab4173ff7b66c5f17459c3d342
8130c34d546c323d6d5d2ca6b4a67330af08828f
/.history/menu_app/views_20210104161734.py
1036941bea0c7c7320204735b5813ff6004c6e42
[]
no_license
lienusrob/final
ba2dad086fc97b21b537ef12df834dfadd222943
f2726e31f1d51450e4aed8c74021c33679957b28
refs/heads/master
2023-02-15T01:36:54.463034
2021-01-07T12:47:05
2021-01-07T12:47:05
327,279,792
0
0
null
null
null
null
UTF-8
Python
false
false
3,812
py
from .models import Cart, CartItem, MenuItem, ItemsCategory, Order, generate_order_id from account_app.models import Profile from .forms import AddToCartForm from django.views.generic import ListView from django.shortcuts import render, get_object_or_404, redirect from django.urls import reverse from django.utils ...
[ "lienus.rob@hotmail.de" ]
lienus.rob@hotmail.de
91603cf08d37714b4e52f6dd5ab7176a319eee9d
038131f491c44ff30e9f403cb46ff5e5c91a5528
/amuse_util/data/__init__.py
b5a3ed9db49480c30fe8fd7fee51a4dee234e689
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nstarman/amuse_util
3d94ec44f21d5bf0da8b97c50c90f180245fecc1
5086b5db10fe96e3d797a5ed59b76fefb41a61b1
refs/heads/master
2023-04-07T11:43:19.697900
2021-06-25T18:54:18
2021-06-25T18:54:18
239,362,836
2
1
NOASSERTION
2021-06-25T18:54:19
2020-02-09T19:39:31
Python
UTF-8
Python
false
false
1,039
py
# -*- coding: utf-8 -*- # see LICENSE.rst # ---------------------------------------------------------------------------- # # TITLE : Data # AUTHOR : Nathaniel Starkman # PROJECT : amuse_util # # ---------------------------------------------------------------------------- """Data Management. Often data is packaged...
[ "nstarkman@protonmail.com" ]
nstarkman@protonmail.com
0a1ddca836a6ecb459147efae425ba4ceb743d4d
db68e4cf7ae7c9880aecdcee48c8b41aecc6eb65
/torch/distributions/gamma.py
d9db0d8883e0f9463883409e8db28837eb9a4149
[ "BSD-2-Clause" ]
permissive
mbp28/pytorch
175c8e1821dd6e4fda9d1d3f9e2edbd604bf4150
d450895a74b84672b02f3fbbaa7ccbdd9b6a3335
refs/heads/master
2021-01-25T09:08:33.799198
2017-12-14T17:31:58
2017-12-14T17:31:58
93,779,621
0
0
null
2017-06-08T18:26:15
2017-06-08T18:26:15
null
UTF-8
Python
false
false
1,814
py
from numbers import Number import torch from torch.autograd import Variable, Function from torch.autograd.function import once_differentiable from torch.distributions.distribution import Distribution from torch.distributions.utils import expand_n, broadcast_all class _StandardGamma(Function): @staticmethod d...
[ "adam.paszke@gmail.com" ]
adam.paszke@gmail.com
dfd950972cd9f6e06897317ef128b10a9abaf3ea
0f9f8e8478017da7c8d408058f78853d69ac0171
/python3/l0114_flatten_binary_tree_to_linked_list.py
bb97c41a16aab1a7c00df25c40d8b7ddb637cd41
[]
no_license
sprax/1337
dc38f1776959ec7965c33f060f4d43d939f19302
33b6b68a8136109d2aaa26bb8bf9e873f995d5ab
refs/heads/master
2022-09-06T18:43:54.850467
2020-06-04T17:19:51
2020-06-04T17:19:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
from common import TreeNode import common class Solution: def flatten(self, root: TreeNode) -> None: """ Do not return anything, modify root in-place instead. """ def flatten_and_return_end(root: TreeNode) -> TreeNode: if not root: return None ...
[ "zhoulv82@gmail.com" ]
zhoulv82@gmail.com
ce9c98fb960f27a183c05a296f22d83dfe5b8df4
ef3a7391b0a5c5d8e276355e97cbe4de621d500c
/venv/Lib/site-packages/caffe2/python/ideep/conv_transpose_test.py
be35dbd8a38205287c81fd5bdb172505e25bed67
[ "Apache-2.0" ]
permissive
countBMB/BenjiRepo
143f6da5d198ea6f06404b4559e1f4528b71b3eb
79d882263baaf2a11654ca67d2e5593074d36dfa
refs/heads/master
2022-12-11T07:37:04.807143
2019-12-25T11:26:29
2019-12-25T11:26:29
230,090,428
1
1
Apache-2.0
2022-12-08T03:21:09
2019-12-25T11:05:59
Python
UTF-8
Python
false
false
2,701
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import unittest import numpy as np from hypothesis import assume, given, settings import hypothesis.strategies as st from caffe2.python import core, workspace import caffe2.python.hypothesis_test_util as hu im...
[ "bengmen92@gmail.com" ]
bengmen92@gmail.com
22f210847b373c906655532a6d7e88e2ba23996e
e25dca25850ee8ee4ff929cba26ad66bfc6f15bb
/slowedml/phylip.py
9fd44efaa6e268a049b531a3634bd36fb64ad3cf
[]
no_license
argriffing/slowedml
704db5a4d15b8a5b5eb464e480bc7dd45ad56dc5
02907cd08210e4cf550885eb42ec5372b0f45c72
refs/heads/master
2021-01-01T17:52:02.647617
2013-02-19T16:34:12
2013-02-19T16:34:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,501
py
""" Read a tiny subset of phylip interleaved alignment files. """ def read_interleaved_codon_alignment(fin): """ Yield columns of the alignment. This function is not as stream-oriented as its interface may suggest. In particular, it eats tons of memory for no good reason. @param fin: a stream open...
[ "argriffi@ncsu.edu" ]
argriffi@ncsu.edu
0e34cbf3b1e05ed06cc5806383597034a2a8b89e
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5662291475300352_0/Python/Astrae/1C.py
6537ddd1a9860397cfa68b4bd67388263edcca3f
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
3,074
py
# -*- coding: utf-8 -*- """ Created on Fri Apr 10 21:34:08 2015 @author: Fred """ import numpy as np def main(ifn='C-small-1-attempt0.in',ofn='output.txt'): with open(ifn) as inf: # ouvre l'input et le renomme en inf with open(ofn,'w') as ouf: # crée l'output...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
0d408e89af86671233cb41aa984c3d6dcb8a796c
e72ff96f633d065d23d16f550f0f7efc8901e10c
/blog/migrations/0001_initial.py
7f6a73d3cac557af73584b5dc07e3005f01e3c4f
[ "MIT" ]
permissive
mhadiahmed/eCommerce
5e9801978a62829e27566bfbc358cc3e2bb600ae
68e6013d7d66b2a44e256b65956c507bdd7d1bd1
refs/heads/master
2021-01-19T11:08:51.437886
2018-08-28T15:08:34
2018-08-28T15:08:34
87,930,716
2
1
null
null
null
null
UTF-8
Python
false
false
2,227
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-01-04 19:47 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations...
[ "mhadiahmed63@gmail.com" ]
mhadiahmed63@gmail.com
5bc79658513a89728f29d61dcd7edb8969d4b19e
bcf74743a974159566d2d6a1a4158088a64df760
/wcivf/apps/people/migrations/0010_auto_20170306_1206.py
11dff493427a935a0ac0823cf8d0b7bb3d7f99b0
[]
no_license
madcsaba/WhoCanIVoteFor
16d8b946f236358285de34c9248cde81be15433c
bb658e3f7f705fe81265149d1a50e33ba04c3fec
refs/heads/master
2021-04-06T20:19:20.254734
2018-03-12T10:30:08
2018-03-12T10:30:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-06 12:06 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('elections', '0015_auto_20170304_1354'), ('people', '0009_auto_20170303_1823'), ] op...
[ "sym.roe@talusdesign.co.uk" ]
sym.roe@talusdesign.co.uk
5dfa55cdd8c387c3fe142aa742ed535aea613cf9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/299/100765/submittedfiles/minha_bib.py
a1cc038e961e8aaf3777812018c47bdcb9fef29c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
2,608
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO def sorteio(x,y): import random sort=random.randint(0,2) if sort==0: return(0) if sort==2: return(2) def sorteio2(x,y): import random sort=random.randint(0,2) if sort==0: return(0) if sort==2: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
68ce3ac1f75f709080e7a2848a47b98cf44a14ce
c426f4d6f7e5b9f9a6527ae48b2a8932f6e9a000
/mayan/apps/storage/admin.py
072790cdd14a67e38c195d64ac8f06a24de0519f
[ "Apache-2.0" ]
permissive
telsch/Mayan-EDMS
208d6dbc08e2fa76f3132c8761f247e02768333e
5f2bdfbf1f3d109e403b2d1f3f81b79bdb9cc35f
refs/heads/master
2023-03-21T13:02:40.721699
2021-03-14T05:02:54
2021-03-14T05:02:54
254,727,379
0
1
null
2020-04-10T20:15:32
2020-04-10T20:15:31
null
UTF-8
Python
false
false
280
py
from django.contrib import admin from .models import SharedUploadedFile @admin.register(SharedUploadedFile) class SharedUploadedFileAdmin(admin.ModelAdmin): date_hierarchy = 'datetime' list_display = ('file', 'filename', 'datetime',) readonly_fields = list_display
[ "roberto.rosario@mayan-edms.com" ]
roberto.rosario@mayan-edms.com
ecd4f5beea18b9c1d6195018fcc353f0c32f5dbf
c7b669b7352c9eee3d17f9e57b2fc0df0907f3eb
/Day01/ex06/my_sort.py
fba457e1793d06ff3df89dfcb97e89091546e0d6
[]
no_license
m1n-q/django-inside
89da9514c7b4d6d2d883df720b317ce4ea536590
9b70915cd798285de096974f9eb271f338756250
refs/heads/main
2023-07-18T00:18:15.327135
2021-09-02T09:22:31
2021-09-02T09:22:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
def sort_name(): d = { 'Hendrix': '1942', 'Allman': '1946', 'King': '1925', 'Clapton': '1945', 'Johnson': '1911', 'Berry': '1926', 'Vaughan': '1954', 'Cooder': '1947', 'Page': '1944', 'Richards': '19...
[ "m1n_q@naver.com" ]
m1n_q@naver.com
934096cedb5dd7e57b0fe700e2d0d53edde2c14a
da85d4caf3e5e1c9df8839fafd51f960f02daadd
/FabricUI/_version.py
df068b6b98498c361cd2a5f5a6b5c6ac6cdc9472
[ "Apache-2.0" ]
permissive
shuaih7/FabricUI
6efe58f3dbefebbd49607094a28bf2d7bc9314ca
6501e8e6370d1f90174002f5768b5ef63e8412bc
refs/heads/main
2023-04-13T10:07:42.090043
2021-04-13T02:55:12
2021-04-13T02:55:12
314,152,777
1
0
null
null
null
null
UTF-8
Python
false
false
192
py
""" package version """ VERSION_TAG = "1.0.0" __version__ = VERSION_TAG def print_version(): """ Print full version information """ print("FabricUI version: {0}".format(VERSION_TAG))
[ "shuaih7@gmail.com" ]
shuaih7@gmail.com
c896e55601b73e9c564bb1308954f7f623f82312
e44169033ae1dd01397b5ceeccb84ee6fc7a0009
/challenge5/shiyanlou/shiyanlou/spiders/github.py
1d4243d0864ba0a909fa0ffca404952c01495a62
[]
no_license
Yao-Phoenix/data_challenge
6d4f7bf666c92bdc19c04cdfd4d17ba8767a6056
287ae2c1b786596b0c9b5a36d54426e38970ba76
refs/heads/master
2021-02-20T23:55:41.852331
2020-03-31T02:19:05
2020-03-31T02:19:05
245,347,232
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
# -*- coding: utf-8 -*- import scrapy from shiyanlou.items import ShiyanlouItem from scrapy.linkextractors import LinkExtractor from scrapy.spider import Rule class GithubSpider(scrapy.spiders.CrawlSpider): name = 'github' allowed_domains = ['github.com'] start_urls = ['https://github.com/shiyanlou?tab=rep...
[ "493867456@qq.com" ]
493867456@qq.com
449bf91a1aa96f17143c3ca9ec1f7cc62665bbc9
3562aee827438794ec17250f033818fa699d9c56
/config/settings/local.py
166824d1e6eeb7bd8df3b95e2a43af9cd26e27af
[ "MIT" ]
permissive
feastkl-app/attendance-tracker-v2
509d51142a9882e7b591b1349bce944bf2274f55
38670cbf6e1f1a44becc94fb3c90ec33fda68b9b
refs/heads/master
2021-05-02T03:47:35.547933
2018-02-10T04:49:21
2018-02-10T04:49:21
120,903,586
0
0
null
null
null
null
UTF-8
Python
false
false
2,039
py
""" Local settings for Attendance Tracker v2 project. - Run in Debug mode - Use console backend for emails - Add Django Debug Toolbar - Add django-extensions as app """ from .base import * # noqa # DEBUG # ------------------------------------------------------------------------------ DEBUG = env.bool('DJANGO_DEBU...
[ "rpebenito@xyber.ph" ]
rpebenito@xyber.ph
7521983485a9ed8ab0dbbdc43354ae8de7901ef3
a2eaa3decc385dea227da8a99203f767f32cf941
/scientific_expedition/call_to_home.py
514d1f866aac2f91ffa05e36acff4c7404569275
[]
no_license
vlad-bezden/py.checkio
94db32111eeeb2cd90c7b3c4606ea72cf2bb6678
6cd870ca3056cc9dcdce0ad520c27e92311719b3
refs/heads/master
2021-07-01T18:39:35.955671
2020-10-05T00:56:38
2020-10-05T00:56:38
93,111,389
0
1
null
null
null
null
UTF-8
Python
false
false
2,912
py
"""Call to Home https://py.checkio.org/en/mission/calls-home/ Nicola believes that Sophia calls to Home too much and her phone bill is much too expensive. He took the bills for Sophia's calls from the last few days and wants to calculate how much it costs. The bill is represented as an array with ...
[ "vlad.bezden@gmail.com" ]
vlad.bezden@gmail.com
c8a369c28a65789362fbf679e7d7872192bb9b8e
e21837ee462fb31a088bd903ecdbb96631020d0a
/Arcade/The core/Forest Edge/concatenateArray.py
dcf7dcfd033db1a5cb4ec723c39db8792f792b53
[]
no_license
delta94/Code_signal-
7965ee96a858425c65c7a51a47833d80c8e6d8d3
1383a528b4353b7b8db4a6634ea0caa2b5895f9d
refs/heads/master
2020-07-31T05:38:22.158742
2019-04-12T18:46:16
2019-04-12T18:46:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
""" Given two arrays of integers a and b, obtain the array formed by the elements of a followed by the elements of b. Example For a = [2, 2, 1] and b = [10, 11], the output should be concatenateArrays(a, b) = [2, 2, 1, 10, 11]. """ def concatenateArrays(a, b): return a + b
[ "noreply@github.com" ]
delta94.noreply@github.com
44eb9d21029ed8f03f9e1da60e1eca309c0cd116
a70da47d4a09865bf6c44b8d61069c2724cdc9a4
/friendface/web/external.py
29f7f98911492854bd69af5dd5c3b88bfab24078
[ "BSD-2-Clause" ]
permissive
eblade/friendface
f1251fd59894c2330567e3872c565049c2c13471
152e7d743cf7a4f75c95a24176127e901cfcb652
refs/heads/master
2021-01-15T15:30:58.870507
2016-01-19T07:55:51
2016-01-19T07:55:51
48,060,039
0
0
null
2016-01-19T07:33:43
2015-12-15T18:00:41
JavaScript
UTF-8
Python
false
false
1,122
py
# -*- coding: utf-8 -*- from bottle import HTTPResponse from .api import Api class ExternalApi(Api): def __init__(self, session, app): self.session = session self.app = app # Set Up External Endpoints app.route('/m/<message_id>', 'GET', self.get_message_by_id) app.route(...
[ "johan@egneblad.se" ]
johan@egneblad.se
3c6719eb8f4251d97d68d4d931cb3d06c0651282
3de87aebbd1db2b1a241415d169e4d338216975d
/tests/filter_integration_tests/test_filters_with_mongo_storage.py
ada988c2f1602bb7d1285a65a7b018f3fe8c2f74
[ "BSD-3-Clause" ]
permissive
SeppPenner/ChatterBot
42543b49343ac7336371ddbf5dbd70177b2725c1
4a1201c0697ebc787cbf348e372ced1fdceb4efb
refs/heads/master
2021-05-11T07:37:56.466278
2020-02-20T08:58:38
2020-02-20T08:58:38
118,025,056
1
0
BSD-3-Clause
2020-02-20T08:58:39
2018-01-18T19:00:50
Python
UTF-8
Python
false
false
981
py
from tests.base_case import ChatBotMongoTestCase class RepetitiveResponseFilterTestCase(ChatBotMongoTestCase): """ Test case for the RepetitiveResponseFilter class. """ def test_filter_selection(self): """ Test that repetitive responses are filtered out of the results. """ ...
[ "gunthercx@gmail.com" ]
gunthercx@gmail.com
50af79ea848568965634294186fcface1d2ec00d
5a1f77b71892745656ec9a47e58a078a49eb787f
/8_Cloudrip_Mountain/413-Medic_School/medical_school.py
89f7c27ff1d706f7e9c4bb89b27fe72157f9d8c4
[ "MIT" ]
permissive
ripssr/Code-Combat
78776e7e67c033d131e699dfeffb72ca09fd798e
fbda1ac0ae4a2e2cbfce21492a2caec8098f1bef
refs/heads/master
2020-06-11T20:17:59.817187
2019-07-21T09:46:04
2019-07-21T09:46:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
def startsWith(phrase, word): if len(word) > len(phrase): return False for i in range(len(word)): if phrase[i] != word[i]: return False return True def onHear(event): if startsWith(event.speaker.id, "Exp"): potion = pet.findNearestByType("potion") if potion:...
[ "katik.hello@gmail.com" ]
katik.hello@gmail.com
181382f3f67c9810cdef2e21360bfe18a6ffac71
8df87b22b2689b93bbe418f2a7c7a69a2bebbd90
/other_solutions/exception2.py
c0caeb7214d4bb038af405a05f0b4ef331c03595
[]
no_license
SHUHAIB-AREEKKAN/automate_boring_stuff-Solutions
e3f25ec85e5a2b99f431430081c55c12c09c007b
5df77b8b41d43f442671dd9595313f80c88be1d0
refs/heads/master
2021-01-25T08:27:42.810089
2017-06-08T15:43:28
2017-06-08T15:43:28
93,765,978
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
def spam(inputs): return 42 / inputs try: print(spam(2)) print(spam(3)) print(spam(0)) print(spam(4)) except ZeroDivisionError: print("occured zero division error")
[ "homeshuhaib@gmail.com" ]
homeshuhaib@gmail.com
69cbebcc23d85d8a69d474bc7321a1c3cd7515e4
bc28f8fe941caf281261afa1641868e743ecb5ab
/Commonlounge/ZCO12001.py
f10af53a2fed4813735914c2dbd168b8f2dafbd9
[]
no_license
anubhavshrimal/CompetitiveProgrammingInPython
9fc6949fb3cd715cfa8544c17a63ffbe52677b37
2692c446d49ec62d4967ed78a7973400db7ce981
refs/heads/master
2021-07-05T08:17:15.182154
2018-05-29T02:26:25
2018-05-29T02:26:25
60,554,340
7
6
null
2021-05-24T17:46:16
2016-06-06T19:18:27
Python
UTF-8
Python
false
false
721
py
n = int(input()) seq = input().split() depth = 0 start_index = 0 curr_seq = 0 # maximum depth value max_depth = 0 # start index of max depth depth_start = 0 # maximum sequence length max_seq_len = 0 # start index of max sequence max_seq_start = 0 for i, b in enumerate(seq, start=1): if b == '1': depth...
[ "anubhavshrimal@gmail.com" ]
anubhavshrimal@gmail.com
a1a63d340e315a9235d8ab66fb99ae5cbec6881f
f6c40808efe1cf9e5f2c76a29a1dd1bf86df8d4d
/prism/code_gen.py
77e98eddfaae72979089800d4f65eb489f600553
[]
no_license
sahabi/versynth
55709f3a19ab229f9a995830a47add83f9cc6fc4
9983344c03a1ee887d9b145655497b9862663212
refs/heads/master
2021-07-21T00:03:52.295043
2017-10-31T20:01:56
2017-10-31T20:01:56
109,047,869
0
0
null
null
null
null
UTF-8
Python
false
false
3,998
py
x_size = 4 y_size = 4 prism_code = "mdp\n" prism_code += "module grid\n" prism_code += " o_state : [0..{}] init 0;\n".format((x_size-1)*(y_size-1)) #prism_code += " a_x : [0..{}];\n".format(x_size-1) #prism_code += " a_y : [0..{}];\n".format(y_size-1) def stay(i,j,role): return "({0}_state' = {state})".for...
[ "sahabi@gmail.com" ]
sahabi@gmail.com
8b7797c26c13e1431cec28e5848ed994de0e8abc
f7dd190a665a4966db33dcc1cc461dd060ca5946
/venv/Lib/site-packages/django/core/management/commands/startproject.py
28867788a63c8555e1302fde581cfed0a80073fb
[]
no_license
Darwin939/macmeharder_back
2cc35e2e8b39a82c8ce201e63d9f6a9954a04463
8fc078333a746ac7f65497e155c58415252b2d33
refs/heads/main
2023-02-28T12:01:23.237320
2021-02-02T17:37:33
2021-02-02T17:37:33
328,173,062
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
from django.core.management.templates import TemplateCommand from ..utils import get_random_secret_key class Command(TemplateCommand): help = ( "Creates a Django project directory structure for the given project " "name in the current directory or optionally in the given directory." ) mis...
[ "51247000+Darwin939@users.noreply.github.com" ]
51247000+Darwin939@users.noreply.github.com
58a6d22d2cdddb49ec012d5c542d653ca9e1b958
2038ede147bf85734f64f7be110e64db0725c0d3
/gerapy/server/core/config.py
5d0205438643bf0d32473c81797ccc644e5cdeec
[ "MIT" ]
permissive
hantmac/Gerapy
24d17388af57208113199657b7c9c30fe1513b0b
41b1221dba2b89b89ca98f6bfbcc045cafdac469
refs/heads/master
2020-04-26T01:51:19.997122
2019-06-03T03:10:58
2019-06-03T03:10:58
173,216,808
0
0
MIT
2019-03-01T01:51:31
2019-03-01T01:51:30
null
UTF-8
Python
false
false
327
py
import configparser from os.path import join def config(path, section, option, name='scrapy.cfg', default=None): try: cf = configparser.ConfigParser() cfg_path = join(path, name) cf.read(cfg_path) return cf.get(section, option) except configparser.NoOptionError: return d...
[ "cqc@cuiqingcai.com" ]
cqc@cuiqingcai.com
00bfd978db46af137fd5ad6cca417d3e8013d999
c65319b258ce8c629bb11d31ed62f77a134c448a
/plugins/uvwgen/UVWGenExplicit.py
d9eb9a9bede36d3de02814a843d108946d5dfa13
[]
no_license
Zaurio/vb30
cacf3c254eaa7337e35e95572dfa2b83d4899ea9
3d75476c99a3dc91dec226bfb87f01aa598b0824
refs/heads/master
2020-04-05T23:31:26.220823
2015-06-22T12:03:09
2015-06-22T12:03:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,438
py
# # V-Ray For Blender # # http://chaosgroup.com # # Author: Andrei Izrantcev # E-Mail: andrei.izrantcev@chaosgroup.com # # 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 Free Software Foundation; either version 2 # of the...
[ "andrei.izrantcev@chaosgroup.com" ]
andrei.izrantcev@chaosgroup.com
901e7e049f8ca3cfa56f942c4c0861432e4ad6ed
e63ab09f227459380c317aa1694cffd04255c807
/cheshire3/web/oai_utils.py
21df4073e90df00a0f54a32261ab276d67906c4c
[ "ICU", "X11" ]
permissive
bitwhite/cheshire3
91a0d2f8d2e79ac277ac4f7a3bea9efa911ce3d6
ca27bc2600d217e36a429ccfe064f11d9b200193
refs/heads/master
2021-05-27T03:50:09.456813
2013-10-10T13:47:16
2013-10-10T13:47:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,915
py
import sys import urllib import datetime from lxml import etree from cheshire3.record import LxmlRecord # cheshire3.web package from cheshire3.web.www_utils import cgi_encode from cheshire3.web.sru_utils import fetch_data # oaipmh package from oaipmh.common import Header NS_OAIPMH = 'http://www.openarchives.org/OAI...
[ "info@cheshire3.org" ]
info@cheshire3.org
7c1a3cc65ce60f6935f521faff84138422688e97
51f2492a5c207e3664de8f6b2d54bb93e313ca63
/codejam/2018-qualification/b-gen.py
ab3085506c3ea30bcf7c2b081167f31b1478bfea
[ "WTFPL", "LicenseRef-scancode-unknown-license-reference" ]
permissive
abeaumont/competitive-programming
23c5aabd587d7bb15a61efd3428838cb934233dd
a24c9b89941a59d344b51dc1010de66522b1a0dd
refs/heads/master
2023-09-01T09:50:58.267361
2023-07-31T18:00:10
2023-07-31T18:00:10
117,589,708
618
262
WTFPL
2023-07-12T17:36:20
2018-01-15T20:00:56
C++
UTF-8
Python
false
false
297
py
#!/usr/bin/env python3 # https://codejam.withgoogle.com/2018/challenges/00000000000000cb/dashboard/00000000000079cb # Input generator import random t = 100 print(t) for i in range(t): n = random.randint(3, 100) print(n) print(' '.join([str(random.randint(0, 100)) for j in range(n)]))
[ "alfredo.beaumont@gmail.com" ]
alfredo.beaumont@gmail.com
a906710b0674f1b2a9c5ead838e6511aa3907a37
c3e872e0d019da55317b0ef5993f66bde8a6c021
/model/ppy.py
9d7719c09d775447ae061f2678a63aae17fe6428
[]
no_license
liyonghelpme/wanderEmpire
0a10b4bbf61b89e4e4eeefc59ad794d02682684b
dea41cbabe04edd99c0412ebbc3f5d0f45142f09
refs/heads/master
2016-09-06T06:27:09.366029
2011-09-23T14:25:17
2011-09-23T14:25:17
2,444,406
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
from sqlalchemy import Table, Column class Papayafriend(object): def __init__(self,uid,papayaid,lev,user_kind): self.uid=uid self.papayaid=papayaid self.lev=self self.user_kind=user_kind
[ "liyonghelpme@gmail.com" ]
liyonghelpme@gmail.com