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
1ca7e02291a8193c9d0a77dd908e13c243f0c60e
d5af5459d0a68d8934219cdd516a23d73c7c52fb
/examples/10 packages/demoscript2.py
c76974ea2c3c59c767f5173f41098301fc861175
[]
no_license
flathunt/pylearn
1e5b147924dca792eb1cddbcbee1b8da0fc3d055
006f37d67343a0288e7efda359ed9454939ec25e
refs/heads/master
2022-11-23T23:31:32.016146
2022-11-17T08:20:57
2022-11-17T08:20:57
146,803,991
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
#!/usr/local/bin/python from demopkg.demomod1 import * from demopkg.demomod2 import * fn1() fn1() fn21()
[ "porkpie@gmail.com" ]
porkpie@gmail.com
6fd0477a22c33b117b42125a6e057df913881c55
48f73b5b78da81c388d76d685ec47bb6387eefdd
/scrapeHackerrankCode/codes/cats-and-a-mouse.py
ca00be6a7e4c1e023ad75c17f954266b7f54f1c9
[]
no_license
abidkhan484/hacerrankScraping
ad0ceda6c86d321d98768b169d63ea1ee7ccd861
487bbf115117bd5c293298e77f15ae810a50b82d
refs/heads/master
2021-09-18T19:27:52.173164
2018-07-18T12:12:51
2018-07-18T12:12:51
111,005,462
2
1
null
null
null
null
UTF-8
Python
false
false
456
py
# Accepted # Python 3 #!/bin/python3 import sys q = int(input().strip()) for a0 in range(q): x,y,z = input().strip().split(' ') x,y,z = [int(x),int(y),int(z)] #position of cat A to mouse is c1 c1 = x-z if (c1<0): c1 = -c1 #position of cat B to mouse is c2 c2 = y-z if (c2<0)...
[ "abidkhan484@gmail.com" ]
abidkhan484@gmail.com
93e48303735a8b4f1377af9f4955cdd1ce80e27e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03352/s380195250.py
c8f616bc533e0145002aa7156f98f0a57f0f9297
[]
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
234
py
import math X = int(input()) list1 = [] for i in range(2,X+1): for j in range(2,int((X + 1)/2)): a = math.log10(i)/math.log10(j) if a.is_integer(): list1.append(i) if list1 == []: print(1) else: print(max(list1))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9bda41dd7233be94e1d43c731d04583cd8d9da2a
717fbff92a7998660dc572666b045500cf028dff
/CRAB_SUBMISSION/Pt_100_withoutPU/crab_reco_50_2ndfull_2nd.py
bf11bc0b4fd441667be79fcaae38767ecf6f3ac8
[]
no_license
neharawal14/muon_gun_project
20c84874c14b75cb5fed4e9b7958927f6ddaf9f9
efccbc36c4d511f1b8dafed8292604331b7b38ae
refs/heads/main
2023-08-22T15:24:21.255977
2021-09-22T17:46:25
2021-09-22T17:46:25
409,301,680
0
0
null
null
null
null
UTF-8
Python
false
false
1,244
py
from WMCore.Configuration import Configuration from CRABClient.UserUtilities import config config = config() config.General.requestName = 'SingleMuPt50_2ndfull_2nd_large_step3' config.General.workArea = 'crab_projects_pt50_2ndfull_2nd' config.General.transferOutputs = True config.General.failureLimit=1 config.General...
[ "nrawal@lxplus.cern.ch" ]
nrawal@lxplus.cern.ch
5d7cc648684a2ad43296c9188ed9c4fca05f8fcb
9252a2c661404e596bb81474ae56ff836ad21eb4
/Python/10_Error_Exception/try.py
7343bc785aca8afd741cf2211edbec66c523ebe8
[]
no_license
yang75n/programming-language-guide
242c6d094e114240a7d0650ed12b7dc8b074a5e4
0c6ff76c859f1283ee39a547bb81bb9236d4a303
refs/heads/master
2021-06-29T16:38:01.535856
2021-03-05T07:32:08
2021-03-05T07:32:08
223,430,223
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
while True: try: x = int(input("请输入一个数字: ")) break except ValueError: print("您输入的不是数字,请再次尝试输入!")
[ "you@example.com" ]
you@example.com
36312377ff350c3df7aded430feadb6bc3f2a9fd
c163ffbec8ed657adb4e6633373492a6166c39cd
/substanced/sdi/views/indexing.py
dc67ae430b609340ab45c102b18a28ef127fd154
[ "BSD-3-Clause-Modification" ]
permissive
reebalazs/substanced
b085d92a725efff45f430d6a2513573a86005a5b
921ae5abfc6b04d009a55ed3405563589cddc88c
refs/heads/master
2021-01-15T22:41:50.581066
2012-11-20T14:02:21
2012-11-20T14:02:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,914
py
from pyramid.view import view_defaults from pyramid.httpexceptions import HTTPFound from pyramid.session import check_csrf_token from ...catalog import ( catalog_view_factory_for, CatalogViewWrapper, ) from ...content import find_services from ...util import oid_of from .. import ( mgmt_view, MID...
[ "chrism@plope.com" ]
chrism@plope.com
5803bce5c8dd22cf1776e2fcc7389efe58b99768
6ffc81125d6bb5f8476f95b2334a27807b8290de
/tests/test_parse.py
1e7a4e1614041fc569252d27d69c2636434b2ced
[ "BSD-2-Clause", "Apache-2.0" ]
permissive
oaqa/FlexNeuART
4cb341ca3c3f94fa28a7cfd4aef5451de3a4a2cb
0bd3e06735ff705731fb6cee62d3486276beccdf
refs/heads/master
2023-09-01T00:19:33.980081
2023-05-26T19:19:30
2023-05-26T19:19:30
64,071,121
156
21
Apache-2.0
2023-09-10T01:27:05
2016-07-24T15:08:03
Java
UTF-8
Python
false
false
665
py
#!/usr/bin/env python import unittest from flexneuart.text_proc.parse import KrovetzStemParser class TestKrovetzStemParser(unittest.TestCase): # This are a very basic tests, but they are functional def basic_tests(self): parser = KrovetzStemParser(['is', 'a']) self.assertEqual(parser('This I...
[ "leo@boytsov.info" ]
leo@boytsov.info
9823b66021657ff14842e2da00f41c45bb928496
bd299b3b54c8d566f888159f448200932c415df6
/memories/urls.py
e1920f17ff555449f551efe12dd5a51a437ff0f0
[]
no_license
primeunforcer/KinkadeWebpage
edd2db799817e6353cc0a4b23a5bdd6357881fd5
e037d1c6fdfed58d8abb84f797c99b9e14b3e118
refs/heads/master
2021-04-28T19:17:33.117383
2018-02-18T01:56:14
2018-02-18T01:56:14
121,891,912
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.memory_list, name='memory_list'), ]
[ "admin@admin.com" ]
admin@admin.com
937b9f9d39c95c4381e0d93c2397840ab7af652a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02987/s818435683.py
7cfe08a62edfc1ca0bfee4cf0d5452b18db63878
[]
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
135
py
s = input().split() b = list(s[0][0] + s[0][1] + s[0][2] + s[0][3]) sset = set(b) if len(sset) == 2: print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5420de25e6cd3e59e10715c9c78fb4be9208eff7
1170f797b7788b9e8445b7dd65377763068a9aa3
/vpython/01_curve.py
8f17637613af15aff0ea1e0f99a146d2960097a3
[]
no_license
f-fathurrahman/ffr-python-stuffs
2585c554e15ec6828900739376250ed391cf6966
d249c4f2a01f58a96083bac2377309c05f652907
refs/heads/master
2023-08-23T22:54:34.147166
2023-07-20T23:24:50
2023-07-20T23:24:50
83,401,478
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
from vpython import * c = curve(vector(1,1,0), vector(-1,1,0), vector(2,2,1))
[ "fadjar.fathurrahman@gmail.com" ]
fadjar.fathurrahman@gmail.com
841cdbbcc333c4a305e51582f43857977b301cf7
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_6665.py
5372da5606559fecb37e86171cac99324584bf4c
[]
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
176
py
# TypeError in Django url(r'^koszyk/$', 'app_name.views.koszyk', name="sklep_koszyk"), url(r'^koszyk/dodaj/(\d+)/$', 'app_name.views.koszyk_dodaj', name="sklep_koszyk_dodaj"),
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
b99317af4560c6df672ceda2c1599ab07f34961c
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2/cachitas/revenge_of_the_pancakes.py
c86f379820b17e6d7b83f5e4d4a37df87be2c178
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,883
py
import logging log = logging.getLogger(__name__) def prepare_pancakes(pancakes_pile): log.info('Pancakes pile: %s' % pancakes_pile) maneuvers = 0 n = len(pancakes_pile) ideal_pile = '+' * n while pancakes_pile != ideal_pile: log.debug('Pancake pile is not ready to serve: %s' % pancakes...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
760704eb82954bce2f7199f574320a6724fcdf28
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/age_sex_20190618093311.py
cca1d6257ba56a454e2c1c044dda556e97e0897c
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
# -*- coding:utf-8 -*- import time import math import os import sys import os, os.path,shutil import codecs import EMRdef import re emrtxts = EMRdef.txttq(u'D:\DeepLearning ER\EHR-all')#txt目录提取 for emrtxt in emrtxts: f = open(emrtxt,'r',errors="ignore")#中文加入errors emrtxt = os.path.basename(emrtxt) emrtxt_s...
[ "1044801968@qq.com" ]
1044801968@qq.com
214f2c895076e8f4b959413b437dfafe392835a9
2f46c6463d4f871a72d4296c3dae00f029e892f1
/src/cogent3/util/transform.py
92b61230bf9fa8ef70c530cf4d580f2316f65502
[ "BSD-3-Clause" ]
permissive
BrendanBeaton/cogent3
a09376c55f24da837690219157770ad94e917579
e10f4f933921d52b000096b7c016190a1602add6
refs/heads/master
2022-12-02T07:59:11.112306
2020-06-30T05:40:33
2020-06-30T05:40:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,676
py
#!/usr/bin/env python """Provides transformations of functions and other objects. Includes: Standard combinatorial higher-order functions adapted from David Mertz (2003), "Text Processing in Python", Chapter 1. Functions for performing complex tests on strings, e.g. includes_any or includes_all. Functions for gener...
[ "Gavin.Huttley@anu.edu.au" ]
Gavin.Huttley@anu.edu.au
8835f0a2b179ed88083d3cd9023db727730c613c
eab0ec43806fb7f010ec0673370038f07c5ceefe
/NflmCA/venv/Scripts/easy_install-3.5-script.py
47054a2c28778dfbb7575b04f64485242af3a66a
[]
no_license
tanaypatil/custom-django-admin
023d915ce061a312d51d79f6b2135d744b07af15
5d6743468c03b642c7a059db681df3f83d71eff4
refs/heads/master
2020-06-13T03:53:18.067184
2019-06-30T14:32:19
2019-06-30T14:32:19
194,525,226
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
#!"C:\Users\Tanay Patil\PycharmProjects\NflmCA\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.0.1','console_scripts','easy_install-3.5' __requires__ = 'setuptools==39.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-scri...
[ "tanaypatil197@gmail.com" ]
tanaypatil197@gmail.com
88d35b2362956cce0f445f8acddc49bbf7f1db61
9a66a9acebfb324a5303f9bfe0570145e4a31554
/plugin.video.salts/scrapers/rlshd_scraper.py
c80b28383ad7805d3086165a9b08dc1121810d5f
[]
no_license
n0490b/tdbaddon
f229e9f7b8587925cfe38acb04c5f5c70bbf1837
21628f1b40e2f854cc3b63acf0d632bb5daecdac
refs/heads/master
2021-01-23T04:58:23.101284
2017-03-26T09:35:56
2017-03-26T09:35:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,007
py
""" SALTS XBMC Addon Copyright (C) 2014 tknorris 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 3 of the License, or (at your option) any later version. T...
[ "tdbaddon@hotmail.com" ]
tdbaddon@hotmail.com
f7f373531b94f6b6b6320de9d729e76c8458ad5f
be3ad8712d398d2adb39c32104d9a90a4a62b7e8
/Ocat/utils/prepdatdict.py
4edbfa1b35239072f9472d17a51632f14dc61e05
[]
no_license
tisobe/Usint
3c74059b3d7b813d162af1d1c1232d77ec0dd632
07bfd42767e9bfb56e7657e4ed6780bde296cfd4
refs/heads/master
2020-03-17T15:00:11.835862
2018-05-16T16:29:44
2018-05-16T16:29:44
133,694,486
0
0
null
null
null
null
UTF-8
Python
false
false
24,487
py
#!/usr/bin/env /proj/sot/ska/bin/python ##################################################################################################### # # # prepdatdict.py: prepare data dictionay for Ocat Data Page ...
[ "isobe@head.cfa.harvard.edu" ]
isobe@head.cfa.harvard.edu
167a1a0bf78a1e1379f4295b09cbfeedf34b7840
dbd87fe6e9466c4cada18b037667cfdddc62c193
/Technical_Indicators/ZigZag.py
057435288496ca0943ce0fe371e39f8bf6a7d9ca
[]
no_license
alexanu/Python_Trading_Snippets
74515a40dc63ba50d95bd50330ed05d59b5dc837
85969e681b9c74e24e60cc524a952f9585ea9ce9
refs/heads/main
2023-06-25T03:27:45.813987
2023-06-09T16:09:43
2023-06-09T16:09:43
197,401,560
18
17
null
2023-02-08T22:25:25
2019-07-17T14:05:32
Jupyter Notebook
UTF-8
Python
false
false
1,826
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import warnings warnings.filterwarnings("ignore") import yfinance as yf yf.pdr_override() import datetime as dt # input symbol = 'AAPL' start = dt.date.today() - dt.timedelta(days = 365) end = dt.date.today() # Read data df = yf.download(symbol,s...
[ "oanufriyev@gmail.com" ]
oanufriyev@gmail.com
8d827c60eec9c54f9403584d65216617936c6c77
a190ccac9d0ed3e0de44648957bf616c2dd88466
/cowrie/commands/ifconfig.py
acf38c5576a8b3e6e453f1d5ebd2d6684d7332e8
[ "BSD-2-Clause" ]
permissive
CrazyLlama/cowrie
bd0d400c22017348a7aa450841f5fb094d293a47
5bdf4093a34be4ede7778a171d0a84a889060c6b
refs/heads/master
2021-01-12T11:11:29.510918
2018-05-01T14:55:04
2018-05-01T14:55:04
72,859,411
1
0
null
2018-05-01T14:55:05
2016-11-04T15:19:29
Python
UTF-8
Python
false
false
1,395
py
# -*- coding: utf-8 -*- # Copyright (c) 2014 Peter Reuterås <peter@reuteras.com> # See the COPYRIGHT file for more information from __future__ import division, absolute_import from cowrie.shell.honeypot import HoneyPotCommand commands = {} class command_ifconfig(HoneyPotCommand): def call(self): l = ""...
[ "michel@oosterhof.net" ]
michel@oosterhof.net
e1473dea34590fc8fef9d5ca63926ef43ae3e558
b39d72ba5de9d4683041e6b4413f8483c817f821
/GeneVisualization/ass1/Lib/site-packages/itk/itkVTKImageIOPython.py
73b5ce730e8461b1f3de699d92885a52b91c4100
[]
no_license
ssalmaan/DataVisualization
d93a0afe1290e4ea46c3be5718d503c71a6f99a7
eff072f11337f124681ce08742e1a092033680cc
refs/heads/master
2021-03-13T05:40:23.679095
2020-03-11T21:37:45
2020-03-11T21:37:45
246,642,979
0
0
null
null
null
null
UTF-8
Python
false
false
8,904
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: _itkV...
[ "44883043+ssalmaan@users.noreply.github.com" ]
44883043+ssalmaan@users.noreply.github.com
88c9be39ef89d55c1845d93bf1e0875f8696b53b
11aa417a375023da34224b9cb8c46f75c8753f6f
/aiobitcoin/tools/tx/script/segwit.py
282f53ae10a5eec4de3a0a7dc8a5d87769d76174
[ "MIT" ]
permissive
mkbeh/aiobitcoin
426a1be16c9b7d7150a164fff553296988961625
1cc9121a292208600b1631a709917c82a1238964
refs/heads/master
2023-08-07T15:11:41.892153
2021-07-11T11:05:29
2021-07-11T11:05:29
185,234,495
1
2
MIT
2023-07-20T15:09:24
2019-05-06T16:36:30
Python
UTF-8
Python
false
false
5,230
py
# -*- coding: utf-8 -*- """ Parse, stream, create, sign and verify Bitcoin transactions as Tx structures. The MIT License (MIT) Copyright (c) 2017 by Richard Kiss Copyright (c) 2019 July by mkbeh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentati...
[ "mkbehforever@gmail.com" ]
mkbehforever@gmail.com
8417118ad2daf826e674008968ff8e3a4da089ce
5d65f00e3fb6c84779f14ec0be852f1da285aec2
/homeassistant/components/netatmo/light.py
6fe5e84e65af8351faa316f63b4a175b99cb531c
[ "Apache-2.0" ]
permissive
Shahzad6077/core
b448ff00ef4fed131c70c0671635b7b4c62dd23d
e0873493e2f77e9702601969712f6d2c1536aaef
refs/heads/master
2023-07-09T18:11:20.778850
2021-08-16T03:49:10
2021-08-16T03:49:10
397,514,065
2
0
Apache-2.0
2021-08-18T07:36:53
2021-08-18T07:36:53
null
UTF-8
Python
false
false
5,010
py
"""Support for the Netatmo camera lights.""" from __future__ import annotations import logging from typing import cast import pyatmo from homeassistant.components.light import LightEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback from homeassistant.ex...
[ "noreply@github.com" ]
Shahzad6077.noreply@github.com
13663badcb166800aaeff083e507489aa701c0d2
e47d5da2a947c3b3a834817d0b084ee65d302067
/atcoder.jp/abc092/abc092_a/Main.py
47552455aafafc56e01520693d3d03d62ca48228
[]
no_license
aki-nlp/AtCoder
3293b9b183c0a8cefbf20d7f4f491c6f1e7604b8
9385805cbb1fa158f6d3c4a2415cdf7ba94547e5
refs/heads/master
2023-02-25T06:04:10.913237
2020-10-03T12:02:00
2020-10-03T12:02:00
296,792,313
2
0
null
null
null
null
UTF-8
Python
false
false
76
py
a =[int(input()) for _ in range(4)] print(min(a[0], a[1]) + min(a[2], a[3]))
[ "akiuo.ou@gmail.com" ]
akiuo.ou@gmail.com
9d8946b7ca19fe0c6393b5f6a2dde7d406919cd9
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2015/09/college-scorecard-laitinen-20150916/graphic_config.py
beb761cd07fa41c1aada464419435120c5b3c263
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
1,049
py
#!/usr/bin/env python import base_filters from math import trunc COPY_GOOGLE_DOC_KEY = '1AOxvgIztKDd-GOVZjx11dRjmRadr47wXUsDUMS2awJw' USE_ASSETS = False # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 def breaks(n): n = float(n) i...
[ "ahurt@npr.org" ]
ahurt@npr.org
2630419c2c16f7fafecd89941409cee861476904
1efd2de8bf77ec00eb2fcaf5749278495946d920
/src/tests/ftest/util/dbench_utils.py
897f77efe1395dadb573a482c8594d04f951011e
[ "BSD-2-Clause", "BSD-2-Clause-Patent" ]
permissive
daos-stack/daos
6f55bf3061fd830d5b8d28506e1295e2d3a27c38
ed5eed5df43a68571afe123132a743824c02637a
refs/heads/master
2023-08-31T21:43:37.606145
2023-08-31T16:38:00
2023-08-31T16:38:00
69,390,670
631
300
NOASSERTION
2023-09-14T18:55:15
2016-09-27T19:21:29
C
UTF-8
Python
false
false
2,879
py
""" (C) Copyright 2019-2023 Intel Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent """ from command_utils_base import FormattedParameter from command_utils_base import BasicParameter from command_utils import ExecutableCommand from job_manager_utils import Mpirun # pylint: disable=too-few-public-metho...
[ "noreply@github.com" ]
daos-stack.noreply@github.com
16f69a9fbaa037a8ffd65d455a9fc64049bc0d44
1dae87abcaf49f1d995d03c0ce49fbb3b983d74a
/programs/subroutines/Ext Ver Half - 150ms.sub.py
6bcee355d0892a2f2de8054a57b6913d87df051c
[]
no_license
BEC-Trento/BEC1-data
651cd8e5f15a7d9848f9921b352e0830c08f27dd
f849086891bc68ecf7447f62962f791496d01858
refs/heads/master
2023-03-10T19:19:54.833567
2023-03-03T22:59:01
2023-03-03T22:59:01
132,161,998
0
0
null
null
null
null
UTF-8
Python
false
false
18,481
py
prg_comment = "" prg_version = "0.5.1" def program(prg, cmd): prg.add(-4002500, "Shutter Probe Na Open") prg.add(-3512500, "Na Probe/Push (-) freq", 150.000000) prg.add(-3502500, "Na Probe/Push (+) freq", 150.000000) prg.add(-724500, "Optical Levit ON") prg.add(0, "Trig ON Stingray 1") prg.add(2...
[ "carmelo.mordini@unitn.it" ]
carmelo.mordini@unitn.it
9893f64592146bbf9aa0045526733414bc2fe78e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_217/ch19_2019_03_26_19_01_39_954573.py
eb141b3e1ed996df46b165c1f995431f0b7a5452
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
import math def calcula_distancia_do_projetil(v,an,yo): d= (v**2)/(2*9,8*)(1+(1+(2*9,8*yo)/(v**2)*((sin(an))**2))*sin(2*an) retun d
[ "you@example.com" ]
you@example.com
9ca6261bf93b240faa6581bb150d113d8fdacb75
dbe5973d69df9c5a5f3b06b7451a0de7086ebda4
/myapps/catalogue/migrations/0016_remove_product_price.py
42b33265e0b7f36f5617d40c3801e771e1b10d5d
[]
no_license
phares/mall
29e7c0fdf3222a05161de36c8252167ab59df7be
d3f0093828c892ce46d55afaa245e5780555cc68
refs/heads/master
2021-01-22T23:53:27.535609
2017-04-30T09:17:53
2017-04-30T09:17:53
85,676,779
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-04-13 08:45 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('catalogue', '0015_product_price'), ] operations = [ migrations.RemoveField( ...
[ "cndeti@gmail.com" ]
cndeti@gmail.com
7dcae7d80631e98f00eb1837adc3c9fa7474450c
e01c5d1ee81cc4104b248be375e93ae29c4b3572
/Sequence4/Algorithm-toolbox/Week4/submission/closestpoint-6-2.py
27df5061138128feac6d7ae6f4c0b8f7ec3a3d67
[]
no_license
lalitzz/DS
7de54281a34814601f26ee826c722d123ee8bd99
66272a7a8c20c0c3e85aa5f9d19f29e0a3e11db1
refs/heads/master
2021-10-14T09:47:08.754570
2018-12-29T11:00:25
2018-12-29T11:00:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
#Uses python3 import sys from math import sqrt def closest_util(Px, Py, ln): if ln <= 3: return brute_force(Px, ln) mid = ln // 2 Qx = Px[:mid] Rx = Px[mid:] mid_point = Px[mid][0] Qy = [] Ry = [] for x in Py: if x[0] <= mid_point: Qy.append(x) else: Ry.append(x) mid1 = c...
[ "lalit.slg007@gmail.com" ]
lalit.slg007@gmail.com
7239f386a51988cac9fdf59c7cbcaee52c5ed0b5
5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e
/main/source/code_templates/generate_templates.py
49dec8e6c2ed9f1142e7ef562e81803265fc9c13
[]
no_license
MedicaicloudLink/Rosetta
3ee2d79d48b31bd8ca898036ad32fe910c9a7a28
01affdf77abb773ed375b83cdbbf58439edd8719
refs/heads/master
2020-12-07T17:52:01.350906
2020-01-10T08:24:09
2020-01-10T08:24:09
232,757,729
2
6
null
null
null
null
UTF-8
Python
false
false
15,963
py
#!/usr/bin/env python # # (c) Copyright Rosetta Commons Member Institutions. # (c) This file is part of the Rosetta software suite and is made available under license. # (c) The Rosetta software is developed by the contributing members of the Rosetta Commons. # (c) For more information, see http://www.rosettacommons.or...
[ "36790013+MedicaicloudLink@users.noreply.github.com" ]
36790013+MedicaicloudLink@users.noreply.github.com
fb493a7f9431ddc6e4e4707347757a429979cb9f
6e0001fb880d83d1d3e305e42acba93b85631838
/Point Diagrams/PD1V1/out1/v_EQEQLTprojectGT.py
4e6410b1e9e99b3fdac62c13dafc2d7f714accb5
[]
no_license
pjalagna/Aryc2019
97b6de8248006bf19af527e4c1e35763b1277aaa
ece8ccf18305e6c65a59bee650b47b8730904bd0
refs/heads/master
2021-06-21T23:14:55.527195
2021-03-18T08:02:31
2021-03-18T08:02:31
205,817,944
0
1
null
2020-10-16T00:13:31
2019-09-02T09:03:22
Python
UTF-8
Python
false
false
594
py
# file v_EQEQLTprojectGT.py def main(objj,trace): local = {} # local architecture ; dies with action local['ds'] = [] local['nds'] = {} if(trace == 1): xx = raw_input("begin v_EQEQLTprojectGT") retbox = [0,objj,trace] # init by type # set status to retbox[0] = 0 ok -1 ng or # retbo...
[ "PJAlagna@Gmail.com" ]
PJAlagna@Gmail.com
efe564a24df6338dc3c130002c9e6e40ce2caf64
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/model_control/detailed/transf_Anscombe/model_control_one_enabled_Anscombe_Lag1Trend_Seasonal_DayOfMonth_AR.py
1f63aee2753363e8e382e17a46c09ec522a83da8
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
160
py
import tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Anscombe'] , ['Lag1Trend'] , ['Seasonal_DayOfMonth'] , ['AR'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
24840e6649ffe2f0b8e59a92f4cc0b9bfca31034
c94f888541c0c430331110818ed7f3d6b27b788a
/shuziwuliu/python/setup.py
e31004b6c7feda1ea8f494f74cff8d9f5bb07c6e
[ "Apache-2.0", "MIT" ]
permissive
alipay/antchain-openapi-prod-sdk
48534eb78878bd708a0c05f2fe280ba9c41d09ad
5269b1f55f1fc19cf0584dc3ceea821d3f8f8632
refs/heads/master
2023-09-03T07:12:04.166131
2023-09-01T08:56:15
2023-09-01T08:56:15
275,521,177
9
10
MIT
2021-03-25T02:35:20
2020-06-28T06:22:14
PHP
UTF-8
Python
false
false
2,523
py
# -*- coding: utf-8 -*- """ 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 "Li...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
dae5b42382e8e74d2b2b579db2cbab17d24e21ff
12a42054b156383ebbe3ccc5de4150633c66da5d
/problems/longest-consecutive-sequence/solution.py
bd284b649e4f30eb39ed840b85cb0b4ee6dcbb38
[]
no_license
cfoust/leetcode-problems
93c33029f74f32c64caf8294292226d199d6e272
f5ad7866906d0a2cf2250e5972ce910bf35ce526
refs/heads/master
2020-03-16T23:05:45.123781
2018-05-11T16:41:09
2018-05-11T16:41:09
133,064,772
1
1
null
null
null
null
UTF-8
Python
false
false
152
py
class Solution: def longestConsecutive(self, nums): """ :type nums: List[int] :rtype: int """
[ "cfoust@sqweebloid.com" ]
cfoust@sqweebloid.com
191648db5c4ce872041af42a900a4a429edc158e
4eb2cac1b030a129a2ba4a156d5d1ccbf2d472bb
/fullcalendar/calendario/migrations/0003_auto_20161110_2030.py
1f31a5bbe66d999a7be787fe6a483a72a7868238
[]
no_license
CoutinhoElias/calendario
aba3899b10a31f1b6175c943480b4fe45398cb69
0d519f7fee242f8856a1d6cf55b03ba9b1bbbabf
refs/heads/master
2020-12-22T09:05:20.403642
2016-11-11T19:00:00
2016-11-11T19:00:00
73,497,553
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-10 20:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('calendario', '0002_auto_20161110_2013'), ] operations = [ migrations.Remove...
[ "coutinho.elias@gmail.com" ]
coutinho.elias@gmail.com
8d160ec784e313aa01c3b5a268ffa2e46ebb06d0
6c083d19a4e95a5b61637db8ec042ce4a338b6b0
/python_mongo_crud/crud/positions.py
8dbbfd1e0b18310219f42c2d4904b5c21c0830dc
[]
no_license
zeionara/barbershop
a0269e58bbd10a2f969f574f5c4296ba69aa09ca
e4600b7b5483b2692b0fbb6ba0f5b8dbbb839e01
refs/heads/master
2021-03-27T10:15:17.820736
2017-12-22T15:27:46
2017-12-22T15:27:46
110,250,691
2
1
null
null
null
null
UTF-8
Python
false
false
814
py
import configparser from connection import create_session from ming import schema from ming.odm import FieldProperty from ming.odm.declarative import MappedClass from commons import EnhancingClass collection_name = 'positions' config = configparser.ConfigParser() config.read('C://Users//Zerbs//accounts....
[ "zeionara@gmail.com" ]
zeionara@gmail.com
1fea4438696f38ff7f96f2e09e7f8dd183048899
eb64b799ff1d7ef3a244bf8e6f9f4e9118d5cfcd
/homeassistant/components/tuya/sensor.py
3ee88d2d57be6c2a8bfe21f1401e9bcab3814537
[ "Apache-2.0" ]
permissive
JeffLIrion/home-assistant
53966b81b5d5816679f12fc761f79e8777c738d6
8f4ec89be6c2505d8a59eee44de335abe308ac9f
refs/heads/dev
2023-08-22T09:42:02.399277
2022-02-16T01:26:13
2022-02-16T01:26:13
136,679,169
5
2
Apache-2.0
2023-09-13T06:59:25
2018-06-09T00:58:35
Python
UTF-8
Python
false
false
36,143
py
"""Support for Tuya sensors.""" from __future__ import annotations from dataclasses import dataclass from tuya_iot import TuyaDevice, TuyaDeviceManager from tuya_iot.device import TuyaDeviceStatusRange from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription,...
[ "noreply@github.com" ]
JeffLIrion.noreply@github.com
2330592ed088ee598023957ab4a8652c45eddcc4
da4c40f8f21b0813c9a935479c56230eddf71dd3
/simple_rl/ltl-old/experiments/run_experiments.py
cc1af01de47102559286607165c2b55b9ebd459b
[]
no_license
h2r/ltl-amdp
f804bf4ad083dc9d7f0f960af535411b1cbc6f9a
5aa3a4d6fa060b0e9f151c0efee45eea61c799d7
refs/heads/master
2022-07-22T07:52:37.719118
2019-08-29T06:16:32
2019-08-29T06:16:32
187,088,228
4
1
null
2022-06-21T21:59:20
2019-05-16T19:21:08
Python
UTF-8
Python
false
false
8,040
py
import time import os from simple_rl.ltl.AMDP.RoomCubePlainMDPClass import RoomCubePlainMDP from simple_rl.ltl.AMDP.LtlAMDPClass import LTLAMDP from simple_rl.ltl.settings.build_cube_env_1 import build_cube_env from simple_rl.planning import ValueIteration def run_plain_pMDP(init_loc, ltl_formula, cube_env, ap_maps, v...
[ "romapatel996@gmail.com" ]
romapatel996@gmail.com
e5a1dedc7088d5109287a64cf316c8912507a8f1
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/show_apps_overview_response.py
71c0824500634e0b099b139b6237cc2e18cf49b0
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
7,518
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowAppsOverviewResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and th...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
b6928ad9d96f86fb650c98569446ea9a1639c7cb
2455062787d67535da8be051ac5e361a097cf66f
/Producers/BSUB/TrigProd_amumu_a5_dR5/trigger_amumu_producer_cfg_TrigProd_amumu_a5_dR5_833.py
9a592b4e175bba45107c26d155b4e8bbc807753c
[]
no_license
kmtos/BBA-RecoLevel
6e153c08d5ef579a42800f6c11995ee55eb54846
367adaa745fbdb43e875e5ce837c613d288738ab
refs/heads/master
2021-01-10T08:33:45.509687
2015-12-04T09:20:14
2015-12-04T09:20:14
43,355,189
0
0
null
null
null
null
UTF-8
Python
false
false
3,360
py
import FWCore.ParameterSet.Config as cms process = cms.Process("PAT") #process.load("BBA/Analyzer/bbaanalyzer_cfi") process.load("FWCore.MessageLogger.MessageLogger_cfi") process.load('Configuration.EventContent.EventContent_cff') process.load("Configuration.Geometry.GeometryRecoDB_cff") process.load("Configuration.St...
[ "kmtos@ucdavis.edu" ]
kmtos@ucdavis.edu
3e82453e36d6430cadc7c3a2f20dea5381266dc3
5a5401e333bb3cc7e3f35bf08738f8fd0adb938f
/lib/python2.7/site-packages/twisted/words/test/test_msn.py
c700749d93560ff9eba01bef1fee22392d32948c
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
ndrberna/Google_crawler
44b3be0f2a561e5df4ed7747bb0d485107411954
b109db5edbfae79b1047b4798cf959dd3f3a5585
refs/heads/master
2016-09-05T17:27:28.031647
2015-01-30T12:46:59
2015-01-30T12:46:59
30,070,474
4
1
null
null
null
null
UTF-8
Python
false
false
21,119
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Test cases for L{twisted.words.protocols.msn}. """ import StringIO from hashlib import md5 from twisted.internet.defer import Deferred from twisted.protocols import loopback from twisted.python.reflect import requireModule from twisted.test....
[ "bernardini.andrea@gmail.com" ]
bernardini.andrea@gmail.com
0069f78905351db695975fbd72ebc1b5ae332d60
9b9b6a7aa1de1092a8480771f2b08ffa0972218d
/python/sklearn/linear-regression/workload-analysis/classify/online/params/param_counter.py
1af00ac73271adc2c5101bc6c3e24af7064e2cb7
[ "WTFPL" ]
permissive
lijiansong/lang
c42ca757306b38f37a26fef841b2460f05a13af6
27ffecd9afe67ddac003fc4d6333e06e2cc20434
refs/heads/master
2023-02-25T17:36:01.221720
2023-02-14T14:10:29
2023-02-14T14:10:29
149,586,739
1
1
null
null
null
null
UTF-8
Python
false
false
825
py
import caffe from numpy import prod, sum from pprint import pprint import os def print_param_info(net_name, net_file): net = caffe.Net(net_file, caffe.TEST) print('Layer-wise params:') pprint([(k, v[0].data.shape) for k, v in net.params.items()]) print('--> {} total number of params: {}'.format(net_nam...
[ "lijiansong@ict.ac.cn" ]
lijiansong@ict.ac.cn
28691a0f6566ba2f43a980db581c0b15aacf756e
34e44059f187d9064959842ef8b6a8526e0db431
/pariba/settings.py
25791709cfaaa0939a65be86a085476062311b53
[]
no_license
SimeonYS/pariba
f682285d3a370468b2612fb02af3e2ef7b51be51
af662fb20d5f33d45915062180f4481fa014d18a
refs/heads/main
2023-03-07T07:26:18.513902
2021-02-26T11:39:15
2021-02-26T11:39:15
342,557,708
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
BOT_NAME = 'pariba' SPIDER_MODULES = ['pariba.spiders'] NEWSPIDER_MODULE = 'pariba.spiders' FEED_EXPORT_ENCODING = 'utf-8' LOG_LEVEL = 'ERROR' DOWNLOAD_DELAY = 0 USER_AGENT="Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" ROBOTSTXT_OBEY = True ITEM_...
[ "simeon.simeonov@ADPVT.com" ]
simeon.simeonov@ADPVT.com
21da94d8fe23dc14ad9e002afb37fa79fa9265db
808eb8f2ae19d78531d2179d28aa1bc569b87a7d
/setup.py
79722097e9aa60945975738c3bbfa496e741002f
[ "BSD-3-Clause" ]
permissive
huangjundashuaige/elastic
b59f5143fbc28291500e441bba824d532947ffc7
9e0b6abc87a5cb6c0ece2d630d3bdb812682ba45
refs/heads/master
2022-12-07T05:26:40.370489
2020-09-04T05:30:51
2020-09-04T05:32:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,241
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import os import re import sys from setuptools import find_packages, setup def get_ver...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
0631bc7566c1dfbeee8db0e84fcf39ae79453c92
181af10fcf40b824fe92d3b8f72fd15d6d1490c2
/Medium/144. Binary Tree Preorder Traversal/Binary Tree Preorder Traversal.py
caf9c234794d2dbc9002cb5f15b5547ac17fe488
[]
no_license
wangyendt/LeetCode
402c59a0b7b7f5b3a672231ea5dad8056ade36af
4a3ba15284c45b2d8bf38306c8c8526ae174615c
refs/heads/master
2023-08-10T06:27:54.995152
2023-08-10T02:22:27
2023-08-10T02:22:27
176,651,399
6
0
null
null
null
null
UTF-8
Python
false
false
705
py
#!/usr/bin/env python # encoding: utf-8 """ @author: Wayne @contact: wangye.hope@gmail.com @software: PyCharm @file: Binary Tree Preorder Traversal @time: 2019/8/22 17:55 """ import sys sys.path.append('..') from Tools.BinaryTree import * class Solution: def preorderTraversal(self, root: TreeNode) -> list: ...
[ "905317742@qq.com" ]
905317742@qq.com
36cf221a113a5fbedd4fa3a7d3a6fff3f1f11dcb
d101a1499cb453364eaed7bc920f1bf0e01a3470
/tests/onnx_matrix_conv2d_resblock/onnx_matrix_conv2d_resblock.py
38199eff52c911fdce9f66aba9277e92279bfc4b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
m1kit/nngen
01cfdc373ffcb67e68d9069e1919b126745b501d
5d71885a59b667b883a328f3cbd0d40579300b7f
refs/heads/master
2020-09-23T13:45:57.949339
2019-11-27T04:25:16
2019-11-27T04:25:16
225,514,595
0
0
Apache-2.0
2019-12-03T02:39:22
2019-12-03T02:39:21
null
UTF-8
Python
false
false
10,477
py
from __future__ import absolute_import from __future__ import print_function import os import sys import functools import math import numpy as np import torch import torchvision import torchvision.transforms as transforms import torch.nn as nn import torch.nn.functional as F import torch.autograd # the next line can...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
13c34b9b58229caa417302b1c34bd40e5e0b53b6
13bbcaf8713bc2da48907640ebd3b27860684079
/opy/opy_main.py
9e5ed01ef73d39ca22b45ec908c669ad7a7490d4
[ "Apache-2.0" ]
permissive
tekknolagi/oil
3f36034c0e2722562dd28805e1637f68905126b5
a4c42abe13a7cc97c4fce0422371f127d7c78df6
refs/heads/master
2022-07-20T16:45:42.974107
2019-10-22T05:03:05
2019-10-22T05:03:05
157,894,333
0
0
Apache-2.0
2018-11-16T16:35:34
2018-11-16T16:35:34
null
UTF-8
Python
false
false
17,253
py
""" opy_main.py """ from __future__ import print_function import cStringIO import hashlib import optparse import os import sys import marshal import types from . import pytree from . import skeleton from .compiler2 import consts from .compiler2 import dis_tool from .compiler2 import misc from .compiler2 import trans...
[ "andy@oilshell.org" ]
andy@oilshell.org
47f47d17d3d69a25285ce3e88fbb0277e9f7b490
5bd49cdbd0dd04af74a98b96aba3a936512f40c9
/datasetCode/resize_dataset.py
5885e7fab30c69cac2e8e36f2d7780e41ab09c94
[]
no_license
gombru/instaEmotions
fd78ca7a27ccd868bea239b98d5a8db895d945f8
94c0b69096e6aeb0c187aac8d76db49e379f9bc7
refs/heads/master
2021-05-09T23:21:14.938278
2018-02-13T08:25:19
2018-02-13T08:25:19
118,780,583
0
0
null
null
null
null
UTF-8
Python
false
false
1,965
py
# Resizes the images in a folder and creates a resized datasetcd in another # It also filters corrupted images import glob from PIL import Image from joblib import Parallel, delayed import os from shutil import copyfile import time json_filtered_path = "../../../hd/datasets/instaEmotions/json_filtered/" im_dest_path...
[ "raulgombru@gmail.com" ]
raulgombru@gmail.com
76527e924164481f7266a0971135b8d4ce87e829
d66aa4c77f65bb837e07626c696b6dc886c7b1c1
/base/Chapter-9/Chapter-9-3/Chapter-9-3.py
b9b07535566362568d6657934bc76850d1527ebf
[]
no_license
silianpan/Excel_to_Python
2a789aec0eb38d3178be6dd44205792624d0d4c4
1c5890988c99b2939c4d98bb6a881e15d6c3ad7d
refs/heads/master
2021-07-09T00:25:54.665343
2021-05-04T11:25:18
2021-05-04T11:25:18
242,090,461
1
0
null
null
null
null
UTF-8
Python
false
false
293
py
# 自定义函数。 def level(number,lv1,lv2,lv3): if number>=90: return lv1 elif number>=60: return lv2 elif number>=0: return lv3 # 自定义函数的调用。 for score in [95,63,58,69,41,88,96]: print(score,level(score,'优','中','差'))
[ "liu.pan@silianpan.cn" ]
liu.pan@silianpan.cn
d840c7184808da0922210c4d1bfc5af6e5d4d5d2
149c3220bd49460554868fc5752f21f5396cbd86
/HW3/libs/miscellaneous/__init__.py
744ef6f2b876d34cf00e197730b4d9915dfc2ee6
[ "MIT" ]
permissive
Aminaba123/CMU10707_Assignments
01879d2a84acbf9c5dda7765888d9d674465b1a9
9c331c471acc443773b27f0b1778676731284cfd
refs/heads/master
2020-04-13T01:06:27.549010
2018-02-12T21:38:44
2018-02-12T21:38:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
from .conversions import sort_dict, scalar_list2str_list
[ "xinshuo.weng@gmail.com" ]
xinshuo.weng@gmail.com
77cebbb34a0206d63b09f11451825731950f316b
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/scheduler/latest/get_job_collection.py
01c4ede4ea20f274e912f4161ff2a78f9a16fe18
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
3,835
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
4cd64a5900987513454fab8e412bc4c1b59e5930
9588581462e70c0fd8728da13771cc72dbb9691e
/src/python/interpret/test/test_interactive.py
84126bedf8fa54bb79bee7d7aa223ce4414ea308
[ "MIT" ]
permissive
anshuman-unilu/interpret
df88a34433e0fc82ea697109afbf56799c886068
79d4afe441e8f153ef13313d81b3dd0a09361be1
refs/heads/master
2020-05-24T07:40:18.372789
2019-05-16T23:31:44
2019-05-16T23:31:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
# Copyright (c) 2019 Microsoft Corporation # Distributed under the MIT software license from ..visual.interactive import set_show_addr, get_show_addr, shutdown_show_server def test_shutdown(): target_addr = ("127.0.0.1", 1337) set_show_addr(target_addr) actual_response = shutdown_show_server() expec...
[ "interpretml@outlook.com" ]
interpretml@outlook.com
aeb1ba7b12cf83d1a171bfd95e019d04261e82be
bfe1d367f09969c5f99b66960d23bd23db2d1cfd
/migrations/versions/d7da7d3067a1_followers.py
8862d09bb2ba3c2aaac8674c244ba8ca132e5f14
[]
no_license
sockduct/myblog
f97ed3e97262ea2d175499fb3acb7eac98cd3567
1b0a30e21c119b6c494d2f6241ff346a3bbcd4e9
refs/heads/master
2022-12-08T22:35:08.921777
2018-12-27T11:31:32
2018-12-27T11:31:32
160,174,872
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
"""followers Revision ID: d7da7d3067a1 Revises: 470ad871bbde Create Date: 2018-11-20 07:53:39.417383 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'd7da7d3067a1' down_revision = '470ad871bbde' branch_labels = None depends_on = None def upgrade(): # ### ...
[ "james.r.small@outlook.com" ]
james.r.small@outlook.com
a4ff7a1359bc8e2211bd34192f2b5c15102c5918
061a223e2207d9d8743979be1c64cf4a1ffa7920
/src/pretix/base/migrations/0002_auto_20151021_1412.py
69380c7e0f47d1430bc6ca50835ae1d940525e41
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
cygery/pretix
925bf8e612f305d87aa9acbef02fa7697917a15c
232c42b265bdbcd535dca2dec98c73dbca9becd9
refs/heads/master
2021-01-18T02:50:20.297908
2015-10-22T15:45:19
2015-10-22T15:45:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pretixbase', '0001_initial'), ] operations = [ migrations.AlterField( model_name='quota', name='size...
[ "mail@raphaelmichel.de" ]
mail@raphaelmichel.de
7c38e98199e0c1619b75fb425ef013bfde8a52dc
205e2d038ad3fd01e4072e5f7fcc0d32dbea341f
/06函数/03/function_bmi_upgrade.py
7ca38bf21a62d1d00a09f7f99cd38defea8627e4
[]
no_license
xiaohema233/LearnPythonWithZeroFoundation
b35cd95a13389a2d97ab4a4eff73fddb18ab85c8
da9f4579b76e3b951dd0870664744014538fdb14
refs/heads/master
2022-10-24T10:42:30.453209
2020-06-13T07:32:00
2020-06-13T07:32:00
271,948,165
0
0
null
null
null
null
UTF-8
Python
false
false
1,445
py
def fun_bmi_upgrade(*person): """功能:根据身高和体重计算BMI指数(升级版) *person:可变参数该参数中需要传递带3个元素的列表, 分别为姓名、身高(单位:米)和体重(单位:千克) """ for list_person in person: for item in list_person: person = item[0] # 姓名 height = item[1] # 身高(单位:米) weight = item[2] # 体重(单位:千克) ...
[ "33052287+xiaohema233@users.noreply.github.com" ]
33052287+xiaohema233@users.noreply.github.com
069972eef43625c5c870e7345f1562830ce1d413
112882b8d6c5071e7d2610c595bfca9210c79a0a
/tools/leetcode.200.Number of Islands/leetcode.200.Number of Islands.submission2.py
02ab1888baec51062ca3339b9c5f160cca05b049
[ "MIT" ]
permissive
tedye/leetcode
193b1900d98e35d5c402013cbe3bc993d0235da2
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
refs/heads/master
2021-01-01T19:06:06.408135
2015-10-24T06:44:40
2015-10-24T06:44:40
41,804,923
4
0
null
null
null
null
UTF-8
Python
false
false
727
py
class Solution: # @param {character[][]} grid # @return {integer} def numIslands(self, grid): if not grid: return 0 m = len(grid) n = len(grid[0]) count = 0 for i in range(m): for j in range(n): if grid[i][j] == '1': ...
[ "tedye@bu.edu" ]
tedye@bu.edu
e295fde13f0aa807766ef22576da20670075e3a5
82074ba616918ede605dec64b038546a7b07bd7d
/app/reports/report_amp.py
57d0c3ba657966103e6c93e3b2adfc42283e2a16
[]
no_license
chetankhopade/EmpowerRM
b7ab639eafdfa57c054a0cf9da15c3d4b90bbd66
8d968592f5e0d160c56f31a4870e79c30240b514
refs/heads/main
2023-07-05T03:20:13.820049
2021-08-26T11:56:28
2021-08-26T11:56:28
399,354,317
0
0
null
null
null
null
UTF-8
Python
false
false
5,515
py
import datetime from datetime import timedelta from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect, JsonResponse from django.shortcuts import render from django.urls import reverse from django.views.decorators.csrf import csrf_exempt from app.management.utilities.exp...
[ "noreply@github.com" ]
chetankhopade.noreply@github.com
39dd28a5b187c7e69548e7fb1a343b9abc4b6ff5
dfeff5d7da852d8dfb4ab10cb9b6a902041eb313
/website/forms.py
b7b4848a6ff8e8fac9c368ae8d34c1ecd967118b
[]
no_license
jdriscoll98/TorresLawPayments
adac6348e7e4dc0df01142f68b5ce91e1ecd5a8e
b9e59478866924a954f9c9d818b97ed1591d6a96
refs/heads/master
2021-06-21T05:30:18.019685
2020-01-22T02:46:14
2020-01-22T02:46:14
219,618,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
from django import forms from phonenumber_field.formfields import PhoneNumberField class NewClientForm(forms.Form): name = forms.CharField(max_length=200) email = forms.EmailField(max_length=254) phone_number = PhoneNumberField() # validators should be a list monthly_payment = forms.DecimalField(ma...
[ "41447166+jdriscoll98@users.noreply.github.com" ]
41447166+jdriscoll98@users.noreply.github.com
ca4b0d329a6fa697df06e68aa0d627f9e1bc4182
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/communication/azure-communication-phonenumbers/samples/get_purchased_phone_number_sample.py
562eff620cef4cf89444f8caff02db237857b51b
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,558
py
# coding: utf-8 # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
dd976bc4291db029b6f0a14de8e8e7701759e5b5
dd2c8e0a8895ffb217813efb24568c34921cbcf1
/tests/test_field.py
c7b16627cc419c58e0489f094a5f2a2bf2992cef
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
saxix/django-strategy-field
c543ccf101f473994da407def7671f1c2d1dba41
0c92b47976e39a4e8c06e5abfa21033af5a3e806
refs/heads/develop
2022-09-10T01:10:01.135944
2022-08-23T14:01:07
2022-08-23T14:01:07
26,797,927
17
3
NOASSERTION
2021-12-09T17:19:48
2014-11-18T07:45:50
Python
UTF-8
Python
false
false
929
py
import logging import pytest from django.core.mail.backends.filebased import EmailBackend from demoproject.demoapp.models import DemoModelNoRegistry logger = logging.getLogger(__name__) # @pytest.mark.django_db # def test_valid_class(): # d = DemoModelNoRegistry(klass='a.b.c') # with pytest.raises(Validatio...
[ "s.apostolico@gmail.com" ]
s.apostolico@gmail.com
39641467aa7ab39ab1fcd6172a25743cbdf618ba
3d705ec48c94373817e5f61d3f839988910431e3
/lib/platform/dataprocess/testdata/MonthlyPeerActivity.py
0ae6c9885b06e65b5deb4586b28678c73cfdb018
[]
no_license
namesuqi/zeus
937d3a6849523ae931162cd02c5a09b7e37ebdd8
3445b59b29854b70f25da2950016f135aa2a5204
refs/heads/master
2022-07-24T14:42:28.600288
2018-03-29T08:03:09
2018-03-29T08:03:09
127,256,973
0
0
null
2022-07-07T22:57:57
2018-03-29T07:53:16
Python
UTF-8
Python
false
false
907
py
import sys import os sys.path.append(os.path.abspath(os.path.dirname(__file__) + '/' + '..')) def makeexpecteddata(hour=-1): with open(os.path.abspath(os.path.dirname(__file__)) + '/../inputdata/MonthlyDistinctPeerID.txt', 'r') as resultfile: orglines = resultfile.readlines() expectedfile = open(os.p...
[ "suqi_name@163.com" ]
suqi_name@163.com
e86e6c51e9f3fd1ff1426620e49ec00ce6d705e8
4a770290fe9201c39162cf0210d0d2b858f4b26a
/src/AuthTokenSerializer.py
0783a415eeae394894ba3743fc42e60d7454765c
[]
no_license
FuckBrains/geekflex
7e1d8783053313c301c8848d1aa23b03e8f5b0d6
72f048e336619f65c8558b7ec4bdf9ece53e71c3
refs/heads/master
2023-04-21T01:22:49.410096
2020-06-04T15:54:02
2020-06-04T15:54:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,680
py
from django.contrib.auth import authenticate from django.utils.translation import gettext_lazy as _ from rest_framework.exceptions import ValidationError from rest_framework import serializers from custom_exception_message import * class AuthTokenSerializer(serializers.Serializer): username = serializers.CharFiel...
[ "abhishek.singh@shyamfuture.com" ]
abhishek.singh@shyamfuture.com
cc74541a939aef0c5ad8e6b75077aa486fe02deb
5d573c2e3a90e8c4e3b884d54aacd4a44d5d0b87
/Python/python_stack/Django/main/apps/vinmyMVC/urls.py
21c8fbe20ab9cff1240f9595f9784c6c44aa3994
[]
no_license
RubenDuran/DojoAssignments
42d12088feabee09eb1874da010e594b0eb7da18
aa691ae2c41a35f632fa082fbf2eae60ea1f4601
refs/heads/master
2021-01-19T20:57:31.962140
2018-02-13T01:40:07
2018-02-13T01:40:07
88,580,713
0
2
null
2017-06-07T22:01:32
2017-04-18T04:14:30
Python
UTF-8
Python
false
false
134
py
from django.conf.urls import url d from . import views urlpatterns = [ url(r'^$', views.index), url(r'^users$', views.show) ]
[ "rd@rubenduran.net" ]
rd@rubenduran.net
bf084a4d641ccb146774e29836ec3816e58686eb
69cb95793176da6cc64c109028358184c04f0614
/furniture_project/settings.py
5722f6b28964c46f1ef0f7b26f6114b44ca1f5dd
[]
no_license
viralsir/furniture_project
e8b0275a175a058a3c49b841c53501ae0421b688
8823988eedf7d13844d429056cbebace12657790
refs/heads/master
2023-06-02T02:15:28.030895
2021-06-24T10:55:11
2021-06-24T10:55:11
379,879,513
0
0
null
null
null
null
UTF-8
Python
false
false
3,417
py
""" Django settings for furniture_project project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ fr...
[ "viralsir2018@gmail.com" ]
viralsir2018@gmail.com
80fe5968b58c6bc39a226d89c6a53f4b943bec80
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_117/1697.py
2d533ed7e58f2a6b946b3996a912c5ea1547f56b
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,421
py
#!/usr/bin/python """ lawnmower.py google code jam Date: April 13, 2013 """ # Imports import sys, os __version__ = "0.0" __copyright__ = "CopyRight (C) 2012-13 by Coding Assassin" __license__ = "MIT" __author__ = "Coding Assassin" __author_email__ = "Coding Assassin, codingassassin@gmail.com" USAGE = "%prog [option...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
4fac6b7a9628197b6fe387f186a7fc07623e4ca6
14b5679d88afa782dc5d6b35878ab043089a060a
/students/20171587wangyubin/house_class/vcap1.py
f0ffe88f3375d9602fec4d65ea1638ee0c2c9ff9
[]
no_license
mutiangua/EIS2020
c541ef32623f67f9277945cd39cff3c02f06e4dd
92aa2711b763a2c93be238825c445bf2db8da391
refs/heads/master
2022-11-18T05:21:47.567342
2020-07-11T10:11:21
2020-07-11T10:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,737
py
import cv2 import numpy as np import os import time def movedetect(): cap = cv2.VideoCapture(0) background = None temp = 0 while True: # 读取视频流 ret, frame= cap.read() gray_lwpCV = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) # 将第一帧设置为整个输入的背景 if background is None: bac...
[ "noreply@github.com" ]
mutiangua.noreply@github.com
02e26a493efe213d0a3b77f60ce46f37ef39a36e
4910c0f3d03935fc8ee03f1e9dc20dfdb2c7c04b
/Codigos estudiantes por lenguaje/PY/Bryann Valderrama/Grafos/BipartiteGraph.py
d04bb54e45d392f35ce30a386bc046a34184b7b6
[]
no_license
roca12/gpccodes
ab15eeedc0cadc0735651262887b44f1c2e65b93
aa034a3014c6fb879ec5392c51f9714bdc5b50c2
refs/heads/master
2023-02-01T13:49:27.563662
2023-01-19T22:50:58
2023-01-19T22:50:58
270,723,328
3
5
null
null
null
null
UTF-8
Python
false
false
705
py
V = 4 def isBipartite(G, src): colorArr = [-1 for x in range(V)] colorArr[src] = 1 q = [] q.append(src) while not len(q) == 0: u = q.pop() if (G[u][u] == 1): return False for v in range(V): if (G[u][u] == 1 and colorArr[v] == 1): colo...
[ "noreply@github.com" ]
roca12.noreply@github.com
5285bc090689cadec3f1c61678c4e661e70d5554
c9094a4ed256260bc026514a00f93f0b09a5d60c
/homeassistant/components/ovo_energy/config_flow.py
0b2f7aac2d0dd332aa5b63b9f04288dab3f820d5
[ "Apache-2.0" ]
permissive
turbokongen/home-assistant
824bc4704906ec0057f3ebd6d92788e096431f56
4ab0151fb1cbefb31def23ba850e197da0a5027f
refs/heads/dev
2023-03-12T05:49:44.508713
2021-02-17T14:06:16
2021-02-17T14:06:16
50,231,140
4
1
Apache-2.0
2023-02-22T06:14:30
2016-01-23T08:55:09
Python
UTF-8
Python
false
false
3,440
py
"""Config flow to configure the OVO Energy integration.""" import aiohttp from ovoenergy.ovoenergy import OVOEnergy import voluptuous as vol from homeassistant import config_entries from homeassistant.config_entries import ConfigFlow from homeassistant.const import CONF_PASSWORD, CONF_USERNAME from .const import DOMA...
[ "noreply@github.com" ]
turbokongen.noreply@github.com
d4b37b4be69c7bd3ef9bfd185f240b150b6a97cd
9c268aa04ab8b359d11399f94a30c8f4fe171a0c
/tb/eth_mac_1g_gmii_fifo/test_eth_mac_1g_gmii_fifo.py
1879de7188d98184a75f8464c03b1ceacfb43b1f
[ "MIT" ]
permissive
alexforencich/verilog-ethernet
e41586b9214e66341f3eace03da2baa9c004da89
b316c6764e083823f95f52b3f324fccee4f12fa0
refs/heads/master
2023-09-03T00:58:09.380285
2023-08-26T19:44:50
2023-08-26T19:44:50
26,883,874
1,690
530
MIT
2023-08-25T05:59:58
2014-11-19T22:04:53
Verilog
UTF-8
Python
false
false
7,694
py
#!/usr/bin/env python """ Copyright (c) 2020 Alex Forencich 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, merg...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
ad0716b036a955c295028b8c16f49890ea6ae1bb
e96ffb6103e1e9396c19312710d523f1bada0595
/system_program/upgrade_os.py
78e448d3cb8af6635b75b0c09b0821bd5cfe2530
[]
no_license
ktsdn/switch_application
9e1e6558aa295b8bd7512d06d24fdeb2cf15d50a
9e6b6f1186ef48320a5f21cc8a908fbfede54aba
refs/heads/master
2016-09-06T19:48:42.092557
2014-06-16T17:45:43
2014-06-16T17:45:43
19,848,643
0
1
null
null
null
null
UTF-8
Python
false
false
1,851
py
#!/usr/bin/python import os, re, subprocess, sys, urllib, string, Tac, EntityManager sys.stdout if len(sys.argv) != 2: print sys.argv[0]+" requres [os image name]" sys.exit() osimage_name=sys.argv[1] configUrl = "http://20.0.2.224/os/%s" parsedUrl = configUrl % ( osimage_name ) # Look at the boot-config file and g...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
ce4d410eeb53f83ebb2c998716d80b0c3187ed27
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_filters_operations.py
6aa61e7e5b86a508969a0b6fd241056b48cc0b1a
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
27,222
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
catchsrinivas.noreply@github.com
4b8adfb2906855b5ff52615208c97650bd34b3ce
383845f6cd8e2a32f95e5970d2f7e9fb755b6598
/course/tasks/flip-number.py
cb67df395df46d19422f9495602d30f9b414e4b1
[]
no_license
ash/python-tut
e553e9e3a4ecb866e87c7ce9f04d7f517244ac01
f89f079f13dd29eef6ba293b074a0087272dc8a6
refs/heads/master
2022-12-17T03:20:40.633262
2018-03-21T15:04:09
2018-03-21T15:04:09
96,119,629
0
0
null
2022-12-08T00:55:59
2017-07-03T14:29:02
Python
UTF-8
Python
false
false
53
py
n = int(input('Your number: ')) print(str(n)[::-1])
[ "andy@shitov.ru" ]
andy@shitov.ru
d5b7faf942dad1ccd22553726dc85d68233b94b4
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/11166141.py
278d2a652da2694d5480708b494ecc58d53edac3
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/11166141.py generated: Wed, 25 Jan 2017 15:25:27 # # Event Type: 11166141 # # ASCII decay Descriptor: [B0 -> (D*(2010)- -> (D~0 -> (KS0 -> pi+ pi-) pi+ pi-) pi-) pi+]cc # from Configurables import Generation Generation().EventType = 11166141 Generation...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
09d164a0cc83bb33cd140a93eb84a19fb6fb57f3
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/cv/detection/YOLOX_ID2833_for_PyTorch/configs/faster_rcnn/faster_rcnn_r101_caffe_fpn_1x_coco.py
e505116b2ee93d866a0249a0775faee4bf904044
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
871
py
# Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
0f62e49af163ce60e641517c8e094dc79f51ed77
d842a95213e48e30139b9a8227fb7e757f834784
/gcloud/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/command_lib/secrets/args.py
8263c671f43b9e8f6e2e916e137e2d0b4170bf43
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/JobSniperRails
f37a15edb89f54916cc272884b36dcd83cdc868a
39e7f871887176770de0f4fc6789e9ddc7f32b1f
refs/heads/master
2022-11-22T18:12:37.972441
2019-09-20T22:43:14
2019-09-20T22:43:14
282,293,504
0
0
MIT
2020-07-24T18:47:35
2020-07-24T18:47:34
null
UTF-8
Python
false
false
6,385
py
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC. 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 requir...
[ "luizfper@gmail.com" ]
luizfper@gmail.com
d38e23d4fe46dcbd8af662da3ec32e0ddd091617
e5ea52ee45b1938fdafee1b43e472cc7d7fbaed7
/content/downloads/code/test_edward.py
67cddc71179cfee70a615cc8fe0ed4facb909578
[ "MIT" ]
permissive
mattpitkin/samplers-demo
fabe2735ba80706fc8688e462797cb1919e03109
b511f891a30fb46c215c065ceb7e618c820d4d03
refs/heads/master
2022-07-31T05:33:59.252825
2022-07-18T12:16:06
2022-07-18T12:16:06
119,070,470
8
1
MIT
2021-05-20T09:47:35
2018-01-26T15:47:25
Jupyter Notebook
UTF-8
Python
false
false
1,759
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Example of running edward to fit the parameters of a straight line. """ from __future__ import print_function, division import os import sys import numpy as np import matplotlib as mpl mpl.use("Agg") # force Matplotlib backend to Agg # import edward and TensorFlow ...
[ "matthew.pitkin@ligo.org" ]
matthew.pitkin@ligo.org
f89d60d03f53f6543a62034824916e850a8de360
51d05aa62e8c21d50bba116b795a003107d14e2a
/detection_app/object_detection_tf_multiprocessing.py
8389dafb8c6ee25b1da5bc0830915e7e2414388b
[ "MIT" ]
permissive
Airyzf/object_detection_with_tensorflow
7747659f4dcbca124ca9615872428152c1194204
301d1fe316aaa7579dae2b42babe4e8ace0a18e7
refs/heads/master
2021-08-24T15:20:33.349083
2017-12-10T06:45:03
2017-12-10T06:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,238
py
import os import tarfile import tensorflow as tf import multiprocessing from multiprocessing import Queue import time import argparse import logging import numpy as np import cv2 from myutil import downloadutil, fps_measure, queue_seq from object_detection.utils import label_map_util from object_detection.utils impo...
[ "scotthuang1989@163.com" ]
scotthuang1989@163.com
9c48335f00e4ce934b4c7957642e0f09ec30604b
7c47e106c9ec85a7239c84c55ad5f20972edefcf
/particles/DustParticle.py
b4fb7a915db500a8b4446eb8d19a8df6c7c4a800
[]
no_license
anasthesia/pyBBN
11813717ad5023a9b29f9594ccde93fbc2d5a0c9
0e88604b765eb5ce2f196909c65cf2af11a8cc2f
refs/heads/master
2021-01-21T03:37:46.309318
2016-05-10T12:03:50
2016-05-10T12:03:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,055
py
""" Non-relativistic simplifications of density, energy density and pressure calculations """ import numpy import IntermediateParticle name = 'dust' def density(particle): """ ## Density \begin{equation} n = g \left(\frac{M T}{2 \pi}\right)^{3/2} e^{-\frac{M}{T}} \end{equation} "...
[ "andrew.magalich@gmail.com" ]
andrew.magalich@gmail.com
fcbdc26bdfbfc32229cd4c6209a56680ffbcab39
6e5ab77fee1fb4a0310213dd8c6dd8601828b1b9
/Algorithm/Swea/D3_17937.py
c33b3d05a10f502e205aa35b54c042cc4e7d0f4a
[]
no_license
hongyong3/TIL
36d031c0da9e3e6db3eebb977bd3e12df00a849f
7f1492128e957a78fc95b255f4f7f2978161e471
refs/heads/master
2023-08-19T09:16:03.231757
2023-08-18T09:38:47
2023-08-18T09:38:47
162,100,258
1
0
null
2023-02-11T00:52:32
2018-12-17T08:42:42
Jupyter Notebook
UTF-8
Python
false
false
198
py
import sys sys.stdin = open("D3_17937_input.txt", "r") T = int(input()) for test_case in range(T): A, B = map(int, input().split()) print("#{} {}".format(test_case + 1, A if A == B else 1))
[ "chy66822495@gmail.com" ]
chy66822495@gmail.com
6826c1f6a09f7b06ef7a2f2506da4f8233577248
880aeff2ae5d70c8a01c11f0c0d9f6154d390229
/tests/test_scale_limits.py
8a20d5b5de56b50c95df85b6a97b1f3ff8c79f99
[ "CC0-1.0" ]
permissive
bellyfat/ccxt_rate_limiter
8799c097589de876040521573f382f1615260609
d37d675829eb2c1b89980c5001022b63c554ed90
refs/heads/master
2023-04-12T22:15:28.280063
2021-04-21T04:57:14
2021-04-21T04:57:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,111
py
from unittest import TestCase from ccxt_rate_limiter import scale_limits class TestScaleLimits(TestCase): def test_scale_limits(self): result = scale_limits([ { 'tag': 'tag1', 'period_sec': 1, 'count': 10, }, { ...
[ "a@example.com" ]
a@example.com
0987bb7dede5a91338e72049a78083b1e8ac34ff
ef6229d281edecbea3faad37830cb1d452d03e5b
/ucsmsdk/methodmeta/PolicySetCentraleStorageMeta.py
e59ff3cebcf9e73fcfaa63776c0f7540eff10df3
[ "Apache-2.0" ]
permissive
anoop1984/python_sdk
0809be78de32350acc40701d6207631322851010
c4a226bad5e10ad233eda62bc8f6d66a5a82b651
refs/heads/master
2020-12-31T00:18:57.415950
2016-04-26T17:39:38
2016-04-26T17:39:38
57,148,449
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
"""This module contains the meta information of PolicySetCentraleStorage ExternalMethod.""" import sys, os from ..ucscoremeta import MethodMeta, MethodPropertyMeta method_meta = MethodMeta("PolicySetCentraleStorage", "policySetCentraleStorage", "Version142b") prop_meta = { "cookie": MethodPropertyMeta("Cookie", ...
[ "test@cisco.com" ]
test@cisco.com
8e7744daac894e64ea037091c80cf88a8cc3ce3e
3d962ed6a8d35929b1f24b8654634abef957f0c9
/src/qanda/views.py
a3ef2751e4208ff6d1b938a708963272d9a31004
[]
no_license
Michaeltetteh/stackoverflowclone
44a98ac9c809b5597bf30921166fcc66961a3a16
7d086f3aa3098eb6636145f2c3ba43168275cc8a
refs/heads/master
2020-06-07T03:33:43.664983
2019-07-12T18:59:46
2019-07-12T18:59:46
192,911,917
1
0
null
null
null
null
UTF-8
Python
false
false
4,176
py
from django.contrib.auth.mixins import LoginRequiredMixin from django.views.generic import ( CreateView, DetailView, RedirectView, DayArchiveView, UpdateView, TemplateView, ) from django.shortcuts import render from .forms import ( QuestionForm, AnswerForm, AnswerAcceptanceForm, ) fr...
[ "miketetteh751@outlook.com" ]
miketetteh751@outlook.com
127cf91a36cce18269d93f055cf62345174901b7
45870a80cbe343efe95eb9e8d0bd47c8c88353d1
/特殊的函数/venv/Lib/site-packages/tensorflow/tools/api/generator/api/errors/__init__.py
ef90b8fb905ffd54a01f8504bd2d3b233f1a0383
[]
no_license
pippichi/IntelliJ_PYTHON
3af7fbb2c8a3c2ff4c44e66736bbfb7aed51fe88
0bc6ded6fb5b5d9450920e4ed5e90a2b82eae7ca
refs/heads/master
2021-07-10T09:53:01.264372
2020-07-09T13:19:41
2020-07-09T13:19:41
159,319,825
0
0
null
null
null
null
UTF-8
Python
false
false
2,608
py
"""Imports for Python API. This file is MACHINE GENERATED! Do not edit. Generated by: tensorflow/tools/api/generator/create_python_api.py script. """ from tensorflow.python import OpError from tensorflow.python.framework.errors import AbortedError from tensorflow.python.framework.errors import AlreadyExistsErro...
[ "874496049@qq.com" ]
874496049@qq.com
cfce7f8cc064960588d18c6795bf79c1dd97fe64
1734fd26a9adf7d2580f8bd981babda861944ebd
/location/knn3.py
def676e1aefe9ed988837a256d577a49d17692d9
[]
no_license
tangzhuochen/Python_ML_Code
420f4d80552a901b41e368e4e66a06f51ea1b29f
b418fd6a431a77838447ab4736bdf24019276309
refs/heads/master
2020-03-28T11:44:50.853941
2018-02-08T06:59:31
2018-02-08T06:59:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,491
py
# -*- coding:utf-8 -*- """ import csv import math import datetime #user_habit_dict:每个用户的乘车记录:起点,终点,距离 user_habit_dict={} #start_end_dict:每条记录的起点,终点对 start_end_dict={} #end_start_dict:每条记录的起点,终点对 end_start_dict={} #user_habit_dict_test:test中每个用户的记录 user_habit_dict_test={} #bike_dict:bike中的记录 bike_dict={} #弧度转换 def rad(...
[ "1002937942@qq.com" ]
1002937942@qq.com
93dc42a7298af52504ab1711a2face810ea772a6
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/mav.py
7c92e4c55f7682fe3d2e676ed7917bb9b3828d60
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
7723b40c756b824d50377be7a404363e77475980
d3192b76f276d5102b231baf470f32d39a5e4854
/test/StimulusSelector_tests.py
2bf4a0c195b04eb5a0c9e5d1bc93d9af884989f2
[]
no_license
drordotan/trajtracker
874529e1c253f6d2c7527967616adf1c03977e05
f76693c14d649899cfab5b2bbad4835dbf1cd15c
refs/heads/master
2021-06-15T05:31:06.404147
2017-03-27T18:49:21
2017-03-27T18:49:21
81,454,083
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
import unittest import trajtracker from trajtracker.stimuli import StimulusSelector from ttrk_testing import DummyStimulus class StimulusSelectorTests(unittest.TestCase): def test_select(self): a = DummyStimulus() b = DummyStimulus() sel = StimulusSelector([["a", a], ["b", b]]) ...
[ "dror.dotan@gmail.com" ]
dror.dotan@gmail.com
529315e1618e7474cbfb659adba1527cede96ec3
dae7646a7780d471c32ec9dbe637445aa039b082
/cnc/flybox_178x133x10/slots/fixture/pocket.py
d19d779125c2ccc3438e9b9350e9f2da6e3e35d9
[ "Apache-2.0" ]
permissive
iorodeo/flybox_two_chamber
249dc805074a7c5d2d9d7a8ebec7c3e9c18a792d
d3e24b3fded55308fff8bb95abb2ed97cb2d4465
refs/heads/master
2022-11-09T20:31:37.968775
2015-04-23T00:56:58
2015-04-23T00:56:58
273,790,614
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
from __future__ import print_function import os import sys from py2gcode import gcode_cmd from py2gcode import cnc_dxf feedrate = 150.0 fileName = 'flybox_178x133x10.dxf' depth = 0.120 startZ = 0.0 safeZ = 0.5 overlap = 0.5 overlapFinish = 0.6 maxCutDepth = 0.15 toolDiam = 0.5 cornerCut = True direction = 'ccw' st...
[ "will@iorodeo.com" ]
will@iorodeo.com
fbfc6ebef270cae196f812b58597f0589713b520
1610e03bc2b9b8419e11824079de3c8636f3a039
/0x0A-python-inheritance/1-my_list.py
4db9209230a10b8ff001d267f86007a96f27b635
[]
no_license
Andresmelek/holbertonschool-higher_level_programming
12afc1d94b1cd8dcdcfbeb1f9dc819999506afb8
a1969506f346b808450e33f91d37790732ee7c57
refs/heads/master
2020-09-28T23:40:49.866556
2020-05-14T17:52:53
2020-05-14T17:52:53
226,893,592
0
1
null
null
null
null
UTF-8
Python
false
false
133
py
#!/usr/bin/python3 """ Subclas my list from list. """ class MyList(list): def print_sorted(self): print(sorted(self))
[ "candres.isaza@gmail.com" ]
candres.isaza@gmail.com
6e766d1791c25108dbb653d7258644de85a8c46a
40b3028706b79b2c12603ec3d8c3731186ff054c
/template/project/views/__init__.py
8ab71c6bb2795bf48c9ecf78989f3384a105c55c
[]
no_license
avara1986/python-ms
565c3ddac46eaf8be2a7e7094b73122aebd5911b
788943686c69ead7029253ff20d74b64fa122628
refs/heads/master
2021-09-10T10:11:05.703836
2018-03-24T14:07:42
2018-03-24T14:07:42
121,014,766
1
0
null
null
null
null
UTF-8
Python
false
false
227
py
# coding=utf-8 from __future__ import unicode_literals, print_function, absolute_import, division from flask import Blueprint views_bp = Blueprint('views', __name__, static_url_path='/static') from project.views import views
[ "a.vara.1986@gmail.com" ]
a.vara.1986@gmail.com
133dd666a8084cf7b442838d7798f039cbb32c14
ff66dfb302dfdc5a519787cea8ad0ccfc2264334
/python/ex2_logistic_regression/log_reg_funcs/map_feature.py
e18a6bc7d0f8ee1195718d8e67bf4de005bbca2a
[ "MIT" ]
permissive
ashu-vyas-github/AndrewNg_MachineLearning_Coursera
1c2d50e6a44e8e673203bf06a3f0165cac0a240e
1be5124b07df61f7295dd1c5151b86b061bf50fc
refs/heads/main
2023-07-11T14:30:52.057125
2021-08-17T06:04:30
2021-08-17T06:04:30
388,360,602
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
import numpy def map_feature(X1, X2, num_examples, degree=6): """ Feature mapping function to polynomial features. Maps the features to quadratic features. Returns a new df with more features, comprising of x1, x2, x1^2, x2^2, x1*x2, x1*x2^2, etc... Args: X1, X2: vectors of original fe...
[ "ashutoshavyas@gmail.com" ]
ashutoshavyas@gmail.com
0a65abe66e6a1fdb564042336f4b90993b9c6ce4
4deda1b482534cbd8e9a8f638b8e89651251e62e
/2_Training/src/keras_yolo3/kmeans.py
ff6af5da5aca2c882996ae6045ec7d82841e91cb
[]
no_license
SIlvaMFPedro/train-your-own-yolo
4cd92af5542a81caa6ce607bf6e487fc0aa43ef0
f872f514dbc553ce7732b98c6d0f1b1134fa539e
refs/heads/master
2022-12-30T11:26:59.462514
2020-10-09T13:32:17
2020-10-09T13:32:17
295,769,074
1
0
null
null
null
null
UTF-8
Python
false
false
3,751
py
# ----------------------------- # USAGE # ----------------------------- # python kmeans.py # ----------------------------- # IMPORTS # ----------------------------- # Import the necessary packages import numpy as np # ----------------------------- # YOLO KMEANS # ----------------------------- class YOLO_Kmean...
[ "silva.mfpedro@gmail.com" ]
silva.mfpedro@gmail.com
94d9193a284802436208775ba4c528db0580ef80
5eef5390146a6a1a8502ffbeba5b3bc211060bf2
/0x0F-python-object_relational_mapping/10-model_state_my_get.py
aac6c0c0c3b83628cc89f650ee0f63df3cfdddd8
[]
no_license
sebastiancalleu/holbertonschool-higher_level_programming
581b68fea5c5ea469a8abfddae9890cc8c9387e3
06b7a7f6481d01f37f0fa0a66073881cda76016f
refs/heads/master
2023-04-22T15:22:18.981649
2021-05-13T04:18:16
2021-05-13T04:18:16
319,347,075
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
#!/usr/bin/python3 ''' Select data from states table and return the first row the print the state id of that first element the element to search is given by the user. ''' import sys from model_state import Base, State from sqlalchemy import (create_engine) from sqlalchemy.orm import Session if __name__ == "__main__"...
[ "sebastian.calleu@gmail.com" ]
sebastian.calleu@gmail.com
14adc39cbb8806bbd51cc0b927aa8060d305a1d9
3f100a1002a1f8ed453c8b81a9b403444d77b4c6
/while_loops/loops5_b.py
9bcb87471c46f1a13f53fed9b8089e0926fbe710
[]
no_license
Kimuda/Phillip_Python
c19c85a43c5a13760239e4e94c08436c99787ebf
59d56a0d45839656eb15dbe288bdb0d18cb7df2b
refs/heads/master
2016-09-09T22:19:02.347744
2015-05-01T10:56:49
2015-05-01T10:56:49
32,330,951
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
i=1 b=int(input("enter a number ")) while i<=b: print(i) i=i+1
[ "pjkanywa@gmail.com" ]
pjkanywa@gmail.com
33034bddb04f8718ad796d8a5a5bbca8d501c310
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/q_match/algorithms/dino_pretext_training.py
83c1d32c2d7f7308bec3e50fbda26aba6c75ca5d
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
11,224
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
514579e74860ed75d0f38480fbea5d0c3adc143e
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/m_theory/m_theory_lib/ode/ode_hessian.py
7a4d2de1fd85717b53c65fe357066402e686e45c
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
28,642
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
9bbbedff01056b88fabd955be7b0e926ef8759f1
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/event_testing/resolver.py
e7c20b72ec4202bb888c21a913d2018159b881bc
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
81,129
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\event_testing\resolver.py # Compiled at: 2020-07-28 02:03:24 # Size of source mod 2**32: 61938 bytes...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
c267b35781314c7896acf033300f5734509d3201
8205fe05169b8fd478f4f5e6b8d190e0378148b2
/automationFramework/test_end2end.py
2f79fbc24b084f97ee6b524e3d849ce565cc64df
[]
no_license
akashgkrishnan/test_automate
04de6f0f3b3ee3ab92675897451ae53d44a37322
0e89e5759edeb6866be252d2d3c742ded0c81c3e
refs/heads/master
2022-07-09T00:46:22.665077
2020-05-12T10:32:36
2020-05-12T10:32:36
263,295,779
0
0
null
null
null
null
UTF-8
Python
false
false
1,578
py
from time import sleep from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.wait import WebDriverWait import pytest from automationFramework.utilities.BaseClass import BaseClass #@pytest.mark.usefixtures('setup') class TestOne(BaseClass):...
[ "krishnanag1996@gmail.com" ]
krishnanag1996@gmail.com
0cb3dab001668911dcae3905f35bdb948c5b58c9
bc2dae7b0874d760128ff4de79b659d45a2e5219
/de_sim/examples/sirs.py
a4fea3c03d081d2ffaef7dcd97f6d2544f5dfaca
[ "MIT" ]
permissive
rmes-ai/de_sim
5cb260bed25d4f49f09e72d3321a8b1a5ddf7cc5
6f189d8c8e850e092d816f6be3d6f87b4f983ac2
refs/heads/master
2023-02-20T21:45:38.728639
2020-12-17T14:34:51
2020-12-17T14:34:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,140
py
""" Example DE-Sim implementations of stochastic Susceptible, Infectious, or Recovered (SIR) epidemic models :Author: Arthur Goldberg <Arthur.Goldberg@mssm.edu> :Date: 2020-07-08 :Copyright: 2020, Karr Lab :License: MIT """ import enum import numpy from de_sim.checkpoint import AccessCheckpoints from de_sim.simulati...
[ "artgoldberg@gmail.com" ]
artgoldberg@gmail.com
8e7d2f3abd934396afb8202bf74aac908df7bd2c
e6fac8e0289d9f82369d2eb8e22bc175c6f51b3b
/Interview Practice/sumOfTwo/sumOfTwo.py
5b51c64a9afc26f2a8ec4511ba4c2170686d43a6
[]
no_license
Zahidsqldba07/CodeFights-9
f361c15d24f96afa26de08af273a7f8f507ced4a
6c5d152b1ad35cf178dd74acbc44ceb5fdcdf139
refs/heads/master
2023-03-18T23:52:43.274786
2017-05-12T07:28:08
2017-05-12T07:28:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
def sumOfTwo(a, b, v): # Convert a and b to sets for O(1) average case in-operations. a = set(a) b = set(b) # For each number in a, is the difference `in` b? for number in a: if v - number in b: return True # There were no pairs that added up to v. return False
[ "hallosputnik@gmail.com" ]
hallosputnik@gmail.com
73e9f458e6dc0153719f1d6fd927b85b27897c0b
854bf3649552aeda06573b7e7fea38e3a14332a1
/thirdapp/wsgi.py
f6a77b8f75dcf0c9a423740289619093f9b83bfe
[]
no_license
mehulchopradev/charles-django-thirdapp
a90d88034c4233f175d3828f81811105f9eaeb56
ea2ea37830393a0fbf437cb517129c13fddf696c
refs/heads/master
2020-04-03T16:48:37.782132
2018-10-30T16:30:07
2018-10-30T16:30:07
155,420,092
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for thirdapp project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "mehul.chopra.dev@gmail.com" ]
mehul.chopra.dev@gmail.com