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
b88f1fac710a76677ed2615ebf45230ada9092de
dd681dd7874c80c2804ca8d66cdbfdf2abec537e
/Python/venv/Lib/site-packages/tensorflow_estimator/python/estimator/tpu/tpu_context.py
4914691efe5dfd9d925775d40bc6e33f65148fb0
[]
no_license
khaled147/Koneked
cbbaec78cf3828575e835445f45b9dd72c39d808
98bdc701a3d126c742e076ee3ad34719a0ac5309
refs/heads/main
2023-04-03T11:37:07.941179
2021-04-14T02:09:35
2021-04-14T02:09:35
345,202,202
2
0
null
null
null
null
UTF-8
Python
false
false
34,534
py
# Copyright 2018 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...
[ "elmalawanykhaled@gmail.com" ]
elmalawanykhaled@gmail.com
44affb9b6a41e84e0a6b1e3838ed92d0531e9c62
d4291c13f4ebf3610f8c4adc75eede4baee0b2c1
/HLTrigger/Configuration/python/HLT_Fake2_cff.py
aacd7af962da24ad866730327834cb52170a2be0
[ "Apache-2.0" ]
permissive
pasmuss/cmssw
22efced0a4a43ef8bc8066b2a6bddece0023a66e
566f40c323beef46134485a45ea53349f59ae534
refs/heads/master
2021-07-07T08:37:50.928560
2017-08-28T08:54:23
2017-08-28T08:54:23
237,956,377
0
0
Apache-2.0
2020-02-03T12:08:41
2020-02-03T12:08:41
null
UTF-8
Python
false
false
10,049
py
# hltGetConfiguration --cff --offline --data /dev/CMSSW_9_2_0/Fake2 --type Fake2 # /dev/CMSSW_9_2_0/Fake2/V5 (CMSSW_9_2_7) import FWCore.ParameterSet.Config as cms fragment = cms.ProcessFragment( "HLT" ) fragment.HLTConfigVersion = cms.PSet( tableName = cms.string('/dev/CMSSW_9_2_0/Fake2/V5') ) fragment.streams ...
[ "Martin.Grunewald@cern.ch" ]
Martin.Grunewald@cern.ch
887db783e687e89b25a38c91e85b1efb0c5422cb
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_181/ch137_2020_04_01_18_52_38_120863.py
52844cc7eccda0c6ccb5781d417f58d99cc19869
[]
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
99
py
def calcula_aceleracao(r,f): import math w = 2*math.pi*(f/60) a = (w**2)*r return a
[ "you@example.com" ]
you@example.com
724be9c7d7e5d959d5d756efdf52aa7275c3b593
c7f0bef042fe7ec5636c4c68db0828dcac4d7a68
/nbresuse/handlers.py
2df514302af8cf90146d678ee6817cf777563e4b
[ "BSD-2-Clause" ]
permissive
zzhangjii/nbresuse
93ca3cdac06f57b13954d2a8d149e73d287bdca7
0daa6ec97667959d24dd89f3beeecd462afd51db
refs/heads/master
2021-01-21T14:16:56.642914
2017-06-24T01:01:20
2017-06-24T01:01:20
95,262,522
0
0
null
2017-06-23T23:06:46
2017-06-23T23:06:46
null
UTF-8
Python
false
false
724
py
import os import json import psutil from notebook.utils import url_path_join from notebook.base.handlers import IPythonHandler def get_metrics(): cur_process = psutil.Process() all_processes = [cur_process] + cur_process.children(recursive=True) rss = sum([p.memory_info().rss for p in all_processes]) r...
[ "yuvipanda@gmail.com" ]
yuvipanda@gmail.com
83accf7861f2d63d8f5fd0191a3bfd0fcf4c1c7e
19c8d82a713ab69f4f4163a00b5a5519148116db
/python/psutil/examples/meminfo.py
f1bbbd8ee2df0f34ca4253f907407b8a604d98fe
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
humphd/mozilla-central
6b758084c5a7afe2b2f81934ce26aadbe536a504
1acf9935d4409757e6970a0ecba6c0736dff4782
refs/heads/master
2021-01-17T10:44:32.739863
2013-01-13T14:39:32
2013-01-13T14:39:32
1,617,367
6
27
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/env python # # $Id: meminfo.py 1509 2012-08-13 12:31:18Z g.rodola $ # # Copyright (c) 2009, Jay Loden, Giampaolo Rodola'. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Print system memory information. """ import psutil from ps...
[ "gps@mozilla.com" ]
gps@mozilla.com
03f459a285c75fba42e137c8229e79543bb0b0eb
ad59fb12042bfd3f5c43eca057d0f747f9e148cf
/StreamLink/usr/lib/python2.7/site-packages/streamlink/plugins/abweb.py
87094ccda556b88c13bf0a2c31b13caa6650d815
[]
no_license
lexlong2007/eePlugins
d62b787100a7069ad5713a47c5688008063b45ec
167b262fe36901a2d3a2fae6d0f85e2307b3eff7
refs/heads/master
2022-03-09T05:37:37.567937
2022-02-27T01:44:25
2022-02-27T01:44:25
253,012,126
0
0
null
2020-04-04T14:03:29
2020-04-04T14:03:29
null
UTF-8
Python
false
false
4,983
py
import logging import re from streamlink.plugin import Plugin, PluginArgument, PluginArguments, PluginError, pluginmatcher from streamlink.plugin.api.utils import itertags from streamlink.stream import HLSStream from streamlink.utils import update_scheme from streamlink.utils.url import url_concat log = logging.getLo...
[ "zdzislaw22@windowslive.com" ]
zdzislaw22@windowslive.com
6159a34909e55c2a8dc3aebe2f944c2a087f0bb9
1f3672fc6e64b7400548158c2ca6e0a0e8f01d7f
/orlab4/func.py
b5c945278605b3e80e608b0786998a86d5e28de9
[]
no_license
alexbelan1999/university_python_labs
340ff0ca99044009d3290c48fc74b5dc0590c905
ee019a3826b1c166ca05832168af9249178d9074
refs/heads/master
2023-08-30T10:58:46.528482
2021-11-07T17:04:06
2021-11-07T17:04:06
424,985,367
0
0
null
null
null
null
UTF-8
Python
false
false
13,517
py
import numpy as np def change_array(arr, check): if check: max = 0 for i in range(0, len(arr)): for j in range(0, len(arr)): if arr[i][j] > max: max = arr[i][j] for i in range(0, len(arr)): for j in range(0, len(arr)): ...
[ "alexbelan1999@gmail.com" ]
alexbelan1999@gmail.com
1afc6a0ea2708d1db866442c7cb20dfafd8871bd
9878df8dcc9443267197e31f24a628e115c87949
/swagger_client/api_client.py
21ef5a37ad711a7994575ea6f1eaa59a602d5333
[]
no_license
mirandacong/gitea_python_client
79fff8b3bb73f160abb059fe2f470b185017e844
79e2ae5253a20635aa019e176c17f8797d418f01
refs/heads/master
2020-04-02T00:19:07.392521
2018-10-20T05:02:55
2018-10-20T05:02:55
153,798,708
0
0
null
2018-10-20T05:02:56
2018-10-19T14:49:15
Python
UTF-8
Python
false
false
24,353
py
# coding: utf-8 """ Gitea API. This documentation describes the Gitea API. # noqa: E501 OpenAPI spec version: 1.1.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import datetime import json import mimetypes from multiprocessing.pool...
[ "qzmfranklin@gmail.com" ]
qzmfranklin@gmail.com
16ab018bbe05629c3a99ac29b6b85d081004be41
cb1c3c624fb2e8e65f8b80109bada6811d399205
/creme/optim/losses/base.py
f01955e2beafbab39ff9ea37379017111d10b6ab
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
2torus/creme
5cc830bb59ea95d7ed69ceaeed1d285f1544beae
bcc5e2a0155663a1f0ba779c68f23456695bcb54
refs/heads/master
2020-06-14T00:19:03.981678
2019-06-24T13:45:06
2019-06-24T13:45:06
194,833,808
4
0
NOASSERTION
2019-07-02T09:35:20
2019-07-02T09:35:19
null
UTF-8
Python
false
false
754
py
import abc from ... import utils class Loss(abc.ABC): @abc.abstractmethod def __call__(self, y_true, y_pred) -> float: """Returns the loss.""" @abc.abstractmethod def gradient(self, y_true, y_pred) -> float: """Returns the gradient with respect to ``y_pred``.""" class Classificati...
[ "maxhalford25@gmail.com" ]
maxhalford25@gmail.com
74afd6f1f7551b0108ee82bdb3d16190f8713a30
afbaa5685bf737ec7d16fee2bab54ae13caf96f9
/geekbang/core/07.py
cc9651a2933ba0aaaf2541bf66dba49a05132e46
[]
no_license
ykdsg/myPython
9dcc9afe6f595e51b72257875d66ada1ba04bba6
77d2eaa2acb172664b632cc2720cef62dff8f235
refs/heads/master
2023-06-10T20:11:08.061075
2023-06-03T11:39:53
2023-06-03T11:39:53
10,655,956
0
1
null
null
null
null
UTF-8
Python
false
false
870
py
d = {'name': 'jason', 'dob': '2000-01-01', 'gender': 'male'} # 迭代的是键 for k in d: print("key:" + k) for v in d.values(): print("value:", v) for it in d.items(): print("item:", it) l = [1, 2, 3, 4, 5, 6, 7] for index in range(0, len(l)): if index < 5: print(l[index]) text = ' Today, is, Sunday...
[ "17173as@163.com" ]
17173as@163.com
08af90889078f73287251b4fd69ade6c9d7c5378
e18a353582609732c795401f1a01bc762bd939f2
/top/python/get_mub_predictions.py
105537cf78d91566e4f76baa7c5bb3b7c7670013
[]
no_license
s-farry/workspaces
06741807bb464bb0712d52108c2d1b7ae62b1353
0dcf3868dcbe110206ea88ff5c9e04a3b44b1ca1
refs/heads/master
2020-04-03T00:45:39.152227
2017-06-15T16:33:33
2017-06-15T16:33:33
64,213,815
0
0
null
null
null
null
UTF-8
Python
false
false
23,156
py
from os import sys import copy from Jawa import * from ROOT import TCut, TTree, TFile, TMath, TH1F, TF1, TH1, TParameter from Utils import GetWeightHist, GetSpreadGraph, GetPDFGraph, asymm_details, ratio_details, details, Bunch from math import sqrt def getpdfuncertainty(central, pdfsets): sumsq = 0 for pdf in...
[ "sfarry@hep.ph.liv.ac.uk" ]
sfarry@hep.ph.liv.ac.uk
a82a9f43ecaaedd29851c1774f84ce30246134ad
6c92af1a600a707232f36dbb17d3944b95b1206c
/src/collective/caching/hostname/Extensions/Install.py
bc37f6e28fdb9cc8d3c2ffe43e866e25c849fd10
[]
no_license
simplesconsultoria/collective.caching.hostname
f1a8c33fa7b720086c98f4c6311ad7974902ddcf
71cb740abfcfcecb8155fb336a0e0a30907b5502
refs/heads/master
2021-01-22T01:54:35.904018
2012-02-23T18:39:51
2012-02-23T18:39:51
3,528,231
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# -*- coding:utf-8 -*- from Products.CMFCore.utils import getToolByName def uninstall(portal, reinstall=False): if not reinstall: # normal uninstall setup_tool = getToolByName(portal, 'portal_setup') profile = 'profile-collective.caching.hostname:uninstall' setup_tool.runAllImport...
[ "erico@simplesconsultoria.com.br" ]
erico@simplesconsultoria.com.br
521a53b5d74cabc70ce1ca76fa0a85326ae842c0
8db5ef7e8355c1beff7b55313b3aa57737b56df6
/guidez/local_settings_safe.py
1fa3c50654e99d4310cd0d3b4780f3d525511c79
[]
no_license
Seredyak1/guidez
ec8748df9e45131119b18ecaccf9bc8afb4489d3
88ff2eb0b0d2b9a2e736712f0ff049d6c2108107
refs/heads/master
2022-12-10T04:16:56.158178
2020-04-14T06:58:16
2020-04-14T06:58:16
208,821,905
0
0
null
2022-12-08T03:13:30
2019-09-16T14:34:11
Python
UTF-8
Python
false
false
822
py
DEBUG = True SITE = "" SWAGGER_SETTINGS = { "SUPPORTED_SUBMIT_METHOD": ['get', 'post', 'put', 'delete', ], 'USE_SESSION_AUTH': False, 'JSON_EDITOR': True, 'SECURITY_DEFINITIONS': { 'api_key': { 'type': 'apiKey', 'description': 'Personal API Key authorization', ...
[ "sanya.seredyak@gmail.com" ]
sanya.seredyak@gmail.com
383eb73d0bbe59aa068c39befe436da753716ea1
2638a861e7ac0b37361348babc18212176cb75cb
/solvers/results.py
66e6fa60532a809fa4f5b9d80f6f8b2b58431eff
[ "Apache-2.0" ]
permissive
jcarpent/osqp_benchmarks
64de68f111d464810983d2f4ea31962b8646b041
787f46e73ce22bcdc9055a4fea56fc812a7d6e5f
refs/heads/master
2020-04-18T11:50:55.026557
2019-01-31T13:09:21
2019-01-31T13:09:21
167,514,778
0
0
Apache-2.0
2019-01-25T08:43:05
2019-01-25T08:43:04
null
UTF-8
Python
false
false
296
py
class Results(object): ''' Results class from QP solution ''' def __init__(self, status, obj_val, x, y, run_time, niter): self.status = status self.obj_val = obj_val self.x = x self.y = y self.run_time = run_time self.niter = niter
[ "bartolomeo.stellato@gmail.com" ]
bartolomeo.stellato@gmail.com
ccd57a1a2366440d8df6ef67e648d00666d96a92
ac549e553263801bdc6962a10ebbe784dc2631df
/Python/tree/tree.py
cf633f53da24c08f988ca5e6d17f85ca37ac644a
[]
no_license
Bishal44/DataStructure
e595890d18bde39e65f02a7ca3a6904c6070c3c8
939c47de6dcfe3b2578aaa0610d3cdc5726572c7
refs/heads/master
2020-09-10T22:40:46.368607
2020-03-28T12:15:08
2020-03-28T12:15:08
221,854,694
0
0
null
2019-12-10T15:47:45
2019-11-15T05:59:40
Python
UTF-8
Python
false
false
189
py
""" Datastructure_and_algorithm Created by Bishal on 25 Mar 2020 """ class TreeNode: def __init__(self, val=0): self.val = val self.left = None self.right = None
[ "bhattaraibishal704@gmail.com" ]
bhattaraibishal704@gmail.com
a2573aed665d4ec84c3a3a988bbfc2e97bbc1c92
13d8ede6d23ed0a375bbc9310d93be035fd164e9
/InterviewBits/arrays/first-missing-positive.py
b52f188313126497bbe4e63e6fbff1cee6428e8c
[]
no_license
iamrishap/PythonBits
192d3fb7bce101485eb81da2153e5b0c82b6872a
dcbc5f087ad78110a98e78dd6e5943ed971309c2
refs/heads/master
2022-03-10T07:16:08.601170
2019-11-17T04:01:00
2019-11-17T04:01:00
206,778,724
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
""" Given an unsorted integer array, find the first missing positive integer. Example: Given [1,2,0] return 3, [3,4,-1,1] return 2, [-8, -7, -6] returns 1 Your algorithm should run in O(n) time and use constant space. """ class Solution: # @param A : list of integers # @return an integer def firstMissingP...
[ "rishap.sharma@iress.com" ]
rishap.sharma@iress.com
382fc999a896f8ab47db64595325ce80048bb9bd
cbb3ff933ecd7c113eb5740d1206caf8e099c599
/communityapp/images/models.py
346e5a05ae6b3bf5fad7f6ccfbc3105a99be3026
[]
no_license
userzeroc/communityapp
1cbb2a0021d124f9cfb2f9eec9e30e5c1d40f04b
9bc2300c18f74b03706896cf43d0d6d9bbdd0725
refs/heads/master
2021-01-15T04:55:08.625686
2020-02-25T01:38:03
2020-02-25T01:38:03
242,884,202
1
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
from django.db import models from django.conf import settings from django.urls import reverse from django.core.files.base import ContentFile from urllib import request # Create your models here. from django.utils.text import slugify class Image(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, ...
[ "972763474@qq.com" ]
972763474@qq.com
68622fb85d1a8503ea0a50083047d2cee133d957
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v9/enums/types/asset_set_link_status.py
9d699ae74e4f85fcf250f0a500f0e697bf8d3f45
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
1,237
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 or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
aa7e46563249d3913a650320cb7ca403c54835d8
ecebefec65cc55b305419a689660eb8e2ea04fef
/abrtuner/demo_mpc_tuner_server/mpc_lookup_table_4300_default.py
278b97a5953799eb4c9605760e33be565617e5cd
[]
no_license
generlist/ABRTuner
4ab1d6d5e5201a7953d4565ca4574307a35513c3
baea8fab155a71c185e74121a8f014e6ad889308
refs/heads/master
2020-05-26T01:09:29.712879
2018-08-03T23:40:01
2018-08-03T23:40:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,175,150
py
mpc_dash_syth_hyb_pen_table_4300_default_100 = {(7100, 2400): [90.0], (7400, 4300): [80.0, 0.0, 100.0, 10.0], (5900, 1000): [50.0, 60.0, 50.0], (5000, 2600): [60.0, 20.0, 30.0, 10.0], (8100, 600): [90.0], (4600, 800): [0.0], (8000, 1500): [20.0], (7200, 1600): [40.0], (8200, 4000): [100.0, 100.0, 100.0], (4200, 500): [...
[ "zahaib.akhtar@gmail.com" ]
zahaib.akhtar@gmail.com
12c03e0136926e99299b7f34ac1906d3942df778
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/pzXrBSiQdMqvRWazp_19.py
7f991dbda4e79416075e6ab120701b4d37e78023
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
""" Imagine you run a website that presents users with different coding challenges in levels Easy, Medium, and Hard, where users get points for completing challenges. An _Easy_ challenge is worth `5` points, a _Medium_ challenge is worth `10` points, and a _Hard_ challenge is worth `20` points. Create a function th...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e969edd68f04ac0c73ce426cfef0f6feafce4b3b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02407/s301960424.py
a10803ef0f9b093d880f02df430cca95ab0192af
[]
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
232
py
import sys n = int( sys.stdin.readline() ) nums = sys.stdin.readline().rstrip().split( " " ) nums.reverse() output = [] for i in range( n ): output.append( nums[i] ) if i < (n-1): output.append( " " ) print( "".join( output ) )
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
34151eaa6872df5b6510a87dfdd997d91fd16980
7a35edf3f38622c94df0b0f7bdcbd1a9ae63fd3d
/app/slack/tests/test_slack_service.py
82f0afea1ee91fc9359032b39a5b3f8f71261f16
[]
no_license
hamimhamim21/clerk
2d0cc846c99f6c7f80f7a0fe6ac9e0cc447dbd8f
e39122d37bbc938af154e5f74fa45f34e1195fa1
refs/heads/master
2022-10-01T20:25:42.795653
2020-06-04T02:31:08
2020-06-04T02:31:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,439
py
import json import pytest import responses from slack.services import send_slack_message from slack.models import SlackUser, SlackChannel, SlackMessage @responses.activate @pytest.mark.django_db @pytest.mark.parametrize("slug", ["client-intake", "landing-form"]) def test_send_submission_slack(slug): """ Ensu...
[ "mattdsegal@gmail.com" ]
mattdsegal@gmail.com
5d76d28eb84b8d878d86d65b0351df821c2ffe28
67117705720a3e3d81253ba48c1826d36737b126
/Wk9_STRANDS/optimum_clusters_DBSCAN.py
f85c49fff153b79e54df7ac3e897fa742f6afa7d
[]
no_license
pyliut/Rokos2021
41f0f96bc396b6e8a5e268e31a38a4a4b288c370
70753ab29afc45766eb502f91b65cc455e6055e1
refs/heads/main
2023-08-13T17:29:30.013829
2021-09-26T19:01:35
2021-09-26T19:01:35
382,092,802
0
0
null
null
null
null
UTF-8
Python
false
false
3,593
py
# -*- coding: utf-8 -*- """ Created on Fri Aug 27 13:24:13 2021 @author: pyliu """ import pandas as pd import matplotlib.pyplot as plt from matplotlib import cm import numpy as np import math import scipy as sp from scipy import stats import sklearn from sklearn.cluster import DBSCAN from sklearn....
[ "noreply@github.com" ]
pyliut.noreply@github.com
00c5161c9f2a576c3823118a495a77ffe2d93f6f
7b8105666c77c80737e2cf4e8f89e85fedda74af
/SBaaS_ale/stage01_ale_trajectories_postgresql_models.py
bc5e630a390c384ca7cf098ec10e2f921cfe104c
[ "MIT" ]
permissive
dmccloskey/SBaaS_ale
0869a52889bf66a9c26b9343bdfa4cec00fe99c3
e225162b2f90117cfecbc0065a43382571dce95a
refs/heads/master
2021-01-13T00:16:48.458778
2016-02-14T01:03:31
2016-02-14T01:03:31
51,099,927
0
0
null
null
null
null
UTF-8
Python
false
false
6,061
py
from SBaaS_base.postgresql_orm_base import * class data_stage01_ale_trajectories(Base): __tablename__ = 'data_stage01_ale_trajectories' id = Column(Integer, Sequence('data_stage01_ale_trajectories_id_seq'), primary_key=True) experiment_id = Column(String(50)) ale_id = Column(String(100)) ale_time=...
[ "dmccloskey87@gmail.com" ]
dmccloskey87@gmail.com
120af89528e612d011e34a302f1de490cc9cb1af
6589653c2a1455b6482a3ab04c9aa00b8909787e
/Fundamentals of Python Programming/2 week(loops-if-else)/morn_run.py
461b16ac7b484a45e7378983e61af1d6c3606717
[]
no_license
Sergey-Laznenko/Coursera
865e4e46954b581ce73c5064034946fc34c767f4
a44575c98d0e60f5709932f7fdb8cec7536da220
refs/heads/master
2022-12-24T17:25:33.531101
2020-10-07T15:45:04
2020-10-07T15:45:04
281,923,973
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
x, y = int(input()), int(input()) score = 1 while x < y: x *= 1.1 score += 1 print(score)
[ "Laznenko.Sergey@gmail.com" ]
Laznenko.Sergey@gmail.com
f4e8b00eaaf6d0a6068ad4122cf0673de696d7f6
45de5d3a46623222adab00f1f2905d89708aa492
/tests/test_writer.py
c358686e03ffc64faa8009081a4266ed1ec88461
[ "BSD-3-Clause" ]
permissive
jayvdb/pyexcel-xls
9ccc0439df9499b8711b69740a9ebd391bce67f2
e191abd3c329d1459c843204a5d5acde14dc2da7
refs/heads/master
2020-12-11T03:54:30.494345
2016-05-10T03:21:25
2016-05-10T06:43:32
57,425,804
0
0
null
2016-04-30T03:42:12
2016-04-30T03:42:11
Python
UTF-8
Python
false
false
1,447
py
import os from pyexcel_xls.xls import XLSWriter, XLSBook from base import PyexcelWriterBase, PyexcelHatWriterBase class TestNativeXLWriter: def test_write_book(self): self.content = { "Sheet1": [[1, 1, 1, 1], [2, 2, 2, 2], [3, 3, 3, 3]], "Sheet2": [[4, 4, 4, 4], [5, 5, 5, 5], [6, 6...
[ "wangc_2011@hotmail.com" ]
wangc_2011@hotmail.com
ff7c3b59b4e78c80186597eeeca89b557c13fbc7
94f1c6d11953bab63a5ce468cf279e409a45eb9b
/Round B/Palindromes.py
42fdc22fcff2938725d7869ab1e5bfeb55c89edf
[]
no_license
rocket3989/KickStart2019
582434385842e6d82c638805f79a91bee861000f
37a96a100b9b3c16116ac29d74826f8d6e4ee3f6
refs/heads/master
2020-05-01T08:39:01.632233
2019-04-29T00:02:31
2019-04-29T00:02:31
177,383,386
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
from collections import defaultdict T = int(input()) for test in range(1,T + 1): N, Q = list(map(int, input().split())) stringIn = input() correct = 0 for question in range(Q): L, R = list(map(int, input().split())) charCount = defaultdict(int) for ...
[ "rocket3989@gmail.com" ]
rocket3989@gmail.com
57a63773e18313b81b384addf36304382c2a0ac4
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/classification/Centroids-reid/pytorch_lightning/trainer/connectors/debugging_connector.py
ecba35d5dbf55f3b03d6bd297f7778a67ddfd510
[ "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
3,825
py
# Copyright The PyTorch Lightning team. # # 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 i...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
1ee46e0d51b12b2f0ee4cf3c4614bf1e2147a3aa
16dbe8b1be0cd360ac1062072430f1f2b7d95bd6
/FlightPlanner/NpaOnFix/NpaOnFixDlg.py
6636f19620239491fd32c6104147b3937f373d5a
[]
no_license
developer124320/FlightPlanner
4a0d9a450ddddede95512ad76437db2906154536
f1e4c762c360c0a00022ae6fa028fc1aee2a467d
refs/heads/master
2022-08-25T14:00:57.495037
2020-05-27T01:26:27
2020-05-27T01:26:27
267,186,057
0
0
null
null
null
null
UTF-8
Python
false
false
38,652
py
# -*- coding: UTF-8 -*- ''' Created on 30 Jun 2014 @author: Administrator ''' from PyQt4.QtCore import SIGNAL, QCoreApplication,QString, Qt, QVariant, QSizeF from PyQt4.QtGui import QColor,QMessageBox,QTextDocument,QFont, QFileDialog, QLabel, QSpinBox, QFrame, QHBoxLayout from qgis.core import QgsCoordinateReferenc...
[ "yongjin.818@gmail.com" ]
yongjin.818@gmail.com
1adc72136d6926164b025510774a87f8be7e2a4b
fe7ca92531708b2d1cc30917bac61a2dd5565432
/switch-snmp/netsnmp/netsnmp/python-openstackclient-master/openstackclient/compute/v2/service.py
89f5cad94fef7325919c9b48291279ce6de5de3a
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
lizhenfen/python
817131e170a434c9a065589420c08fe8908e3536
5ffdb34a9d252eedbd4551fd694ce6f9e6cdd8b0
refs/heads/master
2021-01-21T13:48:28.731629
2016-08-22T08:57:47
2016-08-22T08:57:47
54,445,601
0
0
null
null
null
null
UTF-8
Python
false
false
4,280
py
# Copyright 2013 OpenStack, 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 or agree...
[ "743564797@qq.com" ]
743564797@qq.com
a1d87b096f401dd10ef55c1c59f64529295b0d71
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_agent_pools_operations.py
4926441274758792c61c7f3f04660b5b901e394a
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
33,440
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" ]
paultaiton.noreply@github.com
11f5c3bcb9eba7676885da12844d29f27363fd23
630c0dfb160605f12c2cd344ceb48e4bac12219f
/lib/threads.py
6352af7b239322c116c602323519496bc0a1fab1
[ "MIT" ]
permissive
autowitch/llama
44611bcc4d9c8b51a7e2001a9632315bbb7b7288
cc18e1f646e6deae5a461b8a4f3a914463999b35
refs/heads/master
2016-09-02T01:01:49.928364
2013-08-30T21:02:53
2013-08-30T21:02:53
12,006,453
1
1
null
2013-08-10T16:49:03
2013-08-09T17:17:08
null
UTF-8
Python
false
false
7,426
py
import copy from lib.program_state import ProgramState class Threads(object): def __init__(self): self.threads = [ProgramState()] self.alive = True def thread(self, thread=0): return self.threads[thread] def importance(self, thread=0): if not self.threads[thread]: ...
[ "autowitch@autowit.ch" ]
autowitch@autowit.ch
36538ead1548aad6d6b1bc9ecaa050eda7d7fdae
a42fdd9571bdb548d275d54aaaeccce10a6d5eca
/users/utils.py
d89fd35b4402fcd49aa375668ddddd91879af96e
[]
no_license
brodanielx/foidatasuite
86dfbb30c0ab8339860bfe80f3cb507e79c0f58c
6ee5ab985e62af6eddf4f1219aa8a3661e745b62
refs/heads/master
2022-12-11T01:57:16.407929
2020-09-08T12:34:18
2020-09-08T12:34:18
254,344,525
0
0
null
null
null
null
UTF-8
Python
false
false
2,776
py
import pandas as pd import random import string from django.contrib.auth.models import User from .models import Profile from foidata.data.data import FOIData class UserUtils: def __init__(self): self.data = FOIData() def create_or_update(self): self.roster = self.data.roster ...
[ "bro.danielx@gmail.com" ]
bro.danielx@gmail.com
41eb20af7b951785f6b081f2505c64455c80e8e6
2a3dd37d150ca6dd0bbf1b1915bf9141527f6643
/pyircbot/modules/DCC.py
bb01dcdab2bef1ea0d8e42d1835806f21b1eb67d
[]
no_license
dpedu/pyircbot
17a13bdb43dd86e150f42fd1fe19a9612765a3ba
13ea0fe52fd5c41e2f947be17ef19e3d0b62f72f
refs/heads/master
2021-06-13T09:38:21.845096
2021-03-04T21:12:12
2021-03-04T21:12:12
141,069,697
0
2
null
2021-03-04T21:12:12
2018-07-16T00:56:28
Python
UTF-8
Python
false
false
5,456
py
""" .. module:: DCC :synopsis: Module providing support for IRC's dcc protocol .. moduleauthor:: Dave Pedu <dave@davepedu.com> """ import os from pyircbot.modulebase import ModuleBase import socket from threading import Thread from random import randint from time import sleep BUFFSIZE = 8192 class TransferFa...
[ "dave@davepedu.com" ]
dave@davepedu.com
0a738c3349324ee6b41daae6d171fc4fd442ef42
0a6309d2aa2dd577fe5a1aed8e6ebf2b01c670a2
/0x0F-python-object_relational_mapping/5-filter_cities.py
f2c23fbb44de055e0fd86790118ac104232de653
[]
no_license
arleybri18/holbertonschool-higher_level_programming
74675ce64801c72fc96318fc568b040b9f4b761e
2f0b9a7f462595f67de12d4c3880375e87552357
refs/heads/master
2020-05-18T02:22:10.969677
2019-09-26T20:32:27
2019-09-26T20:32:27
184,113,244
1
1
null
null
null
null
UTF-8
Python
false
false
713
py
#!/usr/bin/python3 """ This script return cities and states """ if __name__ == '__main__': import MySQLdb from sys import argv db = MySQLdb.connect(host="localhost", port=3306, user=argv[1], passwd=argv[2], d...
[ "arleybri18@gmail.com" ]
arleybri18@gmail.com
b55aa38b6aeafae6ab84550e4f4d05cf5ecb48e9
57eb44ce1d84aca3580e28688cf645db483d0d03
/plots/model_explorer/plotters/bar_plot/date_distribution/configuration.py
ad5343c47a19a4f6849a1e464300eac6c366a6f2
[ "Apache-2.0" ]
permissive
TheLabbingProject/pylabber
cbfd7a6663d56f779dde96bd6e0281f5c8f06393
4b51065f457ab86ed311f222080187caf1979fea
refs/heads/master
2023-04-08T05:29:08.356479
2023-03-29T09:06:11
2023-03-29T09:06:11
205,411,164
5
3
Apache-2.0
2023-03-29T09:06:13
2019-08-30T15:40:47
Python
UTF-8
Python
false
false
1,659
py
from bokeh.layouts import column from bokeh.models import ColorPicker, Div, RadioButtonGroup from functools import partial from plots.model_explorer.plotters.bar_plot.configuration import BarPlotConfigration from plots.model_explorer.plotters.bar_plot.date_distribution.time_bins import TimeBins class DateDistribution...
[ "z.baratz@gmail.com" ]
z.baratz@gmail.com
7a361d1adf99fae459b1da2f52cd47a77019879f
c5b9f0fabffb6b2d13c6e350c8187a922709ac60
/build/pal_behaviour_msgs/catkin_generated/pkg.develspace.context.pc.py
6f9cd8175d514a31c32fd406360b8c85f26e133b
[]
no_license
MohamedEhabHafez/Sorting_Aruco_Markers
cae079fdce4a14561f5e092051771d299b06e789
0f820921c9f42b39867565441ed6ea108663ef6c
refs/heads/master
2020-12-09T02:43:00.731223
2020-01-15T17:31:29
2020-01-15T17:31:29
233,154,293
0
0
null
2020-10-13T18:46:44
2020-01-11T00:41:38
Makefile
UTF-8
Python
false
false
598
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/mohamed/tiago_public_ws/devel/.private/pal_behaviour_msgs/include".split(';') if "/home/mohamed/tiago_public_ws/devel/.private/pal_behaviour_msgs/include" != "" else [] PROJECT_CATKIN_DEPENDS = "...
[ "mohamed@radiirobotics.com" ]
mohamed@radiirobotics.com
877377666b0e187e0c2651818c61dbb37457cf93
27e890f900bd4bfb2e66f4eab85bc381cf4d5d3f
/plugins/lookup/consul_kv.py
c38e7bf7125ed4ca8fbb3fd8c1caa1a023f840b3
[]
no_license
coll-test/notstdlib.moveitallout
eb33a560070bbded5032385d0aea2f3cf60e690b
0987f099b783c6cf977db9233e1c3d9efcbcb3c7
refs/heads/master
2020-12-19T22:28:33.369557
2020-01-23T18:51:26
2020-01-23T18:51:26
235,865,139
0
0
null
null
null
null
UTF-8
Python
false
false
6,712
py
# (c) 2015, Steve Gargan <steve.gargan@gmail.com> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
[ "wk@sydorenko.org.ua" ]
wk@sydorenko.org.ua
9a902b4125b04a3bd948e287ab07dfd3cb806616
5e381364c2ab31ff3618369085afffba6caa8edb
/recipes/libgpiod/all/conanfile.py
db1d1a01710835418891263138eb1d28aea2198b
[ "MIT" ]
permissive
CAMOBAP/conan-center-index
16aea68a6d22da22831ba985773125e8eda08f00
67d57532bdad549fef3fa6cb8fcdfa86bc55e4f1
refs/heads/master
2023-07-30T08:58:57.285571
2021-10-02T14:57:54
2021-10-02T14:57:54
323,262,699
1
0
MIT
2021-05-29T13:37:04
2020-12-21T07:30:02
Python
UTF-8
Python
false
false
3,349
py
from conans import ConanFile, tools, AutoToolsBuildEnvironment from conans.errors import ConanInvalidConfiguration import os required_conan_version = ">=1.33.0" class LibgpiodConan(ConanFile): name = "libgpiod" url = "https://github.com/conan-io/conan-center-index" homepage = "https://git.kernel.org/pub/s...
[ "noreply@github.com" ]
CAMOBAP.noreply@github.com
e20b16e57e9aa44e69a14efd8227487613b32c35
bb3ab1d635a1696bb8cb81c672d06747d9a521a6
/test/functional/rpc_help.py
6c7126e7e75d42fc5c4a85c81eb2b201fd9eb441
[ "MIT" ]
permissive
dogxteam/dogxwallet-master
55ab22aa37c7ce131a06151958743acb1f3e12af
346189354bdec9a80c20bdc429ddec15c3b17b73
refs/heads/master
2020-04-28T23:42:38.257585
2019-03-14T17:19:07
2019-03-14T17:19:07
175,666,685
5
0
null
null
null
null
UTF-8
Python
false
false
1,921
py
#!/usr/bin/env python3 # Copyright (c) 2018 The dogxcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPC help output.""" from test_framework.test_framework import dogxcoinTestFramework from test_framewo...
[ "alizha@tom.com" ]
alizha@tom.com
3a43e4c3b9fb6d730d001ad0ffaf6d1e120b3db1
cd49a02f2cd3b5fbce7afb035eaf82d613b6d1ca
/devel/lib/python3/dist-packages/franka_gripper/msg/_GraspActionGoal.py
4bfb340942d854f8f6b6181ab73c7e19b5a529d7
[]
no_license
robwoidi/ws_ur10e_hand
f7f1f00f61e0378e893469b3574bc13c72b8beb1
96d49c2a925309e478d937bb84c417cf6a3f9f7d
refs/heads/master
2023-08-20T14:56:04.057416
2021-10-28T08:35:58
2021-10-28T08:35:58
397,485,530
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
/home/woidi/ws_ur10e_hand/devel/.private/franka_gripper/lib/python3/dist-packages/franka_gripper/msg/_GraspActionGoal.py
[ "woidi@t-online.de" ]
woidi@t-online.de
8be304163c504a477830cf9789a1f3a87f80b7fc
dfc3232256294e740d2d2eabf24d4390d99bf7c3
/basic_app/views.py
84e62fbdbc72b87744fce7df7e69f7034dbe2636
[]
no_license
pritamSarkar123/django2020-PracOne
0158867ba0fa16acdf3acf5799b87cfad47662a1
6075939371aa353ae9db2c07e9d1061a8bd629a7
refs/heads/master
2022-07-12T15:34:26.080300
2020-05-14T18:32:54
2020-05-14T18:32:54
263,191,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
from django.shortcuts import render from . forms import UserProfileInfoForm, UserForm # Create your views here. def index(request): return render(request, 'basic_app/index.html') def login(request): pass def register(request): registered = False # still not registered if request.method == 'POST'...
[ "pritamsarkar84208220@gmail.com" ]
pritamsarkar84208220@gmail.com
3ce812d39b7566be6bfeeb56bcb099674c4f6e92
7385c450eca8be719ba45686db698b747e01cd91
/examples/ad_manager/v201905/user_service/deactivate_users.py
099e00a0b9aed6cbca48c385661ef364fe509473
[ "Apache-2.0" ]
permissive
tanmaykhattar/googleads-python-lib
44f15b9f6a0c2a3da7f19c17133b5fba842daf07
81742dc3571c9413196cfceb57f761c79db6857a
refs/heads/master
2020-06-01T16:06:05.797538
2019-05-22T14:57:29
2019-05-22T14:57:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,245
py
#!/usr/bin/env python # # Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "davidwihl@users.noreply.github.com" ]
davidwihl@users.noreply.github.com
424b2810e1adb62e9cbfdcf2a7a3660861ea1941
85fc330022d04f4c2ec3da82d169f38a4f6badf4
/setup.py
a6bb87df6b36bc3da2e9799e8f2ddbafb97e0eaf
[]
no_license
richardliaw/sospescher
3ad8c93d4348339d9e8ec75f7e47b1e9b65e1fde
359e2f35681ea047dcdec9c5737f5719177f563b
refs/heads/master
2020-05-16T15:04:29.178998
2019-04-25T00:00:01
2019-04-25T00:00:01
183,121,686
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
from setuptools import setup setup( name='escher', version='0.1dev', packages=['escher',] )
[ "rliaw@berkeley.edu" ]
rliaw@berkeley.edu
6ff849f533bab517e0957bcbed0ee59fad455e3a
7326300e7888435dd374250a7573e6a3e1be1794
/setup.py
9d4cfc28fa60266faae98fc23116b0fb04e1aff6
[ "BSD-3-Clause", "MIT" ]
permissive
lietu/wsps-python
8ac67a4622e4b1be147e84512364ca89f988200d
782146880bd47c3d96b2550e48cceeffcb9c2c2e
refs/heads/master
2021-07-12T16:03:57.392071
2021-06-20T08:41:55
2021-06-20T08:41:55
35,605,582
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
from distutils.core import setup from pip.req import parse_requirements requirements = [ str(entry.req) for entry in parse_requirements("requirements.txt") ] setup( name='wsps', packages=['wsps'], version='1.0.0', description='Python client library for WSPS server', author='Janne Enberg', ...
[ "janne.enberg@lietu.net" ]
janne.enberg@lietu.net
acb4f7daac08b9e44485592e750791c9c3cedbeb
8cb7f23145d944ad48d7894dcbf9786e9f5eb90f
/venv/lib/python3.9/site-packages/hio-0.1.2-py3.9.egg/hio/core/serial/__init__.py
07e4890bc758d5013106a02ec5b0b4b968cd78d5
[ "MIT" ]
permissive
ryanwwest/kademlia
a10adf3baa7dea0abb61ed21ae790bdfeaeda948
e1e5b84db0a7710cf372663325041850802d55f1
refs/heads/master
2023-05-09T19:24:52.252673
2021-06-03T15:29:16
2021-06-03T15:29:16
313,499,863
3
0
MIT
2020-12-09T05:50:46
2020-11-17T03:47:00
null
UTF-8
Python
false
false
58
py
# -*- encoding: utf-8 -*- """ hio.core.serial Package """
[ "rwest@qualtrics.com" ]
rwest@qualtrics.com
17835928e3b930371bb7d6ad88507962c20101f0
821687f9f0f523a1deea879f1bc4b866b489857f
/interaction3/cli.py
ff57e09ccd1f2aa6fa7988f2197101e67f277915
[ "MIT" ]
permissive
bdshieh/interaction3
1426254e1153ad75fde828e7fee0905ced0a2566
b44c390045cf3b594125e90d2f2f4f617bc2433b
refs/heads/master
2021-05-09T13:00:49.681525
2020-07-08T14:41:09
2020-07-08T14:41:09
119,022,280
3
0
null
null
null
null
UTF-8
Python
false
false
1,408
py
## interaction3 / cli.py import argparse import interaction3.bem.scripts import interaction3.mfield.scripts bem_scripts = {} bem_scripts['t-crosstalk'] = interaction3.bem.scripts.simulate_transmit_crosstalk bem_scripts['r-crosstalk'] = interaction3.bem.scripts.simulate_receive_crosstalk bem_scripts['build-orders-db'...
[ "bsauce@gmail.com" ]
bsauce@gmail.com
8c2a9ca981026afbb3ed01666198c967722c8fd6
7b76e80f2057d78a721373e8818e153eecebe8f0
/Examples/ev1.py
7d661238bcdd22c777dc6495cae6820446b961cb
[]
no_license
dev-area/Python
c744cf6eb416a74a70ad55d2bcfa8a6166adc45d
1421a1f154fe314453d2da8b0fafae79aa5086a6
refs/heads/master
2023-02-01T10:37:47.796198
2020-10-15T19:33:49
2020-10-15T19:33:49
86,337,870
35
44
null
2023-01-12T09:02:59
2017-03-27T13:20:49
Jupyter Notebook
UTF-8
Python
false
false
1,168
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 18 01:08:50 2015 @author: liran """ import numpy as np import matplotlib.pyplot as plt N = 5 menMeans = (20, 35, 30, 35, 27) menStd = (2, 3, 4, 1, 2) ind = np.arange(N) # the x locations for the groups width = 0.35 # the width of the bars fig, ax = plt.subplo...
[ "liranbh@gmail.com" ]
liranbh@gmail.com
f99c455fe294a2c29567b235098b104ac61644f8
1f51c4e89a71ea3fcc2cc921613aacc19e078b69
/12_Intermediate Data Visualization with Seaborn/02_Customizing Seaborn Plots/02_Comparing styles.py
b0a035357655de5933a5af2ad05b2de639a0f090
[ "MIT" ]
permissive
CodeHemP/CAREER-TRACK-Data-Scientist-with-Python
871bafbd21c4e754beba31505965572dd8457adc
13ebb10cf9083343056d5b782957241de1d595f9
refs/heads/main
2023-03-26T08:43:37.054410
2021-03-22T15:08:12
2021-03-22T15:08:12
471,015,287
1
0
MIT
2022-03-17T13:52:32
2022-03-17T13:52:31
null
UTF-8
Python
false
false
643
py
''' 02 - Comparing styles Seaborn supports setting different styles that can control the aesthetics of the final plot. In this exercise, you will plot the same data in two different styles in order to see how the styles change the output. Instructions 1/2 - Create a distplot() of the fmr_2 column in df using a 'da...
[ "ifaizymohd@gmail.com" ]
ifaizymohd@gmail.com
813c427562de14035661bccacb522817f608ea31
d247a30f42a26476f8005b0f963880df6ca568b9
/4.py
7458a177cb3988d4c433fa5e94c8dbe9b8e228d1
[]
no_license
hurtadojara/AirBnB_clone_v2
824689cf440a1717178c6562e06562dc55d1fa69
9ca6fd3e61bcdb38bb4e3d2bedbc5026e62c2534
refs/heads/master
2023-02-18T20:58:49.166959
2021-01-21T04:46:02
2021-01-21T04:46:02
321,381,842
0
0
null
2020-12-16T00:38:40
2020-12-14T14:57:40
HTML
UTF-8
Python
false
false
2,626
py
#!/usr/bin/python3 """ Fabric script that distributes an archive to web servers """ from fabric.api import * from fabric.operations import put, run, sudo import os from fabric.api import run, local, sudo, env from datetime import datetime dt = datetime.now() env.hosts = ['35.237.118.171', '35.237.236.118'] env.user ...
[ "andreshurtadojaramillo@gmail.com" ]
andreshurtadojaramillo@gmail.com
c75befccf0a71431a43b7b0548261388ce48988d
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit1922.py
41b4d478181709e482e2313f7435b41cda296cb4
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,626
py
# qubit number=5 # total number=63 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2,floor, sqrt, pi import numpy as np import networkx as ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
0e8548ada59f62ec926c7d0af635680d2de0bb83
3227285b8463b7d7ff7588f38829184d1d0d96cd
/icare/core/endpoints.py
589e98bd16972b1638de0a127302d783b1bbe412
[]
no_license
IpoLa/icare
40592f657ea44340ffe2e5a71d48860d8c9692ad
d3d894f88290c6afcabfde95ae49647254c461d0
refs/heads/master
2023-04-02T16:41:39.803276
2021-04-10T12:25:01
2021-04-10T12:25:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,631
py
"""API Endpoints For Tasks, Lists, and Folders""" import logging import sys import time import datetime from rest_framework.generics import ListAPIView, RetrieveAPIView from rest_framework.permissions import IsAuthenticated from rest_framework.views import APIView from rest_framework.response import Response from . ...
[ "ahmed@shahwan.me" ]
ahmed@shahwan.me
b7438ab13396c7815765ea2582297ccd1491dc3e
b1080fd7844e104522e73ca1a6790f1a578df967
/spider/html_parser.py
8bae02a0878472a5973c36a2a6129f83af0ec2c8
[]
no_license
sundawei2018/simple-web-crawler
5b8286fa39a4451608d16d151a2220c10d838aa4
e064adf97d8ecf43af3018bfc75c485e48c5278b
refs/heads/master
2021-01-22T11:33:05.356977
2017-09-27T19:10:45
2017-09-27T19:10:45
92,710,904
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
''' Created on May 29, 2017 @author: Dave ''' from bs4 import BeautifulSoup import re import urlparse class HtmlParser(object): def _get_new_urls(self, page_url, soup): new_urls = set() # // /view/123.htm <a href="/wiki/Measuring_programming_language_popularity" title="Measuring programm...
[ "you@example.com" ]
you@example.com
49ca64f6aee83b654332480f509e7a652fc79033
b05761d771bb5a85d39d370c649567c1ff3eb089
/venv/lib/python3.10/site-packages/jedi/third_party/typeshed/stdlib/3/re.pyi
179fd6dd7df74acaca22cf81f210fcaa9b9c74d5
[]
no_license
JawshyJ/Coding_Practice
88c49cab955eab04609ec1003b6b8c20f103fc06
eb6b229d41aa49b1545af2120e6bee8e982adb41
refs/heads/master
2023-02-19T10:18:04.818542
2023-02-06T21:22:58
2023-02-06T21:22:58
247,788,631
4
0
null
null
null
null
UTF-8
Python
false
false
96
pyi
/home/runner/.cache/pip/pool/13/5c/0f/9375bb329fb45526adcc4975591d39f325d68726aefaf25f16caf83afa
[ "37465112+JawshyJ@users.noreply.github.com" ]
37465112+JawshyJ@users.noreply.github.com
95bb0f4a76ab7b372f792b8f38730e4f9b750a89
96e77a734bf865f998e719fafcaabd120b93759c
/Python/Django/upload_proj/upload_proj/urls.py
590b4c8dd4fd30d3bad99fd71d00afaef17605cb
[]
no_license
imronha/codingdojoprojects
3346feca1c03f625270eeded2cfb6a9b0249ab56
1b40688372844eca3fd02401f397c4ba4b334ce7
refs/heads/master
2020-04-05T12:59:14.237411
2017-11-06T08:27:06
2017-11-06T08:27:06
94,944,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
"""upload_proj URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "imronha@gmail.com" ]
imronha@gmail.com
00217f082f757a0fe2f66ce46a6667c4c27cdde2
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/classification/VOLO/timm/models/layers/norm_act.py
e4cfadceba41b78d282416d9b4e949fded34f124
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LicenseRef-scancode-proprietary-license" ]
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
5,627
py
""" BSD 3-Clause License Copyright (c) Soumith Chintala 2016, 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 of con...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
a9b9dc8b26570b265d6c7cfafb8279ee6667ae18
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03786/s330433957.py
3eaecf5a185424a9d32de2dcb05108a486f348d9
[]
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
183
py
N = int(input()) A = list(map(int, input().split())) A.sort() ans = 1 for i in range(1, N): if A[i] > A[i - 1] * 2: ans = 1 else: ans += 1 A[i] += A[i - 1] print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
af4faf665997165566395bc98e79bd4d2b4a92d5
caaf04a58abe96563df1dbc88abe8594047fded9
/easy/problem_897_increasing_order_search_tree.py
962c3c353990ab9ebdee1a80a0fb89acac8892aa
[]
no_license
EricMontague/Leetcode-Solutions
f1b09781b0afd60c79d55f65fe0552c80a928ac7
fd1e40ace51fe2a3cc6dadb3fe5872c7fa149188
refs/heads/master
2021-01-09T20:00:15.580735
2020-12-14T22:24:24
2020-12-14T22:24:24
242,441,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
"""This file contains my solutions for Leetcode problem 897: Increasing Order Search Tree. """ # Recursive Solution # time complexity: O(n), where 'n' is the number of nodes # space complexity: O(h), where 'h' is the height of the tree class Solution: def increasingBST(self, root: TreeNode) -> TreeNode: ...
[ "eric.g.montague@gmail.com" ]
eric.g.montague@gmail.com
171b0832805242d9b1cf780276678c867032d059
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_20/models/volume_group.py
57b238464e1886e5047093e4b1a5baea380fdb03
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
6,060
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.20 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
182c0906a91a5e9b134f3f40fa970298ee44e88b
4dc927b64f02d305bc1c49ca8528258fd1f0ee0f
/mergify_engine/tests/functional/actions/test_close.py
e7c2d2ba2ea409770ded0ed0380b90fe331932be
[ "Apache-2.0" ]
permissive
okurz/mergify-engine
cccb1198fe5a2d46602f96db92fcc6a737ce5991
377de815a58408f97ddb8c917507a0a997276e5f
refs/heads/master
2022-11-09T06:35:50.800478
2020-06-25T13:18:40
2020-06-25T16:25:21
275,147,323
0
0
Apache-2.0
2020-06-26T12:09:30
2020-06-26T12:09:29
null
UTF-8
Python
false
false
3,330
py
# -*- encoding: utf-8 -*- # # Copyright © 2020 Mergify SAS # # 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 applicabl...
[ "37929162+mergify[bot]@users.noreply.github.com" ]
37929162+mergify[bot]@users.noreply.github.com
c0ff330448d02c9c7b04771303a6c644b2223736
528def9844f2ce13e6a358938b0b560945ab2248
/vc/migrations/0013_vcbindfilter_afi.py
5dcaa794a39a603e26ecd734e9250503bad8d48a
[ "BSD-3-Clause" ]
permissive
skripkar/noc
055afbd42ab4c447d05d2cde0a822916f9e0844e
df193b99e478fe39157c8d27ff4098262d9cb734
refs/heads/master
2020-04-10T12:53:09.602779
2018-12-08T07:50:30
2018-12-08T07:50:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
# encoding: utf-8 import datetime from south.db import db from django.db import models class Migration: def forwards(self): db.add_column("vc_vcbindfilter","afi",models.CharField("Address Family",max_length=1,choices=[("4","IPv4"),("6","IPv6")],default="4")) def backwards(self): db.delete_col...
[ "dvolodin7@gmail.com" ]
dvolodin7@gmail.com
ca4dabcf067a7aa55aa9decd5fb8b930e9b877b2
03708e4eb8cfd79b45956f930bb50c1f54383bef
/lbdrabbit/example/cf.py
8729d0ac73093d564912f707c0fffd6d0a8c84ba
[ "MIT" ]
permissive
MacHu-GWU/lbdrabbit-project
3d55e194328391f67c2c12c40b7762c18a2647ac
e808f116bc85d95f3d545e085bede56df41b6d92
refs/heads/master
2020-08-02T02:21:46.634030
2019-10-07T11:39:57
2019-10-07T11:39:57
211,206,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
# -*- coding: utf-8 -*- import troposphere_mate as tm from troposphere_mate import apigateway, awslambda, iam from troposphere_mate.canned.iam import AWSManagedPolicyArn, AWSServiceName, create_assume_role_policy_document from .app_config_init import app_config template = tm.Template() param_env_name = tm.Parameter...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
d6aaeb64cdcd1c25cf305328848856088316c5c6
0b279c246179bc6a76ad17f055ad1dce3402b045
/private_production/polarization/2016/crab_TT_NANOAODSIM.py
35cd0bc40abfe2728710280b82a9dd7f83514f77
[]
no_license
UniMiBAnalyses/CMSSWGeneration
a55e6ad840e4f7f9fae6b46a4bb939a288492f10
a7acf1a780eeb30e14616fef90ccf389e4367668
refs/heads/master
2023-09-01T02:01:44.746469
2022-01-31T11:01:29
2022-01-31T11:01:29
212,852,677
0
2
null
2022-06-16T15:23:25
2019-10-04T15:57:27
Python
UTF-8
Python
false
false
840
py
from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = config() config.General.requestName = 'VBS_SSWW_TT_NANOAODSIM' config.General.workArea = 'crab_projects' config.General.transferOutputs = True config.General.transferLogs = False config.JobType.pluginName = 'Analysis' config.JobType.psetName ...
[ "jiexiao@pku.edu.cn" ]
jiexiao@pku.edu.cn
34e1d19f762f7b38df5d8ddbe4a3c6f5668b4c97
762cbba14c80f4dd09fa6e5915e094825eef1cae
/Next Closest Time.py
b4d43d39560330f3dcdda1ade0c4185c1599eed3
[]
no_license
arnabs542/Leetcode-18
1faff2564b4a5bb970308187a0b71553fd85a250
02d31ab3363c92e8fdde15100bf4a3cbcd43ecd0
refs/heads/master
2022-07-26T12:18:38.834287
2020-05-19T05:40:48
2020-05-19T05:40:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,477
py
class Solution(object): # simulation solution def nextClosestTime(self, time): numset = set([int(n) for n in time if n != ":"]) time1 = 60 * int(time[:2]) + int(time[3:]) diff1 = float('Inf') res1 = [] diff2 = float('-Inf') res2 = [] for i in xrange(...
[ "noreply@github.com" ]
arnabs542.noreply@github.com
de2531861888797edae303a7c6ca68a14e6cda7e
b0f2c47881f39ceb5a989b9638483f7439bfb5cf
/Problem97.py
e28710e8fb7345b56508cc218cffe29750746285
[]
no_license
chrisvail/Project_Euler
9ba264c8ec9d158b33ec677811e59d1e0e52fef2
41623c27b3e1344f9d8ebdfac4df297d0666cc07
refs/heads/main
2023-02-13T20:26:42.752780
2021-01-15T16:38:27
2021-01-15T16:38:27
329,964,440
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
number = 28433 for _ in range(7830457): number *= 2 number %= 10000000000 number += 1 print(number)
[ "noreply@github.com" ]
chrisvail.noreply@github.com
942256d842444dcc83953a2e252eb27dfde6bb98
8749ef627476524710332113796203986f88698c
/migrations/versions/3409ef865171_.py
4481369a50a1eee247bd2230280223fde1fb86eb
[]
no_license
JessicaFeng0926/easy_chinese
aff0276591c53e30568819425729117e6afd0fa4
7376612c904f9eaaea022e6b36711f2d4ba1e0f9
refs/heads/master
2020-07-07T13:06:05.180880
2020-04-04T09:29:01
2020-04-04T09:29:01
203,356,569
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
"""empty message Revision ID: 3409ef865171 Revises: 662819aaef6f Create Date: 2019-08-28 12:43:02.439715 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '3409ef865171' down_revision = '662819aaef6f' branch_labels = None depends_on = None def upgrade(): # ...
[ "hasayake.hi@163.com" ]
hasayake.hi@163.com
b2bdcf1ed19a6f51534c7726ae1fd59e9efe803b
86aa542ba1b2d7f10c50929feaaf8eb7a2059a9c
/treecorr/kkcorrelation.py
73af03ebd4b66f634e8b931f9448b98930fe2060
[ "BSD-2-Clause", "BSD-2-Clause-Views" ]
permissive
kilianbreathnach/TreeCorr
803ee4c7cafae6c229fc0c132ef0b4c62b697f57
41c782775d22eb85f943faded322fa14a44768a4
refs/heads/master
2021-01-16T17:43:37.295791
2015-10-21T13:31:14
2015-10-21T15:14:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,085
py
# Copyright (c) 2003-2015 by Mike Jarvis # # TreeCorr is free software: redistribution and use in source and binary forms, # with or without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of condi...
[ "michael@jarvis.net" ]
michael@jarvis.net
5293b36f206110d464f4ca838fa7203a29b71e61
29345337bf86edc938f3b5652702d551bfc3f11a
/python/src/main/python/pyalink/alink/tests/examples/operator/stream/test_bisecting_kmeans.py
e15839936daa9cca860d9de6d031c9707d1afc45
[ "Apache-2.0" ]
permissive
vacaly/Alink
32b71ac4572ae3509d343e3d1ff31a4da2321b6d
edb543ee05260a1dd314b11384d918fa1622d9c1
refs/heads/master
2023-07-21T03:29:07.612507
2023-07-12T12:41:31
2023-07-12T12:41:31
283,079,072
0
0
Apache-2.0
2020-07-28T02:46:14
2020-07-28T02:46:13
null
UTF-8
Python
false
false
1,174
py
import unittest from pyalink.alink import * class TestPinjiu(unittest.TestCase): def test_bisecting_kmeans_op(self): import numpy as np import pandas as pd data = np.array([ [0, "0 0 0"], [1, "0.1,0.1,0.1"], [2, "0.2,0.2,0.2"], [3, "9 9 9"]...
[ "shaomeng.wang.w@gmail.com" ]
shaomeng.wang.w@gmail.com
c62eb787de5a33b3e6dcf5db50bf08a5da118224
d9fd9c6329461235f140393f1e934362d0f645df
/Unidad 2/Ejercicios Clases/Ejercicio3.py
eee26e68253b66b262b7d35e0640a0a53952a22d
[ "MIT" ]
permissive
angelxehg/utzac-python
e6b5ee988d1d76c549ab0fa49717eb042fa7d91f
fb88bcc661518bb35c08a102a67c20d0659f71db
refs/heads/main
2022-12-02T11:16:27.134741
2020-08-14T19:38:33
2020-08-14T19:38:33
265,944,612
0
0
MIT
2020-08-07T21:23:53
2020-05-21T20:25:24
Python
UTF-8
Python
false
false
637
py
class Numbers(): def __init__(self, num1, num2): self.__num1 = num1 self.__num2 = num2 def added(self): return self.__num1 + self.__num2 def subtracted(self): return self.__num1 - self.__num2 def multiplied(self): return self.__num1 * self.__num2 def divi...
[ "50889225+angelxehg@users.noreply.github.com" ]
50889225+angelxehg@users.noreply.github.com
9a6cc23150389ebdceaa879d64298db70559424b
d93fe0484fc3b32c8fd9b33cc66cfd636a148ec4
/Argorithm/python/DP/LIS.py
69eb80e13fbcae5347af1b90aaabdee9354da92d
[]
no_license
wattaihei/ProgrammingContest
0d34f42f60fa6693e04c933c978527ffaddceda7
c26de8d42790651aaee56df0956e0b206d1cceb4
refs/heads/master
2023-04-22T19:43:43.394907
2021-05-02T13:05:21
2021-05-02T13:05:21
264,400,706
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
# 蟻本p64より # O(NlogN)で最長増加部分列のながさを出す from bisect import bisect_left # 二部探索 N = int(input()) # 主列のながさ A = list(map(int, input().split())) INF = max(A) + 1 # どれよりも大きい数を用意(dpを単調増加にするため) dp = [INF for _ in range(N)] # dp[i]=長さi+1であるような増加部分列における最終要素の最小値 for a in A: k = bisect_left(dp, a) # すでに入っているものに対してできる限り長くなるような...
[ "wattaihei.rapyuta@gmail.com" ]
wattaihei.rapyuta@gmail.com
f19f67455a569d258db27797345120ca40646626
a24aeb511c8e0879538e25c7d9937123cacd9c13
/sra.py
97709be8cd6ccf4dd8e28a1aee83b4fd921bbd2f
[]
no_license
nspies/bioutils
5fa7bd2d438dd2c742d2ebe7e437ac59710913d5
212b734e1507c411a2d3c929ae66e608ec554314
refs/heads/master
2021-01-10T05:49:09.350308
2015-05-22T22:11:16
2015-05-22T22:11:16
36,097,348
0
0
null
null
null
null
UTF-8
Python
false
false
12,181
py
import bz2 import gzip import multiprocessing import os import pandas import shutil import subprocess import sys import time import xml.etree.ElementTree as etree pandas.options.display.width=250 """ Study Experiment Run (Sample) """ def splitFastqStream(stream, f1, f2): for i, line in enumerate(stream): ...
[ "nspies@stanford.edu" ]
nspies@stanford.edu
b476a93366227bd6b2a335a269a6708ff64d5eed
e1d53e786ad70a9ecfa22f7d38f640456c407f7c
/RecHitAnalysis/test/validationNtuple_cfg.py
99c768be73a431d732f1182e3833a0e050e88b38
[]
no_license
hcwhwang/macro
feb01ed335e2d2fd3e1de85ca9c441d23c442320
261451e2606765cf2c52c7e848bf55b0f55bf21e
refs/heads/master
2021-01-10T11:37:03.967663
2016-01-27T22:39:48
2016-01-27T22:39:48
50,543,095
0
0
null
null
null
null
UTF-8
Python
false
false
2,488
py
import FWCore.ParameterSet.Config as cms process = cms.Process("RPCRecHitValidation") ### standard includes process.load("FWCore.MessageService.MessageLogger_cfi") process.load("Configuration.EventContent.EventContent_cff") process.load("Configuration.StandardSequences.Services_cff") process.load("Configuration.Stand...
[ "jhgoh@cern.ch" ]
jhgoh@cern.ch
1a2d329395a42874f6ea1e29ea0f80bcea02959f
1252a8d08fb5d21cac64e02369ada8c43c18eee1
/integration_tests/samples/basic_usage/rate_limits.py
e0d947cbf779ad9fbb8eaabffc11a6bfb8a9d7d7
[ "MIT" ]
permissive
qause/python-slack-sdk
6d9d41bca7f8cf86cd30089105c98740528ca9a6
61f098311adbd6d2904f51541cf5d8bf42c83168
refs/heads/main
2023-07-27T08:13:15.061105
2021-09-12T23:35:08
2021-09-12T23:35:08
405,300,786
2
1
MIT
2021-09-12T23:35:09
2021-09-11T06:18:20
null
UTF-8
Python
false
false
1,122
py
import logging logging.basicConfig(level=logging.DEBUG) # export SLACK_API_TOKEN=xoxb-*** # python3 integration_tests/samples/basic_usage/rate_limits.py import os import time from slack_sdk.web import WebClient from slack_sdk.errors import SlackApiError client = WebClient(token=os.environ["SLACK_API_TOKEN"]) # Si...
[ "seratch@gmail.com" ]
seratch@gmail.com
7329bd6109cf6e48733830884ffbb3417c689ab5
de95e9ace929f6279f5364260630e4bf7a658c1c
/eachFunction.py
ee6c29b3108100f2c9fd3f792773edca3e000cd5
[]
no_license
ludwigwittgenstein2/Algorithms-Python
ceaf0739b8582f7bd749a9b3f52f283765044744
c5bed8b2e398c218d1f36e72b05a3f5545cf783a
refs/heads/master
2021-06-19T11:40:31.012268
2017-07-02T04:59:20
2017-07-02T04:59:20
75,953,711
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
#!/bin/Python # timing 7 different Python sorting algorithms with a list of integers # each function is given the same list (fresh copy each time) # tested with Python24 vegaseat 21jan2006 import random # for generating random numbers import time # for timing each sort function with time.clock() DEBUG = ...
[ "penpals.oranges14@gmail.com" ]
penpals.oranges14@gmail.com
be8e4caefa4443f42a959e72f6042da3658a3c2e
de33d07019f4be4439de4f07585a0906215ef562
/剑指Offer 65. 不用加减乘除做加法.py
74360ca3d2729bf88f6eafeb69b654efc708d908
[]
no_license
Qinpeng96/leetcode
defbf7873fc07ed42fd34bb0c3e3282ff41ed266
e1dfd95c5bf09ffcd42934c1aca21a10337c3e7e
refs/heads/master
2021-07-13T10:53:32.109431
2020-08-19T09:33:36
2020-08-19T09:33:36
196,947,703
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
""" [剑指 Offer 65. 不用加减乘除做加法](https://leetcode-cn.com/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof/) 写一个函数,求两个整数之和,要求在函数体内不得使用 “+”、“-”、“*”、“/” 四则运算符号。 示例: 输入: a = 1, b = 1 输出: 2 提示: a, b 均可能是负数或 0 结果不会溢出 32 位整数 *** 在使用位运算计算数值的时候,注意有可能有负值参与计算,看[大佬的解释](https://leetcode-cn.com/problems/bu-yong-jia-jian-chen...
[ "Qinpeng96@users.noreply.github.com" ]
Qinpeng96@users.noreply.github.com
ef7a2c0953da342a2aa5615bf0728b055ce4ca83
2fd4de2f0820f186c735f0619bce2a0318bbfc38
/appzoo/utils/log/__init__.py
a70361c3e3b8431100d15650b5da10d40acb287d
[ "MIT" ]
permissive
SunYanCN/AppZoo
e90b778fefdaf1a440c3fd40d078b5396e4e3f06
91b04cc75fcc5f70ae5819e98233ea9146c1f001
refs/heads/master
2023-08-22T05:41:22.175291
2021-10-12T13:37:21
2021-10-12T13:37:21
359,024,301
0
0
MIT
2021-09-05T12:24:47
2021-04-18T02:12:40
Python
UTF-8
Python
false
false
504
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Project : tql-App. # @File : __init__.py # @Time : 2019-12-10 17:24 # @Author : yuanjie # @Email : yuanjie@xiaomi.com # @Software : PyCharm # @Description : from loguru import logger trace = logger.add('runtime_{time}.log', rota...
[ "313303303@qq.com" ]
313303303@qq.com
90c6ef60f816c6a1349f4d73159c4ae948447b06
14afcc5e2b8bdb3d91b500f6e7985d8a3378e929
/src/344.反转字符串.py
f3629f9c7014601a392eb49ac34f20c25e72ca6c
[]
no_license
hysapphire/leetcode-python
8569a0e76f8917165e6b9fb25bfef1afc1186e3c
8e338ee7a5c9f124e897491d6a1f4bcd1d1a6270
refs/heads/master
2022-12-03T15:17:52.557115
2020-08-17T14:19:59
2020-08-17T14:19:59
278,781,919
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# # @lc app=leetcode.cn id=344 lang=python3 # # [344] 反转字符串 # # @lc code=start class Solution: def reverseString(self, s: List[str]) -> None: """ Do not return anything, modify s in-place instead. """ i = 0 j = len(s) - 1 while i < j: s[i], s[j] = s[j], s...
[ "huoyang93@qq.com" ]
huoyang93@qq.com
768b68f82e53860c6b9728cc558ba0de3a2c2e1e
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/vision/v1p3beta1/vision-v1p3beta1-py/google/cloud/vision_v1p3beta1/types/text_annotation.py
d72aa77fb46bbd618734133edc7c103eaac2950b
[ "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
11,902
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
995563648da4897a4425eded36f6d0dc3477e464
069c2295076c482afadfe6351da5ae02be8e18e6
/django/core/files/storage/mixins.py
663a163beae1f8780a88003792849fbd7b201fd8
[ "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "GPL-1.0-or-later", "Python-2.0.1", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-other-permissive", "Python-2.0" ]
permissive
django/django
5eb557f57053631cd4f566f451e43197309dbeeb
c74a6fad5475495756a5bdb18b2cab2b68d429bc
refs/heads/main
2023-09-01T03:43:44.033530
2023-08-31T08:27:32
2023-08-31T08:27:32
4,164,482
73,530
38,187
BSD-3-Clause
2023-09-14T20:03:48
2012-04-28T02:47:18
Python
UTF-8
Python
false
false
700
py
class StorageSettingsMixin: def _clear_cached_properties(self, setting, **kwargs): """Reset setting based property values.""" if setting == "MEDIA_ROOT": self.__dict__.pop("base_location", None) self.__dict__.pop("location", None) elif setting == "MEDIA_URL": ...
[ "felisiak.mariusz@gmail.com" ]
felisiak.mariusz@gmail.com
67e188cf4dff45d62ef69d5b2bca2ce723dfa609
cc175b44e655a2450611c107884763b512e14aa8
/model/make_data.py
abf967d3d00a18eed02bee0417d5877da1637833
[]
no_license
boxiangliu/abbrev
daa05e733c92d3c7072323b0ecad5369d87eca86
610f5e0789fd87ca7390bf458b6699ed83331a4f
refs/heads/master
2023-07-20T00:16:17.760843
2021-08-23T17:12:06
2021-08-23T17:12:06
300,144,070
0
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
import pandas as pd import os import click # nrows = 1e6 # ab3p_fn = "../processed_data/preprocess/ab3p/summarize_ab3p/ab3p_res.csv" # out_dir = "../processed_data/preprocess/model/train_val/" # train_pct = 0.6 # val_pct = 0.2 # test_pct = 0.2 @click.command() @click.option("--nrows", type=int, help="Number of rows."...
[ "jollier.liu@gmail.com" ]
jollier.liu@gmail.com
d5041bab3576ce33ff487521f40316e8a4f3a33c
ecb6b752523a126ef17895854b18e02df41c4cfe
/api_restful/urls.py
791b79d537ebf6c13c91a18c29865ae8b286bc8e
[ "MIT" ]
permissive
zhanghe06/bearing_project
cd6a1b2ba509392da37e5797a3619454ca464276
25729aa7a8a5b38906e60b370609b15e8911ecdd
refs/heads/master
2023-05-27T17:23:22.561045
2023-05-23T09:26:07
2023-05-23T09:39:14
126,219,603
2
5
MIT
2022-12-08T03:11:27
2018-03-21T17:54:44
JavaScript
UTF-8
Python
false
false
4,217
py
#!/usr/bin/env python # encoding: utf-8 """ @author: zhanghe @software: PyCharm @file: urls.py @time: 2020-02-28 21:21 """ from __future__ import unicode_literals from uuid import uuid4 import logging import time from collections import defaultdict from flask import jsonify, request, g, make_response from werkzeug....
[ "zhang_he06@163.com" ]
zhang_he06@163.com
a63cdcdc0d81ec4c855b3d2d9b59a8d04cc7e353
043d91547df1c9824cdff5386c74083b234803c2
/Code Examples/Chapter 22/Statistics.py
17fddd9b393ced65aa9cff821be8caa5467a56b8
[]
no_license
ddc899/cmpt145
9824b7caad98f78075dd42c5ecb1c1617f4628cf
2a8c2f36d42082dffdc6e79a9822aa2d4ad925a9
refs/heads/master
2022-01-26T22:44:02.647310
2018-07-27T22:51:07
2018-07-27T22:51:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,838
py
# CMPT 145: Objects # Defines the Statistics ADT # Calculate mean and variance. # Implementation # Do the calculations without storing all the data! # Use a Python dictionary as a record to store three quantities: # _count': the number of data values added # _avg': the running average of the values added...
[ "knownastron@gmail.com" ]
knownastron@gmail.com
09aea084d55765c2c27515405b4a8b5d4af484bc
e3bb2717535c5f8c7db54a43d801971320b02ae1
/app/auth/views.py
b5ff9badc5abdeddd2de2705a84c588465b33d0d
[]
no_license
EugeneZnm/Watchlist
e28e207f8fd2f2a3a1c23b4f6ccc52df9ea310ff
8f846ff6acb0d217c6ec7316abb836ff7d870a75
refs/heads/master
2020-03-27T08:41:40.696130
2018-09-05T11:08:59
2018-09-05T11:08:59
146,278,525
0
1
null
null
null
null
UTF-8
Python
false
false
2,848
py
from flask import render_template, redirect, request, url_for, flash from . import auth from .. import db from ..models import User from .forms import LoginForm, RegistrationForm # importation of mail_message function from .. email import mail_message from flask_login import login_user, logout_user, login_required @...
[ "eugenenzioki@gmail.com" ]
eugenenzioki@gmail.com
26cb57441ee3854ffead4b69ae2ec7044da21d06
7d023c350e2b05c96428d7f5e018a74acecfe1d2
/mavlink_ROS/devel/lib/python2.7/dist-packages/mavros_msgs/srv/_VehicleInfoGet.py
92ddfc7a10ec3865192d0f249eb96c798ae4ea54
[]
no_license
thanhhaibk96/VIAM_AUV2000_ROS
8cbf867e170212e1f1559aa38c36f22d6f5237ad
fe797304fe9283eaf95fe4fa4aaabb1fe1097c92
refs/heads/main
2023-06-06T14:15:39.519361
2021-06-19T06:01:19
2021-06-19T06:01:19
376,807,938
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
/home/hai_bker96/VIAM_AUV2000_ROS/mavlink_ROS/devel/.private/mavros_msgs/lib/python2.7/dist-packages/mavros_msgs/srv/_VehicleInfoGet.py
[ "thanhhaipif96@gmail.com" ]
thanhhaipif96@gmail.com
4c64f905d39e8cb07f0685bdfb4bb78ea2b99621
a54b6e7a1906534b11584054e6096f855ced549d
/encapsulation-python-oop/account.py
98dce39f1fbb4a95b18e9d11731b87c109daf8a6
[]
no_license
DavidStoilkovski/python-oop
1cece55dffa8471ed980773e259ca9569eb00283
ae497d84d41badb8fc9c64c518d1dd72d95c839f
refs/heads/main
2023-04-20T10:11:02.914382
2021-05-08T16:31:46
2021-05-08T16:31:46
359,358,703
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
class Account: def __init__(self, id, balance, pin): self.__id = id self.__pin = pin self.balance = balance def get_id(self, pin): if pin == self.__pin: return self.__id return "Wrong pin" def change_pin(self, old_pin, new_pin): if old_pin == se...
[ "stoilkovskidavid@gmail.com" ]
stoilkovskidavid@gmail.com
cd85fc9698722f3292cb0a2f5e6c15439f22caf2
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_395/ch1_2019_03_09_23_46_04_934673.py
e858189236e4e7c9bf261044371f0bbf425eb7a8
[]
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
102
py
def calcula_valor_devido(c,i,n): m == c * (1+i)**n return m print (calcula_valor_devido(0,0,0)
[ "you@example.com" ]
you@example.com
b90cc6344c7868d92b0bac983f668cc7aad38c4c
56e469a1bfd29004fa258a54668dfbbc4459663d
/python3-pandas-tutorial/src/lesson6.py
2f6229fcc0269b0b8e6b2bdd47c4b9d40ff8c905
[]
no_license
wind86/learning
bfce4a6795b58b27d0148b878299cacfe96aa26f
4449ba0eed0a8f803a2bb9fbd663faf43148f03a
refs/heads/master
2020-04-05T23:28:40.082439
2017-11-04T11:36:40
2017-11-04T11:36:40
83,236,426
0
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
''' Created on May 15, 2017 Joining and Merging Dataframes - p.6 Data Analysis with Python and Pandas Tutorial based on https://www.youtube.com/watch?v=XMjSGGej9y8&index=6&list=PLQVvvaa0QuDc-3szzjeP6N6b0aDrrKyL- @author: ubuntu ''' import pandas as pd # df1 = pd.DataFrame({'HPI':[80,85,88,85], # ...
[ "wind86@meta.ua" ]
wind86@meta.ua
c582ec9b4a70e9179e20a14245487ba928f81ead
ba0cea0d05962e8a84016a80e3b9c9c358aa64c8
/trading/TradingModel.py
1458d04546c0e16e201695d145ce969e96281167
[]
no_license
acjones212/tudorials
48b7445dc832127021495bd5061b5e79588dc1bb
7998da771e4623697b1b73c4a43c3e84fe67322f
refs/heads/master
2020-06-30T06:13:03.055008
2019-02-17T04:00:43
2019-02-17T04:00:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
import pandas as pd import requests import json import plotly.graph_objs as go from plotly.offline import plot from pyti.smoothed_moving_average import smoothed_moving_average as sma class TradingModel: def __init__(self, symbol): self.symbol = symbol self.df = self.getData() def getData(self): # define U...
[ "tudor.barbu7@gmail.com" ]
tudor.barbu7@gmail.com
c435bf2efdbd95a3be47ab19443964f4afde2c4f
a51eef4ae158e40fb6f86b1f48a7510ddc748002
/env/lib/python2.7/site-packages/textblob/nltk/util.py
d2fb65fa7a57a4aa5f55794eef29e7d0b62d724c
[]
no_license
sinanuozdemir/iris_calculator
ac07cc99106599f8339c109f91a08068e179f609
d4f014f8452a50e7ae16df732636797a9538e522
refs/heads/master
2021-01-16T20:52:23.955269
2016-04-26T18:17:39
2016-04-26T18:17:39
40,774,539
2
2
null
2015-08-15T17:35:35
2015-08-15T17:35:35
null
UTF-8
Python
false
false
39,637
py
# Natural Language Toolkit: Utility functions # # Copyright (C) 2001-2013 NLTK Project # Author: Steven Bird <stevenbird1@gmail.com> # URL: <http://www.nltk.org/> # For license information, see LICENSE.TXT from __future__ import print_function import locale import re import types import textwrap import pydoc import bi...
[ "sinan.u.ozdemir@gmail.com" ]
sinan.u.ozdemir@gmail.com
82d1df8da521841e3061932a0b56f96a8ce99881
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv2/lib/python3.8/site-packages/ansible/modules/network/nxos/nxos_udld_interface.py
258bd222b5aa0ac7fb47fb17c950a683e69267b8
[ "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
10,069
py
#!/usr/bin/python # # 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 distribut...
[ "sifang@cisco.com" ]
sifang@cisco.com
d5aecc30265afc5225221cf01160890cd3124607
e31c41ee342d0c07cb134f545a89cdc36b4577d2
/tests.py
6afd8736483e506604c6dd3f671e386c6f5e91f9
[]
no_license
peiyanz/lab23_test-py-2
cc3072e301d2e405e438a2e958da87e32ec2f431
8bb5fc3ae37e713e6c46b7b2d6e8e9f66ac1c69a
refs/heads/master
2021-06-10T23:15:11.659163
2017-02-03T20:52:31
2017-02-03T20:52:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,660
py
import unittest from party import app from model import db, example_data, connect_to_db class PartyTests(unittest.TestCase): """Tests for my party site.""" def setUp(self): self.client = app.test_client() app.config['TESTING'] = True def tearDown(self): """Do at end of every tes...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
01d887cb06b9f0c3e3d6f268aad5bd2cabab5e3b
3b604fe8f03f25859991cdab37804bcda51a4f18
/dublyou/apps/competitions/migrations/0019_auto_20170208_1052.py
0943f1c9608da03e38b8e3377f5dc03b26507e4e
[]
no_license
dublyou/matchup-games
e6238cbca7c30c6d4b4ddd161b84dfd5cc1bbacd
07b2db2e7d52ac6590ab55a1a05e6076d8c9d680
refs/heads/master
2020-03-11T11:10:10.506719
2018-04-17T20:41:30
2018-04-17T20:41:30
129,956,203
0
0
null
null
null
null
UTF-8
Python
false
false
2,036
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-02-08 16:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('profile', '0012_auto_20170130_1013'), ('competition...
[ "jgriff@Calebs-MacBook-Pro.local" ]
jgriff@Calebs-MacBook-Pro.local
13e77167020da45609f0cd75bedd565b03cd3509
426b80c3c966d3b3734d2929bf9a9854311d4867
/arl-python/arl/imaging/facets.py
4ed2aee58e31c050ea54c6b6917712f9230bf269
[ "Apache-2.0" ]
permissive
Song655/arlo
7dcbfd5ff304a525a749fc8f22726a568e92459b
cee1613d4a2b2e1263da9d5b4b9930eef569509c
refs/heads/master
2020-04-19T21:42:53.614248
2019-02-19T04:00:53
2019-02-19T04:00:53
168,449,766
0
0
Apache-2.0
2019-01-31T02:31:29
2019-01-31T02:31:29
null
UTF-8
Python
false
false
2,353
py
""" The wide field imaging equation can be approximated by partitioning the image plane into small regions, treating each separately and then glueing the resulting partitions into one image. We call this image plane partitioning image plane faceting. .. math:: V(u,v,w) = \\sum_{i,j} \\frac{1}{\\sqrt{1- l_{i,j}^2- ...
[ "chrisyoung_yrk@163.com" ]
chrisyoung_yrk@163.com
e798a6e4262bf870dc3d3512db94aba356ee540c
d786fe979eef20b0538f3e9fecedc8d021b55a17
/cubeRoot-example/cubeRoot.py
e7462b2ba7866a205a468f891cff86d86463e48c
[]
no_license
Waylonryan/mis3640
962ae36080de08d3ada9971c4529808cb718c072
5182a8fbe12a2e0116f61d9e541311537909ed07
refs/heads/master
2020-04-04T06:57:10.342733
2018-10-30T21:19:56
2018-10-30T21:19:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
x = int(input('Enter an integer: ')) ans = 0 while ans**3 < x: ans = ans + 1 if ans**3 != x: print(str(x) + ' is not a perfect cube') else: print('Cube root of ' + str(x) + ' is ' + str(ans)) # to-do # make it work for negative integers.
[ "zli@babson.edu" ]
zli@babson.edu
cdfbedf06247d69bc7d9bd3e665f2d5b323587d5
a8f3204139d7f68c23bd8411b8594899ba792e79
/sequana/scripts/vcf_filter.py
55781d1ce859c85b9ef780f5ca4131234c5cb118
[ "BSD-3-Clause" ]
permissive
switt4/sequana
874189c869ccc07a592c0a6a3c77999adcabe025
7bd4f32607d62bebfd709628abc25bfda504761b
refs/heads/master
2023-02-13T13:06:26.021426
2020-12-01T14:49:02
2020-12-01T14:49:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,617
py
# -*- coding: utf-8 -*- # # This file is part of Sequana software # # Copyright (c) 2016 - Sequana Development Team # # File author(s): # Thomas Cokelaer <thomas.cokelaer@pasteur.fr> # # Distributed under the terms of the 3-clause BSD license. # The full license is in the LICENSE file, distributed with this s...
[ "cokelaer@gmail.com" ]
cokelaer@gmail.com
e0fd9742097211a9a770d1cd40201f4f323955f5
f5124a66fbd428c84599479a6fa1c12b7d9a7528
/quantstats/version.py
2fae51ec86747ccc5c72b384b5c6fbc4d12f8188
[ "Apache-2.0" ]
permissive
sovannit/quantstats
4c5b01a8c03fae2b28dc7675b6b77385fe529e5f
3970428493ca4dd61296342a3d44ea7d6bdfdc98
refs/heads/main
2023-07-29T21:17:10.317047
2021-09-28T09:58:23
2021-09-28T09:58:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
19
py
version = "0.0.36"
[ "ran@aroussi.com" ]
ran@aroussi.com
bb7deba4e4d085d42507355673c51bbf2f4a36de
c1bd12405d244c5924a4b069286cd9baf2c63895
/azure-mgmt-batchai/azure/mgmt/batchai/models/jobs_list_by_resource_group_options_py3.py
befaa301bc381da6dd25ca329eb37d1a97dd8402
[ "MIT" ]
permissive
lmazuel/azure-sdk-for-python
972708ad5902778004680b142874582a284a8a7c
b40e0e36cc00a82b7f8ca2fa599b1928240c98b5
refs/heads/master
2022-08-16T02:32:14.070707
2018-03-29T17:16:15
2018-03-29T17:16:15
21,287,134
1
3
MIT
2019-10-25T15:56:00
2014-06-27T19:40:56
Python
UTF-8
Python
false
false
1,527
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
71244379010bf6cc5b3ea22e05ebe42ed3e01507
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Apps/GUI Calculator/App.py
567e8dad37e33764bda12b5b45f2a6eb961c6b50
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:4c907f593448d1cbfbc11948da94ab550ae20556e795a8b0fe1fb45fc9d68ac7 size 2810
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
74de3618e035512437ee47362e4808c6dc173b16
929a816fc299959d0f8eb0dd51d064be2abd6b78
/LeetCode/easy - Binary Tree/226. Invert Binary Tree/.ipynb_checkpoints/recursion-checkpoint.py
b1490441905a8905dc5b84ba3b028b65a00c088d
[ "MIT" ]
permissive
vincent507cpu/Comprehensive-Algorithm-Solution
27940da7bc0343921930a2eafbd649da93a5395d
04e01e49622457f09af2e1133954f043c0c92cb9
refs/heads/master
2023-07-20T07:12:15.590313
2021-08-23T23:42:17
2021-08-23T23:42:17
258,644,691
4
0
null
null
null
null
UTF-8
Python
false
false
469
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def invertTree(self, root: TreeNode) -> TreeNode: if not root: return root ...
[ "vincent507cpu@gmail.com" ]
vincent507cpu@gmail.com
9541c6ce8b6f3f4d1a1cf6a5fb8d3806eacb5b50
70cdf0741a22c678401a306229003bf036ffe5a6
/ocbind/network_instances/network_instance/protocols/protocol/bgp/neighbors/neighbor/afi_safis/afi_safi/srte_policy_ipv4/__init__.py
47a9a6db1392824e622ab0428af67e7a612c04ec
[]
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
19,894
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