blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
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
777 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
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
e6ea7bdc1c6f23dac55d6c0ae9d0f2a2e1c5f1b0
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_206/1403.py
cd8f0179ab2cba21481621352fc63605c29e8890
[]
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
496
py
for tc in range(1, int(raw_input())+1): d, n = map(int, raw_input().split()) horses = [] for _ in range(n): horses += [map(float, raw_input().split())] horses.sort(key=lambda x:x[0]) ki, si = horses[0] besttime = (d-ki)/si for kj, sj in horses[1:]: if sj >= si: co...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2168f809574633e576c2ef7689a51bbf3b4f3e26
da934e0010380fdc6894063540f61b0ebc2c9ded
/vendor/Twisted-10.0.0/bin/trial
963a9068d8d21d00cc4216c46fec14746361f26d
[ "MIT", "Apache-2.0" ]
permissive
bopopescu/cc-2
ed4f1dfe3c98f476ff619058d99855a16272d36b
37444fb16b36743c439b0d6c3cac2347e0cc0a94
refs/heads/master
2022-11-23T03:57:12.255817
2014-10-02T06:10:46
2014-10-02T06:10:46
282,512,589
0
0
Apache-2.0
2020-07-25T19:36:05
2020-07-25T19:36:05
null
UTF-8
Python
false
false
680
#!/usr/bin/env python # Copyright (c) 2001-2009 Twisted Matrix Laboratories. # See LICENSE for details. ### Twisted Preamble # This makes sure that users don't have to set up their environment # specially in order to run these programs from bin/. import sys, os, string if string.find(os.path.abspath(sys.argv[0]), os...
[ "anotherjesse@gmail.com" ]
anotherjesse@gmail.com
4cef5d8336421abf44a4a33507fbe15b1d682701
33c612f6e2dc8392bd715d47af5e89c28695443a
/Chapter4/10. 역수열/종훈.py
6321a562b90a8b683cfa53ca5ab8b51ae7e1489f
[]
no_license
SaeSimcheon/employee_or_farm
7877f9534ba70b5b0d0206c49d9d116dc89fcb4f
048fb4ab6ed772bf688bfc970d5bcbcc938f52ad
refs/heads/main
2023-07-30T04:15:26.914173
2021-09-16T13:06:52
2021-09-16T13:06:52
353,000,472
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
import sys #sys.stdin = open("input.txt", "rt") n = int(input()) a = list(map(int, input().split())) a.insert(0, 0) seq = [0] * n for i in range(1, n+1): for j in range(n): if a[i] == 0 and seq[j] == 0: seq[j] = i + 1 break elif seq[j] == 0: a[i] -= 1 for x in ...
[ "whdgnsl06@naver.com" ]
whdgnsl06@naver.com
f10b7641de8d23dd895341f8bf2a05daabef62d7
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/seqex/bundle_to_seqex_test.runfiles/pypi__apache_beam_2_9_0/apache_beam/transforms/timeutil.py
6a9fa7f216cbbb4de48f34921e147bf2455781c6
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__apache_beam_2_9_0/apache_beam/transforms/timeutil.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
8219d303ab8c2ed122be1de266341630b31885b6
361250ef12bfb1635cd819775b162cb5d543deb5
/disk_snapshot_service/data_access/session.py
d012d29cbea90a6d8e3b7dfc1be9b8d603507d13
[]
no_license
ShawnYi5/NewDisk
8af050a3986261bdaa5e04a2f647d5ef633eef36
b10bdaa2d3745404b8578f2469933b7fcdaf4b74
refs/heads/master
2020-07-07T01:37:42.259103
2019-08-19T16:04:23
2019-08-19T16:04:23
203,203,683
0
1
null
null
null
null
UTF-8
Python
false
false
1,452
py
import contextlib import sqlalchemy from sqlalchemy import orm db_connect_str = 'postgresql+psycopg2://postgres:f@127.0.0.1:21114/disksnapshotservice' """ 使用scoped_session简化代码 注意:在“业务线程”退出时通过remove释放session;建议使用scoped_session_thread装饰器辅助释放 """ engine = sqlalchemy.create_engine(db_connect_str, echo=False, max_overflow...
[ "yi.shihong@aliyun.com" ]
yi.shihong@aliyun.com
a4b22bef18a30a610c645a2f0f182405100a91d7
a78b1c41fc038703e58d5249a9948fbfd06f8159
/code_nodeperturbation/FM1/sim4/miRNA/miRNA2.py
74df03980ad979988e26edf5bf82242c25511483
[]
no_license
le-chang/DISC1_interactome
15ed1025048e49d5bb6b6bd13eac4f148fe83d04
b517309b8583358220c2a639d4ef5d303bfb0acd
refs/heads/master
2021-02-13T21:00:20.418928
2019-04-24T13:59:50
2019-04-24T13:59:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,319
py
""" Migration simulator It is also a demonstration on how the collector works """ import boolean2 from boolean2 import Model, util from random import choice # ocasionally randomized nodes TARGETS = set( "Migration".split() ) def new_getvalue( state, name, p): """ Called every time a node value is used in a...
[ "noreply@github.com" ]
le-chang.noreply@github.com
7f90aa1d7f347c58238930754d2294b5e93a6689
9be8ccf5c6d28fa6f973b7fe907393c3f5937376
/20200514/a.py
5346fd448e09ba37706dd7fdc23913a108a25a8e
[]
no_license
yuyurun/atcoder
f076a3762367a6f8d540f9f69c728ea01912180f
a23aa93bc92d1c915fe45522d437c8259674c786
refs/heads/master
2021-07-18T14:45:05.318514
2020-10-06T07:49:58
2020-10-06T07:49:58
217,861,014
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
n = int(input()) x = list(map(int, input().split())) print(n) print(a[0])
[ "yuyu1.run@icloud.com" ]
yuyu1.run@icloud.com
9be76d451cbc0f723c160ce5d4e822e764d864d7
7aeec21cbcd5c5353305410936052c23402ebacb
/releases/models.py
ee6cecccf325247f51ea6baba4a5b6aa3f05b92f
[]
no_license
alvarantson/alvarantson
7c531a9e1e5881376692ca8aa9e624af7e528fb2
fe70f5d38424afe4bd480657894c7b39cd9da3cd
refs/heads/master
2023-06-21T22:16:27.854743
2021-07-11T20:24:35
2021-07-11T20:24:35
257,611,397
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
from django.db import models # Create your models here. class Release(models.Model): name = models.CharField(max_length=999) artist = models.CharField(max_length=999) role = models.CharField(max_length=999) youtube_url = models.CharField(max_length=999, blank=True) soundcloud_url = models.CharField(max_length=99...
[ "alvarantson@gmail.com" ]
alvarantson@gmail.com
b7514485d0c078d95b094b3be65a7098cddcce6a
e905abd9bb7bd7017657d0a0c4d724d16e37044c
/.history/article/spiders/ieee_20210208220410.py
8fe019f25abd1ae652f5b4f7d875c89658abb885
[]
no_license
tabdelbari/articles
a8b921841f84fb473f5ed1cdcda743863e6bc246
f0e1dfdc9e818e43095933139b6379a232647898
refs/heads/main
2023-03-05T10:21:35.565767
2021-02-10T13:35:14
2021-02-10T13:35:14
325,654,973
0
0
null
null
null
null
UTF-8
Python
false
false
7,761
py
import scrapy import logging import re from scrapy_splash import SplashRequest, request from article.items import ArticleItem import json class IeeeSpider(scrapy.Spider): name = 'ieee' allowed_domains = ['ieee.org'] lua_script = """ function main(splash, args) assert(splash:go{ splash.a...
[ "abdelbari1996@hotmail.com" ]
abdelbari1996@hotmail.com
52ea88a0c956defbb0703d168a68aff39410e6cf
4ba37e269549dcaedaafa2bf2ae927312260cb95
/lib/misc/__init__.py
c6a3dc646b5d1e63511832c9ec16b4bcf84b8014
[]
no_license
jcccf/memo
127fa4abd518c7ec8c1845421d0b8106e695aef5
80cc39223163c6974c7fce4293ffe6c007dff7c2
refs/heads/master
2016-09-11T03:14:26.545544
2012-04-30T14:52:12
2012-04-30T14:52:12
2,332,384
1
0
null
null
null
null
UTF-8
Python
false
false
81
py
__all__ = ['MDb', 'MFile', 'MProgress', 'MMath', 'MQuote', 'MUtils', 'MSVMLight']
[ "jccccf@gmail.com" ]
jccccf@gmail.com
0109ba034c4f73eeb568da54d27e389255ace8e7
456d4d710a0a596d293a0ca1c9e3ceeadc9e0b66
/pirates/rpc/PiratesRPCHandler.py
97e1fdd2b28f026836cf6ad49f67821422d58f43
[]
no_license
DankMickey/PORSRC
65471a41891f515630f6e7c97e87a082a12a6592
07896684c67758f81216a5bd287441c71b833251
refs/heads/master
2021-01-01T20:02:46.030841
2017-07-10T14:56:27
2017-07-10T14:56:27
98,749,038
0
1
null
2017-07-29T17:36:53
2017-07-29T17:36:53
null
UTF-8
Python
false
false
9,545
py
from pirates.rpc.PiratesRPCHandlerBase import * from otp.distributed import OtpDoGlobals from otp.ai.BanManagerAI import BanManagerAI from pirates.distributed.ShardStatusReceiver import ShardStatusReceiver class PiratesRPCHandler(PiratesRPCHandlerBase): def __init__(self, air): PiratesRPCHandlerBase.__ini...
[ "darktohka@yandex.com" ]
darktohka@yandex.com
e3ef75a508ba90fc123ee8044d93a38eb7d8f52e
2d05050d0ada29f7680b4df20c10bb85b0530e45
/tests/python/contrib/test_bnns/test_onnx_topologies.py
447f48355620ecbdda0595f14d5d186bccd02727
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "Zlib", "LLVM-exception", "BSD-2-Clause" ]
permissive
apache/tvm
87cb617f9a131fa44e1693303aaddf70e7a4c403
d75083cd97ede706338ab413dbc964009456d01b
refs/heads/main
2023-09-04T11:24:26.263032
2023-09-04T07:26:00
2023-09-04T07:26:00
70,746,484
4,575
1,903
Apache-2.0
2023-09-14T19:06:33
2016-10-12T22:20:28
Python
UTF-8
Python
false
false
4,841
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" ]
apache.noreply@github.com
da037d711577bed4dcaa0835e08c993794bba47b
31a220117d429da337a5580db96e2d1bec9f71d9
/tests/unit/test_exectype.py
243f22dcc494fad4b7ea05ef5078941faa178bc2
[ "Apache-2.0" ]
permissive
DavidSanwald/jina
26cc636550d311d82dd442edcdcb5a89b8f2d163
fa2bd79c30c586928a0a77a44b32c5a99d7932bc
refs/heads/master
2022-12-10T01:35:35.322406
2020-09-10T13:33:25
2020-09-10T13:33:25
294,419,727
1
0
Apache-2.0
2020-09-10T13:35:30
2020-09-10T13:35:29
null
UTF-8
Python
false
false
942
py
import pytest from jina.executors import BaseExecutor from jina.executors.indexers import BaseIndexer # BaseIndexer is already registered from jina.helper import yaml assert 'BaseIndexer' in BaseExecutor._registered_class # init from YAML should be okay as well BaseExecutor.load_config('BaseIndexer') BaseIndexer()....
[ "han.xiao@jina.ai" ]
han.xiao@jina.ai
09184960e1b43be3a0b75ea6e1214b5ec1875d4e
2d738afc6ba6f086ec3ef2ada0ec7ce8f1d1ac76
/AUTOREADME.py
6f0c7d27ba103e5b689e96ff4e3b69fa0a0f6db4
[]
no_license
liyu10000/leetcode
2332116f6e91729e9ff3d5b179713e2a56c36348
0171afb25cb555f19dd4b3f707ea3faee6793f4f
refs/heads/master
2021-09-03T04:15:15.402156
2021-08-15T03:13:35
2021-08-15T03:13:35
208,478,434
3
1
null
null
null
null
UTF-8
Python
false
false
1,887
py
import os def scan_files(directory, postfix=None): files_list = [] for root, sub_dirs, files in os.walk(directory): for special_file in files: if postfix: if special_file.endswith(postfix): files_list.append(os.path.join(root, special_file)) ...
[ "yuli00986081@gmail.com" ]
yuli00986081@gmail.com
8936d49744d46dae6b9e6ed12a5ae3b4962fde24
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02682/s700934322.py
b4b3c3a3030e16fd99d2fd0b6ce2cce912cbaecb
[]
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
212
py
def resolve(): A, B, C, K = list(map(int, input().split())) if A >= K: print(K) return if A + B >= K: print(A) return print(A-(K - A - B)) return resolve()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c780302fa26173a7596985f9423159ec8bedea25
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_6360.py
ff319b3e044f22730d4e2e8a8dc445d82dc2568d
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
# Installing oursql on Mac OS Lion successes but import in python fails. **Why?** export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/usr/local/mysql/lib/"
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
4ef4fee794a1cd5dc087747bdb80395d0d8acdad
527fd39d3a1555800c2c32025fdd15fd86ba6672
/Hand_On_Programs/swaping_number.py
438d2b0a24450f4a36927407292619599d547724
[]
no_license
rohanwarange/Python-Tutorials
cfd39551f7ff62bd032946976ba3820474e42405
53d8fb226f94d027ae7999f9678697206d37d83a
refs/heads/master
2023-06-18T10:45:36.884324
2021-07-07T17:44:22
2021-07-07T17:44:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
# swaping number using another variable # a=int(input("Enter The NUmber a : ")) # b=int(input("Enter The NUmber b : ")) # temp=a # a=b # b=temp # print(f"after seaping {a}") # print(f"after swaping {b}") # by using same variable a=int(input("Enter The NUmber a : ")) b=int(input("Enter The NUmber b : ")) a=a+b b=a-...
[ "rohanwarange24@gmail.com" ]
rohanwarange24@gmail.com
9281d222f74546c5ba06a5fa8a9f136e0608f837
a977365234cad283d9f3edc022976a70501c1c41
/API-Auto/testCase/PersonalCenter/test5_48case.py
50edc2e434832a212025d2d4461d1f13fd54bbdc
[]
no_license
quqiao/hezongyy
849f2b9c8a4db562bde5e415ef012ff29c704fd8
cde6805ada979afe0b24911f8c5d0977cfd92e5a
refs/heads/master
2021-08-16T10:20:12.618268
2020-07-23T09:09:07
2020-07-23T09:09:07
205,772,625
0
0
null
null
null
null
UTF-8
Python
false
false
2,884
py
import json import unittest from common1.configHttp import RunMain import paramunittest import geturlParams import urllib.parse # import pythoncom import readExcel from SaveParam.GetParam import UserLoginToken from testCase.user import test1_01case # pythoncom.CoInitialize() import time time.sleep(3) login_xls = readE...
[ "553248560@.com" ]
553248560@.com
e4caa3da2aec367d2b35327ba3e7d15fa66923c1
9c6dcd6964c0bbbc960106736a3adf83f99ae613
/Balatarin/communityvotecounts.py
2b55a0ff0fdda80de33813d941105d2f82810b9e
[]
no_license
Roja-B/Trajectories
5ab065991c34ba74b6951ad090401c0cb14f222b
e1ce1c6ac8095f92853e0ebe7a41eb8a82e7eff2
refs/heads/master
2016-09-05T17:56:45.643404
2013-01-24T03:54:21
2013-01-24T03:54:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
#!/usr/lib/python3.0 ''' This program reads the contingency table and counts total number of votes by each community (K_Ci). The result is needed to compute table of expected values. ''' # 1575232 [0, 0, 1, 0] 1 # 1658496 [0, 0, 1, 0] 1 import sys PATH = sys.argv[1] dirname = sys.argv[2] PATH = PATH+'/'+dirname #PAT...
[ "roja@ucla.edu" ]
roja@ucla.edu
43934af7bec6aa1b83f4ebb9183480bba1b59567
757febbe251d3073123eaa06e3e0c5cb70fa9efc
/krishnacook/urls.py
af59436e8dd346fcf77d192488aeb307e06b19aa
[]
no_license
sant527/krishnacook
0f5298f9b1107ca3230d2b5ced9fc37aa5ad91a6
3fb792fa3da7d9f50411782730b955fa03dc1757
refs/heads/master
2021-01-22T13:52:09.157286
2017-08-18T11:29:58
2017-08-18T11:29:58
100,696,746
1
0
null
null
null
null
UTF-8
Python
false
false
1,978
py
"""krishnacook URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based v...
[ "sant527@gmail.com" ]
sant527@gmail.com
221e25a1836456f44babee1c808cfcc6a96ae985
8359bbd0e2220326ea13f02bdd199248acb42657
/code and data/25. gene_abstract_map.py
47d6585c49fefce61ffa2d8b346aebfbde281beb
[]
no_license
JunaedYounusKhan51/COVID-19Base
8d56e0fac180ce4764eb7b2288be2b727ac763d2
c7686548da152ec2239b21b7196a122a7365c9be
refs/heads/master
2022-11-10T08:30:51.836684
2020-06-30T07:15:07
2020-06-30T07:15:07
262,384,527
1
0
null
null
null
null
UTF-8
Python
false
false
1,320
py
import numpy as np # linear algebra import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) import csv import pickle abstract_paper=pd.read_csv('abstract_paper_for_gene.csv') gene_names = [] # file handle fh fh = open('corona_related_gene_name_from_ABSTRACT_for_gene.txt') while True: ...
[ "noreply@github.com" ]
JunaedYounusKhan51.noreply@github.com
d080e633544f1c5544357ed07a5ed04ed7b1cf7d
634367d6a94d9bce231a8c29cf9713ebfc4b1de7
/covid_dashboard/views/get_district_wise_zone_details/tests/snapshots/snap_test_case_01.py
7641ea52bd91cd6ac907496de753222e8109dd30
[]
no_license
saikiranravupalli/covid_dashboard
5a48c97597983ada36a3bf131edf5ca15f1dedec
954dd02819fb8f6776fa2828e8971bd55efa657c
refs/heads/master
2022-11-08T10:11:27.836507
2020-06-30T09:00:27
2020-06-30T09:00:27
269,610,409
0
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots['TestCase01GetDistrictWiseZoneDetailsAPITestCase::test_case status'] = 200 snapshots['TestCase01GetDistrictWiseZoneDetailsAPITestCase::test_c...
[ "saikiranravupalli@gmail.com" ]
saikiranravupalli@gmail.com
9c6d35c9a6013fa8ff0f7391c5b3abfdd8255a88
a58d930f68712bc9635911af646711201bd1634d
/Lib/site-packages/pymysql/__init__.py
dba28d546e706615f90810b322019d4cdab54e8a
[ "MIT" ]
permissive
kyle8998/AppGen
9999d5d895531ab2dd704e54f016d0e12e74e81a
4cc9e57c85363d41dc39c8a4687c9f6ada103beb
refs/heads/master
2022-12-01T17:06:02.824557
2017-11-20T21:53:23
2017-11-20T21:53:23
84,370,560
2
1
MIT
2022-11-27T00:26:13
2017-03-08T22:05:01
Python
UTF-8
Python
false
false
4,516
py
""" PyMySQL: A pure-Python MySQL client library. Copyright (c) 2010-2016 PyMySQL contributors 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...
[ "kylelim8998@gmail.com" ]
kylelim8998@gmail.com
adef77797580b2ff60a90abb433088f2b504a4c3
e98dc311223aee68b218468d7213259f9b8f3cf5
/old/scn_base/server.py
60b48f0da0ec81331adbe0d7353b89102857782f
[]
no_license
devkral/scn
12a310ea4e01a46f700aed160fbd0bcd00ef2750
cf0585214861ceade4e447de425ff98fc5f09a98
refs/heads/master
2016-09-11T12:22:09.696490
2015-03-12T03:48:13
2015-03-12T03:49:01
22,822,642
2
1
null
2015-03-13T01:21:07
2014-08-11T01:04:37
Python
UTF-8
Python
false
false
20,840
py
import threading import hashlib from scn_base._base import scn_base_base from scn_base._base import sepm,sepc,sepu,min_used_name,max_used_name from scn_base._base import check_hash,check_invalid_message,check_invalid_name from scn_base._base import scnReceiveError #from scn_base._base import scn_check_return #from ...
[ "devkral@web.de" ]
devkral@web.de
7fcf42ddec779d860a5730a025864021f6daa544
ba712bb3e59dc43a8078aa80c93c72f7cd485e91
/031_aggregate_EERs.py
ac921b458528f6e40e19dc437db277962681ff58
[]
no_license
LABSN-pubs/2018-lcn-eeg-phonological-features
4b76e31502af58f6d43ec1104bdd5b7674a0a3e5
0f9c86dc726480456b735d7bb86b288a0d097eb4
refs/heads/master
2020-04-08T17:36:31.155736
2019-01-24T23:11:28
2019-01-24T23:11:28
159,574,362
0
0
null
null
null
null
UTF-8
Python
false
false
2,074
py
#!/usr/bin/env python3 import os import yaml import numpy as np import pandas as pd # file I/O paramdir = 'params' # load subjects with open(os.path.join(paramdir, 'subjects.yaml'), 'r') as f: subjects = yaml.load(f) # load features features_file = os.path.join(paramdir, 'feature-tables', 'all-features.tsv') fe...
[ "dan.mccloy@gmail.com" ]
dan.mccloy@gmail.com
4d7869c21fb9bbcb6c803936bfe2871b229f1cd8
eac7ae395c4832ac394087054ab014d1d6a9f6a6
/python_experiments/data_analysis/aec_algorithm/k_truss_timebreakdown_cuda_algorithms.py
9ba033a7ee74f32bdfef1500a58f8b952a1f2d75
[ "MIT" ]
permissive
mexuaz/AccTrussDecomposition
21be22007e1c50ca4b7df6fbbad1dfbf4c2fffae
15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4
refs/heads/master
2022-12-14T03:41:05.133564
2020-09-03T00:35:33
2020-09-03T00:35:33
291,565,779
0
0
MIT
2020-08-30T22:57:55
2020-08-30T22:57:55
null
UTF-8
Python
false
false
4,935
py
from data_analysis.util.folder_init import init_folder_md_json_file from data_analysis.util.get_configurations import get_config_dict_via_hostname from data_analysis.util.read_file_utils_updated import * from data_analysis.util.parsing_helpers import * from data_analysis.aec_algorithm.local_config.ktruss_exec_tags impo...
[ "yche@cse.ust.hk" ]
yche@cse.ust.hk
95b80c287794b0481dd6b1ea7b8c3f43725ddf6c
c34ca0ab61e6dd5ae10e467531b10333483cb02f
/python/algorithms/permutationEquation.py
12c64a2081a1af963df2dc43b2ada8c3c54c73ed
[]
no_license
ngocyen3006/hackerrank-solutions
8275957d3e5cf5f3172e725f8f8f565852df9b15
4880af713b2d8d369fc8d88f4bd8e11f899dfe61
refs/heads/master
2020-04-03T09:42:36.397300
2019-02-08T07:15:35
2019-02-08T07:15:35
155,173,873
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
# https://www.hackerrank.com/challenges/permutation-equation/problem def permutationEquation(p): n = len(p) y = [0] * n for x in range(1, n + 1): for i in range(n): if p[i] == x: temp = i + 1 for j in range(n): if p[j] == temp: y[x - 1...
[ "ngocyen300693@gmail.com" ]
ngocyen300693@gmail.com
e6119fbe07b4b55c58e4794300ae2d6478d49a7b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_ordinations.py
65ed1479678f220f505a4f639e464f64235b6e09
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
from xai.brain.wordbase.nouns._ordination import _ORDINATION #calss header class _ORDINATIONS(_ORDINATION, ): def __init__(self,): _ORDINATION.__init__(self) self.name = "ORDINATIONS" self.specie = 'nouns' self.basic = "ordination" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
446cde3e6687c7eebe0e85d7fd9d36f2b642443f
f2d2e4fc4237cebca19b7acae50c2acbf047e958
/class.py
d27d2ff9b87f1573887f30f8274a89c32997ba68
[]
no_license
GK-SVG/Hello_py
2eff490536681c64749c8a49cbeddd3febcabf79
648e9e5a53a85d65de6bef2f958a957fa1c646fb
refs/heads/master
2020-11-27T13:01:26.359996
2020-07-11T16:44:09
2020-07-11T16:44:09
229,453,084
2
0
null
null
null
null
UTF-8
Python
false
false
343
py
class Student: def __init__(self , name , roll , fees): self.name = name self.roll = roll self.fees = fees def display(self): print(f'Name : {self.name}') print(f'Roll no. : {self.roll}') print(f'Fees : {self.fees}') student1st = Student("Ashu",26,32000...
[ "gk32239@gmail.com" ]
gk32239@gmail.com
d49ba481af2c5962d60302492ea4f0c87e0bcbc5
1531f1bfe739bd978c5a5bc2ac07a8f5854f982a
/2p 2 string.py
b7d0f27b152133b9f174fcae953e5f6a422ebab7
[]
no_license
liyi0206/leetcode-self-practice
ad8da596e505e000aee8fdea3479269b55d066e3
577e07e6602390bfe6ddd9ab0e12ddc2bc58c0b3
refs/heads/master
2020-12-26T03:10:22.474843
2016-05-26T05:24:56
2016-05-26T05:24:56
59,178,916
0
0
null
null
null
null
UTF-8
Python
false
false
4,898
py
### 2p - slow and fast #3. Longest Substring Without Repeating Characters (*) class Solution(object): def lengthOfLongestSubstring(self,s): p1,p2=0,0 res=0 visited=set() while p2<len(s): if s[p2] in visited: res=max(res,p2-p1) while s[p2]...
[ "ly.protegee@gmail.com" ]
ly.protegee@gmail.com
5f4169892d8849f33db1a1bf59adf791280fc2b5
0617c812e9bf58a2dbc1c1fef35e497b054ed7e4
/venv/Lib/site-packages/pyrogram/raw/base/set_client_dh_params_answer.py
3018b514895c2c7b220e120b3660b59a3528d48a
[]
no_license
howei5163/my_framework
32cf510e19a371b6a3a7c80eab53f10a6952f7b2
492c9af4ceaebfe6e87df8425cb21534fbbb0c61
refs/heads/main
2023-01-27T14:33:56.159867
2020-12-07T10:19:33
2020-12-07T10:19:33
306,561,184
1
0
null
null
null
null
UTF-8
Python
false
false
1,889
py
# Pyrogram - Telegram MTProto API Client Library for Python # Copyright (C) 2017-2020 Dan <https://github.com/delivrance> # # This file is part of Pyrogram. # # Pyrogram is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free...
[ "houwei5163" ]
houwei5163
c06fe50feffeb09f91617a07b1d8ef6de1ca197c
968aedcc9e58d718bb3895f89de5292d8caabe52
/leetcode/Tree/invert-binary-tree.py
f7ca2122915ee921ceaf832f049e1c6a5b760f17
[]
no_license
iCodeIN/competitive-programming-5
0729c9f09f12543455121fc633b051eb68529152
30bfafb6a7727c9305b22933b63d9d645182c633
refs/heads/master
2022-04-14T08:50:19.568207
2019-09-26T14:49:56
2019-09-26T14:49:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
504
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 invertTree(self, root): """ https://leetcode.com/problems/invert-binary-tree/description/ :ty...
[ "10962267+arora-aditya@users.noreply.github.com" ]
10962267+arora-aditya@users.noreply.github.com
77caf2d6d28de6e0a156dcde96968d3e234e6e27
cc0c0f99a5cf563ff52a76f2ac17cdad09d22f01
/venv/Lib/site-packages/itk/itkQuasiNewtonOptimizerv4Python.py
56a6c44c389a6fb5e82b22c616d45ab43043d9d7
[]
no_license
Marxss/carck_detect_system
9c0d338bde322b4c7304fd0addb524d8697c8a7b
d2480f2108052af8af0aa5265a5239c309885043
refs/heads/master
2022-04-15T23:34:20.988335
2020-03-29T16:24:00
2020-03-29T16:24:00
214,625,168
0
0
null
null
null
null
UTF-8
Python
false
false
9,856
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.8 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3, 0, 0): new_instancemethod = lambda func, inst, cls: _itkQ...
[ "274065539@qq.com" ]
274065539@qq.com
5a10e084e1df97b90fc872b5a2aa24de96ac6a33
a6cf2d19fe0df6ea1c5c15579dc3a3f140688e05
/src/participants/client_3.4_aerodynamics.py
730ab69380fc571e85fa1cbd308fc8f344c2cabd
[]
no_license
linjorejoy-msc-project/dds_msc_module
1ad7a4e96e0a91f59bf147ddbed89c4876f76883
5f98c5282791874d34a0d81ac241fe388001e7c7
refs/heads/master
2023-04-09T12:29:50.083634
2022-08-28T18:28:14
2022-08-28T18:28:14
529,946,090
0
0
null
null
null
null
UTF-8
Python
false
false
2,452
py
from objects.Participant import Participant import logging import json config = { "id": "CLIENT_4", "name": "aerodynamics", "subscribed_topics": ["motion", "atmosphere", "field"], "non_essential_subscribed_topics": [], "published_topics": ["drag", "field_update"], "constants_required": [ ...
[ "howyoudoing1618@gmail.com" ]
howyoudoing1618@gmail.com
f6e3ccb0e0ed53c3258820691d45c34fcd8d5166
6301d4aad5010b29af49ed7fe737c963bdc0bbca
/productivediscussion/debate/migrations/0009_debate_number_arguments.py
2f7b87b0959d787d310062cfcf4c9c9458499b6d
[ "MIT" ]
permissive
ztaylor2/productive-discussion
01b3dd4cbdfd6856b40828c3f2207a13ac7dba08
aec31fa0e9ca8187ede46050157701eb3d26129d
refs/heads/master
2021-04-06T19:14:13.080365
2018-05-12T23:32:31
2018-05-12T23:32:31
125,277,946
0
0
MIT
2018-05-11T22:10:40
2018-03-14T21:51:16
Python
UTF-8
Python
false
false
428
py
# Generated by Django 2.0.3 on 2018-05-10 22:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('debate', '0008_debate_description'), ] operations = [ migrations.AddField( model_name='debate', name='number_argumen...
[ "ztaylor2@zagmail.gonzaga.edu" ]
ztaylor2@zagmail.gonzaga.edu
6021478df7b8913d740789a2dd5ade6baedfdcb5
3183057cdadda8e7b6584fc9b97b939fed1f49c8
/pizzarias/migrations/0002_auto_20180522_1636.py
cd42f022059ea97dad23c1ebbef4689eef5544fd
[]
no_license
vintasoftware/palestra-normalizacao-django
88a2922d89ffae1e749421b5400217ffc8c63c6f
7494fa63e5ef22cc62b99f585b4a6db308fe676e
refs/heads/master
2023-08-30T20:51:53.419295
2018-05-24T17:21:56
2018-05-24T17:21:56
134,329,936
6
0
null
null
null
null
UTF-8
Python
false
false
389
py
# Generated by Django 2.0.5 on 2018-05-22 19:36 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pizzas', '0001_initial'), ('pizzarias', '0001_initial'), ] operations = [ migrations.AlterUniqueTogether( name='itemcardapio', ...
[ "flaviojuvenal@gmail.com" ]
flaviojuvenal@gmail.com
4559b50fcd62b39508afb9c9a60e510455f7dfb0
72a62e2da306b9a4476682341dc0b21775c24103
/ranking/visual-train/train.py
a67a3a870ee12642da8c2ca37297c46723778c51
[]
no_license
yuhan210/video-indexing
adcf2ce5a60de4ba1220b3de69bfb062818a9e8a
a0995ddce3ba7380819331efacf9fda281653a2f
refs/heads/master
2020-12-24T19:18:44.838995
2016-05-21T00:27:21
2016-05-21T00:27:21
37,549,672
8
3
null
null
null
null
UTF-8
Python
false
false
1,301
py
from sklearn import linear_model from sklearn.preprocessing import PolynomialFeatures from sklearn.pipeline import Pipeline from sklearn.tree import DecisionTreeRegressor import pickle import os def plot_data(data): return True CLASSES = ['aeroplane', 'bicycle', 'bird', 'boat','bottle', 'bus', 'car', 'cat', 'c...
[ "yuhan210@gmail.com" ]
yuhan210@gmail.com
f262074dd2faf69d0626e158491c8412fe959c78
4dbc4d9c864ac4565193f412d1a2928f34d28da5
/Educational Codeforces Round 91 (Rated for Div. 2)/.history/D_Berserk_And_Fireball_20200714182812.py
be778d15737671436e818375ca34182782d065a2
[]
no_license
TomChan1991/codeforce
91807fd9b62abc48eaed8c0bfac17a38707a2b5c
d23c882d9194ff09f8b41bd76c9cddc3af5c9b21
refs/heads/master
2022-12-08T09:23:05.599194
2020-07-20T13:54:35
2020-07-20T13:54:35
281,128,634
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
import sys inpy = [int(x) for x in sys.stdin.read().split()] n, m, x, k, y = inpy[0:5] a, b = inpy[5:5+n], inpy[5+n:] print(x, 'x') # print(a, b) prei = -1 i, j = 0, 0 res = 0 def remove(l, r): if l > r: return 0 lp, rp = a[l - 1] if l > 0 else 0, a[r + 1] if r + 1 < len(a) else 0 maxV = max(a[l:r ...
[ "chen_yanhua123@126.com" ]
chen_yanhua123@126.com
d0da632798c03aad6aab3ccfb4af8f7a688e4f7e
de9b8b7192a0a81e9249823bb2b86f0b7e452863
/.history/classes/Menu_20171107143120.py
aa6a10f218f817812ef1275028918901e76b0981
[ "MIT" ]
permissive
reecebenson/uwe-dadsa-tennis-a
f5eaeb1b96d4e61f29279514e68eeea8ad6533db
d0763f819b300fcd0ce27041f5bc4ef0519c00bf
refs/heads/master
2023-07-08T16:13:23.963348
2017-11-30T12:07:01
2017-11-30T12:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
# DADSA - Assignment 1 # Reece Benson from collections import OrderedDict class Menu(): # Define the variables we will be using _app = None _menu = None _current_menu = 0 def __init__(self, app): # Set our Application self._app = app def load(self): # Define our Menu ...
[ "business@reecebenson.me" ]
business@reecebenson.me
cb931a6ebba99ddd9246b002409286214ca924c7
17a2234b237d79a257b8b8b493e6fe77e77547bd
/djreact/backend/env/lib/python2.7/encodings/euc_jis_2004.py
cc8e4ff08ee30dc0fd8080bcc78debaf95552434
[]
no_license
Marcandy/python-dances
bec51264f92ca222afbd75e0204573fbf027229a
d268c5feccc2d040304d9b25ac47e055bdcdedfa
refs/heads/master
2020-04-25T02:15:36.752281
2019-03-19T05:42:53
2019-03-19T05:42:53
172,433,227
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
/usr/local/Cellar/python@2/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/euc_jis_2004.py
[ "mnoeljeu@jcp.com" ]
mnoeljeu@jcp.com
992315a75713f180d4215ab2382bea5f3063bcb1
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_lodestones.py
fd238e9e9677bdfc1ead90646074874831d50990
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#calss header class _LODESTONES(): def __init__(self,): self.name = "LODESTONES" self.definitions = lodestone self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['lodestone']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
722dc51dc6229db0491b0d5616c65efb74598d2c
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/dmlc_mxnet/mxnet-master/python/mxnet/random.py
edd2bb4dc6e96b484493429a067fbb7a2f823abf
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
1,077
py
# coding: utf-8 # pylint: disable=no-member, protected-access, unused-import, no-name-in-module """Random Number interface of mxnet.""" from __future__ import absolute_import import ctypes from .base import _LIB, check_call from ._ndarray_internal import _sample_uniform as uniform from ._ndarray_internal import _sampl...
[ "659338505@qq.com" ]
659338505@qq.com
490d5f89b85de997bc7a1c3817baaae4c302b44c
97e5f396e617d16c58e17487306c6909c7571e31
/tests/utils/test_toml_file.py
cba057ca3cd23ff8337db35e5ccee41454cdc444
[ "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "GPL-3.0-or-later", "LGPL-3.0-or-later", "LGPL-3.0-only", "GPL-2.0-only", "Apache-2.0", "BSD-2-Clause", "GPL-2.0-or-later", "GPL-3.0-only", "LGPL-2.1-only", "BSD-4-Clause", "LGPL-2.1-or-later", "MIT" ]
permissive
K900/poetry
0e25c74d3bea286cfd64f0221d8fcfc16e6dcc82
0bb16009144fe9ab713c6c7a306d91458c863f99
refs/heads/master
2020-04-18T06:48:09.060206
2019-04-29T08:40:03
2019-04-29T08:40:03
167,336,884
2
1
MIT
2019-01-24T09:05:47
2019-01-24T09:05:46
null
UTF-8
Python
false
false
1,643
py
import pytest from poetry.utils._compat import Path from poetry.utils.toml_file import TomlFile @pytest.fixture() def fixture(): return Path(__file__).parent / "fixtures" / "test.toml" def test_toml_file(fixture): f = TomlFile(fixture) content = f.read() assert content["title"] == "TOML Example" ...
[ "sebastien@eustace.io" ]
sebastien@eustace.io
be23477813cf5dd1c4cd7e1d0d31f7f691cf443c
d99e5b65624f115db6982dd88af9390e8d766042
/tensorflow/contrib/distributions/python/ops/dirichlet.py
518c12d4fa362f47e5c603bad06ec14230aa99fc
[ "Apache-2.0" ]
permissive
golbin/tensorflow
03dbecb6f093f5628c072086c780659bcc14dba8
8a58a304bdcf909f8b55ec49e9280fc3af01c7d3
refs/heads/master
2021-01-12T07:05:41.360503
2016-12-20T00:15:41
2016-12-20T00:15:41
76,907,006
2
0
null
2016-12-19T23:58:44
2016-12-19T23:58:43
null
UTF-8
Python
false
false
9,380
py
# Copyright 2016 The TensorFlow 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
6223d582e73dc981b4d83bfee95a3a1a272d2387
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/466/usersdata/304/111333/submittedfiles/Av2_Parte2.py
6a555b345ddbc38a2de0849e2ca383e9f6ab511b
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
# -*- coding: utf-8 -*- n = int(input('Digite n: ')) lista1 = [] lista2 = [] lista3 = [] for i in range (0,n): lista1.append(int(input('Digite n: '))) for i in range (0,n): lista2.append(int(input('Digite n: '))) for i in range (0,n): lista3.append(int(input('Digite n: '))) c1 = 0 d1 = 0 s1 = 0 for i ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0ed14200749a55b75e7db4f9f57d4d1a9a560a00
f0a4ba1f1f941092e68e4b1ef9cff0d3852199ef
/파이썬챌린지/6.while루프/50.10과 20사이의 값 입력.py
88fd3b3ec043372828a7280cf1a2125b5c608edf
[]
no_license
lsb530/Algorithm-Python
d41ddd3ca7675f6a69d322a4646d75801f0022b2
a48c6df50567c9943b5d7218f874a5c0a85fcc6d
refs/heads/master
2023-06-18T04:36:09.221769
2021-06-28T16:49:35
2021-06-28T16:49:35
367,775,760
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
num = int(input("Enter number(between 10 and 20): ")) while num <= 10 or num >= 20: if num <= 10: print("Too low") num = int(input("Enter number(between 10 and 20): ")) elif num >= 20: print("Too high") num = int(input("Enter number(between 10 and 20): ")) print("Thank you")
[ "lsb530@naver.com" ]
lsb530@naver.com
889631d21d4d0162e5872981d110178ee9bdeac8
8a286a54913bf6d741d8c307f7427d11747ea134
/PycharmProject/exception handling/raise exception.py
f4e8d18ad4593e8a4e9436e1d7de6dc50bfa0c19
[]
no_license
Jitha-menon/jithapythonfiles
4378d35081f939856ae0e00dddb5578a30b83e9f
d53fde0a020c3020fa958b8d3698600998ed830d
refs/heads/master
2023-08-10T17:03:43.017156
2021-09-15T13:45:01
2021-09-15T13:45:01
402,320,843
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
a=int(input ('enter the 1st num: ')) b=int(input('enter the 2nd num: ')) if b>a: raise Exception('no 2 is greater') else: print(a/b)
[ "jithamenon1994@gmail.com" ]
jithamenon1994@gmail.com
686b1266a4245ef7edf202d2b6cd1c6dc87d650c
edc1ab56fed14891e6ea421ca26660e4a1516349
/scripts/sample.py
75f4b405f6dc94302fffc7d6072f077c45574209
[ "MIT" ]
permissive
ryuichiueda/simple_value_iteration_ros
1fbc979080c84cc05ef3b28d15175e2cda6a200d
8c4380f170e29a4085adb7f3fd6bb440d102dfa8
refs/heads/master
2016-09-13T16:47:10.784990
2016-05-22T14:49:53
2016-05-22T14:49:53
59,384,979
2
5
null
null
null
null
UTF-8
Python
false
false
1,950
py
#!/usr/bin/env python import sys,os import rospy,roslib from simple_value_iteration_ros.srv import * def p(f): n = 0 for line in f: print '\t' + line.rstrip() + '\t', n = n + 1 if n%3 == 0: print '' print '' def do_value_iteration(t_num,init): try: s = ros...
[ "ryuichiueda@gmail.com" ]
ryuichiueda@gmail.com
63fdf4ceb71b8b698c45b370c3bc32b394ad36e5
6929f9696a8f90b3778d449a199cee8891f3f739
/python_core/reverse_iterables.py
ea953c32dc71531a89d1d5daeafe1a4514dcc371
[]
no_license
chemplife/Python
881d492a4271fb2b423f2dd611eaac53a0efdc34
7fdfbf442a915e4f41506503baad4345a52d1e86
refs/heads/master
2022-12-31T20:00:22.475985
2020-10-19T20:14:43
2020-10-19T20:14:43
305,503,403
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
print('------------------ Reverse using Slicing ------------------') print('-------------- way 1 --------------') seq = [3,2,4,1,5,6] print(f'Seq: {seq}') for i in seq[::-1]: print(i, end='\t') print('\n') ''' This is wasteful: 1) Creates a new sequence in reverse and iterate over it. 2) You might be needing on...
[ "ratul.aggarwal@outlook.com" ]
ratul.aggarwal@outlook.com
16c27509b209d768fc5d102973f8364e44a17f53
34c66f0fead8b810529a4da4b5341faf4943ff62
/indic_transliteration/iscii2utf8.py
84201f5940c5b9c6cb1417d03373271dbfd57ca4
[ "MIT" ]
permissive
ChillarAnand/indic_transliteration
51243a69af3c5da3e4bb4044e78e7dbd32815fdb
8c5fe3897f45e66aba825e4565836249bb94d9a4
refs/heads/master
2020-03-06T15:06:22.994045
2018-03-27T07:54:07
2018-03-27T07:56:56
126,948,819
0
0
null
2018-03-27T07:49:29
2018-03-27T07:49:28
null
UTF-8
Python
false
false
19,988
py
#!/usr/bin/env python # released under BSD License # mary <mary@sarai.net> aka meyarivan <self@meyarivan.org> # inspired by ICU [ http://oss.software.ibm.com/icu/ ] # code still in alpha stage.. lots of redundant code.. and probably incorrect # if ya find errors, pls submit bug reports at indlinux # for usage, eit...
[ "vishvas.vasuki@gmail.com" ]
vishvas.vasuki@gmail.com
0cf009e1a558460588d21795c60de86a0a4f6bd9
55628a9a08a6b6646b4a8aa74bedbf2e3fd7d850
/.history/master_20200112000715.py
5198765b348f7293628c3add5e84ad6338ea586f
[]
no_license
StRobertCHSCS/final-project-team
c115dc11b318f7ac782c94860a8801bb558bd107
48907e72813c4dd3b48ff36f794f6fce04533219
refs/heads/master
2020-12-03T22:35:37.833893
2020-01-31T04:05:38
2020-01-31T04:05:38
231,506,873
1
0
null
null
null
null
UTF-8
Python
false
false
4,511
py
''' -make snake longer when eaten -fix player_location lists, so that the list only has the location of the current snake location, not infinite list - fix apple so disappers when you go over it (done) ''' import arcade import random # Set how many rows and columns we will have ROW_COUNT = 29 COLUMN_COUNT = 51 # Th...
[ "clementina1023@gmail.com" ]
clementina1023@gmail.com
21e1aff71452388442e12fe5bc836716f466c7df
9af459e2b6057aca9e30f381c5a7fbeb420a04a9
/my9221_test.py
5498dcce3570d2c065d20ecfa763b54e74756356
[ "MIT" ]
permissive
frederikheremans/micropython-my9221
c50b77362981ceef72ae8ce7943278573a536860
c5876674ba14220449654010667035c7a9e76ad7
refs/heads/master
2020-03-26T23:42:31.272313
2018-08-07T16:17:52
2018-08-07T16:17:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,484
py
from machine import Pin from my9221 import MY9221 # ESP8266 ledbar = MY9221(Pin(4), Pin(5)) # PyBoard # ledbar = MY9221(Pin('X8'), Pin('X6')) # STM32F407VET6 # ledbar = MY9221(Pin('B6'), Pin('B8')) # all LEDS on, full brightness ledbar.level(10) # four LEDS on, half brightness ledbar.level(4, 0x0F) # reverse orie...
[ "mcauser@gmail.com" ]
mcauser@gmail.com
81f78495d57279cf61ffd14fcff76ffcf769cd6f
762742b3c5cb5706e93e12dbdc3f8c46fc65f0db
/Packs/QRadar/Integrations/QRadar_v3/QRadar_v3_test.py
5d7836fea86c7c9414737a042881efb63e86065f
[ "MIT" ]
permissive
EmersonElectricCo/content
018f95f7fe7de13819e093a3661587a18407e348
82c82bbee7d428f0b14991a88c67672e2c02f5af
refs/heads/master
2021-06-17T04:54:22.938033
2021-05-06T16:39:59
2021-05-06T16:39:59
161,693,191
2
0
MIT
2018-12-18T15:16:49
2018-12-13T20:47:26
Python
UTF-8
Python
false
false
46,788
py
""" QRadar v3 integration for Cortex XSOAR - Unit Tests file """ import io import json from datetime import datetime from typing import Dict, Callable import pytest import pytz import QRadar_v3 # import module separately for mocker from CommonServerPython import DemistoException, set_integration_context, Command...
[ "noreply@github.com" ]
EmersonElectricCo.noreply@github.com
698a24a3e0a80d0fd1f7936b380649526572c0f9
8bfaf94d9851d04e9b86b623bf6a81e57e5bfa3a
/BOJ/25_최단경로/1504_특정한최단경로.py
0e584dfa2c1e23d32fd02cc4d6f516b20e6571b9
[]
no_license
wonsgong/TIL_Algorithm
725280856e8b17418c72103156a78ed0550504a4
0a190d0d5018f7f9d7de01d5d18bb11d7c81ad62
refs/heads/main
2023-06-09T04:24:15.227258
2021-06-29T11:27:24
2021-06-29T11:27:24
374,386,197
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
import sys import heapq # 해당되는 부분으로 쪼개서 최단경로를 구해주면 된다. # ans == INF => ans >= INF 로 수정해줌. read = sys.stdin.readline def dji(st,ed) : dist = [INF for _ in range(N+1)] heap = [] heapq.heappush(heap, (0,st)) dist[st] = 0 while heap : cost,cur = heapq.heappop(heap) if dist[cur] < co...
[ "42221106+wonsgong@users.noreply.github.com" ]
42221106+wonsgong@users.noreply.github.com
4b45d34f04cc311c2e62e6e4ea5f994cc6650bee
a138092a4fd0bd46e21fade96fea5dfba7742e20
/unittests/test_storable.py
5735c8b7fc53d5c9266d2b35eeadc9ab91360f80
[]
no_license
DuaneNielsen/CartPoleQ
979c00ca15bbac0719ba9197bedffe829f322561
202b82cf2b04aaa63965277c326413c62f188ed2
refs/heads/master
2020-03-25T07:27:22.651681
2018-09-07T01:40:35
2018-09-07T01:40:35
143,562,021
0
0
null
null
null
null
UTF-8
Python
false
false
2,225
py
from unittest import TestCase from models import AtariConv_v6 from mentality import Storeable from mentality import ModelDb class Restoreable(Storeable): def __init__(self, one, two): self.one = one self.two = two Storeable.__init__(self, one, two) def state_dict(self): return ...
[ "duane.nielsen.rocks@gmail.com" ]
duane.nielsen.rocks@gmail.com
daf3da5bec94bb0fd26d8d8068915ebe975d4b2e
13727ca2e79584443c07d3c5f0dc978130aec552
/scraper1.py
2143f86fce4c5eb69a24ae4b9f8ba1993e8bb511
[]
no_license
hackerway/HackMIT
d2779f6ac74f4524a849f5e154b36f09beda8c7e
7eb8c7cb439195d4e68929756e601f0fb5dee4d5
refs/heads/master
2021-01-17T16:13:17.506734
2013-11-12T18:04:46
2013-11-12T18:04:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
""" You are now my testing ground! """ """ I need to download the photos so that I can use them... """ import urllib, os def download_img(url_list, name): """ download a comic in the form of url = http://www.example.com comicName = '00000000.jpg' """ current_dir = os.getcwd() #print ...
[ "crazcalm@gmail.com" ]
crazcalm@gmail.com
897864c784ea3286e2de6e7c3d3257dcf648f27d
0c5af416848975f2fe015f4cea23aac944409322
/poisonous-plants/poisonous-plants.py
51d337b961017a07f28e044223c7578417c255f2
[]
no_license
jangwoopark/exercises-python
21fe42222a42e4898f6e5526eab27855b46498e1
70de40f63fecf219bd307d6e475bbb82fb682af7
refs/heads/master
2021-05-25T10:03:37.381242
2021-03-26T02:22:08
2021-03-26T02:22:08
127,049,986
1
0
null
null
null
null
UTF-8
Python
false
false
730
py
#!/bin/python3 import math import os import random import re import sys # Complete the poisonousPlants function below. def poisonousPlants(p): stack = [] maxDays = -math.inf for plant in p: days = 1 while stack and stack[-1][0] >= plant: _, d = stack.pop() days = ...
[ "noreply@github.com" ]
jangwoopark.noreply@github.com
77bb000c87bccdae4e966a414069b66b7f7a2334
593dcb88e92ebb845a0433644e081fbdfcc1b2cb
/Networks/zero_rev_ch_filter_parametric_networks/N14_1_32_32_32_f2.py
0f1d885c87b5f6187b761f5094cf846795fe854b
[]
no_license
Kim-YoonHyun/PythonProject
a5cd28aa1e6431e0b9fe1ce30984a05affb91079
22c3f38bcfc3270e69f2b0c0de4c8c4d547e333b
refs/heads/main
2023-07-19T12:08:49.941790
2021-08-17T12:13:05
2021-08-17T12:13:05
389,906,199
0
0
null
null
null
null
UTF-8
Python
false
false
6,745
py
import tensorflow as tf import numpy as np import tf_util def get_model(input_tensor, is_training, bn_decay=None): weight_decay = 0.0 num_point = input_tensor.get_shape()[1].value # get_shape : 텐서의 크기를 확인 first_CNN_channels = [32, 32, 32] second_CNN_channels = [32, 32, 32] third_CNN_channels = [3...
[ "kim_yh663927@naver.com" ]
kim_yh663927@naver.com
8caa1b002be409869de458fb5c3cc2f5665eda57
6a95b330e1beec08b917ff45eccfd6be3fd4629f
/kubernetes/test/test_v1beta1_token_review_status.py
d84fc8466a7de4a536887666ab3085a4969caf27
[ "Apache-2.0" ]
permissive
TokkoLabs/client-python
f4a83d6540e64861b59e322c951380a670578d7f
f1ad9c6889105d8510472606c98f8d3807f82020
refs/heads/master
2023-07-14T01:36:46.152341
2017-12-21T21:32:11
2017-12-21T21:32:11
115,042,671
0
0
Apache-2.0
2021-08-06T03:29:17
2017-12-21T20:05:15
Python
UTF-8
Python
false
false
1,027
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.8.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
5aa43279ede144694414b5cb7a70efe78e198668
de79dd7ff6512318087dade18f90436f2b395ae7
/pubbot/weather/tests.py
6638e9e42f2eb7999f7791b31a8e6d6f7c8407f7
[]
no_license
pubbothq/pubbot
ff893b3fc73fc050e974373d547762ec4683a480
71e5e554ae9331075a114e88949c7118e60dff0e
refs/heads/master
2021-08-10T00:20:25.981547
2015-02-06T16:00:53
2015-02-06T16:00:53
13,468,162
0
0
null
2021-06-10T18:55:55
2013-10-10T10:14:34
Python
UTF-8
Python
false
false
840
py
from unittest import mock from django.test import TestCase from pubbot.weather.models import Point from pubbot.weather.receivers import update_forecast class TestWeather(TestCase): def setUp(self): Point.objects.create(api="some_api_key", lat=0, lon=0) def test_weather(self): with mock.pat...
[ "john.carr@unrouted.co.uk" ]
john.carr@unrouted.co.uk
5ba7f9659f7015bbe8309ff49189e43309fdb2de
1f0fe5369d83f66e09694c9b06502b764f6dbc10
/dobby/models/notifications/carriers/webhook.py
e087009b9cdcaf46064422bfaaffe2bafe7b4bb4
[ "MIT" ]
permissive
DeepSwissVoice/Dobby
150a7f344662f7b3837487ae4273b88c477c1e75
10e9c2579f4f16cad995ba8564128928647cdf58
refs/heads/master
2022-12-20T13:19:39.756188
2018-08-14T16:02:49
2018-08-14T16:02:49
139,873,770
1
0
MIT
2022-12-08T02:16:46
2018-07-05T16:15:14
Python
UTF-8
Python
false
false
1,391
py
import logging from typing import Any, Dict import requests from ..carrier import Carrier, carrier from ..notification import Notification from ....utils import filter_dict log = logging.getLogger(__name__) @carrier("webhook") class WebhookCarrier(Carrier): url: str username: str = "Dobby" def build_m...
[ "siku2@outlook.com" ]
siku2@outlook.com
c9a3eef3ada2b64055002d2cda77643fc86a1d16
7efb5d995108c484bc9a4895002a6c4e9c70effb
/test/test_pedal_bugs.py
fc18c3273bc240c3553a29de8eab907a5ddbed1f
[ "MIT", "Python-2.0" ]
permissive
blockpy-edu/skulpt
1252f3eaf0f8ded5ede1f35f78bd74f5c9608d29
d6d903c07909c0cbc38ec443638aabcf7e14dad8
refs/heads/master
2023-01-31T23:05:32.764015
2023-01-18T16:39:00
2023-01-18T16:39:00
192,734,181
5
7
null
2019-06-19T13:08:08
2019-06-19T13:08:08
null
UTF-8
Python
false
false
876
py
class C(object): def __abs__(self): return 10 def __getattribute__(*args): print("Class getattribute invoked", (args[1])) return object.__getattribute__(*args) c = C() print("Implicit lookup") print(abs(c)) #10 #--------------------------------------- from pedal.report import * from pedal.source...
[ "acbart@vt.edu" ]
acbart@vt.edu
6f86cd18bcfc6f1105b6ea7dbb3077ef2a34e9ac
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/webpubsub/azure-messaging-webpubsubservice/azure/messaging/webpubsubservice/aio/_operations/_patch.py
ca3c77e797b1913e86136f4987192cfc9b2f1a31
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
4,195
py
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ """Customize generated code here. Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ from typing import Optional, Any, Dict,...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
17fcb00609954e0c23e8756076ba8cfde96d8a36
c79a397e81ecefbf66236d763e86a2d4a431449f
/unweighted-graph/graph.py
c5f327bef1fd7965fd3f38facfd22941afdd0e4c
[]
no_license
liweiwei1419/Algorithms-Learning-Python
f9acd83598cfa38dbc35e93bd5ff4655a9836867
0288097ea6d49d6fc224c3879709ac0d6e9e5b97
refs/heads/master
2021-07-12T23:16:29.938315
2020-06-17T05:25:14
2020-06-17T05:25:14
162,683,186
12
8
null
null
null
null
UTF-8
Python
false
false
386
py
from abc import ABCMeta, abstractmethod class Graph(metaclass=ABCMeta): @property @abstractmethod def V(self): pass @property @abstractmethod def E(self): pass @abstractmethod def add_edge(self, v, w): pass @abstractmethod def has_edge(self, v, w): ...
[ "121088825@qq.com" ]
121088825@qq.com
aa2f2f4384094133d9b06c4f3149394b72ca9433
d89ef0481aec259b4c71b77ea75c8c7155ed76e7
/eda_ru/eda/pipelines.py
36161ce25b60fe91cd618e0cf2bf6277ac813830
[]
no_license
PekopT/parsers
707c9d8862f605cd29a32b1081f8545c60246120
26e755f00052f3e01d5a1e355c98af823b42480f
refs/heads/master
2021-01-10T16:01:18.666811
2016-04-23T12:12:11
2016-04-23T12:12:11
51,148,054
0
2
null
null
null
null
UTF-8
Python
false
false
2,124
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html from codecs import getwriter from sys import stdout import json import re sout = getwriter("utf8")(stdout) class EdaPipeline(...
[ "dagdahzub@mail.ru" ]
dagdahzub@mail.ru
6f597e24ace70ed9bb58d368e386026e7bb16b20
06f6bf1e60ac692358ecb9a03a1a0a597e3418b0
/utils/import_data.py
553fe3665ff8159e144c798138ae522168704cb4
[]
no_license
projetosparalelos/sistema-int
e246967491beaa4e9eada33f5a83cf1f0a1cd5e9
f22e0bf80fa3262fc8b22c8a6797dc8c7fe40a52
refs/heads/master
2022-06-07T18:12:30.889506
2020-05-02T02:17:30
2020-05-02T02:17:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,981
py
''' Importa os dados do Cloudinary. ''' import pandas as pd import timeit from django.contrib.auth.models import User, Group from veiculo.models import Cor from veiculo.models import Modelo def my_import_data(): tic = timeit.default_timer() path = 'https://res.cloudinary.com/sistema-int/raw/upload' # fi...
[ "regis42santos@gmail.com" ]
regis42santos@gmail.com
c97577600597020ec37558482d493d8872ac01ef
a8cd6177f5bb0b03c37f5ff1982ed2f16e9c90b3
/00-DockerApp/app.py
71a79818141b329c4df3d57e1996c7cae90d54db
[]
no_license
hmisonne/UdacityWebDev
763456a6b9431d0568e73adcc27b46dbf82d816c
4a6b0b4457db0d5f1638e4a044a76307bc2b40a5
refs/heads/master
2023-01-23T07:10:16.560677
2020-09-29T17:31:40
2020-09-29T17:31:40
244,783,817
1
2
null
2023-01-07T16:01:31
2020-03-04T01:52:39
Python
UTF-8
Python
false
false
182
py
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello World' if __name__ == '__main__': app.run(host='127.0.0.1', port=8080, debug=True)
[ "helene.misonne@gmail.com" ]
helene.misonne@gmail.com
40b51a21fde33a60db30044c7da3ee3144b81e69
ea39d44b8bff41fbb1b32c7f01d381db4ade6d6d
/ch13/twrapme.py
4251bf6c4ac9bcdf753929078a6bb219b1c7b2e6
[]
no_license
glqglq/Python
77e0e3e37cc0a4bae73273debe86012421b62cf6
e514cbe23cdce742b33dab6de5612c2d96009bee
refs/heads/master
2020-06-10T01:08:27.297195
2017-02-17T13:18:43
2017-02-17T13:18:43
76,117,974
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
from time import time,ctime class TimedWrapMe(object): def __init__(self,obj): self.__data = obj self.__ctime = self.__mtime = self.__atime = time() def get(self): self.__atime = time() return self.__data def gettimeval(self,t_type): if not isinstance(t_type,str) or...
[ "546751140@qq.com" ]
546751140@qq.com
ae21198654860a4781f1fdda8fe2d382b56979c9
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/lxml/etree/Resolver.py
2c7068037f9333e2c2c45e6bcb356db165940dc3
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,887
py
# encoding: utf-8 # module lxml.etree # from /usr/lib64/python2.6/site-packages/lxml/etree.so # by generator 1.136 """ The ``lxml.etree`` module implements the extended ElementTree API for XML. """ # imports import __builtin__ as __builtins__ # <module '__builtin__' (built-in)> from object import object class Resolv...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
ac5b5baedcadc55357fce254b3c193d7b790dd28
feb35f45e015befe9f2a35348be3809e0d30229d
/Image/composite_bands.py
e1207ddafc9a24442db1b5d0e527042d6010a981
[ "MIT" ]
permissive
csaybar/qgis-earthengine-examples
9d65bb31f74921c78edc576973a2021f3b4bb79a
ba8942683834d2847ff3246bdd1859b36e50fe44
refs/heads/master
2020-12-30T05:51:36.960385
2020-03-21T15:52:38
2020-03-21T15:52:38
238,882,033
4
0
MIT
2020-02-07T09:04:57
2020-02-07T09:04:56
null
UTF-8
Python
false
false
1,068
py
# GitHub URL: https://github.com/giswqs/qgis-earthengine-examples/tree/master/Image/composite_bands.py #!/usr/bin/env python """Composite bands example.""" import ee from ee_plugin import Map # There are many fine places to look here is one. Comment # this out if you want to twiddle knobs while panning around. Map....
[ "giswqs@gmail.com" ]
giswqs@gmail.com
eb8ef67f7784d812ef30dafa809a89b5cfe380bc
db8d98ab8e63d2314cfb9b294f06e992c40b301e
/lfs_paymill/templatetags/lfs_paymill_tags.py
20dd2e4b0848101dd9ab0586adc2594c75b740e0
[]
no_license
paymill/paymill-lfs
49656f38b6bb4fd9cccb75a04859b330c2f8f648
189be8f3adb29bf131d5c2c5d5545ce8f78b914f
refs/heads/master
2021-01-18T07:34:43.266779
2013-01-30T10:06:01
2013-01-30T10:06:01
8,047,517
1
0
null
null
null
null
UTF-8
Python
false
false
746
py
# django imports from django import template from django.conf import settings register = template.Library() class LFSPaymillJSNode(template.Node): def render(self, context): paymill_public_key = getattr(settings, "PAYMILL_PUBLIC_KEY", "") static_url = getattr(settings, "STATIC_URL", "") ...
[ "kai.diefenbach@iqpp.de" ]
kai.diefenbach@iqpp.de
bc25107ef055fdf1698b05105b898d9c6251c838
48a7b266737b62da330170ca4fe4ac4bf1d8b663
/molsysmt/form/mdtraj_XTCTrajectoryFile/merge.py
54896a59ae62b15f3ed4023910d084498000b2dc
[ "MIT" ]
permissive
uibcdf/MolSysMT
ddab5a89b8ec2377f383884c5169d147cab01322
c3d713ba63db24eb8a2426115cf8d9cb3665d225
refs/heads/main
2023-08-08T15:04:16.217967
2023-08-04T05:49:56
2023-08-04T05:49:56
137,937,243
15
3
MIT
2023-06-04T20:27:06
2018-06-19T19:38:44
Python
UTF-8
Python
false
false
259
py
from molsysmt._private.exceptions import NotImplementedMethodError from molsysmt._private.digestion import digest @digest(form='mdtraj.XTCTrajectoryFile') def merge(items, atom_indices='all', structure_indices='all'): raise NotImplementedMethodError()
[ "prada.gracia@gmail.com" ]
prada.gracia@gmail.com
4946de573cbfa70395904a8711230e71a330d069
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_fairgrounds.py
e946f62595d1bb7337331478b4507d6587c2f32f
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
from xai.brain.wordbase.nouns._fairground import _FAIRGROUND #calss header class _FAIRGROUNDS(_FAIRGROUND, ): def __init__(self,): _FAIRGROUND.__init__(self) self.name = "FAIRGROUNDS" self.specie = 'nouns' self.basic = "fairground" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9c5324310bcc60b4d46a42dd5f08e4b95b8a2a96
dab2c094c6f1347f444b04e2702fdc2856396810
/HJ55.PY
fd2e9580169468f49a7bc978be39ea1a57e3a69c
[]
no_license
shuaih7/Huawei_coding_interview
bf5746115f134b6ed6391b75e6debd476261f2a2
9e67041930b14532145945a09e0db1d12480c0f1
refs/heads/master
2022-12-05T18:19:42.737140
2020-08-25T10:32:00
2020-08-25T10:32:00
286,497,494
0
1
null
null
null
null
UTF-8
Python
false
false
319
py
# -*- coding: utf-8 -*- if __name__ == "__main__": while True: try: num = int(input()) total = 0 for i in range(7, num+1): if "7" in str(i) and i%7 > 0: total += 1 total += num // 7 print(total) except: break
[ "shuaih7@gmail.com" ]
shuaih7@gmail.com
3363cd9e4f7a520872f8ece263d008198cb7f3a4
012e34d69c944e38325539018313c1f1fc6db8bf
/textbook_excercises/4.4.decision-tree-gini-index.py
126545a63093d6ea6ae4d371f8d89d962fd0f178
[]
no_license
SleepyBag/MachineLearningStudy
e5af7627330841df1be1e90aaeedb67861ad6dc3
2e4b402e526cf070c33e1ec61f068c45dbc80165
refs/heads/master
2020-03-22T17:01:38.228638
2018-08-09T06:42:28
2018-08-09T06:42:28
140,367,474
1
0
null
null
null
null
UTF-8
Python
false
false
8,165
py
import pandas as pd import numpy as np from math import log # 定义数据 data_frame = pd.read_csv('西瓜2.0.txt', encoding='gb2312') train_rows = [0, 1, 2, 5, 6, 9, 13, 14, 15, 16] test_rows = [i for i in range(len(data_frame)) if i not in train_rows] train_data_frame = data_frame.iloc[train_rows] test_data_frame = data_frame.i...
[ "xueqianming200@gmail.com" ]
xueqianming200@gmail.com
6c1822d747afc9397e11512bcf25fd7a8cef561b
2b93a5f46980e475375e796de139ed46a53809a6
/Conditions/02-Elif_Demo.py
75337e7d38590bbb4a45845ac322a293321770a8
[]
no_license
ravi4all/PythonMay_11
c9996cb0a2741a5a022c74129aa21c1f4b495aba
f0f3fb5e99a67e704df2a109a7af3d8d18010f9d
refs/heads/master
2020-03-16T21:28:06.549963
2018-05-30T05:34:50
2018-05-30T05:34:50
133,000,051
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
a = int(input("Enter a number : ")) if a % 2 == 0: print("Even Number") elif a % 2 != 0: print("Odd Number") else: print("Not a number")
[ "noreply@github.com" ]
ravi4all.noreply@github.com
9a1102f67378c75c72b7b4f1cb300e4b3f23358d
5deb6d9b2ce89659e1fd4a1549b1a5b84c93e62c
/geoParser.py
00ba333728f5583c855550fac85191599b2c3a06
[]
no_license
spell00/hebbian_learning
19280f00345509fb8a1b875f4be2f49c4bd08252
d7f34efe7eb70f0972a229a33ce80f5be104e9bc
refs/heads/master
2020-12-19T23:29:20.320969
2020-01-23T23:16:58
2020-01-23T23:16:58
235,884,479
0
0
null
null
null
null
UTF-8
Python
false
false
21,583
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Wed Nov 1 14:37:22 2017 @author: simonpelletier """ # test for github import os import numpy as np import GEOparse as geo import pandas as pd from utils.utils import overlap_mbk, remove_all_unique, remove_all_same, create_missing_folders, select_meta_nu...
[ "simonjpelletier@gmail.com" ]
simonjpelletier@gmail.com
0fef17f3f5d3c6887b4162be4acac49582e5cff0
c0285426cc94a2ddbc8fb15415edfbc80d931379
/backend/about_simplicity_25434/settings.py
008e9f32224d5a9204615201a5ce869763858d62
[]
no_license
crowdbotics-apps/about-simplicity-25434
58362c512cc6e9bc56b2ae3942eaf60aec3e1824
a2e1259079b6dd98cc548b77f473de3806d82912
refs/heads/master
2023-04-01T04:42:31.377693
2021-04-02T22:59:02
2021-04-02T22:59:02
354,152,239
0
0
null
null
null
null
UTF-8
Python
false
false
7,132
py
""" Django settings for about_simplicity_25434 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ ""...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
19596b378c0b7575355a0847d6d7102f67471f11
6320fef2ea7376c2b35f97f1a5af004e90f09098
/1-2주차 복습/210803 문자열.py
46644e98be18fc1460909489a4d2f238680682d3
[]
no_license
Dplo1514/ploaistudy
7aa08d7f71653748a9e32dcc09ee8f6cec0aaed9
e35e42b1e5f0c90cc1e2a59993a1ef73d8872d0c
refs/heads/master
2023-09-03T00:45:55.601651
2021-10-24T12:19:38
2021-10-24T12:19:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
print(str (98.6)) #98.6의 실수를 문자열로 변환 print(str (True)) #True의 참값을 문자열로 변환 teststr = "\" hello I'm \" escape testing str" # "\를 이용하여 "출력가능 print(teststr) #문자열 타입을 +연산자를 이용하여 결합이 가능 teststr2 = "test2" teststr3 = "test3" print(teststr2 + teststr3) #*를 사용하여 같은문자의 여러번 출력이 가능 teststr4 = '4번 출력됩니다' *4 print(te...
[ "dladlsgur3334@gmail.com" ]
dladlsgur3334@gmail.com
b716e08488428c3eabe2bdbcb52408208ce7e897
4fc9cb4cf01e41c4ed3de89f13d213e95c87dd33
/angr/knowledge_plugins/key_definitions/key_definition_manager.py
159036a1eff5dcaf8bdf701ac70b981bdc60986d
[ "BSD-2-Clause" ]
permissive
mborgerson/angr
ea5daf28576c3d31b542a0e229139ab2494326e9
8296578e92a15584205bfb2f7add13dd0fb36d56
refs/heads/master
2023-07-24T22:41:25.607215
2022-10-19T19:46:12
2022-10-20T18:13:31
227,243,942
1
2
BSD-2-Clause
2021-04-07T22:09:51
2019-12-11T00:47:55
Python
UTF-8
Python
false
false
3,267
py
from typing import Dict, Iterable, TYPE_CHECKING from .. import KnowledgeBasePlugin from .rd_model import ReachingDefinitionsModel from .constants import OP_BEFORE, OP_AFTER if TYPE_CHECKING: from ...knowledge_base import KnowledgeBase class RDAObserverControl: def __init__(self, func_addr: int, call_site_b...
[ "noreply@github.com" ]
mborgerson.noreply@github.com
e1759b3624f4b600ec9e4a040e140f6d664bb018
9ea98d4051a8c04870933108ea8730be14bd6a45
/emit_event.py
440eb95751b417d95a99bc6996b261e9f675e6aa
[ "Apache-2.0" ]
permissive
benthomasson/zeromq_capnproto_test
74c3ae1bb7c2c639c466e464ff0af7afcecb178e
fc33f85f0c68148060fa78dc78edf7d334e1f791
refs/heads/master
2020-03-12T23:05:28.923702
2018-10-11T19:52:04
2018-10-11T19:52:04
130,859,183
0
0
null
null
null
null
UTF-8
Python
false
false
1,378
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Usage: emit_event [options] <name> Options: -h, --help Show this page --debug Show debug logging --verbose Show verbose logging """ from __future__ import print_function from docopt import docopt import logging import sys impor...
[ "ben.thomasson@gmail.com" ]
ben.thomasson@gmail.com
7b9ad16e49bf232e28e905d23d0c121ed5c1dd6e
30db2052e971c3448af4582ef161ace9c5d0ca68
/micropython/app/env-monitor/wifi.py
804ad2a8a830aed19ff24c6180e59486e0919035
[ "MIT" ]
permissive
pn11/m5stack-playground
549495a9bf918aac5195d4b26cc717a29b1424cc
0a802ba1fb3a9c5681363190cacfaba4be9e4a5a
refs/heads/master
2023-04-22T19:25:15.135316
2021-05-02T17:10:38
2021-05-02T17:10:38
264,343,183
0
0
null
null
null
null
UTF-8
Python
false
false
17
py
../../lib/wifi.py
[ "pn11@users.noreply.github.com" ]
pn11@users.noreply.github.com
972ed3e4e16b2bf30a60fb26ee287e138668a169
b13408f7699fc880300131a96dabe4ac7f4ec612
/bottle_admin/foo/foo/routes.py
8180c92e8f409957b13a6aaec6df1a66a98bc0c3
[ "MIT" ]
permissive
daneoshiga/bottle-admin
1aebd5d6ddd73887341b4f8cf1f2cb34907e8407
14fdfc2bf32f060284ae6b3e93490c339de1a787
refs/heads/master
2021-01-15T11:38:53.138858
2015-11-11T16:10:41
2015-11-11T16:10:41
45,982,935
0
0
null
2015-11-11T13:20:03
2015-11-11T13:20:02
null
UTF-8
Python
false
false
313
py
# -*- coding: utf-8 -*- from bottle_admin import Admin from bottle import Bottle from .controllers.home import home_app from .controllers.user import user_app Routes = Bottle() admin = Admin(app=Routes) # App to render / (home) Routes.merge(home_app) # Mount other applications Routes.mount("/user", user_app)
[ "daniloshiga@gmail.com" ]
daniloshiga@gmail.com
13418cbc7c2325db63a2c7078f8f59a224744559
70ed0a22937378b923a77749df38a61b7c1f7add
/jagare/converter/diff.py
77fa1b852ccec5eacd39e2901655e600758c679a
[]
no_license
tclh123/jagare-rpc
cffdee5e87b4ad00f0c33c58b5a00e3ad06a3eab
de12c8c5d540e90aeaa360fbe6254688ad4c08cd
refs/heads/master
2021-01-15T09:37:28.232631
2014-06-04T16:22:15
2014-06-04T16:22:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,950
py
# coding: utf-8 """ struct DiffLine { 1: required string attr, # char 2: required string line, } struct Hunk { 1: required string old_start, 2: required string new_start, 3: required string old_lines, 4: required string new_lines, 5: required list<DiffLine> lines, # hunk.lines, } struct P...
[ "tclh123@gmail.com" ]
tclh123@gmail.com
12c1140f1fdffa2c402780d21e10c503ea5d94a8
0e0bd9d0082bf71918db9f6c92c2cefd32fd23bd
/guild/namespace.py
cc274b9e9823d5ea774aa2fa7fe60c619339979c
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
christabella/guildai
b911d9758296503c431b571dc4696a3690f44b3d
10d34eb9aa02aa4a374c340e75b5d44d9f3d8a25
refs/heads/master
2022-12-17T18:34:45.766299
2020-08-31T12:42:25
2020-08-31T12:42:25
294,189,964
0
0
Apache-2.0
2020-09-09T18:02:13
2020-09-09T18:02:12
null
UTF-8
Python
false
false
4,233
py
# Copyright 2017-2020 TensorHub, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "g@rre.tt" ]
g@rre.tt
b3676fb6e9124f516622a77a1de6f70d8fcfc51f
99156e31a4d97a12c45569a9937ab001064dc3e2
/knobs.py
c1291fb46bea6619659412b246645556cc5d6efa
[]
no_license
PCJohn/DS-DQN
7c40d30f7ffda75d1d7bae894f8fbfc8694f2580
b7a6e14a4ea56053aad9d43dc9ccf65859d81883
refs/heads/master
2021-01-11T17:06:48.366911
2017-02-14T08:12:19
2017-02-14T08:12:19
79,720,785
2
0
null
null
null
null
UTF-8
Python
false
false
547
py
#Q-Learning parameters REWARD = 5 GAMMA = 1 EXPLORE = 0.05 SAMPLE_BATCH = 500 #Sequence generation params MAX_LEN = 10 MAX_STEPS = 20 #NN parameters FC1 = 50 FC_OUT = 4 #Training params LRATE = 1e-4 ADAM_EPS = 1e-16 N_EPOCH = 1 MINIBATCH = 50 PRINT_EPOCH = 1 SAVE_PATH = 'stack_model' #Sequence match method def seq_...
[ "prithvichakra@gmail.com" ]
prithvichakra@gmail.com
475d189d730822a8e73916f167982abac91335f7
ed0f9eb0c1cb4858d91ef7e2d435db307f23a5a5
/dist/manage/django/db/backends/utils.py
b0f9111ba6e5a7fa712636320f2660ec1da423b1
[]
no_license
hjlhehehe123/ATC_Data
81b4622e7279aa9cc2013db8cc5a71d33561e768
ad35e61afb8e87d8bab2d2b3aeea08e9409d56c0
refs/heads/master
2023-07-13T16:23:45.951584
2021-08-20T12:37:34
2021-08-20T12:37:34
256,994,694
1
1
null
null
null
null
UTF-8
Python
false
false
8,433
py
import datetime import decimal import functools import hashlib import logging from contextlib import contextmanager import time from django.db import NotSupportedError logger = logging.getLogger('django.db.backends') class CursorWrapper: def __init__(self, cursor, db): self.cursor = cursor self....
[ "1598214715@qq.com" ]
1598214715@qq.com
1f54852c5fc12172c0c510f8756be27a43a6e802
c886b04cdbe32e0997d9bc0259b90575ebb2d084
/system/kinggate/kinggate_zebra_conf.py
b9b38e3def6ef50d651edbc275dbfaa5fe49a3da
[]
no_license
bmhxbai/AngelSword
3ce7b9f9f9e6114f8d4cff15e17d1fd8225a786c
a048dbfcbcf0097c6cf683ab9cd5ce975bddcf68
refs/heads/master
2020-06-25T07:23:15.505146
2017-07-01T17:57:34
2017-07-01T17:57:34
96,964,744
2
1
null
2017-07-12T04:20:20
2017-07-12T04:20:20
null
UTF-8
Python
false
false
1,578
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' name: KingGate防火墙默认配置不当可被远控 referer: http://www.wooyun.org/bugs/wooyun-2015-0135809 author: Lucifer description: 由于KingGate防火墙使用zebra路由软件的,这是一款由Cisco自主开发的闭源路由器软件,默认开启2601端口,而且默认密码是zebra。 ''' import sys import warnings import telnetlib from termcolor import cprint from u...
[ "297954441@qq.com" ]
297954441@qq.com
d8c2af7c028e926979a6b38bb6b65def639bd769
94e25297fdeec761c29778704f4527fdde347d01
/applications/core/views/secretary.py
7ebb9deb2b541b4c186b00786e8354412964114e
[]
no_license
abi-medical/abi-back
292eb99f9d46f73298421a3b5ef4d36ebaf12681
1ddea2733fa3925ffab6599cbf4ce81b0b90c9dc
refs/heads/master
2022-12-11T21:14:30.868948
2018-12-19T23:22:44
2018-12-19T23:22:44
126,372,063
1
0
null
2021-06-10T17:35:33
2018-03-22T17:29:30
JavaScript
UTF-8
Python
false
false
2,073
py
from django.core.urlresolvers import reverse_lazy from django.contrib.auth.mixins import LoginRequiredMixin, PermissionRequiredMixin from base import views as base_views from .. import ( models, forms, conf, mixins ) class List(mixins.Administrator, base_views.BaseListView): """ List all Sec...
[ "ma0@contraslash.com" ]
ma0@contraslash.com
fe7a33a4bc80c7a9be0be0d5ee5eb085018d85b7
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/airflow/providers/amazon/aws/transfers/sftp_to_s3.py
23713ad1f4cf92266a0dae9fadb8a69447985de6
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
3,666
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...
[ "noreply@github.com" ]
cfei18.noreply@github.com
cb104911fd8acf1f4259f31f222ee39ff8210b55
1617a9a9c92146bcdac89b5efb1ef0d18408160b
/contlab5/08/generator.py
a0c4ea1be179753d9aad1e8e18345599d305a989
[]
no_license
LitRidl/checker-content
1b1329b4462b87731e0755ab33480ff063a94a00
b5d0456c8d4d28db6e6022e272a95a385f253797
refs/heads/master
2023-08-17T18:08:07.377680
2018-02-04T11:16:34
2018-02-04T11:16:34
120,077,784
0
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
from __future__ import print_function from random import shuffle, randint, choice from numpy import base_repr HEX_DIGITS = '0123456789ABCDEF' def rnd(l, r, base=10): return base_repr(randint(l, r), base=base) def rnd_word(length, prefix=' ', alphabet=HEX_DIGITS): word = ''.join(choice(alphabet) for _ in r...
[ "tutkarma@gmail.com" ]
tutkarma@gmail.com
0ba0bb2d091eedfd66206147b6e2dd2acda5963b
b4859c934012cbb46113ee26e5288cdc17cab568
/Loopers/Utils/generate_random_map.py
8da967ee14902c4798a7cbab8d525e37adacaacf
[]
no_license
sam-may/ttH
e3f8dab2d464d268839643cd7b07b895944c69e6
cb04bc13f162b035409dc388ac2ec2f1680abe7d
refs/heads/master
2021-07-16T14:13:29.490552
2021-05-20T23:18:47
2021-05-20T23:18:47
125,431,222
1
3
null
2020-05-04T20:57:11
2018-03-15T22:03:57
C++
UTF-8
Python
false
false
1,084
py
import os, sys import ROOT, root_numpy import glob import random import argparse parser = argparse.ArgumentParser() parser.add_argument("channel", help = "Hadronic or Leptonic", type=str) parser.add_argument("ext", help = "extension, e.g. '1'", type=str) args = parser.parse_args() baby_version_2016 = "v3.16" baby_ver...
[ "sammay@ucla.edu" ]
sammay@ucla.edu
466b335d1af707a2309526c874f19ce84b9cbb18
8e138461e9ed8e36245965e215685ce978742535
/qiskit/test/mock/backends/mumbai/fake_mumbai.py
ee6de9fbc423151aae9248add5d3642d648822c3
[ "Apache-2.0" ]
permissive
faraimazh/qiskit-terra
15d8c378114ee109f7b757a7d3795b4c9079c0a8
11c2e3ed89452cb6487db784c17c68a8a6284a57
refs/heads/master
2023-03-16T11:31:27.071954
2022-09-27T00:33:02
2022-09-27T00:33:02
220,650,207
0
0
Apache-2.0
2023-03-06T18:13:26
2019-11-09T13:59:40
Python
UTF-8
Python
false
false
1,156
py
# This code is part of Qiskit. # # (C) Copyright IBM 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "noreply@github.com" ]
faraimazh.noreply@github.com
d6adf8f7475b82fe905d1bd1c14217fe0846a129
6130f811f3acfcb9f60939d8752bb035cadaf928
/examples/adspygoogle/dfp/v201311/custom_field_service/deactivate_all_line_item_custom_fields.py
08825c2ed91fc56dce9e5eb59ee2e19cef297c2a
[ "Apache-2.0" ]
permissive
gsembi/googleads-python-legacy-lib
f2e3197413c23c1192b11e54bf78c087f04a2baa
9de235ffb65d014dd6ba22be50659c910eca5ae2
refs/heads/master
2021-01-23T23:38:28.076465
2014-10-14T20:38:20
2014-10-14T20:38:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,017
py
#!/usr/bin/python # # Copyright 2013 Google Inc. 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 b...
[ "emeralddragon88@gmail.com" ]
emeralddragon88@gmail.com
b39e02c44068d8b186321b8d999ecc7298e9b441
4cf3f8845d64ed31737bd7795581753c6e682922
/.history/main_20200118154739.py
b377805724b48828e3a6e13c58f25958e70d5ada
[]
no_license
rtshkmr/hack-roll
9bc75175eb9746b79ff0dfa9307b32cfd1417029
3ea480a8bf6d0067155b279740b4edc1673f406d
refs/heads/master
2021-12-23T12:26:56.642705
2020-01-19T04:26:39
2020-01-19T04:26:39
234,702,684
1
0
null
2021-12-13T20:30:54
2020-01-18T08:12:52
Python
UTF-8
Python
false
false
756,723
py
from telegram.ext import Updater, CommandHandler import requests import re # API call to source, get json (url is obtained): contents = requests.get('https://random.dog/woof.json').json() image_url = contents['url'] def get_url(): contents = requests.get('https://random.dog/woof.json').json() url = cont...
[ "ritesh@emerald.pink" ]
ritesh@emerald.pink
8b56d70686bb2d22646ac44bee78898f60612be0
913110006f5f6ff03ccd2cb4bbe205ffa51a2910
/py_scripts/tools/filter_fasc.py
b603a175daa261ac4c105842f5575ff007da1b98
[]
no_license
jonathaw/fleishman_pymol
ce8f464295ba77ac1118dfbe715194e827b2af9d
d54ce690aa94e13c15c02394dbb8423d124068fa
refs/heads/master
2020-05-17T08:43:08.029264
2017-10-24T10:17:57
2017-10-24T10:17:57
29,957,610
0
2
null
2015-02-19T16:37:43
2015-01-28T08:24:14
Python
UTF-8
Python
false
false
2,178
py
#!/usr/bin/python __author__ = ['Andrew Wollacott (amw215@u.washington.edu)'] __version__ = "Revision 0.1" from optparse import OptionParser import sys, os, string def main(): """ filters fasc files """ parser = OptionParser() parser.add_option("-f", dest="fasc_file", help="fasc file") parser.add_option("-s"...
[ "jonathan.weinstein@weizmann.ac.il" ]
jonathan.weinstein@weizmann.ac.il
a371f328562ac37f688f91b6044dda955994666d
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/442d58be22a3451c9896d1573f8cc44e.py
bf8a9470f516546a10c4472451a3ac4e15498776
[]
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
311
py
def hey(statement): string = clean_statement = statement.strip() if not string: return 'Fine. Be that way!' elif string.upper() == string and string.lower() != string: return 'Woah, chill out!' elif string[-1] == '?': return 'Sure.' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
7e9a1258259e59f85e3f60690a9a5a4784c2a98b
5dd47abf7061201d9378e73e51f08fbb314ba2fd
/envdsys/envtags/urls.py
bb504471092887a5ba4166874b8b8d1ab9a3e4e7
[ "Unlicense" ]
permissive
NOAA-PMEL/envDataSystem
4d264ae5209015e4faee648f37608d68a4461d0a
4db4a3569d2329658799a3eef06ce36dd5c0597d
refs/heads/master
2023-02-23T22:33:14.334737
2021-07-22T01:09:16
2021-07-22T01:09:16
191,809,007
1
0
Unlicense
2023-02-08T00:45:54
2019-06-13T17:50:03
Python
UTF-8
Python
false
false
178
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), ] # urlpatterns = [ # url(r'^$', views.index, name='index'), # ]
[ "derek.coffman@noaa.gov" ]
derek.coffman@noaa.gov
4ea9ec62b84754fd22d1fa7479fbbcce527c496d
bc5893c272a92b23a5bb77b471692d209f799663
/app/productdb/tests/test_productdb_api_views.py
d8ddcb47d320e4af2507c3590177f331e78e3547
[ "MIT" ]
permissive
usafak/product-database
eab65dd8452b18d1e7e3d4e4985a59eeb61602e8
7833a86b045c0fdcc82f1b8695c5883ef1bd56b1
refs/heads/master
2020-03-21T20:43:20.015874
2018-04-26T19:58:20
2018-04-26T19:58:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
101,921
py
""" Test suite for the productdb.api_views module """ import pytest from urllib.parse import quote import requests from django.utils.dateformat import DateFormat from django.utils.formats import get_format from django.conf import settings from django.contrib.auth.models import User, Permission from django.core.urlreso...
[ "henry@codingnetworker.com" ]
henry@codingnetworker.com
01b7c985acd06b9bb37b41e55ee702f5eb60a705
88cc32b062c9000a7215f7490215c8eca5da4fb5
/ajenti/build.py
9db126241616f6a9ac92b6e22fd95cb7cc3b5ae7
[]
no_license
harishahlawat90/ajenti
2135943a07e83f4f662de750f87a88c407df46a0
06d1deaa9e32f9bf41e0af833548d9895e5b1ab4
refs/heads/master
2021-01-15T22:29:46.289829
2013-08-17T16:38:00
2013-08-17T16:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
version = "0.99.37"
[ "e@ajenti.org" ]
e@ajenti.org