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
b55ff857da8bf4ad3bcd2b13cb60407cc59de231
a61ca2316a939cae86f4a0f556acef25e83934a9
/products/migrations/0007_tabledataproduct2_tablepageproduct2.py
3f319778de6d16c715174558a5079fefdf8cdb22
[]
no_license
ASV1870asv1977/penopolymer-server
e2e329dc6bc740f1bddabdd57b7080476d014ce2
c3cb650c711c4e076327eafe67f74ede11d64123
refs/heads/master
2023-08-26T21:03:45.698918
2021-11-08T07:11:18
2021-11-08T07:11:18
425,236,768
0
0
null
null
null
null
UTF-8
Python
false
false
2,622
py
# Generated by Django 3.2.8 on 2021-11-01 17:34 from django.db import migrations, models import django.db.models.deletion import modelcluster.fields class Migration(migrations.Migration): dependencies = [ ('products', '0006_auto_20211101_2012'), ] operations = [ migrations.CreateModel( ...
[ "aver.serg1870@gmail.com" ]
aver.serg1870@gmail.com
bab0b34818ae2123194f71f2269b92f00983afc8
1b35fac67584bf7ff2a331c9f39bff510b7b18d7
/tests/conftest.py
10a79b09ac0af4aac3c64482f3945f7d8553dc4f
[]
no_license
i-zhivetiev/fb-assignment
313fef1adb37f6fa32528a48e51e86f3ecb8702d
2281d340f3f2cf48fcd13b39ce98447c1d60e04c
refs/heads/master
2023-03-31T17:19:22.668456
2021-03-18T07:56:20
2021-03-31T09:59:13
351,649,769
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
from datetime import datetime import aioredis from pytest import fixture from starlette.config import environ from starlette.testclient import TestClient DATABASE_URI = 'redis://localhost:16379' environ['DATABASE_URI'] = DATABASE_URI # XXX: Импортируем после установки переменных окружения, чтобы избежать # starlett...
[ "i.zhivetiev@gmail.com" ]
i.zhivetiev@gmail.com
0958bc32059b9a05f9b212a31fa0da370d495fd7
c646d941912d98f7431d2b409fcb159707926c92
/seabornextends/retouch/fig.py
3e44bee1ed842c59f32f3eec9ecf1020639465a4
[]
no_license
cmardiros/seabornextends
8f2474f069635b637e91346535699d25c9b94bba
c2fad62b0c1998878784fa70cc2b9a11f3e2ca22
refs/heads/master
2021-04-12T04:26:00.746535
2018-04-04T06:39:20
2018-04-04T06:39:20
125,902,798
0
0
null
null
null
null
UTF-8
Python
false
false
2,109
py
import math import logging import matplotlib as mpl import matplotlib.pyplot as plt class FigRetoucher(object): def __init__(self, fig): if not isinstance(fig, mpl.figure.Figure): msg = "fig must be mpl.figure.Figure but is {}".format(type(fig)) logging.error(msg) rai...
[ "carmen@mardiros.net" ]
carmen@mardiros.net
4763be6bb99881c15af7938d5b797b8eab77748c
f47c178b82a457394bfca855df8e719a12f50b75
/ping_public/sp/urls.py
0d472d2bbf973f79615fae2cd24678b99a4e2fb1
[]
no_license
dakotafish/ping_public
53e0c7aae805a30998277facb56d9f688cbb113f
3c6a1d4875dad2beef6d475421adeed090f668ed
refs/heads/master
2023-06-10T12:28:21.280322
2021-07-06T20:02:28
2021-07-06T20:02:28
291,494,401
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
from django.urls import path from . import views urlpatterns = [ path('sp/ACS.saml2', views.ServiceProvider.as_view(), name='ServiceProvider'), ]
[ "dakota.fischer@benefitfocus.com" ]
dakota.fischer@benefitfocus.com
9350123a037e187ad0eee21f6399a61da1310915
2320db5bf84a02015dbed3830526e6a7c6b1ec50
/sources/utils/multi_gpu.py
f401ef0c0e861ac406be0f96468f3550483b8a22
[]
no_license
ZhuoyuWei/QueryPassageNetFramework
1d13fd078c75a4f3d0b15ec928d6c609c7c4d852
362c0a5e362c56a05f47b2a1999f42761d1adfe1
refs/heads/master
2021-07-14T08:26:46.808726
2017-10-12T04:56:33
2017-10-12T04:56:33
106,646,156
0
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
from keras.layers import merge from keras.layers.core import Lambda from keras.models import Model import tensorflow as tf def make_parallel(model, gpu_count): def get_slice(data, idx, parts): shape = tf.shape(data) if i == (parts-1): size = tf.concat([ shape[:1]-(shape[:1] // parts)*(...
[ "zhuoyu.wei@ia.ac.cn" ]
zhuoyu.wei@ia.ac.cn
70be3975013551c5c951c1f9da8444e2c6273397
9eb48a3b8d5b1127012579a818ad349d21df2414
/Django2.6/djusers2/djusers2/urls.py
cb92ccbd44dd9b5cf5eef70172579be1432e0fdf
[]
no_license
rahulsayon/Django1-to-Django-1.8
b864deb46529c29a6cd424e3c9f1e99baa8942af
2f4ae9343b631ff53caa50c8a822c7b4718c5512
refs/heads/master
2022-12-11T17:02:24.183982
2020-09-06T15:31:02
2020-09-06T15:31:02
293,305,766
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
"""djusers2 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "rahulsayon95@gmail.com" ]
rahulsayon95@gmail.com
0f1d9f902d25178ae430421aeb08a268c0abd264
d3987f3e1639d3448ac725b2e39c515897d8fda6
/example/cjk_example.py
42fe7a0cea89b7c28d16e35add6ba5a16742f106
[ "Apache-2.0" ]
permissive
jkl375/R2Base
7fbf6817e857843ebf4a740f2a810aa8aff36b8f
19c65a7907d2b40fcad15f31574f6d4e4901776c
refs/heads/master
2023-05-31T11:27:06.875903
2021-05-16T12:00:18
2021-05-16T12:00:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,316
py
from r2base.engine.indexer import Indexer from r2base.engine.ranker import Ranker import json import numpy as np import time def wiki2doc(l): temp = json.loads(l) docs = [{'title': temp[0], 'text': temp[1][0:1000], 'seed': np.random.randint(0, 1000)}] return docs if __name__ ==...
[ "zhaotiancheng.hz@gmail.com" ]
zhaotiancheng.hz@gmail.com
b594cb99b68fed0b2283ca91a02c05e2da0a99aa
3b8433c2e2df9aa0b890e31aec8e65ce71e46c8f
/tkinter and opencv code.py
2e2fc65c92af9eb910eabe7506691d745bca239a
[ "MIT" ]
permissive
RomainBriens/ProjetPiste
86b65623571999963a44f3ac6cbc35bb57458aa4
c54eba3a78c39171336e1a20d99bec1d028a24af
refs/heads/master
2020-11-25T14:23:25.140979
2019-12-17T22:35:33
2019-12-17T22:35:33
228,713,576
0
0
null
null
null
null
UTF-8
Python
false
false
11,810
py
import importlib try: importlib.import_module("cv2") importlib.import_module("PIL.Image") importlib.import_module("PIL.ImageTk") except ImportError: import subprocess import sys print("\nIl manque des modules! Téléchargemnt en cours...") subprocess.Popen([sys.executable, "-m", "pip", ...
[ "53861228+RomainBriens@users.noreply.github.com" ]
53861228+RomainBriens@users.noreply.github.com
28dc237cdeebd38598ba4a0bb696bbff5fec34af
aaeab0f211a4d88fa170aef486c6b161503a3162
/lin_regression2.py
37d0f9dbc597fd31e1f117e6a2e06ad6cc5edabd
[]
no_license
ryanneely11/data_analysis
3319bad17af1dc15000a0ba592c03ca6b3c51876
c4f55adcf05ab08f93172d9295cd89d5bed45e98
refs/heads/master
2020-05-22T01:45:29.386449
2017-12-01T11:38:30
2017-12-01T11:38:30
61,559,350
0
0
null
null
null
null
UTF-8
Python
false
false
4,356
py
##lin_regression2.py ##a function to run linear regression with scikit_learn; ##does x-validation, accuracy testing an permutation testing ##from scratch (I don't like scikit-learn's) import numpy as np from sklearn import linear_model from sklearn.model_selection import train_test_split import multiproces...
[ "ryanneely11@gmail.com" ]
ryanneely11@gmail.com
2210cba8d3da1e4a07b474131e7a1c9266cffc5a
35522da66f15ee51a251b008b39d3457e70cf7de
/web/nut/models/NUTInput.py
cc23dbe18e3c2bb3285d3337197789cb5d7fa33c
[]
no_license
yeleman/nut
34d74e72d137903285f3938f3165cefb45afb7ea
5e68ae23df6c4d77a055dfbe85ae37a9fcdc4cd0
refs/heads/master
2016-09-06T03:19:55.898651
2012-02-06T18:30:25
2012-02-06T18:30:25
2,733,202
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
#!/usr/bin/env python # encoding=utf_8 # maintainer: rgaudin from django.db import models from django.utils.translation import ugettext_lazy as _, ugettext class NUTInput(models.Model): """ Input """ class Meta: app_label = 'nut' verbose_name = _(u"Input") verbose_name_plural = _(u"...
[ "rgaudin@gmail.com" ]
rgaudin@gmail.com
df171aa26702cb26259583c2b95782aa8d4864df
d689675f6af44e0228a88ca67bdc890a4c462732
/template.py.dir/plugin.py
a533ea42ab1307ca6e12656928a976f28c83694a
[]
no_license
lukacslacko/minecraft_plugins
c6219709180cd3910df9b110b157fc4aa0bd4975
c8d45f3a1cf9469e754c87eb3e0b8c95f820c703
refs/heads/master
2020-04-13T23:34:05.117289
2019-02-16T12:29:50
2019-02-16T12:29:50
163,510,017
0
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
from org.bukkit.entity import Player import traceback from org.bukkit.event import EventPriority from org.bukkit.event.player import PlayerInteractEvent FILENAME = "template.txt" class TemplateListener(PythonListener): @PythonEventHandler(PlayerInteractEvent, EventPriority.NORMAL) def onEvent(sel...
[ "root@mc-spigot.europe-west4-a.c.minecraft-server-226616.internal" ]
root@mc-spigot.europe-west4-a.c.minecraft-server-226616.internal
66b3c825c4b661218b6abc09c92431934ba8047f
83c755c279abe4e4da37519feba5b1583a366721
/accelerometer_rnn.py
35bbe01488e3dea40e06a1b910c606f398052e1e
[ "MIT" ]
permissive
xtianmcd/accelerometer_rnn_explorations
51759d1a9f223b937e569175b7288da8f583f13d
56e2f832f5bd78c5b46e4da110ce9f87db0cf1cc
refs/heads/master
2021-04-15T17:13:15.888164
2018-03-23T23:51:25
2018-03-23T23:51:25
126,549,080
6
0
null
null
null
null
UTF-8
Python
false
false
11,109
py
import pandas as pd import numpy as np import os from sklearn.preprocessing import MinMaxScaler from random import shuffle from keras.models import Sequential from keras.layers.recurrent import LSTM from keras.layers.core import Dense, Activation, Dropout from keras.callbacks import CSVLogger, TensorBoard, EarlyStoppi...
[ "noreply@github.com" ]
xtianmcd.noreply@github.com
51a743918ee387ffdbfa04ad5694f0290fa13e52
9d09b0e472762c541d0a8aa7cb83de8112cc5cf9
/TwoStepMean.py
6e3b16253eccd2a9e096624822d34a3d756ed671
[ "MIT" ]
permissive
ryandhjeon/map-reduce
7c276999e0902249801fc5278bc63395d9dbb5d7
3ff084962c111a29316fa2289a89408527926172
refs/heads/master
2023-04-06T13:39:14.568831
2021-02-15T03:09:40
2021-02-15T03:09:40
360,644,827
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
#!/usr/bin/python from mrjob.job import MRJob from mrjob.step import MRStep class MRCalculateMeanTask2(MRJob): def steps(self): return [ MRStep(mapper=self.mapper_partition_items, reducer=self.reducer_sum), MRStep(mapper=self.mapper_empty, re...
[ "ryandhjeon@gmail.com" ]
ryandhjeon@gmail.com
808034c7ccf8082a00e739cd27d0b9f1e4d28040
c4af06a090818ea05b3e6c11866406b4a5d3378a
/diary/tests/test_views.py
d75d629eb6e2caf9d9a6ef65d1557b70f5eb02f1
[]
no_license
shige-horiuchi/private_diary
c88adff27bf4208ca7451bff841e5f300ac64d0a
e8b3cb63129c73d6c98f530ef543c19b02a5e79c
refs/heads/master
2021-01-03T19:03:29.599143
2020-02-21T06:51:37
2020-02-21T06:51:37
240,201,226
0
0
null
null
null
null
UTF-8
Python
false
false
4,717
py
from django.contrib.auth import get_user_model from django.test import TestCase from django.urls import reverse_lazy from ..models import Diary class LoggedInTestCase(TestCase): """各テストクラスで共通の事前準備処理をオーバーライドした独自TestCaseクラス""" def setUp(self): """テストメソッド実行前の事前設定""" # テストユーザーのパスワード se...
[ "shige33717@gmail.com" ]
shige33717@gmail.com
d7a93b3db19f615ebcdd0ac1d10a919df7fbe912
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03946/s474179666.py
715113807ff685cf063ff9f19abb2a900c2d1f50
[]
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
609
py
n,t=map(int,input().split()) a=list(map(int,input().split())) diff_v=0 max_a_v=0 max_a_pos=[] aa=set([]) bb=set([]) for i in range(1,len(a)): index=len(a)-i-1 if max_a_v<a[index+1]: max_a_v=a[index+1] max_a_pos=[index+1] elif max_a_v==a[index+1]: max_a_pos.append(index+1) if ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9358246c129bb1d8b1e564a81ba419196d73a04a
30f6633a24d799fddd51672c528e4baee649d8cd
/6.01/designLab09/simulator/core/search/search.py
11d2ff11f60cd14eada34c78bd6c767fc197f676
[]
no_license
Rajpratik71/mit-courses
e12c864435a1af2c8b7034af956fd2f53d559cfc
86a06a3192e17230a05c5c7beeed5699df73be22
refs/heads/master
2023-06-22T21:05:37.240985
2023-01-26T06:44:49
2023-01-26T06:44:49
192,182,074
0
2
null
2023-04-05T04:00:47
2019-06-16T11:15:24
TeX
UTF-8
Python
false
false
3,299
py
""" Search infrastructure. Credit to Chapter 7 of MIT 6.01 notes (http://mit.edu/6.01/www/handouts/readings.pdf). """ __author__ = 'mikemeko@mit.edu (Michael Mekonnen)' from constants import PRINT_FAIL_REASON from core.data_structures.priority_queue import Priority_Queue class Search_Node: """ Representation...
[ "wangjohn@mit.edu" ]
wangjohn@mit.edu
0ee03c43ddcdaf4b6cbb6e7a0272f6408ed9303a
6a6e041db8a591c031cc8981fbb23b41233ae7f2
/so_uscsa.py
f2ac161bd92ff3904aaca5739214f7c515f66627
[]
no_license
columbkh/Distributed_matrix_multiplication_schemes
efa0cf582b08bcbe1eb7623ff09900673fd557ab
2b6bfbf8468b099367a26f70e2c0a20dafac5415
refs/heads/master
2021-07-08T09:57:14.296090
2020-09-11T18:58:21
2020-09-11T18:58:21
182,426,714
0
0
null
null
null
null
UTF-8
Python
false
false
14,845
py
from tools import * from mpi4py import * import time import sys import communicators def schema1(A, B, q, f, field, left_part, i_plus_an, N, l, j_plus_i_plus_an, delta, hs): An = np.split(A, f) Bn = np.split(B, q) # Aenc = uscsa_encode_A(left_part, i_plus_an, An, field, N, l, f, q, delta) Aenc_so =...
[ "columbkh@gmail.com" ]
columbkh@gmail.com
8d48f45e0e6026af661aef287d578466e41d8245
d22db204c665d16847447551cedc07756d357eb2
/hydrus/client/gui/ClientGUICore.py
11dfa96ae748ebcb4c2a0789eebcbcacc9172d7b
[ "WTFPL" ]
permissive
Suika/hydrus
9d5070d47c328b7054a9699de310ce580e563528
4b2b15e152e4bed900aa972c7d4b27f7bf242f29
refs/heads/master
2023-05-28T00:32:50.364999
2023-05-10T20:22:34
2023-05-10T20:22:34
237,063,790
1
2
NOASSERTION
2022-10-29T22:36:54
2020-01-29T19:23:21
Python
UTF-8
Python
false
false
2,153
py
from qtpy import QtCore as QC from qtpy import QtGui as QG from qtpy import QtWidgets as QW from hydrus.core import HydrusConstants as HC from hydrus.client.gui import ClientGUIMenus class GUICore( QC.QObject ): my_instance = None def __init__( self ): QC.QObject.__init__( self ) ...
[ "hydrus.admin@gmail.com" ]
hydrus.admin@gmail.com
b33feaa7ff7ab12ca48e3084e10d88d7ec0b2709
f1a4090b024e6df699f6a8a9c18037d3004c6a1d
/mkart/urls.py
a6b9768b2875a03e086903b6391d796ad58ba3d0
[]
no_license
Ashishprashar222/mkart
bd601d602ca966bf69ed965b69fa9f3e47a9dc41
3966102952d5125000ed0a64f125e506cc1ab2a2
refs/heads/master
2022-12-06T16:31:32.036944
2020-08-13T16:03:19
2020-08-13T16:03:19
287,315,440
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
"""mkart URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class...
[ "noreply@github.com" ]
Ashishprashar222.noreply@github.com
690fc46119c99cab85d602044267cc487056e695
ab2c2df9cbe790d4748ef32d5b1df6db34979e25
/TestCase/mall/test_sp.py
126fefc6a9bcdeff172f476c59cae922cc0a428e
[]
no_license
zhengwenjun888/base
25b6e6de4ec7fef02d4b67fb7a1fb0300544032f
48efc9a403afd0efee49b636f19140ad94e4aacf
refs/heads/master
2020-05-29T19:24:42.905596
2019-07-01T09:49:50
2019-07-01T09:49:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,923
py
from Common import Request,login,Assert,read_excel,Shell import allure import pytest idds=[] shell=Shell.Shell() assertion = Assert.Assertions() lg=login.Test_login() request = Request.Request() head={} lists=[] excel_list = read_excel.read_excel_list('./table/tianjia.xlsx') for i in range(len(excel_list)): lis...
[ "547322619@qq.com" ]
547322619@qq.com
c568a02a30997bacc6e8fb0def411c9451b97e01
0ef760d893865a9d658898dd99b77948364ab0e6
/metabot/modules/test_reminders.py
208e448884611cf139f368512c3897613291890a
[]
no_license
nmlorg/metabot
1c8e659cfe8a2a58540e2d16b5c479aa585a0cef
fd977c085fc27618ca972ade61679eb1d592f5e0
refs/heads/master
2023-07-19T22:06:42.762569
2023-07-08T18:49:37
2023-07-08T18:49:37
144,942,175
7
1
null
2021-05-08T16:01:59
2018-08-16T05:45:28
Python
UTF-8
Python
false
false
25,702
py
"""Tests for metabot.modules.reminders.""" import pytest from metabot.calendars import loader from metabot.modules import events from metabot.modules import moderator from metabot.modules import reminders @pytest.fixture def conversation(build_conversation, monkeypatch): # pylint: disable=missing-docstring mon...
[ "nmlorg@gmail.com" ]
nmlorg@gmail.com
9fc53d2f86b48376293a5a058d7bc51c042f9954
432a8d6bc8ad5af9cb5585c2184b05f58e842285
/realestate/utils/lib.py
4d27c004e2ffb49fcfc1a66ea242da7599daace1
[]
no_license
314casso/estate-agent
963e2a909ac9b190253d8ee40a69947cf19b1261
ccd07bd599dc51251523cf5e4ea6991b1d0d529d
refs/heads/master
2022-03-21T04:37:44.946548
2022-03-15T19:29:06
2022-03-15T19:29:06
4,037,752
7
2
null
null
null
null
UTF-8
Python
false
false
2,169
py
# -*- coding: utf-8 -*- from estatebase.models import LayoutFeature _capital_letters = { u'А': u'A', u'Б': u'B', u'В': u'V', u'Г': u'G', u'Д': u'D', u'Е': u'E', u'Ё': u'E', u'Ж': u'Zh', u'З': u'Z', u'И': u'I', u'Й': u'Y', u'К': u'K', u'Л': u'L', u'М': u'M', u...
[ "picasso75@yandex.ru" ]
picasso75@yandex.ru
a797dcad48506519324d1ec6425787980191f18d
7312f0d3695707532383c2cf122d1a6bb67f14aa
/nntp/newsagent1.py
e478c6147a98d7645e7fa7eb9dd05f8253dff709
[]
no_license
Cinyky/pythonDemos
3b31a45c78e141d74778e7f112908114aa3c4582
f2ba4b93a2f5bf80a09d9558501f35cdb2f0247a
refs/heads/master
2021-05-05T20:55:20.158636
2017-12-28T12:25:00
2017-12-28T12:25:00
115,395,301
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
#coding=utf-8 #import from nntplib import NNTP from time import strftime,time,localtime day = 24 * 60 * 60 yesterday = localtime(time()-day) date = strftime('%y%m%d',yesterday) hour = strftime('%H%M%S',yesterday) servername = 'news.foo.bar' group = 'comp.lang.python.announce' server = NNTP(servername) ids = server....
[ "cyy1079276272@163.com" ]
cyy1079276272@163.com
edf62fc7640b4c23f3df021fe5376ebf84173d79
72ea18eecf06825c065108dd36a38f72b2182417
/ex_lista.py
4c42ececc3d3a5042900f8d2b4274e719f376d0c
[]
no_license
mykaeull/Curso-Python
5f91fc8362396ef5cb31a686ce3b3c73f5bb5c57
33dd6226412e8c12cc0315cb6fc08b59ee63a0c8
refs/heads/master
2022-11-05T16:52:56.375248
2020-06-24T16:03:44
2020-06-24T16:03:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
cont = 3 teste = [4] for c in range(1, cont+1): print(c) teste[c] = str(input("{}ª Nome:".format(c))) print(teste)
[ "noreply@github.com" ]
mykaeull.noreply@github.com
24d99ae5d7f6839fc475927905ec840728021b7f
f3e7b0ef3e96837206171537b30e1d22e84dab61
/pos_session_cashier_account_payable/__init__.py
da37e08e702b0f82fd9907f6b8702e9d09779bf8
[]
no_license
ammogcoder/point_of_sale
282703173201ddccb466769e01d6610e03ecb5c7
d8059690db8b0f762903a8ab69a800ebab997977
refs/heads/master
2021-01-25T13:17:59.936925
2019-04-24T07:31:47
2019-04-24T07:31:47
123,549,603
0
0
null
2018-03-02T08:05:19
2018-03-02T08:05:19
null
UTF-8
Python
false
false
1,406
py
############################################################################## # # Copyright (c) 2004 TINY SPRL. (http://tiny.be) All Rights Reserved. # Fabien Pinckaers <fp@tiny.Be> # # WARNING: This program as such is intended to be used by professional # programmers who take the whole responsabili...
[ "the.clone.master@gmail.com" ]
the.clone.master@gmail.com
ddd81f54fcacd45c10833411e12b8e85fe0c370c
3b4250d97e052d3babea64b01f2854e16785d661
/BFP/V_23_Quanten_Analogie/auswertungen/auswertung_Austausch_75mm.py
9f9d38208d0b9539bb7165ebaa776327db15141d
[]
no_license
SanjoR/FP-Jonas-Donata
fe63e46ff6c2e7f807f4b916f0d6238dc53bb6a5
b30a42ec1228fc96501bb2ddfdbb19ecae2f26f3
refs/heads/master
2023-03-17T11:32:18.498830
2021-03-11T13:26:37
2021-03-11T13:26:37
269,059,851
1
0
null
null
null
null
UTF-8
Python
false
false
459
py
import numpy as np import uncertainties.unumpy as unp import matplotlib.pyplot as plt Freq_2,Amp_2= np.genfromtxt( "../Bilder/Austausch_75mmZylinder.dat" ,unpack = True) Freq_10,Amp_10= np.genfromtxt("../Bilder/10_Zylinder_mitBlende13mm.dat",unpack = True) plt.plot(Freq_2,Amp_2,label="Austausch") plt.plot(Freq_10,...
[ "jonas.roensch@udo.edu" ]
jonas.roensch@udo.edu
c7244f4b659332e8e9226a9e6a8d39e2731c2496
ceaaad7a557ce9c1046ae1ea4d2393ffc094b65d
/FWTool/FWTool.py
6cddc0d5cd89e51a98018cf0ffb3a3a89669c68a
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
autopkg/gilbertpalau-recipes
019cde349f6e8c7261ef18d7e4e87e589a9fa571
d6f13b230891931c20831758bd7bb814e8b6b30e
refs/heads/master
2022-09-05T11:14:30.335550
2020-01-15T06:49:19
2020-01-15T06:49:19
43,065,260
0
9
null
2022-08-03T05:16:52
2015-09-24T12:25:33
Python
UTF-8
Python
false
false
5,720
py
#!/usr/bin/python # # Copyright 2015 FileWave (Europe) GmbH # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "gilbertpalau@gmail.com" ]
gilbertpalau@gmail.com
8dc765c1d32971c83a95412228b3766db874257b
8e4064ca4de5f8088c93da5a62571881b99bc4a4
/contact/views.py
2b1446a30807baf12894e475436ee6a828d23a51
[]
no_license
Cstephen13/eshop
9282fc08dc5e61c3f47a68084c1765bf4bc9bd71
916456d083989f16f4352aaf1f2bdb3ba38910d0
refs/heads/master
2020-04-03T07:23:53.498183
2018-10-28T18:27:53
2018-10-28T18:27:53
155,101,525
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
from django.shortcuts import render, redirect from django.urls import reverse from .forms import ContactForm # Create your views here. def contact(request): contact_form = ContactForm() if request.method == 'POST': contact_form = ContactForm(data=request.POST) if contact_form.is_valid(): ...
[ "carloesmax95@hotmail.com" ]
carloesmax95@hotmail.com
7f5db971fd478bb2ddf727c5947c78c2ad8f595f
ef50ddb13bc1e21e0feb7ccef228d7593a67924a
/vize/130401064.py
cbb6d848233adc660af1fb03870ab2d065225646
[ "Unlicense" ]
permissive
nyucel/blm2010
8577ffda17312b41545ad4b9e2fef10b99bd3d8e
544df2b5c946fba1864c4c6c3a6e349d0f10d18e
refs/heads/master
2022-11-16T16:12:50.811339
2020-06-27T11:10:55
2020-06-27T11:10:55
259,298,537
3
155
Unlicense
2020-06-27T11:10:57
2020-04-27T11:49:35
Python
UTF-8
Python
false
false
2,622
py
# Süleyman Baltacı - 130401064 # -*- coding: utf-8 -*- import numpy as np def RMSE(pred, target): err = np.subtract(target, pred) return (np.mean(err**2))**0.5 # veri dosyasi acilir f = open("veriler.txt") # veriler okunur, varsa bos satirlar silinir data = f.readlines() if "\n" in data: dat...
[ "necdetyucel@gmail.com" ]
necdetyucel@gmail.com
daffc116faa9666499d8aa91cfea7c0bfd426f00
157cdbc254faffa883419d894bdc99e6373dbf87
/query.py
cc06de79f10cd39c8a9eadfe3dabcd94e63dc12a
[]
no_license
krishna1madhur/Data-Cleaning-and-Integration
8839323dc82ce2f9e19a661fc0c5c0c3b69634f7
c1b4ee9b2d2a351779d27df8bc7acf5a90856bcb
refs/heads/master
2021-01-17T20:45:50.926702
2016-06-25T15:39:22
2016-06-25T15:39:22
61,949,507
0
0
null
null
null
null
UTF-8
Python
false
false
4,411
py
import sys import re import operator filePath = sys.argv[1] listOfProfessorNames = [] listOfProfessorCourses = [] with open(filePath, 'r') as file: for line in file: splitLine = line.split('-',1) listOfProfessorNames.append(splitLine[0]) temporaryObject = splitLine[1] ...
[ "krishna1madhur@gmail.com" ]
krishna1madhur@gmail.com
293665c99485113593e0801ddef90a8707674a5b
918c4a41a285a09e326922845035e1ec393a3f70
/milestone4_book_scraping/parsers/category.py
5a3dd7032b0e1c777c9a526d0a8499404347fb35
[]
no_license
elad-allot/Udemy
fa4549b1d9d4a15be285337536a7826cbee77305
8ab27950d25c8eba018a65efef9a95ee4adb2cf5
refs/heads/master
2020-06-06T22:57:42.475363
2019-12-12T07:57:21
2019-12-12T07:57:21
192,870,377
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
from urllib.parse import urljoin from locators.entity_properties import Catagories class CategoryParser: def __init__(self, parent, base_url=''): self.parent = parent self.base_url = base_url def __repr__(self): return f'Category name: {self.category_name}, Link: {self.cat_link}' ...
[ "elevy@allot.com" ]
elevy@allot.com
379c37e45b51126983402fb25983d31042440ef9
81daa265e1f2a25af2ac3528ce6b0114eb14e3d3
/lib/recycling.py
e3bdf41ce571eb3da68bfe46249603769fdacb61
[]
no_license
enzyx/hdWE
ad790d77d2370328bc01b171307f01df04b4b24d
497375c2a86c363b3c569fd3a9f4e1b18f7051e0
refs/heads/master
2020-06-10T22:33:58.167861
2016-12-07T17:22:30
2016-12-07T17:22:30
75,857,602
0
0
null
null
null
null
UTF-8
Python
false
false
3,274
py
# # This file is part of hdWE. # Copyright (C) 2016 Manuel Luitz <manuel.luitz@tum.de> # Copyright (C) 2016 Rainer Bomblies <r.bomblies@tum.de> # Copyright (C) 2016 Fabian Zeller # # hdWE is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # th...
[ "manuel.luitz@gmail.com" ]
manuel.luitz@gmail.com
f7e1c5d4d0fcbd70d0aa865686bfd988f7d01c03
863cc12f550a03f2de9e702678bd1dcbc8f6d7bb
/functions/combo_level.py
c94ebef3b64ab1c424155cca54d5f3308c98e6fd
[]
no_license
Iamrealmmm/RandomDiceBot
15009be26958c22f05051f4ad1813be783e6ea68
fb01e02148acf4287269cb53337d5e9691badee2
refs/heads/master
2023-01-12T19:34:11.864058
2020-11-18T02:51:55
2020-11-18T02:51:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
__arglist__ = {'傷害':'damage',\ 'Lv':'in_game_level',\ 'Combo':'combo'} def __invoke__(arg): # 組合等級計算器(alpha) # damage 傷害 # in_game_level 遊戲內等級 # combo = 組合數 damage = int(arg['damage']) in_game_level = int(arg['in_game_level']) combo = int(arg['combo']) combo_power = combo*(com...
[ "fzfeather1003@gmail.com" ]
fzfeather1003@gmail.com
bd0ff58733337b54a62c497740f531e4ad1eb6c9
e972e39c4580ce0099eb905c1922b501dce54901
/update/manager.py
425234f3f256bc175b8da462919582e9e8e6f79b
[ "Apache-2.0" ]
permissive
y-du/module-update-service
cf8070e1fa842ea7767fb8315b2bb1bd377ff623
34de1474ab26cd8f590d93809ddf1376a62d8b49
refs/heads/master
2022-09-12T09:21:12.200249
2020-05-25T18:46:26
2020-05-25T18:46:26
266,853,076
0
0
null
null
null
null
UTF-8
Python
false
false
3,985
py
""" Copyright 2020 Yann Dumont 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 wr...
[ "42994541+y-du@users.noreply.github.com" ]
42994541+y-du@users.noreply.github.com
0022be34bfbe4bef8fcf93eb1de1821c4f0e09de
fce79aa70b47277e35d07e7e09525cda0e022e88
/emailService.py
2a3e0afaa46f8ea9c4b5a1124c840554e36dd9be
[]
no_license
ashco/twitter-alerts-python
870702521670a09a0d75ccfd2f35feedee56d5dd
33666af839c0df29967d8375018a114133e9dc0d
refs/heads/main
2022-12-28T07:10:59.991951
2020-10-06T21:08:34
2020-10-06T21:08:34
300,687,999
0
1
null
null
null
null
UTF-8
Python
false
false
789
py
import os, smtplib from email.mime.text import MIMEText import settings emailLogin = os.getenv('SENDER_EMAIL') emailPass = os.getenv('SENDER_EMAIL_PASS') class Email: def _createMsg(self, recipient, subject, message): msg = MIMEText(message) msg['From'] = emailLogin msg['To'] = recipien...
[ "10988492+ashco@users.noreply.github.com" ]
10988492+ashco@users.noreply.github.com
d790521929b244aaec8829a2e6f6af88a88a58b1
cf9f755e69701d1f290e54c972f708b0f374d384
/tests/train_mrbrains.py
dac6913f88e8839cc0371bb73eb49698e880a9b1
[]
no_license
desperado11/MedicalZooPytorch
01e0358e5987c749ebff6afe2792b335b5dd8872
1a468450f7db25f5b5375185e84be400e68e441f
refs/heads/master
2020-09-09T05:34:58.493293
2019-09-04T11:38:49
2019-09-04T11:38:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,597
py
#!/usr/bin/env python3 import argparse import torch import torch.optim as optim from torch.utils.data import DataLoader import os import shutil import utils import medical_loaders import medical_zoo os.environ["CUDA_VISIBLE_DEVICES"] = "0" def main(): parser = argparse.ArgumentParser() parser.add_argument(...
[ "noreply@github.com" ]
desperado11.noreply@github.com
aecb8c0bbd1ab05bd1ce04d55716d49457987574
2c8dbe5534d376da70dbb7e07dcea9d43b82b998
/quepaper/urls.py
3b5384a6315a7a592be54a6088a2dc840d29eb34
[]
no_license
vikasvishwakarma786/question-paper-generation-system
17b96b944edfc7d8a16c5a35d5c0fbe7f9573c04
6c38ade72a0dc35f509f5808bcf6cb0ce0086f7f
refs/heads/main
2023-02-26T09:59:42.122076
2021-01-22T08:51:35
2021-01-22T08:51:35
331,883,927
2
0
null
null
null
null
UTF-8
Python
false
false
938
py
from django.contrib import admin from django.urls import path from . import views urlpatterns = [ path('admin/', admin.site.urls), path('', views.index, name='index'), path('add_question', views.add_question, name='add_question'), path("login_request", views.login_request, name="login_request...
[ "noreply@github.com" ]
vikasvishwakarma786.noreply@github.com
628f41c51f58945e9f1e879863efe51d95e39ea8
cdf38bcd5f8a1f383a6c3b7d427382c3b83d4831
/users/schema.py
e49405ee50228175e5c6b66cdf5d7415c987d34b
[]
no_license
profmcdan/real-estate-api
95725947f8893fbdf37156e2dc0055cd64e4f75e
44fe874151844139dc1f912128534565a6cfc029
refs/heads/master
2023-08-09T07:15:25.400049
2019-10-19T20:05:44
2019-10-19T20:05:44
216,026,644
0
0
null
2023-07-22T19:08:33
2019-10-18T13:09:48
Python
UTF-8
Python
false
false
1,247
py
from django.contrib.auth import get_user_model import graphene from graphene_django import DjangoObjectType from graphql import GraphQLError class UserType(DjangoObjectType): class Meta: model = get_user_model() class CreateUser(graphene.Mutation): user = graphene.Field(UserType) class Argument...
[ "danielale9291@gmail.com" ]
danielale9291@gmail.com
8810b3dcf4dfa82436a79ac7ac8e44c30e1118f9
213cae984ec52e288d13384bd38cddb8b5319c1e
/com/Core/Python/WebJSONXML/XMLParsing.py
b548097126999b72a245b41cd9805348f9f73fb1
[]
no_license
savanibharat/PythonPrograms
5697bc9df551abe14062eb1307df304dac625545
ddc05c319db01f69cb277a6ee5b7e5c63669a6f6
refs/heads/master
2016-09-06T08:12:21.523080
2014-04-06T05:50:20
2014-04-06T05:50:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
''' Created on Feb 27, 2014 @author: Savani Bharat ''' import xml.dom.minidom def main(): # use the parse() function to load and parse an xml file doc = xml.dom.minidom.parse("samplexml.xml") # print out the document node and the name of first child tag print doc.nodeName print doc.firstChild...
[ "savanibharat@gmail.com" ]
savanibharat@gmail.com
3035b1f0f246ca1584d7f6b2f6e66ffe09a73ff8
07f34b776ac30e0e5e431730826eba0b324c5ad6
/fleet/deploy/template_manager.py
b8cfdc6736c8d9fdebaaed15d5a81f4add8297d2
[ "MIT" ]
permissive
chrismcguire/fleet-py
bc54bd3293fcf5f921149ea412fe80ae8a9201bf
be8fdfc09e70110a8169add6a682e19d46ef6252
refs/heads/master
2021-01-17T09:24:16.390100
2015-08-13T22:55:16
2015-08-13T22:55:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
__author__ = 'sukrit' from pkg_resources import resource_string BUNDLED_TEMPLATE_PREFIX = "bundled://" RAW_TEMPLATE_PREFIX = "raw://" def fetch_template(template_url): if template_url.startswith('http://') or \ template_url.startswith('https://'): pass if template_url.startswith(BUNDL...
[ "sukrit007@gmail.com" ]
sukrit007@gmail.com
3519af9c226fbfcbe889ab9330d7ca0787f34df0
f0975928cd6d42fa0eecd8c6621b487d5f4a1140
/example.py
0a0581a28f87fd6c6d019db77749e329a55008bb
[]
no_license
bosoko/if-quantum
f64ba30ff81ffc11ba17caa8a74d5085cb793b9d
4995a8f4c73987b4503299452c9dca60973984da
refs/heads/master
2020-07-25T07:44:38.313152
2019-09-25T18:25:59
2019-09-25T18:25:59
208,219,467
1
1
null
null
null
null
UTF-8
Python
false
false
872
py
"""Ciaone""" import sys sys.path.append("..") from if_quantum.pairwise_state_tomography_circuits import pairwise_state_tomography_circuits from if_quantum.pairwise_fitter import PairwiseStateTomographyFitter from qiskit import QuantumCircuit, QuantumRegister from qiskit import execute from qiskit import Aer from if...
[ "teo.red90@gmail.com" ]
teo.red90@gmail.com
9c8f66d5ed4495b030bcf293e7f127f25112c50b
3c805f69f8b7cdedff1d857bfa10c80b6d17987c
/fabfile.py
45df5e8c1db6f814bce88a48b271d4ccd6b2be87
[]
no_license
chrxr/django_play
d7ff13a3ff5b301bc1604fee3ab3bdfb967c9fd5
bb9eb83cb7bf29e5e8cf76f1d34013d014710faa
refs/heads/master
2021-01-10T19:53:14.184282
2014-12-20T09:42:06
2014-12-20T09:42:06
null
0
0
null
null
null
null
UTF-8
Python
true
false
188
py
from fabric.api import local def prepare_deployment(branch_name): local('python manage.py test django_project') local('git add . && git commit') # or local('hg add && hg commit')
[ "chrxr@hotmail.co.uk" ]
chrxr@hotmail.co.uk
6e791e8717ef19fe4a14a55c132aa4ab7404ee1a
ec7916b848a2e223efb5e4f1a9cd7d4625f1001f
/preprocess.py
138333ddba00413782b066cc4ff3e9fd1d42f82c
[]
no_license
vdabravolski/sagemaker-custom-spark-container
c8701f357faccf06aadb09958fca0961162cab5c
b74509e05dc3b1ee43d653ad653ded92cba30e69
refs/heads/main
2023-03-01T00:33:28.523306
2021-02-08T17:31:12
2021-02-08T17:31:12
337,154,763
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
import pyspark import pandas as pd def main(): print("Printing version of pre-installed packages") print(pd.__version__) print(pyspark.__version__) if __name__ == "__main__": main()
[ "ec2-user@ip-172-16-50-204.ec2.internal" ]
ec2-user@ip-172-16-50-204.ec2.internal
cd9a990b06f6901484babd8d6a2c474c0ed5ec7e
be436364322691423baa9140bcde43afe2fe34df
/tiebaBrowser/cloud_review.py
ba47a93f286c20fb757a4a1706c3799aac1b873c
[ "MIT" ]
permissive
llllzimran/Tieba-Cloud-Review
75fe152f8ddf5fff5308754bdda6ccc6c4b474ec
11f11fff9a7bc7b817ec07723799b6560795c18c
refs/heads/main
2023-05-24T01:28:25.084693
2021-06-15T14:07:56
2021-06-15T14:07:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,640
py
# -*- coding:utf-8 -*- __all__ = ('CloudReview',) import os import sys import time import re import json from PIL import Image from io import BytesIO import pyzbar.pyzbar as pyzbar import imagehash import requests as req from urllib.parse import unquote from .mysql import MySQL from .logger import log from .utils...
[ "starry.qvq@gmail.com" ]
starry.qvq@gmail.com
f3cb3e73b19d480a327c9c4be7db3b599096e61e
9918208c80a3c396d8a1e13783d501d60dbc2050
/integration_tests/conftest.py
3fb8ef70a199bdfdb9c0ef602f656687b6fc764c
[]
no_license
benjimin/digitalearthau
2d3010be76fad0d0b6b4854dbbad07e98254b239
5098bf3c88627cad78a8caa5ab703c586c17a6f7
refs/heads/develop
2022-02-27T07:36:16.009689
2017-09-14T05:51:27
2017-09-14T05:51:27
103,460,937
0
0
null
2017-09-13T23:10:15
2017-09-13T23:10:15
null
UTF-8
Python
false
false
3,552
py
import itertools import logging import os from contextlib import contextmanager from pathlib import Path import pytest import shutil import yaml import digitalearthau from datacube.config import LocalConfig from datacube.index._api import Index from datacube.index.postgres import PostgresDb from datacube.index.postgr...
[ "jez@stulk.com" ]
jez@stulk.com
07f7a6a28e4b896676f2de3a863caeb9400e08ed
70529baae8df32c90939c1f7b5943b57a720f2c6
/image/admin.py
70f4a392abb656bc1db02b5119d2a4127e9f90c6
[]
no_license
spring3th/om
8effe30cd009ff0e6348c26e71d5ee21f30ce5f9
150a22ab850a0bd320cbc230c6bce21f7c9ad9d5
refs/heads/master
2021-01-22T21:00:02.926541
2017-03-18T08:31:16
2017-03-18T08:31:16
85,385,544
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
from django.contrib import admin from image.models import Image class ImageAdmin(admin.ModelAdmin): list_display = ['title','slug','image','created'] list_filter = ['created'] admin.site.register(Image,ImageAdmin)
[ "dengchangqing@gmail.com" ]
dengchangqing@gmail.com
10ecabb8e77a2c4df970a2f598903b981a57b838
592b1cb011095c28769f74ae004522a14b1e768d
/tinymix/migrations/0001_initial.py
4d2423ed4d3e9ee3f7e4f1b21a67d4fac4752d02
[]
no_license
nazgee/remote-tinymix
b23025b5adda398a3b24f1a55885b73981182b9b
6911188fa54561b8229ec5f2509be00a13c7b1b4
refs/heads/master
2020-10-01T08:53:10.871883
2019-12-19T09:46:59
2019-12-19T09:46:59
227,502,714
0
0
null
null
null
null
UTF-8
Python
false
false
2,338
py
# Generated by Django 3.0 on 2019-12-12 01:13 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Config', fields=[ ...
[ "michal.stawinski@gmail.com" ]
michal.stawinski@gmail.com
7c2a8fd4ef12e31a0feea4946102def33c1a87ca
e33a31ac972d1679a21791fbca9568a467580848
/vishnupro3.py
785e8437cf6b4595da43b5d17fd55c0b7892f589
[]
no_license
vishnu913/vishnu1
5faf2a4eaf2bd3ddbc51b945ac95da74d160e147
f7a5822b7958655bf6a893a4cb9cc88f2ade54f2
refs/heads/master
2020-06-20T11:45:15.764495
2019-07-17T07:59:25
2019-07-17T07:59:25
197,111,887
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
vis1 = int(input()) mat1 = list(map(int,input().split())) pqt1 = 0 for i in range(vis1): for l in range(i,vis1): for k in range(l,vis1): if mat1[i]<mat1[l]<mat1[k]: pqt1+=1 print(pqt1)
[ "noreply@github.com" ]
vishnu913.noreply@github.com
de648b8cf8bff2bb42a076be6fd58f9f267616ec
44eb27fafa7054b3fe90f25c6429f8943ba73f9d
/cycle_ml/persistent_batch_model.py
7cb4313af7a5e27e64cdedb0c928eb241c815d88
[]
no_license
sergei-sh/cycle_ml
2c3fd497833b6fe38220b6afffdaf17c9c11c582
cc7c6c90d9cdeaa786ee3149391692c8621952e1
refs/heads/master
2021-01-11T20:16:37.120614
2017-09-03T16:15:36
2017-09-03T16:15:36
79,079,482
0
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
""" Updated: 2017 Author: Sergei Shliakhtin Contact: xxx.serj@gmail.com Notes: """ import sys from cycle_ml import Model, aux class PersistentBatchModel: """Model proxy saving its weights and training the model with one batch at a time While Model class performs Batch Gradient Descent, this class cuts...
[ "xxx.serj@gmail.com" ]
xxx.serj@gmail.com
ea0b5eede4c8cb9424aa453427c0777b0e2f0a88
ac16a937f32602cf16114463f8e875a972f64c27
/docs/dolfin/1.0.beta/python/source/demo/undocumented/curl-curl/python/demo_curl-curl.py
c4b4e14e33bf345faaaab62069618ae9936b675d
[]
no_license
mparno/fenics-web
2073248da6f9918ffedbe9be8a3433bc1cbb7ffb
7202752da876b1f9ab02c1d5a5f28ff5da526528
refs/heads/master
2021-05-05T04:45:46.436236
2016-12-06T20:25:44
2016-12-06T20:25:44
118,628,385
2
0
null
2018-01-23T15:21:47
2018-01-23T15:21:46
null
UTF-8
Python
false
false
2,160
py
""" Eddy currents phenomena in low conducting body can be described using electric vector potential and curl-curl operator: \nabla \times \nabla \times T = - \frac{\partial B}{\partial t} Electric vector potential defined as: \nabla \times T = J Boundary condition: J_n = 0, T_t=T_w=0, \frac{\partial T_n}{\...
[ "johannr@simula.no" ]
johannr@simula.no
a244c030dbeebde2c542487ae742bfe0a1844d78
8fa265b8ea4bec2a15d3ad3dc5b0bbcd1c665694
/comp_databutton.py
f1717ec396e585b33be24e875c6246ad7dabd110
[]
no_license
ansangyoung/comp
21e92b7d37ea264144a6eb5288073b4c9fcbcc58
47b93ab5fad133d402213db654c04f25ae9f2a36
refs/heads/master
2021-01-20T22:19:10.335240
2016-08-10T10:31:50
2016-08-10T10:31:50
65,373,228
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
# -*- coding: utf-8 -*- databutton_values = [ ('추가',""), ('삭제',""), ('저장',""), ('열기',"") ] databutton_list = [x[0] for x in databutton_values]
[ "noreply@github.com" ]
ansangyoung.noreply@github.com
b03a754744d2e92f98ee97643c8249fbd63105f3
20f951bd927e4e5cde8ef7781813fcf0d51cc3ea
/fossir/core/db/sqlalchemy/__init__.py
a5540829307aa4983312efca38ece0cfeda969e1
[]
no_license
HodardCodeclub/SoftwareDevelopment
60a0fbab045cb1802925d4dd5012d5b030c272e0
6300f2fae830c0c2c73fe0afd9c684383bce63e5
refs/heads/master
2021-01-20T00:30:02.800383
2018-04-27T09:28:25
2018-04-27T09:28:25
101,277,325
0
2
null
null
null
null
UTF-8
Python
false
false
771
py
# This file is part of fossir. # Copyright (C) 2002 - 2017 European Organization for Nuclear Research (CERN). # # fossir is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (a...
[ "hodardhazwinayo@gmail.com" ]
hodardhazwinayo@gmail.com
a527d51d3127d6d4bf041c9d667aaa22a243374c
e9d6257de4fe11b1f6627f6e27467d5bf60337f1
/src/utils/__init__.py
c39dd124a6922e5bf739a035f7691be8da9a698b
[]
no_license
Hymmnos/yelp-restaurant-natural-language
a708834d8074315eac1fd01c6a454c984c3e6bd0
71d9b3592321772503a495354ee8160f02a196f4
refs/heads/master
2022-12-31T09:54:57.549835
2020-10-15T17:35:57
2020-10-15T17:35:57
303,798,202
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
from .formatting_utils import to_snake_case, clean_byte_unicode_chars, fix_encoding
[ "joshua_herrera@me.com" ]
joshua_herrera@me.com
4bdcf176172e262322bb5d0c51d8bf66e45503ce
398e3a7e8425a5b16487654d62c77eb2c1881091
/api/misc/queue.py
280151e16243aa11c1988e6ebdf4cde6a1b440a1
[]
no_license
paarshan4800/car-paint-shop
c1b61ba7dbf84846d97b486be937345999974b9d
5c875bfb9637674347240b57d34ba03f6bd736e4
refs/heads/master
2023-06-08T15:07:19.977790
2021-06-25T18:05:31
2021-06-25T18:05:31
365,522,984
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
class Queue: def __init__(self, maxCapacity): self.queue = list() self.maxCapacity = maxCapacity def push(self, value): if self.isQueueFull(): # Queue full return False self.queue.append(value) return True def pop(self): if self.isQu...
[ "paargav.shuttle@gmail.com" ]
paargav.shuttle@gmail.com
87aa2d7773313b90aaa87c5bad7c10b74f8381e6
8aa1dc053ddb022abb4567bdedc22d97bbd69da2
/src/datasets/market1501.py
f11087f145ee9676fd6f5309dbe9066e8f71e98d
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Qhull", "MIT", "LicenseRef-scancode-secret-labs-2011", "LicenseRef-scancode-unknown-license-reference", "Python-2.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
X-ing/PersonReID-Pyramid
354aac76dfd85bb62e9a58163ea67f8d7c3c91a5
15877f39d94dfb34962d17b8fb54c34c90a507a7
refs/heads/main
2023-01-30T18:50:55.714639
2020-12-16T02:31:15
2020-12-16T02:31:15
321,853,910
1
0
NOASSERTION
2020-12-16T03:12:01
2020-12-16T03:12:00
null
UTF-8
Python
false
false
847
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import collections import os import random import re from torch.utils.data import dataset, sampler from torchvision.datasets.folder import default_loader from datasets.base_dataset import BaseDataset class Market1501(BaseDataset): """ Attributes: imgs (li...
[ "miyozhang@tencent.com" ]
miyozhang@tencent.com
8f02346540ce66b23522276890642859b8bf49ce
cd0768362e80de0aeccea77e8380213189f86271
/Benchmark/arima/readfile.py
beebb9b90e03df69f9078d1c12ec1917ffbbeb4e
[]
no_license
nicy1/hmm
bfbdb4184db788d5a2afca6f5f78de6e8dce25cb
bfeb52ebf26c7ba0493628b6dab8d0ac94b9a43b
refs/heads/master
2023-02-02T23:04:38.720606
2020-12-22T15:31:05
2020-12-22T15:31:05
264,662,691
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
import json import csv from collections import OrderedDict # ========================================================================== class reader: def __init__ (self, filename): self.filename = filename def read_csv (self): table = {"0":0.0, "1":1.0, "2":2.0, "4":3.0, "5":4.0} ...
[ "noreply@github.com" ]
nicy1.noreply@github.com
d134bb106b4a554dcd7baf533c2c404fd5273d94
cfc49e6e65ed37ddf297fc7dffacee8f905d6aa0
/modulo_counter.py
5717eeb441ff429c28ab838b66ead40db1c14c04
[]
no_license
IfDougelseSa/cursoPython
c94cc1215643f272f935d5766e7a2b36025ddbe2
3f9ceb9701a514106d49b2144b7f2845416ed8ec
refs/heads/main
2023-06-12T16:51:29.413031
2021-07-07T00:20:53
2021-07-07T00:20:53
369,268,883
1
0
null
null
null
null
UTF-8
Python
false
false
1,476
py
""" Módulo Collections - Counter(Contador) Collections -> High-performance Container datetypes Counter -> Recebe um iterável como parâmetro e cria um objeto do tipo Collections Counter que é parecido com um dicionário, contendo como chave o elemento da lista passado como parâmetro e como valor a quantidade de ocorrẽ...
[ "doug_ccortez@outlook.com" ]
doug_ccortez@outlook.com
ae21bc2c5a6ff8248e3231bbae691421738545f1
0cb970785a746a30f9b44b3e5234157818688197
/listsFolder/sort.py
16f655fb2a7ec882998f946257dc9b5209e1ce96
[]
no_license
charan2108/pythonprojectsNew
4255bbb81b6cf0d47c51c131ed93a0bb331a669c
b2f273d44937ec576daa0235d0d0326ff5149bf8
refs/heads/main
2023-05-03T16:55:33.242693
2021-05-26T11:18:17
2021-05-26T11:18:17
371,001,254
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
cars = ['ferrari', 'ford', 'benz', 'audi', 'lamb'] print(cars) cars.sort() print(cars) #reverse cars = ['ferrari', 'ford', 'benz', 'audi', 'lamb'] print(cars) cars.sort(reverse=True) print(cars)
[ "sumacharan.adabala@gmail.com" ]
sumacharan.adabala@gmail.com
03277982d55a85cb89ca36cd3623ae3db75a07e1
5db29274e9e541da4ac609c79d8ca147b5fcf6be
/12vo contest/d.py
f75f10fa45c5bd014ec30191bacda13bdccb637a
[]
no_license
alexinf/AlgoritmosAvanzados
7e7f3b51049fe56a69e0b21858db99455caf057c
1ece2863f19e0c0bdc0111551870cd826cf1e1ed
refs/heads/main
2023-03-13T07:36:40.933186
2021-03-04T02:46:48
2021-03-04T02:46:48
344,327,560
0
0
null
null
null
null
UTF-8
Python
false
false
1,523
py
#!/usr/bin/python3 # coding: utf-8 import sys def lcs(line1, line2): len1 = len(line1) len2 = len(line2) length = [[0] * len2 for _ in range(len1)] for idx in range(1, len1): for jdx in range(1, len2): if line1[idx] == line2[jdx]: length[idx][jdx] = length[idx - 1]...
[ "alexanderfidelmarquez@gmail.com" ]
alexanderfidelmarquez@gmail.com
24241109c1c6ea21bd969e06a281e77f3166472d
c10ea1b0f212bc10bb8ed62ee3855c71f40310f3
/GTCNN-AlexNet/datagenerator.py
26932678cf1c701cc1169927238feadff99d761a
[]
no_license
learnpaul/GTCNN
3053b2f35f046d5911a024f9f4f03393f0cf25bd
5d8578a688ae33fb2cc6e8abf3ccafe8d0b7ca8a
refs/heads/master
2020-04-25T09:14:49.968298
2019-10-22T11:14:34
2019-10-22T11:14:34
172,670,590
0
0
null
null
null
null
UTF-8
Python
false
false
3,179
py
# -*- coding: UTF-8 -*- import tensorflow as tf import numpy as np from tensorflow.python.framework import dtypes from tensorflow.python.framework.ops import convert_to_tensor from tensorflow.python.data import Dataset VGG_MEAN = tf.constant([123.68, 116.779, 103.939], dtype=tf.float32) class ImageDataGenerator(obj...
[ "noreply@github.com" ]
learnpaul.noreply@github.com
f3c7a2a516b27edf49ea85a5cc3670f92650eb88
663c7e5afc1ad4b8d44d30c26eca137ca9a288b1
/170.PY
e51d03d5f68826b772da798c5062e30b382e26a5
[]
no_license
Keishs/RTR105
87a3c9e9d3d26f5183b914ad2b4a695795a4e7a6
46bf1acc9053d3be35896d28914373321b8c5cba
refs/heads/master
2020-03-28T03:24:02.289923
2019-01-02T17:03:39
2019-01-02T17:03:39
147,642,375
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
# Fails : 170. py # Autors : Egils Keišs # Apliecibas numurs : 181REB314 # Datums : 03.12.2018 # Sagatave funkcijas saknes mekleeshanai ar dihatomijas metodi # -*- coding : utf -8 -*- from math import fabs,sinh,cos from time import sleep def f(x): return (-1)*cos(a*x)*(3.14/8)+(2*cos(3*a*x)/(3*3.14))-(2*cos(5*a*x)...
[ "noreply@github.com" ]
Keishs.noreply@github.com
221a1c14b3bd95106cd9871ad06963ce8c21765c
2f81a725017d918fcc05dac76ec00f8bd3dc737e
/ModelTest_app/views.py
63ad91becc1728d3d1c858fca8bc353624e1b3a2
[]
no_license
Mauya/ModelTest
8724fcd6e609f403879cb4fbf17741b1f0ad6a74
48dfaa1ec7614ba0d6ecf31f445e3ee017877970
refs/heads/master
2021-01-01T16:38:23.277966
2017-07-20T21:47:21
2017-07-20T21:47:21
97,880,829
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
# -*- coding: utf-8 -*- from django.shortcuts import render from ModelTest_app.models import Contact # Create your views here. def get_contacts(request): return render(request, "ModelTest/home.html", {'contact_list': Contact.objects.all()})
[ "smkadungure@live.co.uk" ]
smkadungure@live.co.uk
fd2e601cec4f0227d0367fc606402bdb64677268
5117e3bed6552c0673e413518b1e6b84288c95e5
/LM&SGD_HousePrice.py
fca2c4e1757d793e9c0c268d0b85724e29cdd8e3
[]
no_license
yinjw1994/HousePrice_by_lm-sgd
b21cd12ed7489a6236b64d9bca06ed59056a8342
d204eedf32b0780bb2318b7aa28294f947553a3a
refs/heads/master
2022-08-01T14:23:50.891514
2020-05-21T05:46:16
2020-05-21T05:46:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,243
py
# -*- coding: utf-8 -*- """ Created on Wed May 20 12:31:54 2020 @author: yinjw """ from __future__ import absolute_import, division, print_function import numpy as np import pandas as pd import os import pandas_profiling import tensorflow as tf import random import math os.chdir('D:\work\Kaggle\Beg...
[ "noreply@github.com" ]
yinjw1994.noreply@github.com
a5990e9b62c183117d4b2c5a4f8ab629b1ce68a8
39e7de220f0234d4a13d5ae13d5632bede7d9d0f
/AtCoder_Beginner_Contest_180/a.py
7652f3144be6db107983d4f6cf638bb40e13143e
[]
no_license
kamimi01/coding_practice
e7a3a419cdf459327a90793f3f0e18f1fcf1274f
cd34eecc60844ac46bd6eb489f6e31b1398f6bea
refs/heads/master
2023-02-19T16:24:10.577438
2021-01-10T13:41:47
2021-01-10T13:41:47
297,109,081
0
0
null
null
null
null
UTF-8
Python
false
false
54
py
n, a, b = map(int, input().split()) print(n - a + b)
[ "awakaru0122@gmail.com" ]
awakaru0122@gmail.com
8d100df0263bb83dcda32092b5d7db7a35557b4f
db818127b373da9d88583e717f184f483a1f844d
/instruction_env/Lib/site-packages/sphinx/theming.py
30e4dffdb64f9391dcd1cda6dd9c8bf3505c626b
[ "MIT" ]
permissive
lfunderburk/Effective-Instructions
4af5a763b5021668abd6d37f1d860eeff07bfee8
ce40f890fb8623ff1ec9c3e9e1190505cbd1e6db
refs/heads/main
2023-04-14T22:43:48.363281
2021-04-26T05:40:19
2021-04-26T05:40:19
331,163,652
0
0
MIT
2021-04-26T05:40:22
2021-01-20T01:58:52
null
UTF-8
Python
false
false
8,695
py
""" sphinx.theming ~~~~~~~~~~~~~~ Theming support for HTML builders. :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ import configparser import os import shutil import tempfile from os import path from typing import Any, Dict, List from...
[ "hanh.tong@tap.work" ]
hanh.tong@tap.work
68bece7e2b4479b56fa49efeb0d6eaeab478d45b
5aca4fa841906bd95322c7c5a57142eef637e957
/src/policyfilt.py
f1dc57ec1a4f707d5ccf117ff4bb9d6034492ea3
[ "MIT" ]
permissive
sr-lab/pyrrho
096b4486c60144685883563294c8d397838c97e4
8e05101d6bea97872bf8386ff1aa4a86e259ffd1
refs/heads/master
2022-03-17T21:47:04.659178
2019-12-08T23:37:03
2019-12-08T23:37:03
196,568,692
1
0
null
null
null
null
UTF-8
Python
false
false
5,278
py
import sys import os import numpy as np import pandas as pd from composition.policy import complies from shared.args import get_valued_arg, is_arg_passed, get_int_valued_arg from shared.moduleloading import load_resel_mode def print_usage (show_help_line=False): """ Prints the short help card for the program. ...
[ "noreply@github.com" ]
sr-lab.noreply@github.com
17d8a3dbedbf5b343a645585ec8863a9fdd4f77e
e896714eed04fa7b0b7861f1b623611d2c440b4e
/repetition.py
a9f6ebfbf5a2e5b114877c94e90eab226199167f
[ "Apache-2.0" ]
permissive
KamalRanaweera/PythonExercises
7621ea0f7bec8d878db90e61a45e2883a97642a5
f904950c98eabad9c2055c5d720781cc252eef7f
refs/heads/master
2022-06-30T04:04:27.947111
2020-05-09T00:02:56
2020-05-09T00:02:56
259,506,668
0
0
null
null
null
null
UTF-8
Python
false
false
2,142
py
# Lists # A list can hold multiple values # Defining a list called numbers with no values in it numbers = [] print(numbers) numbers.append(10) print(numbers) numbers.append(15) print(numbers) numbers.append(-15) print(numbers) # Initialize a list while creating it myList = [2, 5, -4, 25, 100] print("myList =",myLi...
[ "ranaweer@ualberta.ca" ]
ranaweer@ualberta.ca
05765af0d92a304c55da29da915ea6002276cb80
629dd8604c765afa34a8d4a199c30e8a115a19ca
/blog/migrations/0005_auto_20150701_2158.py
558a54251b8eeb4859721204efd1c107ec328026
[]
no_license
julialpz/oos-projekt
c3e2ae9bdeaa4cf1eaab547ef7d05580fa439ad5
8015eb87bd62b5cd9761d56f014249844d7eb900
refs/heads/master
2021-01-22T17:48:19.830774
2015-07-05T16:25:06
2015-07-05T16:25:06
38,575,931
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0004_auto_20150701_1821'), ] operations = [ migrations.AlterField( model_name='post', name='...
[ "julialpz@gmx.de" ]
julialpz@gmx.de
1c879920ae73ce910082c2243d2c7f1b4afa12be
ae6bbf8e5d091bbd7bbd57d4e59bdc9056d37fba
/surround-view-system-introduction-imported/get_projection_maps.py
8e617fb0fa0fd8f9e827d5880f6f9db1a26dbfc7
[ "MIT" ]
permissive
yqh11/laneDetection
ee01dc09a061af9236c899bcb9a1f26a3f41bbfa
1a1165d9636cb7c364336f5515fe5a67e04ec9d1
refs/heads/master
2023-07-15T20:12:52.435261
2021-09-01T08:14:15
2021-09-01T08:14:15
401,546,304
0
0
null
null
null
null
UTF-8
Python
false
false
3,849
py
""" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Manually select points to get the projection map ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ """ import cv2 import numpy as np import yaml from paramsettings import * # ---------------------------------------- # global parameters # name = "front" # name = "bac...
[ "820937063@qq.com" ]
820937063@qq.com
1c4c018ec89c29b3fc8cded55da8088b460dfabd
923a14dd594191d77e30465027ece8371f28a7a6
/web-serpng/code/serpng/routers.py
40ae10220712dfe584223b7dc6fce22c9e272418
[]
no_license
alyago/django-web
3af7b3389df59104eaf5e50ed9cc2c3e730fed7f
da3073eec6d676dfe0164502b80d2a1c75e89575
refs/heads/master
2021-01-10T19:33:45.425520
2013-11-21T09:43:37
2013-11-21T09:43:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
# Copyright (c) 2012, Simply Hired, Inc. All rights reserved. """Database Router""" class SHRouter(object): def db_for_read(self, model, **hints): if model.__module__.startswith("autocomplete.models"): return 'autocomplete' else: None class AllowSyncDBRouter(object): ...
[ "oleg@simplyhired.com" ]
oleg@simplyhired.com
dbeba28d9939334e9d7008a0a76c85ace9c47ec2
879e1cf354eafa8814baedce4f51c449c1533a2a
/How for loop workes.py
bdabbbd325d62f90e8defcc7a02e45a9880ddc2a
[]
no_license
shahzain88/python
cbb2dbb7d7ba77a81da0e93338349461746650fd
3a852bd24da64ea4d3c6f2dcda90ac48a9c73ca3
refs/heads/master
2020-11-25T19:13:32.042311
2020-10-25T13:18:07
2020-10-25T13:18:07
228,806,953
4
0
null
null
null
null
UTF-8
Python
false
false
232
py
def special_for(iterable): iterator = iter(iterable) while True: try: print(iterator) print(next(iterator)) except StopIteration: break special_for([1, 2, 3])
[ "noreply@github.com" ]
shahzain88.noreply@github.com
c097b020cd1b399c861bf270bbc9da391c82f244
f0749701bf66d08515ca85dc51a177b354c3b88f
/Project 4/utils.py
bcdb944aeadd9e38d3cc3d316018941c0c7f108a
[]
no_license
MikeynJerry/cs525
12567c5752d78a9cc150774ed2a2cbc96a4a31cb
f39b429cdffe7cf221cc8d53c137783ffb6fb152
refs/heads/master
2022-06-08T00:46:06.384069
2020-05-04T12:18:11
2020-05-04T12:18:11
237,131,097
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
from itertools import product # Generates config dicts for each possible combination of incoming arguments def product_dict(**kwargs): keys = kwargs.keys() vals = kwargs.values() for instance in product(*vals): yield dict(zip(keys, instance))
[ "MikeynJerry@gmail.com" ]
MikeynJerry@gmail.com
7e332c7f55f2003b9937427a4820c249e496d06f
306555b6f10ce4d64caca22c4a291a5ac6337e07
/Gaussian_Process.py
a9ae6361738bc3536a29d8302b8fce228b8be27e
[]
no_license
BerenMillidge/GPs
1b107a265bb77452d2bb9a4a0854ae1b398ae6b7
3a8824c7c39a48d827ff098556bc23406cc7faad
refs/heads/master
2022-03-27T10:58:32.282459
2017-09-28T15:02:39
2017-09-28T15:02:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
from __future__ import division import numpy as np from kernels import* default_kernel = Kernel("exponential_kernel", [0.01]) class GP: def __init__(self, dataprovider, kernel = default_kernel): self.dataprovider = dataprovider self.kernel = kernel def one_d_prior(self,data_vector): N = len(data_vector) ...
[ "noreply@github.com" ]
BerenMillidge.noreply@github.com
ebbb7e231aed7dc91f44b1ba5ee170c596b861da
038f6ae71db78d2ebeca75aefab1bf67ebded50c
/manage.py
c5a1d16e16762fc14edc98966167370e75d7415b
[]
no_license
ademirResearch/Monographs
67e6c8fa3156223e91d80ae69630ccf8eec093a5
ff87702c09b85841393feae1c69738dc664eb673
refs/heads/master
2022-03-10T10:01:17.497191
2019-05-14T10:45:27
2019-05-14T10:45:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Monografias.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that ...
[ "edgar.morales@code-ing.com" ]
edgar.morales@code-ing.com
6644c8aa6bde8b175f454eb1aa510bbe1314618c
cebc80d0d9dcdd0b2458f4d2105dcc489d2079ee
/setup.py
2d85325bff794a58bf51d88e285b8a390c7235ac
[]
no_license
Gilles86/flogiston
1bd1fafc1a4a1efc5369293db34bcd0d4ce16582
62f27cdc4e740855c18139ff402face543bc5c92
refs/heads/master
2016-09-05T09:06:40.993535
2015-11-23T13:37:58
2015-11-23T13:37:58
29,321,422
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
#!/usr/bin/env python #from distutils.core import setup from setuptools import setup def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration(None, parent_package, top_path) config.add_subpackage('flogiston') return config def mai...
[ "Gilles.de.Hollander@gmail.com" ]
Gilles.de.Hollander@gmail.com
4e4878d5b16e0613911d06bccbf2ea13716fdfb0
b524063b3f45af0f48fa91c78d322039d92f0c85
/salary_box/myapp/migrations/0003_alter_company_user.py
f0dda2f07c673820e00a1b22e5834d4d3261c7c3
[]
no_license
Kamalrathi49/salarybox
1948c23db5a4af84e0c9d06a86ef8cdc1477113a
c2b1dc479b6e2bca29917916ef179dc9f840f127
refs/heads/master
2023-07-08T12:56:28.634217
2021-08-10T14:00:28
2021-08-10T14:00:28
388,198,018
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
# Generated by Django 3.2.5 on 2021-07-30 17:33 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), ('myapp', '0002...
[ "kamalrathi049@gmail.com" ]
kamalrathi049@gmail.com
647d2accb37cd5583867f0671c97b5abe4d9484f
dbe31eadf3894a705a58d96eaa527359f7d6300a
/Ion Water Interaction.py
47692447700578001e8b4316192f593098de6ec1
[]
no_license
Kinnardian/water-molecule-model
ac4fd4effc0109944178e6f3936961cba0b0876f
34f307c477754f3565131164a7fcee8f9b49828f
refs/heads/master
2016-09-15T07:58:02.895598
2016-05-17T19:28:57
2016-05-17T19:28:57
10,323,992
0
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
#Tweaked for visuals from __future__ import division from visual import * from visual.graph import * # import graphing features O=Oxygen=sphere(pos=vector(0,0,0),radius=10*.66e-11, color=color.red) H1=Hydrogen1=sphere(pos=vector(95.564e-12,7.2661e-12,0),radius=10*.31e-11) H2=Hydrogen2=sphere(pos=vector(-95.564e-12,7....
[ "kinnard@bitbox.mx" ]
kinnard@bitbox.mx
d87691a40d0aef0dc4621b98f3a6bbc9ac6cbdd1
d1d9218315d716358ba662cd185daa86a5db8fa4
/venv/Scripts/pip3.7-script.py
2ee17da4c1269219b693e4771aca67ed6f98ae36
[]
no_license
RaphaelMargottin/CalendrierGregorien
353b44b0fad629f61155f0db899b66799a01dd5d
bc7c3928fed336cbf190aef33a9a18ed9e9da733
refs/heads/master
2020-03-30T04:32:37.069335
2018-09-28T14:02:12
2018-09-28T14:02:12
150,748,880
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
#!C:\Users\margottin\PycharmProjects\Exo30Sept\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.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)?$', '', s...
[ "raphael.margottin@gmail.com" ]
raphael.margottin@gmail.com
11ad67e1dedb58c8ff4f8931564ffb3a5a93e13f
920520ec421d75e225cbee480a3f251fde5eeee4
/tests/correct2/test-typing05.py
057f3f7bc361a7b70d8878624348c722daded4d3
[]
no_license
hbradlow/cs164
23fcbceabb9fe002b36e18036c0316b4476c1f03
2165e9fc99bbb977be56b98f2ad30013d371a3c9
refs/heads/master
2021-05-26T16:05:45.056557
2012-11-13T23:51:53
2012-11-13T23:51:53
5,835,786
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
x = "Hello" y = ", world" z = x+y
[ "hbradlow@berkeley.edu" ]
hbradlow@berkeley.edu
7b60b21e65c7806a8c4404a5c3fbc743d17b78ea
1cef4ddda4bd977cc76f6ed15c64469cd837b289
/constants.py
69f9af6ae497161249f2760eae0f166a7d7f0d5c
[]
no_license
LevKats/practice2021
fa1255804db4fe2ce6d7db7f4b31f28d7fd92573
a81a3f6864a88f55fa43765767ed79f40f2e62d4
refs/heads/master
2023-06-20T05:15:32.807859
2021-07-22T20:25:44
2021-07-22T20:25:44
385,070,202
0
1
null
2021-07-13T00:31:45
2021-07-11T23:12:08
Python
UTF-8
Python
false
false
388
py
MIN_FREQ_MASK = 0.1 MAX_FREQ_MASK = 0.6 PHOTON_NOISE_FREQ_MASK = 1.0 X_TICK_SIZE = 10 Y_TICK_SIZE = 10 GRID_LINEWIDTH = 0.5 MIN_POWERSPECTRUM = -10**9 MAX_POWERSPECTRUM = 10**9 MAX_SPECTRUM = 5 * 10**9 SKIP = 0 TICKS_FONT_SIZE = 13 TITLES_FONT_SIZE = 15 # P0_MASK_RADIUS = 10 MASK_HORIZONTAL_WINDOW_SIZE = 0 KAISER_BETA_...
[ "lev-katz@mail.ru" ]
lev-katz@mail.ru
bd9f760849a402ad11b08e7e50e3789f3016cc97
c02e9e83c783e085a8827e3ad4f4de5ec2ec52a8
/snTomasCode/sn06bt_comparison_fig.py
15843b45034d05cd9f598c3bf474fd08dca49322
[]
no_license
jselsing/snTomas
d64ed8eb8fb2a770ff173b77eaf94d05736e4b2a
fafa625c4b5013cfa354217d016476ca5b716f97
refs/heads/master
2021-01-18T15:06:21.104790
2015-04-06T11:10:39
2015-04-06T11:10:39
33,455,289
0
0
null
2015-04-05T21:07:20
2015-04-05T21:07:20
null
UTF-8
Python
false
false
7,464
py
__author__ = 'rodney' def getdata(): """ read in the 06bt and tomas rest-frame UBVri light curves :return: """ import sys import os from astropy.io import ascii from astropy.table import Table, Column import sncosmo import numpy as np thisfile = sys.argv[0] if 'ipython' in ...
[ "steve.rodney@gmail.com" ]
steve.rodney@gmail.com
5cf8c72bde8ebed745e974d1c11b727ac3b86649
56c7fc6cf219f9dd0b86d6ffd052152fc5f528a6
/tokenizer/sentok.py
e03b62afde9532a4220a34af471a851ba3ff54de
[]
no_license
ablimit/skillmeter
64d97f067f25576e0e6361ae950578d40d1ba95a
0bc92cf00044608d75daa1498ea23d6f2be8b75c
refs/heads/master
2016-09-06T11:24:14.846964
2012-12-04T05:21:31
2012-12-04T05:21:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,108
py
#! /usr/bin/python import sys import nltk def main(): """ Reads text from standard input and outputs sentenses to standard output. """ tab="\t"; space=" "; text = sys.stdin.readlines() text = space.join(text) sentences = nltk.tokenize.sent_tokenize(text) # printSentences(se...
[ "aaji@mathcs.emory.edu" ]
aaji@mathcs.emory.edu
acc8860470b0001df7b8ae5651c2f43957062c25
ab9b1505a9f57d28cb12b853f14c7d00d34c36c5
/cursopython/pythonteste/aula21ambiente02.py
99e2618b048a734f08e61eb2d64041cd1d63e1f6
[ "MIT" ]
permissive
AtilaCosta87/Python
610a1170c8a043e09c3580f18a048181cfbc8348
b4eea7885d16df80feecc4c699a8348ca13a80c2
refs/heads/master
2022-05-27T04:24:40.469166
2020-04-25T02:08:23
2020-04-25T02:08:23
258,666,708
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
def soma(a=0, b=0, c=0): """ -> Faz a soma de três valores e mostra o resultado na tela. :param a: O primeiro valor :param b: O seguando valor :param c: O terceiro valor Função criada por Átila Costa na aula do canal CursoemVideo """ s = a + b + c print(f'A soma vale {s}', end='') ...
[ "atila_costa87@hotmail.com" ]
atila_costa87@hotmail.com
4a7ab625f6e45c5aa9d5d3c0e909b1e33e9c8115
2e9608d219f3f8d37403b4fff0c0273302ea8ded
/mathsqrt.py
8a03e836b62578fdd162fffe059513eabf9e532f
[]
no_license
pleabargain/ipynb_notebooks
03c6c5053ad50ac8f7cbd4f53583240c1b5f8fe2
4d9187870a2a6ddf6b195a305f74d1ff3d121aa1
refs/heads/master
2021-01-19T01:29:50.710182
2019-04-20T12:10:47
2019-04-20T12:10:47
6,853,204
2
4
null
null
null
null
UTF-8
Python
false
false
36
py
import math print math.sqrt(13689)
[ "dennisgdaniels@gmail.com" ]
dennisgdaniels@gmail.com
5412c7892243d6e657b82483122380f58f6573e3
8f579e9fb95433e5b95bcc34e99ce70c6afa35b3
/bin/check_samplesheet.py
3ed7a8a2b7dbd9031ee837a9bd7cd87e753654d5
[ "MIT" ]
permissive
SoniaD89/magmap
43141f5f144102bdb789c22af83c45175369416d
b132da6e34f67daea408e253a0b1d9efc73f4f4a
refs/heads/master
2023-04-06T04:37:00.952965
2021-04-13T08:32:34
2021-04-13T08:32:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,933
py
#!/usr/bin/env python # TODO nf-core: Update the script to check the samplesheet # This script is based on the example at: https://raw.githubusercontent.com/nf-core/test-datasets/viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv import os import sys import errno import argparse def parse_args(args=None)...
[ "erik.rikard.daniel@gmail.com" ]
erik.rikard.daniel@gmail.com
ddc0a997d94790c09c5b3f29e15b52bf20049b5f
3d51fe39809673432adda8d7e10c1afca7d3a68f
/bcbio/variation/validate.py
afd03dd0c33eef1e94db1c14581d3ece24f472c5
[ "MIT" ]
permissive
travc/bcbio-nextgen
13c5cfeb917c65d42fa6432eb50b252b3fe2d4d6
63eb26ba46502fa1b3e691e7c81a36809dc288e9
refs/heads/master
2021-01-19T22:40:31.035339
2015-10-02T08:27:54
2015-10-02T08:27:54
43,542,446
0
0
null
2015-10-02T08:21:23
2015-10-02T08:21:22
null
UTF-8
Python
false
false
20,069
py
"""Perform validation of final calls against known reference materials. Automates the process of checking pipeline results against known valid calls to identify discordant variants. This provides a baseline for ensuring the validity of pipeline updates and algorithm changes. """ import collections import csv import os...
[ "chapmanb@50mail.com" ]
chapmanb@50mail.com
776175862bc4bbda902e2f1d6d169ef5a72749c6
ccca202e0b017b8629e7fd56f7123b3e1c9a4c54
/dataPreparation/dataClean.py
eed7285f7bd9bd7000e55751c33ec97b3c54551e
[]
no_license
unofang/KIBICS
04a2d5bfb9e1547f90f3efb6eb6b8e55123691b4
e51d29b174da93c58b49561af9a0cac0b28a78e4
refs/heads/master
2022-09-20T21:31:39.589203
2020-05-31T18:13:13
2020-05-31T18:13:13
267,183,109
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
from PIL import Image, ExifTags def fix_orientation(image): """ Look in the EXIF headers to see if this image should be rotated. """ try: for orientation in ExifTags.TAGS.keys(): if ExifTags.TAGS[orientation] == "Orientation": break exif = dict(image._getexif().items...
[ "uno@hous-MacBook-Pro.local" ]
uno@hous-MacBook-Pro.local
a92a1b6b6b9d0856b0154121d86f29c993295fcf
72898b75b68b96f0c272d17f20ec3cd22b937603
/multiple_test.py
6de3e31dd4860b19f38daf08dd62b724dc41c29c
[]
no_license
PreranaPandit/PytestProgram
e7437950d85c1be53bde28367d420f8d2e35ca24
9f9615417d855d7cfdf6dd15bf86746b50cc578a
refs/heads/master
2023-07-14T03:23:39.466209
2021-08-26T06:02:28
2021-08-26T06:02:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
import pytest def test_method1(): x = 5 y = 10 assert x == y def test_method2(): a = 15 b = 20 assert a+5 == b
[ "preranapandit07@gmail.com" ]
preranapandit07@gmail.com
672157107eddb9e52d55ac8a7f57cfa87fbd7f46
2dd36e2f7c798373b4ba127760e83c38651a3f65
/card.py
c102794a393bc70945c9ce06917e24876057fac4
[]
no_license
usharma6/set_player
2bcf773aa11dd1229f48ba59d5af0c06905d6da0
3471cb17ce059ab40961aebb17e27250d77031f8
refs/heads/master
2021-05-26T00:55:40.657344
2020-04-08T19:12:16
2020-04-08T19:12:16
253,990,276
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
class Card: def __init__(self, color, number, shape, shade): self.color = color self.number = number self.shape = shape self.shade = shade def __str__(self): return "Color: " + str(self.color) + "\n" + "Number: " + str(self.number + 1) + "\n" + "Shape: " + str(self.shape...
[ "usharma6@jhu.edu" ]
usharma6@jhu.edu
403b0d2881050e9400e3625af364517ec46494e9
b0d0ec80dc1f57e7e8edb7a17dd15d77c0236146
/Day 4/day4.py
0c5ca23301ee12f3fb9aaa58ba7aebea1c1e00a6
[]
no_license
bob3825/Advent-of-Code
485214628c1a1cd6f890f3ac8a677e593769d4f4
5b3d9ae2a5cfe9f59b58cc5826fe4bf6557ac5a4
refs/heads/master
2021-01-13T15:11:32.079707
2016-12-14T23:52:25
2016-12-14T23:52:25
76,255,701
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
from collections import Counter in_file = open('input', 'r') def main(): sum = 0 for line in in_file: splits = line.split('-') checksum = splits[-1][-7:-2] sector_id = splits[-1][:-8] del splits[-1] letters = ''.join(splits) sum += isRoom(letters, checksum, sec...
[ "bob38255@gmail.com" ]
bob38255@gmail.com
b40596b4ffdb7f94462aec274762e33c4d4253c2
46436ebeb9ebc281d15c8502fbd47b308a69b551
/commands/peekaboo.py
de1db451a190b63a05622d8296b559bf4b724c66
[]
no_license
jahsu/LunaBot
a6c4e70f86a3138e11e5811b4b8caaf17a4da03d
d13dffaa1e16ef41efb31668e51cf86f4eb43d89
refs/heads/master
2020-03-12T20:12:17.536744
2020-01-12T07:39:04
2020-01-12T07:39:04
130,800,370
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
def peek_iu(): return 'https://image.ibb.co/cGzwcc/IU_2.gif'
[ "jahsu@JDENHAKKO.localdomain" ]
jahsu@JDENHAKKO.localdomain
b2a5fcd5e780d94822b28ea8268397cdea35b039
ebc1ea8ddda3d305517ca4a7f7630cc21cea56af
/noolite_mqtt/noolite_cli.py
858a47795d52d259d0099d5ede0a7b8ce01de28c
[ "MIT" ]
permissive
foxel/noolite-mqtt-python
41fa9ecf982300dc6f2779447ba2029aafaa5f57
edb3aa538b5f8234f2469b14ab035101dcc4b302
refs/heads/master
2021-10-07T11:02:49.484758
2021-10-06T09:17:36
2021-10-06T09:35:54
97,506,414
3
2
null
2018-04-18T09:01:23
2017-07-17T17:57:54
Python
UTF-8
Python
false
false
853
py
#!/usr/bin/python3 import sys from noolite_mqtt.noolite_serial import NooLiteSerial noo_serial = NooLiteSerial('/dev/ttyS0') if len(sys.argv) < 3: raise Exception('Not Enough params') noo_serial.send_command(int(sys.argv[1]), int(sys.argv[2]), 0) print(noo_serial.receive()) # ch, cmd, mode, ctr # print noo_ser...
[ "foxel@quickfox.ru" ]
foxel@quickfox.ru
5c3ec9b8bca633c0b13497f11002177fbd589d58
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_151/ch22_2020_09_09_18_55_45_398877.py
949d4f34161a93ae72b7f3993ee0a87fd3a1d540
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
def reduction(x, y): f = round((365 * x * y * 10) / (60 * 24), 0) return f a = int(input('cigarros p/ dia ')) b = int(input('fuma a quantos anos ')) c = reduction(a, b) print(c)
[ "you@example.com" ]
you@example.com
7d8f4c60ec1317b21ede9f50674f1b9a00909f82
17eeab0b3cec5f43fdd3cfcb66ab8fe9faea23e2
/a2c_discrete.py
1151ea98690b24c4954671d0e01bb7288776648e
[ "MIT" ]
permissive
pavlog/rl_games
416130b14dd2d5428fdf81776a07170c8a2ed5df
24b7833003a59fb8d991225c09a16350ecac3be8
refs/heads/master
2020-06-12T03:38:06.716887
2019-06-17T02:04:17
2019-06-17T02:04:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,326
py
import tr_helpers import wrappers import tensorflow as tf import numpy as np import collections import time from collections import deque, OrderedDict from tensorboardX import SummaryWriter from tensorflow_utils import TensorFlowVariables import gym import vecenv def swap_and_flatten01(arr): """ swap and then ...
[ "denis_valerievich@yahoo.com" ]
denis_valerievich@yahoo.com
128902adf28d2ffa058348060bc4cb5b09cddc8a
5eb97d15b975c3ef3de10401594f31c502e04de4
/YeNet-Tensorflow/testSRM.py
f04d18729452e84e6c517654c59ebc785251e5bd
[]
no_license
coriverchen/Steganalysis
863f133f506afa9e8400d2c14acee833d942d51f
f7844698bff217ff206b9a3de15ccec708951c83
refs/heads/master
2022-03-30T10:25:30.118715
2019-11-29T04:21:59
2019-11-29T04:21:59
256,136,538
1
1
null
null
null
null
UTF-8
Python
false
false
164
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 8 14:33:16 2019 @author: Lee """ import numpy as np SRM_Kernels = np.load('SRM_Kernels.npy') print(SRM_Kernels[:1])
[ "870407139@qq.com" ]
870407139@qq.com
65bf464f5dceb33f4c91f492406f183bd03bdd56
667dd66c2cb23eef287428c16b0d3604ab17c8f6
/applications/autor/models.py
27d423274c91ae58a3d0d68bf447f3557f7cc373
[]
no_license
MariangelaC/biblioteca
eb052fb5f1766199bf3ec3ba11539a315014e960
1412e1db1732deb95adacab7c4425d9d4b54198a
refs/heads/master
2023-08-25T21:12:36.517457
2021-10-20T18:38:05
2021-10-20T18:38:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
from django.db import models # managers from .managers import AutorManager class Persona(models.Model): nombres = models.CharField( max_length=50 ) apellidos = models.CharField( max_length=50 ) nacionaldiad = models.CharField( max_length=20 ) edad = models.PositiveI...
[ "mariangela.cneptuno@gmail.com" ]
mariangela.cneptuno@gmail.com
850ac07380673e3ec79b314d5c5c986d50092181
f0a44b63a385e1c0f1f5a15160b446c2a2ddd6fc
/examples/transform_ucs.py
ee0962d84cada4759f9a40046f14c79071c8b632
[ "MIT" ]
permissive
triroakenshield/ezdxf
5652326710f2a24652605cdeae9dd6fc58e4f2eb
82e964a574bcb86febc677bd63f1626318f51caf
refs/heads/master
2023-08-17T12:17:02.583094
2021-10-09T08:23:36
2021-10-09T08:23:36
415,426,069
1
0
MIT
2021-10-09T21:31:25
2021-10-09T21:31:25
null
UTF-8
Python
false
false
4,940
py
# Copyright (c) 2020-2021 Manfred Moitzi # License: MIT License import pathlib import math import ezdxf from ezdxf import zoom from ezdxf.math import UCS, Vec3 OUTDIR = pathlib.Path("~/Desktop/Outbox").expanduser() NARROW = "OpenSansCondensed-Light" X_COUNT = 7 Y_COUNT = 7 DX = 2 DY = 2 def add_circle(msp, ucs): ...
[ "me@mozman.at" ]
me@mozman.at
c7c1a370661891ff5baeeb09d0e2713dc5e93d2f
5dd344e0471f245287f40b1b6e87f17508092393
/py/py_sparkling/ml/models.py
910af804a50d7c0af72ab6b145c24b139bbbd153
[ "Apache-2.0" ]
permissive
shinezai/sparkling-water
b8c7f18fde36956b7d4e0cab357661839dfe8751
3940c723be075502da9596fbf77f811fef3dcf13
refs/heads/master
2020-03-19T09:24:58.981185
2018-06-04T18:53:21
2018-06-04T18:53:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,119
py
from pyspark.ml.util import JavaMLReadable, JavaMLWritable from pyspark.ml.wrapper import JavaModel from pysparkling.initializer import * from pyspark.sql import SparkSession class H2OGBMModel(JavaModel, JavaMLWritable, JavaMLReadable): pass class H2ODeepLearningModel(JavaModel, JavaMLWritable, JavaMLReadable):...
[ "noreply@github.com" ]
shinezai.noreply@github.com
ee1bcc67b6cdba59988db5f3ed193eee037ee4b2
3cbed72afad5531177d3778109d7b03d198abaa4
/homework2/zad3random.py
2396bbb9c5921d319f2aac7f45c11cc8a3081990
[]
no_license
VerityG/tmskurs
eedc40515cf54c74b166ac0ee09c3ea5a2bbf928
749abfab3dca03f37730de9d6fe15392799ce9e1
refs/heads/master
2022-09-04T18:12:02.784413
2020-05-27T14:26:11
2020-05-27T14:26:11
257,980,947
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
import random a = random.randint(1, 11) answ = 0 while answ != a: answ = int(input('Попробуйте угадать число: ')) print(f'You right, the answer is {answ}!')
[ "ivan.vasiliuk@gmail.com" ]
ivan.vasiliuk@gmail.com
056fc13d54df98506518956199931a47a4e5fd50
f926ba225ba4d2f197966a5e1d3b9cdddb17e43c
/1001361876-P3/2itemsets_reducer.py
2720d57366a497dcd5df88dd0a775c552512100e
[]
no_license
shkhatri/MapReduce-for-market-basket-analysis
b78e2e29ee17dbf1956fb1f39123c2f20ccd211c
e01415a59664ec184236e358246819a0db15ee69
refs/heads/master
2021-04-26T21:48:42.617832
2018-03-07T01:39:50
2018-03-07T01:39:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
#!/usr/bin/env python import sys current_word = None current_count = 0 word = None for line in sys.stdin: line = line.strip() word1,word2, count = line.split('\t', 2) word=word1+'\t'+word2 try: count = int(count) except ValueError: continue # if first word is s...
[ "shwetarkhatri@gmail.com" ]
shwetarkhatri@gmail.com