blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
2a56ecad786f4d182bac09142f6f96074b6ef6f3
74cec3aefc021447b79bd681901d085f207b1e13
/factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/azure_training_status/utils.py
823889e7a4ec6abccf9e01e03cadc8c7dcc6daf3
[ "MIT" ]
permissive
timlawless/azure-intelligent-edge-patterns
83900c7d9cfa0ddd07131fb503e6837fb81f6cf4
d72c3c1c2d56a762b74a72cd3befd076dc77b8ac
refs/heads/master
2022-12-17T06:16:54.677327
2020-09-29T23:52:10
2020-09-29T23:52:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
""" App Utilities """ import logging from .models import TrainingStatus logger = logging.getLogger(__name__) def upcreate_training_status(project_id, status: str, log: str, performance: str = "{}", n...
[ "peteeelol@gmail.com" ]
peteeelol@gmail.com
a83f515a19f82123dc8b48be43644a6b9ec26ddb
4f27ee76eeca2422e84d29d483f1f9570d26b6b4
/Finance/Binomial/MultiStep.py
b5678f789a7533f5522d869379ddfcba4a60d868
[]
no_license
dsocaciu/Projects
5a52b98600400d66f4a4f00bb59676bed70ad602
aa722562534408f6c84f6ca2c0b928d038c74cb3
refs/heads/master
2021-01-19T13:01:22.288458
2017-06-14T19:25:59
2017-06-14T19:25:59
82,357,210
0
0
null
null
null
null
UTF-8
Python
false
false
2,360
py
#Step 2 from fractions import Fraction class Node: def __init__(self,Level=None,Price=None,Up=None, Down=None): self.Level = Level self.Price = Price self.Up = Up self.Down = Down def getLevel(self): return self.Level def CalculateNextLevel(node): currentLevel = node.getLevel() UpNode = Node(curr...
[ "dan.socaciu@gmail.com" ]
dan.socaciu@gmail.com
ff700f7d454463df58dd34ca5c24e3f7e49d6e50
299daa2b824700c36dde9b192edb44027511da13
/App/models.py
ee6a7ccf9b7e9b689d1e6073ac48223820e15efa
[]
no_license
jacvon/UAV
44d7a2d3a84a3522c11f2bcd3f3eeedf7e61b9d3
9d817607777f01b3564f7723d220102d9cad3ac7
refs/heads/master
2023-02-07T16:52:05.065107
2020-05-12T08:48:57
2020-05-12T08:48:57
249,330,733
0
2
null
null
null
null
UTF-8
Python
false
false
989
py
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` lines if ...
[ "jacvon_wan@outlook.com" ]
jacvon_wan@outlook.com
3abdcc5b572a90e3383aecc6e94d1a98320216ed
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1803699/homework03/program02.py
344ec0651031695a307c244a2e1dc1133f3d6acc
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
1,636
py
from immagini import * def cammino(fname, fname1): scacchiera=load(fname) posx=0 posy=0 angolo=0 fstring='' spins=0 white=(255,255,255) black=(0,0,0) paint(scacchiera,0,0,(0,255,0)) while spins<4: angolo=fixangle(posx,posy,angolo) sqcoord=findnext(...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
08ea22b6c1395c1e364e91c3f0876d13382790d2
8dde96b47fa3ec6a8bcbae938da73adc555d4471
/User.py
2f2b5fd491209a276f54dfcc75261711efc908a8
[]
no_license
carmolim/instagram_likes
73c6d2c29452c6b5537777c7003e4bafe7bdde26
7101424e2ae71fdb137cccdc781f80b05e229ee9
refs/heads/master
2021-01-17T09:49:25.801116
2016-03-24T13:06:30
2016-03-24T13:06:30
35,011,422
11
0
null
2015-07-12T23:43:51
2015-05-04T03:10:42
Python
UTF-8
Python
false
false
597
py
class User( object ): def __init__( self, client_user, client_id, access_token, client_secret ): self.client_user = client_user self.client_id = client_id self.access_token = access_token self.client_secret = client_secret print 'User %s created' % self.client_user print '' def get_client_user ( se...
[ "carmolim@gmail.com" ]
carmolim@gmail.com
e8022aab29808323257b230b2cecb0de277cc4cd
5b9bce9fdfc13848b6bacc73741f6e8fc5a4ae99
/testing/pcechoclient.py
d6c4f82a21900e1ac79cde66f76604954c82a49e
[]
no_license
ContinuumBridge/bridge_admin
4a5a036f4e0cb4e96366a85524aef0c33e82a7ff
efd4148a55221f74cb8a11139a8416d1af453408
refs/heads/master
2022-03-20T15:00:01.422221
2020-01-04T11:08:17
2020-01-04T11:08:17
17,435,712
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
#!/usr/bin/env python # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. from twisted.internet.protocol import ClientFactory from twisted.protocols.basic import LineReceiver from twisted.internet import reactor import sys class EchoClient(LineReceiver): end="Bye-bye!" def connectionMade...
[ "peter.claydon@continuumbridge.com" ]
peter.claydon@continuumbridge.com
802a35b2dd53c20416e66ef7eec5d95d5042c007
3fb26a1204611e5e2ab906ce73c4d047eccfd2ef
/__init__.py
b1adf3f14778b65f0f0d7fea72d2d03b8f9a7c10
[]
no_license
Trebolium/nadineVD
e97294a9de36fba2816d98b34f43d24c6c615352
d2e26f84ba2abe85f41abe0ed2a22f8b47791e58
refs/heads/master
2022-02-26T10:57:48.162946
2019-07-25T22:46:59
2019-07-25T22:46:59
198,650,689
0
0
null
null
null
null
UTF-8
Python
false
false
29
py
from vocalDetector import *
[ "brendan242424@gmail.com" ]
brendan242424@gmail.com
138d4fa9febc3f2b3792bf0a311777ffb4e59fcb
5a696135f54c120fab988e4f1198a9ac41cae5b8
/portfolioapi/views.py
41034fc0b0470c8cf64b5c01432dd21d40d8391d
[]
no_license
armstrongsouljah/codemeapi
f1d98ed2035c8131ba5e7611faf3d3eb831fd5f8
21afc2a75b1429bb920023b3cbba5aecc310293d
refs/heads/master
2023-08-17T02:53:03.695526
2020-05-16T07:49:53
2020-05-16T07:49:53
264,371,074
0
0
null
2021-09-22T19:07:11
2020-05-16T06:05:01
Python
UTF-8
Python
false
false
547
py
from django.shortcuts import render from rest_framework import generics as g from .serializers import ProjectSerializer from .models import Project from rest_framework.permissions import ( AllowAny, IsAuthenticated ) class ProjectListView(g.ListAPIView): queryset = Project.objects.all() permission_cl...
[ "armstrongsouljah@gmail.com" ]
armstrongsouljah@gmail.com
11b0479a27c5ab90d81cee838e888ab9e14fa8bf
7b4abf7507c6b34244c7d15808f35a0bdd360831
/src/app/channels/channels.py
29e64c47b4ec5c2de4ea0b45908fc921d3412267
[ "MIT" ]
permissive
aldomatus/python_sqlalchemy_mysql_docker_many-to-many
763ab78703cce42e12e20c9c1e58ca6290477590
d3e61761208eb8c604c4e2218ac6effeddd6291b
refs/heads/main
2023-07-12T18:59:47.521556
2021-08-11T23:04:26
2021-08-11T23:04:26
394,622,890
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
from flask import request, jsonify, Blueprint channels = Blueprint('channels', __name__) @channels.route('/channels', methods=['GET']) def users_regards(): return jsonify({'message': 'Welcome!'}) @channels.route('/channel', methods=['POST']) def create_user(): from src.main import db from src.app.models ...
[ "aldo.matus@outlook.com" ]
aldo.matus@outlook.com
2316b3a02099a1a4c192eadd8ae8fd79893c2aa0
88dd43c9d2acba579c9319332a8ebf26aa2ccd3a
/tests/test_helpers.py
aa16d6dd07d8a9bbabb7a83ed655d657bc903d0e
[ "MIT" ]
permissive
dcramer/exam
063637270d414198dda56b4fccaf1dd0103014af
548d3b3b0711badda67b1c42d84ff1d9b5365212
refs/heads/master
2021-01-16T17:40:14.817038
2012-12-06T01:44:53
2012-12-06T01:44:53
7,027,986
2
0
null
null
null
null
UTF-8
Python
false
false
1,529
py
from unittest2 import TestCase from mock import patch, Mock from exam.helpers import rm_f, track, mock_import from exam.decorators import fixture from describe import expect @patch('exam.helpers.shutil') class TestRmrf(TestCase): path = '/path/to/folder' def test_calls_shutil_rmtreee(self, shutil): ...
[ "jeff.pollard@gmail.com" ]
jeff.pollard@gmail.com
6ba9c9abe2cbbb4ac9f451e51b7f6fc3c3f86ed8
267b937afa1e1e3ee0907cdd319327e8f7946746
/wrfchem_v415_ext/scripts/components/old2/old/produce_plots_args_rain_higherres.py
4facbcc9b4464b20b66892d54e08d95e4ab9f623
[]
no_license
eiliscoleman/StreamAIR-AQ
3ed13aaa75f9c3cd9788104ebf794f90b0b7f57b
928f016572036cf7d1ac1ff220281aae314446cb
refs/heads/master
2023-01-23T09:08:52.109971
2020-11-27T09:47:00
2020-11-27T09:47:00
313,920,790
0
0
null
null
null
null
UTF-8
Python
false
false
1,647
py
from __future__ import print_function, unicode_literals import json import matplotlib as mpl mpl.use('Agg') import matplotlib.colors as mc import matplotlib.pyplot as plt import numpy as np import os import pandas as pd import xarray as xr import xarray.ufuncs as xu import seaborn as sns from netCDF4 import Dataset fr...
[ "eiliscoleman@gmail.com" ]
eiliscoleman@gmail.com
0ee12d9738e4a2948bf9e76868469b53a28b568c
0884bc5f5dca38f239ea0d7d31232a67a9411c27
/format.py
166496d572d670a7e31f70bf6fd83cd5f4bd023d
[]
no_license
d0v34/My-Python
cb6e9e2da266a08e6b948358675e80bcc8bf08dd
321a9545d1cfa4137c8547dc1159779cc8a0f30b
refs/heads/master
2021-08-12T04:15:58.727625
2021-08-05T06:09:07
2021-08-05T06:09:07
212,036,430
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
szer = 42 print("-" * szer) print("| Czas | Zawodnik | Data |") print("*" * szer) print("| {:06.3f} | {:16s} | {:10s} |" .format(9.58, "Usain Bolt", "16.08.2009")) print("| {:6.3f} | {:16s} | {:10s} |" .format(9.69, "Tyson Gay", "20.09.2009")) print("| {:6.3f} | {:16s} | {:10s} |" .format(9.69, "Yohan B...
[ "fiat126p@gmail.com" ]
fiat126p@gmail.com
304f7e9f5f5d929203246c25461e28f6a6b175af
ead61cfb84bf9383e3a51cfdd8d01aee05a43008
/networks/blocks/inception_block.py
169b04a0a866b0685f22379567637744056e7f22
[ "Apache-2.0" ]
permissive
whq-hqw/omni_torch
67263676c5d649426c982d148b3816fef6c73e94
9bd654387619c0cbc6aee9e91482ecc9200138ef
refs/heads/master
2022-03-28T20:30:44.293548
2020-01-03T04:03:24
2020-01-03T04:03:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,007
py
""" # Copyright (c) 2019 Wang Hanqin # # 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 ...
[ "loveorchidsdavid@gmail.com" ]
loveorchidsdavid@gmail.com
421fe091b6410369a00caf0601b89fb067b34c02
b6b2be9866fd16699ad5c30a21bbcb70755f1e57
/Experiments/_Legacy/CoralBleaching/WindowBasedClassifier/windowbasedclassifier_train_THEN_predict.py
883e47e8f8961fd4fb0902b783a4bf205434aca2
[]
no_license
simonhughes22/PythonNlpResearch
24a482c7036c568b063ec099176b393d45a0a86b
2bc2914ce93fcef6dbd26f8097eec20b7d0e476d
refs/heads/master
2022-12-08T17:39:18.332177
2019-10-26T12:48:33
2019-10-26T12:48:33
16,458,105
17
7
null
2022-12-07T23:38:17
2014-02-02T16:36:39
Jupyter Notebook
UTF-8
Python
false
false
7,156
py
from featureextractortransformer import FeatureExtractorTransformer from sent_feats_for_stacking import * from load_data import load_process_essays, extract_features from featurevectorizer import FeatureVectorizer from featureextractionfunctions import * from CrossValidation import cross_validation from wordtagginghel...
[ "simon.hughes@dice.com" ]
simon.hughes@dice.com
19abf40fe4e150fdff4ad72dd8e5d5eca00779f5
0e083f405af00029c9ec31849f0f7f81c56844b5
/configs/mmdet/detection/detection_tensorrt_static-800x1344.py
737054533c6d1350e5cf1c3ba8e1c1c7ea026a7c
[ "Apache-2.0" ]
permissive
open-mmlab/mmdeploy
39b9e7b611caab2c76a6142fcb99f0bf1d92ad24
5479c8774f5b88d7ed9d399d4e305cb42cc2e73a
refs/heads/main
2023-09-01T21:29:25.315371
2023-08-31T09:59:29
2023-08-31T09:59:29
441,467,833
2,164
605
Apache-2.0
2023-09-14T10:39:04
2021-12-24T13:04:44
Python
UTF-8
Python
false
false
56
py
_base_ = ['../_base_/base_tensorrt_static-800x1344.py']
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
6aeb18de3effe94c35785f743188edb5b1833d15
89e65f7e2e0196a36f5dfced567a67cab3cba24d
/backend/users/migrations/0002_auto_20210324_0135.py
5236ed70f5577443707f2b8d206f27b9ff10c506
[]
no_license
crowdbotics-apps/l0c4l-25232
e90bab9fd6c44f9bd6d7a8f8fa90684d509840a0
1271c3c84e4465634bcb9d0d46e02c9b794bfdbb
refs/heads/master
2023-04-02T20:27:31.769165
2021-03-24T11:29:42
2021-03-24T11:29:42
350,907,098
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
# Generated by Django 2.2.19 on 2021-03-24 01:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AddField( model_name='user', name='last_updated', ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ab5c4a7cc0555180e525b35e0720ede50721f0d0
1c2ed80f77782ebee5b90480dbfc74a2d145d53f
/python-base/src/learn/shell/system_zip4.py
8f4f688b4d50233a9b9278681aa2ed1e5f75ab9f
[]
no_license
icesx/IPython
970dfe7260906d85706b7117044510b5929e9098
452c63e17c6f05cb0540974f7c01c1e73f9836fe
refs/heads/master
2021-07-05T02:30:29.956369
2021-02-02T07:09:58
2021-02-02T07:09:58
220,771,536
0
0
null
null
null
null
UTF-8
Python
false
false
1,441
py
#!/usr/bin/python # Filename: system_zip4.py import os import time # 1. The files and directories to be backed up are specified in a list. source = ['/home/swaroop/byte','/home/swaroop/bin'] # If you are using Windows, use source = [r'C:\Documents', r'D:\Work'] or something like that # 2. The backup must be stored i...
[ "icesxrun@gmail.com" ]
icesxrun@gmail.com
64eabaa4935dd78df0c5e852ab634f5e19a533f4
e3794217c22e3baed4738b1b8b1815b9148355fe
/learning_logs/migrations/0003_auto_20210426_0040.py
ccec2ee7040851ba67afb8831617f3e258be20d8
[]
no_license
aiswfs/learning_log
1de83ea4ce861290a8237822c22ae059f53a648b
05b07ecb75e14c29bcde509e27651bae3120e0b7
refs/heads/master
2023-04-19T22:58:18.661997
2021-04-27T03:36:25
2021-04-27T03:36:25
361,594,549
2
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
# Generated by Django 2.2.20 on 2021-04-25 16:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('learning_logs', '0002_e...
[ "1024766276@qq.com" ]
1024766276@qq.com
904e45682fa277c8e3d4b3e9352e0595318d3aa1
ace30d0a4b1452171123c46eb0f917e106a70225
/filesystems/vnx_rootfs_lxc_ubuntu64-16.04-v025-openstack-compute/rootfs/usr/lib/python2.7/dist-packages/neutron/objects/qos/policy.py
dfb84b85d748d70d43b8ae4236a8a20cb12169b9
[ "Python-2.0" ]
permissive
juancarlosdiaztorres/Ansible-OpenStack
e98aa8c1c59b0c0040c05df292964520dd796f71
c01951b33e278de9e769c2d0609c0be61d2cb26b
refs/heads/master
2022-11-21T18:08:21.948330
2018-10-15T11:39:20
2018-10-15T11:39:20
152,568,204
0
3
null
2022-11-19T17:38:49
2018-10-11T09:45:48
Python
UTF-8
Python
false
false
10,103
py
# Copyright 2015 Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "jcdiaztorres96@gmail.com" ]
jcdiaztorres96@gmail.com
79afb0e2319f1027af485ded125bd8ba9a51eb44
48a3bdc4f63cadd3414665e58d8fb8ab208100ed
/Prediction_file.py
a7e8ff33e63a1bf946b2db5fe6e9c836b3ec6c3a
[]
no_license
HPYC1305KABU/-Voice-Based-Speech-Recognition-System-
f086f3cb07f4e0f84e6948368e0469d06b515d9a
54e70b34307ee72e136201671dd70e3ad6b73276
refs/heads/main
2023-02-28T09:07:36.531766
2021-02-08T19:58:03
2021-02-08T19:58:03
337,192,896
1
0
null
null
null
null
UTF-8
Python
false
false
3,214
py
import numpy as np import pandas as pd #import seaborn as sns #import matplotlib.pyplot as plt #from sklearn.preprocessing import StandardScaler #import scipy as sp #import sklearn #import random #import time from sklearn.preprocessing import MinMaxScaler #from sklearn import preprocessing, model_selection from...
[ "noreply@github.com" ]
HPYC1305KABU.noreply@github.com
ff4baa4f91bf4f0f7a02f3ffb5c1b128d0847c97
1ec04220c0528d0068988c0e8e5d2aceb23e4860
/conf/__init__.py
7deef2edc4d30e6c35705dbf5f9da04855a00301
[ "Apache-2.0" ]
permissive
circleJ/owncloud_client
ae0010f79e89604d8169d5db8cdb77b4baaccec2
d650a73938b2fdadf7517344bf773d551d78c993
refs/heads/master
2020-07-01T10:38:55.520797
2019-08-08T01:03:49
2019-08-08T01:03:49
201,149,781
4
0
null
null
null
null
UTF-8
Python
false
false
52
py
#!/usr/bin/env python # -*- coding: utf-8 -*-
[ "noreply@github.com" ]
circleJ.noreply@github.com
c87d5fbee9a277cdd039d9486a6344c9cc7a09a4
671a4ebbd64e1d1784e0821d8ade887d143cde0d
/BB8/sep2/interface.py
59b75f79a192ba8d5d1e1df0ac7b4fb8a2a3eb12
[]
no_license
smithenator5000/bb8
1d08afa7ff104f69ccda4184433e98ead578551c
2dd9be449c7ea4068a2444298c607592e48b212d
refs/heads/master
2020-04-14T19:15:47.629214
2019-01-04T03:27:32
2019-01-04T03:27:32
164,051,693
0
0
null
null
null
null
UTF-8
Python
false
false
9,418
py
import bluepy.btle as bluetooth import threading import struct COMMAND = dict( CMD_PING = [0x00, 0x01], CMD_VERSION = [0x00, 0x02], CMD_CONTROL_UART_TX = [0x00, 0x03], CMD_SET_BT_NAME = [0x00, 0x10], CMD_GET_BT_NAME = [0x00, 0x11], CMD_SET_AUTO_RECONNECT = [0x00, 0x12], CMD_GET_AUTO_RECONNECT = [0x00, 0x13], ...
[ "noreply@github.com" ]
smithenator5000.noreply@github.com
3d860526ef201ce9fd12ae22e5039f7d84358fea
5b8a945adc0ea9e2e355ffc873db5a3760de6133
/proConf/settings.py
010f3289d966cd24fd7ba54af8ca5e27a3d2ff2d
[]
no_license
Shirhussain/realestate
49d6dfc108823e774a4c7ade56f1895be9436616
07746368145fc5a70f4753b9510821911ce5f275
refs/heads/main
2023-02-25T07:32:35.077623
2020-10-30T16:23:04
2020-10-30T16:23:04
308,142,611
2
0
null
null
null
null
UTF-8
Python
false
false
3,830
py
from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key u...
[ "sh.danishyar@gmail.com" ]
sh.danishyar@gmail.com
170118c48959a608c2eeb55ce9ba0a772d5ef117
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/mne-tools_mne-python/mne-python-master/mne/io/eeglab/tests/test_eeglab.py
dd69dfd60790326e22307a681e1f7daed0599aef
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
10,518
py
# Author: Mainak Jas <mainak.jas@telecom-paristech.fr> # Mikolaj Magnuski <mmagnuski@swps.edu.pl> # # License: BSD (3-clause) import os.path as op import shutil import warnings from nose.tools import assert_raises, assert_equal, assert_true import numpy as np from numpy.testing import assert_array_equal, asse...
[ "659338505@qq.com" ]
659338505@qq.com
f8e0f9ae6ad7f697e748d4e0c96525e5b1d065d9
812007abf3fcc55b71018e0e1d0be24dde8245cf
/analyze_image.py
aabfe565524c539e828fa39cf8e8b6ec73d8890c
[]
no_license
SoftwareDeveloper007/Face-Emotion-Recognition
b7b71a93e5202b45582e780ca45845aba653307d
5d6314d0f3b96e7a1121c25e504e74baa4d43341
refs/heads/master
2021-06-23T00:23:40.147779
2017-08-18T19:38:30
2017-08-18T19:38:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,491
py
import json try: import http.client, urllib.request, urllib.parse, urllib.error, base64, sys class analyze_image(): def __init__(self, API_KEY, IMAGE_URL): self.api_key = API_KEY self.image_url = IMAGE_URL self.get_analyzed_data() def get_analyzed_data(self):...
[ "28940651+YellowBackCorn@users.noreply.github.com" ]
28940651+YellowBackCorn@users.noreply.github.com
775caf758d235a747c663d12580455c9e9952cb6
78db5bc74181173f2d00bea409997a64b4682adf
/venv/lib/python3.9/site-packages/pip/_vendor/html5lib/serializer.py
f82ea6e5ea48975e1835be992b5f3570968b824f
[ "MIT" ]
permissive
CiscoDevNet/meraki-code
dfe680f077ebd053a3b663f1434f648f5a91b541
d031aab82e3fa5ce7cf57b257fef8c9a4c63d71e
refs/heads/master
2023-05-28T18:43:28.848983
2022-04-11T19:45:19
2022-04-11T19:45:19
188,288,487
67
60
MIT
2023-05-23T00:51:58
2019-05-23T18:43:15
Python
UTF-8
Python
false
false
16,168
py
from __future__ import absolute_import, division, unicode_literals from pip._vendor.six import text_type import re from codecs import register_error, xmlcharrefreplace_errors from .constants import voidElements, booleanAttributes, spaceCharacters from .constants import rcdataElements, entities, xmlEntities ...
[ "agentle@cisco.com" ]
agentle@cisco.com
233538cdcf672154b505c27a6f83b26578ee481e
9e765b38a03c2996e221a42c2a0dbc0fe02824cb
/cracking_the_coding_interview_qs/17.24/get_max_sum_submatrix.py
ee27a1e94867610e61ea9c58ec5ebcf2e73f322a
[ "Apache-2.0" ]
permissive
angelusualle/algorithms
f709b4ae0c3275cece204d5fb56fd6ec34b4683b
86286a49db2a755bc57330cb455bcbd8241ea6be
refs/heads/main
2023-07-02T19:25:11.720114
2021-08-12T16:33:00
2021-08-12T16:33:00
269,791,949
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
#(N^3) in nxn matrix def get_max_sum_submatrix(matrix): num_rows = len(matrix) num_cols = len(matrix[0]) best_one = None for i in range(len(matrix)): partial_sum = [0 for z in range(num_cols)] for j in range(i, num_rows): for z in range(num_cols): partial_sum[...
[ "angelusualle@gmail.com" ]
angelusualle@gmail.com
18bf59837660c6a5c2032b5ffb154da986ab663a
03710012371432e0dbb9668043fefa02b378616f
/lists/migrations/0004_item_list.py
6889d68cdec22f8c01908e1a5cc087cf62221f02
[]
no_license
cgoodfred/tdd-book-python
abfa52a2fe5b9ad4a6e6165a78aa22c22ea78592
a24c2aabf8e5704f4cd874fa75548b249b2571fc
refs/heads/master
2023-05-07T19:55:47.309845
2020-06-06T11:57:13
2020-06-06T11:57:13
268,067,356
0
0
null
2021-06-10T22:58:29
2020-05-30T11:37:05
Python
UTF-8
Python
false
false
525
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-05-29 21:04 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('lists', '0003_list'), ] operations = [ mi...
[ "corey.goodfred@gmail.com" ]
corey.goodfred@gmail.com
8b2349a6bf1ef11db5175235e32c85faa61bb3c4
9a60375964655de04b8a0b66ffdd68b04885d414
/gcloud/tests/apigw/test_apigw.py
d645315895c2e13be24a06577d38b4b1ea0aa24a
[ "MIT", "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kellyyk/work-sops
1e9696981f8f2474b1e4273a844277c7881cc722
b114db1b21c14b8454c34dff0453cb4fd8885c2e
refs/heads/master
2022-09-22T23:02:11.154540
2019-07-02T08:25:04
2019-07-02T08:25:04
194,818,709
0
0
NOASSERTION
2022-09-16T18:24:36
2019-07-02T08:11:08
Python
UTF-8
Python
false
false
56,933
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
[ "yanyukai@xinxindai.com" ]
yanyukai@xinxindai.com
af5d0b52140865dff7f3de167c9c6ff52505eabf
454cb7ce13e0e359b978bc34830f83fdb7426630
/python/d086.py
ce3ddf6249653a79301be63120ae14f8f48af78d
[]
no_license
scorpio-su/zerojudge
d662925b1769e8f2b7cba1db291642b44365e3e8
4897d1626147d432d21577c330d489c6dd576cd6
refs/heads/master
2022-12-06T00:59:20.648107
2020-08-20T13:16:56
2020-08-20T13:16:56
279,103,359
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 8 09:46:45 2020 @author: Username """ dic={'hardwork':98,'knowledge':96,'attitude':100} for s in [input()]: s=s.replace('\n','').replace(' ','') #if s[-1] == '':s=s[:-1] if s == '0': break num=0 s=s.lower() for i in range(len(s)): k...
[ "aa891119@gmail.com" ]
aa891119@gmail.com
f108e824a0b3288d1e3d3d6a86db62ae697df0a5
2c22736309a50968896b4724df4a7a1d1a150d88
/0x0C-python-almost_a_circle/models/square.py
b9a88f03d6e1fb2b7f14438e3604fc0ce2382063
[]
no_license
gcifuentess/holbertonschool-higher_level_programming
ce9f263c0eef07facc1e02b719a8ae7193233d6d
75e405ec7f1aa9138aa54e86f7b41aa08ead7f2a
refs/heads/master
2023-06-18T08:36:22.580908
2021-07-18T20:46:40
2021-07-18T20:46:40
291,871,342
0
0
null
null
null
null
UTF-8
Python
false
false
1,883
py
#!/usr/bin/python3 """Square module""" from models.rectangle import Rectangle class Square(Rectangle): """Square class as a subclass of Rectangle""" symbol = '#' '''symbol used to print the square''' def __init__(self, size, x=0, y=0, id=None): """Square constructor""" self.size = si...
[ "1795@holbertonschool.com" ]
1795@holbertonschool.com
0e9fbc0615ec3aaf544e09a19d1b254749955762
5352abcba8d8c2f334e8258fa8b67435ab33aff2
/marriage_my_id/settings.py
e374ae53a5f6979d057a36587f3094a7e4d3c134
[]
no_license
hendpraz/marriage_my_id
71440bef7b99794941b82e2ae5340374de82edc6
ed96358d088390a09a206c99991b688fbac14339
refs/heads/master
2023-08-05T17:17:41.564580
2020-01-09T14:34:33
2020-01-09T14:34:33
227,720,334
0
0
null
2021-09-22T18:18:34
2019-12-13T00:15:03
HTML
UTF-8
Python
false
false
3,436
py
""" Django settings for marriage_my_id project. Generated by 'django-admin startproject' using Django 3.0.1. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ impor...
[ "mhendryp99@gmail.com" ]
mhendryp99@gmail.com
65374bc87c697aa10acae04ee679f3524117e722
c475fdc75bf4d7e40cb86182bb79c6468678cd08
/djrhr/users/migrations/0003_remove_customuser_username.py
b41faefe06e701a76dd4d08d6fe7576c4d190910
[]
no_license
matthewmridha/react-django-boilerplate
a2c9a1e1230399fb391ea94c3165e4a4b1cb57d0
36fb350e055f1d64086f53ca2e5adceb414c43ca
refs/heads/main
2023-07-08T16:53:26.399561
2021-08-14T05:23:30
2021-08-14T05:23:30
382,972,624
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
# Generated by Django 3.2.3 on 2021-05-30 05:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0002_alter_customuser_managers'), ] operations = [ migrations.RemoveField( model_name='customuser', name='username'...
[ "matthewmridha@gmail.com" ]
matthewmridha@gmail.com
fc8196b320bf8b85d4fd7007703d75f76858aa28
fb025fc7b94ef915b6e837e163ad836d6bf4056a
/dtype/dtype-ft2.py
1a8553eb1bdea43913a35961120f537a789ea636
[]
no_license
Richard5127/Python
e50ad205dc2acaf5e1a115f3d443e90ecfeaef6b
55385b3dfbb126f2fec2924bd079afd6f02781d1
refs/heads/main
2023-01-12T23:12:57.081241
2020-11-03T17:05:32
2020-11-03T17:05:32
309,753,464
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
#!/usr/bin/python # coding: utf-8 x = 16.7 y = int(x) + 218 print(y, type(y))
[ "noreply@github.com" ]
Richard5127.noreply@github.com
4e93ae0dfb5d711647264f20366ac5a8b8fe52cf
4fe57e7ed6c937e77e777394b119769e24e0e7e0
/ver1/my_debugger_defines.py
51996bde67b4fb90a3c30c8f90fb42a91231982e
[]
no_license
keko5342/study_reverse_engineering_python
74ee86777ac2c6b6af43176890271fa2ce5f0ed4
1bfc5c2e938f2c301d92d2084eb9f73cfeba526e
refs/heads/master
2020-04-07T05:25:15.126111
2018-11-22T04:18:01
2018-11-22T04:18:01
158,095,970
0
0
null
null
null
null
UTF-8
Python
false
false
1,090
py
from ctypes import * WORD = c_ushort DWORD = c_ulong LPBYTE = POINTER(c_ubyte) LPTSTR = POINTER(c_char) HANDLE = c_void_p DEBUG_PROCESS = 0x00000001 CREATE_NEW_CONSOLE = 0x00000010 class STARTUPINFO(Structure): _fields_ = [ ("cb", DWORD), ("lpReserved", LPTSTR), ...
[ "kekosute@gmail.com" ]
kekosute@gmail.com
e5ebc43703c0fa54cda0b5fdaa1a140684a919df
c9f12789125de168977c3c33764c4262eacb2429
/Solver/fast_solve.py
53ca08c96514ee1624f291abffaac8faa7ace35c
[]
no_license
Sami-AlEsh/Sudoku-Solver
3da8596848130c7408b9cf2d5f52a2b58485e1db
a47ac5810cefe20a6566486c8b6fd50a96f9056b
refs/heads/master
2023-02-15T19:26:48.741716
2021-01-11T08:00:12
2021-01-11T08:00:12
328,574,097
0
0
null
null
null
null
UTF-8
Python
false
false
5,063
py
# written by Nathan Esau, Aug 2020 import copy def get_possible_values(board, row, col): possible_values = [1,2,3,4,5,6,7,8,9] tl_row = row - row % 3 tl_col = col - col % 3 for i in range(9): if len(board[row][i]) == 1: # entry already solved if board[row][i][0] in possible_values: ...
[ "sami-esh@hotmail.com" ]
sami-esh@hotmail.com
ba71267f3a8c3e627a0cdf019698551924086c3d
03f00f93b2ad0fe9825617eb9451aa3230465c08
/04-Decision-Science/03-Linear-Regression/02-Sellers/tests/test_seller.py
ca50c662d51e3af83adfd391f42b6245fe46a761
[]
no_license
grinbea/data-challenges-clean
775e2f094f65745956473bdf4fea1016da854e63
8126abd45728e5c64a6b302dd182d8e497376fe3
refs/heads/master
2023-08-15T04:37:35.388965
2021-10-09T19:00:01
2021-10-09T19:00:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,187
py
from nbresult import ChallengeResultTestCase class TestSeller(ChallengeResultTestCase): def test_shape(self): self.assertEqual(self.result.shape, (2970, 14)) def test_columns(self): columns = ['date_first_sale', 'date_last_sale', 'delay_to_carrier', ...
[ "pedemonte.david@gmail.com" ]
pedemonte.david@gmail.com
6984beeeacc8c0e02d2294688d39c4eb33c50793
865ecabe443e00ed85a2a8ab8ef031807441bcf5
/robot-view-ctrl.py
011b4b31dce3bb2406731bc394a8adfa387faa16
[]
no_license
8HoSsEiN8/HW5
745e889d1be2698a99c31245ef0535571b2eb37c
e3063b9c83f36a76e726063dc399e08f6e46fe3f
refs/heads/master
2021-01-22T14:25:44.056608
2014-10-15T07:45:12
2014-10-15T07:45:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,270
py
#!/usr/bin/env python # /* -*- indent-tabs-mode:t; tab-width: 8; c-basic-offset: 8 -*- */ # /* # Copyright (c) 2014, Daniel M. Lofaro <dan (at) danLofaro (dot) com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following c...
[ "h.ghaffarinik@gmail.com" ]
h.ghaffarinik@gmail.com
9f623eedb506f29db43ca466d6b9b966618e24ae
09301742234cb74438145d7d80f9df43511d0264
/statsmodels practice.py
eed8da2b0958bd905df00dbdc09fb3f434923966
[]
no_license
Siphra/udacityprojects
ddfe3b0336325ee95603ef2fe9734fa417220664
f2b7df5c18579acd7a94c5aa429cc108cf4d2ce1
refs/heads/main
2023-02-16T07:15:21.323421
2021-01-15T16:58:50
2021-01-15T16:58:50
318,332,489
1
0
null
null
null
null
UTF-8
Python
false
false
3,898
py
import pandas as pd import numpy as np import statsmodels.api as sm import matplotlib.pyplot as plt import seaborn as sb import math from patsy import dmatrices from statsmodels.stats.outliers_influence import variance_inflation_factor from sklearn.model_selection import train_test_split from sklearn.linear_model impor...
[ "47285212+Siphra@users.noreply.github.com" ]
47285212+Siphra@users.noreply.github.com
7a29554c47f64f44a779fbd3cf62cd4b9c870afe
c5959b7e4fc5b752b54a6352449c1bb0d28d9115
/bab/bab-7/readlines.py
80ab2cde68be77c52c9d38e68bb31da2fecf5efc
[]
no_license
romanbatavi/kickstarter-python
f5592a371740b28c045ef99dd510d1c6a92ff8d1
ed3eb692e09a3f44fd3e0b16ab7b042ee2658db6
refs/heads/master
2023-03-29T11:34:23.774873
2021-04-04T09:11:28
2021-04-04T09:11:28
354,500,208
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
###################################################### # Nama file: readlines.py ###################################################### def main(): # membuka file f = open("data.txt", "r") # membaca seluruh baris, dan menampungnya # ke dalam objek list data = f.readlines() print(data) # menutup...
[ "romanbatavi98@gmail.com" ]
romanbatavi98@gmail.com
6f68e207244df25bb479e209f3172b7c2c682d62
b91fb7f75909a38eeaf87b8b36880a861ebf2380
/pympack/pympack/settings.py
73015f688290a4d680abf7bf406acb0bda838b5f
[]
no_license
WalterCM/QuickSurvey
a2154051412b2966e40bc39b7a8988603b0acf2f
b4217400d4b664976234f411a0512c2969ee23bb
refs/heads/master
2022-12-12T18:50:59.990264
2018-09-03T22:11:30
2018-09-03T22:11:30
147,231,901
0
0
null
2022-12-08T02:51:41
2018-09-03T16:56:43
Python
UTF-8
Python
false
false
3,271
py
""" Django settings for pympack project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os #...
[ "walterc316@gmail.com" ]
walterc316@gmail.com
7802429f9b84282a88de994e58ed34b0925e0b40
6c37be61fb4da574f85d359ff077a07ea5332bcd
/ChatBot/ChatBot/ChatterBot Demo/Basic Version.py
e4a1de5763e65309dac92a3070ae5b755148a643
[]
no_license
ArvinRoad/Artificial-Intelligence-study
8c8ec59d8988a4caaec28e89ffb85387ffffdafe
cd32d0096749a2dac3cf2b027502f86a776c6859
refs/heads/main
2023-08-17T22:45:36.708501
2021-10-21T18:13:10
2021-10-21T18:13:10
356,546,971
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
# -*- coding: utf-8 -*- from chatterbot import ChatBot # 构建ChatBot并指定Adapter bot = ChatBot( 'Default Response Example Bot', storage_adapter='chatterbot.storage.JsonFileStorageAdapter', logic_adapters=[ { 'import_path': 'chatterbot.logic.BestMatch' }, { 'impor...
[ "53329456+ArvinRoad@users.noreply.github.com" ]
53329456+ArvinRoad@users.noreply.github.com
ccbc9274839f4d29a2a6306498aa6a3beb9e8ef3
1289329a4b29d88b32e5fcb40dbf01ff97f497e9
/main.py
eb40487f28d59c2c797f2b144e4791ad3ebc67c7
[]
no_license
chingchengWan/segmentation_of_word
e6951d22263b67070d5311a4651d5b367651362d
c7f5fffb515e2d40de1ff2c08adf61096d612f2b
refs/heads/master
2020-07-31T10:55:42.975103
2019-12-29T16:16:14
2019-12-29T16:16:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
from flask import Flask, request, render_template, redirect, url_for import re import json app = Flask(__name__) @app.route('/', methods=['GET', 'POST']) def search(): if request.method == 'POST': target = request.values['keyword'] file = open('/Users/wan/segmentation_of_word/ans_file.txt','r', ...
[ "noreply@github.com" ]
chingchengWan.noreply@github.com
83d1e632543bd97a4fb84fc4b236b76ed95377cb
97bf4b0653f3c3de13e23ac914c11ec6abf204a2
/Etcd_py/adn_readSspvm.py
4086a39ed0f6b5e46f2e943c7b89a226fc987f72
[]
no_license
riliangxing/Etcd_py
431d1fd3fe81ada500efa61be50f28c1145964d9
acc4c59acb32d7648db62f5f3fcb92a23f37d180
refs/heads/master
2021-01-12T10:42:03.993536
2016-11-02T11:37:23
2016-11-02T11:37:23
72,633,551
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
from adn_checkSsp import _checkSsp from adn_checkSsp import _getSspVm from adn_checkSsp import dir from adn_checkSsp import sspnameArray from adn_checkSsp import _getSsp def _getSspVms(): SspVms = {} if(len(sspnameArray) > 0): if(sspnameArray[0] == "all"): ssps = _getSsp(dir) fo...
[ "wb-xrl232180@alibaba-inc.com" ]
wb-xrl232180@alibaba-inc.com
f975d0b27270d50058e8a7590da45e5eef35b251
c24298b258055df330336aad5b92785a12a120e2
/data/rawDataToCsv.py
a03c90d6e467b2b26bb46cfeeda28e40ef3485d3
[]
no_license
sahilmgandhi/FreeThrowClassifier
b1879fee43e97490969cdf7815375d144ebc215c
41da3cbbb088463dd032eabbaae23c3824ffc2ac
refs/heads/master
2020-03-17T07:50:16.959580
2018-06-17T20:22:32
2018-06-17T20:22:32
133,414,657
0
0
null
null
null
null
UTF-8
Python
false
false
2,759
py
import numpy as np import matplotlib as plt from sklearn import linear_model from sklearn.model_selection import train_test_split import pandas as pd # Change the name here sheetMap = pd.read_excel('normal_shot.xlsx', sheet_name=None) # Now you can list all sheets in the file # print(sheetMap.keys()) wristData = {} e...
[ "sahilmgandhi@gmail.com" ]
sahilmgandhi@gmail.com
cc888f0656c9c2e5a9dd9321ccbfd11f5faf1447
1c099518cfa5843928763854e6c231d435fc25f4
/deepfake/line_sampler.py
06ca1ce73a4e68885557c2bf30dc3197a429ce1a
[ "CC-BY-2.0" ]
permissive
poke53280/ml_mercari
b3cdda6d53fc4e0f2fca93d9a0ea0231f205ad69
f01ff6c1ca3f341e57c769e06abb136a044c9f74
refs/heads/master
2021-06-02T06:21:57.211262
2020-10-11T12:08:58
2020-10-11T12:08:58
114,643,388
0
0
null
null
null
null
UTF-8
Python
false
false
2,420
py
from mp4_frames import get_output_dir from mp4_frames import get_part_dir from mp4_frames import get_video_path_from_stem_and_ipart from mp4_frames import read_video from image_grid import _get_bb_from_centers_3D from image_grid import GetSubVolume3D import numpy as np import pandas as pd import cv2 from multiproc...
[ "anders.topper@gmail.com" ]
anders.topper@gmail.com
001a991cc4ff599180b6490c8b889c8714b25142
5e47615e6b7f5105b0a1cf0c0f29734d5f6b1be1
/src/make_moves.py
7653fbb7b4b691201754df1ac8055a043ee4a3e3
[]
no_license
palenz/maze_solver
dc0cd08ca9d81cedffb1a3d77afd367c0a92bb48
f49114fb6c34ff2e21d70d32be5adfafc58498cc
refs/heads/main
2023-04-10T04:38:36.409642
2021-04-21T10:45:56
2021-04-21T10:45:56
360,132,079
0
0
null
null
null
null
UTF-8
Python
false
false
6,298
py
import requests import json from game import Game, url # Returns true if domo is one or two steps ahead def domo_ahead(game, first_move, second_move): next_block = position_calculator(game, first_move, game.pony_position) two_ahead = position_calculator(game, second_move, next_block) return game.domokun_po...
[ "jpalenzuela@outlook.com" ]
jpalenzuela@outlook.com
d81f4f6abd7994a713c18cfc3e930cacbd78ec3f
bd555f64088b9698a8335bb0d66149f02c843b16
/modules/migrations/0001_initial.py
02b2e2ffe92281b357756bc4aaf1be693893b3d2
[]
no_license
gretkierewicz/dissertation
eabd0ac10d1c8cd102ceb49d6c4ff94ad45a9291
57545b82b0e4d9b16334eaf16c2f0e1bdb6f3ece
refs/heads/master
2023-06-04T10:39:05.182020
2021-06-23T20:10:46
2021-06-23T20:10:46
311,950,776
2
0
null
null
null
null
UTF-8
Python
false
false
1,783
py
# Generated by Django 3.1.3 on 2021-06-23 20:03 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('schedules', '0001_initial'), ] operations = [ migrations.CreateModel( name=...
[ "piotr.gretkierewicz@gmail.com" ]
piotr.gretkierewicz@gmail.com
68ee63b1b259a3d9777bde8e104791dc49f52f81
214216dbf7d84cc7b1d50e281faec14435d17708
/PyEMD/EMD.py
de0af69b39aefd048af2a0d988596a7068ccd491
[]
no_license
hedgefair/PyEMD
9e84d123dd81444c9e449454111f70cf240116d1
6248f85a12e26d59147a34524fec48e84f6822e4
refs/heads/master
2020-12-03T00:34:44.460321
2017-06-13T05:35:00
2017-06-13T05:35:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,454
py
#!/usr/bin/python # coding: UTF-8 # # Author: Dawid Laszuk # Contact: laszukdawid@gmail.com # # Edited: 07/06/2017 # # Feel free to contact for any information. from __future__ import division, print_function import logging import numpy as np import os from scipy.interpolate import interp1d fro...
[ "laszukdawid@gmail.com" ]
laszukdawid@gmail.com
df8f72f59e79a29fcf54fef95a406b4bea46673c
7a43aaec2bd9d5253140b0f72d9497d39bef0b64
/tests/__init__.py
fac8036076a11c0395797da95b332a29b09b7338
[ "MIT" ]
permissive
gummybuns/cerami
92785dc7cd4c802c73c38cad0895896cd2e22099
e97c0baa42c4bdfb10bbe3b4b859873e3d50aa3a
refs/heads/master
2023-08-29T22:22:28.909170
2021-10-17T17:25:00
2021-10-17T17:25:00
246,976,408
0
0
null
null
null
null
UTF-8
Python
false
false
22
py
from .cerami import *
[ "zmb1391@gmail.com" ]
zmb1391@gmail.com
4b56ab7cc00d775efc6d4bee863ef43a526f7760
7290df6b7b374e8eba076f9f221e1bd397408a06
/photoboard/tests/test.py
b0ce5df3fb7c71f4fde1e8e6183a323e68381800
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
teriyakichild/photoboard
ab7ee65db03194749723ae8e9b57f7045174e494
837d69875a775b765ea01269a9ff4e6b76956fb5
refs/heads/master
2020-05-04T21:52:10.146597
2014-06-11T01:45:55
2014-06-11T01:45:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
from backend import photos, boards p = photos() #print p.new('asdf',1,1) print p.get(1) b = boards() print p.all(1) print b.get(1)
[ "tony.rogers@rackspace.com" ]
tony.rogers@rackspace.com
d1c0283dbbd07a685621aecc3bcb1b520e23bc80
ffad717edc7ab2c25d5397d46e3fcd3975ec845f
/Python/pyesri 2/EXAMPLES/sequence_operators.py
805cd4fd7825ef7dbbf784c7fcaae6de25d43cbb
[]
no_license
shaunakv1/esri-developer-conference-2015-training
2f74caea97aa6333aa38fb29183e12a802bd8f90
68b0a19aac0f9755202ef4354ad629ebd8fde6ba
refs/heads/master
2021-01-01T20:35:48.543254
2015-03-09T22:13:14
2015-03-09T22:13:14
31,855,365
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
#!/usr/bin/python colors = ["red", "blue", "green", "yellow", "brown", "black"] months = ( "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ) print "yellow in colors: ",("yellow" in colors) print "pink in colors: ",("pink" in colors) print "colors:", ",".join(c...
[ "shaunakv1@gmail.com" ]
shaunakv1@gmail.com
1c6bb1ac916d6d185e810dbe859a21cf287afe47
801125b61d11a4c1d519cbc77dd96f478678f372
/Parlett-Reid.py
e81ae3f70aecf955fc6166c7053a1e840c6117af
[]
no_license
alex9609/Analisis-Numerico-Copy-
0956f594e489ef07ecf969b4dfcda10c0ecf83f5
2a3cdc771c39471e22b7cec1aed49d5fb45c862c
refs/heads/master
2023-03-23T23:32:05.310942
2020-06-05T07:40:52
2020-06-05T07:40:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,780
py
# Librería numpy import numpy as np from time import* import math import os import csv def mulVector(A,b,n): v=[] for i in range(n): v.append(sum(A[i][j]*b[j] for j in range(n))) return v def mulMatrices(A, B, n): M = [[0 for f in range(n)] for c in range(n)] for i in range(n): for j in range...
[ "noreply@github.com" ]
alex9609.noreply@github.com
f19b9dea2cdbf9d1ae985214ba886a130f688479
ccc717f01d8ef6fcdbd16933213ad15f2d72d60c
/app/models.py
0375fc6c9a7f81f5e9825dcf3c1b375beb2bb435
[]
no_license
benpmeredith/NSSD-app
b910fad3e86fa3baa56686de322567498e247da4
6c9f35bfd180025059521d43beb0e0693e5c26f0
refs/heads/master
2020-04-14T16:47:24.517308
2018-02-14T06:53:15
2018-02-14T06:53:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
"""Define models for storing user data.""" from app import db import datetime class Search(db.Model): """Search persistence model.""" id = db.Column(db.Integer, primary_key=True) user_id = db.Column(db.String()) search_string = db.Column(db.String()) datetime = db.Column( db.DateTime, def...
[ "ryantlee9@gmail.com" ]
ryantlee9@gmail.com
89892adafba422b3323e71df969dc9751b91ce37
2e893c59ad8adc85d3421a4a20b23ed3bb8e748e
/mobet/mobet_app/migrations/0004_auto_20200512_0205.py
f3f81ad41b5bae65c5fb4306c7caa60895c0e3a5
[]
no_license
dlwlgjs132/mobet_server
b73e8775ebdcc0bac0eb07e1268eaacbb28e1fc2
2ac1d0b006e5f674821b9e91f2de2d6bfd3c5d1a
refs/heads/master
2022-09-11T15:11:47.628055
2020-06-01T09:38:16
2020-06-01T09:38:16
268,480,263
1
1
null
null
null
null
UTF-8
Python
false
false
411
py
# Generated by Django 3.0.5 on 2020-05-12 02:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mobet_app', '0003_remove_user_imei'), ] operations = [ migrations.AlterField( model_name='user', name='PHONENUM', ...
[ "dlwlgjs132@naver.com" ]
dlwlgjs132@naver.com
dfcd5824ecd123f52783b26c5ed7ada99ea3bb2a
a803c82161b0d74780e9adf2257e6b56f7ad2c14
/POO/encapsulamento/main.py
69de886891be4bf4e2632130dc23c1145b678c1e
[]
no_license
ArondevIta/curso-python
83b9c7e998b753ff8a74bb2ccd1893e356aacf67
5d5519654f166d8e7b27a1f71d48acac6bdd723e
refs/heads/master
2022-12-25T14:02:47.669450
2020-09-17T23:30:02
2020-09-17T23:30:02
295,863,868
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
class BaseDeDados: def __init__(self): self.__dados = {} @property def dados(self): return self.__dados def inserir_cliente(self, id, nome): if 'clientes' not in self.__dados: self.__dados['clientes'] = {id: nome} else: self.__dados['clientes'].u...
[ "aronamaral@gmail.com" ]
aronamaral@gmail.com
733a87559ba5236c55ce878f99afa55fac739206
e8ea4a4af4c5b2e237c372dc56b14026a3d0fa8c
/stack.py
b0f208e91384256fa605dbb889a62f9c51085f26
[]
no_license
ProArif/Python-Data-Structures
ca5233687a17a7c0deb59015a1efba37c5f2cbcd
e2c72a118f72372335a322978bbab6a4ca68fcb4
refs/heads/master
2020-05-01T05:08:28.877351
2019-03-27T17:57:55
2019-03-27T17:57:55
177,293,167
1
0
null
null
null
null
UTF-8
Python
false
false
935
py
class Stack: def __init__(self): self.stack = [] def add(self,value): #add value in the stack if value not in self.stack: self.stack.append(value) return True else: return False def peek(self): #View element at to...
[ "noreply@github.com" ]
ProArif.noreply@github.com
bebed8fe4197ea43a2d1a8fd55cf0e5235c8326a
41f1094515257458849228ac5b026b34c4a7814b
/bind/python/example.py
61181ed59d1a9501a71829e25b58d6c62ee16931
[]
no_license
srsem/fix_parser
db98f4adb9edf96f75cf07555ce3b89f490184e2
91b19abf724c854bf2f7f5b03b412f6c7c69a536
refs/heads/master
2023-06-05T05:27:29.223559
2021-06-26T01:51:30
2021-06-26T01:51:30
380,391,469
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
from fix_parser import * from fix_fields import * p = FixParser(b"fix.4.4.xml", PARSER_FLAG_CHECK_ALL) print("PROT VERSION = {0}".format(p.getProtocolVer())) # create Exec Report m = p.createMsg("8") # check its params print("MSG TYPE = {0}".format(m.getType())) print("MSG NAME = {0}".format(m.getName())) # fill mess...
[ "dmitryme@gmail.com" ]
dmitryme@gmail.com
5065cf76c38d0a632bff95fee81618ee568bade6
0ec65a65935e877dec4fe97ff9b9422eee1b0d74
/installer.py
468708a0518c911dfce8d2f35196f4101398872b
[]
no_license
kuifye/-python-
48f438a9a5bac340175212810e2e8a7c89b6e5ec
26c2d2793901c611c498fe475d0e7af67e71de46
refs/heads/master
2022-11-02T21:45:19.345657
2022-10-18T12:30:00
2022-10-18T12:30:00
266,112,124
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from PyInstaller.__main__ import run # -F:打包成一个EXE文件 # -w:不带console输出控制台,window窗体格式 # --paths:依赖包路径 # --icon:图标 # --noupx:不用upx压缩 # --clean:清理掉临时文件 if __name__ == '__main__': opts = ['-F', #'--paths=D:\\Program Files\\Python\\Lib\\site-...
[ "noreply@github.com" ]
kuifye.noreply@github.com
7917878c65d45f8c8695a604d021cbc8f6a8cbd8
68a52ad1df836c9f6d922515b2f896b6928ce6a0
/SafetyProductionSystem/SafetyProductionSystem/urls.py
8b569622a45638f563c0605df75fb3b870cccf20
[]
no_license
Chuazhen0/SafetyProductionSystem
1141f845e04b032ff2a230c8def26066f061600c
442d5df3818d43aebb9830f2456c73018aae2acf
refs/heads/master
2020-05-20T12:47:46.365020
2019-05-08T09:56:01
2019-05-08T09:56:01
185,579,244
0
0
null
null
null
null
UTF-8
Python
false
false
2,727
py
"""SafetyProductionSystem URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/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='h...
[ "Caohuazhenrn@163.com" ]
Caohuazhenrn@163.com
9804f5a0d87e2460671de352627e37ed3849b111
9b32e4f0364d7299d44dde82dae2c785cea4accd
/python/q10.py
927bf2ae7a116d6e629dfce05fbc613df9f790fd
[]
no_license
kyamaguchi/nlp100
59dc92b1f8900fb335565d7e37713995e3e78dd9
4b91454f5c20d3eef11ba48e4bf3a66cdcc7bf9a
refs/heads/master
2020-05-25T07:06:58.531070
2019-06-05T07:29:47
2019-06-05T08:20:07
187,678,700
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
#!/usr/bin/env python def question(): print("10. 行数のカウント") print("行数をカウントせよ.確認にはwcコマンドを用いよ.") import subprocess res = subprocess.check_output('cat hightemp.txt | wc -l', shell=True, universal_newlines=True) def main(): print(len(open('hightemp.txt').readlines())) print(res.strip()) if __name__ == '_...
[ "kzh.yap@gmail.com" ]
kzh.yap@gmail.com
3ec0c53be633c875cc471cd7a3a2712128f74189
893925888bff43d4a2681d8def70474234a05f59
/Scans/MACrossOver/Day100SMACrossDay200SMAFromBelow.py
3ded375a175fe4e87ed4c494de09d279de61e095
[]
no_license
webclinic017/Burrito
05fbfade564a2855a08f7f7975b7094ed1bdc491
086d4d4632e53695e1f43b4efe61c318704936cc
refs/heads/main
2023-07-12T08:38:54.847707
2021-08-15T07:40:40
2021-08-15T07:40:40
460,657,475
1
0
null
2022-02-18T00:38:57
2022-02-18T00:38:56
null
UTF-8
Python
false
false
1,283
py
import os.path import start import pandas as pd from Scans.MACrossOver.MACrossOverScan import isMACrossOver from Scans.Scan import Scan import Constants projectPath = Constants.ProjectPath class Day100SMACrossDay200SMAFromBelow(Scan): def __init__(self): pass def isCriteriaMet(self, symbol, candleSi...
[ "dhariwal.mohit9@gmail.com" ]
dhariwal.mohit9@gmail.com
0ba14538001baa0239a52b99643b728a1603f9bf
c2b8adb8b4062a14bfc7d8c8fa2938359530e028
/mfes/evaluate_function/eval_sys_mv.py
9e758009dcb744cd3338767496cf3339a1ee76f9
[]
no_license
thomas-young-2013/hp-tuner
1e7d277f3c0135b9032884e3f20b050f19012918
e606569719a14d8445633e42aedc8296a63a577a
refs/heads/master
2023-04-15T08:41:02.514912
2020-09-14T13:23:55
2020-09-14T13:23:55
225,173,361
0
2
null
2023-03-24T22:31:25
2019-12-01T14:17:29
Python
UTF-8
Python
false
false
402
py
from __future__ import division, print_function, absolute_import import os import sys from functools import partial sys.path.append(os.getcwd()) from solnml.datasets.utils import load_train_test_data from mfes.evaluate_function.sys.combined_evaluator import train as _train train_node, test_node = load_train_test_dat...
[ "459240868@qq.com" ]
459240868@qq.com
476ef2de7ac6276e12e24a4f0a01f5f5313822c1
949d8f2b9c91194ef75864fd1759902ef76ce770
/aa.py
8bc89b358efd5c841a23155c5ad28f25a961ff67
[]
no_license
panchengl/yolov3_prune
8c4508b8b74fbd0f9a43743acc8bf75c687f99c2
9016e5efa63ffe17801c4e8c0892743f8cb48834
refs/heads/master
2020-08-22T06:09:11.719678
2020-03-31T07:23:02
2020-03-31T07:23:02
216,334,325
14
2
null
null
null
null
UTF-8
Python
false
false
4,603
py
# a =[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 15, 16, 17, 18, 22] # b = 0 # new_shortcut_list = [0, 0, 0, 0, 0] # new_shortcut_list_2 = [0, 0, 0, 0, 0] # # if 0 in a: # new_shortcut_list[0] += 1 # if 1 in a: # new_shortcut_list[1] += 1 # if 2 in a: # new_shortcut_list[1] += 1 # if 3 in a: # new_short...
[ "2943499076@qq.com" ]
2943499076@qq.com
839021b7c49f18913e28af75bad62f784ba5507c
99dcb18a9e3ea367272f740b8cbf3c34285a0c08
/tests/unit/aiplatform/test_pipeline_based_service.py
f7516714623b2b495b8d567b850c7b62006ddd59
[ "Apache-2.0" ]
permissive
googleapis/python-aiplatform
926a4873f35dbea15b2fd86c0e16b5e6556d803e
76b95b92c1d3b87c72d754d8c02b1bca652b9a27
refs/heads/main
2023-08-19T23:49:02.180075
2023-08-19T13:25:59
2023-08-19T13:27:27
298,017,988
418
240
Apache-2.0
2023-09-14T21:08:33
2020-09-23T15:43:39
Python
UTF-8
Python
false
false
21,933
py
# -*- coding: utf-8 -*- # Copyright 2022 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...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
a143f17f146e06bb8ade6dc3f16b63d24cb99ff9
07214da96a1dfa6bca6d84a4621efcd8a7ffa6ab
/venv/Scripts/easy_install-3.6-script.py
7bf61d6c077b4df38e305c86c56a7c13b70b2fde
[]
no_license
jonys1994/scripts
027a45a5672ff3d8e1888f434f1a4a52699cb3f2
cf934e45df248892362f3b326225a0d7955bafd9
refs/heads/master
2020-03-23T19:06:33.206784
2019-01-18T11:49:31
2019-01-18T11:49:31
141,953,518
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
#!C:\Users\ShineMo\PycharmProjects\scripts\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.0.1','console_scripts','easy_install-3.6' __requires__ = 'setuptools==39.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "xiangp@shinemo.com" ]
xiangp@shinemo.com
3faa1755d2e00628d1dd9f0b9f8cdd32cd5462a2
f15d66277991bbb1c5adaf2387570426b02d2aa6
/codingEncryption.py
c6c29babd6812448ad237a919011b5850ecd7e40
[]
no_license
nataliaEscobar/Girls_Who_Code
2e0e8b803a746844779bc29bc975c92582220c19
d2136758d32f57b91b5d8992874b4562683e95ab
refs/heads/master
2020-12-03T03:59:44.434355
2017-07-14T22:45:27
2017-07-14T22:45:27
95,800,220
0
0
null
null
null
null
UTF-8
Python
false
false
1,592
py
#GLOBAL VARIABLES codeWords = [] realWords = [] #FUNCTIONS def createCodeWords(): codingWords = True while codingWords: print("Would you like to add a word to your code? (y/n)") answer = input().lower() if(answer == "y" or "yes"): print("What is the real word ...
[ "noreply@github.com" ]
nataliaEscobar.noreply@github.com
a341e8165f551618582e8bd6730337355be1684b
049911b1272653a3f44f0bfbd21c3ec5883775a9
/exercicios/2-6.py
5724d40dbd045950d8a18b198f1a5b07b8e5166f
[]
no_license
jhoonb/III-JTI-MS
da0470404d8e167df9a44c51d1218e086478ede2
cfcedd95348b44d45f26294a2d63327bd5edc89c
refs/heads/master
2016-09-06T06:49:06.649975
2014-11-13T18:00:38
2014-11-13T18:00:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,096
py
# 6) Faça um programa que simule uma calculadora simples, # informe qual operação: +, /, %, -, * # logo após informe dois valores, retorne o valor dessa operação. def soma(a, b): return a+b def sub(a, b): return a-b def mul(a, b): return a*b def div(a, b): if b != 0: return a/...
[ "jpbanczek@gmail.com" ]
jpbanczek@gmail.com
e4d17180e87356c886b83e79634455b68f5b9bfe
54bc958af18564f07498e6603a0ea875c938b587
/Advent_of_Code_2016/12.py
85a75bc46863d48fd6271ed472722da266414e15
[]
no_license
drathke924/userscripts
8a07657f81974567b2776fe004f506bb5abcea6c
6de664a3becdf9846b5293fefde7e11d03bc6252
refs/heads/master
2022-12-24T14:38:13.580792
2022-12-15T23:25:57
2022-12-15T23:25:57
76,170,533
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
from time import time start_time = time() with open("12.txt", "r") as f: data = f.read().splitlines() def findReg(reg): i = 0 while i < len(data): line = data[i].split() if line[0] == "cpy": try: reg[line[2]] = int(line[1]) except ValueError: reg[line[2]] = reg[line[1]] elif line[0] == "jnz": ...
[ "alpha.zero924@gmail.com" ]
alpha.zero924@gmail.com
d86ef06603d9b162c2f8c9f7d23458b983808203
10d98fecb882d4c84595364f715f4e8b8309a66f
/persistent_es/plot_toy_regression.py
e7888a7de3c7a5d525314fe775497b91f0625aa7
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
5,719
py
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
276475239f152aff88af8db3c953385c75d8eec9
4bbfd93fd76e68cfd69e8908d17f275fb9416a76
/test/common.py
d51fe06cc8433a16f4c802d5f596fa91159f3548
[ "Apache-2.0" ]
permissive
yunsukim86/language_model_sockeye
4aecc9521f674e24b3b7bc432311ed2bae5325e3
74883db1e5b45ae37a97401fa16634ab0f94698d
refs/heads/master
2022-01-05T08:51:59.264969
2018-06-18T07:27:16
2018-06-18T07:27:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,700
py
# Copyright 2017 Amazon.com, Inc. or its affiliates. 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. A copy of the License # is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file acc...
[ "tran@i6.informatik.rwth-aachen.de" ]
tran@i6.informatik.rwth-aachen.de
60a2ec58deba6a1dc051a8bc0b9be5886e4c99a7
64d1211404c89da4e09d77d859f2cdf6609a057e
/models/official/nlp/train_ctl_continuous_finetune_test.py
45aa308403b8bb2e3eb86771ad459312e88c0916
[ "Apache-2.0" ]
permissive
Nerfertili/Deep_learning_learning_udemy
f375209e0675ab8f4da9551d8a5bdee4f2948ed8
0fe6c1f36019b29151acb17a1f248b34d6089aeb
refs/heads/master
2023-02-17T10:10:52.536426
2021-01-19T02:48:23
2021-01-19T02:48:23
330,823,730
0
1
null
null
null
null
UTF-8
Python
false
false
3,196
py
# Lint as: python3 # Copyright 2020 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 # ...
[ "leal.afonso@outlook.com" ]
leal.afonso@outlook.com
bf52ca5f4007c17ab8c7804bf69009ab397da25b
e888ca363d84f58ac7128d4ad8a1c54b1ff8555c
/tools/c7n_kube/c7n_kube/resources/core/volume.py
a14c868dc2893d4084518afcd8215a75694e3e58
[ "Apache-2.0" ]
permissive
ksteigerwald/cloud-custodian
9f455e0a401f91e2d56302a4b95d173ead4b1b82
b5af4d66fd303579250214082d7ed3e7f4f5ab79
refs/heads/master
2020-03-27T19:30:20.544001
2019-02-26T11:05:37
2019-02-26T11:05:37
146,993,589
1
0
Apache-2.0
2018-09-01T11:42:20
2018-09-01T11:42:20
null
UTF-8
Python
false
false
1,163
py
# Copyright 2019 Capital One Services, 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 agreed to in...
[ "noreply@github.com" ]
ksteigerwald.noreply@github.com
c3827c6deb502162f773d367c141c37b57bbb1df
d03aba5cdefa68cc375cd7c5ad5214bb1f41328e
/python/searchCrawler/App.py
310576152c11735869d03abcd0ecea3366d06826
[ "Apache-2.0" ]
permissive
TeamTitanz/Word2vecLegalDocumentRetrieval
75a2a06d4c456f40dc6603d5c4cf0b5f5c896c51
d7b8c88cc42f3fdce8926abee0c662632f9597f9
refs/heads/master
2021-01-25T06:49:12.580150
2017-09-22T09:08:46
2017-09-22T09:08:46
93,614,783
0
0
null
null
null
null
UTF-8
Python
false
false
3,102
py
from selenium import webdriver from selenium.common.exceptions import WebDriverException, NoSuchElementException, StaleElementReferenceException from selenium.webdriver.common.desired_capabilities import DesiredCapabilities from bs4 import BeautifulSoup import config import time driver = None sleep_time = 1 caseURL = ...
[ "buddhiayesha.13@cse.mrt.ac.lk" ]
buddhiayesha.13@cse.mrt.ac.lk
093732790e4b2c8635b724e49bb6bdab7dceb469
3f9da25e18b9728ec832dc51ac6477d52cd65f58
/blog/migrations/0001_initial.py
f90aca9c6c7dddfebe0896073486eabc6b7d463d
[]
no_license
rachelconnor/my-first-blog
53651d57ca2460552888c533052839668c9fd2a2
72d56c7ebe467e29192a5ae26c57fb538ca517c6
refs/heads/master
2021-01-23T13:16:44.593151
2017-06-03T14:38:02
2017-06-03T14:38:02
93,239,050
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-06-03 13:37 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depe...
[ "rachconnor@hotmail.com" ]
rachconnor@hotmail.com
333b9e5c7b90c01830816f1cadd469fbec6bcaec
7235deb273d66561d409338d00f6e404c67a8a16
/checkout/views.py
03486986f63d8932c1b0d168fc64ee291262bc4f
[]
no_license
redlik/django_sportclub_m4
b4839e33b3ebf79c7e89f09aa00e2bc79ca6b003
24dda251821a0138a6bcf3325335c65b676008e7
refs/heads/master
2023-02-07T00:34:08.501911
2020-12-31T07:36:17
2020-12-31T07:36:17
285,994,067
0
1
null
null
null
null
UTF-8
Python
false
false
6,727
py
from django.shortcuts import render, redirect, reverse, get_object_or_404, HttpResponse from django.views.decorators.http import require_POST from django.contrib import messages from django.conf import settings import stripe import json from .forms import OrderForm from .models import Order, OrderLineItem from profil...
[ "ralphr@outlook.com" ]
ralphr@outlook.com
cdba20bfe148ff4fafae0bdf0cd76f543d590cb8
50b2f16f0fcd2d0f1b54471dcc9604e87b401b25
/core/lib/datetime_converters.py
f1627c6c8cfc4f6ce7bb39fa811df0832cabee5b
[]
no_license
nickmatsnev/CRMCars
cf5ca47f5adce8e951386f2bad5d58305a638443
f99ccfa392ac5769b707239ac73ab0fdeb010d8a
refs/heads/master
2023-08-03T14:15:36.253308
2019-08-23T21:02:47
2019-08-23T21:02:47
411,224,903
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
from datetime import datetime from core.lib.constants import BASE_DATE from core.lib.constants import BASE_DATETIME def datetime_converter(input): if input is None: my_datetime = BASE_DATETIME else: my_datetime = input ret = datetime.strptime(my_datetime, '%Y-%m-%d %H:%M:%S') return r...
[ "moalexv@mail.ru" ]
moalexv@mail.ru
2e69daa7c245f25b1a0ca826480e3e6a788c0129
3ca33805ab72db091c27372d7e6e7f0d982d43cd
/argux_server/trigger/__init__.py
aa0eaa86d1e64a3ac54e60da716c73c2ff98f6ef
[ "Apache-2.0" ]
permissive
gitter-badger/server-4
f239abf489c0d4d716b269104abaf0af2f07a130
07b6d4d4c5f58f8259179426feac6bf8b40dea52
refs/heads/master
2021-01-21T03:22:26.550105
2016-05-25T10:32:38
2016-05-25T10:32:38
59,810,905
0
0
null
2016-05-27T06:47:33
2016-05-27T06:47:33
null
UTF-8
Python
false
false
941
py
"""Trigger Module for Worker-Class.""" from threading import ( Thread ) import time from sqlalchemy.orm import ( sessionmaker ) from argux_server.dao import DAO class TriggerWorker(Thread): """ TriggerWorker class. Evaluates all triggers and creates alert objects. """ def __init__(s...
[ "stephan@xfce.org" ]
stephan@xfce.org
336ed3e2e152a0f3a8a294dc2ecd0844ae2d4408
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/bps_cs22891-188/sdB_bps_cs22891-188_coadd.py
07aa8963d07237f7852743287c0b29cf1dfe6704
[]
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
447
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[293.160958,-60.760281], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_bps_cs22891-188/sdB_bps_cs22891-188_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVE...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
da5074200b2a4fd42fd0f6dbb7664cb97e9e57cc
fd12e9ad5a78be7cc10776ab4beb88c6c2cc37a8
/testproject/testproject/settings.py
088ec853dd549f523fd7c0218cfe62f9355f1866
[ "BSD-3-Clause" ]
permissive
squarepegsys/django-sass
5467752c70ef8c088a4609dc50d193390a27a769
3e5b59a5f7f79a283efa77ba1d6d189ce4b1abba
refs/heads/master
2022-11-27T05:18:49.491716
2020-08-01T19:31:16
2020-08-01T19:31:16
284,320,948
0
0
null
2020-08-01T18:55:48
2020-08-01T18:55:47
null
UTF-8
Python
false
false
2,619
py
""" Django settings for testproject project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import o...
[ "salvino@coderedcorp.com" ]
salvino@coderedcorp.com
98cc6ae66252911a9e33c16162428f6939d9e972
5705ea1ee285738a7176831d08707039977a1283
/mockserver/settings.py
3681ff27df14e5aca76a90e5416f542f39793c0d
[]
no_license
officina/vortice-mock
70d1c87734529210df5c30876d551a2c7e81f346
03cfdb68f17196abfa786e996c02bbbcb0171fac
refs/heads/master
2020-03-17T11:56:21.833831
2018-06-20T16:16:44
2018-06-20T16:16:44
133,569,638
0
0
null
null
null
null
UTF-8
Python
false
false
3,242
py
""" Django settings for mockserver project. Generated by 'django-admin startproject' using Django 2.0.5. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ from devic...
[ "andrea.maschio@gmail.com" ]
andrea.maschio@gmail.com
5d78979a0c009d521bcec91337e3895092584f07
48e58e60489ddaef6aa40c7ade5f5891269babe6
/lib/plotting.py
944e9e2cc5ed6b6ba4515babd5cfa41ce65d8c9c
[]
no_license
jsonbao/adults-dataset-machinelearning
7a552fd9f77074434380f1da4bbcfbec061aae3d
dd87d0a83fe357bd1474c8ea8160f0a77df42693
refs/heads/master
2020-12-29T00:59:10.237349
2016-05-02T04:24:20
2016-05-02T04:24:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,145
py
import numpy as np import matplotlib.pyplot as plt def bar_graph(title, name1,name2,name3, x_data,y_data, maxy=None,ylabel=None): #Create values and labels for bar chart values = y_data inds = x_data labels = [name1,name2,name3] #Plot a bar chart plt.figure(1, figsize=(6,4)) #6x4 is the aspect ratio for the ...
[ "yongbin999@gmail.com" ]
yongbin999@gmail.com
1dbbb51e92472953d51cab51bc50828513d980ab
7a3c7778855cca805aebd56bf9d4599ebcc3afb6
/overhead.py
a4e06d036fff72e2ba7b4bb7357d68790d64e794
[ "MIT" ]
permissive
hcooper/overhead
b95ed1afc86ba47c059bcdce82aef3c5183fcf1f
ddd73acd71ae375fb2b9206760fdf6da1e527852
refs/heads/master
2020-03-20T08:48:54.598092
2019-12-17T07:54:33
2019-12-17T07:54:33
137,319,394
2
0
null
null
null
null
UTF-8
Python
false
false
4,356
py
#!/usr/bin/env python3 import csv import json import re from typing import List import requests class Aircraft(object): """ Object to hold details of a particular aircraft """ def __init__(self, track, model, orig, dest, flight_no): self.track = track self.model_code = model self.ori...
[ "coops@fawk.eu" ]
coops@fawk.eu
63dc625a4015936f64d30995ee0d8ba96e695ffb
ff8bd1967aeb66ffec17c3ae78102c168414761a
/PythonIntroduction/FlowControl/For/sumofitems.py
a8ccfad115b90247fc45b425f5fb140b3c8e07b3
[]
no_license
charan2108/Pythondirectories
d5cbec41db0685bbfc41a3135edc3e41fd223474
30b4a9f9171fe2295efbf12cbf9cbcf88bdf29b3
refs/heads/master
2023-03-28T03:29:25.039491
2021-03-29T02:45:19
2021-03-29T02:45:19
352,484,535
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
product_cost = [1000, 3000, 5000] sum = 0 for i in product_cost: sum =(sum + i) print(sum)
[ "sumacharan.adabala@gmail.com" ]
sumacharan.adabala@gmail.com
1d13978884bc27abab748785e5b1509cb1d641ab
b0b904a2ac11f1e3e3e9c7f1832a262be4bf1120
/Raspberry Pi/Tests/test_obd2_stats.py
0e1aad24c3a4d76e09f955cb0080b41f276862eb
[]
no_license
aschuldhaus/SmartAVL
8e3ab6de852ecbae8529b3751f977974d32fd7de
6f2e3e5acc2a7cad890d97228d91f2affd8f21d7
refs/heads/master
2020-04-19T13:32:11.609947
2019-04-12T21:06:59
2019-04-12T21:06:59
168,220,068
0
1
null
2019-04-11T05:27:13
2019-01-29T20:04:34
Java
UTF-8
Python
false
false
1,475
py
# Unit tests for obd2_stats.py import unittest import can import sys sys.path.append("..") from obd2_stats import * class TestOBD2Stats(unittest.TestCase): def test_extract_speed(self): msg = can.Message(arbitration_id=OBD2_RESPONSE_ID, data=[0x06, 0x41, PID_SPEED, 0x19, 0x00, 0...
[ "snickerless1@shaw.ca" ]
snickerless1@shaw.ca
883acf8289e01f3d452d04feeb7202efdfcc7732
147b34b565341789530ece3a953dbdc16cbd6f66
/note/migrations/0010_auto_20191124_1026.py
76c8c1462de994e382477d67ed4bdbebb38da87f
[]
no_license
robakrobak/NOTE_APP
8bfdfb291fb092e4033190e21f7799ad3e88239d
e95c1ecb8c3e2bc3364cb83b17f7295aee7aa307
refs/heads/master
2023-08-09T10:46:19.440507
2020-03-14T19:09:04
2020-03-14T19:09:04
216,201,521
1
2
null
2023-07-22T19:12:38
2019-10-19T12:17:25
Python
UTF-8
Python
false
false
379
py
# Generated by Django 2.2 on 2019-11-24 09:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('note', '0009_auto_20191123_1513'), ] operations = [ migrations.AlterField( model_name='note', name='title', ...
[ "robakrobak@protonmail.com" ]
robakrobak@protonmail.com
39d4d774d2f72b80c2fc6dc86b1a82206de45e67
99f053c883bc610031c037fc1b038f41408acc7d
/cryptolite/keys.py
a6e7254bc563a764b716c3c03365e8027d4d1f3f
[ "MIT" ]
permissive
davidcarboni/cryptolite-python
55755f4d8ee31475670b92e2c3e741790e84cded
e40ce2f9584fdd9015caad9bf443a50201df743a
refs/heads/master
2020-03-14T17:58:35.238920
2018-05-02T17:37:28
2018-05-02T17:37:28
131,732,325
0
0
null
null
null
null
UTF-8
Python
false
false
7,070
py
""" Generates cryptographic keys. Key types --------- * Secret keys (either randomly generated or deterministic, based on a password). * Public-Private key pairs. How to use keys --------------- * Secret keys are used for encryption (see Crypto). * Secret keys are also used to secure other secret keys and privat...
[ "david@carboni.io" ]
david@carboni.io
3538b2cbe981187259b70a05a0484c14cde4e479
f04eed5e6c4499d22fb8e339667267aa59c8dfc7
/6.00.1x Files/ssss.py
557a28808dc8539dcba5391d3ddb6bb6e2877169
[ "Giftware" ]
permissive
shanjgit/previous-work
4ca7e29e231498891752307ba4b04c9726f0eb67
664cc40bd0b97e3adc10f551e18a4a7a62e5a760
refs/heads/master
2021-01-19T20:02:57.744302
2017-08-24T17:57:55
2017-08-24T17:57:55
101,217,213
2
0
null
null
null
null
UTF-8
Python
false
false
516
py
s = 'cqbauathqiqwovzvfx' a = 'abcdefghijklmnopqrstuvwxyz' l1, M = "", "" for i in range(len(s)-1): alph = s[i] beta = s[i+1] if l1 =='': l1 = l1+alph if a.index(alph)<=a.index(beta): l1 = l1+beta if i == len(s)-2 and len(l1)>len(M): M = l1 ...
[ "noreply@github.com" ]
shanjgit.noreply@github.com
3e778c892e35ddad7a0a39bc1c5cfc6b2b2aecfa
9228193701e92d841e2f2b6f56418cf561ecf159
/python/system.py
cecb157dc9094fa91594217db01890f9ee704237
[]
no_license
tberrueta/MPPI_Rat
6ff4f7302d6458ff7490478334edd7f0df66fba1
ccc6814c8fcd497bc3fc34629fba504c09003231
refs/heads/master
2023-01-01T01:43:26.801829
2020-10-24T15:15:49
2020-10-24T15:15:49
306,904,822
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
from utils import * def diff_drive(x,u): xvel = [u[0]*np.cos(x[2]), u[0]*np.sin(x[2]), u[1]] return np.array(xvel).flatten() def single_int(x,u): xvel = [u[0], u[1]] return np.array(xvel).flatten() def quadratic_objective(xvec,uvec,xdes=None,Q=None,R=None): if ...
[ "tberrueta@github.com" ]
tberrueta@github.com
9101fca3a8ea3a3c2c454d385594c8825fe66392
da865ba713a95ca0d4d900c974d6952661c5d24e
/exercises/spark/logistic_regression.py
3a90b948dddc24ab03ee9588287350719d152b08
[]
no_license
tonellotto/cloud-computing
7befe5f28ec7e6a61a00dec41c1c4168b79a0c9b
71d566f9a5ba18575f7de60638f9a2f6b5ba2bf7
refs/heads/master
2022-08-21T18:50:35.381207
2021-05-04T12:14:40
2021-05-04T12:14:40
253,494,101
14
15
null
2022-08-11T21:16:57
2020-04-06T12:41:43
Jupyter Notebook
UTF-8
Python
false
false
1,352
py
""" A logistic regression implementation that uses NumPy (http://www.numpy.org) to act on batches of input data using efficient matrix operations. """ import sys from random import random from operator import add import numpy as np ### We need to install numpy on all nodes with sudo!!!! from pyspark import SparkContext...
[ "nicola.tonellotto@gmail.com" ]
nicola.tonellotto@gmail.com
9b6b75c1c908ce3bb942074888acb287dbebe9ed
21f9090b4f6d6d73ccfd17f3982b75870bee4a57
/center_sys/account/form.py
58cb1e76110acaadcc79e508e952d7164d6fa96b
[]
no_license
tmars/DS_CW
a41aaf181518d4ba066fe33d90eaad4c84df6bcf
36ae1da8319c51988ad16975762d2a5d211ffeb2
refs/heads/master
2016-09-05T22:59:03.075915
2014-05-29T20:55:10
2014-05-29T20:55:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
#coding=utf8 from django import forms class LoginForm(forms.Form): username = forms.CharField(max_length=50, label='Имя пользователя') password = forms.CharField(max_length=50, label='Пароль') username.widget.attrs['class'] = 'form-control' password.widget.attrs['class'] = 'form-control'
[ "mtalipov@DD_MOS_IT_23.hcredit.local" ]
mtalipov@DD_MOS_IT_23.hcredit.local
e6ece6f7e93e27a090427560e839962053487eb3
15c5419733fd45a7798bf74b59e461da7866b391
/tutes-and-labs/week5lab-text_server.py
3bcb95abc1b5289e3be69bc751963e47f1778152
[]
no_license
Kennyhcto/cs1010-21t2
a7314632ed8b9924cb831a419c792e64fd1ea6cc
fae8ecc99a45bfcb08c943bcf4222fdcf974c7e1
refs/heads/main
2023-07-16T05:21:20.031026
2021-08-20T02:26:07
2021-08-20T02:26:07
398,131,492
0
0
null
2021-08-20T02:25:41
2021-08-20T02:25:40
null
UTF-8
Python
false
false
1,323
py
from flask import Flask, request from pyhtml import html, title, body, label, p, table, tr, td, strong, head, form, input_ import string app = Flask(__name__) @app.route('/') def main(): code = html( head( title("Text Server") ), body( form(action="analyse") ...
[ "s.mautner@unsw.edu.au" ]
s.mautner@unsw.edu.au
9f68b1dfa8525979e01314b634254a27ed0f300d
87fb1775654e4367820e7f421ab4e8e151b15a68
/utils/config_utils.py
b5e6f502f6b5f47f3e95e43481e6188eb910911a
[]
no_license
Walleclipse/AGPC
20dab082f9d4e30c2f06e6b06b6e8235561bea45
126bc75ca5dae1d60590d48ee4d071e7cdbd5077
refs/heads/master
2023-03-31T22:20:58.437731
2019-12-17T14:45:11
2019-12-17T14:45:11
189,249,804
35
7
null
2023-03-24T22:30:16
2019-05-29T15:13:48
Python
UTF-8
Python
false
false
3,785
py
def get_pcgn_model_config(config): encode_num_layers = config["encoder"]["num_layers"] encode_num_units = config["encoder"]["num_units"] encode_cell_type = config["encoder"]["cell_type"] encode_bidir = config["encoder"]["bidirectional"] attn_num_units = config["decoder"]["attn_num_units"] decode_num_layers = co...
[ "abduwali54@163.com" ]
abduwali54@163.com
c9c2a1f4c8d2769981c22ebce87a57a84cb69346
50d74779d4a89db7ed0cc0d08452a65a76f84e93
/directory_analyzer.py
2aee995593eb8413598c451b3d8b96b2f7e4419b
[ "MIT" ]
permissive
sayanm-10/py-modules
1db83f66a64b2127fa03c5756af7a42f57df2715
67a55f7650752bbe7b145510363b45cbb2b8f9cb
refs/heads/master
2020-04-02T22:43:14.140376
2018-10-26T20:30:38
2018-10-26T20:30:38
154,842,247
0
0
null
null
null
null
UTF-8
Python
false
false
2,058
py
import os from prettytable import PrettyTable def print_dir_summary(dir_path): ''' given a directory name, searches that directory for Python files and summarises - the file name - the total number of lines in the file - the total number of characters in the file - the number of Pyt...
[ "sayan.mukherjee108@gmail.com" ]
sayan.mukherjee108@gmail.com
beac57a4cdfe2c9cfb783294e1d1516bb67d8896
1b66eaff887c73b69a0ae6a0c498f211fb3dc44d
/DeepLearningNLP/tensorflowRNN.py
9bf917f40593dc529493eb16ec779b9352c374da
[]
no_license
oguzhanbbcn/DataScience
70f7f2bc61c25d8d9d3bfa4be1fdbc093e7fb45f
3ecb5b2507b263cf70f04e91256b52ebeed11226
refs/heads/master
2020-04-13T23:27:39.453786
2018-06-09T03:31:46
2018-06-09T03:31:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,494
py
from data_helpers2 import * import numpy as np from sklearn.model_selection import train_test_split import nltk from nltk.stem import WordNetLemmatizer import tensorflow as tf # from tensorflow.python.ops import rnn as rnn_module from tensorflow.python.ops.rnn import rnn as get_rnn_output from tensorflow.python.ops.rn...
[ "mevanoff24@gmail.com" ]
mevanoff24@gmail.com
39ee95e61f896ac11d87bc34295ff6fd9acef9e7
44209d963ee6f6fd87cbd558e9e3743c14e369b2
/voice2age.py
207a6731daa6c809da0003eb777e0109a2612b5d
[]
no_license
eseku/voice-to-age
0de01b8de025f2a1fa73ebc421deaf93891df8db
76f97594df2c0912918927d3eb2c55e367ee9eb7
refs/heads/master
2022-08-02T19:01:59.058927
2020-05-26T01:34:29
2020-05-26T01:34:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
import numpy as np import sys import os import sox import preprocess import scipy.io.wavfile as wav import numpy as np from mfcc import * from keras.models import load_model from keras import backend as K from keras.models import Model from collections import Counter def compute_mel_log(file_name): print (file_...
[ "joojoquartey11@gmail.com" ]
joojoquartey11@gmail.com
309c3e487ead949217892accd9a0b2e14f2e9918
f33b24766d1d2f4af54e9a0215eca81b4bc2d7db
/Implementation/divisible-sum-pairs.py
f69ac2e26b31c73a11160463d81d66c8f7272268
[]
no_license
Brkgng/HackerRank_Solutions
c5f07662ee7ef512fc9ad22ddb03fd9b25a8a7b2
23dcd7d7f8123cddea053460152186c206b7a8b0
refs/heads/master
2023-08-11T07:10:42.863443
2021-10-16T17:52:54
2021-10-16T17:52:54
383,604,992
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
#!/bin/python3 import math import os import random import re import sys # # # See the problem # https://www.hackerrank.com/challenges/divisible-sum-pairs/problem # # def divisibleSumPairs(n, k, ar): count = 0 for i in range(n - 1): for j in range(i+1, n): if (ar[i] + ar[j]) % k == 0: ...
[ "berkergng457@gmail.com" ]
berkergng457@gmail.com
67315c8bfa6224070d3c979ce9a8d29c7689d65c
905c3fafca1e3d44c50b812da87bbfd0fd340021
/ThresholdAdaptativo/threshold.py
aeb85233b76ba327d5cfb24626ef22b8ec2a02d2
[]
no_license
JCarlosSL/ComputacionGrafica
fce675a278e7b8c9b6e03123aad6fe66beb71e12
1f1984f7cb2ca6045b60394b6f7fbb67e5bde568
refs/heads/master
2022-11-09T18:11:21.767551
2020-06-30T06:46:24
2020-06-30T06:46:24
262,100,015
0
2
null
2020-05-22T06:46:04
2020-05-07T16:18:23
Python
UTF-8
Python
false
false
1,414
py
import numpy as np import cv2 as cv vecinos = [[1,-1][-1,0],[-1,+1], [0,-1],[0,+1],[+1,-1],[+1,0],[+1,+1]] """ vecinos=[[-1,-1],[-1,0],[-1,+1], [0,-1],[0,+1], [+1,-1],[+1,0],[+1,+1], [-2,-2],[-2,-1],[-2,0],[-2,+1],[-2,+2], [-1,-2],[-1,+2], [0,-2],[0,+2], [+1,-2],...
[ "jsonccolu@unsa.edu.pe" ]
jsonccolu@unsa.edu.pe
9f423f0d26cdec42b948eb0f8833483b203737d2
7e8592bb05c935472253146dedde903e350b0e73
/samples/polybench/deriche.py
8505bec3720f8ffa25aff05d4a3dc5088e25bf8a
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
1C4nfaN/dace
71d492c56a1947e9365e9294ee773963740966e0
4d65e0951c112160fe783766404a806b6043b521
refs/heads/master
2022-12-05T20:16:28.516525
2020-08-24T07:19:41
2020-08-24T07:19:41
290,365,799
1
0
BSD-3-Clause
2020-08-26T01:39:37
2020-08-26T01:39:36
null
UTF-8
Python
false
false
5,371
py
import math import dace import polybench W = dace.symbol('W') H = dace.symbol('H') #datatypes = [dace.float64, dace.int32, dace.float32] datatype = dace.float32 # Dataset sizes sizes = [{ W: 64, H: 64, }, { W: 192, H: 128, }, { W: 720, H: 480, }, { W: 4096, H: 2160, }, { W: 7680, ...
[ "talbn@inf.ethz.ch" ]
talbn@inf.ethz.ch
742a2b870de99651b62e2152aad6c01ba7a5846a
51153c560c0e0443415e08bd2be45419cd97b2c6
/manage.py
8f3a11fbcad74fa8207272abfe6997a6f7385bb9
[ "MIT" ]
permissive
gregschmit/django-pufsim
3b9c91bf87ba577e1739f48a3e52416e2365b37a
5578cdbd2ced5b897868ca6a84217f0843c1269b
refs/heads/master
2021-06-25T21:43:20.428504
2019-06-19T19:53:05
2019-06-19T19:53:05
145,260,609
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
#!/usr/bin/env python3 """ Proxy python3 script for the ``manage.py`` in the ``pufsim`` package. """ import os import subprocess import sys if __name__ == "__main__": # get this directory d = os.path.dirname(os.path.abspath(__file__)) # set the dev directory env variable os.environ["DJANGO_PUFSIM_DEVP...
[ "schmitgreg@gmail.com" ]
schmitgreg@gmail.com