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
2caae5f00b788e0f8bb0d2dcb65a49a0c99739a9
1eaf0d12c9739c1c8be295800cc0cb0a0d9db8e2
/eval/simulation.py
171288c84661f4c35f46d532d71f1986050fce86
[]
no_license
juhuntenburg/nonlinear_coreg
5b3b95ba14a038c950e409bb9c0199828eb57422
c4faa41c5c1401eaf6955557750f3d9834dfa271
refs/heads/master
2021-01-10T09:25:09.714712
2016-01-28T07:34:46
2016-01-28T07:34:46
50,565,020
1
0
null
null
null
null
UTF-8
Python
false
false
9,002
py
# see readme file for how to get the simulated data #import libraries from nipype.pipeline.engine import Node, Workflow from nipype.interfaces import Function from nipype.utils.filemanip import filename_to_list import nipype.interfaces.utility as util import nipype.interfaces.fsl as fsl import nipype.interfaces.ants as...
[ "ju.huntenburg@gmail.com" ]
ju.huntenburg@gmail.com
7454cf6efe86e121133d4f676780dde446ac0859
06fe8a3bb7971066a204be73731a9af3e67edbb9
/soccer/gameplay/tests/test_constants.py
1493f44ca313729a8e14841601d4ca525ae01788
[ "Apache-2.0" ]
permissive
sgadgil6/robocup-software
130099715dafd80155bf07966f186f036280455a
2b647345f0cdcc50021558b5cccf109239d3e954
refs/heads/master
2020-12-26T04:38:28.196256
2015-09-29T23:33:58
2015-09-29T23:33:58
43,398,854
1
0
null
2015-09-29T22:49:27
2015-09-29T22:49:27
null
UTF-8
Python
false
false
477
py
import unittest import constants import robocup class TestConstants(unittest.TestCase): def test_our_goal_zone(self): # right in the center of the goal zone in_zone = robocup.Point(0, constants.Field.PenaltyDist / 2.0) out_zone = robocup.Point(0, constants.Field.Length / 2.0) sel...
[ "justbuchanan@gmail.com" ]
justbuchanan@gmail.com
6599fda660a020fbc1972dae24d4e1cb898e6c27
466660115eafd99b72f81339d86c5bcbf4c7efb0
/codes/15/spectrum_50HzRepeat.py
b04979b971b4acfdd85218fcd1fe02f82e9fb818
[]
no_license
CoryVegan/scipybook2
c2bb68c169c632ab389600034beb33ac921b0ba1
a8fd295c2f2d7ee18f351e5622ca7eeb4649ee50
refs/heads/master
2020-03-23T14:50:28.056482
2017-08-25T06:00:00
2018-06-02T14:18:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
# -*- coding: utf-8 -*- import numpy as np import pylab as pl t = np.arange(0, 1.0, 1.0/8000) x = np.sin(2*np.pi*50*t)[:512] pl.figure(figsize=(8,3)) pl.plot(np.hstack([x,x,x])) pl.xlabel("取样点") pl.subplots_adjust(bottom=0.15) pl.show()
[ "qytang326@gmail.com" ]
qytang326@gmail.com
9361603f524a0d1e30f0a17a54c5c6ff4b05b2a6
a5ad207961fddfb0bab8c7471b6f91b69865e0fc
/app/agis/models/enormal/menu.py
09ca2c47c0709f53c80e61db7cfffc14356895c6
[ "LicenseRef-scancode-public-domain" ]
permissive
yotech/agis
b2465fc340e366fbe0267c4000bb0ae728386399
4abbecd175337d4942ac133847ce8fc870670571
refs/heads/master
2020-12-15T09:10:58.076323
2016-05-10T14:36:54
2016-05-10T14:36:54
32,155,630
0
2
null
2016-05-10T14:36:54
2015-03-13T12:52:01
Python
UTF-8
Python
false
false
687
py
# -*- coding: utf-8 -*- from gluon import * from agiscore.gui.mic import Accion if not request.ajax and request.controller != 'appadmin': # import si se necesita from agiscore.gui.escuela import escuela_menu from agiscore.gui.unidad_organica import unidad_menu from agiscore.gui.enormal import enormal_m...
[ "ybenitezf@gmail.com" ]
ybenitezf@gmail.com
63f4970d203971e6b87ce1413f3580da08d7436c
5f9bdfc588331ef610ba01d7ef90c4f8a96fdc63
/plot.py
3d8ca3134805bf8f081d2405810a8936d42eb86c
[]
no_license
imrehg/fuel
1c3c73c79f0aaf500a6024bd4fc32980987201c7
41c2afa3506172eab31ac1618e6ea3706277fef1
refs/heads/master
2016-09-10T09:58:26.424418
2011-05-05T06:10:21
2011-05-05T06:10:21
1,702,343
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
import numpy as np import pylab as pl from matplotlib.transforms import offset_copy filename = "data.csv" types = {'names' : ['code', 'name', 'gdp', 'ppp', 'oilout', 'oilin', 'price'], 'formats' : ['S30', 'S30', 'f4', 'f4', 'f4', 'f4', 'f4'] } data = np.loadtxt(filename, delimiter=",", dtype=types) ...
[ "imrehg@gmail.com" ]
imrehg@gmail.com
ef3f4ca1f02f57a1d00a845f054e57b10411e8c5
25b914aecd6b0cb49294fdc4f2efcfdf5803cc36
/homeassistant/components/trafikverket_weatherstation/config_flow.py
103af1c7eb4157ad3f6eb2f593bd8fa981f47a36
[ "Apache-2.0" ]
permissive
jason0x43/home-assistant
9114decaa8f7c2f1582f84e79dc06736b402b008
8bf6aba1cf44ee841de063755c935ea78040f399
refs/heads/dev
2023-03-04T01:14:10.257593
2022-01-01T12:11:56
2022-01-01T12:11:56
230,622,861
1
1
Apache-2.0
2023-02-22T06:15:07
2019-12-28T14:45:43
Python
UTF-8
Python
false
false
2,802
py
"""Adds config flow for Trafikverket Weather integration.""" from __future__ import annotations from pytrafikverket.trafikverket_weather import TrafikverketWeather import voluptuous as vol from homeassistant import config_entries from homeassistant.const import CONF_API_KEY from homeassistant.helpers.aiohttp_client i...
[ "noreply@github.com" ]
jason0x43.noreply@github.com
b464fca1bb2e46c78e2e37b913633e930aa13bb9
1b3fc35ada474601a76de3c2908524336d6ca420
/day10/my/Meizitu/Meizitu/start.py
9b9063bac0c96d2345c8dab199a5ff64631d28ad
[]
no_license
dqsdatalabs/Internet-worm
db3677e65d11542887adcde7719b7652757a3e32
62f38f58b4fa7643c482077f5ae18fff6fd81915
refs/heads/master
2022-01-16T14:29:52.184528
2018-12-25T08:46:08
2018-12-25T08:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from scrapy import cmdline # cmdline.execute('scrapy crawl meinvtu'.split()) cmdline.execute('scrapy crawl meinvtu2'.split()) # cmdline.execute('scrapy crawl meinvtu3'.split())
[ "aaa1058169464@126.com" ]
aaa1058169464@126.com
11f96be98b5c5a354373930a6d5cc0d583e6f56f
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/jg4.py
512215a3807d0213823f517008cc4bdcbfc83ab2
[]
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
895f55c73c05abed86e355cd53adbf875d22d6f5
c46ef0ccf030cee783a75d549e3c9bc0810579ff
/tutorial-contents/405_DQN_Reinforcement_learning.py
20fa80cdeeb85f8daeac040cef09380718a56006
[ "MIT" ]
permissive
cocodee/PyTorch-Tutorial
37827b3daa5de1dee6ca174161d948a1933d4453
a7b14b80913485735a3ee87da6998a511a1f1950
refs/heads/master
2021-07-19T16:01:13.106848
2017-10-26T22:06:10
2017-10-26T22:06:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,348
py
""" View more, visit my tutorial page: https://morvanzhou.github.io/tutorials/ My Youtube Channel: https://www.youtube.com/user/MorvanZhou More about Reinforcement learning: https://morvanzhou.github.io/tutorials/machine-learning/reinforcement-learning/ Dependencies: torch: 0.2 gym: 0.8.1 numpy """ import torch import...
[ "mz@email.com" ]
mz@email.com
3d2649b1dc0da59e87d9650fdc443d6ac3042872
521efcd158f4c69a686ed1c63dd8e4b0b68cc011
/tests/test_utils/timetables.py
838ecb5323451c89d32a0c27b6e248c5acbe51f3
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
coutureai/RaWorkflowOrchestrator
33fd8e253bfea2f9a82bb122ca79e8cf9dffb003
cd3ea2579dff7bbab0d6235fcdeba2bb9edfc01f
refs/heads/main
2022-10-01T06:24:18.560652
2021-12-29T04:52:56
2021-12-29T04:52:56
184,547,783
5
12
Apache-2.0
2022-11-04T00:02:55
2019-05-02T08:38:38
Python
UTF-8
Python
false
false
1,746
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" ]
coutureai.noreply@github.com
615d6cfeafcfe95a0b3e8aefee6f571baf69f697
dc9d2f036ef72f254db5d0ba9e4cc8dcd95aa4aa
/WebCrawler by Bucky.py
f19ac7e98901e43ff512090c967cf9b3627184c6
[]
no_license
YhHoo/Python-Tutorials
d43171a21fb8d51271c66bea6f2566ff3effc832
9774dd5b3f0b9d0126d4a2bcbac347348e914b71
refs/heads/master
2021-09-03T21:23:22.099224
2018-01-12T03:33:23
2018-01-12T03:33:23
110,725,041
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
''' THIS IS BUCKY WEB CRAWLER EXAMPLES ''' ''' HERE PART 1: Fetch all the href link in <a> tag of the page ''' import requests from bs4 import BeautifulSoup def trade_spider(): url = 'http://www.ckmusic.com.my' # parent URL, rmb don't end with '/' source_code = requests.get(url) # connect to the web pa...
[ "hooyuheng@gmail.com" ]
hooyuheng@gmail.com
f2276f7e65fd1cded1b291ed6e217a163050705d
baafc9731096b0d51885c4e793dfe14aa779a6a4
/experiment_domainadapt_meanteacher.py
4619ba038a8fd6e2f607fafcfc578e087db0bb01
[ "MIT" ]
permissive
AliaksandrSiarohin/self-ensemble-visual-domain-adapt
ee095a059e588cd84eda1eff733122c736ff6670
0d8d036bb8fe65ae2dc8e713d383742c93521cc9
refs/heads/master
2020-04-06T15:42:06.353628
2018-11-14T18:00:01
2018-11-14T18:00:01
157,589,370
0
1
MIT
2018-11-14T17:58:33
2018-11-14T17:58:33
null
UTF-8
Python
false
false
24,376
py
""" Incorporates mean teacher, from: Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results Antti Tarvainen, Harri Valpola https://arxiv.org/abs/1703.01780 """ import click @click.command() @click.option('--exp', type=click.Choice(['svhn_mnist', 'mnis...
[ "brittix1023@gmail.com" ]
brittix1023@gmail.com
f246c19999b8be870b9e29f6507c314d5fea8821
5ffc3111779894e3ff161c21933f585acac36721
/2020F_hw6_submissions/shangstacy/StacyShangCh7P2.py
f668df6e9959d44525ae8e081e5c344848bf84ad
[]
no_license
Eric-Wonbin-Sang/CS110Manager
ac9b8efa5179fdc240e60736d685b2e850447b39
31b594b91c8ccd740a7915fb982cc7e7bc280346
refs/heads/main
2023-02-09T13:44:27.628976
2021-01-04T08:25:29
2021-01-04T08:25:29
321,807,341
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
# StacyShangCh7P2.py # CS 110 A HW 6 # Stacy Shang # I pledge my honor that I have abided by the Stevens Honor System -Stacy # This program accepts a date and checks whether or not the date is valid def main(): print("This program checks the validity of an inputted date.") date = input("Enter the date in the...
[ "eric.wonbin.sang@gmail.com" ]
eric.wonbin.sang@gmail.com
32cfdd87226d303193c8392e399fa29e2acb19e7
00d7e9321d418a2d9a607fb9376b862119f2bd4e
/sandbox/demo_turtle_undo.py
931cafb0e9c9c9f5496dcd7d5da4abb55455705a
[ "MIT" ]
permissive
baluneboy/pims
92b9b1f64ed658867186e44b92526867696e1923
5a07e02588b1b7c8ebf7458b10e81b8ecf84ad13
refs/heads/master
2021-11-16T01:55:39.223910
2021-08-13T15:19:48
2021-08-13T15:19:48
33,029,780
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
#!/usr/bin/env python from turtle import * for i in range(10): forward(100) left(90) forward(10) left(90) forward(100) right(90) forward(10) right(90) for i in range(30): undo()
[ "none" ]
none
30a4f20cc66cd435aa5f1c61e2618945db9d0dca
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03775/s238849097.py
e1fbd653ac8d41a71208142afafc985c89f140a4
[]
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
190
py
import math N = int(input()) ans = len(str(N)) for i in range(1, int(math.sqrt(N))+1): if N % i == 0: j = N // i k = max(len(str(i)), len(str(j))) ans = min(ans, k) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
208cb47479c2c4a5bef8b3ece331d195ca00839b
70cdf0741a22c678401a306229003bf036ffe5a6
/ocbind/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/mt_isis_neighbor_attribute/neighbors/neighbor/instances/instance/__init__.py
f819af22ccad6a5cc866476ee6a03e4789bfe20d
[]
no_license
zsblevins/nanog81-hackathon
5001e034339d6b0c6452ae2474f06916bcd715cf
1b64fd207dd69837f947094fbd6d6c1cea3a1070
refs/heads/main
2023-03-03T09:39:28.460000
2021-02-15T13:41:38
2021-02-15T13:41:38
336,698,856
2
0
null
null
null
null
UTF-8
Python
false
false
55,942
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "zblevins@netflix.com" ]
zblevins@netflix.com
f56fead72b282e8b8135708cb3b9e5e8e1b808cf
557d51cd6c7459f3492f6e5e6a44e10b9026b805
/osipkd/views/akuntansi/ak_jurnal_item.py
c48df4ce5028c9d20d58ec888dc49af8df0ab6d5
[]
no_license
aagusti/zosipkd
e6a3bd8ca71b240dc3141c89dba252291c2c9ea7
fbb4fcc74d772a9f1692a4e8b45cb63ce77e85f2
refs/heads/master
2021-01-17T10:23:14.182025
2016-05-04T07:34:05
2016-05-04T07:34:05
28,517,748
0
0
null
null
null
null
UTF-8
Python
false
false
8,936
py
import os import uuid from osipkd.tools import row2dict, xls_reader from datetime import datetime from sqlalchemy import not_, func from sqlalchemy.orm import aliased from pyramid.view import (view_config,) from pyramid.httpexceptions import ( HTTPFound, ) import colander from deform import (Form, widget, ValidationFai...
[ "aa.gustiana@gmail.com" ]
aa.gustiana@gmail.com
2257eb1cd70d0cfccc996cfe65d9ed17c6593ca4
8a55bdec478d2fb48508deac13ca3aeeda46fa06
/contrib/devtools/symbol-check.py
4bcbde4f62eeb0412e726b862b311d0049b94f42
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
hideoussquid/aureus-core-gui
83b0525e1afa349e0834e1a3baed5534043cd689
ce075f2f0f9c99a344a1b0629cfd891526daac7b
refs/heads/master
2021-01-19T00:04:39.888184
2017-04-04T08:15:18
2017-04-04T08:15:18
87,142,504
0
0
null
null
null
null
UTF-8
Python
false
false
6,191
py
#!/usr/bin/env python # Copyright (c) 2014 Wladimir J. van der Laan # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' A script to check that the (Linux) executables produced by gitian only contain allowed gcc, glibc and libstdc++...
[ "thesquid@mac.com" ]
thesquid@mac.com
5012edbc0bc687552fcf3a1bbaf558b0a4f335ae
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=0.5_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=47/params.py
cfa7029e7fd66ff63cb0e7d697a6e4c827251ce2
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
{'cpus': 4, 'duration': 30, 'final_util': '3.532381', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.5', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'GSN-EDF', 'trial': 47, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
0563ccfcace9c68878dcee8c2ae4a64f1e154969
493ee321c961421eaf1edc38a2de93556b14cc78
/py_scripts/sample_nets_discrete_weights.py
a8adc8e54817405bc3cf38f8eb056085061552af
[]
no_license
guillefix/simpbias-tools
4127b7cb939b301074f30ed480b249e418d2eb2d
76ab7d1fc45b08ff33f61a39ac49d7df72b5f609
refs/heads/master
2020-05-18T12:53:51.388198
2019-05-01T14:46:14
2019-05-01T14:46:14
184,422,339
0
1
null
null
null
null
UTF-8
Python
false
false
6,634
py
import tensorflow as tf import numpy as np # from sklearn.metrics import confusion_matrix # import time # from datetime import timedelta import math from collections import Counter np.set_printoptions(threshold=np.nan) from KC_LZ import calc_KC import pickle import sys #(idx, N) = [int(ar) for ar in sys.argv[1:]] idx...
[ "guillefix@gmail.com" ]
guillefix@gmail.com
70715af74016fb193e1dc17cc87fb1632d93526a
cedf3c65061222b3099852f27dde39ff0dfe492b
/blog/migrations/0006_auto_20200101_2255.py
41d4c082f868854719fb951f9bc736479520f459
[]
no_license
smrkhan123/myblog
1fd87b2c528cb2edccaf3f60c66a8c298774447a
8d0c33fcc74c582f21a32150d3460cce62ad6dd2
refs/heads/master
2020-12-08T21:50:32.352065
2020-01-10T18:23:56
2020-01-10T18:23:56
233,105,398
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
# Generated by Django 2.2.4 on 2020-01-01 17:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0005_comment'), ] operations = [ migrations.RenameField( model_name='comment', old_name='comment', new_n...
[ "sk862147@gmail.com" ]
sk862147@gmail.com
146c641d33adeb6defa68ddc3f71c766beb13d5a
fa571a842f04bcbc77ff203a5ed6f6ee776eed6d
/codes/tuple10.py
8744bc79540b217dd7df2fc0a2637049f35feee4
[]
no_license
krishna-rawat-hp/PythonProgramming
b25c0916475724e6d2de4b7d59cf40b5b5e8330b
d24df17ca6aff9271c44ef8c73b80c00cd065ded
refs/heads/master
2023-03-11T19:24:34.529059
2021-02-27T14:09:22
2021-02-27T14:09:22
282,611,873
0
0
null
2020-07-26T10:38:54
2020-07-26T08:52:49
null
UTF-8
Python
false
false
441
py
# Python tuple Built-in function tup1 = (1,2,3,4,5) # Example-1 length of tuple print("Length of tuple: ",len(tup1)) # Example-2 min value in tuple print("Minimum value in tuple: ",min(tup1)) # Example-3 Max value in tuple print("Maximum value in tuple: ",max(tup1)) # Example-4 tuple() method in python tuples str ...
[ "rawatkrishnakant8319@gmail.com" ]
rawatkrishnakant8319@gmail.com
84694bc46f6a3fdcf329eda57ccb7f50aaa76f3c
8f9ea3f14bdf2187de759939b2bbc87fe68ccfc0
/tensorflow/python/estimator/model_fn.py
3edf9fe940b19c7a0b1a7c21a9674189faba5acb
[ "Apache-2.0" ]
permissive
davidstanke/bazel-mvn-demo
4ea43f0ba293a28b916a27eab5f0812e9b753c2c
cff14dddce15ea7152988da576673bd15bab6c6e
refs/heads/master
2022-10-20T07:52:29.651851
2018-11-22T13:17:51
2018-11-22T13:17:51
157,782,756
2
0
Apache-2.0
2022-10-04T23:47:05
2018-11-15T22:54:09
C++
UTF-8
Python
false
false
15,435
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...
[ "davidstanke@gmail.com" ]
davidstanke@gmail.com
f9ab128fb82107ad73c13d8bff645ad4cfd837d4
2f63688febd21dc3ae6b19abfa79ad313c820154
/AlgoExpert/coding_interview_questions/Dynamic_Programming/Max_Subset_Sum_No_Adjacent.py
35e8fc100f69daaeac1de7c8a7e1b7ba9ce4c161
[]
no_license
novayo/LeetCode
cadd03587ee4ed6e35f60294070165afc1539ac8
54d0b3c237e0ffed8782915d6b75b7c6a0fe0de7
refs/heads/master
2023-08-14T00:35:15.528520
2023-07-30T05:56:05
2023-07-30T05:56:05
200,248,146
8
1
null
2022-11-19T04:37:54
2019-08-02T14:24:19
Python
UTF-8
Python
false
false
387
py
''' main idea: dp time comp: O(n) space comp: O(1) - where n is the length of the input array ''' def maxSubsetSumNoAdjacent(array): # Write your code here. if not array: return 0 if len(array) <= 2: return max(array) a = array[0] b = array[1] c = a + array[2] for i in range(3, len(array)): d = a...
[ "eric_shih@trendmicro.com" ]
eric_shih@trendmicro.com
6098d1665fc44c5b9392cbb7fc9e9de0a2f639aa
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/tensorflow/python/keras/engine/base_layer_utils.py
9ff1ab45c3de06a9b41edbb8de2197633c8c4ac7
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:a687562a5029ffbfb9a948ea45a12f73bca931230a551f19634b253752a45fe1 size 21452
[ "github@cuba12345" ]
github@cuba12345
817c752e00db2148a4dd5635779329f98737565d
52a3beeb07ad326115084a47a9e698efbaec054b
/horizon/.venv/lib/python2.7/site-packages/openstackclient/identity/v3/policy.py
74a783b06a575e12b7a843a14ab6debc95d39f85
[ "Apache-2.0" ]
permissive
bopopescu/sample_scripts
3dade0710ecdc8f9251dc60164747830f8de6877
f9edce63c0a4d636f672702153662bd77bfd400d
refs/heads/master
2022-11-17T19:19:34.210886
2018-06-11T04:14:27
2018-06-11T04:14:27
282,088,840
0
0
null
2020-07-24T00:57:31
2020-07-24T00:57:31
null
UTF-8
Python
false
false
5,046
py
# Copyright 2012-2013 OpenStack Foundation # # 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 la...
[ "Suhaib.Chishti@exponential.com" ]
Suhaib.Chishti@exponential.com
42499fc2f051b56c4c4ec3113f61c2d0327f6fe2
e9fa26be4d9e7a725d3f889b6aa9cf5029f47c2d
/lib/sqlalchemy/sql/selectable.py
590c4d32dd9059e0da44d631c08a57ab22ee146c
[ "BSD-3-Clause" ]
permissive
ahriman-ru/azure-test
2e0ee70a8b453534cf82e44860f04dddd3ab8095
3c377163192139d046b4ec20ce5b44a0492aecd8
refs/heads/master
2021-07-17T03:53:14.025065
2017-10-20T12:04:11
2017-10-20T12:04:11
100,267,395
0
0
null
2017-08-14T12:54:01
2017-08-14T12:54:01
null
UTF-8
Python
false
false
131,244
py
# sql/selectable.py # Copyright (C) 2005-2017 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """The :class:`.FromClause` class of SQL expression elements, representing ...
[ "root@MININT-HAS5VVP.europe.corp.microsoft.com" ]
root@MININT-HAS5VVP.europe.corp.microsoft.com
f9bc5ad8586c2bea44572eba30d6fa69696fb018
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/talent/v4/talent-v4-py/google/cloud/talent_v4/services/completion/async_client.py
4a61a595b6f482e3f9a5c84d598f49b9f47efb5e
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,683
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
f4476ad1cff0d97701afa2544924788af2b900f8
fb909b0716f62ae118afa7d505cbcbd28f62bc63
/main/migrations/0066_auto_20200911_1141.py
1d62edbe74183d9bf7fcc2d790cd66555eadc459
[]
no_license
dkalola/JustAsk-Final
a5b951462cd3c88eb84320bb8fcf10c32f959090
c2e7c2ffae4d3c2d870d5ba5348a6bae62db5319
refs/heads/main
2023-05-24T16:02:17.425251
2021-06-16T19:33:52
2021-06-16T19:33:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,049
py
# Generated by Django 3.1.1 on 2020-09-11 11:41 import datetime from django.db import migrations, models import tinymce.models class Migration(migrations.Migration): dependencies = [ ('main', '0065_auto_20200906_1119'), ] operations = [ migrations.AlterField( model_name='ebo...
[ "divyanshukalola88@gmail.com" ]
divyanshukalola88@gmail.com
1863ed33c75a4114a986b15983e8039d257910f5
a80943c82d8723e49f1f88cec90a41051c54b949
/chloe/plots.py
916fcbf5d1cd5bc6274cbbab0cf77c197c9302fa
[]
no_license
munozchris/jacc
decaebec6ed5da0305c16a252138cc79ba0aafaa
f6ea8316c69a8b30f4d77f0f14ae4a9f6613c584
refs/heads/master
2021-01-11T17:11:40.468185
2017-03-14T20:40:12
2017-03-14T20:40:12
79,737,052
0
0
null
null
null
null
UTF-8
Python
false
false
6,349
py
import sqlite3 import matplotlib.pyplot as plt import numpy as np # Helper functions to determine if a departmnent is in a table: def is_dept_in_ex(c, dept): depts_in_ex = c.execute("SELECT DISTINCT Dept FROM e_xTA;").fetchall() depts_in_ex = [entry[0] for entry in depts_in_ex] if dept in depts_in_ex:...
[ "amr@cs.uchicago.edu" ]
amr@cs.uchicago.edu
70524268a8513ee28ba8c529abac584e1da23674
c5c3ee2ac4393e7bdbf61f32677221bef5523973
/src/jk_asyncio_logging/AsyncioMulticastLogger.py
268925e318a8be94b847fbb09df74c97c6f773e7
[ "Apache-2.0" ]
permissive
jkpubsrc/python-module-jk-asyncio-logging
249960382c61353bc0809b77e30312779d3482f2
97b6ca79f8f11353c4b554875e353535d1bbf6fc
refs/heads/master
2022-10-02T03:10:18.771557
2020-01-20T18:38:41
2020-01-20T18:38:41
235,171,209
0
1
null
2022-09-03T13:55:36
2020-01-20T18:37:53
Python
UTF-8
Python
false
false
863
py
import jk_logging from .AsyncioLogWrapper import AsyncioLogWrapper class AsyncioMulticastLogger(AsyncioLogWrapper): @staticmethod def create(*argv): loggers = [] for l in argv: if isinstance(l, AsyncioLogWrapper): loggers.append(l._l) else: assert isinstance(l, jk_logging.AbstractLogger) ...
[ "pubsrc@binary-overflow.de" ]
pubsrc@binary-overflow.de
9822128d048432a0a887770ad6757bcefc3d287d
7b6313d1c4e0e8a5bf34fc8ac163ad446bc69354
/python/[hackerrank]Minimum Height Triangle.py
7f3143c59379db448635a1872d49f9dacbc86239
[]
no_license
menuka-maharjan/competitive_programming
c6032ae3ddcbc974e0e62744989a2aefa30864b2
22d0cea0f96d8bd6dc4d81b146ba20ea627022dd
refs/heads/master
2023-05-01T05:23:09.641733
2021-05-23T16:22:21
2021-05-23T16:22:21
332,250,476
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
#!/bin/python3 import sys import math def lowestTriangle(base, area): x=math.ceil((2*area)/base) return x # Complete this function base, area = input().strip().split(' ') base, area = [int(base), int(area)] height = lowestTriangle(base, area) print(height)
[ "maharjanmenuka8@gmail.com" ]
maharjanmenuka8@gmail.com
097070139417fc16e5f2a0c6fdef23fc212ec909
4f906856e07f82f5d14ddabfd3c00c491d4ce8c8
/diagonal.py
db6d178b8c7d3c44671efdabeb8c983b76e18130
[]
no_license
SoliareofAstora/NumericMethods
d4ce4d6559b9f0fbad72082ca2f2197ea3c1d349
6696a07d0ae45a6f18a44c1257f5631ab78bd859
refs/heads/master
2021-09-05T11:10:18.370598
2018-01-26T20:05:56
2018-01-26T20:05:56
112,853,919
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
# -*- coding: utf-8 -*- """ Created on Sat Dec 2 21:02:09 2017 @author: SoliareOfAstora """ import numpy as np class Diagonal: x = np.array([]) row = 0 def setNumbers(self, rownumber, vector): self.x = vector self.row = rownumber def getNumber(self, rownumber): temp = rownum...
[ "piotr1kucharski@gmail.com" ]
piotr1kucharski@gmail.com
25b74e239ea33c4f95a5a9e3af28b4ae11b3f352
3c00534e9554eeae59d4d0a17e1f06ef8fd3a1f6
/bgt_payroll/wizard/slip_report.py
27b9bf10bc9734f3f9b194ad5e74d20b320ecc10
[]
no_license
bambangbc/HRIS-YT---ODOO-10
26524eed207d535aa1ae071a4bc0d1c994778bb0
f5e3e983f244bc57ffda175d3178fc1c4c74dab0
refs/heads/main
2023-06-28T00:06:47.834302
2021-07-16T06:22:27
2021-07-16T06:22:27
386,532,297
0
0
null
null
null
null
UTF-8
Python
false
false
93,108
py
# -*- coding: utf-8 -*- # @Author: xrix ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the ...
[ "87510026+bambangbc@users.noreply.github.com" ]
87510026+bambangbc@users.noreply.github.com
b3ad9085d450b0be9e16f6a891885dfb9b831d08
d9be34d92ec5bfec5756d5310c2e34226d726cb4
/nn/mnist_loader.py
611bbf70f967542ec27724a4dfa39e3107c7a9a6
[]
no_license
Oldpan/manim
43119e4cf0b2d7c17affd66d1f64ce7a6c3bce81
ac079f182a977bf0d830ab7647971b67cf9e5160
refs/heads/master
2021-07-20T11:23:45.752896
2017-10-27T22:12:29
2017-10-27T22:12:29
108,652,804
1
0
null
2017-10-28T13:47:39
2017-10-28T13:47:39
null
UTF-8
Python
false
false
3,532
py
""" mnist_loader ~~~~~~~~~~~~ A library to load the MNIST image data. For details of the data structures that are returned, see the doc strings for ``load_data`` and ``load_data_wrapper``. In practice, ``load_data_wrapper`` is the function usually called by our neural network code. """ #### Libraries # S...
[ "grantsanderson7@gmail.com" ]
grantsanderson7@gmail.com
229bde7a28f796c2b05d06510b721e757b2aa411
1fbf09a5127a87434c8cfe7131f4b5879966cf04
/web/dashboard/controller/project.py
d96b19e04ea25e26e2855f477d372df8b086c182
[ "MIT" ]
permissive
pombredanne/Kunlun-M
cb0495c583e6ae39e168e96341f4fd2cb01d30ae
ab3b3cc843edee6a558a485d89daf944d8fd7f8e
refs/heads/master
2023-08-23T05:58:12.433991
2021-09-30T10:04:04
2021-09-30T10:04:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,965
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: LoRexxar @contact: lorexxar@gmail.com @file: project.py @time: 2021/7/20 15:50 @desc: ''' import re import ast from django.contrib.auth.decorators import login_required from django.http import JsonResponse, HttpResponseNotFound from django.views.generic import Te...
[ "lorexxar@gmail.com" ]
lorexxar@gmail.com
179efb6dc7e69f13add2b48bd48138775e9b3571
79e45a6e4846927da432087aba845036b11c5622
/PROD/bin/MarketData/Daily/DUSTdailyOHLC_withvol.py
ffea6ec37568125022acaf737d97cd3ed1ed8540
[]
no_license
mjserpico/Scarlett-Trading
cba2bcfaacf886b9d851d978683b4ce641c8f6ad
9778717393dbb0818ee026356996d1806345a6c2
refs/heads/master
2020-03-21T21:39:51.108503
2019-05-09T02:06:26
2019-05-09T02:06:26
139,076,454
0
0
null
null
null
null
UTF-8
Python
false
false
13,169
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 08 09:16:43 2017 @author: Michael """ import mysql.connector from ib.opt import Connection from ib.ext.Contract import Contract import time import logging import datetime import datalink #universal logins for environment import math Flag = 0 CCY1 = "DU" CCY2 = "ST" Table...
[ "mjserpico@gmail.com" ]
mjserpico@gmail.com
b7bb6f433a614f530de7f24c83596e5d1d083e36
84f1fea102aeb2d324e8ad3908e1765d04a0a730
/emails/migrations/0002_sentemail_transaction_event.py
367b922c18a634054c774c56a9edd85a29f73e26
[ "Apache-2.0" ]
permissive
Natsoye/explorer
c205f8eb8d08705c2c4ee4ee45c28f7d0a534b10
638c70204d6001d9c5c56701917a6273a02c90cf
refs/heads/master
2021-08-30T10:42:56.371192
2021-08-17T15:43:04
2021-08-17T15:43:04
181,131,891
2
0
Apache-2.0
2021-08-17T15:43:05
2019-04-13T06:43:15
Python
UTF-8
Python
false
false
526
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('emails', '0001_initial'), ('transactions', '0001_initial'), ] operations = [ migrations.AddField( model_...
[ "mflaxman@gmail.com" ]
mflaxman@gmail.com
d6cfbd76a3fdbf59869fa3c44935823a5b1d04e7
37e87b3d5e1ee9009f0ea0671bc0c6edf0e233b7
/162_3.py
a5d822d8c80608bdbd14448d50c484cc6169f703
[]
no_license
Jane11111/Leetcode2021
d9f4987792938597bf89ff72ba6bbcb4a3f9d081
a95b871578aae0103066962c33b8c0f4ec22d0f2
refs/heads/master
2023-07-14T21:29:41.196752
2021-08-23T03:28:02
2021-08-23T03:28:02
344,804,297
2
0
null
null
null
null
UTF-8
Python
false
false
560
py
# -*- coding: utf-8 -*- # @Time : 2021-03-12 10:16 # @Author : zxl # @FileName: 162_3.py class Solution(object): def findPeakElement(self, nums): """ :type nums: List[int] :rtype: int """ i = 0 j = len(nums)-1 while i<=j: if i==j: ...
[ "791057615@qq.com" ]
791057615@qq.com
abf1af7ecf2a32b6a43a8befe1c0c7f05827072e
2f3960422d08af95bf67c9057b83244540be51e9
/transformer_tf/Transformer.py
3770aeca1afbf23d880663bb7f1c7c30fc57fffe
[]
no_license
FreeFlyXiaoMa/text_classify_base_model3
2d4eb8f392a4e38bd62f15f45cf29f7bf4546e96
a6b91b557fa307b685d077dd32609f5d83db487a
refs/heads/master
2020-11-28T16:18:40.007655
2019-12-24T03:50:54
2019-12-24T03:50:54
229,865,838
1
0
null
null
null
null
UTF-8
Python
false
false
11,770
py
import tensorflow as tf import math import numpy as np from tensorflow.python.ops import array_ops class Muti_head_Attention(object): def __init__(self, max_length, num_classes, vocab_size, embedding_size, hidden_num, num_blocks, num_heads): # placeholders for input output and dropout self.input_...
[ "2429825530@qq.com" ]
2429825530@qq.com
8737cd2b0d8f72b063a39e23b4cb76f20b2b2e95
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/arista/eos/tests/unit/modules/network/eos/test_eos_eapi.py
a01bf1eb370a2fdae9d8734baa3d9a7804e49bea
[ "GPL-3.0-or-later", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
6,923
py
# (c) 2016 Red Hat Inc. # # This file is part of Ansible # # Ansible 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. # # Ansible is dis...
[ "sifang@cisco.com" ]
sifang@cisco.com
3786cda539c2758029469435453faa4ddf75d5b5
9724c8cd81ad39f7f9a2419e2873d7d74cb10c72
/pyabc/external/__init__.py
2cb45567dc2210c4965c2f9d98839dbe36b6260c
[ "BSD-3-Clause" ]
permissive
ICB-DCM/pyABC
36b7fc431fe4ba4b34d80d268603ec410aeaf918
d1542fb201edca86369082e1fc7934995e3d03a4
refs/heads/main
2023-09-01T13:42:52.880878
2023-08-18T16:55:04
2023-08-18T16:55:04
96,995,608
187
49
BSD-3-Clause
2023-08-18T16:55:05
2017-07-12T10:30:10
Python
UTF-8
Python
false
false
871
py
""" .. _api_external: External simulators =================== This module can be used to easily interface pyABC with model simulations, summary statistics calculators and distance functions written in programming languages other than Python. The class :class:`pyabc.external.ExternalHandler`, as well as derived Model...
[ "noreply@github.com" ]
ICB-DCM.noreply@github.com
0a792293e4a77a07abaf9f4e415181af5f8c98e6
0a2f79a4338615113abf34dbd027d6bec762c981
/tries.py
066636c52b3e15a0e99ff4763be6533413bc7248
[]
no_license
SmithChen-364/learngit
d56220cb5902b30b7832f3cdeb4d429c58583d1c
b5202a269d06d745477c146bf0379a5f16a6b585
refs/heads/master
2020-06-20T12:11:19.678310
2019-08-06T07:47:29
2019-08-06T07:47:29
197,118,166
0
0
null
null
null
null
UTF-8
Python
false
false
3,807
py
#tries for search words #tries类 class tries: #根节点root root=None #添加方法 def add(self,word): #如果没有根节点,则将第一个单词的第一个字符添加为根节点, #如果有根节点,从第一个字符开始添加节点 if(not self.root): self.root=self.add_element(word,0,self.root) self.root.parentNode=self.triesNode("root") ...
[ "you@example.com" ]
you@example.com
6497c191d192cb0725b81862d4fff0d3b8e6c824
5c1e5935129b4d0f5626f64bd62e3370b0553262
/openpype/settings/entities/list_entity.py
c6155b78f8d9f09056fe7454d0edca180480bd03
[ "MIT" ]
permissive
dangerstudios/OpenPype
c72f9d6d3a4a964697fa77712c116cfd2949b696
f82ed5e127340e852a7517ff1e13e2524ee6e704
refs/heads/main
2023-04-21T00:25:02.364398
2021-04-13T22:10:36
2021-04-13T22:10:36
362,811,887
0
0
null
2021-04-29T12:35:54
2021-04-29T12:35:53
null
UTF-8
Python
false
false
14,725
py
import copy from . import ( BaseEntity, EndpointEntity ) from .lib import ( NOT_SET, OverrideState ) from .exceptions import ( DefaultsNotDefined, StudioDefaultsNotDefined, EntitySchemaError ) class ListEntity(EndpointEntity): schema_types = ["list"] _default_label_wrap = { ...
[ "jakub.trllo@gmail.com" ]
jakub.trllo@gmail.com
50efae8cf3c6ae5e6053a7c24c353564133793bc
8b7334be253552c4a2982e3022d211ad8970abf6
/data/migrations/0053_merge_20180615_1859.py
77b069dd59b066015e97cf4ed41046967c32178f
[ "MIT" ]
permissive
Duke-GCB/bespin-api
e5442bf66471bd9469f8094575a1efc00eafc700
cea5c20fb2ff592adabe6ebb7ca934939aa11a34
refs/heads/master
2021-08-16T05:36:25.323416
2019-10-18T15:30:16
2019-10-18T15:30:16
69,596,994
0
3
MIT
2021-06-10T18:55:46
2016-09-29T18:41:56
Python
UTF-8
Python
false
false
333
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2018-06-15 18:59 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('data', '0051_merge_20180615_1758'), ('data', '0052_auto_20180615_1537'), ] operatio...
[ "johnbradley2008@gmail.com" ]
johnbradley2008@gmail.com
8f2a8b1a47778e9fafd036fb9c90ce4733f8b4a4
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_2_1/branyine/2016_round1B_A.py
3a2e46214d97bb27396b00187e8aa2574f9e2376
[]
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,790
py
# link: https://code.google.com/codejam/contest/dashboard?c= #s=p0 import string import time testIndex=2 problemRoot="d:/prog/versenyek/googlejam" problemDir="2016/round1B" problemName="A" inputFiles= ["-example.in", "-small.in", "-large.in"] outputFiles=["-example.out", "-small.out", "-large.out"] ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
2d6afda630fcaf11b046b7bc8f1aea4823f7bb47
697fb11686110f569e7f4284045049d008688221
/XDG_CACHE_HOME/Microsoft/Python Language Server/stubs.v1/Sm6gN7BhS-h48BYanqqR8e9hKpcKaYmhkeYrr4_nJd4=/_csv.cpython-37dm-x86_64-linux-gnu.pyi
ec5834e00fd39a7fb05a5e346445653229172585
[ "Apache-2.0" ]
permissive
andredoumad/p3env
433c9174899f0909b149f51c3243b6fe04e076bf
a8850d06755d53eb6fedd9995091dad34f1f9ccd
refs/heads/master
2023-02-03T20:50:07.357255
2020-12-23T09:15:55
2020-12-23T09:15:55
317,041,015
0
0
null
null
null
null
UTF-8
Python
false
false
7,032
pyi
import builtins as _mod_builtins class Dialect(_mod_builtins.object): 'CSV dialect\n\nThe Dialect type records CSV parsing and generation options.\n' __class__ = Dialect def __init__(self, *args, **kwargs): 'CSV dialect\n\nThe Dialect type records CSV parsing and generation options.\n' pass...
[ "andre@stringkeeper.com" ]
andre@stringkeeper.com
118e4b1974f84443f4a7aff55f59536929fc7f86
9f3b478d39f1a8b706813c1b4993614a376a045d
/pycryptics/utils/ngrams.py
f5b4948ad7ec29d344d4bdd141514be91e173c58
[ "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
kod3r/cryptics
a201c62bdd2ecafee5937d2d7af9c29dcd38ec67
4bd17d24202b6fabce8c7ad378a61e77eb7562a7
refs/heads/master
2020-12-25T16:36:25.800144
2013-03-09T06:12:35
2013-03-09T06:12:35
10,188,553
1
0
null
null
null
null
UTF-8
Python
false
false
442
py
import cPickle as pickle import os.path INITIAL_NGRAMS = dict() NGRAMS = dict() i = 0 while True: if os.path.exists('data/ngrams.%02d.pck' % i): with open('data/initial_ngrams.%02d.pck' % i, 'rb') as f: d = pickle.load(f) INITIAL_NGRAMS.update(d) with open('data/ngrams.%02d...
[ "robin.deits@gmail.com" ]
robin.deits@gmail.com
e14073fe089fb089b1ffd4715e4332b9685f3cd9
e65ae5bd9ae1c93e7117e630f7340bc73aa71212
/lib/database/mongodb/build/lib.linux-x86_64-2.7/gridfs/grid_file.py
e5df5e42b479eedfdbf642e1d7f90b7f48d2075b
[ "Apache-2.0" ]
permissive
nadirhamid/oneline
e98ff1ed81da0536f9602ecdde2fb2a4fe80d256
833ebef0e26ae8e0cc452756381227746d830b23
refs/heads/master
2021-01-21T04:27:41.715047
2016-05-30T03:50:34
2016-05-30T03:50:34
23,320,578
1
2
NOASSERTION
2020-03-12T17:22:24
2014-08-25T16:29:36
Python
UTF-8
Python
false
false
24,948
py
# Copyright 2009-2014 MongoDB, 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 writin...
[ "matrix.nad@gmail.com" ]
matrix.nad@gmail.com
6eead2339d7beb6299ea75b3f6f188d0abada27a
180ed6c8ff26b365e56c63d878a69c2e9d9b8c54
/code/Day_04/01_xml.py
e218c1a1a13919328e7e183d4d19d9fc0e95e7c4
[]
no_license
archeranimesh/python_devu_in
9af46503b07f82a137d4b820920fa72f96a5067b
3d77e9e7b150aae15375b236e3de7f573da4bdce
refs/heads/master
2020-06-08T21:22:24.329530
2019-07-14T11:22:55
2019-07-14T11:22:55
193,308,932
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
# Read from XML. import xml.etree.ElementTree as ET file_path = r"code/Day_04/data_files/data.xml" f = ET.parse(file_path) print("type(f): ", type(f)) # get the root. root = f.getroot() print("type(root): ", type(root)) print("---" * 30) for i in root.iter(): print(i.tag) print(i.text) print("---" * 5)...
[ "animeshb@archerimagine.com" ]
animeshb@archerimagine.com
0d37212ad0a4f29125a824731a08f3d1111d8ae1
30e7173cd25d0c60bf3aecb009366c375e11411a
/articulos/templatetags/dict_key.py
a9144c06451ff0fe29b455948e58eb9ca08bbdd4
[]
no_license
arm98sub/djangoHospital
55eb8ab437d1fb2036f55d9247d41fc577978e1e
bef771676b336d9b98f750e2e0648324cb259056
refs/heads/master
2023-05-17T14:39:54.510044
2021-06-01T23:36:06
2021-06-01T23:36:06
372,985,852
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
from django.template.defaultfilters import register @register.filter(name='dict_key') def dict_key(d,k): return d.get(str(k)).get('cantidad')
[ "vagrant@ubuntu1804.localdomain" ]
vagrant@ubuntu1804.localdomain
1a9e69058adada5cf59211d0e18c4d57611b5fc0
dcfd89a6a8ebf3b32948dbf93e222063c223bec4
/v2/api/Models.py
3b97f745e06490cfcab6047d4c1f5baeb491b429
[]
no_license
SirYaro/kdm-manager
a19ff1d7711bc39a2de9e8f740cb03fac28a52b7
263d1330764b915f3acb0771e58845020cce06b2
refs/heads/master
2021-09-05T05:47:58.511224
2018-01-24T15:09:18
2018-01-24T15:09:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
35,307
py
#!/usr/bin/python2.7 from bson.objectid import ObjectId from collections import OrderedDict from copy import copy, deepcopy from datetime import datetime, timedelta import json from bson import json_util import inspect import operator import os import random import socket from user_agents import parse as ua_parse fro...
[ "toconnell@tyrannybelle.com" ]
toconnell@tyrannybelle.com
cc30e097c5a8e1be0b554cb3c5dce3428c0620e4
4af59c0cd941f0ebe5f0ce447a4db90914585d23
/tensorflow_federated/python/core/impl/compiler/local_computation_factory_base.py
9297be8cd44edaf0ccebc7d3d4ab82a6af1935f9
[ "Apache-2.0" ]
permissive
ali-yaz/federated
bbabac58c8a5e96f95cef2b7558f61c6a8610651
8e3d60ae6129611b5ebf8f94755c50082d97d45a
refs/heads/master
2023-03-10T21:19:43.160733
2021-02-23T09:11:10
2021-02-23T09:11:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
# Copyright 2021, The TensorFlow Federated Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
eacf7b7e2e8cbc4bef268a86f4123bc20ea172cb
1d6a727f7ce4aba5e74b4aea61e5f14a833ab014
/pytext/main.py
a2a3e0ce3a525bfe8fd998810158e1d292050f24
[ "BSD-3-Clause" ]
permissive
Smerity/pytext
56daa678c8ea7f3a48eb074cb11e5ea90fb3ed8d
3c7ecd48860b9f02680f297873a222fa47d1efe6
refs/heads/master
2023-08-10T01:32:46.256450
2019-04-05T18:21:38
2019-04-05T18:25:05
179,795,531
0
0
NOASSERTION
2019-04-06T06:06:09
2019-04-06T06:06:08
null
UTF-8
Python
false
false
14,695
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import json import pprint import sys import tempfile from importlib import import_module from pydoc import locate from typing import Dict, List, Optional, Union import click import torch from pytext import create_predictor f...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
fbb2860ca4221244c0a63770d79e6e96dac90529
3603f8f76ff81ea75bfc916888bdcfa55b7f12e4
/alds/alds1_6_c.py
ac675e72489195bfa0b40dd0da0ab01f62841d94
[]
no_license
kimotot/aizu
4de0319959a3b166b8c2c4940ab7b701b6ee3395
315be1240cff733e1c6a7cd98942a95b3bd7ec96
refs/heads/master
2021-07-24T12:37:41.935302
2021-03-10T09:05:05
2021-03-10T09:05:05
91,927,321
0
0
null
null
null
null
UTF-8
Python
false
false
1,047
py
def decode(): n = int(input()) cards = [] for i in range(n): [m, v] = input().split() cards.append((m, int(v), i)) return n, cards def partition(a, p, r): x = a[r][1] i = p - 1 for j in range(p, r): if a[j][1] <= x: i += 1 t = a[j] ...
[ "god4bid@hear.to" ]
god4bid@hear.to
5e3fbd7e68a9f9a546b5ab547039decf8d759b24
c50cf19707ecf44c8e15acf0e994d288fe4f01a7
/credit/admin.py
d27528df722953df4b3f2fcffcb8d2b79e4637f8
[ "MIT" ]
permissive
JeremyParker/idlecars-backend
ee5981356c60161dee05c22e01e5c913e73083c0
819cce48e4679d61164b238b81dab0e4d51b8afa
refs/heads/master
2021-03-16T04:29:43.287760
2018-03-03T23:16:02
2018-03-03T23:16:02
31,734,223
3
1
null
null
null
null
UTF-8
Python
false
false
1,074
py
# -*- encoding:utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from credit import models class CustomerAdmin(admin.ModelAdmin): readonly_fields = [ 'user', 'invite_code', 'invitor_code', 'invitor_credited', ] list_display = [ 'use...
[ "github@jeremyparker.org" ]
github@jeremyparker.org
ec81c5347f900f5b8390d51c5ec6dc1d24fd7dd3
b29349323954d7a7036f56cef4139ed2c8fcb4f0
/scripts/color_sample.py
cbecd9d3b9924273ebb76deaaba6cd36e6b5d975
[ "MIT" ]
permissive
JDevlieghere/dotfiles
e23098fb0241367764243531804c8b9f0ef41ac5
09fbb4369c2e54dd38c2566a283eb05864499068
refs/heads/main
2023-09-01T02:23:14.303513
2023-08-23T16:36:05
2023-08-23T16:36:05
39,687,300
336
123
MIT
2020-02-24T05:32:45
2015-07-25T13:52:36
Perl
UTF-8
Python
false
false
2,707
py
#!/usr/bin/python3 """ usage: color_sample.py [-h] [file] Color a call tree file generated by sample positional arguments: file sample file optional arguments: -h, --help show this help message and exit """ import re import argparse import fileinput import bisect END_MARKER = "Total number in stack" BE...
[ "jonas@devlieghere.com" ]
jonas@devlieghere.com
ce580dc80f9d1e254df39bbd9c803c0514315380
ffaba5d94ea820281fee39be0841e3bf08ed157c
/setup.py
c3e69ea047bbcb8f389a65050e82f6fedcd67a85
[ "MIT" ]
permissive
arruda/Twitter-Get-Old-Tweets-Scraper
d532e316ce013f94426bb9c999112c554b0f585f
6999a2c72df3866cb4a196370172c50b90b57e8d
refs/heads/master
2020-03-19T17:29:46.926370
2018-06-10T06:09:32
2018-06-10T06:09:32
136,762,748
1
1
MIT
2020-03-19T06:35:05
2018-06-09T22:35:46
Python
UTF-8
Python
false
false
1,202
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.md') as readme_file: readme = readme_file.read() requirements = [ "pyquery>=1.2.17", "requests>=2.13.0", ] setup_requirements = [ ] test_requirements = [ ] setup( au...
[ "felipe.arruda.pontes@gmail.com" ]
felipe.arruda.pontes@gmail.com
09a6fa7f3033f4fb40be0af0bda8c23201095e4a
4d097d0e8c571874761463f698f5d34e38e549a0
/python/b_1002 터렛.py
dbb3151cd939c0f0d6da6eb38b86c8cf3d2fd6e3
[]
no_license
sondongmin0419/study
533832151958fe8ae178d8aee183edf91ffa7e12
0c863e2c9111b35a15ccfaec3cc64828c584beb1
refs/heads/master
2023-03-24T11:54:04.139399
2021-03-15T13:40:21
2021-03-15T13:40:21
281,695,258
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
import sys input = sys.stdin.readline n = int(input()) for TC in range(n): x1, y1, r1, x2, y2, r2 = map(int, input().rstrip().split()) distance = ((x2 - x1) ** 2 + (y2 - y1) ** 2) ** 0.5 if x1 == x2 and y1 == y2: if r1 == r2: print(-1) else: print(0) elif r1 + ...
[ "dongmin.dev0419@gmail.com" ]
dongmin.dev0419@gmail.com
eb6166eec43fe151d8738787a51a433ff70d1972
5b9f7edaf22297d0d6d0239135f1b2484fd24b34
/module07.mysql.with.python/exercise08.py
9aad91a512ff126d042535a8a26bd58f3cb5c995
[ "MIT" ]
permissive
deepcloudlabs/dcl162-2020-sep-02
925791b5c7adae8263e82a3c9a6a406d0b68eb0e
abd21c59d89985e9f5922df65fd1a5ccab019de4
refs/heads/master
2022-12-12T16:10:58.497846
2020-09-04T18:16:06
2020-09-04T18:16:06
291,666,203
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
import mysql.connector my_connection = mysql.connector.connect(host="localhost", user="root", password="Secret_123", database="world") my_cursor = my_connection.cursor() sql = "select ctry.name, city.name from country as ctry inner join city as city on ctry.capital = city.id limit 10" my_cursor.execute(sql) result...
[ "deepcloudlabs@gmail.com" ]
deepcloudlabs@gmail.com
8439d19170cf896f5580caa519a737b1e0e12471
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/o11_j200739+544516/sdB_O11_J200739+544516_lc.py
c712c7ed5a3afda832ff3ba22080131102af8479
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[301.9125,54.754444], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_O11_J200739+544516 /sdB_O11_J200739+544516_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
44a88ef6c47660f70db2f79b8fdd1d06f0611b66
875b9c5093efd688f79fada905bee80c42380ec1
/tests/test_pygame_player.py
20237226009ceb731a7dd5490eed46043acf0029
[ "MIT" ]
permissive
chaheeee/PyGamePlayer
945e64819b3e862757e1bf9dbf622ac844f6dbed
430ced572eddcd638a2db5eb906e5f2016ac7250
refs/heads/master
2023-02-21T19:42:18.229341
2021-01-22T02:22:52
2021-01-22T02:22:52
330,974,347
0
0
MIT
2021-01-21T15:05:27
2021-01-19T12:35:22
Python
UTF-8
Python
false
false
3,064
py
import time import pygame from unittest import TestCase from pygame_player import PyGamePlayer class DummyPyGamePlayer(PyGamePlayer): def __init__(self, force_game_fps=10, run_real_time=False): super(DummyPyGamePlayer, self).__init__(force_game_fps=force_game_fps, run_real_time=run_real_time) def get...
[ "danielslaterishere@gmail.com" ]
danielslaterishere@gmail.com
5171ac07d2be35016805b504c4184d500421005d
045cb1a5638c3575296f83471758dc09a8065725
/addons/mrp_subcontracting/models/stock_picking.py
34f266a39dd33ebb2f957f12845bc85be08de33c
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,173
py
# -*- coding: utf-8 -*- # Part of Harpiya. See LICENSE file for full copyright and licensing details. from datetime import timedelta from harpiya import api, fields, models class StockPicking(models.Model): _inherit = 'stock.picking' display_action_record_components = fields.Boolean(compute='_compute_displ...
[ "yasir@harpiya.com" ]
yasir@harpiya.com
b3b434b287cc143cda89ffc6336037d41c32a53d
e00bfd4ef4bc3bfd97cc26e0b6fa08eae90090a4
/mnist_tf_nn.py
67e01351550ff086596638d6ae855b0c8471c259
[]
no_license
benjaminhuanghuang/dl-study
4995f99ed3776e7e01de8eef8e635ec9295a2e51
180f315da5c679f10b101ad0731f26bd21aa5772
refs/heads/master
2021-01-25T13:05:08.687512
2018-04-19T03:01:06
2018-04-19T03:01:06
123,523,798
0
0
null
null
null
null
UTF-8
Python
false
false
4,069
py
''' TensorFlow Tutorials(1)——Windows下环境搭建 https://www.youtube.com/watch?v=gItz_fBTeLM TensorFlow系列教程(2)——手写数字的识别 https://www.youtube.com/watch?v=gx7iEa9Q-Vs TensorFlow Tutorials(3)——FC预测自己手写的图片 https://www.youtube.com/watch?v=WKHP6QBlb8Q ''' import os import tensorflow as tf import nump...
[ "bhuang@rms.com" ]
bhuang@rms.com
60a7352ea9fa28baf709bc3938aeeb9ae85a08f7
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/third_party/logging_v2/gapic/config_service_v2_client_config.py
918b29fd0f8ebf1f3e73a5596dbf58efcd6af258
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
3,721
py
# Copyright 2020 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 required by applicable law or a...
[ "gcloud@google.com" ]
gcloud@google.com
8eb00965d7fe2515246764e9e28869e4defe30b5
35fe9e62ab96038705c3bd09147f17ca1225a84e
/a10_ansible/library/a10_gslb_zone_service_dns_srv_record.py
6af19cd9ec408f7a280cb3b28bd71ada0d1abc4f
[]
no_license
bmeidell/a10-ansible
6f55fb4bcc6ab683ebe1aabf5d0d1080bf848668
25fdde8d83946dadf1d5b9cebd28bc49b75be94d
refs/heads/master
2020-03-19T08:40:57.863038
2018-03-27T18:25:40
2018-03-27T18:25:40
136,226,910
0
0
null
2018-06-05T19:45:36
2018-06-05T19:45:36
null
UTF-8
Python
false
false
6,346
py
#!/usr/bin/python REQUIRED_NOT_SET = (False, "One of ({}) must be set.") REQUIRED_MUTEX = (False, "Only one of ({}) can be set.") REQUIRED_VALID = (True, "") DOCUMENTATION = """ module: a10_dns-srv-record description: - author: A10 Networks 2018 version_added: 1.8 options: srv-name: description...
[ "mdurrant@a10networks.com" ]
mdurrant@a10networks.com
0a41178fc20f8607e3279660130613dca66b6169
4a22da169b96b9d8d4cf30c5ea7e167cdbd1e802
/cluster_uva/simulation35xu_rivanna/simulation35xu_rivanna_8.py
b78fb63ba51f2061a43dfc5f5f6aae48c9fbb2a9
[]
no_license
LiYan1988/simulationsYuxin
543fbeaac362f71513c71ceb1d1c300cabf04173
5997cecb5d772194900feddd07d7c5001c39b037
refs/heads/master
2021-01-19T13:50:15.968470
2017-03-17T21:52:33
2017-03-17T21:52:33
82,420,737
0
1
null
null
null
null
UTF-8
Python
false
false
1,033
py
# -*- coding: utf-8 -*- """ Created on Sat Feb 25 22:06:02 2017 @author: misWin This is a template of python files for simulation 3 and 5 with Xu's algorithem on hebbe """ from milp2_xu import * np.random.seed(0) batch_id = 8 network_cost = pd.read_csv('nsf-24nodes.csv', header=None, index_col=None) network_cost = ...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
22da5ff4314cfc620cb8d225b70570619873fe70
efb7180c05964aee07756dbd4f9982f81559d7e3
/TradeBot/tradebotapp/migrations/0002_auto_20191005_1543.py
49018395ae8bfb3525d48159fd3e3be4939ec2eb
[]
no_license
ShunnoSaiful/Trade-Bot
920ba75225d921f54530fc9f0d10a8eb9eabdaaf
d07489dea5fcf1d1d51a918a3127f620682107f2
refs/heads/master
2022-11-24T08:22:00.946773
2019-10-29T05:20:08
2019-10-29T05:20:08
218,207,062
0
0
null
2022-11-22T04:18:04
2019-10-29T04:54:41
JavaScript
UTF-8
Python
false
false
673
py
# Generated by Django 2.1 on 2019-10-05 15:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('tradebotapp', '0001_initial'), ] operations = [ migrations.AddField( model_name='question', ...
[ "sunnosaiful@gmail.com" ]
sunnosaiful@gmail.com
298c589f469654840e1fabc25a5a868de853909a
d2304891c5757e0cdb393d95b0c3d3495f6fbf76
/fourier.py
3ae0c47f18598a85df9bd0a14022cc42226f6cb0
[]
no_license
phisyche/Python
8b555e540f5aeb243434a6f3eceec3ee3835d288
f8897f008723821fdc8a1d9a3bdf462d2c42e49c
refs/heads/master
2023-03-15T04:49:51.586572
2021-03-26T13:45:08
2021-03-26T13:45:08
52,379,347
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
import scipy import matplotlib . pyplot as plt pi = scipy .pi signal_length = 0.5 #[ seconds ] sample_rate =500 # sampling rate [Hz] dt = 1./ sample_rate # time between two samples [s] df = 1/ signal_length # frequency between points in #in frequency domain [Hz] t= scipy . arange (0, signal_length ,dt) #the time vector...
[ "kwellingtonmwaura@gmail.com" ]
kwellingtonmwaura@gmail.com
de73271a124412f46be37471ac8f3093ebe85e83
eeb593a5351c8a17b5ab35434bead398498d3b7e
/server/echo.py
58675d43535c2cb401d50a4b7f9b88c26f4ee2c6
[]
no_license
smit1998/slacker-backend
fe16b4e0fe3e8b67a46508d238d2353535078b01
1217864bcb7f396106947f87460a2efc3cf8ffac
refs/heads/master
2023-02-09T14:47:04.556172
2019-11-17T08:54:28
2019-11-17T08:54:28
288,636,916
0
0
null
2021-01-06T09:04:54
2020-08-19T04:55:20
JavaScript
UTF-8
Python
false
false
36
py
def echo(value): return value
[ "email@example.com" ]
email@example.com
3872da51193af30d3efc08de4509cb2da1008df4
498474967e1480acf5cc0f25756e1d748c677195
/mmdetection3d/mmdet3d/core/evaluation/kitti_utils/rotate_iou.py
2f0c9c8e50667a99b84e6537c4b7ab8922a1d7a2
[ "MIT", "Apache-2.0" ]
permissive
hustvl/MapTR
adc37f78cbae9d8c909dd8648088a4930bf55377
feb0664e64684d3207859279f047fa54a1a806f6
refs/heads/main
2023-08-25T17:44:47.672149
2023-08-14T13:31:17
2023-08-14T13:31:17
518,672,305
643
95
MIT
2023-09-14T03:30:23
2022-07-28T02:20:43
Python
UTF-8
Python
false
false
13,315
py
# Copyright (c) OpenMMLab. All rights reserved. ##################### # Based on https://github.com/hongzhenwang/RRPN-revise # Licensed under The MIT License # Author: yanyan, scrin@foxmail.com ##################### import math import numba import numpy as np from numba import cuda @numba.jit(nopython=True) def div_u...
[ "cnliao62@gmail.com" ]
cnliao62@gmail.com
5de6389a40c5f6a48f4640a32173b7d6b8948184
1bf9f6b0ef85b6ccad8cb029703f89039f74cedc
/src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_storage_blob/v2019_12_12/_blob_service_client.py
f68a680091129a0af9ab03d85046622ce1f173e5
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
VSChina/azure-cli-extensions
a1f4bf2ea4dc1b507618617e299263ad45213add
10b7bfef62cb080c74b1d59aadc4286bd9406841
refs/heads/master
2022-11-14T03:40:26.009692
2022-11-09T01:09:53
2022-11-09T01:09:53
199,810,654
4
2
MIT
2020-07-13T05:51:27
2019-07-31T08:10:50
Python
UTF-8
Python
false
false
32,292
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- import fu...
[ "noreply@github.com" ]
VSChina.noreply@github.com
6d49a356fda1c916ac953c333cbc4535b0d6a8f6
7bb34b9837b6304ceac6ab45ce482b570526ed3c
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/test_files.py
fbbbea565812a9dfcef1d6ac1700e9fe164ef72c
[ "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.0-or-later", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.1-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause", "Apache-2.0" ]
permissive
ghsecuritylab/android_platform_sony_nicki
7533bca5c13d32a8d2a42696344cc10249bd2fd8
526381be7808e5202d7865aa10303cb5d249388a
refs/heads/master
2021-02-28T20:27:31.390188
2013-10-15T07:57:51
2013-10-15T07:57:51
245,730,217
0
0
Apache-2.0
2020-03-08T00:59:27
2020-03-08T00:59:26
null
UTF-8
Python
false
false
4,698
py
#!/usr/bin/env python # Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list ...
[ "gahlotpercy@gmail.com" ]
gahlotpercy@gmail.com
b4e837341ad2ead1653cd1863d71a44210732c3f
a463f5858c663199b6f6e38d9b2dc93e9a9ae730
/problem/2003/00_200316/3143_가장빠른문자열타이핑-1.py
cac1f53330c94396e5da0297c859ffa05c118f54
[]
no_license
do-park/swexpertacademy
4993f79e3a73697ecdc71e0f654306466626b00b
7cbbb0957ce5191cb44cd35094da5b0d29783e49
refs/heads/master
2020-12-22T19:26:35.257666
2020-10-19T02:02:32
2020-10-19T02:02:32
236,907,286
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
for tc in range(1, int(input()) + 1): A, B = input().split() t = A.count(B) print(f'#{tc} {len(A) - t * len(B) + t}')
[ "dohee.pa@gmail.com" ]
dohee.pa@gmail.com
c22f7efdcb2f21f4d80fc3b4b564f22666cc7f70
ddb3fc95f44733e20312c0cbfdb37fc7fd1da5e8
/torch_server.py
bb5ab48b0490566d51b8c5ffed176c3bd852ae15
[]
no_license
ShenDezhou/EXLNet
2068ffecb3bebdc705bf49d5ca50076ebd50fab2
e1700c2d455205e8760c68e83f43520e03e67367
refs/heads/master
2023-03-08T17:05:43.205497
2021-02-24T07:05:17
2021-02-24T07:05:17
330,310,719
0
0
null
null
null
null
UTF-8
Python
false
false
6,577
py
import argparse import itertools import logging import os import time from types import SimpleNamespace import falcon import pandas import torch from falcon_cors import CORS import waitress import numpy as np import json import re from torch.utils.data import DataLoader from data import Data from evaluate import eval...
[ "bangtech@sina.com" ]
bangtech@sina.com
a285078b484c69bd8ed5c87ab10b6da5ede6f928
cf0ab8503d4d704045070deea1e2125375711e86
/apps/metrics/v1/urls.py
94ae63aec636a2d71a2111dd8c53dd21cbddec4c
[]
no_license
faierbol/syncano-platform
c3c6468600115752fd9fa5e46a0ad59f75f6bc9c
879111874d1ef70418b4890cf970720b0a2be4d8
refs/heads/master
2023-07-20T10:13:40.066127
2021-02-08T15:01:13
2021-02-08T15:01:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# coding=UTF8 from django.urls import path from rest_framework.routers import SimpleRouter from apps.metrics import views router = SimpleRouter() router.register('hourly', views.HourlyStatsViewSet, base_name='hour-aggregate') router.register('daily', views.DailyStatsViewSet, base_name='day-aggregate') urlpatterns = ...
[ "rk@23doors.com" ]
rk@23doors.com
9dce403fd0a95cf1630555d797f78315313c6029
c2a2e40309bb86e36ec1cd283c5aaa3149e28afd
/dev/_import.py
caad219057d7da4bd4fc66308afeedc8fa245d1a
[ "MIT" ]
permissive
ossdev07/asn1crypto
5fc9f864eec3f109812050fa4ed50d1f343a6aad
213e4fb24f5f1a7f78c9f08862b0b8728fec1510
refs/heads/master
2020-12-03T23:33:55.056818
2019-12-29T06:46:19
2019-12-29T06:46:19
229,199,270
0
1
MIT
2019-12-20T05:53:29
2019-12-20T05:53:29
null
UTF-8
Python
false
false
3,279
py
# coding: utf-8 from __future__ import unicode_literals, division, absolute_import, print_function import imp import sys import os from . import build_root, package_name, package_root if sys.version_info < (3,): getcwd = os.getcwdu else: getcwd = os.getcwd def _import_from(mod, path, mod_dir=None, allow_er...
[ "will@wbond.net" ]
will@wbond.net
14b2409d1b96d2af04379ef25da43b732b845361
77bb6b9fd3efdad268a99c19da3b104a0914801b
/Binary Tree/binary_tree_to_doubly_link_list.py
2d0e72b857549cf35681bc53df47b26b164d521b
[]
no_license
Akasurde/Algorithms
2dc72a9b5fd30b20aba9ddce61e763a6b086c628
b6b79f267d39e3f352ffb4c91c544bdbd042092e
refs/heads/master
2021-01-14T08:55:07.928438
2015-06-21T20:21:21
2015-06-21T20:21:21
65,351,103
0
1
null
2016-08-10T04:41:13
2016-08-10T04:41:13
null
UTF-8
Python
false
false
737
py
# -*- coding: UTF-8 -*- # Convert a given Binary Tree to Doubly Linked List import binary_tree def convert_to_doubly_linked_list(root): if not root: return if root.left: left = convert_to_doubly_linked_list(root.left) while left.right: left = left.right left.right = root root.left = left if root...
[ "charul.agrawal@pagalguy.com" ]
charul.agrawal@pagalguy.com
ff09c2d5e520b2eb37116dfc90e2c1cffa1cad18
8039c88ee57447e6d3b973853aae8c3421ffa8e9
/backend/todoapp/migrations/0001_initial.py
57b9a5013f42dabf23f8ddf73d723da991e2d32b
[]
no_license
mahidulmoon/djreact-ExpenceTracker
3553ebe2a141bf0a5b67a46ce6871d675c4ec098
196c73cc7f484d3ef423699c8527c8f4f8422e9f
refs/heads/master
2023-02-09T06:43:33.292205
2020-06-05T12:44:18
2020-06-05T12:44:18
269,003,222
2
0
null
2021-01-06T03:53:52
2020-06-03T06:04:32
JavaScript
UTF-8
Python
false
false
726
py
# Generated by Django 3.0.6 on 2020-06-02 05:59 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "mahidulmoon@gmail.com" ]
mahidulmoon@gmail.com
2c0ae8a4900e9a3dbe5fc23d17c814448e073a6d
eb0bb5267035c0222da0c072c5dcd85b46099904
/test/tw-1630.t
c4c0bd1e81926ba3b08e72cc170987370ae53fb3
[ "MIT" ]
permissive
bjornreppen/task
6d96f578eec7b9cceeb4d728caeda87e7a446949
a9eac8bb715ac8f51073c080ac439bf5c09493e8
refs/heads/master
2021-05-30T07:48:39.263967
2015-10-21T20:50:42
2015-10-21T20:50:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,539
t
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- ############################################################################### # # Copyright 2006 - 2015, Paul Beckingham, Federico Hernandez. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentatio...
[ "paul@beckingham.net" ]
paul@beckingham.net
f5e375e99b0730d782fd2e5d0ba13d46113a0354
173e0af5c08469ec7fcc06020b2ecece9e511f2c
/predictions_lstm.py
0f85ee2583b0aa7df1d422e63be3237071715d06
[ "MIT" ]
permissive
codedecde/BiLSTM-CCM
f6726b025560c5027c3be807cee1a1d250a95048
a89719e97dfe1221f018d60106b75393cddf5f7c
refs/heads/master
2021-08-16T03:24:37.454184
2020-03-05T08:49:08
2020-03-05T08:49:08
100,819,812
2
1
MIT
2020-03-05T08:49:10
2017-08-19T20:31:41
Python
UTF-8
Python
false
false
9,442
py
import lstm_model as lm import keras from keras.layers import Input, GRU, Embedding, Dense, Dropout, concatenate from keras.models import Model from keras.layers.wrappers import Bidirectional from keras.callbacks import * import keras.backend as K from keras.optimizers import Adam import numpy as np import sys from ker...
[ "barunpatra95@gmail.com" ]
barunpatra95@gmail.com
3a51822baafc23044111a837cfa2333102d2ba8b
a869f208770692f65c265563a11333d6577b1d94
/callback_python.py
6a4dbd97f0cd0194b3e8584e457ad764ef6c765d
[]
no_license
malep2007/python-scripts
8ea1c7fb78b5111348f5c4f54e084612f82647e4
e57c01f79447be3dcf193a427db6bbabe4a06665
refs/heads/master
2020-08-03T14:53:57.424520
2019-09-29T12:16:01
2019-09-29T12:16:01
211,792,498
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
def copy_and_manipulate(array, callback): output = [] for i in array: output.append(callback(i)) return output def add_one(num): num+=1 # freaking weird that python needs to evaluate this before it is returned return num print(copy_and_manipulate([1,2,3], add_one))
[ "ephraim.malinga@gmail.com" ]
ephraim.malinga@gmail.com
18febcc8fb69368992e5125b1013d83ecad3f43e
9ffa2c1d9472c0d686433a353764d03da2159205
/supertools/survey_reader.py
665bdabfa542b11185fd826035fba2fe1fdb172e
[ "MIT" ]
permissive
zagaran/instant-census
7c1a0ab0ff282ebc56dd3a35d18a3ab444da1bfb
62dd5bbc62939f43776a10708ef663722ead98af
refs/heads/master
2023-05-08T00:21:24.426828
2021-05-31T18:19:02
2021-05-31T18:19:02
372,590,104
3
0
null
null
null
null
UTF-8
Python
false
false
8,388
py
from mongolia import ID_KEY from backend.admin_portal.survey_builder_helpers import choices_append from utils.time import datetime from constants.database import ANSWER_VALUE from database.backbone.schedules import (Schedule, Question, Conditional) from database.backbone.cohorts import Cohort from database.tracking.us...
[ "iamzags@gmail.com" ]
iamzags@gmail.com
65ed4e161dfa15a766e3541d97ca7beeebb6d745
1d9595555d45c9f31edc164275c392f9d4fc001a
/xmlutils/renderer/base.py
39d84cc6c8f5ddd5e1bce3a6a9d138dc13bd919a
[ "BSD-2-Clause" ]
permissive
tokibito/python-xmlutils
9a0f364df3c32b15d4ae58e3ccf07fb3c9e004e0
f173b8ef01fb740d097d1875f205f714982b5829
refs/heads/master
2020-07-25T07:52:37.899389
2010-03-30T11:55:52
2010-03-30T11:55:52
208,221,406
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
class BaseRenderer(object): def __init__(self, *args, **kwargs): pass def render(self, node): raise NotImplementedError
[ "xxshss@yahoo.co.jp" ]
xxshss@yahoo.co.jp
552877857c701781809eee505c222d299fae243a
3b9bf497cd29cea9c24462e0411fa8adbfa6ba60
/leetcode/Problems/1032--Stream-of-Characters-Hard.py
9ce827464f36efa080a24e21215caae9b4642bae
[]
no_license
niteesh2268/coding-prepation
918823cb7f4965bec096ec476c639a06a9dd9692
19be0766f6b9c298fb32754f66416f79567843c1
refs/heads/master
2023-01-02T05:30:59.662890
2020-10-17T13:12:34
2020-10-17T13:12:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
class TrieNode: def __init__(self): self.children = defaultdict() self.isWordEnd = False class StreamChecker: def __init__(self, words: List[str]): self.root = TrieNode() self.maxLen = 0 for word in words: self.maxLen = max(self.maxLen ,len(word)) ...
[ "akualajayaprakash@gmailcom" ]
akualajayaprakash@gmailcom
a883655d8a3bb0994ede721e1eb19c5f49814972
17856275ae788e15d3b089dd2f9f291488a0af78
/modules/post_details.py
30721d6d9358938a23693f952d8171cc9c022371
[]
no_license
Bawya1098/OfficeCafe-Projects
71a603cb1e307b039ed414ebc8421e25d46811f6
346be83bcdee9e410e4ba6980bed49b24f70ca2c
refs/heads/master
2020-04-22T03:17:33.667193
2019-03-11T06:40:31
2019-03-11T06:40:31
170,081,664
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
def post_data(connection, user_data): cursor = connection.cursor() cursor.execute("""insert into orders(employee_id,cart_items) values(%s,%s);""", (user_data['employee_id'], user_data['cart_items'])) connection.commit() cursor.close()
[ "admin@Intern3-MacBook-Pro.local" ]
admin@Intern3-MacBook-Pro.local
c6ddb80fc7ad55e16f7e31c3afd45024cca8d9a0
ea9e9756f6b5b7022015049d92c399ee03cfde67
/知吾煮/AutoTest_DL/interface/test_upload.py
e094f84e214ffe6d284efa82d6cc51de6ce3045b
[]
no_license
Godlovesli/jiaojiewendang
724e0f01028cc5cbcc9ce5807bd057e15172eb91
579551eabfc83226804ccfbf8b868192614d7166
refs/heads/master
2020-04-05T03:38:41.212627
2018-11-07T09:31:51
2018-11-07T09:31:51
156,521,937
0
1
null
null
null
null
UTF-8
Python
false
false
3,890
py
#!/usr/bin/env python #_*_ coding:utf-8 _*_ # -*- __author__ = 'feng' -*- from base.base import MyTest from base.login import Login import unittest import json from HTMLTestRunner import HTMLTestRunner import urllib, urllib2 from poster.encode import multipart_encode from poster.streaminghttp import register_openers fr...
[ "1107095622@qq.com" ]
1107095622@qq.com
9fef8d5dc64926520d73300c46c095a61f502d6b
9045393c9ace1cfb50b4c03efaafcf815ccce472
/tests/test_flow.py
5ea479c7f7be45454b6d21e1c7f9b4ed9adb4aaf
[ "MIT" ]
permissive
pombredanne/single_file_module-project
554aa3aaa63e32eb1c5473085b968b1160eef9ec
243f4c9cd9e6ef04ec7e8a48a0fed9645d6933b2
refs/heads/master
2021-01-23T06:06:07.098548
2017-07-14T21:53:35
2017-07-14T21:53:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import random import pytest from sfm import flow def bet_and_win(lower=1, upper=100, threshold=50): value = random.randint(lower, upper) if value > threshold: return value else: raise Exception("%s point, You Lose!" % value) def test_try_nti...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
e3863a265db5c7c39dd3f86727766c78fc33f2b4
d498d66fbe9bae2f86161f5c157d52c9433c6a8c
/mysite/mysite/urls.py
a577c6e46d6f5fde2d75a5260689f6c54dccb1ee
[]
no_license
sulembutproton/promosys
9330176d175f29d1e86991d93570981f6cad8317
2f67f08e2f07ab9ae0f25d9ac67905ebb1bbbda2
refs/heads/master
2023-03-11T20:31:06.152814
2021-03-01T15:52:31
2021-03-01T15:52:31
343,463,484
0
0
null
null
null
null
UTF-8
Python
false
false
3,291
py
""" samples URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "sulembut@protonmail.com" ]
sulembut@protonmail.com
5b3c899903378bc31aeee6e2a698d7b316d2b9ed
a1352de184b2a60295b90ba5472579c6dc8abb29
/misc/python/strucdump.py
a7ea13d9294eccf04d1da1d6211a77fe61beb026
[]
no_license
gunmetalbackupgooglecode/corkami
2b5e99b1cfd94f716e35293e915d536e468aec75
1a52e71ec205f1cb7ce493789474209dd1b47911
refs/heads/master
2016-09-16T06:33:52.261541
2015-02-11T18:41:13
2015-02-11T18:41:13
32,167,637
25
11
null
null
null
null
UTF-8
Python
false
false
2,465
py
#simple hex structure viewer #TODO: classify! # Ange Albertini, BSD Licence, 2011 import struct import sys fn = sys.argv[1] last = -1 lastdata = [] lastrend = -1 INDENT = "\t" COLS = 2 tags_types = [ ('BOGUSTYPE', 50829), ] TAGS = dict([(i[1], i[0]) for i in tags_types] + tags_types) for i,j...
[ "ange.albertini@gmail.com" ]
ange.albertini@gmail.com
2aa508143b15c41cf17a324f991bc0fe83031d58
5c2e4266abf6d2be9102d5309bf94071a1eae1db
/02 高级语法系列/cp 爬虫/基础/v18.py
478a6d18945b1ac16874c9eb6b549f405533e545
[]
no_license
13834319675/python
8176d5da47136b9b3ec290eaa0b699c6b1e7a8ab
3e6f04670f6f01006f827794865488dd40bca380
refs/heads/master
2021-07-11T18:29:12.894401
2021-07-05T08:29:27
2021-07-05T08:29:27
171,112,613
0
0
null
null
null
null
UTF-8
Python
false
false
1,756
py
''' 破解有道词典 V1 ''' from urllib import request, parse def youdao(): k = input("请输入要翻译的内容:") url = "http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule" data = { "i": k, "from":"AUTO", "to": "AUTO", "smartresult": "dict", "client": "fanyideskweb", ...
[ "1134876981@qq.com" ]
1134876981@qq.com
4e47cceaecf1e3209157eb0200600ae705e2fc5e
747f759311d404af31c0f80029e88098193f6269
/addons/olap/cube/levels/level_normal.py
28102ac873d17b2195509cea402caaffd1a5a756
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
70
py
/home/openerp/production/extra-addons/olap/cube/levels/level_normal.py
[ "geerish@omerp.net" ]
geerish@omerp.net
62750b17337dd5468a944195eea64784f470b4ac
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/284/92253/submittedfiles/testes.py
e388e395e0c9c5be69b317d970dd592eb7e72f48
[]
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
5,020
py
linha = [] coluna = [] for linha in range (0,3,1): for coluna in range (0,3,1): print('%d %d' %(linha,coluna)) import random def solicitaSimboloDoHumano(): letra = 0 while not (letra == 'O' or letra == 'X'): print('Qual símbolo você deseja utilizar no jogo? ') letra = input...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
1f52fc7b98a2980e9da9429774fccee2b8e054d2
ba8d566fe1fca8584601d70e209fef358d5aea16
/pyntcloud/sampling/s_mesh.py
5eb979a4acd73d38bf46e280431bc1d48fbb5e2b
[]
no_license
threerivers3d-jc/pyntcloud
6d316954fdedbd0d336e51ca0c887913f077c6cb
81311d4cbca037a755353dc5fcf80acad9189513
refs/heads/master
2021-01-21T15:26:53.939132
2017-06-21T17:41:48
2017-06-21T17:41:48
91,844,119
0
0
null
2017-05-19T20:46:30
2017-05-19T20:46:30
null
UTF-8
Python
false
false
3,658
py
import numpy as np import pandas as pd from ..base import Sampling from ..geometry.areas import triangle_area_multi class Sampling_Mesh(Sampling): """ """ def __init__(self, pyntcloud, rgb=False, normals=False): super().__init__(pyntcloud) self.rgb = rgb self.normals = norm...
[ "daviddelaiglesiacastro@gmail.com" ]
daviddelaiglesiacastro@gmail.com
f10d28f05fae8ab19c89469f1599948f39a0b6c6
9fbab0fd689ba1abbae4439a0e5bda315932f177
/tools/effectiveT3/effectiveT3.py
0254f325166f39f946564fa379f1c4f90dbfa794
[ "MIT" ]
permissive
Imoteph/pico_galaxy
437cb5c9b231896fcfcafec902a0ed1f1c9646b3
2c81bd9f238aacf7fb2ac2b027706eff31d23cc5
refs/heads/master
2021-01-11T23:00:08.239492
2016-11-04T12:06:36
2016-11-04T12:06:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,603
py
#!/usr/bin/env python """Wrapper for EffectiveT3 v1.0.1 for use in Galaxy. This script takes exactly five command line arguments: * model name (e.g. TTSS_STD-1.0.1.jar) * threshold (selective or sensitive) * an input protein FASTA filename * output tabular filename It then calls the standalone Effective T3 v1.0.1...
[ "p.j.a.cock@googlemail.com" ]
p.j.a.cock@googlemail.com
622607fa7a7c60daa2e8c156f9d58d46032e3a4a
f1f21ba2236da38a49a8185ce33b3ce4a4424c1d
/apps/drug_target_interaction/moltrans_dti/preprocess.py
3919994d6fa4be6c6b1b0d8c44ecb5fd98b3b5e8
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleHelix
75a07c2f14475e56e72f4573b2cf82a91d1cbfda
e6ab0261eb719c21806bbadfd94001ecfe27de45
refs/heads/dev
2023-08-05T03:34:55.009355
2023-08-01T09:30:44
2023-08-01T09:30:44
314,704,349
771
197
Apache-2.0
2023-08-01T09:15:07
2020-11-21T00:53:39
Python
UTF-8
Python
false
false
5,501
py
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
bf27c415d0043fd1bc4f0ca0022fb76d57c961a7
c73e8286579e7ba673440bac44bd527d416beaef
/MyNeutronSimHitAnalyzer/test_myneutronsimhitanalyzer_cfg.py
fefea3af0908ab0115fa557d29761f7fc67dfbf8
[]
no_license
pietverwilligen/MyAnalyzers
6815cec717f2ede3f44070466e33c9b292d5b452
ccd04521747625d82a19174ebebb6a2cba53ddf2
refs/heads/master
2023-05-24T12:42:17.134907
2023-05-18T11:55:05
2023-05-18T11:55:05
16,079,295
1
2
null
null
null
null
UTF-8
Python
false
false
5,417
py
import FWCore.ParameterSet.Config as cms process = cms.Process("Demo") process.load("FWCore.MessageService.MessageLogger_cfi") # process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') # process.load('Configuration.Geometry.GeometryExtended_cff') # process.load('Configuration.Geometry.Geometr...
[ "piet.verwilligen@cern.ch" ]
piet.verwilligen@cern.ch
763c3a099affc2ad5ad0175153483332b443d153
d0efa2026b7ed22ff4f9aa76c27ae2474c30f26d
/openapi_client/models/location.py
f6293ef80984ebfdac4c0af34fa105e138e19331
[]
no_license
begum-akbay/Python
2075650e0ddbf1c51823ebd749742646bf221603
fe8b47e29aae609b7510af2d21e53b8a575857d8
refs/heads/master
2023-03-28T00:11:00.997194
2021-03-25T16:38:17
2021-03-25T16:38:17
351,499,957
0
0
null
2021-03-25T16:38:17
2021-03-25T16:15:16
Python
UTF-8
Python
false
false
7,016
py
# coding: utf-8 """ Payment Gateway API Specification. The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501 The ve...
[ "emargules@bluepay.com" ]
emargules@bluepay.com
ad7e6bc02120ef80805bcd33c41a5689fdc3b3ae
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/222/users/4327/codes/1685_2471.py
3839f412181a0170517221e3c9d2dc2bcfbbf2a6
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
361
py
ida=int(input("idade:")) imc=float(input("imc:")) print("Entradas: {} anos e IMC {}".format(ida,imc)) if ((ida<=0 or ida>130) and imc<=0): print("Dados invalidos") elif(ida<45 and imc<22): print("Risco: Baixo") elif(ida>=45 and imc<22): print("Risco: Medio") elif(ida<45 and imc>=22): print("Risco: Medio") elif(id...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
245ae97ad6a1378e1321ff246b20b6073791fbf7
d30855895ee0c6ddaef493039dd0e0f1298eeae6
/demo3.py
05468c0c352ed93b62578658570a7927fdf16d41
[ "GPL-1.0-or-later", "GPL-3.0-only", "MIT" ]
permissive
Ezhil-Language-Foundation/open-tamil
f5f28463bff4400aa131b4a428e8f3e17aa63997
8ea745440f96fe587cf0959d12e990ad7923e60e
refs/heads/main
2022-12-23T13:50:19.758812
2022-12-16T21:56:02
2022-12-16T21:56:02
14,263,826
246
72
MIT
2022-09-24T17:49:10
2013-11-09T19:48:48
JavaScript
UTF-8
Python
false
false
531
py
# -*- coding: utf-8 -*- ## (C) 2019 Muthiah Annamalai, ## This module is part of solthiruthi project under open-tamil umbrella. ## This code maybe used/distributed under MIT LICENSE. from solthiruthi.dictionary import DictionaryBuilder, TamilVU from solthiruthi.tamil99kbd import inv_confusion_matrix as kbd_cm from solt...
[ "ezhillang@gmail.com" ]
ezhillang@gmail.com