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
eae4139235f9f8a9e3db84a997374aaec24d1ad3
25d48f4bd5daa18346c4e5722ba293b7f9e1ed17
/advice_app/apps.py
418aeb8865140663ab9c3359ea6ddf0b20b0a317
[]
no_license
collins-kipkoech/advice-forum
4c66775dc6cccbd22e302996cd924c2e17ea3d76
76a3256bb776978738cfe04d06455eb4b84c9a68
refs/heads/master
2023-01-25T05:40:29.027979
2020-12-10T10:00:02
2020-12-10T10:00:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
from django.apps import AppConfig class AdviceAppConfig(AppConfig): name = 'advice_app'
[ "collinskipkoech95@gmail.com" ]
collinskipkoech95@gmail.com
a26f167e87d65c7455661ef744c0b729f55514f3
7b74ed82584ad4b321782b33077efb4755253d8b
/ForumMediaScraper/__init__.py
ffa479e3a232cf050e934bb3be1a197fe5a76d18
[ "MIT" ]
permissive
jesseVDwolf/ForumMediaScraper
b64768dcafb72eeab591ea791a6e5341669ecb61
097e2af26a31bf510503d3133007ff31e29f986f
refs/heads/master
2020-09-02T06:10:26.010033
2020-03-16T19:20:29
2020-03-16T19:20:29
219,151,771
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
from .Scraper import SeleniumScraper, ScraperConfig
[ "jessevanderwolf@gmail.com" ]
jessevanderwolf@gmail.com
dcbe0bf334ec32945138f9a38f9e12e4932ceb1d
7a8254888cc804918c9dc37e5ac98020bcd1e263
/Y2Project/jobs/migrations/0004_auto_20180423_1100.py
2287671c679348c8aed2d557e8d883db6b039d04
[]
no_license
X00136016/2ndYearProj
70e78b6501f7b4bf2841ef8fa0a8ecb0192c9389
8e7bcc4ec593413f97d5237c6e72f783beba56a2
refs/heads/master
2021-04-06T02:51:35.412247
2018-04-23T11:03:52
2018-04-23T11:03:52
125,371,752
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
# Generated by Django 2.0.4 on 2018-04-23 11:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobs', '0003_auto_20180420_1316'), ] operations = [ migrations.AlterField( model_name='category', name='slug', ...
[ "post159510@gmail.com" ]
post159510@gmail.com
b1c9cec48e52149224b7f6b46ab40418c4a04bd4
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_268/ch119_2020_03_29_20_51_10_410341.py
ec2aff375f7597950ddebfff3175c1b7883f2146
[]
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
213
py
def fatorial (n): fat=1 while n>0: fat*=n n-=1 return fat def calcula_euler(x,n): a=0 e=0 while a<n: e+= 1*(x**a)/fatorial(a) a+=1 return e
[ "you@example.com" ]
you@example.com
58384bc02df8bda751e75beae7ca9478f6527032
91157da2a8f415d956a70c6ba50c9871ea3ea484
/COIRequestReal/mysite/mysite/urls.py
0006442896c9a08556d5a1d11db67825943f771d
[]
no_license
hussainjhaveri/COIWebsite-repository
b2cf5b3f0d6ea26eeee19793b00f5e102dfd633c
9af534990d6e360a2d918686f6b1eb95fbbc0c81
refs/heads/master
2022-12-13T22:01:23.766216
2020-08-27T18:00:30
2020-08-27T18:00:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
"""mysite 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-based ...
[ "CAlfano1999@gmail.com" ]
CAlfano1999@gmail.com
1277622ac4f58f872e1be501b2991954f9e631fa
a4d09564fdd8d5c805fef82cdcbc1950fcfb9aa1
/whatsup/whatsup/urls.py
b11f316e7ba29fd8174ff17f2dcf23358615253f
[ "MIT" ]
permissive
ed-commits/whats-up
f644ad87719e44ca15ef53382eb3af6851eae9d4
6e6e13a6d73420da625d278fab31171e09511d98
refs/heads/main
2023-02-01T13:26:44.545310
2020-12-17T14:17:21
2020-12-17T14:17:21
315,723,594
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
"""whatsup URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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-based...
[ "edward.alexander.cant@gmail.com" ]
edward.alexander.cant@gmail.com
f0a83f9fdaa016a77c36ded1c32bac9542760796
aaf3b75157eca3c17ad88696ae7d75caf849782e
/manage.py
1f1bc122b8263e997c092e9d702539c1ddc46f41
[]
no_license
shiluanzzz/flask_movie
0dba2ff99ad37795e5f3fcd69223a78fa7fd67eb
98b2ba04295533ca32d94c8e396fe1a51bbad2b9
refs/heads/master
2020-06-19T11:29:39.213224
2019-07-23T16:49:16
2019-07-23T16:49:16
196,692,534
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
# -*- coding:utf-8 -*- # __author__ = "shitou6" from app import app if __name__ == '__main__': app.run( )
[ "shiluanzzz@foxmai.com" ]
shiluanzzz@foxmai.com
8c127a8f0667ec8e0a1946eab3c2c673b709a627
e785232fbbf1b105e7b6dd6dfcfc84cc9877f98a
/Initializers/RandomInitializer.py
dc7a7d884abb091f89355ae0438d29d8b5258114
[ "Apache-2.0" ]
permissive
firestrand/pyOptimize
243db846fcd3a7a9d9ae12b06c9dd4edea5c21a3
03f8e7094e4ffa1836685842f218cd148b038e44
refs/heads/master
2023-07-20T10:30:24.584858
2023-07-11T17:40:22
2023-07-11T17:40:22
236,263,435
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
import numpy as np import numpy.typing as npt from Initializers.Initializer import Initializer class RandomInitializer(Initializer): def __init__(self, dimensions: int): super().__init__(dimensions) def next(self, n: int, lower_bound: npt.ArrayLike, upper_bound: npt.ArrayLike) -> npt.ArrayLike: ...
[ "92124324+tsilvers-ms@users.noreply.github.com" ]
92124324+tsilvers-ms@users.noreply.github.com
fa89f8908b26b40626e1695e044d65aae04fbdce
5a74fbfb317c116a911e3e6d404ed050bdd2baab
/problems/email.py
1e40b136a9d2965aa4c0d069e58d60bac296a8d0
[]
no_license
yorkypy/selise-intervie
39571fd14efca77240ee33d2ab770c86cb9103da
82da5fc6399652bb080cd3977d6a4c60c47db2a1
refs/heads/master
2023-01-23T05:14:52.903886
2020-12-05T10:50:53
2020-12-05T10:50:53
318,727,091
0
1
null
null
null
null
UTF-8
Python
false
false
483
py
'''Python code to generate emails from a list of names''' def generateEmail(names): email=[] temp='@gmail.com' for i in range(len(names)): for j in range(len(names[i])-1,-1,-1): if names[i][j] != ' ': temp=names[i][j]+temp email.append(temp.lower()) temp=...
[ "nimayonten@gmail.com" ]
nimayonten@gmail.com
0d8a1b443a8d3029209e6655fe7608dc24209d93
8f5c1ad76f3f9aa67d6720154b4884c9fab2ecbc
/toontown/parties/DistributedPartyCannonActivityAI.py
49b0b8129521331eae5f0c50f38c13862667377b
[]
no_license
RegDogg/ttr-2014-dev
eb0d9da3e91b9504b83804c27e1a00d87a0b7220
8a392ea4697cf15bd83accd01dcf26d0f87557eb
refs/heads/master
2023-07-13T02:40:56.171517
2021-07-12T00:31:28
2021-07-12T00:31:28
372,103,145
2
0
null
null
null
null
UTF-8
Python
false
false
3,355
py
from direct.directnotify import DirectNotifyGlobal from toontown.parties.DistributedPartyActivityAI import DistributedPartyActivityAI from toontown.toonbase import TTLocalizer import PartyGlobals class DistributedPartyCannonActivityAI(DistributedPartyActivityAI): notify = DirectNotifyGlobal.directNotify.newCategor...
[ "regdogg.acr@gmail.com" ]
regdogg.acr@gmail.com
1d79d3999f2cd00590a314b2dd60798da2fd4bad
8bc451f94f1c944ee53819b8e8bdf369bc637bcf
/python/copyLocalRemote.py
43569583f75d64f414bc0fd4b5da7d5782243b92
[]
no_license
vigneshpalanivelr/all_scripts
e1b78bd7f90458e6fb19aa1838496da0fa22371e
c865157b44be7b2e8ae8fbe1f5d6182e09f3f302
refs/heads/master
2022-11-24T01:47:10.563315
2020-04-26T09:02:16
2020-05-29T10:32:55
198,067,913
0
0
null
null
null
null
UTF-8
Python
false
false
9,163
py
#!/bin/python2 import os import sys # import yum # import glob import yaml import json import time import stat import shutil import fnmatch import argparse import requests import fileinput import subprocess # import prettytable #import custom modules # sys.path.append(os.path.dirname('/var/lib/jenkins/workspace/playbo...
[ "vignesh.palanivelr@gmail.com" ]
vignesh.palanivelr@gmail.com
2548483638d7dd06d52cb259f10dc85706bedab2
1c51468a57ee27a56a206f4781d83e40c5906dc9
/IT6036_AppSecurityand ServiceSideDevelopment_SecureWebApp/NZataglance_WebApp/nzataglance_StudentCopy/nzataglance/settings.py
372c293c5c654ff4e4a11eef8986ebd04d4fda6b
[]
no_license
91031431/IT6036_Project_security_WebApp
c17b23c2611c12011d9af47e415bc8da083eee95
c4dc45607fd2d340e31daa3d7e3a9454f0453fac
refs/heads/master
2020-09-13T00:40:08.546683
2019-11-28T05:38:45
2019-11-28T05:38:45
222,608,442
0
0
null
null
null
null
UTF-8
Python
false
false
3,394
py
""" Django settings for nzataglance project. Generated by 'django-admin startproject' using Django 2.0.3. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import o...
[ "91031431@learn.cpp.ac.nz" ]
91031431@learn.cpp.ac.nz
713619704f16c067823bf3168e44b435e5b19360
f31e73f282c645206a3d8d666fb774a4c17256ab
/lab_exam/stripped_lab_exam_0_files/python/test_linear.py
e489076d36e59268218b27bf34fe5f4eb963089a
[]
no_license
ATanggara/Statistical_Machine_Learning_2019
e59d13efbfa18362dea670d9c79859030c2f5668
746fbea75d25ebfe5a08f1e9569dc24518b1213f
refs/heads/master
2020-04-28T08:47:19.644026
2019-04-08T00:54:39
2019-04-08T00:54:39
175,141,766
3
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
import numpy as np import traceback import sys import linear def test_linear(x, y, w_true): ################################################ # # INPUTS: # x: input data, shape d by n # y: output targets, shape n by 1 # w_true: true weights, shape d by 1, or None # # OUTPUTS: # w: linear regression w...
[ "" ]
786f3bbb1beef416669dead093cf35a4cc4a0190
5e861593f0c43e2a863c282c49f9bc4d15ef57f8
/config.py
607540c37b73c789a7d13df6eef1fdde69512632
[]
no_license
wddzz/Taobao-Spider
2e974a61d65cdc7ebf8aea491801b45dbd75df81
4749ab5c7073c1c0b8baa78b73b2cdcd174d3c8c
refs/heads/master
2020-03-14T16:21:05.059612
2018-05-01T12:36:21
2018-05-01T12:36:21
131,696,572
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
MONGO_URL = "localhost" MONGO_DB = "taobao" MONGO_TABLE = "product"
[ "406452653@qq.com" ]
406452653@qq.com
ad32732cdc2c11b4cb11a0fd2ce443d0845a1ff0
aac44b0f483abd424a2237d1ace5c71b2c58fcf7
/collective/recipe/zopeinstancemultiplier/tests/test_docs.py
b0ec06207ba1de5c95c700460a549a2fc9ae7b3a
[]
no_license
collective/collective.recipe.zopeinstancemultiplier
5d3b2bde3772435e92e885a2e59c96b9b09129f2
5c296aad241f8801d4b619fc2d954b53abd8253c
refs/heads/master
2023-08-24T08:39:40.697499
2017-07-18T20:01:42
2017-07-18T20:01:42
97,505,280
1
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
# -*- coding: utf-8 -*- """Doctest runner.""" __docformat__ = 'restructuredtext' from zope.testing import renormalizing import doctest import unittest import zc.buildout.testing import zc.buildout.tests optionflags = (doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE | doctest.REPORT_ONLY_FIRST_FAILURE) def setUp(tes...
[ "rafaelbco@gmail.com" ]
rafaelbco@gmail.com
747ee26960ee81836192aa2bc3f54b34ff0cb185
b72cbafda25941a411a06bd688004fb6ec8b0397
/easy/107.二叉树的层次遍历II.py
a69e85a80af385b83429b308ff23e60d41529079
[]
no_license
GGjin/algorithm_python
92d8ea04c8298bb2fcb65299d8f925a0c750209d
de36824647a10199963c64b0d32b8fb581c9eef6
refs/heads/master
2023-05-06T22:21:55.505057
2021-05-28T07:14:44
2021-05-28T07:14:44
276,314,598
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
# 给定一个二叉树,返回其节点值自底向上的层次遍历。 (即按从叶子节点所在层到根节点所在的层,逐层从左向右遍历) # # 例如: # 给定二叉树 [3,9,20,null,null,15,7], # # 3 # / \ # 9 20 # / \ # 15 7 # # # 返回其自底向上的层次遍历为: # # [ # [15,7], # [9,20], # [3] # ] # # Related Topics 树 广度优先搜索 # 👍 364 👎 0 # leetcode submit region begin(Prohibit modification and ...
[ "gg.jin.yu@gmail.com" ]
gg.jin.yu@gmail.com
961442e0a4c5e31226154616a33f17f55e8b0e2e
1652e4eed966da8c1eeccb29e29c87d74985de6d
/randomdatatools/xmldata.py
a86f48f0abcb0f45d61425ddaa824bdfb3e75f23
[]
no_license
mchamlee/randomdatatools
7f7beab4a96e8235e9d81b829a242108e2954094
6711594e45219adfe7d4bae4d3d1253d168133ef
refs/heads/master
2020-04-27T05:17:59.894218
2019-03-27T06:07:37
2019-03-27T06:07:37
174,077,439
0
0
null
null
null
null
UTF-8
Python
false
false
3,317
py
import os from pathlib import Path import glob from xml.etree import ElementTree as ET def xml_split(file_to_split, tag_to_split_on, splits_to_generate=0): """Splits an XML file into multiple files. Places output files in output subdirectory of input file location. Args: file_to_split: Path to the fi...
[ "matthew.chamlee@gmail.com" ]
matthew.chamlee@gmail.com
8a94d031c49228851ad8353b0268e43fedd56a90
8eca8fbc9bb38599f040485a7cbe741b665afb78
/flats_tools.py
389fc00cffb4f6b74a391adf8bac36f76b9a21e6
[]
no_license
andrrew-c/property-data-scraper
f06b2469814942c306e016837250cdfe8a166c2d
441927ba0fe65726ce022a56d15d5ebb24df632a
refs/heads/master
2022-11-15T18:42:47.597552
2020-07-02T19:03:32
2020-07-02T19:03:32
276,642,795
0
0
null
null
null
null
UTF-8
Python
false
false
53,342
py
""" Name: Flats Tools - Property Data Purpose: This script contains a number of functions which are used to control the web scraper. Description: Author: Andrew Craik Date: February 2018 """ import requests from bs4 import BeautifulSoup as bs import json import sqlite3 from datetime import datetim...
[ "andrrew-c@users.noreply.github.com" ]
andrrew-c@users.noreply.github.com
120d9dd50c836104fd6d730d447ccc95fa97a548
61693f629c148400a885c7731ee28c18a3f1e36b
/ifnclass/ifnplot.py
ecd6f665d4aa01d5c27d3e417db548cb60433bf6
[]
no_license
dakirby/IFNmodeling
c95b58d07a142cc5cb19aae05f19d42cad1d411c
5996de12c9071b0e54371da50bb031b80dc34050
refs/heads/master
2022-12-14T10:18:39.570071
2021-09-09T14:29:50
2021-09-09T14:29:50
136,951,791
0
0
null
2022-12-08T12:01:53
2018-06-11T16:20:34
Python
UTF-8
Python
false
false
24,205
py
from numpy import ndarray, shape import matplotlib.pyplot as plt try: from .ifndata import IfnData from .ifnmodel import IfnModel except (ImportError, ModuleNotFoundError): from ifndata import IfnData from ifnmodel import IfnModel from numpy import linspace, logspace, float64, divide import tim...
[ "39995281+dakirby@users.noreply.github.com" ]
39995281+dakirby@users.noreply.github.com
d5a065d71589b63422d232773704e9ae5c49e792
97b6ba4ce0dab62629fa11d491d3c0ae95e38aa6
/SVM/SMOWithKernel/SMOWithKernel.py
d8d965ffda17ee4a743940d3114c995e9f0cb0be
[]
no_license
WCC-wcc/MachineLearningInAction
36303296c81002c5e114ed04076dc6969fd442a8
b3d57757a575fd981b2f5f8fa81d67a905c1f829
refs/heads/master
2020-08-30T18:52:12.825731
2019-10-30T07:32:37
2019-10-30T07:32:37
218,461,864
1
0
null
null
null
null
UTF-8
Python
false
false
15,163
py
from numpy import * import matplotlib.pyplot as plt #读取文件函数 def loadDataSet(fileName): dataMat = [] labelMat = [] fr = open(fileName) for line in fr.readlines(): lineArr = line.strip().split('\t') dataMat.append([float(lineArr[0]),float(lineArr[1])]) labelMat.append(float(lineArr[2])) return dataMat,labelMa...
[ "41832588+WCC-wcc@users.noreply.github.com" ]
41832588+WCC-wcc@users.noreply.github.com
9fafc54a808fe954f6a9cced561d54308e404226
aec28a032dd5788d9201d6325f2efa285116696e
/big/plot_grid3d.py
8e763a48aa2b2c2ce84dab68bc3abbc78087d1f9
[]
no_license
pletzer/pyterp_tests
346addfe89ff14613e986ca2b9a14206f9b41d45
56be0634d8f7402ce5322a6a67c1843a593d31de
refs/heads/master
2020-05-29T08:50:40.072549
2017-07-20T03:23:34
2017-07-20T03:23:34
69,289,048
1
3
null
2017-03-22T19:15:02
2016-09-26T20:15:44
Python
UTF-8
Python
false
false
3,031
py
import vtk import argparse import iris import numpy import math iris.FUTURE.netcdf_promote = True parser = argparse.ArgumentParser(description='Plot grid in 3d') parser.add_argument('--src_file', type=str, dest='src_file', default='coords_CF_ORCA12_GO6-2.nc', help='Source data file name') parser....
[ "pletzera@niwa-1007520.niwa.local" ]
pletzera@niwa-1007520.niwa.local
3e10823cddf7156502afb121f4d4ca37fa2d458b
ba57226113a8a9c73af79b6d6033769299c7f05b
/setup_bgmapi.py
a1f053b8079db1077148ab913813573a0bdbf5e3
[ "MIT", "BSD-2-Clause" ]
permissive
wattlebird/Bangumi_Spider
fe0e8f95b37f89510d4053ba1fd1b3193faebf7b
61ede2551e697f6851ab51b357b843e4e61f4afa
refs/heads/master
2023-08-02T17:32:03.277992
2023-07-27T13:35:28
2023-07-27T13:35:28
26,780,910
27
7
BSD-2-Clause
2022-10-29T12:15:24
2014-11-17T22:42:45
Python
UTF-8
Python
false
false
207
py
from setuptools import setup, find_packages setup( name = 'project', version = '1.0', packages = find_packages(), entry_points = {'scrapy': ['settings = bgmapi.settings']}, )
[ "geniusxiaoguai@gmail.com" ]
geniusxiaoguai@gmail.com
a9f68c3ba6d77e4afa5766a4916619102fbe1640
0eb0535abcf8c1a70aacad76a031992bfd0bc745
/Intervals/Intervals.py
4d16cfd32e0ceca0f38d302df51c7d22a814e9ee
[]
no_license
gyllbane99/CS313E
eb2d35166e121cec2800dc6e3f54a5d9ab6098d0
715d1d8e1579d20edc691c3f4235f98ce5a8df78
refs/heads/master
2020-09-26T07:14:34.328646
2020-04-15T17:59:01
2020-04-15T17:59:01
226,200,617
0
0
null
null
null
null
UTF-8
Python
false
false
2,276
py
# File: Intervals.py # Description: This program takes intervals from a text file, orders them and then collapses the intervals that overlaps. # Student Name: Brock Brennan # Student UT EID: btb989 # Course Name: CS 313E # Unique Number: 50205 # Date Created: 9/8/2019 # Date Last Modified: ...
[ "noreply@github.com" ]
gyllbane99.noreply@github.com
2b7790cc834c668d9144482a4c26723262e9a0c1
906448c0fd113471f19b56f549387a8c2b4123cf
/tienda_zapatos/app/migrations/0001_initial.py
b868fecaf001b284608acbebe1cdc366ebba4df3
[]
no_license
usac201504229/proyectos_980
c79158556d12dfb0791f81b3f29e7b7c92fca8f6
243c730989ab57571e42b87b2f0351d8cea72c3f
refs/heads/master
2023-01-24T20:50:35.691650
2020-11-19T03:29:55
2020-11-19T03:29:55
312,479,527
0
0
null
null
null
null
UTF-8
Python
false
false
1,165
py
# Generated by Django 3.0 on 2020-11-12 19:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Marca', fiel...
[ "2468064780101@ingenieria.usac.edu.gt" ]
2468064780101@ingenieria.usac.edu.gt
c89d6f6dc63c1dd1ed236bd4f6ae25a485a2197e
2029d339e0e45ae37b814dbbfca8c8b3b1876f52
/users/views.py
703aead4fac582774698e3f73c68f6d80484393b
[]
no_license
lijiancheng0614/Emoji
e1f2fbc9b141c38ebf6a38a2733637e55db69723
143d069f681f62f52c6f577fd6a7503b957dfeab
refs/heads/master
2022-08-31T17:17:31.452666
2022-08-09T02:25:49
2022-08-09T02:25:49
130,447,575
1
1
null
2022-08-09T02:25:50
2018-04-21T06:43:34
Python
UTF-8
Python
false
false
1,819
py
from django.conf import settings from django.contrib import messages from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.contrib.auth.models import Permission from django.core.urlresolvers import reverse from django.http import HttpResponseRe...
[ "lijiancheng0614@gmail.com" ]
lijiancheng0614@gmail.com
a201377ec8cb7c619f536ed48d881da13e7b47a6
3fb042540a62670300a668ab79381e7cc7739a5e
/src/ex00.py
223147f9da5b9bd8c7360eb7692fee7355ea539e
[ "MIT" ]
permissive
maberf/python
830a18986a86cb6da05a991c4886dbc9685ce60a
8c72074e4c6bd631c524d79b443428b20460b8d8
refs/heads/master
2023-04-18T20:40:55.664409
2023-04-01T23:48:34
2023-04-01T23:48:34
295,516,393
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
import sys print(sys.path) print('Olá Dummie!')
[ "71026050+maberf@users.noreply.github.com" ]
71026050+maberf@users.noreply.github.com
59aeba235b6cae5ff20d5ed769307e56effba754
2dd26e031162e75f37ecb1f7dd7f675eeb634c63
/nemo/collections/common/metrics/perplexity.py
9e1c21737ec8caea46c8850c32dd23fe499f6394
[ "Apache-2.0" ]
permissive
NVIDIA/NeMo
1b001fa2ae5d14defbfd02f3fe750c5a09e89dd1
c20a16ea8aa2a9d8e31a98eb22178ddb9d5935e7
refs/heads/main
2023-08-21T15:28:04.447838
2023-08-21T00:49:36
2023-08-21T00:49:36
200,722,670
7,957
1,986
Apache-2.0
2023-09-14T18:49:54
2019-08-05T20:16:42
Python
UTF-8
Python
false
false
3,420
py
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
NVIDIA.noreply@github.com
c33906ce3a52e69dcca086bc09ff33f8783031e0
60bd7af45fd53c20930e79961dd2fc8c47e67328
/LC/30daysChallenge/week3/ConstructBSTFromPreorder.py
4252c7dfa0686a5c3eca9fe014e11f825b505c41
[]
no_license
albertopha/ds-algo
36d6a3c20f4a52b096c8aec276355ae28a770a60
51b379b1be406cd27c92f26f44633c87360c7de3
refs/heads/master
2022-12-27T06:27:42.352855
2022-12-24T01:44:48
2022-12-24T01:44:48
181,027,160
2
0
null
2021-03-14T18:01:12
2019-04-12T14:44:02
Python
UTF-8
Python
false
false
1,169
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def bstFromPreorder(self, preorder: List[int]) -> TreeNode: if len(preorder) == 0: return root = TreeNode(preo...
[ "albertopha@hotmail.com" ]
albertopha@hotmail.com
57727b270f34c3828bb09c4ccb03db3ef86953b9
55628a9a08a6b6646b4a8aa74bedbf2e3fd7d850
/.history/test_20200123001430.py
039d1a2e7afe254c5c708d761701cc99e526961b
[]
no_license
StRobertCHSCS/final-project-team
c115dc11b318f7ac782c94860a8801bb558bd107
48907e72813c4dd3b48ff36f794f6fce04533219
refs/heads/master
2020-12-03T22:35:37.833893
2020-01-31T04:05:38
2020-01-31T04:05:38
231,506,873
1
0
null
null
null
null
UTF-8
Python
false
false
3,208
py
# from time import ctime # current_time = ctime() # # with open('scoress.txt', 'r+') as high_score_file: # # high_scores = [0, 0, 0, 0, 0] # # for item in high_scores: # # high_score_file.write(str(high_scores[item]) + "\n") # # high_score_file.close() # def replace_line(line_num, text): # l...
[ "clementina1023@gmail.com" ]
clementina1023@gmail.com
906896361bd2865a171b902df5c155d80d72b068
354e921858ad0fdcefa683484d6b7d16c39e9eaa
/pyfair/model/model_calc.py
05e51d5a712decf770f917aa20052d477413f357
[ "MIT" ]
permissive
welshie1/pyfair
27936f7a92e9e16c567fc11f3458a0ce83bcf136
ca8aae80ca8a89bbfb8d435b480c5985e95efdff
refs/heads/master
2020-06-12T19:57:42.615948
2019-06-29T13:33:40
2019-06-29T13:33:40
194,408,562
0
0
null
2019-06-29T13:26:50
2019-06-29T13:26:50
null
UTF-8
Python
false
false
1,592
py
class FairCalculations(object): '''A class to perform calculations''' # TODO confirm accuracy of these calculations. def __init__(self): self._data = None # Lookup table (no leaf nodes required) self._function_dict = { 'Risk' : self._calculate_multi...
[ "theonaunheim@gmail.com" ]
theonaunheim@gmail.com
a01ecbdc9503afd1d6c1a8eb5afb1c1480e39032
f03193db41bfa790d07b617d9a65c787cbff780c
/app01/stark.py
99d3df297887afec9d230dc51c57d1d567c2bf2a
[]
no_license
w7374520/starkall
d1e9cbc1df7be910127e1272e9f19068222937e5
c455f8e12629dc5e7abfe1b8aa5b4ee126415cde
refs/heads/master
2020-05-18T06:09:15.323179
2019-04-15T06:32:50
2019-04-15T06:32:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
from stark.service.sites import site,ModelStark from django.utils.safestring import mark_safe from app01.models import Book, Publish, Author, AuthorDetail from django.shortcuts import HttpResponse, render, redirect class BookConfig(ModelStark): list_display = ["title", "price", "publish", "authors"] list_dis...
[ "1079264692@qq.com" ]
1079264692@qq.com
eb95018d472eadb3cd500298d47b6c2f17952a99
1e696cfacf608326dd8efe60126bc0a3bab25750
/supervisor/store/data.py
b810493bb3af9943b92a576565e854ed62f91218
[ "Apache-2.0" ]
permissive
KiraD5268/supervisor
8b3105d6af090653156be72e0d39f65d922e0be1
1bf38bdc999f8430cc32b2a3bad6fea927ba3d91
refs/heads/main
2023-01-12T14:19:00.324792
2020-11-19T08:24:40
2020-11-19T08:24:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,483
py
"""Init file for Supervisor add-on data.""" import logging from pathlib import Path from typing import Any, Dict import voluptuous as vol from voluptuous.humanize import humanize_error from ..addons.validate import SCHEMA_ADDON_CONFIG from ..const import ( ATTR_LOCATON, ATTR_REPOSITORY, ATTR_SLUG, REP...
[ "noreply@github.com" ]
KiraD5268.noreply@github.com
d032f87c76a40aec68f5ae53e43964a0d195e85e
bde0a0efad2c3e117f4ca01dcc8a7001725c800d
/src/annalist_root/annalist/views/site.py
1357583a187ac6e1f1a62b0cf740c3b7b6fd2d0f
[ "MIT" ]
permissive
josemanuelgp/annalist
2eb0e1535214121acd3369dde00479b368f673fe
f3324ea457dfbde1cea6a1df301946dc92cdaaf3
refs/heads/master
2021-01-17T03:40:39.422881
2015-01-31T14:09:37
2015-01-31T14:25:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,820
py
""" Analist site views """ __author__ = "Graham Klyne (GK@ACM.ORG)" __copyright__ = "Copyright 2014, G. Klyne" __license__ = "MIT (http://opensource.org/licenses/MIT)" import logging log = logging.getLogger(__name__) from django.conf import settings from django.http import Ht...
[ "gk-github@ninebynine.org" ]
gk-github@ninebynine.org
b0fb5f97fa751d8b36016df8af5b05eb14efb3bc
aeabc9a7b3e8d67fba5e6f8933a96b8a4bb51d2e
/camp/opus/track.py
d062c9c842f4d807c4608236556ae0c0b93d9887
[ "Apache-2.0" ]
permissive
YixuanFranco/camp
7926defa85c48aa1fef6481e8f6ba0019a6c2856
e2d1ecb57fbbd337028d48239bf20e2cdf8f65d4
refs/heads/master
2020-12-25T11:58:23.401292
2016-02-04T16:46:03
2016-02-04T16:46:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
""" Copyright 2016, Michael DeHaan <michael.dehaan@gmail.com> 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...
[ "michael.dehaan@gmail.com" ]
michael.dehaan@gmail.com
d302df19f553b76825f1950985d688173622b927
a90ea1a3f103b1dbb8e6132f3f2eb20c48db4671
/Hurricane project.py
2d786faf0597edaf608bbbc139f1995dd97ad6ff
[]
no_license
badinplaid737/Codecademy-Projects
2f9618ad3138b472822a256df46de441a35da135
a786eb155b03a460f4adbecd7e51fd84c20a29e3
refs/heads/main
2023-08-18T21:33:40.574439
2021-10-04T23:13:43
2021-10-04T23:13:43
405,109,893
0
0
null
2021-09-21T21:35:32
2021-09-10T14:32:07
Python
UTF-8
Python
false
false
10,473
py
import pandas as pd import numpy as np # names of hurricanes names = ['Cuba I', 'San Felipe II Okeechobee', 'Bahamas', 'Cuba II', 'CubaBrownsville', 'Tampico', 'Labor Day', 'New England', 'Carol', 'Janet', 'Carla', 'Hattie', 'Beulah', 'Camille', 'Edith', 'Anita', 'David', 'Allen', 'Gilbert', 'Hugo', 'Andrew', 'Mit...
[ "noreply@github.com" ]
badinplaid737.noreply@github.com
76ca0659bc2a888ba9d30a93427fa3fbf9282b19
af34730d1d0129a4381649d9a63b2966ab496fa1
/LAB6/zad1.py
009f6724957e42cc9188490e562d5db63d5d77e5
[]
no_license
panjacob/Artificial-intelligence
e84958d2d94f062edf59034e61df711edc027432
378b5244a172104cacb59c041891071c4ae55e91
refs/heads/master
2023-02-21T10:15:56.834349
2021-01-12T12:33:34
2021-01-12T12:33:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,042
py
from LAB6.algorithms import hillclimb, hillclimb_random from LAB6.functions import sphere_f, booth_f, mc_cormick_f from LAB6.utilis import avg_plot results_mc_cormick_f_rand = [] results_booth_f_rand = [] results_sphere_f_rand = [] results_mc_cormick_f_hillclimb = [] results_booth_f_hillclimb = [] results_sphere_f_hil...
[ "kwiatkowskijakub@protonmail.com" ]
kwiatkowskijakub@protonmail.com
bf3f3144ec9f3583ccdd3b4ee75f9f33fb4b2722
91e722e72cde9e913803c9d811afb7e971bcafd5
/squisha.py
4dec736ea5921757748e811ef977cd849bbbca41
[]
no_license
gbishop16/PythonTest
ba0b80e619a2322417e6192c5377781afdcd9b85
9169608d98229367f4c414b818508032784242f1
refs/heads/main
2023-04-19T12:49:23.395975
2021-04-29T21:28:42
2021-04-29T21:28:42
358,661,381
0
0
null
2021-04-16T16:38:45
2021-04-16T16:38:44
null
UTF-8
Python
false
false
1,821
py
import numpy as np #Here we are going to do two steps # 1 - Calculate the Output # 2 - Compare the output to the expected Output def sigmoid(x): return 1 / (1 + np.exp(-x)) def sigmoid_derrivative(x): return x * (1 - x) # Grid of training inputs training_inputs = np.array([ [1,0,1,1,0], [0,1,1,0,1],...
[ "gqbishop@gmail.com" ]
gqbishop@gmail.com
4711899bace9f735a03aa47cdd6369e47250c52b
3c9905785bf67f39c8c2d4e43911bfca3fac7e7c
/ssg_wargame/floppy/floppy_ex.py
2026905962306529509cbf589a71f145ee806e4f
[]
no_license
kommadot/CTF_STUDY
c31a3fd63f45674a41b25a21d2632c849f165d91
d7ccb33297f8bccc5b9b47a0958478bc8bfb1998
refs/heads/master
2022-07-09T17:04:14.286922
2022-06-27T07:00:54
2022-06-27T07:00:54
127,427,375
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
from pwn import * s = process('./floppy') s.recvuntil('>') s.sendline('1') s.recv() s.sendline('1') s.recvuntil('>') s.sendline('2') s.recvuntil('data') s.send('1234') s.recvuntil('tion:') s.send('1234') s.recvuntil('>') s.sendline('4') s.recvuntil('Data') s.sendline('1') s.recvuntil('tion:') s.send('a'*17) s.recvunt...
[ "tlagyqls7@naver.com" ]
tlagyqls7@naver.com
d021b744115764d2277dc2d4614b68fc97f495bd
bcab6bf51597d4fb8ba7abad8e5e33434cd8aa0a
/verts_package/__init__.py
cd1f1451ba0456486c767efacec29c163ece17c8
[]
no_license
OpenSolutionsFinland/Verts_package
847d14230a310f9096a4edbb731fe531d68db5d6
583dad43a5e1f43fbc1dbbb73d49608ed1832b62
refs/heads/master
2016-09-05T09:11:17.272150
2013-08-16T04:38:22
2013-08-16T04:38:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
import package_report import package
[ "jezco@Jesses-MacBook-Pro.local" ]
jezco@Jesses-MacBook-Pro.local
23bf9810cb81c88e936da29a45a53a82b77e55da
10decc1620bf5607e9c57296114026ff4bba4551
/leadmanager/leads/migrations/0001_initial.py
d1d321c13518b22c04f69b6f2d15d3f4e79e3eab
[ "MIT" ]
permissive
GeorgHs/PreSteps_BuchungsTrainerDjangoAPI
785797d94fa14489a7375c7e89999f39f52f90dd
de1609923e235cb2463463da220157c19e090c97
refs/heads/main
2023-03-30T15:54:10.083151
2021-04-08T15:44:53
2021-04-08T15:44:53
336,791,318
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
# Generated by Django 3.1.6 on 2021-02-07 13:50 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Lead', fields=[ ('id', models.AutoField(aut...
[ "Georg.Hertzsch@msg-gillardon.de" ]
Georg.Hertzsch@msg-gillardon.de
147a37571e91159aee5ad94006330608a5b884fa
4091f79b6537d091241f66ce02c79f701e07967e
/HW_PT2/RELAYplate.py
8f722a49d2061c3cee7b167b529e288cd3b7f0a1
[]
no_license
habibiam/opto_luna
b0b3c29ce1fdb1e730d4c40a7dd91fe8a13d492b
1ee2cf09e0e03a046a43c69d35cb09e82f05c457
refs/heads/master
2020-04-15T12:47:47.547115
2017-02-03T22:50:11
2017-02-03T22:50:11
65,699,360
0
0
null
null
null
null
UTF-8
Python
false
false
6,209
py
import spidev import time import string import site import sys from numbers import Number import RPi.GPIO as GPIO GPIO.setwarnings(False) #Initialize if (sys.version_info < (2,7,0)): sys.stderr.write("You need at least python 2.7.0 to use this library") exit(1) GPIO.setmode(GPIO.BCM) RELAYb...
[ "noreply@github.com" ]
habibiam.noreply@github.com
dd953dd9a5015782428fe48bd1d2a3e97abca454
23177554c77dbaffd51fd67d2223503980395d19
/Hangman.py
bdbb93746f1406f8684256a18b4ce10288d4e84f
[]
no_license
Aakash1311/Python
b9bb62aad73590365dc38572b0bc53880ee65163
869f2ea7c767a0c2d801b6223c60bc5d533d88c8
refs/heads/master
2023-04-30T02:54:21.862781
2021-05-20T12:19:30
2021-05-20T12:19:30
363,636,141
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
import random def hangman(): word_list = ["python", "java", "computer", "hacker", "painter"] random_number = random.randint(0, 4) word = word_list[random_number] wrong_guesses = 0 stages = ["", "________ ", "| | ", "| 0 ", "| /|\ ", "| / \ ", "|"] remai...
[ "Singhaakash084@gmail.com" ]
Singhaakash084@gmail.com
5a520ace4bc20effd2e6510434cbd0883db604d1
1985e1265986b5ba04fef111f1f4dd2f29525f70
/postgresql_example/queries.py
3c9fa4f7b92e03e8642ba821ec83b53e7c5fdc81
[ "MIT" ]
permissive
AshleyBrooks213/Unit3Sprint2
a21eca835c9ccf6871d5158b3df10058356d67c5
48e35f1a33c5ba50caa5f8f94df244e7f1f4e6b4
refs/heads/main
2023-05-10T21:47:41.164837
2021-05-25T17:27:16
2021-05-25T17:27:16
370,768,767
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
"""Holds my PosGreSQL example queries""" # SQL Create Table Query CREATE_TABLE_STATEMENT = """ CREATE TABLE test_table ( id SERIAL PRIMARY KEY, name VARCHAR(40) NOT NULL, data JSONB ); """ #SQL Insert Values Query INSERT_STATEMENT = """ INSERT INTO test_table(name, data) VALUES ( ...
[ "noreply@github.com" ]
AshleyBrooks213.noreply@github.com
0cb2d43aa43b94d6fe24a210644786fcedeb5ef9
7d59a4dec57d09b7f899d6d0db2de4a4decfaa55
/2020-11/2020-11-13-TabuSearch/tabu_tsp.py
b521881a2d76cc79cf82da8a546f978677b5af92
[ "MIT" ]
permissive
MinWu-DoctorFive/Code
df41bcd248179f4378954d51d3076d79d5dfaca1
fc3790b9b30b8acd6c46ab4b4f0ce9aa7892e4aa
refs/heads/main
2023-01-31T21:11:03.247698
2020-12-16T03:13:31
2020-12-16T03:13:31
343,963,649
1
1
MIT
2021-03-03T01:27:32
2021-03-03T01:27:31
null
UTF-8
Python
false
false
5,613
py
from itertools import combinations import os,sys,copy import numpy as np import time import matplotlib.pyplot as plt from GetData import * from tqdm import tqdm class Tabu(): def __init__(self,disMatrix,max_iters=50,maxTabuSize=10): """parameters definition""" self.disMatrix = disMatrix ...
[ "noreply@github.com" ]
MinWu-DoctorFive.noreply@github.com
c345ca9a14392bdf35f7190437bb582816f536b5
60dae997c1c460a5c058940528669865fa44bb6d
/venv/lib/python3.5/types.py
c9d27e80838075844f2e347ead9a0fb8adc8c1c9
[]
no_license
abhay97ps/ReversiBot
5ba5e79e23659313de5004708642fdda508c0769
efc31516006a4819276231088f5a96acb3f4a57f
refs/heads/master
2020-03-07T04:43:37.003946
2018-05-09T03:24:48
2018-05-09T03:24:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
29
py
F:/usr/lib/python3.5/types.py
[ "aakashv000@gmail.com" ]
aakashv000@gmail.com
f9cb8c6add31241c4678d8c603fe6ab76c594042
1f780ec1f753be1628f7fc5bac23a9d6f594a8be
/asyncbb/ethereum/test/test_faucet.py
6854d62bab53a288815d92490abf5adefd15fb79
[]
no_license
tristan/asyncbb-eth
93833dc5b4d078c80eb3d9576d38f3fb9a66ce08
8371398076322a24e970fe0650b43d364c28d2cb
refs/heads/master
2020-06-10T22:36:06.634248
2017-02-19T10:34:25
2017-02-19T10:34:25
75,856,477
0
0
null
null
null
null
UTF-8
Python
false
false
3,722
py
import asyncio import os import subprocess import unittest from ethereum.abi import ContractTranslator from ethereum.utils import sha3 from tornado.escape import json_decode from asyncbb.handlers import BaseHandler from asyncbb.ethereum import EthereumMixin from asyncbb.test.base import AsyncHandlerTest from tornado.t...
[ "tristan@bakkenbaeck.no" ]
tristan@bakkenbaeck.no
2a958a04c29b32972ba720e0bf136c454d89520f
f6794da6d91204047c31789d28872381b8db73bf
/structs_and_algs/queue.py
1e2a595a958e0595111fe199c3e29bf4c0fea3d5
[]
no_license
mericar/pyPlay
357b16eb6d6103bbcad0d8dc30e2a84d08f80ad3
6857c11d0ca7ebdaabeb0989a9492b9ec9a9d438
refs/heads/master
2021-06-18T05:11:22.315657
2017-06-26T07:51:17
2017-06-26T07:51:17
46,304,052
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
class Queue: def __init__(self, front=None): self.q = [front] def enqueue(self, new_entity): self.q.append(new_entity) def first(self): return self.q[0] def dequeue(self): return self.q.pop(0)
[ "mirkocarich@gmail.com" ]
mirkocarich@gmail.com
98b06251948d5f524eae90478a5c1dd10a1d57cd
7f41ef1cfa30e02e7887bcf16e6587c0052ed4ba
/flaskapi/pyapi/logging/apiicefire.py
7d714513d903562685ff4cc7bdae48c7c271ed10
[]
no_license
bmyers624/pyapi
353b4ddf50eb0290d8a161a872520020e50b0cd1
fcd97e2f247c314f7f76e0fb68cf410f9c706f7a
refs/heads/master
2022-11-06T23:59:47.246268
2020-07-10T22:05:54
2020-07-10T22:05:54
276,757,132
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
#!/usr/bin/python3 import logging import requests import argparse import pprint BOOK = "https://www.anapioficeandfirie.com/api/books" def main(): logging.basicConfig(filename='icefire.log', format='%(levelname)s:%(asctime)s %(message)s',\ datefmt='%m/%d/%Y %I:%M:%S %p', level=logging.INFO) try: ...
[ "b.myers624@gmail.com" ]
b.myers624@gmail.com
8ffd200a40777796426fd2536c915d0fa9d9ddf9
6ccdab14aca949c571ef5f63dea001cb9565e23e
/app/api/monitoring.py
e21a7d646f8880c74a66c03e740f7cdc40bcefa5
[]
no_license
unmade/hangman
bb87cb3ca3952791f61715e15db3805c6cd4f403
28eef30411e06446cd5252143c4d1b0e6a418483
refs/heads/master
2021-07-10T09:56:45.988497
2020-02-09T14:51:56
2020-02-09T14:51:56
239,015,111
0
0
null
2021-03-26T17:39:01
2020-02-07T20:17:40
Python
UTF-8
Python
false
false
332
py
from fastapi import APIRouter from app import db router = APIRouter() @router.get("/ping") async def ping(): """Health check for service""" return {"status": "OK"} @router.get("/ping/db") def ping_db(): try: db.ping_db() except Exception: return {"status": "ERROR"} return {"sta...
[ "lesha.maslakov@gmail.com" ]
lesha.maslakov@gmail.com
f17fd033520cfda90e7a79bc7778f3f55c05d53f
ffe9783bffe016db125b3bc0416776bf057d999d
/OML/logs.py
5cf201b237f5195d705db0f04ff7c0d4d9a9e7a2
[]
no_license
hrmello/OperationalizingMachineLearning
836a221353b231796b28c9b0aa17852467fe235c
9fec131a7435ae5f97edc06ab2e6fd9fc2615f2f
refs/heads/master
2022-12-20T05:28:58.329562
2020-10-07T18:45:52
2020-10-07T18:45:52
300,402,359
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
from azureml.core import Workspace from azureml.core.webservice import Webservice # Requires the config to be downloaded first to the current working directory ws = Workspace.from_config() # Set with the deployment name name = "voting-deploy" # load existing web service service = Webservice(name=name, workspace=ws) ...
[ "hrmello@outlook.com" ]
hrmello@outlook.com
b564186a86551fe1998854e70937d0ba90f29676
e7397ed7c8a79b1df463205ccf8358a183f51d68
/venv/Lib/site-packages/pdfdocument/document.py
247abee33a04553e4c81c232e08d028a645cb3c2
[]
no_license
yzx6151211/test
7515a1e15fa16d1ba35a6af3afcd331e579427c0
59ffb77c240dc7e3f18d45e0d0863b9080c9fe40
refs/heads/master
2023-03-31T10:57:11.523739
2021-04-08T02:00:12
2021-04-08T02:00:12
355,732,822
0
1
null
null
null
null
UTF-8
Python
false
false
22,264
py
# coding=utf-8 import copy import sys import unicodedata from functools import reduce from reportlab.lib import colors from reportlab.lib.enums import TA_RIGHT from reportlab.lib.fonts import addMapping from reportlab.lib.styles import getSampleStyleSheet from reportlab.lib.units import cm, mm from reportlab.pdfbase ...
[ "523882246@qq.com" ]
523882246@qq.com
cfeefa710d82c14c84f1b09f78d2f06d7bc04a4a
625f2f86f2b2e07cb35204d9b3232427bf462a09
/data/HIRun2017XeXe/HIMinimumBias10_XeXeRun2017_13Dec2017_v1/crabConfig.py
8d4c3810aa384ccce2a13748b25967252606e33f
[]
no_license
ttrk/production
abb84c423a076fd9966276b7ed4350936c755e0b
f8a64c9c38de215802799365f0f7a99e1ee78276
refs/heads/master
2023-02-08T23:48:56.355141
2023-01-26T08:46:22
2023-01-26T08:46:22
52,877,406
0
2
null
null
null
null
UTF-8
Python
false
false
1,800
py
from WMCore.Configuration import Configuration config = Configuration() config.section_('General') config.General.requestName = 'HIMinimumBias10_XeXeRun2017_13Dec2017_v1' config.General.transferLogs = False config.section_('JobType') config.JobType.pluginName = 'Analysis' config.JobType.psetName = 'runForestAOD_XeXe...
[ "tatark@mit.edu" ]
tatark@mit.edu
431bec1f65b0f2f9845fd0cd4fa3323157ce83d2
e9e6803260c681fd5f9eb7179f51783685f62e68
/oops_employee.py
14b085594fd05dbbb36465be830f0b856fc7397c
[]
no_license
http-www-testyantra-com/Anusha_Sony
74f06f60ede11c0500eb0e58dc2cd381f7966d99
a64f4b026661294b4da3be50493fb094c0b7db80
refs/heads/master
2020-11-24T04:35:10.396054
2019-12-15T19:48:17
2019-12-15T19:48:17
227,967,194
0
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
class Company: CompanyName="LT" Location="Bangalore" Hike_Rate=10 def __init__(self,Name, age,id,sal): self.Name=Name self.id=id self.sal=sal self.age=age def display_employedetails(self): print(self.Name,self.age,self.id,self.sal) def modify_details(s...
[ "anushanvi91@gmail.com" ]
anushanvi91@gmail.com
d596b39e16214c2187363402bb1cc5cfbd030dd2
39d100d1ed768ab4bdc768dc70e68d4bf943f233
/tgmate/views/admin_view/message.py
01e5eed946237b3093a365c59c1db8e628247eca
[]
no_license
ivan-koryshkin/tgmate
702b5c465a3435be134d858cc5fbd0f5ca8fd1f3
7ae1f5125ac19f00c53d557c70dbbdbe99886cac
refs/heads/master
2023-08-30T09:20:04.947011
2021-11-09T13:21:17
2021-11-09T13:21:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
from flask_admin.contrib.sqla import ModelView class MessageView(ModelView): pass
[ "ivan.koryshkin@gmail.com" ]
ivan.koryshkin@gmail.com
6b0cd2f19b9a1b1405cfb0781b19e6c544ac8a43
2a45507fff25c42cad05b52d83d011fea0909be5
/Codeforces/Python/Indian Coin Change.py
7254c2721508e7cd6403b69022eb32ca68ff52f7
[ "MIT" ]
permissive
Sharayu1071/Daily-Coding-DS-ALGO-Practice
dc8256e76d43952f679236df904f597908fbda13
2c424b33a1385085f97b98d6379d6cd9cc71b1bd
refs/heads/main
2023-08-30T17:49:44.312613
2021-10-03T04:21:21
2021-10-03T04:21:21
412,973,714
3
0
MIT
2021-10-03T04:18:20
2021-10-03T04:18:19
null
UTF-8
Python
false
false
680
py
denominations = [1, 2, 5, 10, 20, 50, 100, 500, 1000] #denominations of indian currency n=len(denominations) def Coin_Change(V): change = [] # to store the change currencies for deno in range(n-1 , -1, -1): #reverse for loop while (V >= denominations[deno]): V -= denominations[den...
[ "1218.muskangupta@gmail.com" ]
1218.muskangupta@gmail.com
363eebe781fa7846f4e80639033db7c5abf5cddf
807022b4aebd9c4b2e8b0f5b7c209cf21c697381
/ocr_structuring/core/non_template/utils/bol_utils/table_items/table_handler/element_handler.py
82587a41931bc5700533f5ccd6b2b83495a80ec7
[]
no_license
imfifc/myocr
4abc5480222f4828072857fbb84236f4a494b851
71ba56084aabfa8b07ddc1842bcac5cdbd71212c
refs/heads/master
2022-12-13T13:04:51.488913
2020-09-02T09:07:09
2020-09-02T09:07:09
292,232,085
0
0
null
null
null
null
UTF-8
Python
false
false
28,938
py
import re from collections import defaultdict from typing import Dict, List import editdistance as ed import numpy as np import pandas as pd from ocr_structuring.core.non_template.utils.bol_utils.table_items.table_handler.keyrow_handler import KeyrowGroup from ocr_structuring.core.non_template.utils.bol_utils.utils.t...
[ "1193690571@qq.com" ]
1193690571@qq.com
617850ebf299ad30915a18f564628a69243c5d24
dfc686228834750216b2cd6eea14d2a6d12422e4
/django2.2/reh/django_pro/store/orders/views.py
881709a343148285a92835c84be8b89ae69bf6eb
[]
no_license
Parth-Ps/python
8466e8856bf301908544eb60ae4a68338ccf4550
bb448c2a7996d17883214fe8eb11caa61e211400
refs/heads/master
2023-01-22T13:30:50.507021
2020-12-02T07:59:53
2020-12-02T07:59:53
317,788,331
0
0
null
null
null
null
UTF-8
Python
false
false
3,026
py
from django.shortcuts import render, redirect from django.views.generic import View from django.views.generic.list import ListView from django.contrib import messages from django.views.generic.edit import FormView, CreateView from django.urls import reverse from .forms import AddressForm, UserAddressForm from .models ...
[ "parth0129.certificate@gmail.com" ]
parth0129.certificate@gmail.com
2fcddc203d429f2ba2f344a2ef75518082dad2e1
1b2bcf9b944e390462b54a64f28f66435a9c62bf
/shakespearean_pokemon/exceptions.py
2892df99c0f91ff301437c7957ca0df929ebbc07
[]
no_license
dalehp/shakespearean_pokemon
484fccd15e52882ca7cf19be28a77657006953af
31a7e707795fe7977bf6a7b2975d4933ea7d1282
refs/heads/master
2022-06-02T06:02:16.352253
2020-05-04T07:44:49
2020-05-04T07:44:49
260,740,428
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
class InvalidPokemonError(Exception): pass class UnknownAPIError(Exception): """Unexpected errors from external API. Should probably handle this better for certain scenarios, e.g. retry on 503?""" pass class TooManyRequestsError(Exception): pass
[ "dale@Dales-MBP.lan" ]
dale@Dales-MBP.lan
18985bcfa506725407f81a6972befff206a7eb72
9813636bf3d99ca727baddc9791b4c02e0532457
/book_api_django/book_api/models.py
ffee109af22725969cc2ca72c08ae9841055e62d
[]
no_license
amfueger/django-starter-code
bb791564ee06b2b0cc298c0293c72d595738de5f
ce362355af1aadeb921fb6cb3804f2d543a536b8
refs/heads/master
2020-04-16T21:52:21.518309
2018-11-17T00:30:41
2018-11-17T00:30:41
165,943,460
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
from django.db import models # Create your models here. class Book(models.Model): title = models.CharField(max_length=100) author = models.CharField(max_length=100) year = models.IntegerField(default=0) def __str__(self): return self.title
[ "Jimmyhaff3@gmail.com" ]
Jimmyhaff3@gmail.com
f9b0fe3e32e67ea52512f7e359041022a22cc2ec
e0c5cb0500a1200168e4e2a5b8897715a0c51a15
/MSI_calculator.py
944461f880080ed81dff269244c3e095b22e0ee9
[]
no_license
OriolGraCar/Naivebayes_AGB
e976d52cf4272fee992574ba14e677ed3d506a3d
d6f873e87101a8434faa2b70e44a748d8a911a03
refs/heads/master
2021-05-03T10:21:59.849711
2018-02-28T08:46:24
2018-02-28T08:46:24
120,532,697
0
0
null
null
null
null
UTF-8
Python
false
false
2,200
py
import math def entropy(splicing_info): total_tissues = len(splicing_info['up']) prob_up = 0 prob_down = 0 count_up = 0 count_down = 0 #count_NA = 0 conditional_prob_up = [] conditional_prob_down = [] summatory_up = 0 summatory_down = 0 for element in splicing_info['up']: conditional_prob_up.append(spl...
[ "noreply@github.com" ]
OriolGraCar.noreply@github.com
e36b9e898b42d2ec4030c7b698009d6432b9283d
59e2cdec9e271fd05f9c99f485f1a5c020979402
/src/edit.py
ea66ac3736ba296c96d804345f1094b7b4a99c0a
[]
no_license
zwaltman/LSystem
c886e8d560a175f0875e2cb43ae5a4d4d4d6785f
4406cbb54a802afb2c7ba7bf4bd3eabedffdcba8
refs/heads/master
2020-04-17T12:05:21.697188
2018-05-28T05:46:54
2018-05-28T05:46:54
65,895,185
0
0
null
null
null
null
UTF-8
Python
false
false
3,773
py
""" Editor for L-systems objects Used for creation of new systems and modifying previously saved ones """ import LSystemObject from printer import printVars, printConsts, printRules, printStart from modify import addVar, deleteVar, addConst, deleteConst, addRule, deleteRule, addStart, deleteStart from load i...
[ "z.waltman@gmail.com" ]
z.waltman@gmail.com
91917955537aa8f8ffc9ebad84b1e29e516d770b
f2c64c03c0e6d84daffb7464df471ef33944f6a8
/keras_kit/__init__.py
a7388c89b4d34fc23a78bf9defc6c67395afcfef
[ "MIT" ]
permissive
bigboyooo/NER-toolkits
c290b279743f3968913d422ebdfde6625ff47861
bd568b62b30672fa014308413b7715ec11e8064a
refs/heads/master
2020-06-05T16:49:32.178363
2019-06-11T15:12:25
2019-06-11T15:12:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
# _*_ coding: utf-8 _*_ from . import common from . import transformer
[ "lyssym@sina.com" ]
lyssym@sina.com
c96b38abe78c574577aa444659c3ca827a2d4b36
fc68ed9f0ca806c5f2473ffb5ffd0430a29393a7
/bomtool/pngen.py
67c65b730cfbe4421ac011a9b5c083d9fc64fb74
[ "MIT" ]
permissive
iromero91/bomtool
f48bf3894323fcf09eb6641db020d3a667d50dcf
fd967d84a220d7876d98cc02b072ffc71f33c767
refs/heads/master
2021-06-27T11:41:23.947454
2021-02-16T15:59:39
2021-02-16T15:59:39
67,799,755
2
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
def RC(value, tolerance=5.0, power=None, package="0603",pkgcode="07"): res = {"manufacturer": "Yageo"} suffix = ['R', 'K', 'M'] digits = 3 if tolerance < 5 else 2 while value >= 1000: value = value/1000. suffix.pop(0) suffix = suffix[0] whole = str(int(value)) decimal = str(...
[ "jose.cyborg@gmail.com" ]
jose.cyborg@gmail.com
a7a12afb1c022ae8a75143cb8063ae50fcb75dae
32b28c9d13797c17ddd215d762dab59d1eaf6ae7
/src/utils/bitcoin_address.py
5ceecf176aa3496c6d1e3f5dbab4fa849b13f827
[]
no_license
pierce403/hashbounty
15ee3fff21c519d5eaf4480f30bbde357dc2da40
f918c999ee41406db74697f79c45f43b36f5b9ad
refs/heads/master
2021-01-19T16:33:18.872478
2011-07-02T02:37:57
2011-07-02T02:37:57
1,846,117
2
0
null
null
null
null
UTF-8
Python
false
false
2,571
py
import re from hashlib import sha256 import math def is_valid(a): return get_bcaddress_version(a) is not None class AddressValidator(object): def __call__(self, form, field): if not is_valid(field.data): from wtforms.validators import ValidationError raise ValidationError(u'Thi...
[ "jure.vrscaj@gmail.com" ]
jure.vrscaj@gmail.com
b42a2b08cb31f2974ae2b3a6c1c3ca86a3b16b17
5f10ca2439551040b0af336fd7e07dcc935fc77d
/Binary tree/二叉树的构建/109. Convert Sorted List to Binary Search Tree.py
fc1c80d96dc7d82272ce983078633f7b7bd7e5cd
[]
no_license
catdog001/leetcode2.0
2715797a303907188943bf735320e976d574f11f
d7c96cd9a1baa543f9dab28750be96c3ac4dc731
refs/heads/master
2021-06-02T10:33:41.552786
2020-04-08T04:18:04
2020-04-08T04:18:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,443
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/2/27 10:21 # @Author : LI Dongdong # @FileName: 109. Convert Sorted List to Binary Search Tree.py '''''' ''' 题目分析 1.要求:Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a heig...
[ "lidongdongbuaa@gmail.com" ]
lidongdongbuaa@gmail.com
6ef336fe2b4c4c6570f5f608a03e7fb1f0c3b6fa
a44d6c8ddf4d43b8f623053ff8e4863d9a5f40d6
/readlikeme/wsgi.py
fa0c6764c3e6eff3c7b8c7ce9e0fa1b1c6f702b8
[]
no_license
martolini/readlikeme
c5bdd31f6233203454ee46c600e6add7936da39e
69e2509a5b747553fe723d890429444fbda24f14
refs/heads/master
2021-03-19T07:12:26.034555
2014-03-18T20:54:06
2014-03-18T20:54:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for readlikeme 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.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "readlikeme.settings") from django....
[ "msroed@gmail.com" ]
msroed@gmail.com
4163cd7fd42ae455103ea2f04a36f4bd743d26a8
f895e1a0ca2499cbe733bde0584d5244ddb2e438
/system.py
343ad1411ed8ce3cbaaae7ded5a3549cf7793bcc
[]
no_license
rcackerman/security-camera
7d4c1f597bd6f50e1b6da69b58e1ab5978e39858
3411d985400f3cb2f8d5e23162e883285b1efd4f
refs/heads/master
2021-01-13T13:59:24.634613
2015-09-05T14:57:20
2015-09-05T14:57:20
40,516,281
0
1
null
2015-09-05T14:57:15
2015-08-11T02:12:42
Python
UTF-8
Python
false
false
2,087
py
''' TODO: * Make sure NTP is running so we have an accurate time * Automatically deal with time zone! (DST etc) ''' S3_KEY = process.env.S3_KEY S3_SECRET = process.env.S3_SECRET MIN_DIFFERENT_FRAMES = 4 # minimum number of different frames to trigger alert active = True # Is the security camera on? streak = 0 # I...
[ "mahatm@gmail.com" ]
mahatm@gmail.com
f648966895199062456e5e080b63bc975caf9b28
648a6e11bea6a15bd677ecf152592edd71203734
/Lab6/task-6.1.4.py
b95f37d2fd863d0bf10179c439c17e8fea91ce6c
[]
no_license
paulkirwan6/AllLabs
70975233c2a545e0acf116f9326bc1153fd4d497
5c660eb352e61047519e87deaa5a3f0a0155785e
refs/heads/master
2020-09-20T12:13:17.593871
2019-11-27T18:59:30
2019-11-27T18:59:30
224,473,008
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer import SocketServer as S import datetime ##for current dynamic current time class S(BaseHTTPRequestHandler): def set_headers(self): self.send_response(200) self.send_header('Content-type', 'text/html') self.end_headers() def do_GET(self): self.s...
[ "paulkirwan6@gmail.com" ]
paulkirwan6@gmail.com
347dbf0216b68f16364f68c9c54ed2359479483c
9793d734de4283cec67ca1c398a7e71fddbdb19d
/test/ccp/test_ccp_inputs.py
8344778b53a40f78841ad29b887700f026a69d8b
[]
no_license
K-Molloy/whitebeam
40adcb9e94c59db66da24b65b0d5b7ac01a4f740
ef6bf6cbdff1f7713aead37a5f609fe2cfae8f28
refs/heads/main
2023-02-17T12:39:33.545920
2021-01-18T07:18:15
2021-01-18T07:18:15
327,152,651
0
0
null
2021-01-11T06:23:17
2021-01-06T00:10:49
Python
UTF-8
Python
false
false
3,187
py
from whitebeam.base import CCPTreeClassifier from sklearn.model_selection import train_test_split import numpy as np import pytest from test.utils import generate_binary_classification # --------------- # Expected Error # --------------- @pytest.mark.parametrize("param_alpha", [2+3j, "3", []]) def test_alpha_alpha...
[ "kieran.b.molloy@outlook.com" ]
kieran.b.molloy@outlook.com
8713742e4a25b2f594904e6f2e0e9a8afae4c048
b7c6a4ceb4f6f980f8dbc3c273402d3a70001e38
/materialize_threats/mx/models/Text.py
6dbdf9fbefa3283ba543ddb6afdc3d5e690985aa
[ "Apache-2.0" ]
permissive
ikszero/materialize_threats
e1924e7fe93c7eea382f4f47f2f97752eb5f09ff
fe811dc4c719baa1258a55bb43eb8a465e050da1
refs/heads/master
2022-11-27T10:16:56.843204
2020-08-03T05:11:19
2020-08-03T05:11:19
285,853,255
0
1
Apache-2.0
2020-08-07T14:49:07
2020-08-07T14:49:06
null
UTF-8
Python
false
false
1,189
py
from ..utils import MxConst from .Styles import Styles class Text: def __init__(self, anchor, family, size, text, color): self.anchor = anchor self.family = family self.size = size self.text = text self.color = color def get_mx_style(self): align = MxConst.CENT...
[ "33043272+jacob-salassi@users.noreply.github.com" ]
33043272+jacob-salassi@users.noreply.github.com
f717594b82fedbfdf3ca400ff7a19b81fcb4c4ef
1f2262bf0f03c010fdfa595f7d6d1e0dd215f817
/myapp/migrations/0054_remove_checkoutcart_country.py
235bbe69057d2a633aa447ebf0fb518dd6c17b60
[]
no_license
nabin-01/Ecommerce_Django
ea27d13491e2dbeb0a2c2e52d6372f3d0b07905b
104a3a33672e30234fe776e0504bb6487aa78a9a
refs/heads/main
2023-04-15T18:30:26.408146
2021-05-02T20:08:56
2021-05-02T20:08:56
358,646,257
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
# Generated by Django 3.1.7 on 2021-04-24 16:41 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('myapp', '0053_checkoutcart_country'), ] operations = [ migrations.RemoveField( model_name='checkoutcart', name='country', ...
[ "nabinghimire1001@gmail.com" ]
nabinghimire1001@gmail.com
553206a6a06c245cc0ea6f8521414d4baf2819d8
e3b3ae9aec7e1a2eacdf0176c0b1a6bbf8834f75
/imperialtometric.py
15d1e003f6841b45135e5558d4a40136851e7902
[]
no_license
carolinascarneiro/pp-lesson-projects
9f5954790372bbb7f5cb312c376c1d5366dd5cb2
7e89d01a461e6edc0c2f5d53bb42caff4fd80edd
refs/heads/main
2023-06-30T04:11:43.876987
2021-08-01T16:11:43
2021-08-01T16:11:43
389,911,117
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
#Convert from feet+inches to cm feet = 5 inches = 3 cm = 30*feet + 3*inches print(cm)
[ "carneiro.carolina@yahoo.com.br" ]
carneiro.carolina@yahoo.com.br
5ebb4852fd107ae15be7b6ad2880aa9fcda1c20e
24815c399098b90a4d825f60a78148c8f895848d
/test_tdd_demo1a.py
ce4bad4abab1ff3d6a4f6a0e9c1f9aca57fe4532
[]
no_license
kevinelong/tdd_demo
710c250a2f65a5df5e765d74ab89244b2d93e8d9
e9a70f0ba34d0c1ec0633697eed54b7ed9d1b6c7
refs/heads/master
2022-11-13T12:05:35.807818
2020-07-02T18:53:33
2020-07-02T18:53:33
270,855,427
0
0
null
null
null
null
UTF-8
Python
false
false
1,325
py
""" MARKETING REQUEST FOR DEVELOPMENT: We want a function called "backwards", that returns its input reversed. e.g. "ABC" becomes "CBA" """ """ ENGINEERING FUNCTIONAL REQUIREMENTS: 1. The identifier "backwards" must point to a function. 2. The function must accept a stri...
[ "kevinelong@gmail.com" ]
kevinelong@gmail.com
d92a5039ae80d5127a0597cbd9b592de97baa478
d6185183eea8a99f486f346c8b03b3dc3b71bd54
/api/serializers.py
777656971ce300f5d824d6f07adf9e55abdf0a1d
[]
no_license
dohcgle/squad
98acbd5461cb48b75a373a135bdd3c0eb8a952f3
e24606276dcc84550f0e5d0d569cb9d1f111b9c7
refs/heads/main
2023-07-05T17:27:37.827912
2021-08-24T10:07:02
2021-08-24T10:07:02
398,609,950
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
from rest_framework import serializers from .models import Members, Squad, Power class PowerSerializer(serializers.ModelSerializer): class Meta: model = Power exclude = ('id', ) class MembersSerializer(serializers.ModelSerializer): powers = PowerSerializer(many=True) class Meta: mo...
[ "utn1002@gmail.com" ]
utn1002@gmail.com
52daf9e37da6d60f8e9103ebb8997114695211b5
e2d03079c2483ff91f473a4580f1ce4661c14f80
/pelican/plugins/pelican-semantic-ui/pelican-semantic-ui.py
b49b62cb27ee511b2cda82f7cc2f06dcf782b1ba
[ "MIT" ]
permissive
hielsnoppe/pelican-semantic-ui
d19599a33086f7a0713827fdfb8167560765d2e2
23976c3cc1a065bc94cf4d098dc0aafae68988bf
refs/heads/main
2023-01-01T01:33:07.252830
2020-10-26T22:10:51
2020-10-26T22:10:51
307,516,231
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
from pelican import signals from jinja2 import ChoiceLoader, FileSystemLoader def add_loader(pelican): ''' https://stackoverflow.com/questions/30109097/trying-to-override-jinja-choicereloader-in-a-pelican-plugin ''' pelican.env.loader = ChoiceLoader([ pelican.env.loader, #PackageLoader...
[ "mail@nielshoppe.de" ]
mail@nielshoppe.de
a1ea9882410206d97dde501efb90db8f3844d88c
61a4f0ef43e31f77d17d41a0f0250cf4d10cc45b
/directory/migrations/0002_auto_20180215_2103.py
52a16e771442cef9e59c29a1a3088db9a0baf6b3
[ "MIT" ]
permissive
for-each-org/taf-members
f09dcf9044db7abd070ecda2c8c55fedf06eba54
a9e9663acc8ae5a321965a6340c639ede0c09754
refs/heads/master
2021-05-09T00:31:39.855553
2018-03-03T19:06:17
2018-03-03T19:06:17
119,747,094
0
0
MIT
2018-03-03T19:06:18
2018-01-31T21:41:29
Python
UTF-8
Python
false
false
1,647
py
# Generated by Django 2.0.2 on 2018-02-15 21:03 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), ('directory', '0001_initia...
[ "drewatkinson5@gmail.com" ]
drewatkinson5@gmail.com
adcc26d378e12b39c36bbc0edf78f14655faeafa
7b87f276dcc09f372a6f8cd74e5a8b91f1025bde
/work/app.py
ddcc6311f528a2c07c6a9586a9ebe9cda1894162
[]
no_license
hyeljang/code_test
45d5cad83da330c4973e613790168a3b790151aa
55e9da4a4a884b6a11b879513db538f56e420de5
refs/heads/master
2022-09-24T22:50:14.756728
2020-06-09T08:06:19
2020-06-09T08:06:19
265,852,853
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
from pymongo import MongoClient # pymongo를 임포트 하기(패키지 인스톨 먼저 해야겠죠?) from flask import Flask, render_template, jsonify, request app = Flask(__name__) client = MongoClient('localhost', 27017) # mongoDB는 27017 포트로 돌아갑니다. db = client.dbsparta # 'dbsparta'라는 이름의 db를 만듭니다. # HTML을 주는 부분 @a...
[ "hyeljang@naver.com" ]
hyeljang@naver.com
2dd6a7d5978b6b8bab205615d8932e5a579079c7
bd22572b4fe1bdf7d38e4a37ccb6da52cf5dbb08
/bot-engine/EngineStates/InternalVariableFlow.py
ef0c1110e0e3c0d003b4e02ba3526caeef1d926a
[]
no_license
dannysheyn/bonter
a8d4a5dba5be5e43374bcd702d81793c6cc07faa
2d2ebc13e4fdcd1b1a3ef6b0cd5cbf0b9d53a4db
refs/heads/master
2023-08-25T22:59:17.176394
2021-11-08T17:58:09
2021-11-08T17:58:09
333,482,514
0
0
null
null
null
null
UTF-8
Python
false
false
8,566
py
from botEngine import BotEngine from callableBox import * import userMessages from EngineStates import * from api import API from userGeneratedBot import BOX_TYPE_INTERNAL_VARIABLE from CurrentUser import CurrentUser class InternalVariableFlow: @staticmethod def internal_variable_assignment_start_flow(update: ...
[ "59560231+ArtemKuznetsovv@users.noreply.github.com" ]
59560231+ArtemKuznetsovv@users.noreply.github.com
dc83acb459fcffe1afe7db43b56887dcd5a13f98
c7c3daeaa29fc8c955ea6c143d73f7fe34f0ca6b
/Pn/Newtoy10000batch/calc_err.py
f98b16236cd5dae79b053205f5efd7b832062d26
[]
no_license
hanzhuoran/FETtest
9e678f9c6c6ccf6b0fb3fc8063a32b5439299883
d0104ca3d5dc06152ad583089a837f3425fb5c00
refs/heads/master
2020-03-22T10:27:11.010594
2018-07-20T18:27:54
2018-07-20T18:27:54
139,903,416
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
import glob import matplotlib.pyplot as plt import openmc import os import numpy as np import openmc.capi as capi import scipy.misc as scm import scipy.special as scp import generate_xml as genxml import helperfunction as hf import dataprocess as dp import generateplot as gp import sys plnnum = 100 porder = 100 pln,pl...
[ "zhuoranh@mit.edu" ]
zhuoranh@mit.edu
bf0c684d00618e404e4f0cf0988ac822ca07783b
55fad148029f51073d15efe0f7053cf9c890c797
/parser/tasks.py
ee9b78983e428c9c38941aef6da0435fc79a928e
[]
no_license
MishaAntonkin/domovichok
f0dba4570258a896a3254e99d67e7ad3241ccdf7
51afbd9c031fde97553c17b70dace02a57fcf029
refs/heads/master
2022-12-18T03:29:05.621168
2018-06-02T19:05:09
2018-06-02T19:05:09
126,003,055
0
0
null
2022-12-08T00:56:17
2018-03-20T10:51:19
Python
UTF-8
Python
false
false
184
py
from datetime import datetime from celer import celery_app @celery_app.task def now(): with open('asome', 'a+') as f: f.write('string\n') print(str(datetime.now()))
[ "mishaAntonkin@gmail.com" ]
mishaAntonkin@gmail.com
dd88f4ab6f1e21d5f809655c618724a9cce5a20d
537d28fb2142331e27c84ebf2c16bad77aceb24e
/keras/lstmTest/p054_UnivariateMLP.py
8d753d5fc810757620cacc1001d07366250eefb2
[]
no_license
gema0000/bit2019
c27c3cec8d8d3a0907ade41523ce1c5ee86337b6
2f44ad3956b387186935374d9a488ad40a13bcaf
refs/heads/master
2020-07-03T05:19:41.051447
2019-10-26T23:56:25
2019-10-26T23:56:25
201,796,021
4
2
null
null
null
null
UTF-8
Python
false
false
1,657
py
# split a univariate sequence into samples def split_sequence(sequence, n_steps): X, y = list(), list() for i in range(len(sequence)): # find the end of this pattern end_ix = i + n_steps # check if we are beyond the sequence if end_ix > len(sequence)-1: break # gather input and o...
[ "gema0000@naver.com" ]
gema0000@naver.com
0b9e1610455523e45cd4142a03cf3aa9e462915c
0f1ffdf3ce215b170e201e8d3d7a103fdb3ec1cf
/examples/tenant_tutorial/tenant_tutorial/urls_tenants.py
302ac2a76c019007d753a6a177ead0285ac18d5c
[ "MIT" ]
permissive
simo97/django-tenants
4afa6062e632ad29ec8bbbd2bcf49244fb693ffe
386152dfcfdfb0084d471495fd8fcd95762a451f
refs/heads/master
2020-06-30T15:08:14.788197
2019-11-08T12:31:25
2019-11-08T12:31:25
200,866,875
1
0
MIT
2019-11-08T12:31:26
2019-08-06T14:22:51
Python
UTF-8
Python
false
false
425
py
from customers.views import TenantView, TenantViewRandomForm, TenantViewFileUploadCreate from django.contrib import admin from django.urls import path urlpatterns = [ path('', TenantView.as_view(), name="index"), path('sample-random/', TenantViewRandomForm.as_view(), name="random_form"), path('upload-file/...
[ "tom@twt.me.uk" ]
tom@twt.me.uk
7c6c64e07b7e7b162308256268e3047bf5cb9801
c6d4db3208e915ffcca08325b167b6901f4cf3c9
/ABC144/c.py
580ba5e3d35f14eafeacfc6562ddd91e42d20af2
[]
no_license
NagaTaku/atcoder_abc_edition
183db46774a642ec4ab2b38cace7d73312ca5fe0
d018fcea03681bb78b159c0934dfe02794fe5df6
refs/heads/develop
2023-03-28T16:13:59.610494
2021-04-05T08:41:54
2021-04-05T08:41:54
259,724,404
1
0
null
2020-08-21T08:05:13
2020-04-28T18:52:53
Python
UTF-8
Python
false
false
461
py
import math def make_divisors(n): lower_divisors , upper_divisors = [], [] i = 1 while i*i <= n: if n % i == 0: lower_divisors.append(i) if i != n // i: upper_divisors.append(n//i) i += 1 return lower_divisors + upper_divisors[::-1] n = int(input(...
[ "greeeen0315@gmail.com" ]
greeeen0315@gmail.com
7cf56b169537088e8957df7107db39c5313491c4
cda3810d054a9769a2e0d95613fac970bf0f08a4
/source_codes/modeling_trial.py
26e65411623632cb779ec48a288b67b8429cf553
[]
no_license
iocak28/Fantasy_Basketball_ML
bb97d41d910a4216496aae8eaadf163fce9a7f69
ef8156292e5a50316039fb3dbf6c78cb0bfaa73e
refs/heads/master
2022-04-11T10:58:29.288289
2020-04-02T06:52:09
2020-04-02T06:52:09
241,824,074
0
1
null
null
null
null
UTF-8
Python
false
false
7,533
py
# Modeling Code import pandas as pd import numpy as np import time # from basketball_reference_web_scraper import client import os import gc import datetime import sklearn from sklearn import linear_model from sklearn.metrics import mean_squared_error, r2_score from sklearn.decomposition import PCA from sklearn.prepro...
[ "iocak28@gmail.com" ]
iocak28@gmail.com
bcb65764a20736e44cc15c3d9f9062023ebe1e13
7c89da72f81c4e99130cf49a8ca48119beabff39
/knn.py
110287582bbdd3df364d2f6947c0c964798d546d
[]
no_license
ianyehwork/Machine-Learning-Movie-Success-Prediction
cdb2add2be7d361de2b5b7362647a39bf8e66bd5
7d2ecdaa7998333926450b6f08ab5abc7a93e1ab
refs/heads/master
2022-12-05T17:49:29.556571
2020-08-23T02:00:44
2020-08-23T02:00:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,148
py
""" This program is used for finding the best knn of different roi label @author: gwang25 """ import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap import sklearn from sklearn.model_selection import train_test_split from sklearn.model_selection import cross...
[ "wanggy522@gmail.com" ]
wanggy522@gmail.com
689deef17fde9d2207c3074bea557590888e9d3c
2c5752e9ba3b6563cc51d84b0076df32f101a0ab
/IDRUSD/FIX FIX.py
dc0af4cef972df7f8b6522f529741c1647351794
[]
no_license
rulisastra/Skripsi-Laptop-Github
75d42e82bfd42976c89570ca326894c7cabb0033
aa26ae87cdffe8e213997cc17ca505d200625a4c
refs/heads/master
2022-04-08T00:49:37.215486
2020-01-27T06:10:59
2020-01-27T06:10:59
206,923,232
0
0
null
null
null
null
UTF-8
Python
false
false
15,866
py
import pandas as pd import numpy as np import time import matplotlib.pyplot as plt from numpy.linalg import inv from numpy.linalg import cholesky from scipy.stats import norm #%% persiapan data # IDRUSD.csv = 64% | 71# # data baru mulai 27sep2017.csv = 0.0 # data baru all = 21% # data = 56% # Ether mulai 1jul2017 = ...
[ "rulisastra@gmail.com" ]
rulisastra@gmail.com
96d1e168aeaa36bf400dc56c4da42a6b03fc6da4
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_divorcing.py
7d0123ef97df6f655c1258d8cbe1d63c8aeb6693
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
#calss header class _DIVORCING(): def __init__(self,): self.name = "DIVORCING" self.definitions = divorce self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['divorce']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b880237ef7e09503c0984673529a8d5613255356
f48da6cabf525dc1bc63e58d1f3cc8ed7404b852
/venv/bin/pip3.5
4ed4c88c564904304d661f48a6d6a61ec5aab9e0
[]
no_license
wangbingde/Fly_game
9c02a7afa0038546b3b58ad0dac7a472860f8ad2
91028541f008c2bc292f0fd4b7af1b6fa4b1d238
refs/heads/master
2020-04-08T10:06:10.746405
2018-11-27T00:58:41
2018-11-27T00:58:41
159,254,110
0
0
null
null
null
null
UTF-8
Python
false
false
406
5
#!/home/wang/PycharmProjects/Fly_game/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.5' __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)?$', '', sys.argv[0]) s...
[ "1254817017@qq.com" ]
1254817017@qq.com
bb50184d47fad6f414d4f76e397f897a1994c154
a474ddeebc2c1b7347aa257ebafc535b1fee42c1
/scripts/serato_autotags.py
12348b96a5f23d87fd51d2c0cdc9cc3e79799afa
[ "MIT", "CC-BY-3.0", "CC-BY-SA-4.0" ]
permissive
Christilut/serato-tags
8eed466228b33b6a35056755690aac69da142c1a
20068085751c3a5cb27efad99639f1872a54ff8f
refs/heads/master
2020-12-11T16:17:09.495640
2019-11-17T02:01:29
2019-11-17T02:01:29
233,895,511
1
0
MIT
2020-01-14T17:20:43
2020-01-14T17:20:42
null
UTF-8
Python
false
false
3,186
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import argparse import configparser import io import shutil import subprocess import os import tempfile import struct import sys import mutagen FMT_VERSION = 'BB' def readbytes(fp): for x in iter(lambda: fp.read(1), b''): if x == b'\00': break ...
[ "jan.holthuis@ruhr-uni-bochum.de" ]
jan.holthuis@ruhr-uni-bochum.de
2e90533c77034f1799cb7fbaf0505fbc69ef0fe0
7ef179d708f9e92054dff9f1f5245cb25fa1b066
/api-inference-community/tests/test_nlp.py
95e4be5e45a81377341a21028d6b50a2f5bf4fcd
[ "Apache-2.0" ]
permissive
ycemsubakan/huggingface_hub
8982286d3948188345c0714bfb3518af9a10d199
5585292287083dcbb71c0515b4df924078d677a6
refs/heads/main
2023-05-14T16:39:42.043630
2021-06-04T12:05:38
2021-06-04T12:05:38
374,215,794
0
0
Apache-2.0
2021-06-05T21:31:29
2021-06-05T21:31:29
null
UTF-8
Python
false
false
17,715
py
import json from unittest import TestCase from api_inference_community.validation import normalize_payload_nlp from parameterized import parameterized from pydantic.error_wrappers import ValidationError class ValidationTestCase(TestCase): def test_malformed_input(self): bpayload = b"\xc3\x28" wit...
[ "noreply@github.com" ]
ycemsubakan.noreply@github.com
32cea5092cf30db70772ef04e5e944197f432c08
488a5ccce62226f00f2630f0af99e938c3a1f586
/djingles/html/common.py
76bfa171f7376d711a9fc6c1fd14fde17c716794
[]
no_license
vivsh/djingles
c0286c8fedc677f6090a425c91f8b76467fea11d
4e83ad66feb84492403cc9d7b05545ba708c7a42
refs/heads/master
2022-09-14T06:53:17.640075
2022-09-05T09:43:43
2022-09-05T09:43:43
130,049,023
0
0
null
2022-08-31T08:08:20
2018-04-18T10:59:54
Python
UTF-8
Python
false
false
6,299
py
try: from django.utils.encoding import force_text except ImportError: from django.utils.encoding import force_str as force_text from django.forms.models import ModelChoiceIteratorValue import re import json from jinja2.utils import markupsafe __all__ = ['html_json', 'html_attrs', "Element", "CssClassList", "...
[ "vivek@levimind.com" ]
vivek@levimind.com
1471ddbaac8e77ebb94373b674d3baffc1ddc0b8
dc9b0ea6714c29651cfd8b494862f31f07d85f28
/project22_bio_bot/test2/test11.py
156b2facbdb8a16006b767f34cf2755aafe51c3b
[]
no_license
Papashanskiy/PythonProjects
c228269f0aef1677758cb6e2f1acdfa522da0a02
cf999867befa7d8213b2b6675b723f2b9f392fd7
refs/heads/master
2022-12-12T15:23:56.234339
2019-02-10T09:14:56
2019-02-10T09:14:56
148,336,536
0
0
null
2022-12-08T03:01:04
2018-09-11T15:10:44
Python
UTF-8
Python
false
false
6,068
py
import sqlite3 import random import string # db questions # u (username text, var int, count_r_a int) # q (question text, a_1 text, a_2 text, a_3 text, a_4 text, r_a int) # v (username text, q_n text) q_v - question number (string: '[1, 2, 7, 8]') class BioCheck: db_name = 'questions.db' MY_VOWELS = 'aieou' ...
[ "apashanskiy@gmail.com" ]
apashanskiy@gmail.com
6fee4924bd89b10be4caafb0e7033431b22856f4
87d5b21265c381104de8f45aa67842a4adc880eb
/213. House Robber II.py
2368f8538a98c87b43048c5284734ee38d79b8d4
[]
no_license
MYMSSENDOG/leetcodes
ac047fe0d951e0946740cb75103fc94aae967166
8a52a417a903a0742034161471a084bc1e494d68
refs/heads/master
2020-09-23T16:55:08.579319
2020-09-03T19:44:26
2020-09-03T19:44:26
225,543,895
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
class Solution: def rob(self, nums) -> int: if len(nums) <= 3: return max(nums) dp = [0] * len(nums) dp[0] = nums[0] dp[1] = max(nums[:2]) dp2 = [0] * len(nums) dp2[1] = nums[1] ret = 0 for i in range(2, len(nums)): dp[i] = ma...
[ "fhqmtkfkd@naver.com" ]
fhqmtkfkd@naver.com
a03702a61d3caee05419c9c79a3a8f918f429b9b
7e2144cbbd53e693755c7d277252d8add867dfe8
/src/success_backup_check/tests/test_documentation.py
cc33e33bfedac7bc420d9a3a06ae03014dce807f
[ "MIT" ]
permissive
linuxluigi/success-backup-check
bf7c2cf33aa9d4b39171e46010946e491ecf3a37
aa3be2dbd8b0106b931bf226614e05af68034077
refs/heads/master
2020-06-29T21:00:21.381307
2019-08-07T19:34:05
2019-08-07T19:34:05
74,410,317
0
0
MIT
2019-08-07T19:34:06
2016-11-21T22:10:39
Python
UTF-8
Python
false
false
1,237
py
import os import pytest import manuel.ignore import manuel.codeblock import manuel.doctest import manuel.testing def make_manuel_suite(ns): """ Prepare Manuel test suite. Test functions are injected in the given namespace. """ # Wrap function so pytest does not expect an spurious "self" fixture...
[ "Steffen.Exler@gmail.com" ]
Steffen.Exler@gmail.com
b813ebcbec7f13c5a86fd3eaae64d01fb3fcd474
02067187903c83e354cc4d9146b4c272ccfb9636
/tests/test.py
43ec383b9ec307b5fef402c89232cf5d674bbc67
[]
no_license
japoorv/vehicle_routing_problem
777520e4255237a2871194f0fa2b63e9336f0c60
3cc77ff54cac26a5568cab78bd131882da9e5ba6
refs/heads/master
2022-04-29T03:57:00.668458
2020-04-30T11:45:38
2020-04-30T11:45:38
254,881,271
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
import os import requests def sol(): name=[i for i in os.listdir() if i.endswith('.csv')] for i in name: response=requests.post('https://vehicleroutingproblem.herokuapp.com/handleUpload',files=dict(datax=open(i,'r'))) file_output=open(i[:-4]+'.txt','w') file_output.write(response.conten...
[ "japoorv0@gmail.com" ]
japoorv0@gmail.com
14f23765586203a4d9958eed8733c452add248a8
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/224/users/4353/codes/1577_996.py
89cd099d56c2d7ae2b56fdad07e0cf80becca714
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
85
py
print ("*****") print("(* o o *)") print("* ^ *") print("* --- *") print ("*****")
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
b344650697ece688f1f383bbc57df9ee24f05e01
8efe56ee34c455a6b1336897f6d457acbc9c10f9
/examples/torch/ppo_pendulum.py
34d699874c3aa6ef232a2318b190b4cb7df41cec
[ "MIT" ]
permissive
neurips2020submission11699/metarl
ab18d11e708bf569d76cb2fab2bcce089badd111
ae4825d21478fa1fd0aa6b116941ea40caa152a5
refs/heads/master
2022-10-15T22:03:09.948673
2020-06-11T19:22:55
2020-06-11T19:30:58
268,410,657
4
0
null
null
null
null
UTF-8
Python
false
false
1,794
py
#!/usr/bin/env python3 """This is an example to train a task with PPO algorithm (PyTorch). Here it runs InvertedDoublePendulum-v2 environment with 100 iterations. """ import torch from metarl import wrap_experiment from metarl.envs import MetaRLEnv from metarl.experiment import LocalRunner from metarl.experiment.dete...
[ "neurips2020submission11699@gmail.com" ]
neurips2020submission11699@gmail.com
19a92659db1770093afeb8f64755fb59a0e6cae8
a8abdb08b72089171e3471cc50954ca3d778f4c3
/api/core/migrations/0009_diskwipe_started.py
8cb6e8b0be1e9aff796d66f0de11f8b54645ac62
[ "MIT" ]
permissive
wh1te909/imagebackups
195b86f267750c2230253373edd7d0b08e579e13
a0f94b6571a8ed9083cd4a02bf28ce4bfc2882c0
refs/heads/master
2023-01-13T18:42:24.413592
2020-08-01T23:16:14
2020-08-01T23:16:14
222,405,465
9
4
MIT
2023-01-06T02:18:27
2019-11-18T09:01:38
Python
UTF-8
Python
false
false
493
py
# Generated by Django 2.2.7 on 2019-11-13 07:31 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('core', '0008_backupjob_celery_id'), ] operations = [ migrations.AddField( model_name='diskwipe', ...
[ "dcparsi@gmail.com" ]
dcparsi@gmail.com
5d8281c8b7a716e074bc0bfda5f76f158d0a4d82
786de89be635eb21295070a6a3452f3a7fe6712c
/Translator/tags/V00-02-38/src/TestPutNDArray.py
4130dbd1d1754ef949c9a0492943eb16895b4fd7
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
import psana import numpy as np class TestPutNDArray(object): def __init__(self): self.src = self.configSrc('cspadsrc') self.cc=-1 self.allevts = -1 def begincalibcycle(self, evt, env): self.cc += 1 self.ii=-1 def event(self, evt, env): self...
[ "davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
48c21e7a403c1dc08cc450ffe204cbb00e4114ad
d39788764b2e098884b97a1f1a1f8bca4991f592
/passwd/secondpaswd.py
c32c200c65790a51aec8784166ada6684735ad83
[]
no_license
dlasche/mycode
c7a574aa944f94927b8e83a9bce177f8774f54d0
9f021d61e53eab0a5f66e1c640762127516b19f9
refs/heads/main
2023-05-31T02:16:59.414997
2021-06-18T14:44:53
2021-06-18T14:44:53
374,736,263
1
1
null
null
null
null
UTF-8
Python
false
false
887
py
#!/usr/bin/python3 ## Try a real world test with getpass ## import Paramiko so we can talk SSH import paramiko # allows Python to ssh import os # low level operating system commands import getpass # we need this to accept passwords def main(): ## where to connect to t = paramiko.Transport("10.10.2.3", 22) ##...
[ "dlasche@gmail.com" ]
dlasche@gmail.com