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
816403dc9d93b4276bffb4d8e162c51ea13231b8
0be45470f15f12872d81f98c72e3b8528100ad27
/pointCollection/tools/RDE.py
563e437d633d241e661519931619d6cf3b3cf410
[ "MIT" ]
permissive
SmithB/pointCollection
19a43bb19b1753542f693645fe4f537c2dbf7af9
026a60eb7e2fbe5333c7a30bd8299dda44c5878e
refs/heads/master
2023-08-23T18:56:49.943934
2023-08-18T16:41:12
2023-08-18T16:41:12
220,045,965
4
8
MIT
2023-07-03T15:47:58
2019-11-06T16:51:04
Jupyter Notebook
UTF-8
Python
false
false
584
py
# -*- coding: utf-8 -*- """ Created on Mon Oct 23 16:31:30 2017 @author: ben """ import numpy as np def RDE(x): xs=x.copy() xs=np.isfinite(xs) # this changes xs from values to a boolean if np.sum(xs)<2 : return np.nan ind=np.arange(0.5, np.sum(xs)) LH=np.interp(np.array([0.16, 0.84])*np...
[ "bsmith@apl.washington.edu" ]
bsmith@apl.washington.edu
480127fceb33213f368de855a806d8bd709a0909
2136c75df909b40c2667679b2ba4740d8b50a299
/test.py
86957845b7c17d62c3ce76575f6a1f07d42c824f
[]
no_license
jianglikun/preMLI
19e91935266539afa15cb86a3e62608840c775d1
54b48fba7adf7fb232ac1a2cec883c596d49d3a3
refs/heads/main
2023-09-04T17:32:13.657101
2021-11-10T08:27:42
2021-11-10T08:27:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,748
py
import os os.environ["CUDA_VISIBLE_DEVICES"]="4" from model import get_model from model import get_model_max from model import get_model_C_mul from model import get_model_C_sub import tensorflow as tf import numpy as np from sklearn.metrics import roc_auc_score,average_precision_score, f1_score from sklearn.metrics imp...
[ "noreply@github.com" ]
jianglikun.noreply@github.com
055aabb9ef9a32291d0e6edb97d8a581f7df3962
2509936d814fb6cdd283c2549c518c8dfad9450c
/api/staticdata/regimes/migrations/0010_merge_20221214_1035.py
81daedc733cfa1f2e70025a26480bb78e0acf8fd
[ "MIT" ]
permissive
uktrade/lite-api
19f829119fa96de3f4862eb233845508b0fef7eb
b35792fc981220285ed9a7b3659aba460f1b207a
refs/heads/dev
2023-08-25T10:11:17.594001
2023-08-24T14:24:43
2023-08-24T14:24:43
172,914,199
4
3
MIT
2023-09-14T17:36:47
2019-02-27T12:46:22
Python
UTF-8
Python
false
false
277
py
# Generated by Django 3.2.16 on 2022-12-14 10:35 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("regimes", "0009_update_cwc_shortened_names"), ("regimes", "0009_update_nsg_regimes"), ] operations = []
[ "kevin.carrogan@gmail.com" ]
kevin.carrogan@gmail.com
a0a4cd2c1fb76ac7c81e08fdfe66c737297cdeff
d2f0b661b1bf9511ffecba97ed41b860c511ff29
/example/migrations/0007_artproject_description.py
8dec01243a56fa8ef98b10afa649634b9e1bf223
[ "BSD-2-Clause" ]
permissive
private-forks/django-rest-framework-json-api
d5ed6e8f631dc04a18a36599691373b9a4608ace
ae98a93c94f1591fcfc3675106fe37fafdb9e510
refs/heads/master
2022-11-08T05:55:01.817631
2020-06-28T09:00:51
2020-06-28T22:44:58
275,545,319
1
0
BSD-2-Clause
2020-06-28T08:54:17
2020-06-28T08:54:17
null
UTF-8
Python
false
false
405
py
# Generated by Django 2.2.2 on 2019-06-07 06:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('example', '0006_auto_20181228_0752'), ] operations = [ migrations.AddField( model_name='artproject', name='descripti...
[ "sliverc@users.noreply.github.com" ]
sliverc@users.noreply.github.com
261d9931d6de9ca4963ef41a7e663cbf564d51d7
c7cd5800ec5b64a943960a0fcac499ef7b9ed00e
/cibblbibbl/tournament/export/awards/bbcode.py
9e2f35998fe2b6622dd0e2fe17e829615b9ce24f
[]
no_license
FUMBBLPlus/cibblbibbl
cadd5dc33d4f15bc70d600abf83a475c79f9caa9
77953afd6fb4f2460c30c9d41f5dbe1dc5654daa
refs/heads/master
2021-07-12T12:56:32.947340
2020-09-29T21:43:59
2020-09-29T21:43:59
205,587,165
0
0
null
null
null
null
UTF-8
Python
false
false
7,111
py
import collections import cibblbibbl from cibblbibbl import bbcode from .plaintext import kreasontrans, nreasontrans def _diedstr(dRPP, killerId, reason): if killerId: killer = cibblbibbl.player.player(killerId) oppoTe = dRPP[killer]["team"] return ( f'{kreasontrans.get(reason, reason)}' ...
[ "sziebadam@gmail.com" ]
sziebadam@gmail.com
dfe9ebf962360f745fb6ad57ec1438bac7c4f29a
3c65b9732508a99a6da712e759581f05c91673bb
/data_augmentation_test.py
2f919b40fe5bae698ea4704b11145a1527556a41
[]
no_license
ymguo/DataAugmentation
2d7329f4ecfcf33c7783b8b65d86385363630b16
a271b6d5adf8fd31a2d5619b4fbe6bc2df9b338a
refs/heads/master
2022-01-25T00:06:14.793651
2019-07-21T04:39:06
2019-07-21T04:39:06
198,011,786
0
0
null
null
null
null
UTF-8
Python
false
false
6,216
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Jul 5 20:46:03 2019 @author: ymguo Combine image crop, color shift, rotation and perspective transform together to complete a data augmentation script. """ import skimage.io as io import numpy as np import cv2 import random import os import glob fr...
[ "ymguolengary@163.com" ]
ymguolengary@163.com
231a0e1fcc8967f9072dfe360b036cfcdba74643
c105797a5b6f5aca0b892ccdadbb2697f80fb3ab
/python_base/base7/base7_3.py
7a29be88d6785d292d6f115f65d970948129502d
[]
no_license
jj1165922611/SET_hogwarts
6f987c4672bac88b021069c2f947ab5030c84982
fbc8d7363af0a4ac732d603e2bead51c91b3f1f7
refs/heads/master
2023-01-31T19:41:27.525245
2020-12-15T13:43:45
2020-12-15T13:43:45
258,734,624
0
0
null
null
null
null
UTF-8
Python
false
false
2,144
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # @Time : 2020-07-21 # @Author : Joey Jiang # @File : base7_3.py # @Software : PyCharm # @Description: python控制流语法 # 1.1、分支结构 import random a = 0 if a == 0: print("a=0") else: print("a!=0") # 1.2、多重分支 a = 1 if a == 1: print("a=1") elif a == 2:...
[ "1165922611@qq.com" ]
1165922611@qq.com
7023f012b6c5a43944d35e548688f1490ce69930
e5579c01730cbea79f9987173abacd691e09bdb0
/lesson2_2_step8.py
f30d9ec86cba3690d38947c523b30b31e1fa220a
[]
no_license
FerrariHD/StepikSeleniumPython
dd8a29c00a30f39269b89378e77624fb1ea0f993
c0282ae31c41453f58a2945bd762986d0289f78d
refs/heads/master
2022-12-16T20:22:53.574099
2020-09-18T18:42:27
2020-09-18T18:42:27
295,847,403
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
from selenium import webdriver import time import math import os try: link = "http://suninjuly.github.io/file_input.html" browser = webdriver.Chrome() browser.get(link) input1 = browser.find_element_by_name("firstname") input1.send_keys("test") input2 = browser.find_element_by_name("lastname"...
[ "s.luchina@vironit.co.uk" ]
s.luchina@vironit.co.uk
c149958de91bc27cede1a4a1969a5214a02e1a34
6bdb39e5c0a5342e4f9bbf7f3d94b274bc377a83
/manage.py
0f2c9b1eabfb475b6fa8289dec7d46236bc189a1
[]
no_license
callprog/CallProgram
6204d5e86e522afdd4369a9c86222e1236ae1b88
a5d8d09f22484b9328cd32e141c92781726f4dfa
refs/heads/master
2020-03-20T01:10:28.539789
2018-06-12T13:33:18
2018-06-12T13:33:18
137,068,636
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CallProgramNG.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django...
[ "herzen.filfac@gmail.com" ]
herzen.filfac@gmail.com
2051813217f0f82765b5c450ac3ffdf946dae9d5
c3a892c113d9c1feefb0c2df6696f49912cc42b9
/src/eposfederator/libs/base/schema.py
7359b6140fbb68e37df4732994acbc5aeb869088
[ "MIT" ]
permissive
mlmarius/eposfederatorwebapi
2b89eaf2d7fd29d9714fea3331ad7bac5794c795
471e56a641ed53edd0cd9ffa8ab7792b9777507a
refs/heads/master
2020-03-25T20:38:49.034655
2019-05-07T08:28:39
2019-05-07T08:28:39
144,139,772
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
import marshmallow class Schema(marshmallow.Schema): class Meta(object): strict = True dateformat = "%Y-%m-%dT%H:%M:%S"
[ "mlmarius@yahoo.com" ]
mlmarius@yahoo.com
79848a0117879783d1f2f0c37b6a8586c18147c6
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/IPV6-TCP-MIB.py
ae7c821868888b0850cd5394fcb2bb61fbdbaeb3
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
5,095
py
# # PySNMP MIB module IPV6-TCP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IPV6-TCP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:45:44 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019,...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
fd7b02271082742e01607763ac277a5e0176c40f
e0d468eb0ff270e7a3df2785916cd6310d39862c
/app/views.py
c81bbc9cbe323b6636bf93ed179fbd3a6d69303d
[]
no_license
angeldsLee/miniblog
3f1911d86875a53c84800ce317c7eb1ecc3cce60
d380f2abc53983bf1a24d94c06eee244a2850f09
refs/heads/master
2021-01-22T22:50:13.033776
2017-04-20T14:55:43
2017-04-20T14:55:43
85,586,529
0
0
null
null
null
null
UTF-8
Python
false
false
4,300
py
from flask import render_template, flash, redirect, session, url_for, request, g from flask_login import login_user, logout_user, current_user, login_required from app import app, db, lm, oid from .forms import LoginForm, EditForm from .models import User from datetime import datetime @lm.user_loader def laod_user(id...
[ "angeldslee@gmail.com" ]
angeldslee@gmail.com
42f0deaf250627b10751156d712d786cdc96ee26
6bf1b595a7f4d3cbf0995455869d438a7d0e0624
/lingvo/tasks/milan/score_functions.py
9c4ce867b372dfed657bec15a96096952923b006
[ "Apache-2.0" ]
permissive
huaxz1986/lingvo
889abc82b1bab6f37ba861c41eb480b7e89362c0
b83984577610423e3b1c6b04ca248cd23f2842f7
refs/heads/master
2022-05-15T03:29:56.903688
2022-04-02T01:41:25
2022-04-02T01:41:25
173,536,461
1
0
Apache-2.0
2019-03-03T05:52:01
2019-03-03T05:52:01
null
UTF-8
Python
false
false
1,664
py
# Lint as: python3 # Copyright 2021 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
199bd2a9ea174fb41cb6198e1b4b418d51b38f64
6ff44f941c5e6486eae3e26a4e3371b2c6b547c4
/orchestrator/core/orc_server/orchestrator/migrations/0002_protocol_port.py
5ad436d0e44e8ee4c019e148288518e9ae44dd69
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
g2-inc/openc2-oif-orchestrator
819ec4a02dd9c475e1279fc38b53a05e39f021b8
85102bb41aa0d558a3fa088e4fd6f51613599ad0
refs/heads/master
2020-05-17T09:49:39.800493
2020-04-30T19:10:24
2020-04-30T19:10:24
183,642,877
1
0
Apache-2.0
2019-04-26T14:27:16
2019-04-26T14:27:15
null
UTF-8
Python
false
false
550
py
# Generated by Django 2.2 on 2019-05-07 14:52 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orchestrator', '0001_initial'), ] operations = [ migrations.AddField( model_name='protocol', ...
[ "jerome.czachor@g2-inc.com" ]
jerome.czachor@g2-inc.com
bea0c9e990f035b353a5425eae9b9e5b8e57f3f9
2b92ca59d2c2e0604b70593f88dd33b32b10475e
/sonosweb/views/site.py
b35f25b1d07803984bd0ead3528a2569b71b9033
[]
no_license
suspendlabs/sonosweb
3a88f5117a807a91925563d0491274044b208fd1
8f84848417153ee569ab2d7fdead51c4547265a6
refs/heads/master
2021-06-02T14:40:02.461159
2014-07-18T20:52:44
2014-07-18T20:52:44
21,994,025
0
0
null
2021-03-19T22:34:58
2014-07-18T20:49:05
CSS
UTF-8
Python
false
false
869
py
import os, sys from flask import Flask, request, redirect, url_for, \ abort, render_template, jsonify, send_from_directory, \ Response, g, Blueprint, current_app import sonos-web site = Blueprint('site', __name__) @site.route('/humans.txt') def humans(): return send_from_directory(os.path.join(current_a...
[ "brandon@formstack.com" ]
brandon@formstack.com
f61e00a26f51de4e0150ca445d8bd53bc3045f81
f97d5227578006a90585297dd7f90f49d7255f49
/manage.py
a1f0a9a282c3e67bccf38a0b80d11bbca039c6c2
[]
no_license
vincentomo/loloClinic
8d68fbe9872eb698a75d3c370ed221892a36b2b5
2c018cacea408ba7df76697b00f40d5f2923840d
refs/heads/master
2020-05-01T14:41:53.907964
2019-03-25T11:20:16
2019-03-25T11:20:16
177,527,316
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'loloAfya.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "vincentedepaulo@gmail.com" ]
vincentedepaulo@gmail.com
351ef3112a8105eea8a02b98a6ff6303a19eee43
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Integration/trend_LinearTrend/cycle_30/ar_/test_artificial_128_Integration_LinearTrend_30__100.py
7a5e907e035774475c35332c1022bd9fc95546df
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
275
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "LinearTrend", cycle_length = 30, transform = "Integration", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
1de76a3c674ec03834912eadda7f87f625592642
b2b55f2aea101c050852de97e06b230e1f918014
/number35.py
2aad75d7b78934274817a120461e25eb854ec844
[]
no_license
hansol4412/algorithm
d505e202969417fdb0da10421989ef84aa937dbe
a6194b55b1a8f2cf21c91b1f02d92abb3bd10cd2
refs/heads/master
2023-03-22T11:45:01.257350
2021-03-21T11:19:42
2021-03-21T11:19:42
268,396,247
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
# 35. Special Sort(구글) # N개의 정수가 입력되면 양의 정수와 음의 정수가 섞인 숫자들을 음의 정수는 왼쪽으로 양의 정수는 오른족으로 나눠라 # 입력된 음과 양의 정수의 순서는 입력된 순서를 유지한다. a=[] n=int(input("정렬할 숫자의 갯수를 입력하시오:")) for i in range(0,n): a.append(int(input())) for i in range(0,n-1): for j in range(0,(n-i)-1): if(a[j]>0 and a[j+1]<0): temp=a[j]...
[ "hansol4412@naver.com" ]
hansol4412@naver.com
8158442771c431dd35672a9edc586edd0fe33d1d
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/leetCode/BreadthFirstSearch/103_BinaryTreeZigzagLevelOrderTraversal.py
4445a0088162de197a6843a1be5b63a07388215c
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
797
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None c.. Solution o.. ___ zigzagLevelOrder root __ n.. root: r_ [] left...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
31068cd2c89faea0c9efdff5214f7c0d9abac707
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_suffered.py
f5ba9fb4722605fcd51182e2e5bcc1348faf8603
[ "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
224
py
#calss header class _SUFFERED(): def __init__(self,): self.name = "SUFFERED" self.definitions = suffer self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['suffer']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
c613b9cab6606968167047711c8e1420c7f594ce
b4276ef90a4db14d8091a092292aeabe9a0d8eee
/state_scrapper/testCode/testPipes.py
cea579c5018f762bf705eaf80de4efb3b2e30c33
[ "CC0-1.0" ]
permissive
nikmend/state-scrapper
df78dfd17ab8bc9d96e24fe8eb8fdbba872b0728
39c902320ea97605857ef74789e578dbdb7ccfd0
refs/heads/master
2022-12-01T13:40:04.827422
2020-08-08T10:28:38
2020-08-08T10:28:38
280,551,496
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
class myclass(): myUrls = ['asdasd',] def addVals(self): for i in range(1,7): self.myUrls.append(i) def start(self): for i in self.myUrls: print(i) self.addVals() asda = myclass() asda.start()
[ "nikmend_@hotmail.com" ]
nikmend_@hotmail.com
18418bc2a39d5aeb5d6d8aaa063f549811e5c5cf
9c7f47b2f31ea4ae55e33c706efe524eb62ff177
/HT_11/HT_11_1.py
3fdafbfbc8e4ba14a7b22a1f6076c98a1208a2cc
[]
no_license
Kantarian/GITHUB
05b6d5425b345667a4188ced23da76ed337b910a
fa047cbb2beb9bf372b22596bea8aaef80423872
refs/heads/main
2023-02-14T16:57:50.229446
2021-01-13T15:43:48
2021-01-13T15:43:48
311,783,371
0
0
null
null
null
null
UTF-8
Python
false
false
2,146
py
#1. Створити клас Calc, який буде мати атребут last_result та 4 методи. Методи повинні виконувати математичні операції з 2-ма числами, а саме додавання, віднімання, # множення, ділення. # - Якщо під час створення екземпляру класу звернутися до атребута last_result він повинен повернути пусте значення # - Якщо ви...
[ "noreply@github.com" ]
Kantarian.noreply@github.com
7b6e3b35ab50202f0d0329da43dc44db350f48bb
7ce42f107d763547268fb0752973d5e9af4a72c9
/interpolate_gp_psf.py
a373c244273036288bcba47ca0efb67b447be6f0
[]
no_license
nhurleywalker/MWA_Bits
4ba6d6480d40689114233a4adfaddc95ccefe9df
3d0bf7caeab397dd3469c1da3f183d800a7c9046
refs/heads/master
2023-06-22T09:43:33.817258
2023-06-15T09:05:52
2023-06-15T09:05:52
120,707,499
1
1
null
null
null
null
UTF-8
Python
false
false
3,422
py
#!/usr/bin/env python # Read in the PSF map # FInd all the areas which are Galactic latitude less than 10 degrees # INterpolate the PSF # Write out the new map # Then when I rerun the flux-calibration, using the PSF map, it should be correct import numpy as np from astropy.io import fits from astropy import wcs fro...
[ "nhw@icrar.org" ]
nhw@icrar.org
224d87a22335339e3a3a573013fcc5a5ebd3426a
38eef62739e4a95fba2280f46d97712d14f15014
/e2g9/SintBrainiac.py~
93617920b0c4e8b43fd3cb126f90c87b7a49313f
[]
no_license
pwilthew/Brainiax
6cfe03b84ef75c78726690d2980f0c05fc9b6ff5
e0c197e7d6dafdc159d303b3a153812abd53c912
refs/heads/master
2021-01-21T17:41:14.473269
2014-01-27T21:28:45
2014-01-27T21:28:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,389
#!/usr/bin/env python #coding: utf8 # Analisis Sintactico del lenguaje Brainiac. # Modulo: SintBrainiac # Autores: Wilthew, Patricia 09-10910 # Leopoldo Pimentel 06-40095 import ply.lex as lex import ply.yacc as yacc import sys import funciones from LexBrainiax import tokens contador = -1 # Cla...
[ "patwilthew@cookie.(none)" ]
patwilthew@cookie.(none)
eba5b10fdb01d5e9de0a691c5d7012932098fcb9
b8b0a29b6f5bac70c408e46e6df1d6583e9ad8c0
/portdata/serializers.py
83fafe1145f099424288819777404e25e9f5cc1e
[]
no_license
varunsak/sdgindia
20c41575a6f0c638662f1df6bd7a121ce3da8cf8
a7fe9f6770e7b6ba628c376e773b11a19f58ccf4
refs/heads/master
2020-04-08T02:33:04.252409
2019-01-19T19:56:43
2019-01-19T19:56:43
158,939,063
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
from rest_framework import serializers from .models import PortData class DataSerializer(serializers.ModelSerializer): id = serializers.IntegerField(read_only=True) class Meta: model = PortData fields = ( 'id', 'product', 'quantity', 'unit', 'item_rate_inv', 'currency', 'total_amo...
[ "varun044@gmail.com" ]
varun044@gmail.com
c33e6baaffb8face637be67783a763a26bfa8b9a
f13988ddd8623c3c3df09c9ed4d8fce837281624
/ps4/segmentation.py
7ec68d6f3dc228a0fa538d2ed0d85b4efb9a9b8a
[]
no_license
jingxa/cs231a_my
aee8e5aafe2d5654dfde2ea827038397fdaafb53
ddb70703bf31ecc7ae8aa715ec603ab007935cb7
refs/heads/master
2020-03-15T15:11:35.998984
2018-11-07T14:19:56
2018-11-07T14:19:56
132,206,754
0
0
null
null
null
null
UTF-8
Python
false
false
4,966
py
import numpy as np import matplotlib.pyplot as plt import scipy.io as sio from imageio import imread from scipy.spatial.distance import cdist def kmeans_segmentation(im, features, num_clusters): H, W = im.shape[0], im.shape[1] N = features.shape[0] # 第一步: 随机选择num_clusters个种子 center_idx = np.random.r...
[ "352705835@qq.com" ]
352705835@qq.com
9e134e9dc6bdf1edb51087e18635b3916beb92af
0de56aed5714b04f2236300b2ba8252d9a0bf71a
/2016_11_Python/GUI/PyQt/firstPyQt.py
a9e43e6c73e48b32eb7fe9e9d5f87578f6fe1759
[]
no_license
JasonatWang/LearnToProgram
fb5d6a0ade9732312cf8d257d70537af76fcb891
677872a940bfe635901460385d22d4ee45818c08
refs/heads/master
2020-12-03T05:21:00.315712
2016-12-23T06:12:58
2016-12-23T06:13:17
68,612,446
0
0
null
null
null
null
UTF-8
Python
false
false
2,597
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'firstPyQt.ui' # # Created by: PyQt5 UI code generator 5.7 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindo...
[ "jason_wangxiao@163.com" ]
jason_wangxiao@163.com
58343eabd4c1b2fc4cf60575af3f1d3455845188
f51d53650185500e379805b15855b0330b6a0e7f
/src/pdf_routines.py
beb1450a8ccec7c9e6ce6b9fd2a9fb344aaa8a09
[ "MIT" ]
permissive
olrodrig/SNII_ETOS
0888dfcadd450c93a24f22462ebb4ac37d40854d
a11afd49c9c32bd249a11c935880d132ac17849a
refs/heads/master
2022-05-28T20:45:29.794411
2020-04-25T08:06:43
2020-04-25T08:06:43
258,718,728
0
0
null
null
null
null
UTF-8
Python
false
false
11,709
py
import numpy as np from sklearn import mixture def snii_templates_epochs(): JD_ln_template, JD_fd_template = {}, {} JD_ln_template['1986L'] , JD_fd_template['1986L'] = 2446705.5 , 2446711.1 JD_ln_template['1990E'] , JD_fd_template['1990E'] = 2447932.5 , 2447937.62 JD_ln_template['1999br'] , JD_f...
[ "olrodrig@gmail.com" ]
olrodrig@gmail.com
2b6b3d0ed44ecf20e0b302e6ccd0aa6574a753fa
22cbb7cffc3e5cf53fe87d2db216fdb88c8b7a8c
/stems/gis/convert.py
e26ac0443e6bd20f52888999784f13231793fecd
[ "BSD-3-Clause" ]
permissive
ceholden/stems
838eb496978f7b68ae72988e0469c60e8730cb9c
2e219eb76a44d6897881642635103b3353fc5539
refs/heads/master
2022-02-12T21:56:41.939073
2019-08-19T23:09:49
2019-08-19T23:09:49
164,480,487
3
2
null
null
null
null
UTF-8
Python
false
false
5,186
py
""" GIS variable conversion library Functions here are convenient ways of going from various representations of GIS information used in this stack (e.g., WKT) to the following representations: * Coordinate Reference System * :py:class:`rasterio.crs.CRS` * Geotransform * :py:class:`affine.Affine` * Bounding B...
[ "ceholden@gmail.com" ]
ceholden@gmail.com
a4ff973f1cfc97ff556afebe59b954dffd24c381
5d2041f8e03fba17af04494b84947528a623852d
/tools/onnx-script.py
52a2e146b04ce549ebd06ff3f0449d9224f6bded
[ "MIT" ]
permissive
nihui/netron
e60ddf9f64de0d57d1b691502db18edb2aa6b511
3963751827f30dd0955b9ad5e80d316aae807272
refs/heads/master
2022-01-19T18:26:57.059856
2021-12-30T03:44:11
2021-12-30T03:44:11
249,875,598
9
4
MIT
2020-03-25T03:13:18
2020-03-25T03:13:17
null
UTF-8
Python
false
false
9,563
py
from __future__ import unicode_literals import io import json import os import re import sys import onnx from onnx.backend.test.case import collect_snippets snippets = collect_snippets() categories = { 'Constant': 'Constant', 'Conv': 'Layer', 'ConvInteger': 'Layer', 'ConvTranspose': 'Layer', '...
[ "lutzroeder@users.noreply.github.com" ]
lutzroeder@users.noreply.github.com
25f94ab6830074c80784e5bce87d5041838da2af
96890d754bd943510ad2b5e3a0cba336fab24d44
/Week7/After14.py
f051a0b47f89f4fb9463f9bece77e23caaf0f586
[]
no_license
Chudvan/Python_osnovy_programmirovaniya-Coursera-
304925397d3e7f4b49bc3f62dc89f782d36a1f76
19117cb198ed50bb90ff8082efc0dad4e80bce13
refs/heads/master
2020-07-07T13:49:14.504232
2019-08-21T02:00:01
2019-08-21T02:00:01
203,366,623
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
from sys import stdin numberWordsDict = dict() for line in stdin: lineList = line.split() for word in lineList: if word not in numberWordsDict: numberWordsDict[word] = 0 numberWordsDict[word] += 1 tupleList = [] for word in numberWordsDict: tupleList.append((numberWordsDict[word]...
[ "Mr.Chudvan@yandex.ru" ]
Mr.Chudvan@yandex.ru
8031b06595673b677e41319deb604caa3164a455
5ca39c2f45bdef4f93e57b17a357a2565fe1cf02
/contactbook.py
05a5715d3a06a40a21e502278f0cf56788ca7c36
[]
no_license
Ajit1999/ContactBook-API
de6f51d0e1fcf49b5c8b8bfacf4b7750b64b9356
df64583db98eb3421f07177f3c7dbb771c218ac4
refs/heads/main
2023-07-12T00:12:38.396876
2021-08-22T11:55:31
2021-08-22T11:55:31
398,787,514
1
0
null
null
null
null
UTF-8
Python
false
false
2,215
py
from flask import Flask from flask_pymongo import PyMongo from bson.json_util import dumps from bson.objectid import ObjectId from flask import jsonify, request app = Flask(__name__) app.secret_key = "secretkey" app.config['MONGO_URI'] = "mongodb://localhost:27017/User" mongo = PyMongo(app)...
[ "noreply@github.com" ]
Ajit1999.noreply@github.com
104377ea2f080beb98e6dc6a42d72693b8f7e54c
60b2156d7bc5bd42fa1d8e7684f4b8c2d8f12748
/tests/test_utils.py
cc5027edc12f34ec0d6c005b5c9015294d5a63ae
[ "MIT" ]
permissive
coras-io/lint-review
74d89b05611ba4d18ab4224a6af9e5b93b5f27c3
0df19429a265a79edecb53b4371bf63db7e61617
refs/heads/master
2020-12-25T22:28:52.698909
2019-11-28T15:56:53
2019-11-28T15:56:53
63,415,943
2
2
MIT
2019-11-28T15:56:54
2016-07-15T11:07:20
Python
UTF-8
Python
false
false
513
py
import lintreview.utils as utils import os from unittest import skipIf js_hint_installed = os.path.exists( os.path.join(os.getcwd(), 'node_modules', '.bin', 'jshint')) def test_in_path(): assert utils.in_path('python'), 'No python in path' assert not utils.in_path('bad_cmd_name') @skipIf(not js_hint_in...
[ "mark@mark-story.com" ]
mark@mark-story.com
da74b5b74654f0fbd6447f906cfa0864252ad0ea
43e788ee824ce1f6611d42690688136e5840af0e
/Video.py
5727fe4166addad073efc4954296de4a11e5ee5a
[]
no_license
Karthik8396/lrn_opencv2
3b9c9d824bee26c5d3c5c8ab54fb12e5a9bf145e
1d475f5b285cca187ff449f0036dcfe3dd5db136
refs/heads/master
2020-07-10T05:09:03.104573
2019-08-31T14:23:17
2019-08-31T14:23:17
204,174,443
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
import cv2 import numpy cap=cv2.VideoCapture(0) #first webcam fourcc =cv2.VideoWriter_fourcc(*'XVID') # for saving the video and fourcc is codec out=cv2.VideoWriter('output.avi',fourcc,20.0,(640,480)) # adding codec and size of video cv2.VideoWriter() while True : ret,frame = cap.read() gray=cv2.cvtC...
[ "noreply@github.com" ]
Karthik8396.noreply@github.com
4aef633a4a753583109bbede3ee7210ea326e777
6cec9a15d1c9427229f3c301b04bbe64f316bbce
/controlledEnviroment/GUIpackage/Classes/LetterToCharactersClass.py
ab0de4a4b3da873f5bdf638a9426c5ee6cd8f359
[]
no_license
carolyn-brodie/Summer2021
bf04d1a089a183dbfb9273c2b6a5d70ceb930f62
407741a8c4bf45c5e389b3a2c1b07a874c8eacaf
refs/heads/master
2023-06-17T22:43:38.157442
2021-07-22T19:18:29
2021-07-22T19:18:29
373,882,939
0
0
null
null
null
null
UTF-8
Python
false
false
3,332
py
class LetterToCharacters(): def __init__(self): self.letters = ["ch", "sh", "th", "wh", "ng", "nk", "wr", "str", "spr", "bl", "cl", "fl", "gl", "pl", "br", "cr", "dr", "fr", "gr", "pr", "tr", "sk", "sl", "sp", "st", "sw"] self.alphabet = {"a": 0, "b": ...
[ "sam.mccoy@my.simpson.edu" ]
sam.mccoy@my.simpson.edu
3095ad9d0178728b8363be5fa150c0ea43e6ecea
9c902c6bc6ea2cce71195acd5baa8f44ab928eb6
/pythonapp/imgtxt/admin.py
0124dec01736c26d6587dbe332000f3719f39cdc
[]
no_license
mogilivishal/Verzeo-OCR-Project
a383b56014e13dfef598a191012fc51dc9579624
8b34a6c8b323e0b55c7902f2c4f873a1e4ce04e7
refs/heads/master
2022-04-17T20:32:45.724447
2020-02-16T17:38:52
2020-02-16T17:38:52
240,932,822
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
from django.contrib import admin from .models import Document admin.site.register(Document)
[ "noreply@github.com" ]
mogilivishal.noreply@github.com
3b5723e132a7e8f7a265ee90af5a94bd78032635
cccabd5a16b9e230bbf8379b4f8d42a64f0f2608
/pysweng/tests/test_oop.py
8a4fc0b20b9e6804472a681a7c45f97ba0f8afaf
[ "MIT" ]
permissive
lopezpdvn/pysweng
75bef93803c15cdf0859c6fefcee2693fb011364
af28b5454385db5314876dde37f2c2bc18731734
refs/heads/master
2021-01-18T23:42:55.054505
2016-12-30T09:43:18
2016-12-30T09:43:18
55,115,536
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
import unittest from pysweng.oop import (dummy_function, DUMMY_GLOBAL_CONSTANT_0, DUMMY_GLOBAL_CONSTANT_1) class TestDummies(unittest.TestCase): def test_global_variables(self): self.assertEqual(DUMMY_GLOBAL_CONSTANT_0, 'FOO') self.assertEqual(DUMMY_GLOBAL_CONSTANT_1, 'BAR') def test_dummy_funci...
[ "m@pedroivanlopez.com" ]
m@pedroivanlopez.com
7f9a2d07182faa806f9337f02a6a0ce4035514fd
0676f6e4d3510a0305d29aa0b1fe740d538d3b63
/Python/SImplifyPline/CleanUpPolyline.py
1ce7d7116eb272886ed20d4186ae8a3b571c98fb
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
pgolay/PG_Scripts
f70ffe7e5ca07acd6f4caedc9a9aec566542da7c
796704a7daa6ac222a40bb02afdb599f74a6b0d4
refs/heads/master
2021-01-19T16:53:41.525879
2017-02-07T18:26:10
2017-02-07T18:26:10
2,730,362
9
1
null
2016-12-30T17:58:08
2011-11-08T00:04:33
Python
UTF-8
Python
false
false
1,898
py
import Rhino import scriptcontext as sc """ Cleans up by collapsing tiny segments in a polyline. """ def CleanUpPolyline(): while True: tol = sc.doc.ModelAbsoluteTolerance if sc.sticky.has_key("PLineSimplifyTol"): tol = sc.sticky["PLineSimplifyTol"] go = Rhino.I...
[ "noreply@github.com" ]
pgolay.noreply@github.com
f11868c799a295320f785d89daea2d28092944a7
05824a52e2ca67db8b8d2bd21ece1a53dc5d23de
/code/configuration.py
7e48afa3edbec5a7b1f8e4dc19656ad3e4e002e4
[]
no_license
HankTsai/Sales_Forecast_Retailer
65c19f77fdb3ac573abf9846dee46695e45c91ac
07d7a37c4b3cc482765ae747fd1cfd9b96096dc1
refs/heads/main
2023-07-18T06:13:38.393562
2021-08-31T03:40:59
2021-08-31T03:40:59
378,896,470
0
0
null
null
null
null
UTF-8
Python
false
false
2,577
py
import os import logging from pymssql import connect from datetime import datetime from configparser import ConfigParser config = ConfigParser() config.read('setting.ini') class CodeLogger: """log儲存設定模組""" def __init__(self): self.logger = logging.getLogger(os.path.basename(__file__)) self.f...
[ "48052076+HankTsai@users.noreply.github.com" ]
48052076+HankTsai@users.noreply.github.com
ee3452616d5ab280c04845cc2164cbdf6db586d2
9032e88ca0c90a15b96d2142d2629484cdf469b6
/py_controls/MemoryManager.py
fd1bc79f0d91f58ce62c4bd3349152244c888609
[ "MIT" ]
permissive
CyberCrunch/DU_AI_Gov
856db1db4e67e37ac8c8f05fc096a9bbc50027a8
a9fcf3b603c39bf0704df172a6745620d1d3c06b
refs/heads/master
2021-06-20T12:46:35.360703
2017-08-08T19:18:14
2017-08-08T19:18:14
77,530,730
2
0
null
null
null
null
UTF-8
Python
false
false
2,088
py
# -*- coding: utf-8 -*- """ Created on Fri Dec 30 15:52:43 2016 @author: robin """ import json from enum import Enum #testing possible enums for readability...(not implemeted) class NrH(Enum): #human data formtat for Json name = 0 human = 1 job = 2 status = 3 position = 4 mo...
[ "noreply@github.com" ]
CyberCrunch.noreply@github.com
a33b2f9f3cd62ddd7189114556f08b0144aad7c6
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/tenth/rank_2p49_Q.py
c80b9b7c96acce81b347d895d8286c78c576e7d8
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
77d8acda1bcff51018b3fe72fc9c8578176f31e9
c9aa19a4d46b5c5357121e76e2e9784f2140ba41
/cashonly/management/commands/debtreminder.py
09a10f922fe66a1bb31ef740723ed9ab65469d2c
[]
no_license
klonfed/cashonly
2e617094ad95b82be62808fbbb781e9a2250b8a6
514e1c9cd8814e38b518b0be382940d1cb229725
refs/heads/master
2021-01-19T18:30:35.317250
2015-11-20T22:20:00
2015-11-20T22:20:00
41,054,334
2
2
null
2022-08-23T10:21:31
2015-08-19T19:07:16
Python
UTF-8
Python
false
false
1,027
py
from cashonly.models import * from django.conf import settings from django.core.mail import send_mass_mail from django.core.management.base import NoArgsCommand from django.template import Context from django.template.loader import get_template from django.utils import translation from django.utils.translation import ...
[ "git+cashonly@klonfish.de" ]
git+cashonly@klonfish.de
38cdbaf54cca763167f5f61a21d94d207591b3a2
5485c26474df9c7f68d94976fae45da5f0091c3c
/auto_feature.py
de319e49c20d33cfabc61c32af47395ae90da9f0
[]
no_license
CheneyYin/Motor
ecaab18e084ed4083c9ccb980a2d9b4310bf0637
f3009e0335a9a70d5299b3814f7df4f43b03eff4
refs/heads/master
2020-05-07T12:40:15.447944
2019-08-12T03:28:22
2019-08-12T03:28:22
180,515,434
1
2
null
2019-04-17T07:00:08
2019-04-10T06:21:22
Python
UTF-8
Python
false
false
627
py
import numpy as np import pandas as pd from sklearn.preprocessing import MinMaxScaler import tsfresh.feature_extraction.feature_calculators as fc import matplotlib.pyplot as plt import warnings train_path1 = '../Motor-Data/Motor_tain/N/00aab5a5-e096-4e4e-803f-a8525506cbd8_F.csv' train_path1 = '../Motor-Data/Motor_tain...
[ "yan.chengyu@embedway.com" ]
yan.chengyu@embedway.com
6e1066a32d3b678c93a683c91c32ca9925549774
72d010d00355fc977a291c29eb18aeb385b8a9b0
/MPK261/__init__.py
1878e1129184af07da8510e9e370e01adae46916
[]
no_license
maratbakirov/AbletonLive10_MIDIRemoteScripts
bf0749c5c4cce8e83b23f14f671e52752702539d
ed1174d9959b20ed05fb099f0461bbc006bfbb79
refs/heads/master
2021-06-16T19:58:34.038163
2021-05-09T11:46:46
2021-05-09T11:46:46
203,174,328
0
0
null
2019-08-19T13:04:23
2019-08-19T13:04:22
null
UTF-8
Python
false
false
741
py
# Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/MPK261/__init__.py # Compiled at: 2018-04-23 20:27:04 from __future__ import absolute_import, print_function, unicode_literals from .MPK261 import MPK261 from _Framework.Capabilities import controller_id,...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
579153317b369ad77af1c66c5cb43036e863cc19
5be8b0f2ee392abeee6970e7a6364ac9a5b8ceaa
/xiaojian/second_phase/day12/http_sever2.0.py
12ccde8198046391e24f9698efd843eacb0c011c
[]
no_license
Wellsjian/20180826
424b65f828f0174e4d568131da01dafc2a36050a
0156ad4db891a2c4b06711748d2624080578620c
refs/heads/master
2021-06-18T12:16:08.466177
2019-09-01T10:06:44
2019-09-01T10:06:44
204,462,572
0
1
null
2021-04-20T18:26:03
2019-08-26T11:38:09
JavaScript
UTF-8
Python
false
false
3,467
py
""" HTTP 2.0 接口设计: 1.提供句柄,通过句柄调用属性和方法 obj = open() lock = Lock() 2.实例化对象,通过对象设置,启动服务 t = Thread() p = Process() 3.根据功能需求,无法帮助用户决定的内容,通过参数传递 4.能够解决的问题,不要让用户去解决,需要用户解决的问题可以用重写的方法去解决 技术分析: HTTP 协议 思路分析 1.使用类进行封装 2.从用户的角度决定代码的编写 """ # 具体HTTP sever功能. from soc...
[ "1149158963@qq.com" ]
1149158963@qq.com
9f225b969a872422e058e823eb3bdbf8bb5b7223
1d605dbc4b6ff943ac3fffd2f610b698534bcdd2
/trainShallowClassifier_tttt_highlevel.py
bdf0ae16ab6d26a275edadd551fff3285699bfcd
[]
no_license
emilbols/EFT4Tops
fec75b9b4b97f2e1c7611694445e07c1c23038ab
4ce00b4c0d2d75af56c677709e83de0e41bce6d7
refs/heads/master
2020-04-10T16:27:03.309960
2019-04-11T12:50:09
2019-04-11T12:50:09
161,145,658
0
0
null
null
null
null
UTF-8
Python
false
false
9,819
py
from ROOT import TFile, TTree, TChain, TCanvas, TH1D, TLegend, gROOT, gStyle import sys import ROOT import os import time from argparse import ArgumentParser from array import array from math import * import numpy as np from collections import Counter import root_numpy as rootnp import matplotlib.pyplot as plt from ker...
[ "emilbols@hotmail.com" ]
emilbols@hotmail.com
8015fef8dfd115d1d50b8421196c5d64d05910a8
1e88ef7359fc4a6bb4c8d0886971086e14124f15
/models/CaptionModel.py
19eb207e6466770b198a0f484cc6e30c9fc8e6be
[]
no_license
sunyuxi/RobustChangeCaptioning
2e95e6b2e36adce0e2603be0003d28b3431a323d
c3ea1206a34cae8879a2accffc11c15b8fce0181
refs/heads/master
2023-08-17T16:02:22.527198
2021-08-19T20:55:44
2021-08-19T20:55:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,359
py
# This file contains ShowAttendTell and AllImg model # ShowAttendTell is from Show, Attend and Tell: Neural Image Caption Generation with Visual Attention # https://arxiv.org/abs/1502.03044 # AllImg is a model where # img feature is concatenated with word embedding at every time step as the input of lstm from __futur...
[ "seth.dh.park@eecs.berkeley.edu" ]
seth.dh.park@eecs.berkeley.edu
8021537043bd81114de1c88e600fa679c9929fbe
db9dd14e4f5acc3f8ab1e2d6abc296489a896a23
/factor_catalog.py
84e055cc211f31175e83a306e32f02b5f901ebfd
[]
no_license
IVRL/GANLocalEditing
78696cbe052b1060bd3a5ccda3556d53ff0ddf9e
4c87c1fb332113f38fc4e5ff7424b9655ca0e187
refs/heads/master
2021-04-24T12:42:04.789011
2020-05-02T17:43:17
2020-05-02T20:39:56
250,119,837
155
18
null
null
null
null
UTF-8
Python
false
false
1,869
py
''' To download pickled instances for FFHQ and LSUN-Bedrooms, visit: https://drive.google.com/open?id=1GYzEzOCaI8FUS6JHdt6g9UfNTmpO08Tt ''' import torch import ptutils from spherical_kmeans import MiniBatchSphericalKMeans def one_hot(a, n): import numpy as np b = np.zeros((a.size, n)) b[np.arange(a.size)...
[ "ecollins@iccluster080.iccluster.epfl.ch" ]
ecollins@iccluster080.iccluster.epfl.ch
d81d76e9d8b22c664357e05b002bbb03f28bb514
bdbd35f1d2ac6a303fbf68b54b4c9c7d5c5f2568
/static_frame/test/unit/test_frame_iter.py
15ed042b08bb9864afe3e6f3b2baae453318789e
[ "MIT" ]
permissive
leemit/static-frame
3d6818c67e71a701ec93f439d3b16c40813e1540
2191ff2e05947851ef929fbaf49a81f75920483f
refs/heads/master
2023-03-28T06:19:06.231726
2021-03-26T20:45:40
2021-03-26T20:45:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,260
py
import unittest import typing as tp import numpy as np import frame_fixtures as ff import static_frame as sf # from static_frame import Index from static_frame import IndexHierarchy # from static_frame import IndexHierarchyGO # from static_frame import IndexYearMonth # from static_frame import IndexYearGO # from stat...
[ "ariza@flexatone.com" ]
ariza@flexatone.com
33136feebbdbb37d3c3f294a2ecda89a59ed0b98
ef55b064f4352e2f97431851d5535d6b173fb504
/build-gui.py
3f63548df82b17cc7d1b61a8ad113d3398e7053a
[ "MIT" ]
permissive
cheuer/ALttPDoorRandomizer
8e56e3594a2a180953d0b44a83b668321e4af167
44d7e6c15cca8dc613e8fe9cdca07eaa3c5f44a3
refs/heads/DoorDev
2021-03-02T22:59:24.950136
2020-03-26T23:04:54
2020-03-26T23:04:54
245,912,753
0
0
MIT
2020-03-09T05:22:22
2020-03-09T00:45:46
null
UTF-8
Python
false
false
543
py
import subprocess import os import shutil DEST_DIRECTORY = '.' if os.path.isdir("upx"): upx_string = "--upx-dir=upx" else: upx_string = "" if os.path.isdir("build"): shutil.rmtree("build") subprocess.run(" ".join(["pyinstaller Gui.spec ", upx_string, ...
[ "miketrethewey@gmail.com" ]
miketrethewey@gmail.com
ede12f3384950d410a2e5b5c0bb5ba2b28076ac9
6c67e2ae195521910fd3d8180fc5a70b9f60db81
/controllers/utils/rtsq_library/rtsq_level.py
bbe95532b2799521638fa5f25075270c273de949
[ "MIT" ]
permissive
zeroday0619/Real-Time-Delivery-Query-API
be8b7f0cd74e6c8651fc034064f51e6ec20bac17
fc2f973c205fe453f77ae27dcd99ce3c2e84528d
refs/heads/master
2020-09-08T01:43:08.857874
2019-11-17T22:32:44
2019-11-17T22:32:44
220,975,056
1
0
null
null
null
null
UTF-8
Python
false
false
810
py
def level(resp): """ Args: resp: level: string Returns: [level 1: 배송준비중, 2: 집화완료, 3: 배송중, 4: 지점 도착, 5: 배송출발, 6:배송 완료] """ if resp['level'] == 1: return { "code": 1, "level": "배송 준비중" } elif resp['level'] == 2: return { "code": 2, "level": "집화 완료" } elif res...
[ "noreply@github.com" ]
zeroday0619.noreply@github.com
f7d9aea052dd03a9baf3a059a9a907746703c781
a4d4e2c99b1ee5e8045bfbf55949ea5ae34ae371
/Jobb/Jobbtider.spec
fab167111d3db9b7dc2170e30bf9f2712feb6021
[]
no_license
NBerlin/LearningPython
87ee01633a69d719ce79df0177b3740305569621
8d59f9dee34beb712160a13b19c6a882e9b8755d
refs/heads/master
2022-11-05T03:49:44.159119
2019-05-09T17:55:04
2019-05-09T17:55:04
124,292,605
0
0
null
2022-10-26T17:06:30
2018-03-07T20:47:59
Python
UTF-8
Python
false
false
888
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['Jobbtider.py'], pathex=['C:\\Users\\Nicki\\Documents\\Programmering\\LearnPython\\Jobb'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], exclu...
[ "nickiberlinpolhem@gmail.com" ]
nickiberlinpolhem@gmail.com
2532b165031ee7384c512a86e01653fe3015a922
a0c53168a4bdcfb0aa917d6d2c602f0999443a10
/projex/docgen/document.py
7ee7ccaa34818e7e66f325153fd66981982afda1
[]
no_license
kanooshka/DPS_PIPELINE
8067154c59ca5c8c9c09740969bb6e8537021903
df2fcdecda5bce98e4235ffddde1e99f334562cc
refs/heads/master
2021-05-24T04:32:03.457648
2018-09-07T13:25:11
2018-09-07T13:25:11
29,938,064
3
2
null
2020-07-23T23:06:37
2015-01-27T22:26:01
Python
UTF-8
Python
false
false
41,392
py
#!/usr/bin/python """ Defines the document class that is used with the docgen system. """ # define authorship information __authors__ = ['Eric Hulser'] __author__ = ','.join(__authors__) __credits__ = [] __copyright__ = 'Copyright (c) 2011, Projex Software' __license__ = 'LGPL' ...
[ "kanooshka@gmail.com" ]
kanooshka@gmail.com
c8435b9d400c6a96e9ff08e7bc2c5cf72e3f2732
0625bb1df6c031f46e7dfd51f060092c9fa3416f
/water_battle_game.py
5b1edbb25df3b0e9fb81b6f2d0b8b6cd1f56395c
[]
no_license
Sviatoslav-Lobanov/Python_learning
393ad9e2f1ba79d8ad204aba51906c88f7d18043
87278f0b3b8e3d468cd5d8d22e9a966b8c1821c9
refs/heads/main
2023-05-04T07:57:08.746663
2021-05-19T22:46:04
2021-05-19T22:46:04
356,970,617
0
0
null
null
null
null
UTF-8
Python
false
false
19,758
py
from random import randint # Внутренняя логика игры — корабли, игровая доска и вся логика связанная с ней. # Внешняя логика игры — пользовательский интерфейс, искусственный интеллект, игровой контроллер, который считает побитые корабли. # В начале имеет смысл написать классы исключений, которые будет использовать наша...
[ "82339065+Sviatoslav-Lobanov@users.noreply.github.com" ]
82339065+Sviatoslav-Lobanov@users.noreply.github.com
bc11e7f5741884920b6652765910f0a404da24b5
05d11b9cda35371669195e7c07e476dfb95ccaef
/triple_net_tensorboard_random_multiGpus/multi_gpu_demo.py
16c2d8afe76dc5e507503e631d42c7c1f7fcbd33
[]
no_license
Continue7777/DSSM-
d32a105c033f4a8074d67c3fee56543d65622669
af018562123cb3c81fde9b27becf0bc042bafd79
refs/heads/master
2021-04-15T09:33:14.255692
2018-04-14T16:05:19
2018-04-14T16:05:19
126,166,329
1
1
null
null
null
null
UTF-8
Python
false
false
9,507
py
# -*- coding: utf-8 -*- from datetime import datetime import os import time import tensorflow as tf import mnist_inference # 定义训练神经网络时需要用到的配置。这些配置与5.5节中定义的配置类似。 BATCH_SIZE = 100 LEARNING_RATE_BASE = 0.001 LEARNING_RATE_DECAY = 0.99 REGULARAZTION_RATE = 0.0001 TRAINING_STEPS = 1000 MOVING_AVERAGE_DECA...
[ "362418096@qq.com" ]
362418096@qq.com
130a1da7648c1cb9b3d0bdc2b94793d83b2e1729
999a7707806f941d334170e9909a268d102929b2
/yelpCNN.py
3057ac376eecfe679a7625817028c878379593e2
[]
no_license
wanaaaa/yelpCNN1D
7e089ab4ca60e3cf478a6d5b0a5a3b3e80253ba4
2f1f1ad9b8101d7a52f2f3c4d01d92e3f197b19b
refs/heads/main
2023-02-12T20:54:31.046391
2021-01-10T18:12:19
2021-01-10T18:12:19
328,447,970
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
# https://chriskhanhtran.github.io/posts/cnn-sentence-classification/ from functionClass import * from gensim.models import Word2Vec import torch import torch.optim as optim device = 'cuda' rateReviewTrainList, rateReviewTestList, maxListCount = dataRead() xyDataLoader = DataLoaderFun(rateReviewTrainList, maxListCou...
[ "noreply@github.com" ]
wanaaaa.noreply@github.com
5dbe47764578bd0bad972363605507b01fd8cdfa
12cdef3d9de846ac1c430f606bf862ecda6e2345
/attractions/__init__.py
4be87a5da7791f1c059468e21ff1aacb5221f3c6
[]
no_license
kirksudduth/petting_zoo
45865109dbc9c40fb54fd92cd7fac7b3809cbcd0
ce9fb52ca0aff0cb640a2041b3996156f8bb8ca1
refs/heads/master
2022-11-20T19:22:15.611061
2020-07-21T20:21:55
2020-07-21T20:21:55
279,920,616
0
0
null
2020-07-21T20:21:56
2020-07-15T16:30:02
Python
UTF-8
Python
false
false
285
py
from .attraction import Attraction from .petting_zoo import Petting_zoo from .snake_pit import Snake_pit from .wetlands import Wetlands from .attractions_instances import creature_culdesac from .attractions_instances import no_feet_knoll from .attractions_instances import swimmy_jazz
[ "kirksudduth@gmail.com" ]
kirksudduth@gmail.com
ac0bc0f07ccc5cf690d123d9225d15656bbe59e7
4c7aac98eff82b6dc82334755096df5ad00237e6
/Python/menu.py
66e3ba4c5b15a961c7e3ea0fd84e0ebe95f018a3
[]
no_license
HolbertonSchoolTun/HackDay_mastermind
05fe07993f322384a1c2c644c7ad80441161ef8e
92c5bbb0d01bae8dfaae3015195db6f33942c5a5
refs/heads/master
2022-12-24T04:42:43.966128
2020-09-19T02:35:39
2020-09-19T02:35:39
296,698,599
0
0
null
null
null
null
UTF-8
Python
false
false
895
py
#!/usr/bin/python3 """ """ import pygame import pygame_menu from main import start_game class Game(): pygame.init() surface = pygame.display.set_mode((450, 600)) def set_difficulty(value, difficulty): if value == 1: return(1) else: return (2) def start_the_gam...
[ "achrefbs" ]
achrefbs
530f4767b7bb69cd945bd97def72737f1ad66039
7da328d5365788bec00b62e3c3de8b5133fba092
/impala/tests/test_impala.py
8c58516171a9ff74ed847675759c70ca285b5840
[ "Apache-2.0" ]
permissive
attilajeges/impyla
f7520677e426f42e60ecf9199d8dacd38eae1b99
35297fd573bd8d8984f89eec91f12dbb1837549a
refs/heads/master
2023-07-15T17:15:48.683389
2020-10-01T23:10:16
2020-10-01T23:10:16
260,346,345
0
0
Apache-2.0
2020-05-01T00:18:06
2020-05-01T00:18:06
null
UTF-8
Python
false
false
2,025
py
# Copyright 2019 Cloudera 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 writing...
[ "noreply@github.com" ]
attilajeges.noreply@github.com
2be33a204326b77eed20224274574b433213be6a
73501b9e3623c3a9338306dbe52d1d89700f3d91
/upload_this_on_arduino/pyduino.py
2e4bf4eb623b2c987b4a395798e2605767cf5739
[]
no_license
rouanro/PS
72af2d8f5f3d1c628b8ad599c244235781b04c61
a474d5ac9d23d50388c1811ddf256efa408b33d6
refs/heads/master
2020-03-18T21:57:12.402332
2018-05-29T15:19:15
2018-05-29T15:19:15
135,315,081
0
0
null
null
null
null
UTF-8
Python
false
false
4,357
py
""" A library to interface Arduino through serial connection """ import serial import smtplib from email.message import EmailMessage class Arduino(): """ Models an Arduino connection """ def __init__(self, serial_port='/dev/ttyACM0', baud_rate=9600, read_timeout=5): """ Ini...
[ "noreply@github.com" ]
rouanro.noreply@github.com
f031555a692495a482d208cf6100105e71ac4dbc
79b38e6dad187bed26039f77611cc3feb7d75c1a
/issegm1/solve_ST.py
70e0b3b0d45f420e221a8fc3e8d48bb954d43064
[]
no_license
engrjavediqbal/MLSL
aa362c04a47b2bc921331bbb47dd4fe15bdb4bbe
94ac81096fd6ba2c85352807dc93f6a6b6cc472d
refs/heads/master
2023-08-04T11:22:13.335469
2023-07-25T13:55:41
2023-07-25T13:55:41
209,766,533
4
0
null
null
null
null
UTF-8
Python
false
false
48,503
py
from __future__ import print_function from sklearn.datasets import fetch_mldata import logging import copy from datetime import datetime import argparse import cPickle import os import os.path as osp import re import sys import math import time from functools import partial from PIL import Image from multiprocessing i...
[ "noreply@github.com" ]
engrjavediqbal.noreply@github.com
7782690aa20fda3d04ab9b554b0255a2f03efd70
1e1a5b0e7c939ef9b2aafb3a7c86a1b78d1d014e
/GUI/viewRecord.py
c5d4ef1aab6674c4511dc52fe5d499529a1c34f9
[]
no_license
SAR2652/MedRec
deac530534974e64d1e204620a58cde02c27804b
b0c0bdf34d67bb115f6bb7379cc6c8ade51e1117
refs/heads/master
2020-04-24T11:37:21.954485
2019-07-25T07:26:35
2019-07-25T07:26:35
171,931,435
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
import sys from PyQt5.QtWidgets import QWidget, QListWidget, QLabel, QComboBox from PyQt5.QtGui import QFont from PyQt5.QtCore import QUrl path = 'C:/MedRec' sys.path.append(path + '/GUI/') from autocompletecombo import Autocomplete class ViewRecord(QWidget): def __init__(self, parent = None): super(ViewR...
[ "sar265278@gmail.com" ]
sar265278@gmail.com
2549b51f9b74bd83a48077d8573f285fddd9ebc2
70054615f56be28373b00c9df96544ec822be683
/res/scripts/common/offers.py
d85a601ecaff58e94484a30537cc4c8545a98445
[]
no_license
wanyancan/WOTDecompiled
c646ad700f5ec3fb81fb4e87862639ce0bdf0000
9ffb09007a61d723cdb28549e15db39c34c0ea1e
refs/heads/master
2020-04-17T23:13:15.649069
2013-11-15T16:37:10
2013-11-15T16:37:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,339
py
import time from collections import namedtuple import BigWorld from constants import IS_BASEAPP from debug_utils import * ENTITY_TYPE_ACCOUNT = 0 ENTITY_TYPE_CLAN = 1 ENTITY_TYPE_NAMES_BY_IDS = ('Account', 'Clan') ENTITY_TYPE_IDS_BY_NAMES = {'Account': ENTITY_TYPE_ACCOUNT, 'Clan': ENTITY_TYPE_CLAN} ENTITY_TYPE_IDS = (...
[ "james.sweet88@googlemail.com" ]
james.sweet88@googlemail.com
5310941c8e4e3eab87b903780fb19e7edf078c70
f5d1e8b54ddbc51a9ef1b868eee93096d9b0fbeb
/weapp/wapi/mall/__init__.py
79511ca63e741640f660e8b960872f86ac13619a
[]
no_license
chengdg/weizoom
97740c121724fae582b10cdbe0ce227a1f065ece
8b2f7befe92841bcc35e0e60cac5958ef3f3af54
refs/heads/master
2021-01-22T20:29:30.297059
2017-03-30T08:39:25
2017-03-30T08:39:25
85,268,003
1
3
null
null
null
null
UTF-8
Python
false
false
57
py
# -*- coding: utf-8 -*- import product import promotion
[ "gaoliqi@weizoom.com" ]
gaoliqi@weizoom.com
4d75a2fa3fbfcd227da641b06f2ce1f1a779e02e
6a07912090214567f77e9cd941fb92f1f3137ae6
/cs212/Unit 4/28.py
ae381957925468dc57906a2813b0cfd324dea8d0
[]
no_license
rrampage/udacity-code
4ab042b591fa3e9adab0183d669a8df80265ed81
bbe968cd27da7cc453eada5b2aa29176b0121c13
refs/heads/master
2020-04-18T08:46:00.580903
2012-08-25T08:44:24
2012-08-25T08:44:24
5,352,942
3
0
null
null
null
null
UTF-8
Python
false
false
3,983
py
# cs212 ; Unit 4 ; 28 # ----------------- # User Instructions # # In this problem, you will generalize the bridge problem # by writing a function bridge_problem3, that makes a call # to lowest_cost_search. def bridge_problem3(here): """Find the fastest (least elapsed time) path to the goal in the bridge pro...
[ "raunak1001@gmail.com" ]
raunak1001@gmail.com
c37ff8cfcff227220d098069e2f3040dce7f56e8
9145d24e2517d7f3cea6e89158806b95919449b8
/doc/conf.py
37c50aca46644bd4ce262e466fa2696daa55957c
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
pombredanne/coveragepy
b6de846694156581ee0b9a3348f4cfd48719855f
2364947d7814a065cf2c05d930eda94203b20f1c
refs/heads/master
2021-01-22T23:43:21.800229
2017-03-18T11:14:13
2017-03-18T11:14:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,618
py
# -*- coding: utf-8 -*- # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt # # coverage.py documentation build configuration file, created by # sphinx-quickstart on Wed May 13 22:18:33 2009. # # This file is execfil...
[ "ned@nedbatchelder.com" ]
ned@nedbatchelder.com
78c29f84ffce566ea51e7c3404a5822445abcd29
230159b8ec7f83369cd5fb04623f901908aaf73d
/src/hackerrank/algo/implementation/kangaroo.py
33151a6d503e1f4f7182f49c698990759b49d8dd
[]
no_license
nikhilkuria/algo
e006c50c880df0fae882db9bb92d1a08eff36a97
1981d6101f345f6ea0bd0da002c6e4e45f6f4523
refs/heads/master
2021-01-17T20:16:16.612384
2018-06-27T07:36:56
2018-06-27T07:36:56
60,084,240
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
#!/bin/python3 import math import os import random import re import sys # Complete the kangaroo function below. def kangaroo(x1, v1, x2, v2): kangaroo_one_pos = x1 kangaroo_two_pos = x2 while True: if kangaroo_one_pos == kangaroo_two_pos: return "YES" if kangaroo_one_pos > kan...
[ "nikhilkuria@gmail.com" ]
nikhilkuria@gmail.com
c45e6ce9c846d77c6611d7c5fa1d641c22336a01
4b8c81f54cc52e096ad9ae751f00e88254aab0ca
/20-01-21 while홀.py
631fadc6b7eb53e75d2df8df8fc563a8e1db0e4e
[]
no_license
dlatpdbs/python
50305cfcc92bb6c9bae409ec31ebd9e4aa868075
2f740941fe1ef172d40cb10a63c1ed19c5925e68
refs/heads/main
2022-12-27T15:24:31.243739
2020-10-14T05:26:32
2020-10-14T05:26:32
301,933,143
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
q=1 while q <=100: print(q) q=q+2
[ "noreply@github.com" ]
dlatpdbs.noreply@github.com
744b2b5f9edcfd6d59f3a65ebfda69a83917795e
8c4ef53ec6c7df2eeeb633a53d1d931558596366
/propertyestimator/properties/solvation.py
846f77dd90fa87534dec104a50d994e4dbc33f4f
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MSchauperl/propertyestimator
ff7bf2d3b6bc441141258483ec991f8806b09469
9a67cb61498024c511f9bbe55536ac8e1a3c93be
refs/heads/master
2020-09-08T07:04:39.660322
2019-11-08T21:15:23
2019-11-08T21:15:23
221,055,340
0
0
NOASSERTION
2019-11-14T21:47:11
2019-11-11T19:34:28
null
UTF-8
Python
false
false
8,120
py
""" A collection of physical property definitions relating to solvation free energies. """ from propertyestimator import unit from propertyestimator.properties import PhysicalProperty from propertyestimator.properties.plugins import register_estimable_property from propertyestimator.protocols import coordinates, forcef...
[ "simon.boothroyd@choderalab.org" ]
simon.boothroyd@choderalab.org
9abb3baada0faed6fe83d3c15b41aa7c7958cb80
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_27357.py
1163c19de3fb005d7b6fa68a6a453f6f2e63147f
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
# pyplot.savefig with empty export plt.show()
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
bb452e72141b555c7dd30f34a66fc3fe30f86fbd
220a2a22f7ecbb960e6a09b1153ec5094aef15f5
/Log-Parsers/Recognition_Long_Talks/general_classes.py
a374a5df875af86c516cbe3be40426c999673ee0
[]
no_license
jrweis01/Rubidium
89b27b8376891b42eb6b8bf952f70d92dd81768c
6050241aa19401bd5196939aadfc4a095f771d0a
refs/heads/master
2020-05-30T05:29:11.649283
2019-06-02T07:03:19
2019-06-02T07:03:19
189,561,081
0
0
null
null
null
null
UTF-8
Python
false
false
6,156
py
from templates_data import * import openpyxl import os import sys import shutil import datetime class Utils(object): def fetch_files_from_folder(self, pathToFolder): _pathToFiles = [] _fileNames = [] for dirPath, dirNames, fileNames in os.walk(pathToFolder): selected_path = [os.path.join(dirPat...
[ "noreply@github.com" ]
jrweis01.noreply@github.com
92929d241384233660875a5731e7b8bdb4618600
75b1f503e695dd5251e00b6bd66207b99c9c83ff
/caesar_cipher.py
f4a48db54a62b7b6068e748444f02a88f468a015
[]
no_license
rongoodbin/secret_messages
2d3a4881b4f06a88ba777832eb1ae59202fb3725
ff91786d4ef4f467e9a95c36df66b22641033424
refs/heads/master
2021-05-04T15:09:51.264542
2018-03-05T01:09:45
2018-03-05T01:09:45
120,221,827
1
0
null
null
null
null
UTF-8
Python
false
false
1,324
py
import string from ciphers import Cipher class Caesar(Cipher): FORWARD = string.ascii_uppercase * 3 def __init__(self, keyword=None, offset=3): self.offset = offset self.FORWARD = string.ascii_uppercase + string.ascii_uppercase[:self.offset+1] self.BACKWARD = string.ascii_...
[ "ron.tovbin@gmail.com" ]
ron.tovbin@gmail.com
087457541661af279dddac07823ebcb457b7ee3f
1eacd671cf9c71f486bbaddabe7701caf0d5e1ff
/ironic_python_agent/config.py
94a255f880b6927251a8a3b0bc097c8963a6368c
[ "Apache-2.0" ]
permissive
tyws/ipa-customize
65e04be381b7c9b538c02603f4ceead0b25b0265
962c9e0b1f904fdc14c0ce542809b11b741d41fb
refs/heads/master
2020-07-24T13:10:22.269466
2019-09-30T05:47:53
2019-09-30T05:47:53
207,939,220
0
0
null
null
null
null
UTF-8
Python
false
false
9,954
py
# Copyright 2016 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 wri...
[ "tanghang@inspur.com" ]
tanghang@inspur.com
ef6cd9dcf7e940c06b7afc339d98f4454ab71b4f
421c9b869f4391a08a216df784a7c36b8b666557
/spy.py
a3094bcf5d05106f9d3b7990cef14725c29a9f04
[]
no_license
Pramod37/spychatcode
96d6de810010f4f9c9ac2690577442b2e8c7aec9
2bdd688e3e0736e229824111a9c8aa4d1bd41f71
refs/heads/master
2021-01-11T05:28:34.360188
2017-06-22T07:31:11
2017-06-22T07:31:11
95,031,615
0
0
null
null
null
null
UTF-8
Python
false
false
7,650
py
from details import spy, friends,ChatMessage,Spy from steganography.steganography import Steganography from datetime import datetime status_message = ['on work','updating....','on mood to learn'] print 'Hello let\s get started' existing = raw_input(" Do You Want continue as " + spy.salutation + " " + spy.name + " ...
[ "prmdmriu@gmail.com" ]
prmdmriu@gmail.com
c20a34f0a583217bc2954583f5023db885908a21
6dd08ec6b4f6351de8450a3d7e592fd6b4994119
/cbase/server/cbase-1.8.1/testrunner/lib/cli_interface.py
e6a6f9806a3859205b951f3f754ca879f82d6278
[ "Apache-2.0" ]
permissive
zhgwenming/appstack
d015e96b911fe318f9fba1bdeeea9d888d57dfba
8fe6c1dfc2f5ed4a36c335e86ae28c17b3769276
refs/heads/master
2021-01-23T13:30:19.507537
2015-11-09T06:48:35
2015-11-09T06:48:35
7,576,644
1
2
null
2016-01-05T09:16:22
2013-01-12T15:13:21
C
UTF-8
Python
false
false
6,194
py
#!/usr/bin/env python # # Copyright 2010 Membase, 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...
[ "zhgwenming@gmail.com" ]
zhgwenming@gmail.com
b10bd3e6fce28ba55ca234a9dcb7dd608cd4763a
0de115b69243361e7926d0a5400c1fb475a642f5
/4.5.4 CodingExercise2.py
7769a572921fc132cf0a40d0db1879e526643fc9
[]
no_license
Bill-Fujimoto/Intro-to-Python-Course
f475f1c578e33ac37a796038fdaa6ad247876c55
afe365b0233c4fadb78b2818164ab5726ecd92bb
refs/heads/master
2020-04-12T21:19:08.688112
2018-12-21T21:50:09
2018-12-21T21:50:09
162,759,968
0
0
null
null
null
null
UTF-8
Python
false
false
1,977
py
#Recall last exercise that you wrote a function, word_lengths, #which took in a string and returned a dictionary where each #word of the string was mapped to an integer value of how #long it was. # #This time, write a new function called length_words so that #the returned dictionary maps an integer, the length of a #wo...
[ "@vfr1200f1#" ]
@vfr1200f1#
2695f532057b561bf9fbf9c8c1505f68f8c04fb4
5d03ee41677bbe4c37a873932f4e2ca63cb50df1
/gae.sonstige.d/gae.mariahilferstrasse.d/gdata_samples.py
db7a574db198ef71ff3d35ffe6a27715b837f2a3
[]
no_license
wolfhesse/saikogallery
159acc1bab431070e8156da8d355e9e51ec0d4ac
f719f29be54d1e2190f3c841ddeeb58997aa555a
refs/heads/master
2016-09-06T00:41:58.012920
2013-05-23T22:11:13
2013-05-23T22:11:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
import pickle import gdata.spreadsheet.text_db client = gdata.spreadsheet.text_db.DatabaseClient() client.SetCredentials('wolfgang.schuessel','iybnrxaseld') #client.SetCredentials('ohramweltgeschehen','kidman') databases=client.GetDatabases(name='imported-from-query') tables=databases[0].GetTables(name='mhs') target=...
[ "b.stoy@yasssu.com" ]
b.stoy@yasssu.com
010ca186f50f28bb57286f398c214119a7c6dfd3
4a439662a39631095c75c6a76b88ca3d18f3fad5
/logisticRegression.py
9dab37ff36c2176f59125b8e6cc7a8c824057c80
[]
no_license
allen9408/ICDM_Features
9cdee93526f776954b5d2610cb8ba4e3bb8ea52c
293d49f106bb18d93b6a894a10ddd4f3b0fdd27f
refs/heads/master
2020-12-03T00:15:04.507551
2017-07-16T20:06:43
2017-07-16T20:06:43
96,002,817
0
0
null
null
null
null
UTF-8
Python
false
false
1,627
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse import sys import tempfile import os from six.moves import urllib import pandas as pd import tensorflow as tf from featureloader import featureloader # load training features train_data = fea...
[ "724330304@qq.com" ]
724330304@qq.com
93ec5f04c17f0e8560d908d5e69d8182511e13bd
443043c276f5c467db3c1af544f5c0aae53aea8b
/tests/test_helpers.py
a43f15f329ebcb5bd6e8fb32f08d40ee79cb2e09
[ "MIT" ]
permissive
kurtjd/chesscorpy
ac6dda5bd4e3eb6901d525ea1d9411d6352b9903
127c4b1f4983f08c824970c04841071e7533fad9
refs/heads/master
2023-07-17T18:25:52.933288
2021-09-02T15:29:18
2021-09-02T15:29:18
388,607,838
2
0
null
null
null
null
UTF-8
Python
false
false
410
py
from chesscorpy.helpers import get_player_colors, determine_player_colors def test_get_player_colors(): assert get_player_colors(5, 5) == ('White', 'black') assert get_player_colors(5, 2) == ('Black', 'white') def test_determine_player_colors(): # TODO: Test 'random' color assert determine_player_co...
[ "kurtisdinelle@gmail.com" ]
kurtisdinelle@gmail.com
8c9f901a8df6c0267bbdc70f47a911e544131ccb
9a59d7b8a23e848ba08941f293e1a9c97107e8f1
/models/basic.py
4a9078a823b08463d1926b548feba56025521290
[]
no_license
KellerJordan/CapsNet-Adversarial
23a6c965d0955e4686af5579183dc9fe2df553cc
9f7b090c367f62249c23d7d2f378d558ad777052
refs/heads/master
2021-03-30T21:45:15.874058
2018-05-24T17:06:59
2018-05-24T17:06:59
124,352,303
19
1
null
null
null
null
UTF-8
Python
false
false
1,183
py
import torch from torch import nn from torch.autograd import Variable import torch.nn.functional as F # extremely simple network to do basic science with training methods class BasicNetwork(nn.Module): def __init__(self): super().__init__() self.fc1 = nn.Linear(784, 100) self.fc2 = nn...
[ "kellerjordan1998@gmail.com" ]
kellerjordan1998@gmail.com
c7a6bbfb9e4f4606a0720e7f9c0efa56e7d90f30
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/DataQuality/DataQualityConfigurations/python/TCTDisplay.py
6fa11e45427f043ea1f2b19da409200372d1fc14
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration from DataQualityUtils.DQWebDisplayConfig import DQWebDisplayConfig dqconfig = DQWebDisplayConfig() dqconfig.config = "TCT" dqconfig.hcfg = "/afs/cern.ch/user/a/atlasdqm/dqmdisk/tier0/han_config/Collisions/collisions_run.1.41.hc...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
1533905896294b79dff04e1b69b2cda7c0496874
fa1dc1d0d2a169326c97dab863e15403bbd6bdbd
/CS486-686_A2Q2ANN.py
c52223b2857731732b02c8b7a75ccd93868316f2
[ "MIT" ]
permissive
mojivalipour/nnscratch
f07b893f7ac9792f5c9bb8e8ca5c664e392b6786
5e0b7f100d1057fab2c166df5696163634acd726
refs/heads/master
2022-11-18T11:43:15.553593
2020-07-17T05:19:10
2020-07-17T05:19:10
271,581,705
3
8
null
null
null
null
UTF-8
Python
false
false
21,331
py
#!/usr/bin/env python # coding: utf-8 # Design and Programming by Lead TA: Mojtaba Valipour @ Data Analytics Lab - UWaterloo.ca # COURSE: CS 486/686 - Artificial Intelligence - University of Waterloo - Spring 2020 - Alice Gao # Please let me know if you find any bugs in the code: m5valipo@uwaterloo.ca # The code will ...
[ "noreply@github.com" ]
mojivalipour.noreply@github.com
3d97346bdf439f2d34bb79bcaaf9889159184176
46128392d3fc39d4fb75f07ac0b37234c9628644
/models/vgg.py
122ca008f5022af7313548698e8c80a8aa89a742
[ "MIT" ]
permissive
Light-Alex/Multi-Style-Transfer
494f1ac8c17a0cbd89eb73658ae9af0c663141a0
7d151108cc90a0abeffd2812c3950f516f39d932
refs/heads/master
2022-11-23T20:54:23.277987
2020-07-28T07:09:55
2020-07-28T07:09:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,307
py
import mxnet as mx from mxnet.gluon import nn, HybridBlock, Parameter from mxnet.initializer import Xavier class Vgg16(HybridBlock): def __init__(self): super(Vgg16, self).__init__() self.conv1_1 = nn.Conv2D(in_channels=3, channels=64, kernel_size=3, strides=1, padding=1) self.conv1_2 = nn...
[ "yuankun@cortexlabs.ai" ]
yuankun@cortexlabs.ai
b7955588bac5a73a7f7b1064c773845400d52ab2
fca01c1f424e8554841fcc221a613fb0bd0a0114
/zespol/admin.py
5faf86ccc026a8468d45728f491d6fa65c2630f0
[]
no_license
Bartoszmleczko/GigTicketsApp
3bae86cb4cb8d17b90ebed2afa7dd5645b117f51
9fa013da7ec8a73aebca7ec00658470b067dee4a
refs/heads/master
2021-01-26T08:20:47.629696
2020-02-26T22:54:46
2020-02-26T22:54:46
243,381,072
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
from django.contrib import admin from .models import * # Register your models here. class ClubAdmin(admin.ModelAdmin): list_display = ('name','address') admin.site.register(Band) admin.site.register(Club,ClubAdmin) admin.site.register(Concert) admin.site.register(Ticket) admin.site.register(Profile) admin.si...
[ "adamweb9827@gmail.com" ]
adamweb9827@gmail.com
cfd644d146385683734341f86b5e62a3ee4cd227
d5a196acb7531c89d930ba51e33e2319fab0972d
/150/A.py
220217dd59ad3170a30a2c1ee380094618c0dce1
[]
no_license
mido1003/atcorder
f1a073a850557c6f18176ad9ff3dfcfe5414afdf
92639b15d982f29042883621c2fb874e1813a447
refs/heads/master
2020-09-20T16:12:53.708315
2020-05-25T09:48:16
2020-05-25T09:48:16
224,533,793
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
k,x = (int(x) for x in input().split()) if k * 500 >= x: print("Yes") else: print("No")
[ "gift.mido.3637@gmail.com" ]
gift.mido.3637@gmail.com
affbdc260006818519072805edce1e7247140a64
12db36eaad77c99b97878e96f2c4924dcf2ed83f
/exception/__init__.py
1847580c2e336851ee2594b864bd64590bf076c2
[]
no_license
sevenler/orange
0c442bc09dda1c811fd5e996bf240a1e98e788b7
370c04317a4f538f679deb7cab8f6d7a9c9b1d02
refs/heads/master
2021-01-11T22:41:25.748658
2017-01-17T18:13:40
2017-01-17T18:13:40
79,017,934
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
from error_status import ErrorStatusException from authority import AuthorityException
[ "daniel.song@zoho.com" ]
daniel.song@zoho.com
ef82571b3a9d413818632a92cb1e3edb2d75dab3
385a63d3c9e6f5815979165001f78ec3d7b90cd2
/DrivingTDM_SetupMatlabOOP/headerAndFunctionsMotor/ximc/python-profiles/STANDA/8MT195X-540-4.py
391e7db3d811458155873424999b6ceb86b43093
[ "BSD-2-Clause" ]
permissive
Rasedujjaman/matlabOOP
5abb6ec94998fda5e9214ed94cf67a42bf243d4f
e1f025ab9b00a3646719df23852079736d2b5701
refs/heads/main
2023-07-23T21:40:53.905045
2021-08-31T16:12:39
2021-08-31T16:12:39
378,249,559
1
1
null
null
null
null
UTF-8
Python
false
false
22,654
py
def set_profile_8MT195X_540_4(lib, id): worst_result = Result.Ok result = Result.Ok feedback_settings = feedback_settings_t() feedback_settings.IPS = 4000 class FeedbackType_: FEEDBACK_ENCODER_MEDIATED = 6 FEEDBACK_NONE = 5 FEEDBACK_EMF = 4 FEEDBACK_ENCODER = 1 ...
[ "mrased01@gmail.com" ]
mrased01@gmail.com
875a564377d75822b6c87a33792ad8d32b40b7b6
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/datacatalog/outputs.py
26d9e4bddb4ce2d56c83f67f19a73cd325ca56ef
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilities, _tables from ...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
3b91d9f42ee1ecda8632567b35ac5caa51d497c7
35053a371d85c2d45a4f52239d8a70b38194ef48
/Count of Matches in Tournament.py
96c8b115113e1096f964d3dcc4f40e3f4b7f16a1
[]
no_license
Kuehar/LeetCode
51d169c81a2e572ea854399fc78e1130220388f9
4555c20455f181f9dd7b3aba2a8779dea795edfb
refs/heads/master
2023-04-16T10:13:03.584541
2023-04-06T11:47:21
2023-04-06T11:47:21
243,361,421
4
0
null
null
null
null
UTF-8
Python
false
false
388
py
class Solution: def numberOfMatches(self, n: int) -> int: return n-1 # O(1) Solution. # Always this answer is n-1. Sum of matches are always equals to sum of loser. # Runtime: 28 ms, faster than 82.44% of Python3 online submissions for Count of Matches in Tournament. # Memory Usage: 14.3 MB, less than 40.04...
[ "noreply@github.com" ]
Kuehar.noreply@github.com
3e849edd794f2c41729ac050618dd2fa4f7ccd80
31d43b73e8104cd8aef3d97e39666022f2946223
/test.py
5cc8efc532a05bd28380d86159fac3a91718c95a
[]
no_license
kgelber1/SSX-Python
2ed6b5e6b7b3775779464a7f624a70155ec8f657
4f5cded3acec68e24206af90ef5611db9adb1ac3
refs/heads/master
2020-06-24T07:08:33.486962
2019-10-24T18:11:18
2019-10-24T18:11:18
198,890,544
1
0
null
null
null
null
UTF-8
Python
false
false
614
py
import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation fig, ax = plt.subplots(1,1) x=np.linspace(np.pi,4*np.pi,100) N=len(x) ax.set_xlim(len(x)) ax.set_ylim(-1.5,1.5) line, = ax.plot([],[],'o-') def init(): line.set_ydata(np.ma.array(x[:], mask=True)) return line, def an...
[ "kgelber1@swarthmore.edu" ]
kgelber1@swarthmore.edu
1f24bf6dac22f50aece5a8dd643a221f8618bfc3
29d62d5523c703288d194b8a2cf15efb8423f166
/preprocess_dataset.py
b60128ef686b4fc795595ba89976d40b64300b89
[]
no_license
Jonlenes/clusters-news-headlines
92c623a5a214ea21d5e66dc2ff8a984e268374c3
39d54337ef28476a82bd44d39958534a6f4e7368
refs/heads/master
2021-10-19T20:41:54.808979
2019-02-23T11:36:32
2019-02-23T11:36:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,468
py
import pandas import string from nltk.stem.snowball import SnowballStemmer from load_dataset import path_dataset def remove_pnt_and_stemming(text_arr): """ Remove pontuação e executa o o stemming de todo o dataset""" stemmer = SnowballStemmer("english", ignore_stopwords=True) for i in range(0, text_arr...
[ "j211846@dac.unicamp.br" ]
j211846@dac.unicamp.br
69e2f645ab6431a303076a1506514f479e530747
9fc5dd13e0595bd5796cd7ec109e3b7c290e2692
/wikipedia-scape.py
a54f56c6c75b06d0d4069f56a187c27ded4d5b68
[]
no_license
ronandoolan2/python-webscraping
812d5190dfe5f24029b4737438c80e8d40716971
4dc83a331415c3e55f06b1a8d0de47710db5ccd0
refs/heads/master
2021-01-19T00:54:22.801053
2017-04-16T09:10:47
2017-04-16T09:10:47
87,218,764
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
from bs4 import BeautifulSoup import urllib2 import re wiki = "http://en.wikipedia.org/wiki/Mad_Max:_Fury_Road" header = {'User-Agent': 'Mozilla/5.0'} #Needed to prevent 403 error on Wikipedia req = urllib2.Request(wiki,headers=header) page = urllib2.urlopen(req) soup = BeautifulSoup(page) rnd = "" pick = "" NFL = ""...
[ "noreply@github.com" ]
ronandoolan2.noreply@github.com
ec50df0aa2a320ce0f88bb7eea72f3ddae60e3a7
476768e5629340efcbc11fd175c7db12e09c2d52
/python/006.py
be26addbbddf5f50f6e7fff97a4484130aab1bf1
[]
no_license
zero1hac/projecteuler
fb8ded5de8d4126865c11081e4b407e0ae35e304
7dc00e89c9870d5c7d9c6364f1e80e19d69655e5
refs/heads/master
2020-04-23T20:10:51.375485
2019-03-25T08:38:59
2019-03-25T08:38:59
171,430,763
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
if __name__ == "__main__": n = 100 sum_of_squares = (n*(n+1)*(2*n+1))/6 square_of_sum = (n*(n+1)/2)**2 print square_of_sum - sum_of_squares
[ "6dushyantmishra20101@gmail.com" ]
6dushyantmishra20101@gmail.com
494c1e3a8da4af904b0d96a5540e85b475400cc2
0e4860fecfdd34a3255003cc8c8df086c14083dd
/python/practise/带你学Django资料及源码/课堂与博客代码/peace_blog/blog/admin.py
9c1fb6228842fe4ec5d8931dc4a0aad2aa044aa9
[]
no_license
anzhihe/learning
503ab9a58f280227011da5eaa4b14b46c678e6f3
66f7f801e1395207778484e1543ea26309d4b354
refs/heads/master
2023-08-08T11:42:11.983677
2023-07-29T09:19:47
2023-07-29T09:19:47
188,768,643
1,443
617
null
2023-08-24T02:10:34
2019-05-27T04:04:10
Python
UTF-8
Python
false
false
289
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Banner) admin.site.register(Category) admin.site.register(Tag) admin.site.register(Article) admin.site.register(FriendLink) admin.site.register(Comment) admin.site.register(BlogUser)
[ "anzhihe1218@gmail.com" ]
anzhihe1218@gmail.com
abaf5bf0704250f8f6056f02c645210cc6095283
33b3029d6efaa195a0530e8bafbbdc82e7aea697
/scripts/test_01.py
1cd1fbd9755fc06808f6eb20be588a2e5622a120
[]
no_license
wuyun19890323/lesson001
333bc2239151c6337a797d57926f683c05fa0c60
aa2e202b846664adfa5c1af8312b89000311ba8d
refs/heads/master
2020-03-19T11:11:58.829176
2018-06-08T12:53:05
2018-06-08T12:53:05
136,438,645
0
0
null
null
null
null
UTF-8
Python
false
false
6,639
py
from selenium.webdriver.common.by import By from base.base_driver import browser_fire from page.page_load import PageLoad import unittest class TestLoad(unittest.TestCase): # def get_text(self,loc): # return self.scr_load.get_att(self.load_text) def get_ass(self): self.scr_load.get_scr(self....
[ "wujintao.love@163.com" ]
wujintao.love@163.com
acc15361e8370b7ba0ae6a4582e8d0fc9c912c4d
f30f6672702591c2d0adad5a2f57af8afd493117
/todo/migrations/0004_auto_20190612_1151.py
cdf7922646dffb5a2af9d82cfc9a58c456b4640d
[]
no_license
MedMekss/Listed
0f294ecc16d2db4a9ee37f408b1a7a11229409f4
06ac0bb5140b11aaa704a6cd0f60bb2c15eb6449
refs/heads/master
2020-05-20T03:25:51.047936
2019-06-18T09:20:49
2019-06-18T09:20:49
185,356,172
3
1
null
2019-06-17T13:30:48
2019-05-07T08:25:24
Python
UTF-8
Python
false
false
380
py
# Generated by Django 2.2.1 on 2019-06-12 09:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('todo', '0003_auto_20190606_1243'), ] operations = [ migrations.AlterField( model_name='item', name='title', ...
[ "hall@fira.nl" ]
hall@fira.nl
c20346e9a05992ff1130b836fc537db55bc7d17f
e9b3404197c6ee6260ba7e377294805af5b74bd0
/sphinx_rstbuilder/builders/rst.py
e9837a9ddf1069a17ed3b4e5615103d6a205a667
[]
no_license
etarasenko/sphinx-rstbuilder
eb9d4083e9cc797fa7507899a7fc8518444015ce
83a36646c52537f4566264588edef24727251657
refs/heads/master
2020-05-17T03:12:10.089707
2015-08-05T04:18:50
2015-08-05T04:18:50
40,223,777
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
# -*- coding: utf-8 -*- from sphinx.builders.text import TextBuilder from ..writers.rst import RstWriter class RstBuilder(TextBuilder): name = 'rst' format = 'rst' out_suffix = '.rst' def get_target_uri(self, docname, typ=None): return docname + self.out_suffix def prepare_writing(self...
[ "eugene.tarasenko@gmail.com" ]
eugene.tarasenko@gmail.com
e3de38465362031a14aa2ff4b827877b72f76780
60de13f814ebfff48740b693563bf4b83096534d
/venv/Scripts/pip-script.py
ee13259c85c9b690ddae6a5c5196f921bda9b1ed
[]
no_license
Daria8402/bandurova17ov1
1c568d41b64fa3c1093193fb78b6c5c15a569cd7
5b202d32a4b2707664615b7d9d98f4c77efa9622
refs/heads/master
2021-02-18T12:12:56.944287
2020-03-05T15:43:51
2020-03-05T15:43:51
245,193,981
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
#!D:\GitHub\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' 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]) sys.exit( load...
[ "student@kam.step" ]
student@kam.step
ebd3c1c21f84ae08aca5e069c923ae54ae4c4266
3c74adb0203f00af331e114838ef4190af455d81
/mysite/blog/models.py
96c1614bff94e921e61de59a4a36c592af4f0d92
[]
no_license
SARTHAKKRSHARMA/Blog-Application
0d0e2f4ca0069c32d2950b0fd2915f4665b84343
1250ab5f1f5bb136d837649ee1693651fe2129b7
refs/heads/master
2022-04-19T21:00:53.293587
2020-04-21T05:57:38
2020-04-21T05:57:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,561
py
from django.db import models from django.http import HttpResponseRedirect from django.urls import reverse from django.contrib.auth.admin import User from django.utils import timezone # Create your models here. class Blog_Detail(models.Model): author = models.ForeignKey(to=User,on_delete=models.CASCADE,related_name=...
[ "f20190449@pilani.bits-pilani.ac.in" ]
f20190449@pilani.bits-pilani.ac.in
fbc3cb3337489cd49a68c2578139f993cb3822c4
a0083584308a52b045550dbe76007e2467b7e40f
/pythonvideos/napalm_mac_Address.py
f7338f62e722e668b8d2dd285552ab03e44f5a7b
[]
no_license
narkalya/git-demo
ac511391a2c8026d53215262202b924a220ded0b
abffcdf9e0d1afd15742bfdd45784423eb04d4ab
refs/heads/master
2020-03-25T08:58:49.356341
2018-08-06T15:09:25
2018-08-06T15:09:25
143,641,171
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
from napalm import get_network_driver driver = get_network_driver('ios') iosvl2 = driver('192.168.122.72', 'david', 'cisco') iosvl2.open() print iosvl2.get_facts() ios_output = iosvl2.get_mac_address_table() print (json.dumps(ios_output, sort_keys=True, indent=4)) iosvl2.close()
[ "narkalya@cisco.com" ]
narkalya@cisco.com