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
0f071c15769ac8ce89c01b772e739236f4fc6829
19f0dfcae32a89907b489a7729ddf6a9c958d16d
/inference.py
1d7e4cd9f8917b15bde561eaca83a8b7c6ae18df
[]
no_license
HoiBunCa/ELA
f231422d135210f836a882070f43af9d9f14a134
6e3ce729f69e0a96fa23e09b3b870efb8b3deb44
refs/heads/master
2023-07-18T09:59:38.883441
2021-09-06T02:52:22
2021-09-06T02:52:22
403,464,982
0
0
null
null
null
null
UTF-8
Python
false
false
2,090
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import os import sys import torch import torch.nn as nn import torch.optim as optim import numpy as np import torchvision import matplotlib.pyplot as plt import time import os import copy from tqdm import tqdm from PIL import Image from PIL import ImageChops from PIL i...
[ "boybka23@gmail.com" ]
boybka23@gmail.com
44d34ce7e096066329be1d20c421e3965ebda775
aecf0a868968f814879fc57e779432db96dafb4f
/yatube/apps/posts/migrations/0010_auto_20201207_1733.py
8f0e8ef72806205df21555fcd009b40bf1ab4b99
[ "BSD-3-Clause" ]
permissive
azharkih/PetBlog
5a0089a51da08055b70eb37dc4027bfcde792da6
691d5e2ebdff0148e195d84442ff52acc0f036c3
refs/heads/main
2023-04-22T05:52:55.859615
2021-05-18T08:19:29
2021-05-18T08:19:29
305,399,168
1
0
null
null
null
null
UTF-8
Python
false
false
522
py
# Generated by Django 2.2.6 on 2020-12-07 17:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0009_auto_20201206_1012'), ] operations = [ migrations.AlterUniqueTogether( name='follow', unique_together=...
[ "andreyzharkih@gmail.com" ]
andreyzharkih@gmail.com
70d2ac41c252f819bd4652c5c0acabc6610a5be3
f97b7852aafe629de03323b15e2e075e5893289a
/Ipl/asgi.py
87131a21a526b69b5b13d1f882dc10ddeb8e1516
[]
no_license
ravilucky231/Ipl-project
28adbc309446a135309089a5a02da8654c0fd24a
57c43d775e351673fa63a8623f31f25fb7d3ef92
refs/heads/master
2023-06-17T00:44:56.008578
2021-07-12T12:08:35
2021-07-12T12:08:35
385,235,185
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" ASGI config for Ipl project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "ravikumar23797@gmail.com" ]
ravikumar23797@gmail.com
bb07aae1f945712d767a0c75bcd232506bd977b1
107ca5f90d40f0caa5a71b9aa314e61a2b0c9a84
/src/preprocess.py
fed23abc7454c3b3128860e7dafc1db3e1dba4a1
[]
no_license
dondakeshimo/predicting-molecular-properties
8cd9841ae55dd04b3b2fbcc2a712f21808ba1ce0
4cfc6dcdfd35e8a462dbfffcf11743b6375f56f4
refs/heads/master
2021-07-12T04:56:39.003611
2019-07-09T12:40:03
2019-07-09T12:40:03
193,218,654
1
1
null
2020-09-25T23:54:21
2019-06-22T09:59:20
Python
UTF-8
Python
false
false
11,107
py
import numpy as np import pandas as pd from tqdm import tqdm from sklearn.preprocessing import LabelEncoder import utils def map_atom_info(df, structures, atom_idx): print("Merge structures with train dataframe") df = pd.merge(df, structures, how="left", left_on=["molecule_name", f"atom_inde...
[ "went.went.takkun135@gmail.com" ]
went.went.takkun135@gmail.com
3461812b9d0cecd1cdaa91a09e231df8c71459ba
01f434d0f96cb5bc2475d675e0082dfe1b5b240e
/DQN/DQN-Distributed.py
89f1e0c4a27b8a967c4629bfcbeb3c2ca55fa6f3
[]
no_license
david-simoes-93/GeoFriends2
2212fb0e27265680218a2d3f7a0b0d3e439ae875
5ef8fbdedc8d518b42deca4574771436d65371f7
refs/heads/master
2022-03-05T22:47:47.091191
2019-11-13T10:20:18
2019-11-13T10:20:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,022
py
# While training is taking place, statistics on agent performance are available from Tensorboard. To launch it use: # # tensorboard --logdir=worker_0:'./train_0',worker_1:'./train_1',worker_2:'./train_2',worker_3:'./train_3' # tensorboard --logdir=worker_0:'./train_0' # tensorboard --logdir=worker_0:'./train_0',...
[ "david.simoes@ua.pt" ]
david.simoes@ua.pt
b9a7fa1f314effcd4db89f89c729e12b6a1e82c7
3ff99e2d39a9faf807715b7b8b6c22f112729f96
/setup.py
66b86394deab623ca740334ffa3425e163c88b84
[]
no_license
agramfort/sphinx-gallery
577a3eeb60650c7808918fa9f49ac7aace759640
7beb0402184cc09d727b8514d9a5ec56567a2d58
refs/heads/master
2023-07-06T19:41:53.362333
2015-02-05T10:17:35
2015-02-05T10:17:35
30,350,251
0
0
null
2015-07-15T16:33:58
2015-02-05T10:33:57
Python
UTF-8
Python
false
false
755
py
# -*- coding: utf-8 -*- """ Installer Sphinx extension for gallery generator """ from setuptools import setup, find_packages import sphinxgallery with open('README.rst') as f: long_description = f.read() setup( name="sphinx-gallery", description="Sphinx extension to automatically generate an examples ga...
[ "najera.oscar@gmail.com" ]
najera.oscar@gmail.com
d7d9cfef46cc29c32cb58ad91d797ec6134461e1
e2104b3dc1ce8388e4322f0affc2b40ba9268fa5
/tts.py
64cc9572cdbbfa323118fb876cfd59f38adb7378
[]
no_license
amandal1810/micro-projects
131f14dac5ac49fc1f727c588c0b3e50596403e3
7c2d2964db97fd51877e0e7067cd71fc23464ebf
refs/heads/master
2020-06-02T18:06:15.317715
2015-04-21T05:20:16
2015-04-21T05:20:16
34,304,513
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
#type in a text as input and hear it in voice! A small Text-to-Speech Convereter using the Yahoo TTS API. Voice will play in your default media player. import urllib2, urllib import os baseurl = "http://tts-api.com/tts.mp3?" print "enter text to convert to speech : " text = raw_input() api_url = baseurl + urllib.urlenc...
[ "amandal1810@gmail.com" ]
amandal1810@gmail.com
7407743f54f6be332092091cc5aeff85ebab3e76
c420b322c305a4ec940acabb9aa756b9315a3f1d
/tests/google_test.py
5d6d79db53dccabf9e4a05c94791206b91ad0098
[ "MIT" ]
permissive
360fun/fest
1a13fa8ffdec93c85d066b18b9fa9eb4010cb461
f624ecd8569d1d640a83a1ee9d872237d303ca3e
refs/heads/master
2020-05-19T14:14:22.959398
2019-05-01T16:53:36
2019-05-01T16:53:36
185,056,247
0
0
MIT
2019-05-05T16:32:15
2019-05-05T16:32:14
null
UTF-8
Python
false
false
9,694
py
from unittest import mock import pytest from fest import facebook from fest import google from fest import utils def test_google_page_iter_events(): mockapi = mock.MagicMock() mockapi.events.return_value.list.return_value.execute.side_effect = [ { 'items': [{'id': '1'}, {'id': '2'}], ...
[ "amancevice@cargometrics.com" ]
amancevice@cargometrics.com
1de65acee10ef24ba750717c71573dbe0048d961
c3843a5a787e54569387c29b9c0ab937798e650a
/resource-dispatcher/triggering/__init__.py
86a28a4b0dc8a4e82fdf5a194d3e21c561878189
[ "Apache-2.0" ]
permissive
redhat-cop/tool-integrations
d7c16f07196447422ce880508bdd8df4e512e58c
028ebb29eb63006b42d2c6767a1a28814710c26d
refs/heads/master
2023-03-08T19:28:55.337217
2022-04-06T19:54:49
2022-04-06T19:54:49
146,352,641
7
20
Apache-2.0
2023-03-13T10:26:54
2018-08-27T20:51:08
Python
UTF-8
Python
false
false
1,246
py
import time from triggering.scheduled import schedule_trigger, run as run_scheduled from triggering.webhook import WebHook use_webhook_triggers = False def configure_triggers(task, job): global use_webhook_triggers for trigger in task["triggers"]: if trigger["type"] == "scheduled": schedu...
[ "noreply@github.com" ]
redhat-cop.noreply@github.com
79e34307db263114700edf431775570f6216a74b
bf924da04db250c383a1d1fa793f036f6fd123ee
/src/basics/mount_device.py
5e02383f99b272b78a711af885bdafd3d409c694
[ "Apache-2.0" ]
permissive
mizhu2/cosc-learning-labs
2bb2d60fa9e9f6b0630029b742e2901a34480f69
81bf3ee8338975ea54458142920e951e64dc6161
refs/heads/master
2020-02-26T13:49:51.410772
2015-05-05T09:35:39
2015-05-05T09:35:39
35,090,897
0
1
null
2015-05-05T09:42:49
2015-05-05T09:42:48
null
UTF-8
Python
false
false
4,505
py
# Copyright 2014 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "kjarrad@cisco.com" ]
kjarrad@cisco.com
6880b72bbf3c24a798403324abcd33474591e71e
d4e96aa48ddff651558a3fe2212ebb3a3afe5ac3
/Modules/ThirdParty/pygccxml/src/pygccxml/declarations/decl_visitor.py
a5d7c4c4d39c76813dc9fa30b451d4476a6a6b34
[ "SMLNJ", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-mit-old-style", "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer", "NTP", "IJG", "GPL-1.0-or-later", "libtiff", "BSD-4.3TAHOE", "...
permissive
nalinimsingh/ITK_4D
18e8929672df64df58a6446f047e6ec04d3c2616
95a2eacaeaffe572889832ef0894239f89e3f303
refs/heads/master
2020-03-17T18:58:50.953317
2018-10-01T20:46:43
2018-10-01T21:21:01
133,841,430
0
0
Apache-2.0
2018-05-17T16:34:54
2018-05-17T16:34:53
null
UTF-8
Python
false
false
1,440
py
# Copyright 2014-2016 Insight Software Consortium. # Copyright 2004-2008 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. # See http://www.boost.org/LICENSE_1_0.txt """ defines declarations visitor class interface """ class decl_visitor_t(object): """ declarations v...
[ "ruizhi@csail.mit.edu" ]
ruizhi@csail.mit.edu
a70f7d1a185d9185df7f8a94018f522b4d971f18
f25fba01f8aab8ed8e8314fe6bfb4b97bc0c6f72
/test12.py
7a48d176b3cd77a6cbcedfcaa5b770729782dcbe
[]
no_license
NineOverGOAT/Pylab1
814ebd7fd46cab8336703e49fe79f66c88d5ad64
a941f26abdb3f015cc9b7b83e619e9242719338a
refs/heads/master
2020-03-14T09:30:05.213354
2018-07-29T22:41:19
2018-07-29T22:41:19
131,546,030
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
addming some additional code nominal python scripty thingy adding more scripty thingies and more scrypty thingies
[ "anderson.donovan@gmail.com" ]
anderson.donovan@gmail.com
ca12ddc797982eecc3a030c05dbb4d297aa3a2f9
327c394b5c8b57283237f5ab7c794adb782d7e27
/testSalience.py
c2b1c251ae1d4b22911889eae6d3a78879a7a3dd
[ "MIT" ]
permissive
santacml/Malware-as-Video
25225d23e81581625deaf697ea334684ef656014
12dc3954f2237cb34857a44eadbb5ca76f8e97b5
refs/heads/master
2020-05-21T11:51:11.506221
2019-05-10T19:27:51
2019-05-10T19:27:51
186,040,328
1
1
null
null
null
null
UTF-8
Python
false
false
17,012
py
import pickle, gzip, glob, sys, keras, os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' # gets rid of AVX message import random as rn import numpy as np import tensorflow as tf os.environ['PYTHONHASHSEED'] = '0' np.random.seed(37) rn.seed(1254) tf.set_random_seed(89) from keras import optimizers from keras import backend a...
[ "santacml@mail.uc.edu" ]
santacml@mail.uc.edu
a1bd962349d27e4a59ae4070a21b49787a1ee1b1
380f0b5d0ae85e56ae09e591b7aac48a3f5cb8d2
/milho/validators.py
f5871d838f3772eca4a5b61ef85ca09389de3194
[]
no_license
EnzoSalvadori/MilhoSite
563982b45d79e4479887bfd42eee24d458d2c3c4
e76df3a720dfba37edaac211ae6768205448729a
refs/heads/main
2023-08-01T10:09:02.400227
2021-09-23T14:23:16
2021-09-23T14:23:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
from django.core.exceptions import ValidationError def validate_file_size(value): filesize= value.size if filesize > 100: raise ValidationError("The maximum file size that can be uploaded is 10MB") else: return value
[ "63012963+EnzoSalvadori@users.noreply.github.com" ]
63012963+EnzoSalvadori@users.noreply.github.com
439b31ff32f2eef202bba54a32940a0b31b9ae25
9fc87cb12e7cfd8de0aa6ddf1717852a7385e61b
/agents.py
06f310eb516003aea8e03adbf65226c7fde9a451
[]
no_license
VipinVeetil/network_coordination
a8ba721514b3cb556caf7a52495a5664b2c741f4
37911a7aca44b1c83b07bc4c3caa8005a4a0e281
refs/heads/master
2021-01-10T15:19:33.368961
2016-01-27T23:29:18
2016-01-27T23:29:18
50,057,015
0
0
null
null
null
null
UTF-8
Python
false
false
1,446
py
""" Please feel free to use the code without citing or crediting the author(s) mentioned below. Cheers to science :-) I'd be happy to hear from you about how to improve this code, and as to how the code may have been useful to you. Author: Vipin P. Veetil Contact: vipin.veetil@gmail.com Paper title: Network Or...
[ "vipin.veetil@gmail.com" ]
vipin.veetil@gmail.com
91dff73b31e860e887c69abb52768513aeedd943
4aa3a9f658802666800d7de9ceee1db9a5335da5
/tests/test_phantom.py
26d1fb1557a81f91fbee16ab2a92fe5a8ed8a7fb
[ "LicenseRef-scancode-cecill-b-en", "CECILL-B" ]
permissive
esoubrie/siddon
98d03099dece19a388c5a4fc5ab649b47483f503
d87b309320a16a7fcd9002f72b30b896d4013c7d
refs/heads/master
2021-01-21T20:50:01.804675
2019-12-09T09:01:47
2019-12-09T09:01:47
1,012,046
3
0
null
null
null
null
UTF-8
Python
false
false
1,694
py
#!/usr/bin/env python """ Testing phantom generation module. """ import nose from numpy.testing import * import numpy as np from tomograpy import phantom from tomograpy.phantom import * # test cases phantoms = [yu_ye_wang, shepp_logan, modified_shepp_logan] # not everything is working if some dimensions are 1 or 2 n...
[ "nicolas.a.barbey@gmail.com" ]
nicolas.a.barbey@gmail.com
71f1773daec9c741a842d55a7e3912d779d8463d
927e8a9390d219a14fce6922ab054e2521a083d3
/contest 21/lucy's home.py
6a1412bfd92bba7ca8499e7dbc513558d0e0c567
[]
no_license
RavinderSinghPB/data-structure-and-algorithm
19e7784f24b3536e29486ddabf4830f9eb578005
f48c759fc347471a44ac4bb4362e99efacdd228b
refs/heads/master
2023-08-23T21:07:28.704498
2020-07-18T09:44:04
2020-07-18T09:44:04
265,993,890
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
def getMax(arr,n): return max(arr) def getSum(arr,n): return sum(arr) def numOfPaint(arr,n,maxLen): ttl,numOfPaintr=0,1 for i in range(n): ttl+=arr[i] if ttl>maxLen: ttl=arr[i] numOfPaintr+=1 return numOfPaintr def Min_Time(arr,n,k): lo=max(arr) ...
[ "ravindersingh.gfg@gmail.com" ]
ravindersingh.gfg@gmail.com
e044b589bba7e4cbc4b896312eb463c02e2beb49
53438732c6bc70b0d15eea99d961d6036f8839df
/Practice1/Login/migrations/0001_initial.py
1449691fdd485d2e73bb38cacffa2f68d64360c6
[]
no_license
Amarjeet2629/MyPycharmProjects
6e07c972dce8ef12453ae0246bcbfcfd03cba1fb
179a87f327d7c036a6192d0c6e372f2f1e3588ff
refs/heads/master
2023-05-07T20:32:22.091132
2021-04-20T17:06:15
2021-04-20T17:06:15
224,671,445
0
0
null
2023-04-21T20:51:29
2019-11-28T14:32:13
Python
UTF-8
Python
false
false
620
py
# Generated by Django 2.2.5 on 2019-09-03 11:20 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='user', fields=[ ('id', models.AutoField(aut...
[ "amarjeet.sinha.mec17@itbhu.ac.in" ]
amarjeet.sinha.mec17@itbhu.ac.in
6e455b6a41be5b2c636c214c709bbab5e0d50cee
5e9f7de171d63e68bc5dbfffde62fb24aebab479
/src/utils.py
9763028a027fefb5ec615c973ac41b3bec07bcd5
[]
no_license
dinvincible98/Camera_Calibration_LIB
80123b1b2e05f2b2773a7ad3800957cc47cde176
350380d73628d59a24352d12debdbc3f49100786
refs/heads/master
2023-08-20T02:44:27.566410
2021-10-26T23:14:19
2021-10-26T23:14:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,374
py
# Utils Functions import numpy as np import math def get_transformation_matrix(pts, pt_type): x , y = 0, 0 if pt_type == 0: x, y = pts[:,0][:,0], pts[:,0][:,1] else: x, y = pts[:,0], pts[:,1] mean_x = np.mean(x) mean_y = np.mean(y) var_x = np.var(x) var_y = np.var(y)...
[ "mingqingyuan2021@u.northwestern.edu" ]
mingqingyuan2021@u.northwestern.edu
08124406eb4df7184a595374b98b557697402c8b
dcd6ff8ad969688b7055ed0e7484979f71344ff3
/tests/runtests.py
b407de16944f88d75b89e70bb1477722ef917134
[ "Unlicense" ]
permissive
Laeeth/ohmygentool
f9cf2f6376a185335a4ad63d99985eba27f6582c
fa9c16d5bba2f249ea92a58a19f4377d046b95f0
refs/heads/master
2020-06-18T00:42:59.301565
2019-06-07T03:54:42
2019-06-07T03:54:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,649
py
''' Entry point for running system tests ''' import os import sys import importlib import argparse # Make helper modules visible in tests sys.path.append("./") def find_tests(base_path=None): '''Finds all test packages in specified directory''' return find_selected(it for it in os.listdir(base_path) if it !=...
[ "absxv@yandex.ru" ]
absxv@yandex.ru
593bcc9022a20d45e452698f766029e01470e609
28851f6d1e1d123074d0e8ccdff910dd59635aec
/Exceptions/try_except_finally.py
bd909544efeb4c407023f28acd2d1803af2cfdf1
[]
no_license
sagarjaspal/Training
fc76ee921e1e38118e08cdd3287484135e05ec23
dbded9588be970d1e933f838f760229b9f88867b
refs/heads/master
2020-03-22T12:13:49.918234
2018-07-16T15:42:56
2018-07-16T15:42:56
140,026,235
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
a = int(input('Enter a: ')) b = int(input('Enter b: ')) try: password = '007' x = a/b li = [1, 2, 3, 4] print('Output', x) except ZeroDivisionError as ze: print('Exception is', ze) finally: password = '' print('Pass', password) print('Hi finally') print('I am still running')
[ "fantooshsagar.15@gmail.com" ]
fantooshsagar.15@gmail.com
92b7c7674156b1087f0f8989c6f71269d54d18a3
a3c662a5eda4e269a8c81c99e229879b946a76f6
/.venv/lib/python3.7/site-packages/pylint/test/regrtest_data/import_package_subpackage_module.py
2864e3c9efc4d60c43b428750f852330ec8b8ae2
[ "MIT" ]
permissive
ahmadreza-smdi/ms-shop
0c29da82c58b243507575672bbc94fb6e8068aeb
65ba3f3061e2ac5c63115b08dadfe7d67f645fb6
refs/heads/master
2023-04-27T19:51:34.858182
2019-11-24T20:57:59
2019-11-24T20:57:59
223,616,552
6
2
MIT
2023-04-21T20:51:21
2019-11-23T16:09:03
Python
UTF-8
Python
false
false
2,238
py
# pylint: disable=I0011,C0301,W0611 """I found some of my scripts trigger off an AttributeError in pylint 0.8.1 (with common 0.12.0 and astroid 0.13.1). Traceback (most recent call last): File "/usr/bin/pylint", line 4, in ? lint.Run(sys.argv[1:]) File "/usr/lib/python2.4/site-packages/pylint/lint.py", line 72...
[ "ahmadreza.smdi@gmail.com" ]
ahmadreza.smdi@gmail.com
0a2e229c505d383bc4f65ae2067c2d1e61f70836
d427f6f1863091acfa8675784051850932b717d3
/iscsi.py
819e6b3a652990621d16f9aab0de6eade751e21c
[]
no_license
Adarsh-sophos/Arcus-Cloud
f2adb63c6f21b218fa174489d082d67b04f24e59
32e37fbf7d5e6defc5b753adf0eaf388ee9c1df8
refs/heads/master
2021-03-20T03:35:03.207470
2019-01-12T09:55:36
2019-01-12T09:55:36
94,601,605
5
1
null
null
null
null
UTF-8
Python
false
false
4,675
py
#!/usr/bin/python2 import config import header import cgi,commands,os,MySQLdb header.header_content() if(os.environ['REQUEST_METHOD'] == "POST"): db = MySQLdb.connect("localhost","root", "Aj1.....", "arcus") cursor = db.cursor() # get username sql = "SELECT * FROM users WHERE id={0}". format(header.cookie_va...
[ "adarshjain583@gmail.com" ]
adarshjain583@gmail.com
1590e040d0ea13bf23e01f855954dc37ec2831ba
af442a26d532457295b74e54cf52993a89370959
/app/api/v1/webhook.py
e794992036294ea01fac0ed254bf6e0ac03e9da8
[]
no_license
ForkManager/Forked-fastcampusapi
2b286f0631db2750553c4a3ca2edefb1bd1010a0
89f77c55ac1abc45c925bef84d01a48c24ef703f
refs/heads/main
2023-05-29T15:43:49.272591
2021-06-18T13:57:59
2021-06-18T13:57:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,072
py
from fastapi import APIRouter, Body, Request, Depends from pydantic import HttpUrl from sqlalchemy import func from sqlalchemy.orm.session import Session from app import models, schemas from app.config import settings from app.database import get_db from app.lib import telegram router = APIRouter() bot = telegram.Tel...
[ "rurouni24@gmail.com" ]
rurouni24@gmail.com
7a44c1c6a8598cad317cdf98afb950856f18fc76
b84e8cfea8b1452387da0562c999aa5fd742dd2c
/convert_ksn_to_points_and_delete_extras.py
f0ff3c5ab4182ffc85c5a5c1e254906beca4796e
[ "MIT" ]
permissive
cmshobe/grass-scripts
ba8100b6b4541e700fdeb4f8e555452513f8c7a2
5d593f301fd708252e5a69b7304ce28ea8490506
refs/heads/master
2020-04-04T08:40:21.773623
2019-03-20T22:42:19
2019-03-20T22:42:19
154,883,321
0
0
null
null
null
null
UTF-8
Python
false
false
2,649
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Nov 29 10:39:29 2018 @author: charlie This script does two main things: 1) turns the ksn line segments into points (each segment into 3 points) 2) deletes the excess points such that each line segment is only identified by a single midpoin...
[ "charles.shobe@colorado.edu" ]
charles.shobe@colorado.edu
4ddc745a90e783629283a00b83a524d4e752e4c8
4e63d92e2b144d0ae0d0881cf55feaf91a79573d
/Light_out Puzzle/light_out_puzzle.py
52db2f61e0b2d6d0aa48e1952a198396d419ff80
[]
no_license
swaelali/Old-Stuff
d943dfc1845741aa6f64dd3e30647065b2f5fad2
ce04b1edd6561429108803e8f13a2aaf0d6d5740
refs/heads/master
2021-01-01T06:03:23.962440
2017-07-17T07:52:56
2017-07-17T07:52:56
97,345,923
0
0
null
null
null
null
UTF-8
Python
false
false
5,332
py
# Light out Puzzle Solution ALGORITHM # Solution of Light out puzzle up to 3x3 from GF2 import * def combine(puzz_matrix): ''' Return a list of all possible combinations according following constraints: - no repeation - don't care of the sequence of the numbers''' buttons = len(...
[ "wa2el.ali@gmail.com" ]
wa2el.ali@gmail.com
629d9cf082028fa5564dadaee985f0da6dc39041
159de093afa6e94e853d7721fc96c902e5767bc5
/Model/utils.py
7f594fae6b66f51d8fec995f04bbc4ff64ea9339
[]
no_license
konstantinosKokos/verbs-as-maps-keras
efcb6fccdbaeb607f9ae19761e1711283fc12511
91ab1eb99e0535c5f321e4cbd16a6609a84072ad
refs/heads/master
2021-04-15T04:29:03.150646
2018-06-25T06:28:53
2018-06-25T06:28:53
126,683,742
0
0
null
null
null
null
UTF-8
Python
false
false
4,382
py
import numpy as np from keras.utils import to_categorical import spacy from matplotlib import pyplot as plt nlp = spacy.load('en_vectors_web_lg') def flatten(relations): # flatten relations return [item for sublist in [[(i,j) for j in relations[i]] for i in relations] for item in sublist] def remove_dups(pai...
[ "konstantinos@riseup.net" ]
konstantinos@riseup.net
1e6ee13bf63328809e46af158476b05bba907c72
201356e09fb6dd82d36ed5b93b08a29482b68fb2
/Mine/Captcha/Captcha_1,py.py
d79c8657b63d784669cc70f9025b13caf436bd60
[]
no_license
M45t3rJ4ck/Py-Code
5971bad5304ea3d06c1cdbd065941271c33e4254
32063d149824eb22163ea462937e4c26917a8b14
refs/heads/master
2020-04-08T05:03:44.772327
2018-11-26T06:41:03
2018-11-26T06:41:03
159,044,079
1
0
null
null
null
null
UTF-8
Python
false
false
703
py
Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> def gen_captcha_text_and_image(width=CAPTCHA_WIDTH, height=CAPTCHA_HEIGHT,save=None): ''' ??????? :param width: :param height: :param save: ...
[ "wavoges@gmail.com" ]
wavoges@gmail.com
60777be6c4991ec9c50d572f450f4d3463e966f9
294b9a6740c574ccc8132f3b527ae34ceab64182
/src/coupons/models.py
d3b07edddb1bdf88bd3242a76093ed1044a52011
[]
no_license
werdani/E-commerce
cc172aa79d0171698d9adbb47681519c3406966d
8f0f3ce4dfad47226cc6f27e5bc5c32b93219499
refs/heads/main
2023-04-02T17:22:56.096635
2021-04-19T01:07:59
2021-04-19T01:07:59
353,048,950
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
from django.db import models from django.core.validators import MinValueValidator,MaxValueValidator class Coupon(models.Model): code = models.CharField(max_length=50,unique=True) valid_from = models.DateTimeField() valid_to = models.DateTimeField() discount = models.IntegerField(validators=[MinValueVal...
[ "ammaryasser554zz@gmail.com" ]
ammaryasser554zz@gmail.com
2669ee460c1a20c17cadb93ee23f61342d7b186e
b93e0e0c09e224c570d01d97f9ddbef184c9d57b
/listings/views.py
56b982554031a2453ca53128e99ebc7c936e4654
[]
no_license
tj-26/Django_real_estate_project
835e4a53ee24276baeded5fc8ddf688557e36836
1ef005595b2b9448dc37bde7d560b0eab912b65f
refs/heads/master
2023-02-28T02:50:34.328707
2021-01-12T08:16:00
2021-01-12T08:16:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
from django.shortcuts import render from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator from .models import Listing # Create your views here. def index(request): listings = Listing.objects.order_by('-list_date').filter(is_published=True) paginator = Paginator(listings, 6) page = reque...
[ "yashikakhuranayashika@gmail.com" ]
yashikakhuranayashika@gmail.com
eff00c0673ffecede2b7c7014027465b9394798d
94be2850eb6fc17a081221434326bcad47193419
/resolwe/flow/views/descriptor.py
73160e668b2397a104e82bc2eef3f6ef143398ab
[ "Apache-2.0" ]
permissive
lukaw3d/resolwe
6412aeabaa62d3b6f59adb1e50781cbab6238e74
7e5af6dab31e22d598563f71c96d637125c83c9e
refs/heads/master
2020-04-26T19:50:33.039022
2018-12-20T13:17:08
2019-02-27T10:11:16
173,788,495
0
0
null
2019-03-04T17:16:28
2019-03-04T17:16:28
null
UTF-8
Python
false
false
969
py
"""Descriptor schema viewset.""" from rest_framework import mixins, viewsets from resolwe.flow.filters import DescriptorSchemaFilter from resolwe.flow.models import DescriptorSchema from resolwe.flow.serializers import DescriptorSchemaSerializer from resolwe.permissions.loader import get_permissions_class from resolwe...
[ "domen@blenkus.com" ]
domen@blenkus.com
cc63557a55b54a3140892024becb08eb8143da95
666100eef842fde48b2d478193ab5604f620ed0c
/env/bin/pycodestyle
6b13152da291444913f0968bc5f27021d4bf8c1b
[]
no_license
bhavyagoel/ServerStat
342d5dc63909fe88fe4ce0fb270c5b595471c789
976d5596f07f3a833ba3448aad42fea42ae901cf
refs/heads/main
2023-09-03T03:32:07.793752
2021-11-17T23:33:08
2021-11-17T23:33:08
429,194,079
2
0
null
null
null
null
UTF-8
Python
false
false
262
#!/home/bhavyagoel/dev/GitHubProj/SysProcess-Notifier/env/bin/python # -*- coding: utf-8 -*- import re import sys from pycodestyle import _main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(_main())
[ "bgoel4132@gmail.com" ]
bgoel4132@gmail.com
194352f4e5b812be2c874173ae472be4067fd1dd
49f993f260b5d1cbbe1f3591aa5ed1776a481463
/apps.py
f1fb04555b6a14994760e5269d06e397e1e33542
[]
no_license
naye0ng/Instagram
5d35c886960497e5db031079e2f6b66b5b3e8c65
f35791ddc7c0606296837bc2ad9f597c626baa35
refs/heads/master
2020-05-05T13:50:15.158715
2019-04-18T03:14:32
2019-04-18T03:14:32
180,095,123
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
from django.apps import AppConfig class SxhoolConfig(AppConfig): name = 'sxhool'
[ "nayeong_e@naver.com" ]
nayeong_e@naver.com
134e39484a570636be4d26a1a2a9021b143f6ef6
c0cef05d528d33cb7e7f49ec2758dcd138e49577
/venv/bin/wheel
9ef8a1b9c59837bb64c138e33ec2556e9b0ca4f5
[]
no_license
MaryamBisadi/Email_Author_Identification
26b13e350ea55fe0ee432b483844797cd3d57e92
e5d1e40507a49fd7177ff781bf8ba7345aae4054
refs/heads/master
2020-03-18T13:42:43.734711
2018-06-25T05:09:48
2018-06-25T05:09:48
134,802,796
0
0
null
null
null
null
UTF-8
Python
false
false
269
#!/Users/marybisadi/PycharmProjects/Email_Author_Detection/venv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "marybisadi@Marys-iMac.local" ]
marybisadi@Marys-iMac.local
a39f77e46e9e1fb8b14b0aaf41e10dcd7f1e3c29
c459f4dd7b198ec8d8db8379726a5b2650be6636
/scripts/import_adjustment_majors.py
df5e77c03b7f00dd483c429bb63eb0f40bc23aef
[]
no_license
jittat/admapp
4c712182cd06e82efab6c2513fb865e5d00feae8
38bf299015ae423b4551f6b1206742ee176b8b77
refs/heads/master
2023-06-10T03:23:41.174264
2023-06-09T19:41:03
2023-06-09T19:41:03
101,953,724
10
4
null
2023-04-21T22:48:55
2017-08-31T03:12:04
Python
UTF-8
Python
false
false
1,371
py
from django_bootstrap import bootstrap bootstrap() import sys import csv from appl.models import Faculty from backoffice.models import AdjustmentMajor def main(): filename = sys.argv[1] counter = 0 with open(filename) as csvfile: reader = csv.reader(csvfile, delimiter=',') first = True ...
[ "jittat@gmail.com" ]
jittat@gmail.com
aa1cf0e2c7f2b64c5aec026a5acd76c4686f7dc5
ab1dd7005b4a4273da3771665250c0b3fcf9d0c1
/scripts/test_TvsR_2.py
1389d4e348d2a80f1affcd4c9dfb71c98ab049d8
[]
no_license
jordan-stone/Disks
5388eb29e1bc38382ddb2cd25b921e31decba9bc
8083c5e1c17e22356a396dfd7c08ed3df5fae605
refs/heads/master
2021-01-17T04:43:33.635093
2016-07-01T21:55:33
2016-07-01T21:55:33
61,930,695
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
from Disks.TvsR import * from Disks.Baraffe import read_baraffe import matplotlib.pyplot as mpl import numpy as np #6000,1500,600,300,50,10,2 #even as few as 2 sampled ts seems to result in the same curve... d=read_baraffe(0.1) a=np.linspace(0.1,100,1000) tr,mdotr=active_and_irradiated_combined_opacity(a,0.1,d['r'][0]...
[ "jstone@as.arizona.edu" ]
jstone@as.arizona.edu
30e52b2ab9a3bacba9f7f2714ab66d90cf8b7afc
65ed1f3570075d4bd07602d088559a4b27c26cc9
/pyAudioAnalysis/audioFeatureExtraction.py
400ba3b15daa08ff79f12d96514a8580e0a046be
[ "Apache-2.0" ]
permissive
trinhkhoi/MIR
c97f7b31c94f8ddfc0686c515c26696bccad6519
fe264abedbd8bc9142b045a1225bd2f497c15a51
refs/heads/master
2020-03-15T19:34:38.825605
2018-05-06T06:30:55
2018-05-06T06:30:55
132,307,765
0
0
null
null
null
null
UTF-8
Python
false
false
32,467
py
import sys import time import os import glob import numpy import pickle as cPickle import aifc import math from numpy import NaN, Inf, arange, isscalar, array from scipy.fftpack import rfft from scipy.fftpack import fft from scipy.fftpack.realtransforms import dct from scipy.signal import fftconvolve from matplotlib.ml...
[ "dinhkhoi1@gmail.com" ]
dinhkhoi1@gmail.com
930f4299bfc22dbbfcef08432ba583f341185fe9
00bd7fcd18b67742a906d6215ea7644efbde1bb2
/kernighan_lin.py
abf56501722deab329d6560b6e8fe6ce992e3ada
[]
no_license
steliosrousoglou/244-final
29218001edfc86d0d509e9d97ec68bf4e3b051fa
439b8ff046009952d703ffa01ea0d35dbd12837c
refs/heads/master
2022-10-13T19:17:46.135059
2020-06-12T13:44:35
2020-06-12T13:44:35
271,252,455
0
0
null
null
null
null
UTF-8
Python
false
false
6,321
py
# -*- coding: utf-8 -*- # # kernighan_lin.py - Kernighan–Lin bipartition algorithm # # Copyright 2011 Ben Edwards <bedwards@cs.unm.edu>. # Copyright 2011 Aric Hagberg <hagberg@lanl.gov>. # Copyright 2015 NetworkX developers. # # This file is part of NetworkX. # # NetworkX is distributed under a BSD license; see LICENSE...
[ "steliosr@stanford.edu" ]
steliosr@stanford.edu
eed035e496f5c2c366b9ef2dc9cd71733fb93472
000cfccad7e367d91a1d9a7961b3072bf2624a58
/test/test3.py
ad4257ddcb4e2f5a5e8cabaeb3b9e9d959463658
[]
no_license
dachuant/print-pdf
4f9bb68a67079dd838785dc8da3836a2909773d2
07c791c298dc9237b49b56724f026ca88dc1713b
refs/heads/master
2020-07-29T20:42:27.719153
2019-09-21T08:41:54
2019-09-21T08:41:54
209,951,848
6
0
null
null
null
null
UTF-8
Python
false
false
344
py
from pdf2image import convert_from_path import os print os.getcwd() os.environ["PATH"] += os.pathsep + 'D:/project/python/print/poppler-0.68.0/bin/' print os.environ["PATH"] images = convert_from_path('D:\\project\\python\\print\\2.pdf') for index, img in enumerate(images): img.save('D:\\project\\python\\print\\...
[ "dachuant@163.com" ]
dachuant@163.com
1ecf8dccf480745015841d6e35cbca8ce0076814
c61145e8771724575f67ae5738dd6cbb9626a706
/blog/permissions.py
5495131200db82f79188dabaa9b8e47477738327
[]
no_license
Seredyak1/test_task
1399dd082f4281ca6f72d036f4df4c1c6945dafe
a5d433b827df46ffa95dd6dd91245b204884674f
refs/heads/master
2020-04-16T08:03:04.521740
2019-01-16T09:33:47
2019-01-16T09:33:47
165,409,648
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
from rest_framework import permissions class IsPostOwner(permissions.BasePermission): """ Object-level permission to only allow updating his own profile PUT and DELETE methods just for the user, who is owner of Post """ def has_object_permission(self, request, view, obj): if request.metho...
[ "sanya.seredyak@gmail.com" ]
sanya.seredyak@gmail.com
6391f4b397b94798859a4bd942cda0713ae46dea
2de7c6584090daa7a11d07464a9c60eea36f1512
/datasets/sample_clean_class.py
56522e049dc3af43302bbad575815a25c8a0fc4f
[]
no_license
bill86416/trojan_attack
26bb2e7050dbfce80e99f9127d957aa0f5900be8
818892221e4b4c556642016f28a1ab863c55ac7f
refs/heads/master
2022-11-07T01:27:34.125098
2020-06-29T22:14:38
2020-06-29T22:14:38
275,916,943
0
0
null
null
null
null
UTF-8
Python
false
false
2,533
py
import numpy as np import cv2 import pickle import matplotlib.pyplot as plt import random import os from tqdm import tqdm def unpickle(file): with open(file, 'rb') as fo: dict1 = pickle.load(fo, encoding='latin1') return dict1 def save_normal_img(data, index, pth): R = data[0:1024].reshape(32,32)/...
[ "bill86416@gmail.com" ]
bill86416@gmail.com
5b7e0a0263f28b6e26fad36cbcca0e42ad259e96
23bbe9c7872180396684806ac4a2a0da498de029
/contactapp/migrations/0003_assitance_createsucce_social.py
72320ff8279b943bc889ce07073c9fa346cb5c6d
[]
no_license
Zizou897/purzzle
12a13a144677df096855d3133e8bed3857ed6bca
fd8a8757f01734c84cf01668b478358b31c054f7
refs/heads/main
2023-04-29T04:59:42.190315
2021-05-25T16:47:56
2021-05-25T16:47:56
370,630,311
0
0
null
null
null
null
UTF-8
Python
false
false
2,438
py
# Generated by Django 3.2.3 on 2021-05-22 22:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('contactapp', '0002_newsletter'), ] operations = [ migrations.CreateModel( name='Assitance', fields=[ ...
[ "azeridwan10@gmail.com" ]
azeridwan10@gmail.com
f7bb9c2c7637546d17ab231eaff8b8e9de225f3e
287984049908b76587a0d0acf8f129875ed4b99a
/navbar.py
08f302885117b26214b48f5b106cab12b82acd18
[]
no_license
leonardtang/stonks
172235c80205a967d9e5a948e2c776a64fd7f18c
4f9a540ba5f19dd8dd7247239e9a511d08fd61de
refs/heads/master
2023-06-02T15:44:43.707253
2021-06-22T11:02:15
2021-06-22T11:02:15
359,015,232
1
0
null
null
null
null
UTF-8
Python
false
false
549
py
import dash_bootstrap_components as dbc def Navbar(): navbar = dbc.NavbarSimple( children=[ dbc.NavItem(dbc.NavLink("Stocks", href="/stocks")), dbc.NavItem(dbc.NavLink("Crypto", href="/crypto")), dbc.NavItem(dbc.NavLink("Volatility", href="/volatility")), db...
[ "leonardgentwintang@gmail.com" ]
leonardgentwintang@gmail.com
275cb2dc84ed3aebe31d43dcfb67ea7ee46bb73a
ddcebdfe77e095ff39e33ad44a39fd2c85b42701
/lab03_03.py
0423d2d2e20c7abda28b6d8fe955b54cc9fa5024
[]
no_license
soizensun/python-lab-solution
08b793e4bce3f996f033ab1a9624e43ce69b6d6e
897f5e5051753f13e5448bb8edd2b09d3a017291
refs/heads/master
2021-08-28T14:44:28.867992
2017-12-12T13:30:32
2017-12-12T13:30:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
h = int(input('Enter number of hours: ')) m = int(input('Enter number of minutes: ')) if(h < 0 or m < 0 or m > 59): print("Input Error") else: baht = 0 if(h == 0 and m <= 15): print('No charge, thanks.') else: if(m > 0): #if(m == 0) h = h + 1 if(h <= 2...
[ "zozen@gmail.com" ]
zozen@gmail.com
b372e8891c3a17c5a20bd4f2e5c2b6c8fde17955
89f47a87b780d0ab08bac724d519c7e35d6f85f9
/customerapp/migrations/0007_auto_20181018_1610.py
589e2cfe800d5f6c1051422916a58d4b7900e608
[]
no_license
Bhavin55/project
df572486684d49aa8289df8a66c1cfe1705ee688
e94dce8ac350ca3a3cbfa576d5daf8bc9ddd55b9
refs/heads/master
2020-04-02T13:53:33.393427
2018-10-24T12:42:24
2018-10-24T12:42:24
154,501,408
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-10-18 16:10 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('customerapp', '0006_auto_201...
[ "bhavinbharathan55@gmail.com" ]
bhavinbharathan55@gmail.com
5d5b0ee5fecf06912ea0fbbf1e1bc3d9eb06a082
cefe901a9b77117ca6450da4d3a3389469d7e097
/Speaker.py
fdc4270655f03ca82ff16bf03402577819e9d834
[]
no_license
saguileran/Scripts
ea5a0cbac6ac03e7c32db889db46f45c63a32f18
cb1443164bcd26d5ac2b036ed62cf8f6ec2916c1
refs/heads/master
2020-05-30T18:54:31.401635
2019-06-08T04:58:17
2019-06-08T04:58:17
189,910,948
0
0
null
null
null
null
UTF-8
Python
false
false
1,982
py
####Este es un tutorial del libro de Alexander Hiam pagina 45 del PDF#### import time from Adafruit_BBIO import PWM from Notas import * led_pin = "P9_14" #Pin donde se coloca un PWM PWM.start(led_pin, 0, 60) #el segundo termino es the initial duty cycle, el tercero es la frecuencia dt=0.1 #tiempo entre pulsos #a=Fal...
[ "saguileran@unal.edu.co" ]
saguileran@unal.edu.co
61cf6c2336cb0a0ead3430453c374718f1a68923
ae75d25cc4c1d2f77726f1346346ad3a3989696f
/code_examples/builtin_types/lists.py
b8a0455941ce4b93b64b2b97b48e2e32dd2d0d44
[]
no_license
marcin-bakowski-intive/python3-training
6c6bda2e2301a563c6fe7f152c5c6478eedb9b43
1a150ab6825080d00a1b21560e08f33c219af7ac
refs/heads/master
2020-04-05T20:51:33.826683
2018-12-11T14:20:19
2018-12-12T07:31:43
157,197,753
0
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
#!/usr/bin/env python3 # https://docs.python.org/3/library/stdtypes.html#sequence-types-list-tuple-range fruits = ['orange', 'apple', 'pear', 'banana', 'kiwi', 'apple', 'banana'] print("apple count: %s" % fruits.count('apple')) print("tangerine count: %s" % fruits.count('tangerine')) print("banana count: %s" % fruits...
[ "marcin.bakowski@intive.com" ]
marcin.bakowski@intive.com
b2e5f4f3b6676dbdc8c2a546cf50b28f0f92ad08
b911528809d4b231abd1aab7892d4177dd323072
/helper.py
5f233862dfa6cad7099331131a8072f81a9c3bdc
[]
no_license
welchrj/MAE6286
6339763826b1bf49dfd93c108b86244a493a8e01
080f02a281e2b2190120456e5a679d94b382e48f
refs/heads/master
2020-07-12T11:42:14.925631
2019-12-12T16:34:04
2019-12-12T16:34:04
204,810,873
0
0
null
null
null
null
UTF-8
Python
false
false
5,500
py
""" Helper functions for lessons of module 5 of Numerical-MOOC. """ import numpy from matplotlib import pyplot, cm from mpl_toolkits import mplot3d def ftcs_neumann(u0, sigma, nt): '''FTCS with neumann conditions''' u = u0.copy() for i in range(nt): u = u.copy() u[1:-1] = u[1:-1] + sigma*(...
[ "welchrj@gwmail.gwu.edu" ]
welchrj@gwmail.gwu.edu
67342d9963c24dbb9002f5f01da016bfbeed01b0
f11a7316d46f1119a261da65abe0d45ffd37bf50
/app/addexpense.py
e760243220ddcad9a2918f21a13a642fa9ff3276
[ "MIT" ]
permissive
327585419/ExpenseTracker
728202f904124846b4f39e844acb9532e336e6b9
05a96e714564325dbe30c1a368b1bba965d5d0ee
refs/heads/master
2022-02-26T16:53:58.970500
2019-11-03T05:31:11
2019-11-03T05:31:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,623
py
from datetime import datetime, timedelta from kivy.uix.screenmanager import Screen from kivy.uix.dropdown import DropDown from kivy.app import App from kivymd.pickers import MDDatePicker from kivytoast import toast from dtclasses import Items, Expenses from additem import CustomFlatButton add_expense = """ #:import...
[ "adityabhawsingka@gmail.com" ]
adityabhawsingka@gmail.com
6642b80f27554a501506a6ad0f13c7179eccc798
2700a95438492d3c99b86ac5ff49806d79d5f3c7
/example/serializers.py
1f2c59651d71e0f8b15f7e04b73d0ea74f7c39c3
[ "BSD-2-Clause" ]
permissive
kaldras/django-rest-framework-json-api
ea621a79d911715e383ff8d1d36e18bb452b5582
a4ae22ca4e8351e40e9e4a82c6c117f6beac9653
refs/heads/develop
2021-04-15T18:36:37.088458
2015-09-21T22:43:17
2015-09-21T22:43:17
42,941,620
0
0
null
2015-09-22T15:11:30
2015-09-22T15:11:30
null
UTF-8
Python
false
false
530
py
from rest_framework import serializers from example.models import Blog, Entry, Author class BlogSerializer(serializers.ModelSerializer): class Meta: model = Blog fields = ('name', ) class EntrySerializer(serializers.ModelSerializer): class Meta: model = Entry fields = ('blog'...
[ "mail@unruhdesigns.com" ]
mail@unruhdesigns.com
b14160cc6e4a410f235a915e100cb604c440c372
d45e2c58e57b22b48bf1b3c426c5e62ec7651c4c
/LECOUEDIC_TORTOSA_OLIVIER_TP1.py
66b9c66a8d39c79eeaba96420450c1a9e1b52faf
[]
no_license
tlc10/Data-Analysis
0c6d5ff9866f9c6fdd4831401c381b568b1acd46
07d655d32a9c76eab8954792501fae308f3e482e
refs/heads/master
2022-09-25T19:26:59.364829
2020-06-02T15:10:40
2020-06-02T15:10:40
268,833,664
0
0
null
null
null
null
UTF-8
Python
false
false
2,234
py
#LECOUEDIC Thomas #TORTOSA Hugo #RAPHAEL OLIVIER #TP1 DATA ANALYSIS import matplotlib as plt import statistics import numpy as np import matplotlib.pyplot as plt import pandas as pd from scipy import stats from math import sqrt,pi,exp from collections import Counter #A #1) A = np.random.randint(0,10,1000) #2) plt.his...
[ "noreply@github.com" ]
tlc10.noreply@github.com
38c82483fb2383ea015666b29dbae06848e61afe
ea05617b5d33a641bb60b735e936e8f0ba6e57a7
/unittests/test_splash.py
fd230dd1991ad97954cad4ff5e86756b9c47c6f8
[]
no_license
bbpatil/Phoenix
18716744f5a3f5dbd805520baf3edc14ebde9529
4d05434a6c9e9effb2ade8085e2bfa83775575ed
refs/heads/master
2022-02-23T21:40:34.510672
2016-06-12T05:26:06
2016-06-12T05:26:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
966
py
import unittest import wtc import wx import wx.adv import os pngFile = os.path.join(os.path.dirname(__file__), 'toucan.png') #--------------------------------------------------------------------------- class splash_Tests(wtc.WidgetTestCase): def test_splash1(self): wx.adv.SPLASH_CENTRE_ON_PARENT ...
[ "robin@alldunn.com" ]
robin@alldunn.com
391965ab758a9bc77d76205ceb946adf9d009a2d
af24f5e44068ddc91e05ecdbafac2d01755fd2e9
/blog/migrations/0028_auto_20200706_1507.py
33d3e828815ec09a8e24fb1bd42385e126ce098e
[]
no_license
IsraJC/my-first-blog
a34b666fe09ae091c54c00e6121a6bd528fd22e1
84bc92a6cde1aec527600040cd382cd1853c1574
refs/heads/master
2023-08-12T18:42:21.745988
2021-10-04T19:50:09
2021-10-04T19:50:09
269,368,823
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
# Generated by Django 2.2.13 on 2020-07-06 14:07 from django.db import migrations, models import django_mysql.models class Migration(migrations.Migration): dependencies = [ ('blog', '0027_cv_skills'), ] operations = [ migrations.AlterField( model_name='cv', name=...
[ "israchanna@gmail.com" ]
israchanna@gmail.com
364e79d12f465bb9b2bc58ca1814c8753ec31f44
8984d05795a32d3ffb646dad2b7a3b1cb3d118ec
/OOO processor/code/assembler.py
7277841b7a008799eedb7ad7e7b4966f9541cfa1
[ "MIT" ]
permissive
Shubhayu-Das/VL803-projects
3999782261c1ae1b07f5b418790a101c7d3d6d1c
895066e3449538bffd12413d93344515afed08c4
refs/heads/main
2023-05-06T10:10:05.139534
2021-05-21T18:23:34
2021-05-21T18:23:34
337,995,514
1
0
null
null
null
null
UTF-8
Python
false
false
3,375
py
''' MIT Licensed by Shubhayu Das, copyright 2021 Developed for Processor Architecture course assignment 1 - Tomasulo Out-Of-Order Machine This is the script for a basic RISC-V assembler. It only support LW, ADD, SUB, MUL and DIV instructions so far. All are integer instructions only, although, the program by itself s...
[ "Shubhayu-Das@users.noreply.github.com" ]
Shubhayu-Das@users.noreply.github.com
cb4e8da828ef302f7370bd82751ec3397ad3203c
d91bbff79ad7b13b7ddf0e3468c08a378c4d40e8
/flaskblog/__init__.py
98ef8cd44d17c742425d1c89ecb10e808ffa88c1
[]
no_license
bugtijamal/flaskblog
07927f68f9766c127da6ee638501bf55fab0b467
46583df1e2861f82772edcc37ddf53f89c3e2acc
refs/heads/gh-pages
2022-11-07T22:43:10.846688
2019-05-08T11:16:16
2019-05-08T11:16:16
185,075,433
7
3
null
2022-10-06T01:38:36
2019-05-05T19:49:04
HTML
UTF-8
Python
false
false
579
py
from flask import Flask from flask_bcrypt import Bcrypt from flask_sqlalchemy import SQLAlchemy from flask_login import LoginManager from flask_msearch import Search app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.db' app.config['SECRET_KEY']='thisisatopsecretsforme' app.config['SQLALCHE...
[ "bugtijamal@gmail.com" ]
bugtijamal@gmail.com
7c24f6c2100d2d03c1dcef8554a3eb2f465a6538
79b4b594208fa79f33fdf2ea9b2296a8ddf54087
/Social Media Ontology/flickr_api-0.4/flickr_api/keys.py
2d76be5e115034a94a1c300377b8ec20790e1e83
[]
no_license
sheetalsh456/Crime-Ontology-Enrichment-Using-News-and-Social-Media
67b9121f9beb1d6ecb8e5539a032a9437875ffb1
5f6125a3c85867c598cadbe2baa84cc20e35a8fe
refs/heads/master
2020-03-20T21:10:59.932532
2018-06-18T08:33:50
2018-06-18T08:33:50
137,727,551
1
1
null
null
null
null
UTF-8
Python
false
false
327
py
API_KEY = "c0fbe33d0663c2a99981d03c9d21d9a1" API_SECRET = "8c76a2ad387c546e" try: import flickr_keys API_KEY = flickr_keys.API_KEY API_SECRET = flickr_keys.API_SECRET except ImportError: pass def set_keys(api_key, api_secret): global API_KEY, API_SECRET API_KEY = api_key API_SECRET = api_...
[ "sheetalsh456@gmail.com" ]
sheetalsh456@gmail.com
da01ce9e8217ad95f045cc6cdc61d65ad111b646
2d0eda15d99d945b9dfa25ccfa701fbdac70bf69
/invoicemanager/wsgi.py
ab0d00532585d25b976d24045f9ebdc998fa9506
[]
no_license
Williano/Invoice-Management-System
9df1267f59bb1faaacb7b1864dbcf3face5cf549
7ad761973d1db913a166a9006a27042441c14f10
refs/heads/master
2022-10-27T19:44:47.177462
2022-09-26T03:42:56
2022-09-26T03:42:56
149,183,182
33
10
null
2022-04-26T02:08:52
2018-09-17T20:21:41
JavaScript
UTF-8
Python
false
false
406
py
""" WSGI config for invoicemanager project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
[ "paawilly17@gmai.com" ]
paawilly17@gmai.com
843e5f8cf59b3b2b9f8dd6abd7edf6e1dc8c0467
b888de0906d9055246e8a8f334f3de914cddb64b
/otp.py
a4a00b9cabe1abba727043163b8961764563c0e6
[]
no_license
Tavrovskiy/7_Symmetric_ciphers
c45f3082ace845a20307b03b7a69bb302c635f3c
8509578cb767ce3a6ad866f570c08eca151876f9
refs/heads/master
2020-11-30T04:04:22.265193
2019-12-26T16:58:51
2019-12-26T16:58:51
230,296,650
0
0
null
2019-12-26T16:44:55
2019-12-26T16:44:55
null
UTF-8
Python
false
false
393
py
def vernam (k, m): lb, rb = 0, 65536 res = '' for ind, s in enumerate(m): cur_k = ord(k[ind % len(k)]) res += chr(ord(s) ^ cur_k) return res s = 'oh hi mark' print("Исходная строка: " + s) example1 = vernam('qwe', s) print("\n Шифр:" + example1) hack = vernam('qwe', ex...
[ "Alex_Tav@icloud.com" ]
Alex_Tav@icloud.com
bf8279023591a8e93a533f29dfd93aeb05bed3d2
77e7bf85a0a39031de0ce11a095303a775700a91
/gis/parse_raw.py
f834c3d3839a5d3bb1286588703700118773eb2f
[]
no_license
simrayyyy/uk-districts
ea8f86210b7d02f83c45d9116c12785b8d6557eb
fe18edcc4aa7d6dd8364ec9348c17b4e356ea9d9
refs/heads/master
2022-11-12T09:31:51.842471
2020-06-17T08:30:21
2020-06-17T08:30:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,546
py
import sys import fiona from shapely.geometry import Polygon from shapely.geometry import MultiPolygon import shapely.geometry fn=sys.argv[1] with fiona.open(fn) as uk_gis: #print header print("objectid,name,area,centroid_x, centroid_y") for shape in uk_gis: #objectid = shape["objectid"] ...
[ "pieter.libin@vub.ac.be" ]
pieter.libin@vub.ac.be
6ed5ed6002d8c19eb9118c1f57f356dd2c2be4b8
e983ff3137b38a9a984c54466e76c530bf1e95de
/HomeControlWeb/common/templatetags/navbar.py
8af58895f6622e329c395ac3771cbe6595230440
[ "Apache-2.0" ]
permissive
itamaro/home-control-web
43c75d312c06e746c78b4c13657675571c868e6c
de8b9020548e1634d3312a992e1a29351a780d2d
refs/heads/master
2016-09-06T04:47:47.107092
2013-10-30T11:31:40
2013-10-30T11:31:40
12,058,092
2
1
null
null
null
null
UTF-8
Python
false
false
387
py
import urllib from django import template from django.core.urlresolvers import reverse register = template.Library() @register.simple_tag(takes_context=True) def nav_item_active(context, lookup_view): "Return 'active' if the `lookup_view` matches the active view" return context['request'].path.star...
[ "itamarost@gmail.com" ]
itamarost@gmail.com
cf3291941427d53935ae71d23e4d8c8974616f9a
2c60ab1041d60f2c4d0a92cb35f074a1f0a18cc9
/term2/particle_filters_python/5_important_weight.py
4f62368078b9c19053808428548cc7f50be781d5
[]
no_license
haopo2005/SelfDrivingCar_Udacity
12f964fa28d68326da6e851fe54ac40b9a6c2eaa
70f8b7f3aba5128e40774773977af019476cbcb9
refs/heads/master
2020-03-28T08:54:17.842482
2018-12-29T05:49:30
2018-12-29T05:49:30
147,997,999
0
0
null
null
null
null
UTF-8
Python
false
false
4,123
py
# Now we want to give weight to our # particles. This program will print a # list of 1000 particle weights. # # Don't modify the code below. Please enter # your code at the bottom. from math import * import random landmarks = [[20.0, 20.0], [80.0, 80.0], [20.0, 80.0], [80.0, 20.0]] world_size = 100.0 ...
[ "haopo_2005@sina.com" ]
haopo_2005@sina.com
ca186d71a8fd535aeb0e69a2140ae94c1919bccc
e886db017985b853b220ce75fec51b80943116c5
/pSp/criteria/w_norm.py
1a8c092d0d985b31860e6b5ec348a771c8f7605d
[ "MIT", "BSD-2-Clause", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pobbyleesh/TransStyleGAN
74b385a519e724f1e4bfa0052e9df72636eebe15
a1e6ca2be734c915ed27837726c0698d3f06f11b
refs/heads/main
2023-05-12T23:58:30.696052
2021-06-04T06:29:41
2021-06-04T06:29:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
import torch from torch import nn class WNormLoss(nn.Module): def __init__(self, start_from_latent_avg=True): super(WNormLoss, self).__init__() self.start_from_latent_avg = start_from_latent_avg def forward(self, latent, latent_avg=None): if self.start_from_latent_avg: la...
[ "noreply@github.com" ]
pobbyleesh.noreply@github.com
4c9ead13981caf01a0870ccf697e8582ce3d52f7
64d9641602a2f9a32c8152267244a82622eeaa31
/plugins/logger.py
680eb77c74aff6b3818e9e91b0d970a40b872b89
[]
no_license
rbistolfi/Lalita-plugins
b9134f15e8dca0fb7d56c387e4ed816d14b0b589
05a70ea1df1b1b491b38ab4501655b239c330e41
refs/heads/master
2021-01-25T10:00:03.104780
2010-02-05T00:01:03
2010-02-05T00:01:03
451,140
1
0
null
null
null
null
UTF-8
Python
false
false
2,773
py
# -*- coding: utf8 -*- u'''A RSS reader for the Lalita IRC bot.''' from __future__ import with_statement __author__ = 'rbistolfi' __license__ = 'GPLv3' import re from lalita import Plugin from time import gmtime from twisted.internet import task TRANSLATION_TABLE = {} class Logger(Plugin): """A IRC channe...
[ "rbistolfi@gmail.com" ]
rbistolfi@gmail.com
d79c566868e846226e47d3a05785c4b99b181782
5c5e600c36f485ed53f4830e8c2aae0905a85a9d
/zuker/stu/env_scrapy_python3.5.4/bin/ckeygen
9b918a5d3771de4f10104f1d4e81c5a96914a6b2
[]
no_license
njxshr/codes
f60041451407396c3f529c993af8c7c13e6a3518
9621a496eaa2fdec43e646840ed2e889dc9ea2e8
refs/heads/master
2022-11-09T14:29:06.700324
2018-06-09T12:41:46
2018-06-09T12:41:46
106,446,382
3
1
null
2022-10-18T17:54:37
2017-10-10T17:03:28
Python
UTF-8
Python
false
false
263
#!/Users/lee/.virtualenvs/article_spider/bin/python # -*- coding: utf-8 -*- import re import sys from twisted.conch.scripts.ckeygen import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "lizhao2@chanjet.com" ]
lizhao2@chanjet.com
c8a65b947246bab93ba35b55e2700ac66f889490
13fe0f02f829062cb5d3870d1f207eb8df1de8c0
/DataReader.py
8ad5fef3b49b57caf3192633291c1e6c54283bbf
[]
no_license
CillianWang/ENN
d00c6712f066201eb151eb80381aa1b00cba3af5
2efdd739d12ec0280216745706a9d5f956d6d3fe
refs/heads/main
2023-08-07T19:37:56.939146
2021-10-08T08:52:01
2021-10-08T08:52:01
396,851,931
1
0
null
null
null
null
UTF-8
Python
false
false
1,761
py
import mne import os folder = "haaglanden-medisch-centrum-sleep-staging-database-1.0.0\haaglanden-medisch-centrum-sleep-staging-database-1.0.0/recordings" filenames = os.listdir(folder) data_list = [] recording_list = [] index = 0 # read data.edf and recording.txt, as recording.edf contains strange floats for file in...
[ "x.wang3@student.tue.nl" ]
x.wang3@student.tue.nl
ca787f26d532cdb9922b41df3344d8a755d4d59a
2410c26369f097c7725af747f64ab4d429103578
/aplicacion/aplicacion/settings.py
eb9f51bba47e1d8f20826bd565c8461ebe8ea996
[]
no_license
miguelUGR/TFG
937d69a9aa1f9625b8e65d254c994f7bbe8b4d27
2a5fc78f03c7bc739e26896a990bc9d354cacbb0
refs/heads/master
2022-12-15T19:44:21.104448
2020-07-03T15:43:46
2020-07-03T15:43:46
215,865,945
0
0
null
null
null
null
UTF-8
Python
false
false
5,239
py
""" Django settings for aplicacion project. Generated by 'django-admin startproject' using Django 2.2.6. 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...
[ "breva75@hotmail.com" ]
breva75@hotmail.com
91f6eb8a75fe82fa8ce346dc0e1f140bb08367a3
259bf9a65e399156148e140d3ce8d15adf9d4b88
/business.py
ecfce8ca96b0aaeec562fb0a0e19a41d0640002b
[]
no_license
NOORMOHIDEEN/Salmon-quantity-and-its-export
d20726ed405b180471ec2da6cca9e2b29f5ab439
eab156b85f35e8923da480b9a34a74c69b5c9a7d
refs/heads/main
2023-04-18T09:59:09.438174
2021-05-03T14:02:53
2021-05-03T14:02:53
363,947,974
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
import pandas as pd def get_data(): df = pd.read_csv('data.csv') print(df['Year'].tolist()) year = df['Year'].tolist() SalmonQuantity_data = df['SalmonQuantity'].tolist() Expo_data = df['Expo'].tolist() # print(df['quebec'].tolist()) result_dict = { 'year' : y...
[ "noreply@github.com" ]
NOORMOHIDEEN.noreply@github.com
3f5227799880ede2f6a93b4a8d18f1d01d2ab6ca
64c07601b745c0be2c89deb43d543f2ccf1420d0
/learning/models.py
23d5093d0400544bebba52bae484dc2a358b14bf
[]
no_license
shisz/UWB_ML
2c9617d35673279f41e2f28680a0ee0b145ed79d
edd3eeafb8240d7acb95c2992cf6546007d2d5f5
refs/heads/master
2022-04-02T12:03:20.012832
2020-01-17T15:20:58
2020-01-17T15:20:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,069
py
from __future__ import print_function import torch import torch.nn as nn import torch.nn.functional as F from config import * from torch.autograd import Variable from learning.npn import NPNLinear from learning.npn import NPNRelu from learning.npn import NPNSigmoid from learning.npn import NPNDropout from l...
[ "mcz13@mails.tsinghua.edu.cn" ]
mcz13@mails.tsinghua.edu.cn
9c0186283e28e88a4fca848a40bc56217bd5258c
52bb670ddf48830f7ee1fe1343c48b94631f6a6a
/app/levels/SecondLevel.py
8349a3b1a324fc8ee63c8a946942a5ec1529d668
[]
no_license
DmitryNeposidjaka/QuiQuaerit
dfbcf2991f9d2cf8cf90fb7aa1904734fa0de286
bf3654806fc2f7191e72892bce4d05cccc4286aa
refs/heads/master
2020-05-27T15:29:21.195780
2019-10-15T14:53:51
2019-10-15T14:53:51
188,681,497
0
0
null
null
null
null
UTF-8
Python
false
false
3,185
py
import random class SecondLevel: number = 0 player_health = 10 enemy_health = 10 enemy_last_health = 10 enemy_numbers = [] enemy_last_number = 0 def __init__(self): self.__gen_number() self.player_health = 100 self.enemy_health = 100 self.enemy_last_health ...
[ "dmitry.neposidyaka@uadevelopers.com" ]
dmitry.neposidyaka@uadevelopers.com
5eb64c0f409d8b1a0cd06882e2362c70de3f2844
87e3d4b60f39417535afb41acfe07fb706504ead
/locallibrary/urls.py
a1124247039ffb9f54e8c78ce464c769a230a830
[]
no_license
antonyuhnovets/Django_proj_test
5f1a81ff3643586935da13dd778b1623e9f0e75e
69e7642c9e24b5a997d2640dea311b3b974f3fc3
refs/heads/main
2023-09-01T13:44:17.273659
2021-10-22T09:33:05
2021-10-22T09:33:05
418,429,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
"""locallibrary URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/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-...
[ "Vaker1990@gmail.com" ]
Vaker1990@gmail.com
449b82d8a2e6748e6f7a1f6ac56f6405019e55eb
acb81af03cbbf126b4ff7ae88c56454ef45b35d3
/accounts/migrations/0001_initial.py
2bb8a5055298c09e50882c7fb20de9e5d3687772
[]
no_license
Vaibhav3009/ealter-heroku
6b0ebf56b74ed545f495696b2d3aa5e37893c8f1
8298b34f25e7f8c7fd7d67463e5155c5e002af83
refs/heads/master
2022-10-25T19:55:58.754233
2020-06-15T22:47:35
2020-06-15T22:47:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,130
py
# Generated by Django 3.0.6 on 2020-06-09 11:09 import accounts.models import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel(...
[ "bansaljatin2810@gmail.com" ]
bansaljatin2810@gmail.com
67cc65aade6945b85f11d8b9f0344585a2212bbc
6b40931daafbf9dae280579a41e8dd754fa91f9c
/python/skScriptedNoiseDeformer.py
7191cd2a9670b7ee1040ac83e503b2be09b09a01
[ "MIT" ]
permissive
skeelogy/maya-skNoiseDeformer
07aaa94101a23acae8cc1c9b14bed7ea7ac78f63
e853aee238be695685181d93c0817a21296dab9f
refs/heads/master
2016-08-03T05:17:54.624740
2014-10-27T16:18:20
2014-10-27T16:18:20
20,463,496
10
3
null
null
null
null
UTF-8
Python
false
false
10,902
py
""" @author: Skeel Lee @contact: skeel@skeelogy.com @since: 30 May 2014 A noise deformer plugin for Maya. It deforms meshes using fBm (fractional Brownian motion) which adds up multiple layers of Simplex noises. ---------Usage------------- 1) Load the plugin, either using the Plug-in Manager or using the f...
[ "skeel@skeelogy.com" ]
skeel@skeelogy.com
a0f0e296b65c24b3f22b2d9f9128df08da47cd87
8d50ada4abfd790d407340e218c18b4f04ba570a
/4-7.py
d04bab371372f8037035ddd110df0c92a8be439f
[]
no_license
prasanna1695/python-code
b3ca875178f4645d332f974588117994ad6c3e01
e62d700da292dc4e6cedebbe54dcd3f25b936ed5
refs/heads/master
2021-05-27T21:11:57.328421
2014-05-14T04:20:26
2014-05-14T04:20:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,508
py
#You have two very large binary trees: T1, with millions of nodes, and T2, with hundreds of nodes. #Create an algorithm to decide if T2 is a subtree of T1 class Tree(object): def __init__(self, sorted_array): if sorted_array == []: self.data = None else: self.data = sorted_array[len(sorted_array)/2] if ...
[ "paulnogas@gmail.com" ]
paulnogas@gmail.com
eab442983dcf502997761d076ae343e011c0730d
94da14ff366651bd58bbd53abd3b1816a2292fb8
/server/server.wsgi
6ddeb5dc5d6d456d679c40d52c461edb6427f9af
[]
no_license
KaranPhadnisNaik/waketfup
6d4fc3fafaafb8c4cda0b2e84365b4b346740fd8
742f0ba5ce6d4af4141ca073991205b1746612f8
refs/heads/master
2021-01-18T18:59:13.772111
2017-04-28T23:02:47
2017-04-28T23:02:47
86,879,488
0
5
null
2017-04-28T23:02:48
2017-04-01T03:12:16
Python
UTF-8
Python
false
false
507
wsgi
import sys from flask import Flask from server import api from extensions import mysql app = Flask(__name__) app.config.from_object(__name__) app.config['MYSQL_DATABASE_USER'] = 'root' app.config['MYSQL_DATABASE_PASSWORD'] = '' app.config['MYSQL_DATABASE_DB'] = 'wakeup' app.config['MYSQL_DATABASE_HOST'] = '127.0.0.1'...
[ "Karanphadnis1@gmail.com" ]
Karanphadnis1@gmail.com
ca706a17599985c33d41dd458171dc437fd326a0
60abb1b8aa61764ae66488755fecbfc8baeba47e
/tools/pydocgen/pydocgen/__init__.py
121fa0c78708c3628f24c9eab932eaec660b91e1
[]
no_license
bishoywagih/docs
4789c3860fc423e77bec9f58574d0fa02c8089e3
80989180bcd53ae28e94a03f67ff97159efa1884
refs/heads/master
2020-04-20T01:36:16.496092
2019-01-30T23:57:55
2019-01-30T23:57:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,501
py
""" (A) Pulumi Python documentation generator, at your service! This module provides a mechanism for producing HTML documentation for Pulumi packages directly from their source, in a format that is amenable for inclusion in the Pulumi Docs repo. It accomplishes this using a two-fold transformation: 1. This script...
[ "noreply@github.com" ]
bishoywagih.noreply@github.com
97853189dfe18bc6b81575e4fc52c8f159a94321
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02725/s504683276.py
b99ec7dcd7bc0b16982ffe576e9e58a195be308d
[]
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
475
py
import math def resolve(): import sys input = sys.stdin.readline # row = [int(x) for x in input().rstrip().split(" ")] kn = [int(x) for x in input().rstrip().split(" ")] k = kn[0] a = [int(x) for x in input().rstrip().split(" ")] max_dist = max([a[i+1] - a[i] for i in range(len(a)-1)]) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
36fc95272f6918a61acd36ed1e05a25ca3d4799a
c2af656559d4330d744b68e1f6f044c0903ca6e4
/main/main_b.py
f6bb0159711eb15b54d08d476432e790cb58fdf4
[]
no_license
mvattiku/insightProject
666d32276d9cd850dea8df5d153a062c0cd977bb
d7a487bbaef4cf9bd422c13382f761e5f6166302
refs/heads/master
2020-04-17T09:05:59.089546
2019-03-05T01:05:18
2019-03-05T01:05:18
166,444,673
0
0
null
2019-01-26T02:08:56
2019-01-18T17:06:21
Python
UTF-8
Python
false
false
1,873
py
""" Sample on how to use the batch_util. To Run: "python main_batch.py BatchConfig.yml AwsConfig.ini need to provide two command line arguments. Argument 1 = yaml file path with batch parameters defined Argument 2 = aws config(.ini) file path with aws account info (such as aws_key, region, ...) """ #_____...
[ "monisha.aishwarya.vatikuti@macys.com" ]
monisha.aishwarya.vatikuti@macys.com
e7c51f8dbe86330a891a6069eb59a25c0cf63908
211ba663bb1086047b9b5c5689f0abf64038e7b1
/STORE/product/admin.py
40dbdce5ab80ceaf135b7561516e4fb8004f5045
[]
no_license
form-merch-llc/store
7a587530fcf94796375b1120363a49935fd73e04
1821077214001fdcf5dd30388831dcce07fd0d79
refs/heads/master
2022-11-14T16:12:58.186641
2020-07-14T08:54:05
2020-07-14T08:54:05
277,132,300
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
from django.contrib import admin from .models import ( Attribute, Image, Product, Type, Variant, Value, ) class AttributeInline(admin.StackedInline): model = Attribute class ImageInline(admin.StackedInline): model = Image class VariantInline(admin.StackedInline): model = Varia...
[ "khasbilegt.ts@gmail.com" ]
khasbilegt.ts@gmail.com
bca52650f8f2c99776a40778147b90707b570634
03ab708d3725b5ed52217effc4f8e8ca5c889632
/boletin/migrations/0061_gruposcoutfalse_apellidojefe.py
bff288f7b4349959cbc813b1a937f1e629bb7ea7
[]
no_license
esiemprelisto/webapp
443b8f89b088c3062b1fcf7dab24387fb34a673a
5e7651ca4ff0103711220a0b750b7ac483504741
refs/heads/master
2020-03-22T10:40:13.369146
2018-07-06T02:08:20
2018-07-06T02:08:20
139,918,804
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-07-04 22:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('boletin', '0060_gruposcoutfalse'), ] operations = [ migrations.AddField( ...
[ "alejandro9980@gmail.com" ]
alejandro9980@gmail.com
bb26f478e15b476158222993e3f5de711d68404f
5d5560e10938830d2ee5adaabc2ebe723a3fe9c8
/hermes_cms/tests/views/utils/mocks.py
046ced7e16dde3c781cb91e4db7aa60e4df5de57
[]
no_license
pmcilwaine/hermes
3c652c27f99c06baa851708e8461ada58d0772db
e9d6f5aeeb12824e68b326dcb0c346c50c5b6f38
refs/heads/develop
2021-01-13T01:54:44.656366
2015-10-12T09:39:42
2015-10-12T09:39:42
33,728,002
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from mock import MagicMock def mock_modules(): sys.modules['hermes_cms.core.log'] = MagicMock()
[ "paul.mcilwaine@gmail.com" ]
paul.mcilwaine@gmail.com
e89e32ee06554604411d2af3dece7826dfc3c2f0
d841fd397bde4f0ac2444606ac13af3e8e27542c
/21_merge-two-sorted-lists.py
6f120782df0e11af887fd10a7f91c4c7ca98e15e
[]
no_license
excelsky/Leet1337Code
5de777f5263ea3f7bbf05a6c77aa893c0871fb63
804b4018cfc8858563e3e166640845f58ff973c5
refs/heads/master
2023-05-07T15:54:03.824463
2021-05-28T08:30:11
2021-05-28T08:30:11
277,186,940
0
0
null
2020-08-03T00:26:50
2020-07-04T21:20:52
Python
UTF-8
Python
false
false
589
py
# https://leetcode.com/problems/merge-two-sorted-lists/ # 6gaksu # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: if l1 is N...
[ "analytics20132333@gmail.com" ]
analytics20132333@gmail.com
dcb17f1f1d480bffcbf9ca0fc7438d32433c67d4
8d3daff9dc9a6f92fb6d43ab87ad2d03dfa43346
/Graph Algo/Articulation_points.py
cde4224004a37a73dfed88acb0b41eb019db3163
[]
no_license
avikram553/Basics-of-Python
3156240aa14a5df11d1345cbd99c11e61085ea6a
2cc6bbff1fbb8d291a887a94904da1001066df8a
refs/heads/master
2021-06-28T23:51:51.400629
2020-09-30T19:15:52
2020-09-30T19:15:52
172,511,602
0
1
null
2020-09-30T19:15:54
2019-02-25T13:31:25
Python
UTF-8
Python
false
false
1,091
py
def dfs(node,par): global count global ti visited[node]=True low[node]=ti;f_time[node]=ti ti+=1 child=0 for i in graph[node]: if(i==par): continue if(visited[i]): low[node]=min(low[node],f_time[i]) else: dfs(i,node) low[...
[ "akashkbhagat221199@gmail.com" ]
akashkbhagat221199@gmail.com
ed59a73c5deb252f2f02fd1988dbfe8cb83a61b2
6f02d7bb0720e4f1ad7d912d09cf38fbc98022e9
/quizz/views.py
d62256bb28681d92039a3d59977e4f58a73e690a
[]
no_license
bhaskarmehta/Quizz_django_app
d525338bf2ed62860724ba15e94142c506749b98
2e2257c01ab8f1292f96a5265729b182a18ddc51
refs/heads/main
2023-07-02T18:01:46.467189
2021-07-28T20:08:00
2021-07-28T20:08:00
390,488,047
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
from django.shortcuts import render from django.http import HttpResponse from quizz.models import Quizz # if we had more than one model we could have given * # Create your views here. #def hello(request): # return render(request,'main_page.html') #def add(request): # val1=int(request.POST['num1']) # val2=in...
[ "bhaskarmehta422@gmail.com" ]
bhaskarmehta422@gmail.com
15ddbc3e329f615402c3491a9ebc094e13ddadc5
c757437c6c432da26e209e36dd64faf8aca18478
/audio/models.py
688eb413fc07d43185c45a9b2305cf07641df3a2
[]
no_license
piyush626/audiotrack_crud_app
298283721ea5278b36fce556e2b52b082f0f3989
4b97cd65a2e0956d5d6405f8b253af08921cc3e5
refs/heads/master
2023-04-17T19:46:13.363796
2021-05-01T11:18:04
2021-05-01T11:18:04
363,387,356
0
0
null
null
null
null
UTF-8
Python
false
false
2,108
py
# from django.core.exceptions import MultipleObjectsReturned from django.db import models # from django.contrib.auth.models import User from django.db.models.deletion import CASCADE from django.core.validators import MaxValueValidator # Create your models here. # class CustomUser(models.Model): # user = models.Fo...
[ "agarwalpiyush626@gmail.com" ]
agarwalpiyush626@gmail.com
4e56cca92d1272e6d0ba1a74d6fce1c09303cf7b
e19b649ff2136be1a6ef256d8b96d7e240578615
/Desktop/Ecommerce/ecommerce/store/models.py
6abdd3c1ae38e74b49655e8e4aacb092ea35375c
[]
no_license
rawalhimal/Himal-Store-Using-Python-Django
3f15c0a80b319f948d493e4a1bfa982fb10f1518
7f331a6d5d4671e6d4eb0fed82139a41516f7d22
refs/heads/master
2022-12-16T03:59:32.595282
2020-09-23T18:16:07
2020-09-23T18:16:07
298,055,834
2
0
null
null
null
null
UTF-8
Python
false
false
2,724
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Customer(models.Model): user=models.OneToOneField(User,on_delete=models.CASCADE,null=True,blank=True) name=models.CharField(max_length=200,null=True) email=models.CharField(max_length=200,null=True) ...
[ "himalrawal500@gmail.com" ]
himalrawal500@gmail.com
c879f1c643a18b5bda3c3c427dd5e2b82672d1b8
9d1b192ea44c0a76ec5b019126ef2a34c6c3cd4a
/collection/api/json_request.py
c3957643241a207293267e0f4b60d38b5b938ee4
[]
no_license
PureAppCrystal/analysis_sbms
bdae97a41010b907cd2ab73004d2e10aede35e17
4e907a383933a825f267a5bd03d14565abeb49a1
refs/heads/master
2021-05-07T04:45:42.988091
2017-11-18T18:33:52
2017-11-18T18:33:52
111,229,398
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
import sys from datetime import datetime from urllib.request import Request, urlopen import json def json_request(url='', encording='utf-8', success=None, error=lambda e: print('%s : %s' % (e, datetime.now()), file=sys.stderr)): try: request = Request(url) resp = urlopen(request) ...
[ "purecrystar@gmail.com" ]
purecrystar@gmail.com
e99bbdd9923292c0bb7d6901b1f74b8fd866a19c
7f9a73533b3678f0e83dc559dee8a37474e2a289
/deep-learning-inference/numpy/distutils/command/install_clib.py
6a73f7e3308ff0aa6b9f6454bfa43673fdd0e9b1
[ "MIT", "BSD-3-Clause", "GPL-3.0-or-later", "BSD-3-Clause-Open-MPI", "GCC-exception-3.1", "GPL-3.0-only" ]
permissive
ryfeus/stepfunctions2processing
04a5e83ee9b74e029b79a3f19381ba6d9265fc48
0b74797402d39f4966cab278d9718bfaec3386c2
refs/heads/master
2022-10-08T16:20:55.459175
2022-09-09T05:54:47
2022-09-09T05:54:47
147,448,024
128
34
MIT
2022-01-04T18:56:47
2018-09-05T02:26:31
Python
UTF-8
Python
false
false
1,465
py
from __future__ import division, absolute_import, print_function import os from distutils.core import Command from distutils.ccompiler import new_compiler from numpy.distutils.misc_util import get_cmd class install_clib(Command): description = "Command to install installable C libraries" user_options = [] ...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
252c30cf30986e40822a962c80b2b866ac99dcab
174675a707809001d7c4985fef22374644904236
/textuti/views.py
c8d03b4c6a090d561edd376f8dbc50c6b2f029d7
[]
no_license
ankurramba91/Text-Utility
89d55e6920f98ba0be42e442ad18e15bbcaa6562
98e3851438ad6c0a198af671dfdf765af3c1b457
refs/heads/master
2022-11-14T13:19:57.797123
2020-07-12T06:49:02
2020-07-12T06:49:02
278,846,262
0
0
null
null
null
null
UTF-8
Python
false
false
2,185
py
from django.http import HttpResponse from django.shortcuts import render def index(request): return render(request, 'index.html') def analyze(request): #get the text djtext=request.POST.get('text', 'default') #Check Checkbox values removepunc=request.POST.get('removepunc', 'off') fullcap...
[ "ankur.python@gmail.com" ]
ankur.python@gmail.com
ca313e5936960dce97f945627223f35b441baac7
1198d79a6b7e1c3cf3f8445911aac8e0494bd12e
/bore/optimizers/__init__.py
d611be71b53c4b814972aa1e42cf77dd8382a792
[ "MIT" ]
permissive
ltiao/bore
43556de6051f5c17f1edec3b8ff1f504c1224072
f260ea0c7f486ce5a6ff927826604f089784b0b9
refs/heads/master
2023-05-23T20:33:18.756112
2022-10-04T10:24:23
2022-10-04T10:24:23
279,667,486
25
5
null
2022-12-26T21:33:48
2020-07-14T18:48:47
Python
UTF-8
Python
false
false
75
py
from .base import minimize_multi_start __all__ = ["minimize_multi_start"]
[ "louistiao@gmail.com" ]
louistiao@gmail.com
2ec6bdf58dc23cd87bf5d2984d45d7963b466c12
a6ed990fa4326c625a2a02f0c02eedf758ad8c7b
/meraki/sdk/python/cloneOrganizationSwitchDevices.py
9bc0fac94c2fbd25fd832b7aee869824a1ed6d1f
[]
no_license
StevenKitavi/Meraki-Dashboard-API-v1-Documentation
cf2352976c6b6c00c17a5f6442cedf0aeed46c22
5ed02a7def29a2ce455a3f2cfa185f76f44789f5
refs/heads/main
2023-03-02T08:49:34.846055
2021-02-05T10:31:25
2021-02-05T10:31:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
import meraki # Defining your API key as a variable in source code is not recommended API_KEY = '6bec40cf957de430a6f1f2baa056b99a4fac9ea0' # Instead, use an environment variable as shown under the Usage section # @ https://github.com/meraki/dashboard-api-python/ dashboard = meraki.DashboardAPI(API_KEY) organization_...
[ "shiychen@cisco.com" ]
shiychen@cisco.com
1ab23485830cd12757bc9649155036479fb4c222
96dcea595e7c16cec07b3f649afd65f3660a0bad
/tests/components/tailscale/conftest.py
12f11a5656da1aeeb425b1e64ee2499255c383bd
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
2,476
py
"""Fixtures for Tailscale integration tests.""" from __future__ import annotations from collections.abc import Generator from unittest.mock import AsyncMock, MagicMock, patch import pytest from tailscale.models import Devices from homeassistant.components.tailscale.const import CONF_TAILNET, DOMAIN from homeassistan...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
055dc14af449b86f7a99c2c06bbd6dbe018be089
594cb9d7f4c9fc8e4fee7d1c98e235e77f9496ac
/cpu/LanguageModeling/BERT/data/bookcorpus/clean_and_merge_text.py
0b297b1d4781e5e9a26e758f44a28eebf032855d
[ "Apache-2.0" ]
permissive
okteto/demos
16618292cf43aaf08685a27bc14074002baa3ba3
15f2af3aae4802b03f43ddbead51e493e54ee2af
refs/heads/master
2020-05-01T19:39:25.205171
2019-03-25T19:48:41
2019-03-25T19:54:25
177,653,952
3
0
null
null
null
null
UTF-8
Python
false
false
465
py
# NVIDIA import glob import os output_file = os.environ['WORKING_DIR'] + '/intermediate_files/bookcorpus.txt' download_path = os.environ['WORKING_DIR'] + '/download/' with open(output_file, "w") as ofile: for filename in glob.glob(download_path + '*.txt', recursive=True): with open(filename, mode='r', encoding...
[ "pablo@okteto.com" ]
pablo@okteto.com
47d5cb014de0fd08b147a7ef4d1a9d55e8e97af5
676098df2b5b889791b1e8206dad5b91b304b31c
/gameslibrary/manage.py
e61d633530fd6d1396eec7c15391dcc9b8049c10
[]
no_license
ilya1231231/games_library
307c38a73c44c52010bb89a538e7a1483b1b4e71
44f3650998bfa0e3cea5c7abe8055c713373de6d
refs/heads/main
2023-07-22T22:58:33.703262
2021-09-07T15:00:34
2021-09-07T15:00:34
396,894,668
1
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gameslibrary.settings') try: from django.core.management import execute_from_command_line except...
[ "malygin.ilja@yandex.ru" ]
malygin.ilja@yandex.ru
8f399f69c7912b2903c174d6e3379627f24db756
9ffab573ee2a6403a2111ea5bd570a59d7e9c02a
/entorno/Lib/site-packages/flask/globals.py
341320a1534b16836ef893f789ce2e6b8d23c3a3
[]
no_license
jesusalbertoariza/ritz
3a45b0246c6ecb6323202c4a395058256a1e5fee
2912eb84c90124bfe9b43e9a35f60565e3a3ac94
refs/heads/main
2023-08-23T11:36:27.239313
2021-10-30T18:16:06
2021-10-30T18:16:06
422,944,413
0
0
null
null
null
null
UTF-8
Python
false
false
2,041
py
import typing as t from functools import partial from werkzeug.local import LocalProxy from werkzeug.local import LocalStack if t.TYPE_CHECKING: from .app import Flask from .ctx import _AppCtxGlobals from .sessions import SessionMixin from .wrappers import Request _app_ctx_err_msg = """\ Working outs...
[ "arizajesus@uninorte.edu.co" ]
arizajesus@uninorte.edu.co
c14d0a54050bc11c3540c29801a46f8f84d3d3fa
d506404b414e009369668f29e3fab5cb53499dd3
/compoundInterestCalculator.py
fbad7d206a52d02990ffe152ffc35dd1249692b7
[]
no_license
NeenaU/compound-interest-calculator
16b8e75b93ddfd037937c681aeaa40436bc84bda
d8a9a53550a50f41f503e7eab9df6aedf2305ba0
refs/heads/master
2022-11-29T22:50:33.459487
2020-08-13T20:30:54
2020-08-13T20:30:54
280,482,545
0
0
null
null
null
null
UTF-8
Python
false
false
12,367
py
import tkinter as tk from tkinter import messagebox class interestCalculator(): def __init__(self, master): self.master = master master.title = ("Compound Interest Calculator") #Title self.titleLabel = tk.Label(text="Compound Interest Calculator", font=("Times",16), width=24).grid...
[ "nhu21@bath.ac.uk" ]
nhu21@bath.ac.uk
f2a83c7913432f41e2f93510974a869d19884e9c
0461fbeb0f2ef76f977e0ff6000d2eb591b1921c
/ZCart/blog/views.py
5686c797c5c691fafde190d66ae2cec8ea319b3a
[]
no_license
aaditya867/ZCart
b37d6b9b7667421a2d3688e6dafa500c06c2fc37
971691980ab9fcfd29a1c37bb47427f3cfb95fc6
refs/heads/master
2021-01-14T01:54:30.577185
2020-02-24T08:24:41
2020-02-24T08:24:41
242,562,828
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
from django.shortcuts import render from django.http import HttpResponse from .models import Blogpost # Create your views here. def index(req): myposts = Blogpost.objects.all() print(myposts) return render(req,'blog/index.html',{'myposts':myposts}) def blogpost(req, id): post = Blogpost.objects.filter(...
[ "aadshar01@gmail.com" ]
aadshar01@gmail.com
793dfd696fe7a572fc9bc4e5c47092e593a51fae
980d9786062a70b08f474e1a7eabca4edd14c528
/scripts/plot_ber_bp_vs_ms.py
b222cd304708f2d5184c6d362f44a4bb54f38b21
[]
no_license
shakhmetov/labrador-ldpc-c
15b9a5a58191248aeac4f8f236a0ec3b462a32e4
e0196018bac90d8fa1d7f341feb194e2712e073d
refs/heads/master
2023-03-18T00:26:52.401416
2017-05-25T19:30:52
2017-05-25T19:30:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
import numpy as np import matplotlib.pyplot as plt from results.ldpc_1280_1024_minsum_corrected import ( ebn0_db, soft_ber, hard_ber_ber, hard_mp_ber, hard_bf_ber, uncoded_ber, soft_cer, hard_ber_cer, hard_mp_cer, hard_bf_cer, uncoded_cer, soft_ucer, hard_ber_ucer, hard_mp_ucer, hard_bf_ucer) from results...
[ "adam@adamgreig.com" ]
adam@adamgreig.com
25a5502d2669bb9cba32e5be6c9185a8bf5c9510
1b5f28f56c648960608da9a54b778b2e2805247b
/slack_django_webhook/slack_messages/models.py
e9276ce8160c6d401f514141dc114e2ca6e73829
[]
no_license
davidsonlima/slack-django-webhook
87ae404585ce489ece09f1d817c61358e5ed7548
f34d4fbbd8a3b403f244210e1ced8807e04f98c9
refs/heads/master
2021-05-06T11:24:32.801148
2017-12-15T18:17:31
2017-12-15T18:17:31
114,286,943
2
0
null
null
null
null
UTF-8
Python
false
false
1,444
py
from django.db import models from django.utils import timezone # from django_hstore import hstore class WebhookTransaction(models.Model): UNPROCESSED = 1 PROCESSED = 2 ERROR = 3 STATUSES = ( (UNPROCESSED, 'Unprocessed'), (PROCESSED, 'Processed'), (ERROR, 'Error'), ) ...
[ "100*pmim" ]
100*pmim
c2150e17babe58221fccdb67af9bf2ed1bb87b6e
310314ae30de059c4dd532d763915af44c9a7d53
/tests/test_providers_logger_object.py
319b057d5c6b80d85ca26a8ed30ab978da5783dd
[ "Apache-2.0" ]
permissive
robertboston80/logme
8b29661cf153a0abc5641513bb213312f771d193
586b720fd5d01dc2deee91b685ee628679990080
refs/heads/master
2020-03-09T19:32:58.401638
2018-03-21T19:26:42
2018-03-21T19:26:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,768
py
import pytest from pathlib import Path import logging from logme.providers import LogmeLogger from logme.config import get_config_content from logme.exceptions import InvalidConfig, DuplicatedHandler, InvalidOption class TestLogmeLogger: @classmethod def setup(cls): cls.config = get_config_content(...
[ "petitelumiere90@gmail.com" ]
petitelumiere90@gmail.com
b5e5920123fb9b09a51cb16ac17166d77ef26d45
34c65da6ed9750a9bb31efe3acfb34b686526276
/esxitools/backup.py
50cf9a008b7816b5d29187f1c09b3baf2623fb34
[ "MIT" ]
permissive
itamaro/esxi-tools
45bb5409251c56df9561aee8679ab6cfdbb043c7
5fb9ffe33d531a401d965c40df5845b06a9b030b
refs/heads/master
2021-01-02T23:06:53.907733
2013-12-14T21:26:32
2013-12-14T21:26:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,135
py
import os import datetime from glob import glob import re from tendo import singleton import paramiko from scp import SCPClient from ftplib import FTP from string import Template from tempfile import mkstemp import logging import io import utils log_stream = io.StringIO() logger = logging.getLogger(__...
[ "itamarost@gmail.com" ]
itamarost@gmail.com