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
c482974fcf95ec121c26800275426be227eee387
4cdc989c98a4217515456fc31c5bd622b2217be6
/sevenpro/messages/apps.py
4c403fc2847c5ba4325e0423b1648de344bcec4d
[]
no_license
mobillight/messagesApi
9346b52098e274cf1198131f040cabea5d9db24f
728f082db3756bb817c95dfa61cba7f3211016ac
refs/heads/master
2021-09-23T07:48:02.215101
2020-01-16T07:06:15
2020-01-16T09:16:27
234,257,355
0
0
null
2021-09-22T18:24:19
2020-01-16T07:07:45
Python
UTF-8
Python
false
false
150
py
from django.apps import AppConfig class MessagesConfig(AppConfig): name = 'messages' label = 'users_messages' verbose_name = 'Messages'
[ "alexey.babarykin@cruxlab.com" ]
alexey.babarykin@cruxlab.com
b956dcc45c3d0fef7b876d58b9ec71dc50767e7a
a65100d799656b196c1288dc0fa7e24b6ce81d27
/startsurvey/trash_forms.py
2f3eb674d756c5c64181d7918eecbd95e964e214
[]
no_license
ioo11/survey
a612f2baa9d5e824a2db0d98876235a8cf7846d8
6a038bdca78d806b5c4ee2bc1b612158f8b6eb8c
refs/heads/master
2021-01-23T02:05:51.555431
2017-03-23T15:16:47
2017-03-23T15:16:47
85,964,946
0
0
null
null
null
null
UTF-8
Python
false
false
3,466
py
from django import forms from .models import Test, Question, SelectedRadioAnswer class TestForm(forms.Form): def __init__(self, name='', questions=[], *args, **kwargs): super(TestForm, self).__init__() QuestionFormset = forms.formset_factory(forms.CheckboxSelectMultiple, extra=0) formset =...
[ "lexxtwolexx@gmail.com" ]
lexxtwolexx@gmail.com
2baddaf2ccdf5370fad87703959844be2213d220
3adce822439943250c1a1578cb9edd285bfaf0ce
/django/admin.py
2b714a93d575f6a4ffca341d23ba232790ad46b9
[ "MIT", "Apache-2.0" ]
permissive
resilientred/skaffold
feceb71acfa9183db2866f0c00904f4c6e00b38b
0d705d3907bc05e781141f62002a981683813658
refs/heads/master
2021-05-02T01:42:43.529831
2015-07-14T05:34:36
2015-07-14T05:34:36
120,873,685
1
0
null
2018-02-09T07:40:31
2018-02-09T07:40:31
null
UTF-8
Python
false
false
158
py
from django.contrib import admin import models {%% for model_name in all_models %%} admin.site.register(models.{{{ model_name|capitalize }}}) {%% endfor %%}
[ "dxdstudio@gmail.com" ]
dxdstudio@gmail.com
ec21a20054eb4224c7042040ebd63cd603f06293
f8f7f7a9cda48467690c91e576d5ed994fd36b4c
/build/moveit/moveit_ros/moveit_servo/catkin_generated/pkg.develspace.context.pc.py
d128c85b80c72738f8380cd6078e88342ce607b3
[]
no_license
sarthak-2019/ROS--Navigation-Perception-Identification-Pick-Place
cd7d5a0a46f418d8422d98903a4caf1ea45956ad
be462402874e5d07a6d553beb16ff7360efe0bd9
refs/heads/main
2023-06-10T11:19:57.172690
2021-06-30T05:51:09
2021-06-30T05:51:09
379,182,669
1
0
null
null
null
null
UTF-8
Python
false
false
782
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/sarthak/catkin_ws/src/moveit/moveit_ros/moveit_servo/include;/usr/include/eigen3".split(';') if "/home/sarthak/catkin_ws/src/moveit/moveit_ros/moveit_servo/include;/usr/include/eigen3" != "" else...
[ "sarthak2019fractal@gmail.com" ]
sarthak2019fractal@gmail.com
e4c869e731d1c53899e7bdd15cc1ce7582ade55a
0566cf76b456518875edecece15e763a36a4795f
/scrapers/seria_z_net.py
48bd9a16c5f04339b89321ef9bdf39120c202b3f
[]
no_license
theclonedude/Scraping_BeautifulSoup_phantomjs
684b1f7a993e0d2555daa7a5455cf19bd29b0b1b
faf653feae46c21a72d13b2123cdebdb2f7c05d8
refs/heads/master
2023-03-16T19:36:14.867361
2018-06-14T14:21:02
2018-06-14T14:21:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,086
py
# coding=utf-8 from sandcrawler.scraper import ScraperBase from sandcrawler.scraper import VideoCaptureMixin, SimpleScraperBase import re import json class SeriaZNet(SimpleScraperBase, VideoCaptureMixin): BASE_URL = 'http://seria-z.net' def setup(self): self.register_scraper_type(ScraperBase.SCRAPE...
[ "stryokka@gmail.com" ]
stryokka@gmail.com
92a8563bcdcdf2c93edc2aa07ae6e7ffd8119716
97b5af6650e391bd937d49c1580462dee990d4bc
/01_california_housing/single_feature.py
4e362816b95ddf209fcafa85a09df5fe87809c25
[]
no_license
ethaniz/tensorflow-the-master-way
67a293328cd62abdd82bf8ac7537f7e2e6f392a0
325fa5d00100d44f16bee76543dab2a2c76d0a85
refs/heads/master
2020-03-18T11:21:57.809957
2018-06-08T03:16:23
2018-06-08T03:16:23
134,666,748
0
0
null
null
null
null
UTF-8
Python
false
false
2,934
py
# -*- coding:utf8 -*- import math import pandas as pd import numpy as np import tensorflow as tf from tensorflow.python.data import Dataset from sklearn import metrics import matplotlib.pyplot as plt tf.logging.set_verbosity(tf.logging.ERROR) california_housing_dataframe = pd.read_csv( "https://storage.googleapi...
[ "ethan@yichendeMacBook-Pro.local" ]
ethan@yichendeMacBook-Pro.local
c8c18d9577748710661843f93193ab7a9256315f
84c59080e410c3b4af03f191f3964bb325f8bdc0
/tests/configs/int_alus_4/systems/cpus/MyO3CPU.py
f583542bdaa8da8374cad74fe5786de3e54fe251
[]
no_license
hlah/t2_orgb
daffea466c52a4986c68b4b3095eb7ed6f959266
209cc5268244ceea5c6fb6881b717b8b5efc2d97
refs/heads/master
2020-04-08T03:25:57.670644
2018-11-26T22:28:45
2018-11-26T22:28:45
158,975,408
0
0
null
null
null
null
UTF-8
Python
false
false
9,851
py
# -*- coding: utf-8 -*- ###################################################################### ###################################################################### ## ## Arquivo de configuração da CPU ## ## Inicialmente, define uma série de classes que vão representar as ## unidades funcionais. Nessas classes, descre...
[ "hlah_@hotmail.com" ]
hlah_@hotmail.com
1dc1b3c42fc07a6111c8afcd5ffc819647e66844
0d91f139b73b9151e3259d63393d24f18cf62e43
/listings/migrations/0001_initial.py
1444746d06c687eb47e8772ea5578ace9c18a604
[ "Apache-2.0" ]
permissive
fcurella/helpothers
ea117dac964d55bd06f299c0a1dec8d32baabd14
1c830a1ff11370a572d05289eb75c81af89cff0b
refs/heads/master
2020-12-28T17:11:30.111592
2015-10-31T18:51:49
2015-10-31T18:51:49
45,277,530
0
0
Apache-2.0
2020-05-27T22:54:12
2015-10-30T21:30:21
CSS
UTF-8
Python
false
false
3,156
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import geoposition.fields import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( ...
[ "zan.anderle@gmail.com" ]
zan.anderle@gmail.com
6ab3c319e1d403630bcd3263a0f20be489df95a9
11fff64cfaee383c222fad281d4d8a7897c373d3
/venv/Lib/site-packages/tests/test_level4/test_host_context.py
76bcdcb091632c44a80ab8a5cab342ad7a73dd8d
[ "MIT" ]
permissive
LarkEaglin/pretty-codex
b40c91308909e8cdba25ddf9efb2d36f8fd086a3
d5caabbd4dbfa11665c884df8b2fc70ad1cdd82f
refs/heads/master
2022-10-25T11:02:41.928065
2019-03-13T03:32:01
2019-03-13T03:32:01
175,336,023
0
1
MIT
2022-10-07T19:02:17
2019-03-13T03:01:47
Python
UTF-8
Python
false
false
657
py
"""Test host context selectors.""" from __future__ import unicode_literals from .. import util class TestHostContext(util.TestCase): """Test host context selectors.""" def test_host_context(self): """Test host context (not supported).""" markup = """<h1>header</h1><div><p>some text</p></div>...
[ "lrkdxn@gmail.com" ]
lrkdxn@gmail.com
ab9e8fded2f72aa7db2905169469aec2ac10aa34
f03d06461b6bed40ae6cf4e7fff2696ad6fad96a
/Introduction_of_Mathematical_Programming/ch01/Multi-period_Planning_Problem.py
78beac64a839769076fbba353017c7c72f1a88fc
[]
no_license
wanimaru47/LinearProgramming
6b491e831f259669b91b37f578c8f01cd5e73427
e0c403bb0a483062370a98ae549baaecf8e4a7e7
refs/heads/master
2021-01-01T04:30:57.996514
2016-04-25T13:17:26
2016-04-25T13:17:26
56,852,836
1
0
null
null
null
null
UTF-8
Python
false
false
1,466
py
# 1.1.2 Multi-period Planning Problem import pulp # N: product variety N = 2 # T: month T = 3 # the number of row materials per product A = [[2, 7], [5, 3]] # The shipment at each month B = [[30, 20], [60, 50], [80, 90]] # The number of abailable materials at each month C = [[920, 790], [750, 6...
[ "wanimaru47@gmail.com" ]
wanimaru47@gmail.com
943379ec5d1bee9dff951f30490f631db5c43d9d
f8841ef9797227ac93d8809e2e59aca0d7f3ab76
/src/relational_erm/models/multilabel_node_classification_template.py
dae0d9823bca1c1a7d22814de71daf9d09be3563
[ "MIT" ]
permissive
wooden-spoon/relational-ERM
1f2fa0b76442384f90851412d36c7cb3911577f3
28b16da9fb64852a0302d143d4857728bd08e2eb
refs/heads/master
2021-06-22T19:11:03.721247
2020-10-17T01:26:48
2020-10-17T01:26:48
136,656,022
15
2
MIT
2018-10-23T00:04:52
2018-06-08T19:00:55
Python
UTF-8
Python
false
false
15,965
py
import tensorflow as tf from . import metrics def _make_metrics(labels, predictions, weights): assert weights is not None accuracy = tf.metrics.accuracy( labels=labels, predictions=predictions, weights=tf.expand_dims(weights, -1)) precision = tf.metrics.precision( labels...
[ "victorveitch@gmail.com" ]
victorveitch@gmail.com
93e087b7f693c36ff5715732e59b91a7ec8fc247
fadef5f701c077644128d2006178c2d8a59c1eb8
/two_factor/models.py
dcf753aac05320016c711e6751a659e944edfc16
[ "MIT" ]
permissive
smarthall/django-two-factor-auth
7080aab7a6e58158ba69d3859f53dfb32b10da08
4d526fb31719637cae392718bb662081060f6187
refs/heads/master
2021-01-15T10:58:39.286506
2014-02-19T03:15:33
2014-02-19T07:43:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,328
py
from binascii import unhexlify import logging from django.conf import settings from django.core.validators import RegexValidator from django.db import models from django.utils.translation import ugettext_lazy as _ from django_otp import Device from django_otp.oath import totp from django_otp.util import hex_validator...
[ "bouke@webatoom.nl" ]
bouke@webatoom.nl
2ab03535f0d53671a19e46cc4309c1ad53884dcd
bfae7dcb4cba2d9f034927c989e30b2cf89cc5c1
/leadmanager/accounts/serializers.py
02c2c28b14b4111b9efee316dde234b95598aaa1
[]
no_license
rey-rubio/leads-manager
c67c19a1ab4e1afd4b62e02e8163e0e67b2557ec
41754f9990ab5c948e841a589a5ba7dc584a7cf9
refs/heads/master
2023-01-09T16:42:01.224234
2020-01-03T02:45:19
2020-01-03T02:45:19
230,825,516
0
0
null
2023-01-07T13:16:27
2019-12-30T01:24:27
Python
UTF-8
Python
false
false
1,054
py
from rest_framework import serializers from django.contrib.auth.models import User from django.contrib.auth import authenticate # User Serializer class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ('id', 'username', 'email') # Register Serializer class Registe...
[ "reynerio.r.rubio@gmail.com" ]
reynerio.r.rubio@gmail.com
d98e0aba480f0750ac88d41974c244ee064483e8
e0345c85abb33e59c0dd6cfa9274d9794d0db898
/venv/Scripts/pip3-script.py
213f347c644f9c0d6604cdef79d49daaab8b6056
[]
no_license
tzuravner/Argus_Python
a6e79f2a037b9caa7e30a2f85e981a1539af23c1
8510ee87b7b5a9a4c8073f0836668beea9acbf7b
refs/heads/master
2020-03-20T18:25:45.735463
2018-06-16T15:22:21
2018-06-16T15:22:21
137,587,469
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
#!C:\Projects\PythonArgus\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "noreply@github.com" ]
tzuravner.noreply@github.com
d3c6686d0f203afd68f797901a169ea00538d252
25f7e68919e64e1371b81ba379066bcd01bf4375
/droxi/drox/omcdbase/minmax1/models.py
ba01eea5cd713e5d342815491bce5c8fa99a8188
[ "MIT" ]
permissive
andydude/droxtools
5fa0233c7fe47379b8da1bcd9d06aced9af19638
d608ceb715908fb00398c0d28eee74286fef3750
refs/heads/master
2021-01-25T10:29:52.787506
2020-07-11T15:23:57
2020-07-11T15:23:57
14,605,757
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
''' Created on Mar 31, 2014 @author: ajr ''' from ..models import OMSym @OMSym.called("minmax1", "max") class Max(OMSym): pass @OMSym.called("minmax1", "min") class Min(OMSym): pass
[ "and_j_rob@yahoo.com" ]
and_j_rob@yahoo.com
28b269aa583908671f826df2d728bc45e6b956bb
09e0da91b3eda6f8bf802e0ec17e2efa8c2eb279
/voter_guide/votes/views.py
30e85aef990b7ab2870959531dce1a0ca40d2780
[ "CC0-1.0" ]
permissive
yaodehaung/councilor-voter-guide
fc5f61b50670a8566346184acbd12522bb8375fd
dc4cea97abc2e8c81c991df3eaa1983012bc4c7e
refs/heads/master
2021-01-01T06:37:30.827245
2017-07-17T09:08:01
2017-07-17T09:08:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,897
py
# -*- coding: utf-8 -*- import operator from django.http import HttpResponseRedirect from django.shortcuts import render, get_object_or_404 from django.db.models import Q, F, Sum from django.db import IntegrityError, transaction from .models import Votes, Councilors_Votes from councilors.models import CouncilorsDetail...
[ "twly.tw@gmail.com" ]
twly.tw@gmail.com
1939babf7c003032636663a04c198f0733a9159a
1c0015b0517e525c30cd38c466302fe2cdf55a12
/registros/migrations/0003_empresa_contato.py
d634a7cd0f04f6a3d8b7d26502e589c3147defdd
[ "MIT" ]
permissive
pontual/sistema-v1
3e8a3f71c30be18b8140e1d2cf897e542d118d29
5f63d11083077035326787a56c3ae8b66ee2054c
refs/heads/master
2021-09-07T06:15:45.292127
2018-02-18T17:57:05
2018-02-18T17:57:05
119,609,237
1
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 2.0.1 on 2018-02-02 17:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('registros', '0002_auto_20180130_2339'), ] operations = [ migrations.AddField( model_name='empresa', name='contato', ...
[ "heitorchang@gmail.com" ]
heitorchang@gmail.com
3e572755412c327354d0ccbf0330d7f72d0a7536
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/comparison/test_array_formula04.py
6ec76e91afcc459fc8122abb355867f73b554e69
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
1,004
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
4cf0b5b194a65d99a8e0093ab549b9f8cbd88129
6495e68a5a8999661c15eb4456168868ea9ace76
/chp30page456中国银行股价数据与均线分析.py
dbe5db94c267cd2430c17d6ed43755a62e61da94
[]
no_license
Curtis-Lau/Cailiduan-quantitative-investment-based-on-python
7be06b9a8e762cc4313d6fcf7bdde60926b7508c
96d4781ade85021263dea02733ef4198f2f3f53d
refs/heads/main
2023-06-06T00:59:08.095422
2021-06-29T03:04:38
2021-06-29T03:04:38
381,222,762
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt import movingAverage as ma ChinaBank = pd.read_csv("./datas/030/ChinaBank.csv") ChinaBank.index = ChinaBank.iloc[:,1] ChinaBank.index = pd.to_datetime(ChinaBank.index,format="%Y-%m-%d") ChinaBank = ChinaBank.iloc[:,2:] CBClose = ChinaBan...
[ "noreply@github.com" ]
Curtis-Lau.noreply@github.com
d3f403ee24f18f0a7ec954eb15366e2f5dc5baeb
84d6858bc654522a1cbdb828c84256383c867c21
/t3.py
74ea7886e3eea6e457c4dbc81a8879cfcf066de4
[]
no_license
amanmaldar/scripts
19fe656b9a2501aa25bf93cf7e489f6f0db23f80
2b6c1f667e4c5ae1988901c6b2fe3b4508ce2cf9
refs/heads/master
2020-04-07T03:36:01.642339
2018-11-26T23:03:24
2018-11-26T23:03:24
158,022,112
0
0
null
null
null
null
UTF-8
Python
false
false
3,478
py
import subprocess bashCommand = {} showCommand = " ndnping /ndn/metrics/show -i 1 -c 1 -n 1234567 -o 1" zeroCommand = " ndnping /ndn/metrics/zero -i 1 -c 1 -n 1234567 -o 1" resultDir = " >> /home/lenovo/Dropbox/Thesis/Logs/minindn4/clientLogs_1.txt" # sample test pattern # pingServer = d ndnpingserver /ndn/d-site/d...
[ "amanmaldar@users.noreply.github.com" ]
amanmaldar@users.noreply.github.com
7f7f27023e294a850db4affad162e048ad895b41
b8a6f36c474595f30f6143411010b90df51c2716
/mesh_tensorflow/auto_mtf/valid_layouts.py
cb9960ba817066f2e0af5ddf3ea47c0cc6c0b589
[ "Apache-2.0" ]
permissive
VonRosenchild/mesh
2a56da5d0e2b086a2cca49185acff9adfb4fc376
d26470554e086ea02e64154194097fbf517232bd
refs/heads/master
2020-08-09T13:45:48.269905
2019-10-10T04:16:28
2019-10-10T04:16:50
214,100,095
1
1
Apache-2.0
2019-10-10T06:06:35
2019-10-10T06:06:35
null
UTF-8
Python
false
false
5,889
py
# coding=utf-8 # Copyright 2019 The Mesh TensorFlow 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-piper@google.com" ]
copybara-piper@google.com
776726ee20c6fade53263387a84edc7556aaca3c
740ca7047790baddef29f7300f88b50c8435eeb0
/daycare_database/daycares/models.py
b6a4402087716152ef29edb5e189ba4df2098275
[]
no_license
Demetricew20/Daycare_Capstone_Backend
f2fea0c88e0480e7ee9cb64ae5eaa8e7ebb25fff
91795a2d4a952a44a312825aa4d7d2e9d6bdc7b2
refs/heads/main
2023-05-14T15:01:54.269150
2021-06-05T01:48:04
2021-06-05T01:48:04
371,132,014
0
0
null
null
null
null
UTF-8
Python
false
false
2,759
py
from django.db import models from django.conf import settings from django.contrib.auth.models import User class AgeGroup(models.Model): group_name = models.CharField(max_length=120, default=None) class Daycare(models.Model): user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) ...
[ "demetrice_williams@hotmail.com" ]
demetrice_williams@hotmail.com
2260c6c59eece6d7755ae73b1f775980e595dc17
2424b0c73e3edecc5a383edbfb94f429a2c9a1bd
/site-packages/statsmodels/tsa/varma_process.py
1469c12b6242e71e684b5826dcee5d1babbf88ca
[ "MIT" ]
permissive
pulbrich/Pyto
74935a15dd569184a7b190096222bf6e9ad9d1dd
a5e39dd49fde3a4c9eb98da76468127821ec2c9e
refs/heads/master
2020-09-07T07:44:23.001629
2019-11-09T16:21:15
2019-11-09T16:21:15
220,707,906
0
0
MIT
2019-11-09T21:46:16
2019-11-09T21:46:15
null
UTF-8
Python
false
false
19,732
py
# -*- coding: utf-8 -*- """ Helper and filter functions for VAR and VARMA, and basic VAR class Created on Mon Jan 11 11:04:23 2010 Author: josef-pktd License: BSD This is a new version, I did not look at the old version again, but similar ideas. not copied/cleaned yet: * fftn based filtering, creating samples with ...
[ "adrilabbelol@gmail.com" ]
adrilabbelol@gmail.com
f9ff706e439e985b42bf93cd193a097823aecdbb
a0fcf3baeeb28be7b34c54c2e157fdeb7ba2870d
/Raspebrry pi/block.py
ad2de6d9811a546476901bbba74bf9e0513511d5
[]
no_license
banzsolt/Tetris
a1b14054ab69306f037dc96149b149cfc0cb4c69
93db69151688ac9a04afe35031bfa9e49bc552fc
refs/heads/master
2016-08-11T22:19:09.722516
2015-11-05T10:12:54
2015-11-05T10:12:54
45,603,375
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
import random __author__ = 'Zsolti' class Block: __config_shapes = { '1':[[1, 1, 0], [0, 1, 1]], '2':[[0, 0, 1], [1, 1, 1]], '3':[[0, 1, 1], [1, 1, 0]], '4':[[0, 1, 0], [1, 1, 1]], '5':[[1, 1], [1, 1]], ...
[ "banzsolt94@gmail.com" ]
banzsolt94@gmail.com
7aa76cec3eeee6bf813a07cd2cc381d6d1cd9170
622658871f1256fbb959338fb1bf7bca187a3a81
/pdr/tests/test_MSL.py
397851a07aa4048c605418c054cc72a4b59b8446
[ "BSD-3-Clause" ]
permissive
alemran042/pdr
9f1f0a27986f5bd75137b94068b9a27d8d7c89f4
6c9fe5e79868e679fbca978ee83b11273b35d1ed
refs/heads/master
2023-07-13T19:56:07.898649
2021-08-19T14:12:48
2021-08-19T14:12:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,703
py
""" Test performance for MSL data. """ import unittest import pdr # Cameras class TestMD(unittest.TestCase): def setUp(self): pass def test_md_rdr_1(self): url = "http://pds-imaging.jpl.nasa.gov/data/msl/MSLMRD_0002/DATA/RDR/SURFACE/0000/0000MD0000000000100027C00_DRCL.IMG" data = pdr...
[ "" ]
f89539b48d721cc747eb17f11ec68426d0c6cfe4
6d784a0f475b519a8f6955dd49c244f8b816870a
/Code/server/Server/myprojectenv/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py
28793672026ce82a9dde1ca739c9473c8dd4b411
[]
no_license
sebuaa2020/Team209
c0ffa26a712314ef275c8b994cfe1fd4c842c7b6
c64766cffb1741503a43b1c6a2a01eb6ee4401e1
refs/heads/master
2021-02-27T10:27:55.496718
2020-06-15T12:37:14
2020-06-15T12:37:14
245,599,132
3
1
null
null
null
null
UTF-8
Python
false
false
18,046
py
"""Dependency Resolution The dependency resolution in pip is performed as follows: for top-level requirements: a. only one spec allowed per project, regardless of conflicts or not. otherwise a "double requirement" exception is raised b. they override sub-dependency requirements. for sub-depende...
[ "598174480@qq.com" ]
598174480@qq.com
c22d10574ff57db4fb4cb755e274a2bd46027012
1d9d196e4a88f8da6acbabf3e7ccab00a87ef172
/Edge & line Detection/task2.py
b4d94b84557695a035fe9cb40886f6b494cdb7ac
[]
no_license
AhmedAdel21/Computer-Vision
15fcfb206e5451572ce03a0c0c04b1d5155eb609
8cf5ffde2dcdc53c854eb3db2686083cbb6835df
refs/heads/main
2023-07-11T19:55:46.434591
2021-08-14T18:09:05
2021-08-14T18:09:05
396,089,194
1
0
null
null
null
null
UTF-8
Python
false
false
3,641
py
# from UI import * from numpy.core.fromnumeric import shape import pyqtgraph as pg from PyQt5 import QtCore, QtGui,QtWidgets from cv2 import cv2 as cv from math import sqrt import numpy as np from PIL import Image import matplotlib as plt import random from UI import Ui_MainWindow from lines_hough import hough_lines i...
[ "ahmed12365488@gmail.com" ]
ahmed12365488@gmail.com
01fecacfcdbde9e122e2c0c0ddf10db7ae37ec01
67651f8324395e5ef00cdaba3fd4e3f3c9787f9a
/dt-core/packages/slim_parking/src/graph_node.py
fb3b82b2048cba3fa4d808126726f45422896709
[]
no_license
chiaracaste/duckietown-gym_src
9fdb0d6906af4578daa231bacbd1728da031c5fa
538f620b7b95ea945a5efc6366df4403d20aba93
refs/heads/main
2022-12-27T21:54:14.432459
2020-10-06T21:23:25
2020-10-06T21:23:25
301,855,286
0
0
null
null
null
null
UTF-8
Python
false
false
2,110
py
#!/usr/bin/env python from duckietown_msgs.msg import LanePose, FSMState import rospy import matplotlib.pyplot as plt import numpy as np class GraphNode(): def __init__(self): self.active = False self.d_lst = [] self.phi_lst = [] self.subMode = rospy.Subscriber("/default/fsm_...
[ "chiaracastellani@live.it" ]
chiaracastellani@live.it
819779f414c01d888fd28cc064fc58a21a4b4dc8
d05233eaf44c62ca82a669980f91e6c16900e017
/tests/preprocessing_test.py
27176831f4f8c41ab2b2d2557a413920cc5a7a6a
[ "Apache-2.0" ]
permissive
ayazskhan/vqf
36caf2f6d0d89d8e6a83d8a4ee2a8241545f4b15
d664437c8fbd9306ef154243edf2d376128eb044
refs/heads/master
2020-11-24T17:15:55.630208
2019-09-14T20:16:04
2019-09-14T20:16:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,434
py
import pytest from vqf import preprocessing from sympy import symbols import pdb def test_apply_z_rule_1(): ## Given known_expressions = {} q, p, z = symbols('q p z') clause = q + p - 1 - 2*z ## When known_expressions = preprocessing.apply_z_rule_1(clause, known_expressions) ## Then as...
[ "michal.stechly@gmail.com" ]
michal.stechly@gmail.com
4ecdec1c4b76af74187491d831d35ca6542cdf07
f5d67e3d011f59ba5ca172544b407bf20fbb0b2c
/django/apps/issues/admin.py
7758698f5dac5f4a7bf548f1b0d6b27778af96c6
[ "Apache-2.0" ]
permissive
haakenlid/universitas.no
28f91b458c12b0fa89114960a619dcffa325a820
871e4fba706b671b2a5d8258ff21faa74a05cf3e
refs/heads/master
2020-04-23T07:46:53.880988
2019-02-16T15:02:21
2019-02-16T15:05:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,479
py
""" Admin for printissues app """ import logging # from sorl.thumbnail.admin import AdminImageMixin from django.contrib import admin, messages from django.contrib.staticfiles.storage import staticfiles_storage from django.utils.safestring import mark_safe from django.utils.translation import ugettext_lazy as _ from so...
[ "haakenlid@gmail.com" ]
haakenlid@gmail.com
49e63171cad299cb32d8586726057f80669e4d05
b39670923ee518f2da16207a0d7e6093775f7b55
/prac_06/car_simulator.py
0f56e14275fd96482a453850ee8c1023e0fc49d1
[]
no_license
SebastianFrizzo/CP1404_Practicals
02116acbd7730f18c9f4b0f93d9c6e3afe619746
f635cd701e99e81087587e1ae34972b51e1d1357
refs/heads/master
2020-07-12T21:07:48.623511
2019-11-11T06:11:22
2019-11-11T06:11:22
204,906,505
0
0
null
2019-09-18T02:27:24
2019-08-28T10:30:56
Python
UTF-8
Python
false
false
1,105
py
from car import Car def main(): print("Let's drive!") car_name = input("Enter your car name: ") car = Car(car_name) choice = "A" while choice != "Q": print(car) choice = input("Menu \n (D)rive \n (R)efuel \n (Q)uit \nEnter your choice: ").upper() if choice == "D": ...
[ "sebastianfrizzolaloli@gmail.com" ]
sebastianfrizzolaloli@gmail.com
f9d7e2e4ad826382d4a4c94fa202c744ad8cd266
e9abcb6021cc6fcc15ef2258f09812492b4e093d
/ironic/objects/base.py
84ac7ebc7f4207450cc1c367290557beaa9caf55
[ "Apache-2.0" ]
permissive
ericxiett/ironic-customized
e6df6a62840ae34180b8004c98ac56790462408b
3a2ad13969e1497889a0c3be80f9f5f671ff4d1b
refs/heads/master
2020-07-16T08:29:03.447845
2019-09-02T01:31:58
2019-09-02T01:31:58
205,754,554
0
0
null
null
null
null
UTF-8
Python
false
false
3,568
py
# Copyright 2013 IBM Corp. # # 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...
[ "eric_xiett@163.com" ]
eric_xiett@163.com
440e3de6c590108e44a0933ec7c799273aefaf59
05263538c3ad0f577cdbbdb9bac87dcf450230ce
/alexa/ask-sdk/ask_sdk_model/interfaces/audioplayer/stop_directive.py
3f06a7c163c1236132e3736f39e68b6261dca362
[]
no_license
blairharper/ISS-GoogleMap-project
cea027324fc675a9a309b5277de99fc0265dcb80
3df119036b454a0bb219af2d703195f4154a2471
refs/heads/master
2020-03-21T16:47:21.046174
2018-10-24T08:05:57
2018-10-24T08:05:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,140
py
# coding: utf-8 # # Copyright 2018 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 "lice...
[ "blair.harper@gmail.com" ]
blair.harper@gmail.com
0b4fe2acd6493fe680e1825645e893f245093f51
1b4a9b553209c467b872e754e325e7259a6e6d38
/test.py
499e9ac0132851e69fe1592bd12884a35c52df31
[]
no_license
soumilshah1995/Data-cleaning-Tool-Python
541e73da0207dcc083edde43f64d7cb210f59ca1
4c248833176d207b9a900cc57a39932708c42a47
refs/heads/master
2020-07-26T03:11:33.226590
2019-09-14T23:35:45
2019-09-14T23:35:45
208,516,369
6
4
null
null
null
null
UTF-8
Python
false
false
2,173
py
__Author__ = "soumil shah" __Verion__ = "0.0.1" __Email__ = "soumil.shah@budderfly.com" """ Problem Statments: We need to Automate Data cleaning to removes Null Values Solution: Python script to select file it will drop all null values and create a new csv File Later more Functionality ...
[ "soushah@my.bridgeport.edu" ]
soushah@my.bridgeport.edu
5ca28f082b0ba7e3c682ea21bc0feba26a4dc8c5
6e7f48c3d2fb33494d4ec7ecfad3f016335747fb
/dump/processor.py
b32c7ee8d308265632fb2ee57af079e48256cc41
[ "Apache-2.0" ]
permissive
mayankmetha/Y86-Simulator
e66ec65b2315bf6bf147ba598861ae110f6d5aa9
a68db7ce9526a7fff5d1e2242c81d0feb6f37ad6
refs/heads/master
2020-04-14T05:29:47.125565
2019-01-05T02:05:31
2019-01-05T02:05:31
163,662,064
0
0
null
null
null
null
UTF-8
Python
false
false
15,574
py
#!/usr/bin/env python3 import sys import os # register names regName = { 0x0: "%rax", 0x1: "%rcx", 0x2: "%rdx", 0x3: "%rbx", 0x4: "%rsp", 0x5: "%rbp", 0x6: "%rsi", 0x7: "%rdi", 0x8: "%r8", 0x9: "%r9", 0xA: "%r10", 0xB: "%r11", 0xC: "%r12", 0xD: "%r13", 0xE: ...
[ "mayankmetha@gmail.com" ]
mayankmetha@gmail.com
48b7817783d57776b9520dab09884fde23486320
7fe5bad373afcb9f1031d883057842dbcb83b4cf
/project4_navie_bayes_classification_logistic_regression/ml_p4.py
d279f1fbeb3bc50a9e6837b8eadb3b10f98d9bd6
[ "MIT" ]
permissive
Leonlee190/ML-Practice-Projects
f24c18394ce2d038c43029ce7aff0a4f093c6eaa
375a442dce1bcfa049fc8139fe7c8dc812229037
refs/heads/master
2020-12-05T03:42:06.461351
2020-01-06T01:30:36
2020-01-06T01:30:36
232,000,031
0
0
null
null
null
null
UTF-8
Python
false
false
4,134
py
import numpy as np import pandas as pd import math # mean calculation def mean_calc(arr, class_value): # selecting the class valued 0 or 1 data mean_arr = np.array(arr[np.where(arr[:, 57] == class_value)]) mean_arr = np.array(mean_arr[:, :57]) mean_size = len(mean_arr) # summing then fi...
[ "noreply@github.com" ]
Leonlee190.noreply@github.com
1299c87a549de5082526fe4ff863ccec37328b32
a6f838a28e8401243c702de21c80127a37599cc9
/flask_bouncer/bouncer/forms.py
8e14175d6f841675590bfde8e61959537c50d38d
[ "MIT" ]
permissive
miguelgrinberg/Flask-Bouncer
a01ce6321a5def491ce2942e2df91ea76bbbef78
fac0b761a40dc3a9ba7d5b596b158a149f4ca5dd
refs/heads/master
2023-08-19T04:41:18.667096
2013-08-13T07:29:14
2013-09-15T18:08:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,456
py
from flask import current_app from flask.ext.wtf import Form from wtforms import TextField, PasswordField, BooleanField, HiddenField from wtforms.validators import ValidationError, Required, Email, EqualTo class BaseRegisterForm(Form): email = TextField('Email', validators = [ Required(), Email() ]) use...
[ "miguelgrinberg50@gmail.com" ]
miguelgrinberg50@gmail.com
ab15497dd6bca3ca4ce369d4eeca2a26249c4d26
94da738a5ae494b4434517bb80a650d48866fde7
/load_automata.py
4310936a2e569e1617961b7e7b2c46390411d0f4
[]
no_license
Par-zy/PushdownAutomata
f58d9a2dc4b3f4c79e80c702663f201b19e71d27
fc16cb47708b720d1cda4e1941f96716f6aea223
refs/heads/main
2023-04-25T23:12:22.993650
2021-06-10T16:51:27
2021-06-10T16:51:27
375,527,485
0
0
null
2021-06-10T00:48:38
2021-06-10T00:48:37
null
UTF-8
Python
false
false
1,526
py
# Biblioteca Regex. import re # Função de leitura do arquivo do autômato. def load_file(): # Abre o arquivo para a leitura dos componentes do autômato. file = open('file.txt', 'r').readline() # Regex para remoção de símbolos inúteis. regex = re.compile(r'[^a-zA-Z0-9]+') # Loop que separa os conju...
[ "monorease@gmail.com" ]
monorease@gmail.com
52a1c7694389cfee52850692433b0993a76ad696
6bb9a36e35670d2ba4ee5dad1027f8a234bd8ec9
/extract.py
ded932aaf0d820c57d725868527d737f999718b6
[]
no_license
NQNStudios/powerschool
1a1139427c0a23f4c65e2d80d56e382efb5e8327
7097ef39e9264aa5d0d0adf5eb3d2be70e097cdd
refs/heads/master
2021-05-29T15:24:38.024715
2015-01-14T23:16:06
2015-01-14T23:16:06
29,164,125
1
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
#! /usr/bin/env python3 from splinter import Browser from bs4 import BeautifulSoup import re search_term = 2 def visit_home(browser): browser.visit('https://powerschool.slcschools.org/guardian/home.html') def log_in(browser): browser.fill('account', 'NN501621') browser.fill('pw', 'roy501621111') bro...
[ "nelson.nleroy@gmail.com" ]
nelson.nleroy@gmail.com
cb264d78848f774d6e76c539461a9e4ed37b3236
95e4b29d364fb5f1afcb1666edff1fc09b71ea67
/session2/07_lists.py
9c40b4caf4ff27555db66173fa012dbaf9653e08
[]
no_license
ynonp/basic-python-non-devs
88b64ac8f5c6ee2d22ef94bd879a09bc93449ab0
c28941be79671d1e197f006f0732d890229bc313
refs/heads/main
2023-02-23T23:02:13.017742
2021-01-13T11:19:01
2021-01-13T11:19:01
323,832,770
0
1
null
null
null
null
UTF-8
Python
false
false
364
py
fruits = ['apple', 'banana', 'orange'] print(fruits) print(len(fruits)) fruits.append("watermelon") fruits += ['avocado', 'plum'] print(fruits) if 'avocado' in fruits: print("Yay it's winter") for fruit in fruits: print(f"I like to eat {fruit}") for index, fruit in enumerate(fruits): print(f"{index}...
[ "ynonperek@gmail.com" ]
ynonperek@gmail.com
8119ce5c1f61f3b8b2ae67403b159e21aca8aa31
5a5cc5bc76ca0dff51ad49eceaa0924db69b194b
/bridgebot/test/test_determine_trick_winner.py
78e4898f6ecbf1a44aec93fe11d95946e9122463
[]
no_license
evanakm/bridge-bot
bbbe8b47359c8f44cd60800f620d0c329d7cd381
2b484585efbe35df10214315d50d8880982481e7
refs/heads/master
2021-07-12T00:38:21.720445
2019-11-25T04:31:45
2019-11-25T04:31:45
194,469,648
2
0
null
2019-11-25T04:31:46
2019-06-30T03:11:43
Python
UTF-8
Python
false
false
3,503
py
import pytest import sys import os # sys.path.insert(0, os.path.abspath('../bridgebot')) sys.path.insert(0, os.path.abspath('..')) from game import cardplay from game.enums import Strains, Suits, Ranks from game.bridgehand import Card @pytest.mark.parametrize('played_cards, trump_strain, expected', [ ( ...
[ "brothers.mason@gmail.com" ]
brothers.mason@gmail.com
dbc4f5c785908e133aceade47c97854aadabeeca
a70c29d384933040d318a1baf952965621b68490
/examples/multi_sparse_processing_example.py
744c5b1bbd6512101fb39c696cf6034807d653f9
[ "MIT" ]
permissive
romadm/LibRecommender
f4980dcd117997284f96f7b042cf3fbbc8c0f99e
46bb892453e88d8411e671bd72e7a8c6e8ef1575
refs/heads/master
2023-08-27T11:51:21.842980
2021-11-07T01:42:35
2021-11-07T01:42:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,371
py
import time import numpy as np import pandas as pd from libreco.data import split_by_ratio_chrono, split_multi_value, DatasetFeat from libreco.algorithms import DeepFM # remove unnecessary tensorflow logging import os import tensorflow as tf os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' os.environ["KMP_WARNINGS"] = "FALSE"...
[ "wdmjjxg@163.com" ]
wdmjjxg@163.com
dceff655267947d8d771a62427ae550a61ec0316
942ee5e8d54e8ebe9c5c841fbfdd1da652946944
/1001-1500/1008.Construct Binary Search Tree from Preorder Traversal.py
a127ff231de83bb7e0efe33832eb0fb3e3596dc1
[]
no_license
kaiwensun/leetcode
0129c174457f32887fbca078fb448adce46dd89d
6b607f4aae3a4603e61f2e2b7480fdfba1d9b947
refs/heads/master
2023-08-31T07:30:50.459062
2023-08-27T07:59:16
2023-08-27T07:59:16
57,526,914
69
9
null
2023-08-20T06:34:41
2016-05-01T05:37:29
Python
UTF-8
Python
false
false
1,021
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def bstFromPreorder(self, preorder): """ :type preorder: List[int] :rtype: TreeNode """ ...
[ "noreply@github.com" ]
kaiwensun.noreply@github.com
361c574679a174d0f9e08fbf59b14c55bf4dbdf8
3c1225978cddb35d92969f8b5c2cb12d238d345a
/examples/transfer_function_with_constant_permittivity.py
001faf79d5388fae4b41673e5a4032b1cdb65da4
[ "MIT" ]
permissive
janbrumm/layermodel_lib
4f08e0b1e81169ee9cc707b5d7fac9457cc74bc2
0d5e0c9ac77d302910823ebc757a4ec99541f3ff
refs/heads/master
2020-06-03T22:32:14.505315
2020-02-18T16:06:46
2020-02-18T16:06:46
191,758,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,544
py
# This file is part of LayerModel_lib # # A tool to compute the transmission behaviour of plane electromagnetic waves # through human tissue. # # Copyright (C) 2018 Jan-Christoph Brumm # # Licensed under MIT license. # """ This examples shows how to use the LayerModel class to calculate the propagation behaviou...
[ "jan.brumm@tuhh.de" ]
jan.brumm@tuhh.de
209949a3f93379832877549ce65be315beff6f67
404ad77945e7ff8a57dac8753b00cb7187bd7f4e
/104/5.py
76e31b10029475ca8981323951a5d8097b835680
[]
no_license
dennisliuu/Coding-365
5d773493fbf69bce03de20e4a03c5fdf108612f6
8e1cab65837ebe2cb36fa0e4b74fb07d0ee6b081
refs/heads/master
2020-03-24T22:33:58.299791
2018-08-07T05:06:21
2018-08-07T05:06:21
143,091,281
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
ans = [] class university(object): def __init__(self, name, props): self.name = name self.props = props unis = [] n = int(input()) if n > 10: exit() for i in range(n): inp = input() inp = inp.split(' ') unis.append(university(inp[0], inp[1:])) m = int(input()) if m > 10: exit() for i in range(m): inp =...
[ "dennisliuu@gmail.com" ]
dennisliuu@gmail.com
074d2cf258f2969f7ed6c15dfab45f394e951518
3e2607dc50fe20674f5249f58f3fbc5066e7b506
/0x10-python-network_0/6-main.py
e324d588f1079621a41aa98200a74b781faf56f5
[]
no_license
francisco0522/holbertonschool-higher_level_programming
685b300e93afba51699d065e73419e95fabd37d2
789d737a738a150b32f3b2dc9d1b106ce423eb60
refs/heads/master
2020-09-29T04:11:27.813003
2020-07-20T18:52:03
2020-07-20T18:52:03
226,946,158
0
2
null
null
null
null
UTF-8
Python
false
false
284
py
#!/usr/bin/python3 """ Test function find_peak """ find_peak = __import__('6-peak').find_peak print(find_peak([1, 2, 4, 6, 3])) print(find_peak([4, 2, 1, 2, 3, 1])) print(find_peak([2, 2, 2])) print(find_peak([])) print(find_peak([-2, -4, 2, 1])) print(find_peak([4, 2, 1, 2, 3, 1]))
[ "pacho0522@gmail.com" ]
pacho0522@gmail.com
052a777155acdff9389ecf23affab4296d2595e6
911db8b49bbb6de7b1ade39065d49f9c6936ee41
/tests/visitors/test_html.py
9062410941b8dd6b4660a5a88401461a64053e00
[ "MIT" ]
permissive
mzulqarnain1/django-codemod
3e7314ccde49bf61ab0a06d4eddc1e4613f88d0d
d0ab541321255cccf0753ee292558272d60350ae
refs/heads/main
2023-08-04T13:03:07.782903
2021-09-16T14:15:05
2021-09-16T14:15:05
407,186,364
0
0
MIT
2021-09-16T13:59:40
2021-09-16T13:59:39
null
UTF-8
Python
false
false
560
py
from django_codemod.visitors import UnescapeEntitiesTransformer from tests.visitors.base import BaseVisitorTest class TestUnescapeEntitiesTransformer(BaseVisitorTest): transformer = UnescapeEntitiesTransformer def test_simple_substitution(self) -> None: before = """ from django.utils.tex...
[ "alla.brunoo@gmail.com" ]
alla.brunoo@gmail.com
266a0e3ebc350fa28dd35cb7001511ce7d46448e
94bfd592bcbe134657ce8b2ed9b3fba73b9cc12d
/mango/contextbuilder.py
e39ed0a3cd594ea4e773079a2aedd4fb6254d16c
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
arniwesth/mango-explorer
fc53109023f5d8cf2b80faa3341b671851771ae4
8257902003fa2f72cc89a20d1cebaa0c8cc2ad68
refs/heads/main
2023-08-25T15:19:17.012249
2021-10-08T17:15:40
2021-10-08T17:15:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,308
py
# # ⚠ Warning # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT # LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN # NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIA...
[ "geoff@knife.opgeek.lan" ]
geoff@knife.opgeek.lan
e78455caad6c1ed3a500146a4db24ce64c061ada
bf5abcc6ae91df5f7b113462023c2a2837d7e554
/025.py
fb32c0bfb3a303170429468bbc8d07d8f4fc747c
[]
no_license
nimanp/Project-Euler
4ad08bfe4a7cc89ecdd16b641228a4dc20480a5c
c43ec2a15fe17af9c48bdc6e0f40635ee71e950d
refs/heads/master
2020-05-29T16:17:22.636971
2013-02-27T10:27:02
2013-02-27T10:27:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
def fibThousand(): next = 0 cur = 1 prev = 1 for i in range(0, 20000): next = cur + prev prev = cur cur = next if len(str(next)) >= 1000: return i+3 answer = fibThousand() print answer
[ "nimanp@flip2.engr.oregonstate.edu" ]
nimanp@flip2.engr.oregonstate.edu
819e726d86ef5adfadc4b5fce43a983d848529c2
15b5b907f44fe6030803cdf1142d41d54ed2e6c8
/tsp_solver_test.py
0fd97a93a829450942a15ac2796d711eb485cd9e
[]
no_license
greenmonn/tsp-solver
9c8338b38c0207f002b542c863158e4f147b64fc
8a3e3b250c7e4ea79105d6130ceacd63ca7ca10f
refs/heads/master
2020-08-01T03:06:37.995880
2019-10-03T13:10:04
2019-10-03T13:10:04
210,839,432
0
0
null
null
null
null
UTF-8
Python
false
false
2,543
py
import pytest from tsp_solver import TSP, solve_exhaustive, solve_dp # Problem source: https://people.sc.fsu.edu/~jburkardt/datasets/tsp/tsp.html # Problem source 2: http://elib.zib.de/pub/mp-testdata/tsp/tsplib/tsp/index.html def test_read_file(): problem = TSP() problem.from_file('problems/bier127.tsp') ...
[ "greenmon@kaist.ac.kr" ]
greenmon@kaist.ac.kr
8be1ea418f424267a26e9079f2bc10539f8e6725
69623fac9b3e55ed7a72f9ef50d2bef7b5ba3f06
/docs/conf.py
52aea13fb8c1cf3d41d68fa332b44f2c8b84ac15
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
permissive
constanthatz/python-nameless
4b997e2e8f1aba5bce4a198e8388f06584691575
4a3dbfbe80eec9f65e6fe3910737ba36f092b879
refs/heads/master
2016-09-13T05:39:33.145674
2016-05-06T01:03:38
2016-05-06T01:03:38
58,170,324
0
0
null
null
null
null
UTF-8
Python
false
false
1,408
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.coverage', 'sphinx.ext.doctest', 'sphinx.ext.extlinks', 'sphinx.ext.ifconfig', 'sphinx.ext.napoleon', 'sphinx.ext.todo', 'sphinx.ext...
[ "constantine.hatzis@gmail.com" ]
constantine.hatzis@gmail.com
ed50cb65195f00e73e4b9f20573f2d725da88713
2085ed042e115bf64584ee7c6385bcbc700dc8a1
/d_data_mining/config.py
3b98b18a7cbf69b05cd0d0262abcebea2ca45ee7
[ "Apache-2.0" ]
permissive
nicolasessisbreton/pyzehe
1591c9460dd0fa56427147bb93a44bf6cd8afa27
7497a0095d974ac912ce9826a27e21fd9d513942
refs/heads/master
2020-03-19T00:58:22.393522
2018-06-02T04:54:56
2018-06-02T04:54:56
135,513,352
3
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
import sqlite3 import pandas as pd import numpy as np import matplotlib.pyplot as plt pd.set_option('display.expand_frame_repr', False) # pd.set_option('display.max_columns', None) # pd.set_option('display.max_rows', None) db_path = 'db.sqlite3' db = sqlite3.connect(db_path) client = pd.read_sql('select * from clien...
[ "nicolas.essis-breton@intact.net" ]
nicolas.essis-breton@intact.net
cb388adf365759507f01b0a4e5a9bde8d941ed2c
5df29be2b040c3fc2d1618d5fe22cc3b94c3a364
/api/TheWitnessAPI/venv/lib/python3.6/site-packages/ffmpeg_streaming/_input.py
0c40261d2f1f7da2470cfd84f207bdb9e9cdac79
[]
no_license
TrellixVulnTeam/Backup_BSK5
dff1bad570eca4ee2bdd456082d0fa22fec63b9c
382cfc9c53e9746a79e5a8506862c84cb4b6e757
refs/heads/master
2023-03-22T06:49:11.502186
2021-02-14T11:49:19
2021-02-14T11:49:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,608
py
""" ffmpeg_streaming.media ~~~~~~~~~~~~ Input options :copyright: (c) 2020 by Amin Yazdanpanah. :website: https://www.aminyazdanpanah.com :email: contact@aminyazdanpanah.com :license: MIT, see LICENSE for more details. """ from ffmpeg_streaming._media import Media from ffmpeg_streaming._utiles import ge...
[ "toncyz@gmail.com" ]
toncyz@gmail.com
2d90bd131c3f2674579557e64d00f3ad2e7d1f85
e8d6fe918ddfb22ff6ac4936923de78295b35eef
/data.py
65bd38b4f455453e0092c49b2901283d6600c88e
[]
no_license
dldudwo0805/waymo_dataset
822d09f29314596bded8c16517c37da9c9742951
08f640a2e083d12f69f29bf61d902bd5b8a97632
refs/heads/master
2020-07-21T23:09:36.185665
2019-09-07T17:02:27
2019-09-07T17:02:27
206,996,041
0
0
null
null
null
null
UTF-8
Python
false
false
2,706
py
import numpy as np import cv2 def parse_calibration_data(data, sensor_type): intrinsic = np.eye(3, dtype=np.float32) extrinsic = np.eye(4, dtype=np.float32) distortion = np.zeros((1,5), dtype=np.float32) sensor_name = None if sensor_type == "CAM" or sensor_type == "CAMERA": if data.name ==...
[ "dldudwo0805@gmail.com" ]
dldudwo0805@gmail.com
8960d44ca61634dd452e823c42f66e6330c2c176
b53c3fc57aa3e8abe94064ebda201b98911eb25b
/src/mails/mailsvc/MailsService.py
5028f8e967edbf7a2a072fc4be6b64c0314623c1
[]
no_license
dreamcatcher2015/email_sender
55e280032e0f04a2188d22d7342bf405e4b01ef7
8a68d9b86310bbafc660ce46e5218749afd53093
refs/heads/master
2021-01-20T06:57:02.601899
2015-08-22T13:42:27
2015-08-22T13:42:27
41,206,197
0
0
null
null
null
null
UTF-8
Python
false
true
15,017
py
# # Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from ttypes import * from thrift.Thrift import TProcessor from thrift.transport import TTransport ...
[ "wfyang2015@163.com" ]
wfyang2015@163.com
6fea8635dd9c49b1ded6592084cffdc533f2c8cb
817a906a83db42604c724202553a79ffa5437981
/tests/integration/test_print.py
9a9e836346456335d61ab94d5214706e68c38a1b
[ "MIT" ]
permissive
rafacastillol/ledgeroni
44df0ff478da11f0748ce360482a6341443c43c8
4a3df2e838a604481dd8b5472cdaba35ec9a4fb6
refs/heads/master
2021-06-22T17:24:03.202974
2019-11-21T23:39:01
2019-11-21T23:39:01
215,432,759
0
0
MIT
2021-04-20T18:40:34
2019-10-16T01:50:08
Python
UTF-8
Python
false
false
1,154
py
from click.testing import CliRunner from ledgeroni.cli import cli def test_printing(): "Tests print command output without extra options" runner = CliRunner() result = runner.invoke(cli, [ '-f', 'tests/sample_data/index.ledger', '--price-db', 'tests/sample_data/prices_db', 'print']) as...
[ "rcastillo@nearsoft.com" ]
rcastillo@nearsoft.com
dc04368f8187e194465e7ed0081eeb50b1530cfa
455669e844e3cc72e9406ee5d35a2b90dc420afc
/DigitsMultiplication.py
ab00ce8d3d2794af4842e520484812ffc260e124
[]
no_license
victordsantoss/elementary-island-by-checkio
6e29cb0002308030fc1495527180fb82cd3eeb73
730f5e152cf103ef5248c8ceafa9cc17b7921a37
refs/heads/master
2023-02-17T10:24:13.215427
2021-01-07T23:00:13
2021-01-07T23:00:13
277,915,986
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
def checkio (number : int): result = 1 while number > 0: if number % 10 != 0: result *= number % 10 number //= 10 else: number //= 10 return result
[ "victor.samuelsantoss@gmail.com" ]
victor.samuelsantoss@gmail.com
f7bdc8e1bbb77efac08fa7b839d14c78651a2987
fd59d27e462844b0d6e79b4434555f7ed4eb3a40
/main.py
8cf847d80c2a1ed06f13e7cac1c5179f6e0baba4
[]
no_license
alepiaz/MyScannerBot
cc6b51e498e0a726f6c748bc2de2bd37e01df639
3ae50381375318c048aa7dc9e2185241d1e1d38e
refs/heads/main
2023-07-01T18:33:02.092696
2021-07-26T21:13:46
2021-07-26T21:13:46
389,769,456
2
1
null
null
null
null
UTF-8
Python
false
false
1,730
py
# -*- coding: utf-8 -*- from functions import * TOKEN = "827961133:AAE66epsHDf8Yr3xeofp3KRyvP8qiigrrqk" bot = telegram.Bot(TOKEN) def main(): updater = Updater(TOKEN, request_kwargs={'read_timeout': 20, 'connect_timeout': 20}) dp = updater.dispatcher j = updater.job_queue dp.add_handler(CommandHandle...
[ "noreply@github.com" ]
alepiaz.noreply@github.com
ec0746871b2e7af2980112ac77780008503fb772
c3127b52c94cbf3ad2e3464ade6c2e66e0aa6e62
/modules/ResourceFaceRecognition/utils.py
418143e1f259c1caf1dd71adac2ca24598dac134
[]
no_license
Skydddoogg/npr_ai_modules
132d1517e1184ddb9b813b97335fc28c37c41ad9
bf0d4fe7273b5fb44e42b9e5b84ebedbe6f7933f
refs/heads/master
2022-12-05T00:32:56.302228
2020-08-16T05:48:40
2020-08-16T05:48:40
273,669,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,851
py
import os from modules.ResourceFaceRecognition import config import face_recognition import cv2 import numpy as np from PIL import ImageFont, ImageDraw, Image def get_all_image_path_from_db(): if not os.path.isdir(config.db_path): os.mkdir(config.db_path) all_image_path = [f for f in os.listdir(confi...
[ "59070071@it.kmitl.ac.th" ]
59070071@it.kmitl.ac.th
d2a94dfbf30dff2f1a579ee6fac2ffc57d957736
5cb9f3d7752ec48ac031228117f1517a4474ebb0
/slidingWindowMax.py
f97df2c62a16914a20d55c90bcf55c2aef8b2846
[]
no_license
MLSaj/PythonDive
2f126ff50030cb25b8db32fb5ddd62140b2858ad
eb378e4bd9a1ec6396b65e62f4c22d9a7fc2a720
refs/heads/master
2020-12-23T03:30:52.605164
2020-03-11T00:45:09
2020-03-11T00:45:09
237,019,292
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
import collections class Solution: def maxSlidingWindow(self, nums: List[int], k: int) -> List[int]: if(nums == None or len(nums) == 0): return [] Qi = collections.deque() n = len(nums) output = [] for i in range(k): while(Qi and nums[i...
[ "noreply@github.com" ]
MLSaj.noreply@github.com
560b69cfbd0fd321091c869652d6b50072aa91fd
27c27208a167f089bb8ce4027dedb3fcc72e8e8a
/Athena/2010/Bonus2c.py
4630a85e8d69332309fd1999e71b1f65374b610e
[]
no_license
stankiewiczm/contests
fd4347e7b84c8c7ec41ba9746723036d86e2373c
85ed40f91bd3eef16e02e8fd45fe1c9b2df2887e
refs/heads/master
2021-05-10T16:46:41.993515
2018-02-16T09:04:15
2018-02-16T09:04:15
118,587,223
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
from numpy import * from RandomArray import * def C(n,r,P3): C = 1; k = 1; while k < r: C = (C*(n+1-k))/(k)%P3; k += 1 if (k%10**6 == 0): print k; return C; Tot = 0L; Sum = 0L; for line in file("Bonus2.txt"): p = int(line); # print p, C(p,p/2+1, p**3); ...
[ "mstankiewicz@gmail.com" ]
mstankiewicz@gmail.com
35acab6b770cd094c823756a3cefcbd6789f0305
71b6c423d1095eb8badddf5728097f37b1a23ce5
/5/1.py
d908dc5ff99d530cdc88604899b1c6279803d026
[]
no_license
Zigolox/AOC2020
2f12c9cfa16a185226f1d29265efae00ceb090e8
95f6ba8b710c3afa74956ad4505d1432e2ceca3c
refs/heads/main
2023-02-01T02:19:47.251842
2020-12-17T23:37:51
2020-12-17T23:37:51
317,674,853
1
0
null
null
null
null
UTF-8
Python
false
false
247
py
with open("input.txt", "r") as boardingpass: max = 0 for boarding in boardingpass: bin = boarding.replace('F','0').replace('B','1').replace('L','0').replace('R','1') if (n := int(bin[:7],2) * 8 + int(bin[7:],2)) > max: max = n print(max)
[ "41542666+Zigolox@users.noreply.github.com" ]
41542666+Zigolox@users.noreply.github.com
7da405979dd423ccfdf111cd0e73d50315de9c65
33bcbc643350eba190df238145ab87c50c7f4496
/distributed/master.py
6d4deb1fdde02e36576e52c632d607ef51fabc2b
[]
no_license
wufan0920/simple-spider
fcc5d34376704fb632d61e9a3d2cafcbcf7f259f
54e94db5f5c571afad59d30c350a9dd488fb3d89
refs/heads/master
2021-06-04T03:15:16.632707
2020-06-22T06:15:55
2020-06-22T06:15:55
20,523,301
0
0
null
null
null
null
UTF-8
Python
false
false
1,370
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import urllib import urllib2 import SocketServer import thread,time from SimpleXMLRPCServer import SimpleXMLRPCServer class MultiThreadRPCServer(SocketServer.ThreadingMixIn,SimpleXMLRPCServer): pass global url_set global url_pool global server global pool_lock glob...
[ "wufan0920@163.com" ]
wufan0920@163.com
3cf95526b48a3c3212a3a24d24a7fafb35255959
a7985ae0b4b521abe36d84386079c97b8f3665d4
/MODULO_4_CIENCIA_DA_COMPUTACAO/BLOCO_35/dia_3/exercicios/exercise_01.py
16f291a8bfd70a67fd07c31055d79ce35f3d981d
[]
no_license
herculesgabriel/trybe-exercises
0ceb74f7058440c1b14d1301a46826d48a11f503
e67611c8d9fc1f97b5de7aa1d20e0d940252cffb
refs/heads/master
2023-07-08T21:00:39.577965
2021-08-14T10:58:28
2021-08-14T10:58:28
289,084,136
1
0
null
2021-08-14T10:58:28
2020-08-20T18:48:26
JavaScript
UTF-8
Python
false
false
724
py
class Soldier: def __init__(self, level): self.level = level def attack(self): return self.level * 1 class Jedi: def __init__(self, level): self.level = level def attackWithSaber(self): return self.level * 100 class JediCharacterAdapter: def __init__(self, jedi)...
[ "herculesgabriel00@gmail.com" ]
herculesgabriel00@gmail.com
484f557a8ccacec04be5837eefaa4b6211d9c672
660ccb10a08c418bdf489cfa5e56cf0242c9cda6
/7.27/support.py
30a6c68467943242a149ae36454d521cdd1ea838
[]
no_license
huseph/learn_python
f3886d75a1ed0dbbbe4dd944d0c25ff8fa4cbdff
96c65ccd1c6420e2bd3e0c370d551455789f1bf8
refs/heads/master
2020-08-06T11:30:05.253573
2019-10-16T08:54:00
2019-10-16T08:54:00
212,960,682
0
0
null
2019-10-16T08:54:02
2019-10-05T07:25:39
Python
UTF-8
Python
false
false
278
py
def hanoi(n, fro, ass, tar): global summ if n == 1: print('%c --> %c' %(fro, tar)) summ += 1 else: hanoi(n-1, fro, tar, ass) print('%c --> %c' %(fro, tar)) summ += 1 hanoi(n-1, ass, fro, tar) return summ summ = 0
[ "920993863@qq.com" ]
920993863@qq.com
c3c594e8a75b39bcba481a10f6fb61d63a17535b
9c98b3bb0dd3f14e22962c817cb8cfdd4036556d
/puppies/settings.py
5e45fe10cdcd89a8da1c51ff1f1694c86691c6e7
[]
no_license
yifanwangsh/puppies_test
f67869c58fe71a566b60667b048a397f0771b312
172afe32a7a91dec05ab93ca56a54cc3b77b6924
refs/heads/master
2020-05-21T09:03:44.282446
2019-05-08T13:44:29
2019-05-08T13:44:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,201
py
""" Django settings for puppies project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # B...
[ "michelle.zhou@Zipians-MacBook-Pro.local" ]
michelle.zhou@Zipians-MacBook-Pro.local
c8910827478d7be0bf3ac3ea2057cd36fcb10e9e
0c6d97a73dd587f8c27d0be21751cd3c68465486
/engine/classifiers.py
affbd683d2258e4cd5fa827f61acac1bf85b767d
[]
no_license
MachineResearchGroup/Research2021
5517500439ded33133a279cfcbcd79b703eb66b5
b783f7bc24f72d073747b371b3141ababd862b96
refs/heads/main
2023-07-08T23:33:26.602468
2021-06-25T00:08:10
2021-06-25T00:08:10
379,478,028
2
0
null
null
null
null
UTF-8
Python
false
false
2,028
py
from collections import OrderedDict import collections import joblib import pandas as pd from sklearn.svm import SVC as SVM from sklearn.linear_model import SGDClassifier as SGD from sklearn.naive_bayes import MultinomialNB as MNB from sklearn.ensemble import ExtraTreesClassifier as ET from sklearn.neural_network impo...
[ "geovanemiguel2@gmail.com" ]
geovanemiguel2@gmail.com
c2815948beaae0c87f6d0119ed66e6ed60c020c9
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03146/s953135523.py
2afc8fe333f0af60c818fd13f4a0935e52d56d7d
[]
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
326
py
s = int(input()) a = s lis = list() while True: if (s % 2) == 0: s = s / 2 if s in lis: break lis.append(int(s)) else: s = 3*s + 1 if s in lis: break lis.append(int(s)) if (a ==1) or (a == 2) or (a == 4): print(4) else: print(len(l...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
dec2bb69a9b2c91b17a99c892e5801ff632c0e57
b4c93bad8ccc9007a7d3e7e1d1d4eb8388f6e988
/farmercoupon/migrations/0046_auto_20210321_1515.py
17c88b10e8f353d76777e54e7a6f7170a539cd7a
[]
no_license
flashdreiv/fis
39b60c010d0d989a34c01b39ea88f7fc3be0a87d
b93277785d6ad113a90a011f7c43b1e3e9209ec5
refs/heads/main
2023-04-02T12:46:32.249800
2021-03-31T00:27:29
2021-03-31T00:27:29
343,431,800
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
# Generated by Django 3.1.7 on 2021-03-21 07:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('farmercoupon', '0045_auto_20210321_1453'), ] operations = [ migrations.AlterField( model_name='farmer', name='mobile...
[ "dreivan.orprecio@gmail.com" ]
dreivan.orprecio@gmail.com
c8ee81ed22b18265970fc5f7220c1da05afc76be
4eba2b7b10863244894f1318cff60ed616c96e7c
/section14_OOP/CurrencyConverter-0.16.1/CurrencyConverter-0.16.1/lecture113.py
1196b43334c483faca1f938fd4445865a534088d
[ "Apache-2.0" ]
permissive
Aritiaya50217/CompletePython3Programming
1bf2b89b1b3793807671c80635010f1b383940b9
f3d132226ec56a8d3edd6690c578486a1adcc409
refs/heads/main
2023-06-12T12:02:20.950605
2021-06-13T12:48:57
2021-06-13T12:48:57
374,885,909
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
from currency_converter import CurrencyConverter from datetime import date ''' The fallback method can be configured with the fallback_on_missing_rate_method parameter, which currently supports "linear_interpolation" and "last_known" values. ''' c = CurrencyConverter(fallback_on_missing_rate=True,fallback_on_wrong_da...
[ "artitaya2466@gmail.com" ]
artitaya2466@gmail.com
98d914f4d637189e6d785027efa9c91d88294f60
2536b3524e8eed4524009502a5151f5e16fc68fe
/douban/views.py
454eae0ead0f0adec7ab0b88ac21b31a02134a55
[]
no_license
sakishum/livehouse
360d44c6fd315f8a5d47b6626f27154b9e6b8515
e600415def0830e026dc20235696012a94a7e0a0
refs/heads/master
2020-12-28T20:43:42.126179
2013-08-23T17:23:32
2013-08-23T17:23:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
# -*- coding: utf-8 -*- from django.http import Http404, HttpResponse from django.shortcuts import render_to_response from django.core.paginator import Paginator, InvalidPage, EmptyPage import utils import json def fans_rank(request): results, update_time = utils.fans_rank() page_num = 10 before_page_num =...
[ "pantaovay@gmail.com" ]
pantaovay@gmail.com
9c729cdc83e3d3bc15c0648008e69b005a80660f
6a57f556827d789c37c7a0ff721157f3c06a4131
/run.py
2be3bfb4a1d4eadd75d6f0fbff5bf2fad5f7fbfd
[]
no_license
Spanarchian/tet_heroku
4761f81cea0ca1971869692fac4d65df44e7170d
90a16de81b6128820a8de68e8e24d3b91a1973e0
refs/heads/master
2020-03-31T05:54:32.657550
2018-10-07T17:11:56
2018-10-07T17:11:56
151,961,995
0
0
null
2018-10-07T16:48:26
2018-10-07T16:37:39
Python
UTF-8
Python
false
false
198
py
#!/usr/bin/python from web import app import connexion # app = connexion.App(__name__, specification_dir='web/swagger/') # app.add_api('my_api.yaml') app.run(debug=True, host='0.0.0.0', port=8999)
[ "spanarchian@gmail.com" ]
spanarchian@gmail.com
55982913ed3bbfc7dc134197425faad596895b4b
65c8a6a7af2ee8cdf3866d012ea814887bd68a26
/TestInterface/Common/Excel.py
83e109ea75a2d27526d19a72668adcf0da22baac
[]
no_license
1282270620/automation_test
9b3c595c3f7a139ded0a638ae4bcf31e0b7f9686
3faf86f0d641089eaf27eba906d22157dd2c1f5d
refs/heads/master
2020-04-01T06:35:33.873989
2018-10-21T03:05:17
2018-10-21T03:05:17
152,954,477
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
from openpyxl import load_workbook def read_test_case_data(file_path): param_list = [] total_list = [] data_dict = {} workbook = load_workbook(file_path) worksheet = workbook.active columns = worksheet.max_columns for i in range(0,columns): title = worksheet[1][i].value ...
[ "1282270620@qq.com" ]
1282270620@qq.com
5b7d24df541998ed7e81ff93c7d68a8d44408fe5
192e7c0a7291c12aaf45b4981867809ef16447af
/test_board.py
7bddfaad35ad408a843522e6dc1158627a2b8fdc
[]
no_license
rimbi/python-boggle
faab4c3d1f6cb2702b1437a407919fcfc0781d9c
30616c5b16231d64d53f61c1d758012d7f4b09e9
refs/heads/master
2020-03-25T05:25:53.056292
2018-08-08T11:36:46
2018-08-08T11:36:46
143,446,352
0
0
null
null
null
null
UTF-8
Python
false
false
2,904
py
#!/usr/bin/env python """test_board.py: Tests for Board class.""" from expects import expect, be, equal from board import Board, Cell def test_board_should_say_no_when_the_word_is_not_in_board(): # given board = Board(['ADHG', 'PDFF', 'EKJU', 'FTGT']) # when res = board.contains('CAT') # then ...
[ "cemeliguzel@gmail.com" ]
cemeliguzel@gmail.com
1481e8acc81c942c14c9c3693947baf07e18f0d6
752441ecb984c9527bfe38ee74f02d2eaaee217e
/salesrep/models.py
80624c6304a7daaf3586dbd4bf29268200578316
[]
no_license
AtufaShireen/order-management-system
88a7c5a29dc8d5e7bb852bc7384e37997c9822ad
c16753f55847ecfba3318dc356ffa1f974161595
refs/heads/master
2023-04-12T12:02:45.698363
2021-05-11T20:39:29
2021-05-11T20:39:29
366,150,241
1
0
null
null
null
null
UTF-8
Python
false
false
4,277
py
from django.db import models from django.db.models import Avg, Count, Min, Sum from datetime import datetime,timedelta from django.utils import timezone from django.db.models.signals import post_delete from django.utils.translation import ugettext_lazy as _ from django.dispatch import receiver import pytz timeZ_Ny = py...
[ "atufashireen@gmail.com" ]
atufashireen@gmail.com
104749dfcb25a977c7e9d35eee693760e72b92c5
4a6a34164f19e2e149ac0aa6382ae76fb1ec34ad
/tweets.py
53eb21a1086cc79449c38bb5bcc11ec9161ba29e
[]
no_license
deepikaganesan/twitter
f57f57b17841a9da6281d9c98f6af3a42fc8e4a9
d497089a373e2e99009d6439cb3f5d018e97d8c3
refs/heads/master
2020-05-05T06:20:00.239236
2019-04-06T03:38:48
2019-04-06T03:38:48
179,784,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,503
py
from flask import Flask, render_template, request import tweepy consumer_key = "klc9lTZuJfxAalGGOIXFjTbhr" consumer_secret = "gPhGZE1j6egZSXTkyw5p3mZdem2VhNb8aHxfCae7PtPggJKF8q" access_token = "1112587571622637568-BR4xHHlqA7L0e58zp0bKB9U6I5AFfj" access_token_secret = "GrcusxoUGerHchMsbmdTFRw6ZHbnCcI7NTa85GL2LjDLu" app=...
[ "ganesandeepika97@gmail.com" ]
ganesandeepika97@gmail.com
62412d91b02cf2e4a9741be69033658baa67a980
a7064a51f9096db2d71e2a55560e968572b2f053
/L2/lesson2_4_step8.py
c06eb58a53639e5246c741d79a037f3861ed16dd
[]
no_license
podushka/stepik-autotest-course
6ddfc2dd221c6267056095b1ea983ed29ca423dc
7db09e174ce1c10d4e643a7bd215ce24e23b12f5
refs/heads/main
2023-06-22T11:43:05.565157
2021-07-26T09:20:23
2021-07-26T09:20:23
389,284,747
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
import os, time, math from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait def calc(x): return str(math.log(abs(12*math.sin(int(x))))) try: link = "http://suninjuly...
[ "r.tolokolnikov@gmail.com" ]
r.tolokolnikov@gmail.com
6d9e2b0b712a499fb3a0db83a17c6896874bbc46
2a0a372a8d8d1e0cd27e827cb1310fe454ce621d
/golden_section_method.py
782da4a20df6810cd76c400f4b1d0cebbb2c3c0e
[]
no_license
lovelyscientist/func-optimization-methods
7fa1ece6cf6f5af4bb5f571a0ddfe627a770f4f8
34da3268621a1757b48d5fe5fc7d1b63e4f09f99
refs/heads/master
2022-04-22T12:14:41.409264
2020-04-25T06:28:34
2020-04-25T06:28:34
107,968,244
5
0
null
null
null
null
UTF-8
Python
false
false
375
py
PHI = 1.6180339887499 REVERSED_PHI = 1/PHI def calculate(goal_function, a, b, epsilon): x = 0 while (b - a) > epsilon: lamda = b - (b - a)*REVERSED_PHI mu = a + (b - a)*REVERSED_PHI if goal_function(lamda) <= goal_function(mu): b = mu x = lamda else: ...
[ "tischenko.vlada@gmail.com" ]
tischenko.vlada@gmail.com
e2d1ddc68461f5ae6c95b3a24f33b7dc98868114
7ef6adf2dd9dd300c3f145a030b6cc7466246182
/users/migrations/0002_customuser_random.py
4e3bc49bdcdfdf8dbe18bc32aeea66f04626cf54
[]
no_license
grubberr/milo_django_task
f5f933723d7953ad2c91cd7810be4d43ea08d7c2
1f271b88abb26b3fb7fed1b3ae0d01b5c47443f8
refs/heads/master
2020-05-29T14:40:53.018260
2016-05-31T12:48:29
2016-05-31T12:48:29
60,007,782
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-30 12:06 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migr...
[ "grubberr@gmail.com" ]
grubberr@gmail.com
11e6637c8cdf5481418ae3d932ccf8eb8de5f5ad
a8de4bf4f78c0c74b822292f100452a7a6a62d90
/SDM/apps/PullingController.py
d9ed23d6022f416b368ca89801e1ee642a3029ac
[ "Apache-2.0" ]
permissive
jalilm/SDN-Monitoring
d7f78ccfdcf3b6552d58ab5a5dc108570686629e
4ba8dd0f0ed5e44c0e803713d6c82ee2c815c7e4
refs/heads/master
2021-05-03T11:44:24.295957
2016-10-06T07:58:26
2016-10-06T07:58:26
31,901,311
1
0
null
null
null
null
UTF-8
Python
false
false
906
py
from datetime import datetime from ryu.lib import hub from SDM.apps.BaseController import BaseController class PullingController(BaseController): def __init__(self, *args, **kwargs): super(PullingController, self).__init__(*args, **kwargs) self.monitor_threads = {} def after_datapaths_const...
[ "jalilm@cs.technion.ac.il" ]
jalilm@cs.technion.ac.il
e3ad770d194974649d0e233d158c3dcfd664d5c1
357fefa288745c9ab3bc276a7ef0bc815f3fec2a
/src/core/map.py
e51a6df05cc9041838d6ebc03ab9fe58bb0adde9
[ "MIT" ]
permissive
jdvelasq/techminer
61da47f44719e462732627edcc1094fab6c173f1
7a34a9fd684ce56cfbab583fa1bb71c1669035f9
refs/heads/main
2023-03-15T23:26:22.876051
2023-03-13T21:47:24
2023-03-13T21:47:24
204,352,276
0
1
MIT
2019-12-09T02:37:11
2019-08-25T21:34:19
Jupyter Notebook
UTF-8
Python
false
false
1,299
py
import pandas as pd #  from techminer.core.params import MULTIVALUED_COLS def map_(x, column, f): x = x.copy() if x[column].dtype != "int64" and column != "Abstract" and column != "Title": z = x[column].map(lambda w: w.split(";") if not pd.isna(w) else w) z = z.map(lambda w: [f(z.strip()) fo...
[ "jdvelasq@unal.edu.co" ]
jdvelasq@unal.edu.co
9a74945ca5d6ee81c1216e99168488e60bf90245
1fc10c4ab99efa9207e638c4282f4912bd095cd9
/bot/models/credit.py
14b9d9595cc2aab1fe05829aee29fb7a37ec5b2b
[ "Apache-2.0" ]
permissive
naderAbolfazli/boom
ef750545573eec032a6572eb0a35df91b4672675
f58cc002ad71206c031c3eabf8166a287ff42839
refs/heads/master
2020-04-17T00:27:31.070037
2019-04-16T11:59:45
2019-04-16T11:59:45
166,050,642
1
0
Apache-2.0
2019-01-18T05:05:02
2019-01-16T14:07:36
Python
UTF-8
Python
false
false
524
py
import datetime from sqlalchemy import Column, Integer, Float, DateTime from bot.models.base import Base class Credit(Base): __tablename__ = "credit" id = Column(Integer, primary_key=True) from_user = Column(Integer) to_user = Column(Integer) balance = Column(Float) date_time = Column(DateTi...
[ "abolfazli.nader@gmail.com" ]
abolfazli.nader@gmail.com
410fce7233c32bf39c91a2b8a33081646bc4200f
ed2755470d22451657f88267d21f1d3aa92be2f8
/exercise_3/free_space.py
92074ec81765075ba95999c1c9da5220d064cf4f
[]
no_license
enrico-kaack/RoboticGames
ba6fe843995a6572d1b3abeffb4fa85642c1b022
b968d0e272ad989cc203cea125dd2ab3a5695474
refs/heads/master
2020-08-23T17:05:02.333340
2020-03-31T17:26:00
2020-03-31T17:26:00
216,669,208
0
0
null
null
null
null
UTF-8
Python
false
false
3,330
py
#!/usr/bin/env python import numpy as np import rospy from sensor_msgs.msg import PointCloud from nav_msgs.msg import Odometry from geometry_msgs.msg import Twist ''' Die gesammte Kollisionsvermeidung ist in einer Klasse verpackt um die momentanigen Geschwindigkeitsdaten aus dem callback des Geschwindigkeitssubscri...
[ "e.kaack@live.de" ]
e.kaack@live.de
b092a8391b17115a173a7c6b1ce85f0c5ae84038
39589b58251f1f973268fb120596c43d6f7ba607
/main.py
0cc065709187d79b52aaba48f66d8e9265848005
[]
no_license
koty/window-controller
04c6e76c59a5fe73ae3168b499e12f936dc87018
9493f3baf7c5f858d3e514de23a97d4d29610992
refs/heads/master
2023-05-31T09:45:03.452743
2020-07-02T21:22:47
2020-07-02T21:22:47
271,969,974
0
0
null
2023-05-22T23:31:03
2020-06-13T08:28:04
Python
UTF-8
Python
false
false
350
py
from data_sender import send from thermo import getData from window_opener import open_or_close_window def entry_point(): # 気温取得 data = getData() # SpreadSheetに送信 result_json = send(data) # 結果に応じて窓を開け締めする open_or_close_window(result_json['rows']) if __name__ == '__main__': entry_point()
[ "kouichi.nishizawa+bitbucket@gmail.com" ]
kouichi.nishizawa+bitbucket@gmail.com
51d136a030c6b856b55533e03a606203b9769cdf
3536e1b19fc412c5d7258b294e60587397609500
/webBP/models/user.py
ad816cd965d028bb07d64079d038e8569965ab35
[]
no_license
jozefzivcic/bp
0bfb395876e62eccbedc5806d0365d30db60632d
634bb0bad3d69bdf21435812adfd663a2e2efaa0
refs/heads/master
2021-03-27T10:29:21.853168
2017-05-06T19:54:07
2017-05-06T19:54:07
46,180,623
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
class User: def __init__(self, name='', passwd=''): """ Initializes object User(). """ self.id = 0 self.name = name self.password = passwd
[ "jozefzivcic@gmail.com" ]
jozefzivcic@gmail.com
67a0718b921c973eb8de3545032a6aa9a7e71156
2ba68010eedaf1f9f5841a4291a2633428a2ed31
/practical11/createtable.py
bf752285caada443999c0e6a061c99aea5879269
[]
no_license
karnikashukla/python
b28ad08bf27620e997ae6f3357ea854d45b0442d
2525437cfbcf6d516589899dfb7e42984beb32ec
refs/heads/master
2020-07-13T15:29:09.556998
2019-09-26T07:18:33
2019-09-26T07:18:33
205,106,311
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
import mysql.connector; from mysql.connector import Error; try: con=mysql.connector.connect(host="localhost",database="python",user="root",password="mcalab"); print("Connected..!!"); querycreatetable="create table Student (name varchar(20) not null ,"; querycreatetable=querycreatetable+"birt...
[ "noreply@github.com" ]
karnikashukla.noreply@github.com
5099f5e4125e35576d50804c57b745af27a90ce6
d31bcf4849f0c049b5d492f0bfa2ebc204393535
/resource/apps.py
53b227ef839f5b9543714ad4bfeda28dda96b6ce
[]
no_license
gqxie/kangni
2e1ad7455a36aee2a9f7cd3abe5f517450f7f400
32b63b84712700759c00254288c2d5b2a5bbf2b4
refs/heads/master
2022-03-17T19:19:59.179976
2019-11-01T07:39:17
2019-11-01T07:39:17
190,677,271
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
from django.apps import AppConfig class ResourceConfig(AppConfig): name = 'resource' verbose_name = '综合管理'
[ "xieguoqiang@chezhibao.com" ]
xieguoqiang@chezhibao.com
4b2c832732ca282c4091ea254b3e8ede8639ed30
49ecc6b8af0eacf3e2e38ce16ba374bc210e538a
/src/controllers/order_controller.py
e72de367450658aa779191b7cb8e73842262fd24
[]
no_license
HarryTranAU/shopify_feature
a65e68448f45cda4b5856a02502489f89778843d
1d65a0d91288427926e4efa6116f3545856dfaab
refs/heads/master
2023-02-10T15:05:42.244055
2021-01-04T07:55:51
2021-01-04T07:55:51
321,240,896
0
0
null
null
null
null
UTF-8
Python
false
false
3,570
py
from models.Order import Order from models.Store import Store from models.Customer import Customer from models.Product import Product from main import db from schemas.OrderSchema import order_schema, orders_schema from flask import Blueprint, request, jsonify, abort, Response from services.auth_service import verify_us...
[ "css012013@coderacademy.edu.au" ]
css012013@coderacademy.edu.au
776e4aec6458a9eaeb6af74da807c15f9e38d6c4
2324dea2cb3003c8ab7e8fd80588d44973eb8c77
/Euler_4_204.py
9e1eee008b0582451d080d8893bf8bf651eef46d
[]
no_license
MikeOcc/MyProjectEulerFiles
5f51bc516cb6584732dc67bb2f9c7fd9e6d51e56
4d066d52380aade215636953589bf56d6b88f745
refs/heads/master
2021-01-16T18:45:44.133229
2015-05-27T18:28:43
2015-05-27T18:28:43
5,876,116
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
# # Euler 204 # # -1] from Functions import IsPrime factors = [] for i in range(2,100): if IsPrime(i): factors.append(i) from itertools import combinations print factors x = combinations(factors,len(factors)/2) ctr=0 for z in x: print z mut =1 for y in z: mut*=y if y <=10**9: ctr...
[ "mike.occhipinti@mlsassistant.com" ]
mike.occhipinti@mlsassistant.com
47ce89932269ec0784f092efbc334955db53900f
b8a31aefcd6d9d4c5a71059f20313f25c6d15567
/dataset.py
00451c17056fc7fbd3bcd8f6ff641e562e54f3ee
[]
no_license
jjrico/ANN-Perceptron-Character-Recognition
fab32e01bc3d13fc9756a0cd90d8ba1d3ebbafb9
48a3defae851a893e816380cc6fc953c42bda1d7
refs/heads/master
2021-01-15T00:44:21.824669
2020-03-11T23:22:56
2020-03-11T23:22:56
242,817,507
0
1
null
null
null
null
UTF-8
Python
false
false
7,146
py
# dataset.py # # 5x7 dot-matrix fonts # # Converted from hexadecimal and rotated counter-clockwise. # # Training data from https://github.com/noopkat/oled-font-5x7 # Test data from https://geoffg.net/Downloads/GLCD_Driver/glcd_library_1_0.h # TRAINING_DATA = [ [ '.###.', '#...#', '#...#', ...
[ "noreply@github.com" ]
jjrico.noreply@github.com
1e8ba8241496ea970912a7d157671ac23574026d
0a91c1c44e253b634a3baed57a7ac69ca71a9c0e
/conditionals/penguinConditionalWith_for.py
166fa83b7be9d6e7f35a3bf2fc98f7f7d7ee2ad8
[ "CC0-1.0" ]
permissive
cmulliss/turtles-doing-things
fb515ab19e61566c8acd7293d46ec66908b0f0b8
70c8241bcf6d3b37104a59e92b5cf5a002fcb0bf
refs/heads/master
2021-09-24T00:44:08.919979
2021-09-19T16:17:14
2021-09-19T16:17:14
58,326,249
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
#!/usr/bin/python # declare penguins and give it members, then loop through and assign each # member to favPenguins, then print as list penguins = ['rockhopper', 'emperor', 'gentoo', 'king'] for favPenguins in penguins: print(favPenguins) #can enumerate too for index, favPenguins in enumerate(penguins): print...
[ "cmulliss@gmail.com" ]
cmulliss@gmail.com
6112ddd8f29a30bbb8770d8447e579f9e1145ec2
ccf99b6cb57ea045ba3efa0bf3b814520817e378
/test/test_po2_to_so2.py
c0a14d9cd8630fe5b6c6f39b9d1ea988a0849207
[ "MIT" ]
permissive
bakenzua/po2so2
cbe1daec0686d6bf615d044d16e52e1dc1957fd3
3aafe19d223c7d9c48a9b0bab99ca75beb779782
refs/heads/master
2021-05-13T23:13:35.660484
2018-01-29T12:24:21
2018-01-29T12:24:21
116,508,143
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
from unittest import TestCase import numpy as np from po2so2 import thomas_po2_to_so2 class TestPo2ToSo2(TestCase): def test_scalar_calculation(self): po2 = 5.653266 self.assertEqual(thomas_po2_to_so2(po2, kpa=False), 0.010272119260622511) po2 = 125.0 self.assertEqual(thomas_po2_to...
[ "barnaby.sanderson@gstt.nhs.uk" ]
barnaby.sanderson@gstt.nhs.uk
61118e2908aec8f5d9dc4ed73e8afa25f3cfce6d
60657084df602869030a80f6a151ab642be086da
/demoshop/settings/components/apps.py
ee5d2e8a3cfab05e3510632194f73a6a4929305a
[]
no_license
aldarund/djoscarshop
41fc7778551476bfccd33a0406b6344af8dff5ab
4fd5e2437592d174f1bc5b4721ffab93aa524124
refs/heads/master
2020-12-24T14:10:34.069700
2015-02-19T14:38:08
2015-02-19T14:38:08
29,343,920
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
# Application definition INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.flatpages', 'django.contrib.sitemaps'...
[ "imdagger@yandex.ru" ]
imdagger@yandex.ru
c6a662fa0401545386201f2ee40694da29db8886
220459182037b6c33dea601dd049e2961a7e0503
/basic_line.py
d914f6d4671827ebda57a9e22ec2a1567826d79f
[]
no_license
hillws/data_visualization
03883b6761d00db0643bf52a4f150ede1a977ccc
1b54bd01ca038ae443551eec768ce2398cad6111
refs/heads/master
2021-01-10T10:43:16.909246
2016-03-03T07:51:49
2016-03-03T07:51:49
53,015,007
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
import matplotlib.pyplot as plt plt.plot([1, 2, 3, 4], [5, 7, 9, 4]) plt.show()
[ "hill.ws@gmail.com" ]
hill.ws@gmail.com
882286783d98b167e15a8312231ea6104bf67007
475295bee54c659b4de9588a62c3ea50fe9999af
/migrations/versions/b65fb71ed283_.py
8e6805ea2870babf85eb6a25cd6905d6fd5b1877
[]
no_license
anyric/Flask_blog
ed9b29334c01d5210196ba12d4d0ef6da669e49c
8bc118c9f3baeec09cee060b5554abdd154e71e0
refs/heads/master
2020-03-17T06:44:07.797328
2018-06-04T17:06:53
2018-06-04T17:06:53
133,367,408
0
0
null
2018-06-04T17:06:54
2018-05-14T13:47:16
Python
UTF-8
Python
false
false
781
py
"""empty message Revision ID: b65fb71ed283 Revises: c46db5818600 Create Date: 2018-05-19 23:00:12.915023 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'b65fb71ed283' down_revision = 'c46db5818600' branch_labels = None depends_on = None def upgrade(): # ...
[ "anyamaronyango@gmail.com" ]
anyamaronyango@gmail.com
6f924c5bd1c9ff710845a6e9d62a91c262343429
8281a209e636af52f2de230a22dc6ff739baff5f
/lstm.py
b0f35219183416c73715cfd6d869982356af6760
[]
no_license
shwinshaker/CS253-PA4
e7b3b40bdce0989a177b9aaf2e2bcce7b8e34f31
8dad0248140df37cf8fbd4ba560ac79fb4b71bfb
refs/heads/master
2020-04-24T18:36:30.822498
2019-04-05T01:47:50
2019-04-05T01:47:50
172,185,305
0
0
null
null
null
null
UTF-8
Python
false
false
9,244
py
import torch import torch.nn as nn from music_dataloader import createLoaders import numpy as np import time import shutil class Evaluation(): def __init__(self): self.epoch = 1 self.loss = .0 self.count_data = 0 self.count_save = 0 self.count_chunk = 0 self.history ...
[ "740992427@qq.com" ]
740992427@qq.com
099f3655b36e05bb4ae5f8df6067c36b9cf5b5aa
312fe5a7489a9ec9f51626dc8f29abbd05f4a2f0
/distutils/msvccompiler.py
0c9e1b8f70579e1d29498d79b1444ae9c6e7a459
[]
no_license
eskrano/3coursework
940d3bf768d0b60a5aac543086280da39506a5e5
55fd26475ae4885f396d14374b876c2b6643ee99
refs/heads/master
2016-08-11T07:04:39.416844
2015-12-20T22:59:45
2015-12-20T22:59:45
44,703,992
8
0
null
null
null
null
UTF-8
Python
false
false
24,119
py
"""distutils.msvccompiler Contains MSVCCompiler, an implementation of the abstract CCompiler class for the Microsoft Visual Studio. """ # Written by Perry Stoll # hacked by Robin Becker and Thomas Heller to do a better job of # finding DevStudio (through the registry) import sys, os from distutils.error...
[ "alex.priadko2014@yandex.ru" ]
alex.priadko2014@yandex.ru
337617852658f8fb4eb3d93033ad048125b600a3
d2f903b8f67295808bbfffe9b672028adcba7c6f
/pruebas/pruebas.py
1b8cd75a44d16f3c30a8b6433396cf1038a4971a
[]
no_license
buresgit/programas
a6da3a9066af50bdfcee0f9401a3af4aafd00cce
4528cf8ad86a9c72bd0a7353b9155b88c37fe78c
refs/heads/master
2023-05-31T22:54:32.591497
2021-06-20T18:46:40
2021-06-20T18:46:40
378,703,858
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
print("ola mundo")
[ "mburesa@gmail.com" ]
mburesa@gmail.com
b6c1709dcf6475107a4d41740e7e6aa550ea5693
459ee3e8fc6cbd8656e3a376aa7236b322bcc3fa
/datasets/utils.py
3fc8495b611d134dfc5cd100cb3d98343d2f0366
[ "MIT" ]
permissive
CodeforRuhrgebiet/simple-od-portal
744e3da603b16c2649604894307eae62e71b3454
31d333dc4b7b0a58c06fe71191bd05e375ad2ac6
refs/heads/master
2021-01-17T08:22:51.239067
2018-03-20T21:39:10
2018-03-20T21:39:10
83,888,680
5
0
MIT
2020-02-12T10:02:15
2017-03-04T11:29:52
Python
UTF-8
Python
false
false
97
py
from slugify import slugify_de def slugify(value): return slugify_de(value, to_lower=True)
[ "simon.woerpel@medienrevolte.de" ]
simon.woerpel@medienrevolte.de
145e87588c0f4561e659ede1c2319b1fe2cf3d88
da8ee509f1578c8880383b2b9cccbfb9f3ffa4fe
/oraclebmc/core/models/update_security_list_details.py
a0e782762660aff0da999e3b099a02e02c569f16
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "UPL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
kingleoric2010/bmcs-python-sdk
99d7f7a3d5db03ae8b5ddd25385cef06ee2fe166
e6f0152f8ecfc6dbcb6ff677d845e36dbc170a56
refs/heads/master
2021-01-24T18:39:54.506155
2017-02-28T19:55:38
2017-03-01T06:12:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
# coding: utf-8 # Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. from ...util import formatted_flat_dict class UpdateSecurityListDetails(object): def __init__(self): self.swagger_types = { 'display_name': 'str', 'egress_security_rules': 'list[EgressSecuri...
[ "joe.levy@oracle.com" ]
joe.levy@oracle.com