blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
bc33ed359cb4383a36cb1891b5438d17dbae7915
e62d08a306bff35d955ad71382c5d5609004564f
/SiAn_House_Price_spider/settings.py
36b28124f66b57e852e1163aaef61c9309d4f629
[]
no_license
Cccold/SiAn_House_Price_spider
030e2c147220904b01c7ca3687d7785177d1dcb0
83325f539a7149ead652b5577b9b35cfa5a322af
refs/heads/master
2022-12-21T09:54:53.897541
2020-09-27T10:11:36
2020-09-27T10:11:36
297,900,390
0
0
null
null
null
null
UTF-8
Python
false
false
3,728
py
''' @Author: MengHan @Go big or Go home @Date: 2020-09-25 15:18:17 @LastEditTime: 2020-09-27 16:55:49 ''' # -*- coding: utf-8 -*- # Scrapy settings for SiAn_House_Price_spider project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the...
[ "menghan426@gmail.com" ]
menghan426@gmail.com
ee9f2f036105dba96b45d403501a0648783a1e34
d0babc8ef9e886282a36e3f2c44c4af348303a94
/asv_bench/benchmarks/benchmarks.py
56b9f3063603e82ecf7be0700cc917fbb6b1ee94
[ "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
wfadam/modin
211aec9018a308a735c406610c3c15004d44e4a0
af627dda4b64d2ceba9a354bac5b3e40e24e43bf
refs/heads/master
2023-02-10T21:13:50.315227
2021-01-05T23:29:51
2021-01-05T23:29:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,828
py
# Licensed to Modin Development Team under one or more contributor license agreements. # See the NOTICE file distributed with this work for additional information regarding # copyright ownership. The Modin Development Team licenses this file to you under the # Apache License, Version 2.0 (the "License"); you may not u...
[ "noreply@github.com" ]
noreply@github.com
f434fcaa65adeac3b0d231eb8376e416d30d67b4
ed8fd6ceae73d2df92f034be1526de9585223cef
/溫度轉換器.py
15532d28a0481a82ddbf7b7312e0b3f41b7ece86
[]
no_license
da-wei-huang/temperature-adjuster
9466c5db293e0ef73a5ffc3ad6757e458225eb94
8f902be23a285705f3dcdd37bab580e4a36e8aef
refs/heads/master
2022-04-17T22:37:06.018425
2020-04-15T02:10:18
2020-04-15T02:10:18
255,774,755
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
c = input('請輸入攝氏溫度') c = float(c) f = c * 9 / 5 + 32 print('華氏溫度為: ', f)
[ "dv888000@gmail.com.tw" ]
dv888000@gmail.com.tw
29020421a4c2b3af91c62bc1878cb1167c9e5f2a
1db383726eaf5b5b5b37895e8dc9865cdde2ea4b
/hw4/src/data_association.py
64ea762aeb794da3820a52c063f64b234379487d
[]
no_license
awsk1994/Computer_Vision_projects
8204b358558b7041f36dd90a14e92bcd6ee4eefc
0a15b57859c4d65dccada789a1108ae310722e94
refs/heads/master
2022-06-06T03:47:20.289959
2020-05-05T21:10:14
2020-05-05T21:10:14
242,282,170
0
0
null
null
null
null
UTF-8
Python
false
false
7,494
py
import math import numpy as np import sys from scipy.optimize import linear_sum_assignment np.set_printoptions(threshold=sys.maxsize) class GNNSF: def __init__(self, cost_method="euclidean"): self.cost_method = cost_method def get_edge_cost_matrix(self, object_graph, X_pred, Z, deleted_obj_ids, inv=...
[ "shawn3298317lin@gmail.com" ]
shawn3298317lin@gmail.com
3154a600e6729fea2e348b3023c8368ddddb449e
e972ebd59711a786780f4178f5b717fe245fd0a3
/Python/Oct22-3.py
17094deef5f025aad6d3d3bf236b2b094f093987
[]
no_license
sai-varshith/make-pull-request
a46ed30803070fc28fd0b70a152779e53f98bcad
8e1faa342fae423731090d271314cd5b9e23a9db
refs/heads/master
2023-08-14T11:25:41.460714
2021-10-02T05:00:27
2021-10-02T05:00:27
412,333,564
3
0
null
2021-10-01T05:02:53
2021-10-01T05:02:52
null
UTF-8
Python
false
false
458
py
# String permutations def toString(List): return(''.join(List)) # Permutation function def permute(a, b, c): if b == c: print(toString(a)) # print results else: for i in range(b, c + 1): a[b], a[i] = a[i], a[b] permute(a, b + 1, c) a[b], a[i] = a[i], a[b...
[ "47290046+SaucyGames05@users.noreply.github.com" ]
47290046+SaucyGames05@users.noreply.github.com
fedfbaeceb1955432270992707009747552dc5a4
07e7090ef11af14f40015a4986c417267dd68c69
/COLLECTIONS & ITTERTOOLS.py
7eed44253c5d6a05e04487c51e7dc3e8145d3a17
[]
no_license
suggulajaswanth/DAA_USING_PYTHON
bd75eca25a0861d2468342599493dc3912194e5c
b88d0a7653d95cb89592f5267001e36997d22a45
refs/heads/main
2023-04-08T23:28:15.205529
2021-04-20T17:16:34
2021-04-20T17:16:34
359,891,106
1
0
null
null
null
null
UTF-8
Python
false
false
2,356
py
#COLLECTIONS AND ITERTOOLS # from itertools import combinations,permutations # l=[1,3,2,2] # m=list(combinations(l,2)) # print(m) # for i in m: # if sum(i)==4: # print(i) # # def pair_sum(arr,k): # m=list(combinations(arr,2)) # for i in m: # if sum(i)==k: # print...
[ "noreply@github.com" ]
noreply@github.com
c9b1366c238e8af101572b43b815a8bc78368a46
c14cb1a662c0b893af5c93effc69e0e0e2c5cdae
/modules/first.py
3b9bbb71cdbb7bdbc53b3051c09a7c9b43dc64b6
[]
no_license
ravibv/python_programs
ddd3789d6374b796152489c62dfd4d8f8d04375c
abbab5fbaee20e74959a79c01f2aac34a1ce01a5
refs/heads/master
2016-09-09T17:43:18.048704
2015-06-09T10:33:34
2015-06-09T10:33:34
37,111,139
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
#!/usr/bin/python from sys import argv #from simple import print_func import simple as s script,name=argv s.print_func(name) s.print_foo(name)
[ "ravi@localhost" ]
ravi@localhost
c1a99d5d3eb7e2582c6cfee3f83604d59d555fbb
87b1e9b7a891ad629925e83d5439b694c1ac2dca
/scripts/arango/arango-remove.py
d2d3d742ffaffeb697b9148c5ca4085c8f1341f7
[ "Apache-2.0" ]
permissive
globocom/globomap-api
6a73f5bcac43817f046d31e8e88bd25fb0b256c3
2fbbe96db9f6a1d34a6c886662383a42534a6a1a
refs/heads/master
2022-11-09T11:14:33.494589
2020-02-11T13:33:25
2020-02-11T13:33:25
97,282,116
16
7
Apache-2.0
2022-10-28T22:47:26
2017-07-15T00:29:05
Python
UTF-8
Python
false
false
4,469
py
import sys import json import os from arango import ArangoClient def main(): conn = ArangoClient( protocol=os.getenv('ARANGO_PROTOCOL', 'http'), host=os.getenv('ARANGO_HOST', 'arangodb.globomap.dev.globoi.com'), port=os.getenv('ARANGO_PORT', '8529') ) database = conn.db( ...
[ "sergios@corp.globo.com" ]
sergios@corp.globo.com
47bf83a160bfc51995106dc38a302578407f955b
c31d440a92b33ad49c6da9c2e2646f4796fe1d0c
/oneflow_onnx/x2oneflow/handler.py
a880dd21084c9f6712768918b9f5ac7e3f8b4384
[]
no_license
jiangjiajun/oneflow_convert_tools
c4ec79fed35f2f4489039b419e0f7d7f0877c467
96696edd940d58187573d7531404e6b5054e3d56
refs/heads/main
2023-04-15T03:21:23.828413
2021-04-16T09:49:24
2021-04-16T09:49:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,967
py
""" Copyright 2020 The OneFlow 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 required by applicable law or agr...
[ "1182563586@qq.com" ]
1182563586@qq.com
1e4bb90e0f5856138c8ab6c6996f0479a227feb7
28541d61368a14a0d5003db4cc07fed21b40c41f
/Chapter-4/depth_search2.py
e0dc1ae6ff91822c949a2e637ca6c0eb3ca7512a
[]
no_license
eizin6389/python_algorithm
390861f9342ce907f2cda0b45b84d364bcba7541
abf3588ed97a343b6559eb5d69156708d42bc243
refs/heads/master
2022-12-06T20:48:49.470312
2020-08-14T13:29:26
2020-08-14T13:29:26
282,905,077
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
tree = [[1,2],[3,4],[5,6],[7,8],[9,10],[11,12],[13,14],[],[],[],[],[],[],[],[]] def search(pos): for i in tree[pos]: search(i) print(pos, end=' ') search(0)
[ "hide@matsumotohideto-no-MacBook-Pro.local" ]
hide@matsumotohideto-no-MacBook-Pro.local
17ad10fa37e207ce0f6d68d6b9bfb9f3ee54d7a4
f84344c4f667804f27e559a1e92b28b00a8a22e9
/Database Implementation/Python/Experiments/Evaluation_10_Clustered_UnClustered.py
414ff2aa77d08d468cbcf18f6ab8eb1ba60520b6
[]
no_license
TonHai1111/DB_Implementation
27f79f0858767ba8ced4d460d1e9f7481968ae8b
5a1057f2b178bc9b3337cbbfb585c5af496f47d9
refs/heads/main
2023-06-15T21:24:16.175190
2021-05-07T20:34:46
2021-05-07T20:34:46
354,896,195
0
0
null
2021-05-07T20:34:46
2021-04-05T16:20:32
Python
UTF-8
Python
false
false
4,255
py
#!/usr/bin/python #TODO: # 1. Read data from BigData_listBuckets_sorted.txt # 2. Insert bucketData into BigDataTest database (MuonBucket table) # 3. Record the BucketID and CTID into file # 4. Do the test: Retrieve the bucket data using CTID # 5. Measure the execution time # 6. Write the output to file import psycop...
[ "tonthatdaihai@gmail.com" ]
tonthatdaihai@gmail.com
98c7eaec8450bbfc6f3cfef5a651296cbf028a34
5f62ccb667c49f600048d82fbaf5fa41163f55d1
/dataset/data_reader.py
a5bb6a7ce9f5fcc48f29cb8d54fe8fced22034ba
[]
no_license
preritj/object_clf
ac9c2992298b6ac91f354dce463e257442d85718
243d2f98bee673f9a155380efd7f5eb26898f140
refs/heads/master
2020-03-21T10:27:27.997726
2018-06-24T03:50:48
2018-06-24T03:50:48
138,451,582
0
0
null
null
null
null
UTF-8
Python
false
false
9,492
py
import os from glob import glob import numpy as np import cv2 import matplotlib.pyplot as plt import tensorflow as tf from dataset.avaRetail import AVAretail import json from tqdm import tqdm import functools from utils.dataset_util import ( random_brightness, random_contrast, random_rotate, random_flip_left_ri...
[ "prerit.jaiswal@gmail.com" ]
prerit.jaiswal@gmail.com
0f78e26bbb47dfe15945a5ebe39f53f691d04195
1dacd991020b7c948067ab938a99f2cfc24078ae
/HelloWorld.py
36af948a0820070c0f38da0e82dc1474d5a9a220
[]
no_license
offfscar/HelloWorld
ab830548a06a98eed316d47a659b923b28b4c5b9
dc056874ae789946f6eb45f8bd7502c7b81b4aa2
refs/heads/master
2020-03-28T00:13:16.432586
2018-09-04T18:50:48
2018-09-04T18:50:48
146,814,803
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" if __name__ == '__main__': app.run()
[ "offfscar@gmail.com" ]
offfscar@gmail.com
097ee6eba7af63c9b14a66f9d7ef7edbdcf44451
614dd735e09bf513de32c7ceb572ce984020365e
/project/emulation/AutoGenerate/PrintLambertArray.py
9b02e7ee2883b46a1f216a776bae153857693941
[]
no_license
thirtyaughtsix/solidity-math-utils
9e33e14be0ea84e60ab22e57193cbe57243bcb84
9e931cc5ba7909c6aa1090d8fb4fe92ccd0fc2bf
refs/heads/master
2023-06-13T04:03:26.832019
2021-07-10T17:57:25
2021-07-10T17:57:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
from mpmath import mp from mpmath import lambertw from decimal import Decimal from decimal import getcontext from common.constants import MAX_PRECISION from common.constants import LAMBERT_POS2_EXTENT from common.constants import LAMBERT_POS2_SAMPLES getcontext().prec = mp.dps = 100 LAMBERT_CONV_RADIUS = int(Decima...
[ "barakman@yahoo.com" ]
barakman@yahoo.com
33454d8a473d9356ae6386b4a2337be5edca2700
b35f80114ad96928ccce44d40840177e0b5158aa
/dfvfs/encoding/decoder.py
1ec6014e57a2ce8159dd18307c1cfe296256ff2c
[ "Apache-2.0" ]
permissive
ryanmjones/dfvfs
7b62bab127cb201e679331fa808ec79e8ef03bd9
29ae5baddbf285260a596a67a199d0f5077214c1
refs/heads/master
2020-03-29T23:47:49.363000
2018-09-03T11:43:03
2018-09-03T11:43:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# -*- coding: utf-8 -*- """The decoder interface.""" from __future__ import unicode_literals import abc class Decoder(object): """Decoder interface.""" @abc.abstractmethod def Decode(self, encoded_data): """Decodes the encoded data. Args: encoded_data (byte): encoded data. Returns: ...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
16f1b05add66affc15fd454da038a2a0da19752b
111878140d294ef4f1581139124f3e5f80a4d06a
/mnist_parse.py
d917175aa8943b98f83400ed164b42751aa80ec9
[]
no_license
jrpretz/mnist-cnn
b010d7da07b61438f3dc423c0831f6311f4b3dc0
d51398e9e4176e0655d7c6d04a4867fbe42775e6
refs/heads/master
2021-01-25T11:48:52.147969
2018-03-21T20:26:07
2018-03-21T20:26:07
123,434,112
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
import numpy as np import struct import sys def parse(category): label = None if category == "train": label = "train" if category == "test": label = "t10k" if label == None: raise RuntimeError( "Akkkkk") imagefile = open("%s-images-idx3-ubyte"%(label),"rb") magic_imag...
[ "john.pretz@gmail.com" ]
john.pretz@gmail.com
eadad6267442b3a2c621a8e4605bba7c3a82e856
fc15b61aff8014b8995f52587f014f6569c9f429
/1. Two Sum/two_sum.py
d025ece005890226301448605e9d1b9d45583be9
[]
no_license
sh0aibsha1kh/leetcode-solutions
9dd0092a8fa9309cdd3591d9e2c2dc36348baf38
37f0db42ffdc067f11ae845e5e0341226a213d96
refs/heads/master
2020-04-24T21:54:04.881420
2019-05-02T03:23:39
2019-05-02T03:23:39
172,293,620
0
0
null
null
null
null
UTF-8
Python
false
false
1,308
py
class Solution: """ Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, ...
[ "shoaibmuhammedshaikh@gmail.com" ]
shoaibmuhammedshaikh@gmail.com
d6ee433dfa676ee3456268327026a58a0ad1dbfc
d65b6094be024fc38b4a0efce20632a8be1944e1
/project2/part5.py
bb6c397b1957d57cf89a9bf2e38795f708c182a9
[]
no_license
jiangrun0510/Networking_python
7702ef73de17f59665de7ac7f09996af53e7bd3d
e6155e5041b86afacea2ab7d368b3c2b77c39d78
refs/heads/master
2023-02-05T16:33:19.665805
2020-12-24T05:54:58
2020-12-24T05:54:58
324,078,212
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
from socket import* import select inputs = [] outputs = [] server_socket = socket(AF_INET, SOCK_STREAM) server_socket.bind(('', 80)) server_socket.listen(5) server_socket.setblocking(False) inputs.append(server_socket) while True: readable, writable, exceptional = select.select(inputs, [], []) for client in reada...
[ "jiangrun@usc.edu" ]
jiangrun@usc.edu
6e8a2025251aa202713cc2049aa715e891ee297c
2c50ed6522f5c58f7be0416e702ec0d73127246f
/tests/test_model_e2e.py
982be9523b521d2ab07a423c8bd28eb6dfb5cfa2
[ "Apache-2.0" ]
permissive
wzy810103882/detectron2
5a5ca7f3c88e7972ddc379ab81e315075a7a2c0d
ca38df54206a78742d02a8bd572390cebcc91c86
refs/heads/master
2020-09-22T13:49:45.656257
2019-12-01T22:52:24
2019-12-01T22:52:24
225,226,643
0
0
Apache-2.0
2019-12-01T20:32:49
2019-12-01T20:32:49
null
UTF-8
Python
false
false
2,643
py
# -*- coding: utf-8 -*- import unittest import torch import detectron2.model_zoo as model_zoo from detectron2.modeling import build_model from detectron2.structures import BitMasks, Boxes, Instances from detectron2.utils.events import EventStorage from detectron2.config import get_cfg def get_model_zoo(config_path...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
21722d66239f0c2101adbf666a42338641bd9e40
d1570271ebd6a59dd7d8a130ca8daa99277f1187
/pg2dot
de4cd467def15be3eae95fc83ae5e184a2b6facd
[ "MIT" ]
permissive
SupraSummus/pgspawn
28dd703afc3ad311b7b6812d3885375980b5c756
fd34671e6973d45b47af5c3a514509ec2333b8b3
refs/heads/master
2021-04-15T08:54:11.879035
2020-11-12T21:56:43
2020-11-12T21:56:43
126,625,654
1
0
MIT
2020-11-12T21:56:44
2018-03-24T17:55:09
Python
UTF-8
Python
false
false
2,994
#!/usr/bin/env python import argparse import graphviz import logging import sys import yaml from pgspawn import Graph parser = argparse.ArgumentParser(description="Convert pgspawn's YAML description into DOT file used by graphviz.") parser.add_argument( "-v", "--verbose", dest='verbose_count', action='count'...
[ "flegmer@gmail.com" ]
flegmer@gmail.com
ecace4c734f76d585f96bb14587426610ba0bccd
23fab01e59947bc354b20e1a9784f4e552cb6786
/blogApp/views.py
c4b6a3c2be6ed03fe3bd5f75c51efc4a11d92f8f
[]
no_license
bgillHub/djangoPad
993a8c0d1679835cde3c9a31ec0260a9c2b9d9ea
a56bbe02df8502269dfc4d240e50b3d96864a121
refs/heads/master
2021-04-12T03:00:02.286345
2018-03-17T21:42:23
2018-03-17T21:42:23
125,671,225
0
0
null
null
null
null
UTF-8
Python
false
false
1,936
py
from django.shortcuts import get_object_or_404, render from django.http import HttpResponseRedirect, HttpResponse from django.urls import reverse from django.utils import timezone from .models import Choice, Question from django.views import generic class IndexView(generic.ListView): template_name = 'blogApp/ind...
[ "brianrobgill@gmail.com" ]
brianrobgill@gmail.com
883b04e8faa0d0655b54ddd6386e4fedc823eb87
1734fd26a9adf7d2580f8bd981babda861944ebd
/snippets/plot.py
33a0a5553e81ca7a1279684804877763af55723c
[]
no_license
tangzhuochen/Python_ML_Code
420f4d80552a901b41e368e4e66a06f51ea1b29f
b418fd6a431a77838447ab4736bdf24019276309
refs/heads/master
2020-03-28T11:44:50.853941
2018-02-08T06:59:31
2018-02-08T06:59:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,110
py
# -*- coding: utf-8 -*- """ Created on Sun Apr 19 08:57:13 2015 @author: shifeng """ print(__doc__) import numpy as np from scipy import interp import matplotlib.pyplot as plt from sklearn import svm, datasets from sklearn.metrics import roc_curve, auc from sklearn.cross_validation import StratifiedKFold ##########...
[ "1002937942@qq.com" ]
1002937942@qq.com
bb9fe1c6aa72d8c1d83107f15c7058148ccec2cf
58e4b8aceb57d0331048cba3edc2bffce2f187a8
/Akio CFD/CFD.py
4f0534c32b7e5f92a4ea3a67c15b8613928e70f7
[]
no_license
akiokist/REL195
e0f8b7c92663a87ca5df51825fe212e7a14bab39
74bf2d8117b06cbabe2f222ee5463a006dc4dec5
refs/heads/master
2021-01-22T18:42:59.628983
2017-04-28T19:12:31
2017-04-28T19:12:31
85,105,932
0
1
null
null
null
null
UTF-8
Python
false
false
5,461
py
import os import nltk import sys import re from nltk.corpus import PlaintextCorpusReader #from nltk.book import * from nltk.corpus import stopwords import string from operator import itemgetter from nltk import word_tokenize directory = os.getcwd() + "/" stopwords = nltk.corpus.stopwords.words('english') allTexts =( ...
[ "akio.kistokazaki@hope.edu" ]
akio.kistokazaki@hope.edu
12785746632994b4ebd81dca918f4cdce50967b1
9869e57fefc800f24b7a5d251e084a91f80e426d
/searchhistory/urls.py
0d1707c01241127ad61105136366029bb7e1a391
[]
no_license
Asif-Biswas/user-search-history
cdacbe217e6068f3d595d5414d4e4b474d2749eb
cd317b8437ed686b58391ad9170d719f83d8396a
refs/heads/main
2023-08-04T13:32:33.293431
2021-09-03T10:13:02
2021-09-03T10:13:02
402,723,086
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
from django.urls import path from . import views urlpatterns = [ path('', views.home, name='home'), path('getAllResult/', views.getAllResult, name='getAllResult'), ]
[ "asifbiswas85@gmail.com" ]
asifbiswas85@gmail.com
1d3d8ef6fe1d8e0380ab558e03e8b470ed742287
2cf00705308bee55e291e6fe6e35204fee4ccd36
/srtcontroller/TelescopeController.py
935eea4efe3ff479bd1c909e9d621ad5f7fa595e
[ "MIT" ]
permissive
rowleyn/srt-code
c3318da42f9d3a57a33d393002d7c6011a0699ee
6afbff893094aecd40a6b1ee309afc3ba37657d6
refs/heads/master
2020-03-20T05:38:41.322975
2018-11-08T20:06:47
2018-11-08T20:06:47
137,221,914
0
0
null
null
null
null
UTF-8
Python
false
false
9,359
py
''' The code that maintains the telescope's schedule of scans and issues the order to perform scans. It is the main execution loop for the telescope-side code. Author: Nathan Rowley Date: August 2018 ''' import sys sys.path.append(r'/var/www/html/CarletonSRT') from Scan import Scan from srtutility.NTPTime import NT...
[ "rowleyn@carleton.edu" ]
rowleyn@carleton.edu
1f2256fa6567735e55ab6a3eb08212baf8b7aa4a
47efd42e4a7f4efb75d4ca93ae9b078244a9030f
/backend/blog_backend/api/admin/deliverable/serializers.py
5df382021298e3bd76bdf96bc956ebc6838b1b4d
[]
no_license
RajuAgt/Dashboard_Django_React
e1bce0a6ee6500e01d9ea7b4d6de4a4dee593e68
441ea8630d01d225a17105b8ed25be5406140c40
refs/heads/master
2022-12-12T13:50:31.614080
2020-09-14T12:58:01
2020-09-14T12:58:01
253,311,541
0
0
null
2022-12-12T09:47:19
2020-04-05T19:07:39
JavaScript
UTF-8
Python
false
false
820
py
from rest_framework import serializers from deliverable.models import Deliverable class DeliverableListSerializer(serializers.ModelSerializer): """DRF Serializer For Listing Deliverables""" project_title = serializers.CharField(source='project.projectTitle') class Meta: model = Deliverable ...
[ "raju.agt501@gmail.com" ]
raju.agt501@gmail.com
bd9d719ca44cc85dcaf2e828f9cfb1f1854d7bc8
aa44a2a7dec257687eb67ed109ca7727ac09d343
/polls/migrations/0001_initial.py
22cb82fe892f4aa5ffdda8e008b1f0fd8e12ee2e
[]
no_license
mitshel/mbrc_poll
3f63bc2e0aa18d14eefc4e4583a84613de7d9e81
694cc8b084394feca178bdc2bd9ecfc1f58d9906
refs/heads/master
2020-04-05T23:17:08.152738
2015-09-16T17:32:14
2015-09-16T17:32:14
40,611,735
0
1
null
null
null
null
UTF-8
Python
false
false
2,328
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='polls', fields=[ ('id', models.AutoField(auto_c...
[ "mitshel@mail.ru" ]
mitshel@mail.ru
6df5fc498e4735ff1200f12d745dd7e50420e0b0
ddd46f20859c48fd35136ffe775a4b5c7b549949
/code/chp7-cleanup/count_na.py
bb4b9f0f16c4c6df5a7aa0dfeef796ce5890b307
[]
no_license
jackiekazil/data-wrangling
0a0200d5350dc686907d0abc472f5dce92ac5985
9d56a0c6cf8067246d9ee70246db4578fdd08354
refs/heads/master
2023-02-22T09:25:15.015542
2022-11-08T16:05:06
2022-11-08T16:05:06
40,521,573
583
651
null
2023-02-10T20:20:17
2015-08-11T04:36:09
HTML
UTF-8
Python
false
false
340
py
from updated_zip_rows import zipped_data na_count = {} for row in zipped_data: for resp in row: question = resp[0][1] answer = resp[1] if answer == 'NA': if question in na_count.keys(): na_count[question] += 1 else: na_count[question] ...
[ "kjarmul@gmail.com" ]
kjarmul@gmail.com
363bff562c94c3b97f4b938b671540d826f16a71
42ae3d5fcf3163796505ef458370d76ed5436dcd
/fMRI_CSV_Analysis/113ROI/ReadMat.py
4a89ced08df4b6578b40be260cdeea92653223cc
[]
no_license
ZheweiMedia/DL_experiments
4f9667975a8c8b424fddc6707d94e6a1ec432c59
5e6ed88957da13c5fe274202d85cd97fdadeae07
refs/heads/master
2020-12-30T20:06:32.874604
2017-07-13T14:44:23
2017-07-13T14:44:23
59,964,939
5
2
null
null
null
null
UTF-8
Python
false
false
711
py
""" """ import scipy from scipy.io import loadmat import pickle import gzip data = loadmat('AD_AparcAseg_feature.mat') AD_data = data['AD_table'] data = loadmat('NC_AparcAseg_feature.mat') NC_data = data['NC_table'] data = loadmat('pMCI_AparcAseg_feature.mat') pMCI_data = data['pMCI_table'] data = loadmat...
[ "zwwang.china@gmail.com" ]
zwwang.china@gmail.com
5cfd90d2d7b4372bbeba94964c7ede8fa2401022
edc2377edad22f96f7b4f4d82ce0b9dc6a9dde5b
/manager/migrations/0001_initial.py
7aff08a7bca5173b852fb4484aa2e4b3e0c6ce68
[]
no_license
lewiseman/casual-pool
739105ecd8fa9e1ebf6fce5aeb5ef39464787f3f
37a8eb8584e39b8692e61af3a7d5ec27bdc6b002
refs/heads/master
2023-04-13T15:23:20.221951
2021-04-22T16:51:13
2021-04-22T16:51:13
332,986,708
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
# Generated by Django 3.1.3 on 2021-01-23 20:56 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "lewisemann@gmail.com" ]
lewisemann@gmail.com
bc366898e36183a27b88d3f63f1b8719cdc7f663
760e1b92d496b8c330dd5daba56faab0d841d4b4
/while.py
57f08966d114600e0b023b06f010c00a93bfa4ab
[]
no_license
9072117764/pythonbasics
e42e9ff6299d729153066010ea94d69840e15d80
a5a846ed87098691608c8eccaeb964902c9cea58
refs/heads/master
2021-07-19T02:08:44.486918
2017-10-24T09:00:25
2017-10-24T09:00:25
107,939,421
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
n=0 while n < 10: print("you are asum") n=n+1
[ "antonyphilip@cs.ajce.in" ]
antonyphilip@cs.ajce.in
74788da9c830653a4bd223c51bb4e11257410c75
7248f802c82b30207eb57aadc2de2d35e114917e
/rq1.2_output.py
f9793b5a142ac9321a74b956bb574c43348b3e62
[]
no_license
varshanth/Extracting_Insights_About_Deep_Learning_Posts_From_StackOverflow
63d734174fe407153a67f6d8a693610d8b593b55
3fe4ed896fd913a62b296d87f33191e321b49dee
refs/heads/master
2021-04-18T21:49:10.602199
2018-04-13T14:18:29
2018-04-13T14:18:29
126,560,673
0
0
null
null
null
null
UTF-8
Python
false
false
8,706
py
############################################################################### # REQUIRED: RUN rq1.1_ques.py and rq1.1_ans.py TO PRODUCE NECESSARY CSV FILES # OUTPUT: rq1.2questions_output.csv: # Specify for each question within a tag, which score range is the # question in, which reputation ran...
[ "noreply@github.com" ]
noreply@github.com
1a8c6932f402b182a1091cbe3a94502ad71a35b9
a98007da905481bf1eaf3838d3d8920f23b41f02
/python/examples/fluent-python-16/coroaverager4.py
3c5f467a664948cecb2abb8f26a75a45a9a95343
[]
no_license
darling-kefan/practices
e61f10c1c37a36d8cf90ab8937d3fe34eb93f90d
b56d11815c20cc72d7e153cdebde6092e5fc39c0
refs/heads/master
2021-08-31T02:11:36.190523
2017-12-20T06:20:18
2017-12-20T06:20:18
106,360,848
0
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
from collections import namedtuple Result = namedtuple('Result', 'count average') # 子生成器 def averager(): total = 0.0 count = 0 average = None while True: term = yield if term is None: break total += term count += 1 average = total/count return Re...
[ "tangshoquiang@tvmining.com" ]
tangshoquiang@tvmining.com
3a5937ee5ef03c61ddb78b6e820b5d75d16c182f
b01acc265e08862db2d2b4a081153b035be96328
/yolo_example.py
5cb4ea340a95e7ae4d3b41cd8b1ec73f8ea664f2
[]
no_license
ibrahimsoliman97/Intel-Movidius-NCS-RPI
7384f76d126280005ce66fe744c5ddc8de91082b
8c035d5fc3e97711aaa0c0966785da70f40e3ac1
refs/heads/master
2022-02-20T15:59:44.761149
2019-09-16T10:11:01
2019-09-16T10:11:01
103,383,376
25
11
null
2018-10-02T03:45:03
2017-09-13T09:56:29
Python
UTF-8
Python
false
false
5,630
py
from mvnc import mvncapi as mvnc import sys,os,time,csv,getopt,cv2 import numpy as np from datetime import datetime from skimage.transform import resize def interpret_output(output, img_width, img_height): classes = ["aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable",...
[ "noreply@github.com" ]
noreply@github.com
93d81bbe417a0112b72a86bf91c615abb9e27a37
47bd686ab04d8f6daba2097875dfefdba967d598
/01_baekjoon/83_problem_3052.py
af9e73d95822c7b61f0dd7150058852dbd9f71bf
[]
no_license
EmjayAhn/DailyAlgorithm
9633638c7cb7064baf26126cbabafd658fec3ca8
acda1917fa1a290fe740e1bccb237d83b00d1ea4
refs/heads/master
2023-02-16T17:04:35.245512
2023-02-08T16:29:51
2023-02-08T16:29:51
165,942,743
3
0
null
null
null
null
UTF-8
Python
false
false
157
py
import sys inputs = [] for _ in range(10): input_number = int(sys.stdin.readline()) inputs.append(input_number%42) print(len(list(set(inputs))))
[ "emjay.data@gmail.com" ]
emjay.data@gmail.com
a28e2764e0a40c63f526a760018d248ea1c40166
87f14cccfa1f00d5b5d6c11a051b3871ba4ed8d9
/problem solving/Problem-Solving-01/test.py
c3f8c9ca149b9a1ad34d88611128e706b91f28f4
[]
no_license
phuhub/Problem-Solving-01
c7dc32d5050b48e0e8109485112862503343b887
f0ada2e4c7a645c4ddbade30a4e3efe6245899ec
refs/heads/master
2020-09-13T01:45:45.572132
2019-11-26T09:09:05
2019-11-26T09:09:05
222,624,700
0
0
null
null
null
null
UTF-8
Python
false
false
1,319
py
import time text="THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG" text2=text.split() text3=text2[0] text4=text2[1] text5=text2[2] text6=text2[3] text7=text2[4] text8=text2[5] text9=text2[6] text10=text2[7] text11=text2[8] zero1=ord(text3[0]) zero2=ord(text3[1]) zero3=ord(text3[2]) allzero=zero1+zero2+zero3 one1=ord(t...
[ "noreply@github.com" ]
noreply@github.com
05ca059366d5931fd70327d8f3f019c6916afe87
05fe9b0653456b0b16c62fb3578edd9061029946
/book/真相強化学習入門/program_978-4-274-22253-5/program/ch4/reversi_DQN_CNN_8x8/train_reversi_CNN_8x8.py
7cc5e7d9c2d8a86f802ea4f7cff9105abd6d2669
[]
no_license
N-Eiki/sandbox
3215df5b3c14fb30be82d678992bda843644bede
13c175a78381aa71127ff964a3b3bfe0948517a9
refs/heads/master
2022-12-30T01:56:49.602548
2020-10-12T12:40:22
2020-10-12T12:40:22
286,705,291
0
0
null
null
null
null
UTF-8
Python
false
false
12,761
py
# -*- coding: utf-8 -*- """ リバーシプログラム(盤面8x8):エージェント学習プログラム(CNN,DQNを利用) Copyright(c) 2018 Koji Makino and Hiromitsu Nishizaki All Rights Reserved. """ from __future__ import print_function import chainer import chainer.functions as F import chainer.links as L import chainerrl import numpy as np import sys import re # 正規...
[ "naganagaeichan@gmail.com" ]
naganagaeichan@gmail.com
bc447f6ff6f725354874f00839e6440a40b69cf5
db14cb600b98068da02cffceffa758915b7b5f23
/cueadmin/setup.py
3ae8fafa3c5357bd6b35a60a916ab7453a3ae35f
[ "Apache-2.0" ]
permissive
timkeller/OpenCue
e6f33d2606ac5e291c99fa667e85048e1c8c472a
18552a8b0054df7925c0a3057a97a2f22d86af4b
refs/heads/master
2020-05-15T08:24:17.552908
2019-04-16T23:51:29
2019-04-16T23:51:29
182,159,130
0
0
null
2019-04-18T21:20:08
2019-04-18T21:20:08
null
UTF-8
Python
false
false
1,739
py
# Copyright (c) 2018 Sony Pictures Imageworks 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...
[ "noreply@github.com" ]
noreply@github.com
cc1ad60e172a8385dcdc103fa4644fb837724fef
602ae2d6c1315f88538a3f0166c0d49270a384ae
/verbatim/blog/urls.py
35463d52e41095d762550fc3f944624018a6606f
[]
no_license
nataliesmyth/verbatim
37af2891749f6248c7116187da4b6afdbc6129cf
a069805410b74c2c59b3c95a71147f864c75b0e5
refs/heads/main
2023-04-06T03:23:02.213079
2021-04-07T21:35:48
2021-04-07T21:35:48
335,785,678
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
from . import views from django.urls import path from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('', views.PostList.as_view(), name='home'), path('<slug:slug>/', views.post_detail, name='post_detail'), ] if settings.DEBUG: urlpatterns += static(settings.ME...
[ "nataliesmyth11@gmail.com" ]
nataliesmyth11@gmail.com
cef6c11ba1a088131e0d93a6491ee9eab7c88bde
eb036e617eca27f2c667310436caa9ecf77c9529
/main.py
41230a9970eafbe58f21a4136b90fe815f580167
[]
no_license
dad9489/PhoneCallAlarm
893d50a78bb8efd42e184deda5eead2f1e512c8f
108b55195d90f09e9bda0ab4c7fd4182940103af
refs/heads/master
2022-02-21T13:26:26.534329
2019-08-11T20:23:39
2019-08-11T20:23:39
194,745,018
0
0
null
null
null
null
UTF-8
Python
false
false
4,178
py
""" ----- PROTOCOL/FLOW ----- Main runs, spawns two threads One thread waiting for time that alarm goes off checking alarm_times variable, runs forever One thread sending beats every 30 seconds, receives back alarm times and updates alarm_times variable, runs forever When time, set flag for alarm, beat to alert...
[ "dad9489@rit.edu" ]
dad9489@rit.edu
27396599ee84d49836904fb1e65d3f89d601a286
ac2c0d11406238c949d51ce31d43d3e52059bf58
/samples/blynux-vim.py
8ea16ebc4486ef0d2608edf5e78411c186b59174
[ "BSD-3-Clause" ]
permissive
moises-silva/blynux
c4122c7494196de947a459eee1bfe2c15447820f
c73c3322cbbee0b04eb9a4786453c1b3a046addf
refs/heads/master
2021-01-21T09:17:48.248789
2014-04-04T23:43:19
2014-04-04T23:43:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,444
py
#!/usr/bin/env python # vim: tabstop=4 softtabstop=4 shiftwidth=4 textwidth=80 smarttab expandtab from __future__ import with_statement import psutil import os import sys import subprocess import time import os import logging from distutils import spawn from logging.handlers import SysLogHandler VIM_EXTENSIONS = ( 'c'...
[ "moises.silva@gmail.com" ]
moises.silva@gmail.com
238de81da57ba84b5fa6d6343c58c9ab77d0ce41
d9102bbbb1baf3422cfaaf01cba61e0c096fca1f
/concat_doc.py
0b9f377a8fcc9389daa65f968b2ea3f46525bd8a
[]
no_license
tangxiangru/DocDia
fd917f58351b7051cbcc6a2f7baaf77f0f1d4309
2333b0f2040e041ac25ae9157e35a3cf21eec78e
refs/heads/master
2020-05-15T01:49:35.929805
2019-04-21T08:14:22
2019-04-21T08:14:22
182,037,769
1
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
import json import os def concat_doc(dirpath: str = './DoG/WikiData/') -> None: filename_list = next(os.walk(dirpath))[2] with open('./DoG/documents.json', 'w') as doc_fp: documents_dict = dict() for filename in filename_list: with open(os.path.join(dirpath, filename), 'r') as fp: ...
[ "lanyanyan@localhost.localdomain" ]
lanyanyan@localhost.localdomain
7988378e4547b6a051a3db251f06fc7ba6ca99f3
7675a61271e2668d035675e969f090d2c80ef6c7
/k2/python/k2/autograd.py
e6ad4dcaa4d311679ae98438e96e7d50fe916cb2
[ "MIT" ]
permissive
freewym/k2
1eeeaf1ca93a1f5e66cd68ec8e2503a026d167ff
67c4328be96b65249b5adf690a24999f4bbb4b97
refs/heads/master
2023-02-05T08:50:22.633495
2020-12-02T15:04:35
2020-12-02T15:04:35
313,844,530
0
0
NOASSERTION
2020-11-18T06:33:49
2020-11-18T06:33:48
null
UTF-8
Python
false
false
21,252
py
# Copyright (c) 2020 Mobvoi Inc. (authors: Fangjun Kuang) # See ../../../LICENSE for clarification regarding multiple authors from typing import List, Tuple import torch import _k2 from .fsa import Fsa from .dense_fsa_vec import DenseFsaVec class _GetTotScoresFunction(torch.autograd.Function): @stati...
[ "noreply@github.com" ]
noreply@github.com
ff68997f976b95d8b71768980398bcc55234a48d
a5feab13bb857953bd741c6e282ab0c996971841
/basicforms/basicapp/models.py
60675d75d61f102b260a6a96ee42a6605f29a973
[]
no_license
sbt4104/django-busapp-deployment
823e215a01516626ebc1385f2135f878d8f741c9
3fc8f31583243e98739d362c629143fde07645de
refs/heads/master
2020-06-28T22:21:48.229863
2020-03-14T18:56:45
2020-03-14T18:56:45
200,357,220
3
0
null
null
null
null
UTF-8
Python
false
false
1,992
py
from django.db import models from datetime import datetime # Create your models here. class User(models.Model): start_stop = models.CharField(max_length=128) end_stop = models.CharField(max_length=128) amount = models.IntegerField(max_length=254,unique=False) timec = models.TimeField(default= datetime.t...
[ "sthorat661@gmail.com" ]
sthorat661@gmail.com
6f80c3f5e025ec85ced638609306fc2465839e96
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/dms_write_1/replication-task-assessment-run_cancel.py
d153b39c7a14410bbcb8fb410169d26887be325c
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,422
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/dms/cancel-replication-task-assessment-run.html ...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
874274b1aa427b9cb6082555f7036e414643c25c
7d09aaed91cbc8078f83ce76a1049203873929b0
/uid.py
a665cb47ce80026d509a1ce32a74338568adf30a
[]
no_license
hisheng/crawler
ddce718c178840bc3efc73f6f5d1fba4f62f8571
1ea379aabff532aab1d128deeaaf60417f20c5c3
refs/heads/master
2021-01-20T01:10:25.102258
2017-09-22T03:07:08
2017-09-22T03:07:08
101,282,513
1
0
null
null
null
null
UTF-8
Python
false
false
316
py
class Uid: name = 'hisheng' age = 1 def __init__(self): self.age += 1 def displayNmae(self): print('my name is ' + self.name) def displayAge(self): print('my age is '+ str(self.age)) uid1 = Uid() print(uid1.age) print(uid1.name) uid1.displayAge() uid1.displayNmae()
[ "465908774@qq.com" ]
465908774@qq.com
ea8bb49d156e114838e063119aeaf9f5f8f0bca6
35bd23a9fcb680dd97a68524fff886216b3d8fd1
/Python/Chapter 5 Dictionary and Set/Practice.py
18f39e7b88cc7a1a8fa9d7657f66ea637f8d9bb1
[]
no_license
hrithiksagar/Competetive-Programming
3736279cb8dc79ccf9d6820870ce2f6c7253cf86
9346b007b0ee47d4909d8e5283d35e931c82a90d
refs/heads/main
2023-07-24T17:30:35.492736
2021-08-25T13:05:54
2021-08-25T13:05:54
379,348,691
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
""" 1 WAP to create a dict of hindi words with values of their eng translations provide user with an option to look it up! """ myDict = { "panka": "Fan", "Dabba": "Box", "Vastu": "Item" } print("Options are: ", myDict.keys()) a = input("enter hindi word: ") #print("meaning of ur word is : ", myDict[a]) # to...
[ "hrithiksagar36@gmail.com" ]
hrithiksagar36@gmail.com
0de2ece9316107256957484e1314bb4706d3cad6
5798b2626bd723de4b7a140bbe432cadda4b6656
/files/Task3_1619552874.py
edd24983c6089b58f850bca8a4bc5cc005eedd22
[]
no_license
TheVitik-Projects/fitcourses
af13d03b953822ca0147dd4a7f911ed243854a80
b3355569ac0cdf888c1b3dc7c812d24f15cac3a9
refs/heads/master
2023-08-06T09:04:07.105964
2021-10-07T18:28:13
2021-10-07T18:28:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
class Node: def __init__(self,data,x,y,z): self.data=data self.x=x self.y=y self.z=z class Sparse3DList: def __init__(self,nodes=None): self.nodes=nodes if nodes is not None: node = Node(data=nodes.pop(0)) self.head = node for i...
[ "lokplay2003@gmail.com" ]
lokplay2003@gmail.com
9ae8b5519a89d9579c9d6622d1b3f86b76b1cb83
58c7e65ad0671d5b37754378fe75fa2f50087421
/import_script/lib/site-packages/packagekit/filter.py
f24752615477e96b862549c9ffe85f3960d6fde0
[]
no_license
Fan-Code-World/info_to_zddi_tool
bcd88fb925d361e4b79bc568ee2c0939d8257093
88f002fe305dc5bd5f08e60528643dcc886cfe4a
refs/heads/master
2023-02-19T15:36:44.328241
2021-01-19T09:01:24
2021-01-19T09:01:24
330,919,854
0
0
null
null
null
null
UTF-8
Python
false
false
5,648
py
#!/usr/bin/python # Licensed under the GNU General Public License Version 2 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later ver...
[ "root@localhost.localdomain.localdomain" ]
root@localhost.localdomain.localdomain
a7501a7c428d0ff80212d7e1ad959302284ee6a4
e6ce63af4f506df64130ad3a3a8fb17aa8228c04
/prototype/hems.py
7de888f3c9a24527d4f963d1be2a2fbfab8eca3f
[]
no_license
grahamturk/raspi-smart-meter
0db5820366ebe02b1eed83f6e31b5de383c2ec8d
bd6acf76d011db54e67cc6a1890ec191ccdca193
refs/heads/master
2021-04-09T10:50:56.508489
2018-06-21T09:27:04
2018-06-21T09:27:04
125,400,865
4
1
null
null
null
null
UTF-8
Python
false
false
244
py
import random from time import sleep # Bidding module class Hems: # Return a bid based on the amount of energy offered in this auction def get_bid(amt): sleep(random.randint(1, 3)) return random.randint(1, 10)
[ "gturk9@gmail.com" ]
gturk9@gmail.com
b709663d06a67f5bbfae13c6bc7f4ae6698ec630
a2e6994dd680e2de8e62e92df9406bc1592c5531
/tests/test_freesugars.py
4d85cd698bd1186cf7596dcc168826709a2d60f7
[ "MIT" ]
permissive
levelcert/freesugars
2ae30156d5bbc2d8df5e79987ddd079801651fb2
543a5cb66db0120009b2d7e8d91b347e10817d52
refs/heads/master
2021-01-10T08:36:34.252263
2015-11-27T22:52:36
2015-11-27T22:52:36
46,995,810
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
from __future__ import absolute_import, print_function import unittest from freesugars import free_sugars from freesugars.__main__ import main class TestFreeSugars(unittest.TestCase): def test_no_ingredients(self): self.assertEqual(0, free_sugars(ingredients={}, kilojoules=0)) self.assertEqual(0, ...
[ "michael@platin.gs" ]
michael@platin.gs
b7269e14733759abce750e3420be6cc3856e2ed5
065067ad7c4fb50cfb4ba4d998b539f35a6c9383
/magic.py
172739b3d2c13142eedc2dca770ba6a445977811
[]
no_license
marinapoltorak/PDXCodeGuildLabs
e773d8c40bdf3ac8bbd14330d01a10cf9eb8b50b
55d52fbe6e100212934acd214f68eb2da2e23e88
refs/heads/master
2020-07-18T05:22:27.037199
2019-09-03T23:03:46
2019-09-03T23:03:46
206,185,557
1
0
null
null
null
null
UTF-8
Python
false
false
611
py
import random answers = ["Yes", "No", "Maybe", "Signs point to yes.", "Cannot predict now.", "My sources say no."] print("-" * 50) print("Ask the magic 8 ball anything!\n") user_question = input("Ask your question: ") print(f"You asked: {user_question}\n") answer = random.choice(answers) print(f"\nMagic 8 Ball Kn...
[ "emylisfamily@gmail.com" ]
emylisfamily@gmail.com
82e54a6fd231e57a350d7ae8277a496efb65f8b6
0aa7255bf5df6b11ad929ec313019d734e67afb8
/LMS/blog/models/blog_tag.py
a62cc44a40ac7f850e5d91dc6384f1bac7a19239
[]
no_license
arafat08007/Learning-management-system-by-jaki
c4e3f34061b527a09cdbc86d5ec8547074774189
928bdf4b8a0f408a17fa0c3d9b8bb6d77ef285e8
refs/heads/master
2022-11-16T06:04:22.016667
2020-06-19T09:23:01
2020-06-19T09:23:01
273,452,214
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
from django.db import models # # Create your models here. class Tag(models.Model): tag_name = models.CharField(max_length=50, unique=True) def __str__(self): return self.tag_name
[ "me.jaki@outlook.com" ]
me.jaki@outlook.com
9ea1502d9147fa1af905973a61f5bc952aea401c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_014/ch9_2020_03_02_19_39_46_703363.py
5edc1af73d79ab1e4a46e92006127db38bf7623c
[]
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
113
py
def calcula_volume_da_esfera (R): v = 4/3 * (3.14 * R**3) return v R = 2 print (calcula_volume_da_esfera)
[ "you@example.com" ]
you@example.com
73679cefa25e1e464b32b890eac3a25809d3ad11
a480d064a278983699df2e721a4f4a42e5f9014b
/states.py
b4d3cb7afeb3b67fe44980dfeda03b2a03ce0c9b
[ "MIT" ]
permissive
guipsamora/munich-scripts
8de0a21ff05801d6013fa96e997fe036955d55f9
cc826cbe7f92846ed64a1b6ac7200766498171ec
refs/heads/master
2020-11-26T07:19:22.840144
2019-12-11T20:05:42
2019-12-11T20:05:42
229,001,064
1
0
MIT
2019-12-19T07:38:15
2019-12-19T07:38:15
null
UTF-8
Python
false
false
135
py
# -*- coding: utf-8 -*- MAIN, SELECTING_TERMIN_TYPE, QUERING_TERMINS, SCHEDULE_APPOINTMENT, SELECT_INTERVAL, STOP_CHECKING = range(6)
[ "godfathernn@gmail.com" ]
godfathernn@gmail.com
3244c288c3ac71844b88f9b8a17ea228b775cd70
189c1840640edebd66960aadbbcbfd01746247bc
/ethereum/nfc_block/nfc_eth_server.py
6e26a8db625cb56dc6e60fc80b84b04714aa7b24
[]
no_license
anirudhnain/CS538_Project
36407d85060405802f7771f0ecae55648759f46d
3fe673e34970b2535a47adb4affe70218facc61e
refs/heads/master
2023-04-13T00:37:02.087059
2019-04-29T00:18:27
2019-04-29T00:18:27
173,514,643
0
0
null
2023-04-12T07:13:47
2019-03-03T00:39:07
Python
UTF-8
Python
false
false
2,873
py
# Import SDK packages import sys sys.path.insert(0, './../') from AWSIoTPythonSDK.MQTTLib import AWSIoTMQTTClient from contract import contract_source_code, get_contract from web3 import Web3 import web3.personal from solc import compile_source from time import sleep from latency import openTimeLogFile, logTim...
[ "ishu@ps11" ]
ishu@ps11
61b4d29cdfbc90e7831928e05d0e367576a98490
57814afd17af6be95d1cc07fbef3ec677f6c4fd4
/pruebaproyecto.py
fa81ba8723807cda4f98fa17c42c31be32e8e53b
[]
no_license
marimar33641/Proyecto-de-Programacion
fda7fd5e08bf432baf49e95a9caaf6eacf250578
c05a1e1ab1d7a29c92bb7fe43b296ab1d62a4fd7
refs/heads/master
2022-10-09T13:05:15.603565
2020-06-10T17:35:40
2020-06-10T17:35:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,189
py
import json import os import sys import webbrowser def main(): with open("datosAvion.json","a") as archivo: archivo.close() menu() def menu(): opcion=3 while opcion!=0: print("1. Registrar vuelo\n2. Crear un resumen\n3. Ver video\n0. Cerrar el programa") opcion=int(input(">...
[ "marimar003@hotmail.com" ]
marimar003@hotmail.com
bfad1f787200f149256f169c0dea8aaf4e2cdb55
596e92d0d484b6e7eee6d322e72e52748fdeaa5d
/sportsdata/nhl_stats/api_client.py
a7663abbf3b998432f1d1266f063551c21b205cd
[]
no_license
scottypate/sportsdata
f5f61ddc7eb482883f93737c6ce73dd814ed4336
a07955ab50bf4fff1ce114ed9895095ff770c473
refs/heads/main
2023-08-18T16:51:56.452678
2021-10-22T12:44:08
2021-10-22T12:44:08
420,062,350
1
1
null
null
null
null
UTF-8
Python
false
false
25,092
py
# coding: utf-8 """ NHL v3 Stats No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import dateti...
[ "scotty.pate@auth0.com" ]
scotty.pate@auth0.com
b5a4113c696eea49ed3ad204ff79189f7aa46c03
210e1cffcd8a705c2a8a1485ed5532b9169f5d10
/whoville/cloudbreak/models/custom_container_request.py
dbe93467c0216ad39351277fd6aa353b5d0e87eb
[ "Apache-2.0" ]
permissive
mikchaos/whoville
2a45bc6636d448733d8d2368ac88a980cf6954ea
6eabaea4b74ac0b632c03db8252590131c6ce63b
refs/heads/master
2020-04-19T08:53:04.430990
2019-01-29T05:01:57
2019-01-29T05:01:57
168,092,002
0
0
Apache-2.0
2019-01-29T05:00:06
2019-01-29T05:00:06
null
UTF-8
Python
false
false
4,034
py
# coding: utf-8 """ Cloudbreak API Cloudbreak is a powerful left surf that breaks over a coral reef, a mile off southwest the island of Tavarua, Fiji. Cloudbreak is a cloud agnostic Hadoop as a Service API. Abstracts the provisioning and ease management and monitoring of on-demand clusters. SequenceIQ's Cloud...
[ "chaffelson@gmail.com" ]
chaffelson@gmail.com
f56aa08c2349bb171b7b9bf5211cabf954ab55d3
394563f2cbb5d5a947fcef47114d4a236503d587
/app.py
661f82232fa1e8e645ed93f7d4e6ee2d7d764fcc
[]
no_license
titanium99/andon
c8e1c12c7bcdeed910a6dfdbb26e95b5d265612f
90ed6c758f958b056fc55aeb489e32cf102e2f92
refs/heads/master
2021-07-07T07:56:45.015285
2020-01-09T13:56:05
2020-01-09T13:56:05
230,588,297
0
0
null
2021-03-20T02:40:11
2019-12-28T09:28:19
HTML
UTF-8
Python
false
false
1,223
py
from flask import Flask, render_template, redirect, url_for import blinkt import time app = Flask(__name__) @app.route('/') def index(): return render_template('index.html') @app.route('/on', methods=['POST']) def on_switch(): blinkt.set_clear_on_exit() blinkt.set_brightness(0.3) blinkt.set_all(255,...
[ "planet.titan@gmail.com" ]
planet.titan@gmail.com
348f0c3a8687ff868f0a02362f6d5a63c83e04ca
39511f2a0016d11aa821f8ad01e941b71761e937
/Contest/1642. Furthest Building You Can Reach.py
9d03c47cf1078647ec61e04e20dae1a41058c97c
[]
no_license
Vijay1126/Interview-Prep
4f7dc921ab584201c7373e82f1adef421e5b74f0
64763bf65c01922b810218fc1552c3ba636a2b5f
refs/heads/master
2023-06-09T13:55:12.529108
2021-06-29T00:22:03
2021-06-29T00:22:03
256,920,126
2
0
null
null
null
null
UTF-8
Python
false
false
427
py
class Solution: def furthestBuilding(self, heights: List[int], bricks: int, ladders: int) -> int: heap = [] for i in range(len(heights)-1): curr = heights[i+1]-heights[i] if curr>0: heapq.heappush(heap, curr) if len(heap)>ladders: b...
[ "noreply@github.com" ]
noreply@github.com
600d6005c001b142a95537db39711a46551329a9
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_3_neat/16_0_3_stormshadow1896_test.py
3f76200143e9cb10b787cfb85cc80e4209134e9f
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,174
py
def check(num): for i in range( 2, int(num**.5) + 2 ): if num % i == 0: return i break return -1 def create_num( num, base ): i = 1 temp = 0 while num > 0: temp = temp + (num % 10) * i i = i*base num = num / 10 return temp def...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
3ea0595fb5b419bbeb72ea4652dfeab1bd2e2b1a
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/uhd_restpy/testplatform/sessions/ixnetwork/topology/pppoxserversessions_34f51eaa47353aae9b360c64589d7c32.py
3e819b57836a62b085cb72205b218a6011b47d87
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
15,857
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
e52b8adce905726b18028b1b8df2ffc69e795e96
f5b8404e0d106cd3a02085cf5537e7c360d78c8b
/src/lesson2/event_stream_consumer.py
31204c1ae706a066f60cdee41b9fa307832a1112
[ "MIT" ]
permissive
mfranco/spark-book
504b7a210f4483af01e7fcc5d1b08adfae4f8073
638e0f948ffe3cbd2006a7abe07777475b39e8f9
refs/heads/master
2020-03-26T06:07:47.081578
2018-12-29T19:25:31
2018-12-29T19:25:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,907
py
from pyspark import SparkContext from pyspark.streaming import StreamingContext from datetime import datetime import argparse def parse_entry(msg): """ Event TCP sends sends data in the format timestamp:event\n """ values = msg.split(';') return { 'dt': datetime.strptime( v...
[ "maigfrga@gmail.com" ]
maigfrga@gmail.com
237be374caae6ca01296cb6efbdcd60b11fc1254
c326c6e95c5ec945f534a89e3a24e791991f45f1
/oscar/apps/partner/migrations/0008_auto__del_abstractstockalert__del_field_stockalert_abstractstockalert_.py
a9d9350d25a0114266c69b299b2ea9024c8b4a78
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
michaelBenin/django-oscar
69ae279febae8d1896b9c0ba9b29d98439611b3e
f45d38b5d3ffa10756d95c625fb90a27185ce1e1
refs/heads/master
2021-01-18T03:56:51.054708
2013-07-10T13:50:15
2013-07-10T13:50:15
11,319,250
1
0
null
null
null
null
UTF-8
Python
false
false
16,932
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting model 'AbstractStockAlert' db.drop_table('partner_stockalert') db.rename_table('partner_a...
[ "david.winterbottom@gmail.com" ]
david.winterbottom@gmail.com
b9d8ab974796272d2f381fa35d1a618abf7f072d
758f1ad9c287c74e57fa7a4f8d03aba8d9f776ab
/host/knobui/list.py
3936fdb4caea0387b3222bc6750f7be8a61a6517
[]
no_license
cnvogelg/knobterm
6ef50bc479a64d5ff1729265f447b40c5d5dfd00
a731d1a0f1f85a0ed17f3b0df5175e151f82608f
refs/heads/master
2021-01-21T22:26:53.052986
2013-01-01T16:38:40
2013-01-01T16:38:40
5,993,835
1
0
null
null
null
null
UTF-8
Python
false
false
937
py
from label import Label from consts import * class List: def __init__(self, x, y, w, title, entries=None): self.x = x self.y = y self.w = w self.h = len(entries) + 2 x += 2 w -= 4 self.tlabel = Label(x,y,w,title, align=Label.ALIGN_CENTER, fg=COLOR_LIGHT_GREY) self.labels = [] y +=...
[ "C.Vogelgsang@web.de" ]
C.Vogelgsang@web.de
df972d4be273709bfca8c745ad91efeb47995478
de20e88fbea57a80162993e3f5941c447ad7611d
/blog/migrations/0001_initial.py
aacb0d9367411bb69668bbc04bebbfb923a33602
[]
no_license
IvanUpdate/study-project-django3-portfolio
f325e36e5c5075f0629631adc9dac27609724a25
f506af8c911e03d3b493f4791875c80abe96c655
refs/heads/master
2023-08-31T21:12:17.587756
2021-09-22T20:30:01
2021-09-22T20:30:01
409,310,542
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# Generated by Django 3.2.7 on 2021-09-17 10:33 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.BigAutoField(...
[ "mironovvan99@gmail.com" ]
mironovvan99@gmail.com
cf0d4f4d58a20c90aa9d9b915da568ef93c7c494
eb1fcd4dc1c7e7361100b0208bb6efc5c7abef55
/frame/config.py
84b4af079d9c62f568af5db77924143db3a7bd19
[]
no_license
15692109791/NetWorkSpider
7dcc4494cfffd41d2e96a380a0ef4630624da245
d8ed584335a21eab0e631404fbc98cc71a2cdca9
refs/heads/master
2020-04-01T19:24:31.968550
2018-10-18T02:40:32
2018-10-18T02:40:32
153,552,061
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
# -*- coding:utf-8 -*- # -- Url根目录 -- # ROOT_URL = 'http://bbs.nga.cn/thread.php?fid=218' ROOT_URL = 'http://bbs.a9vg.com/forum-675-1.html' # -- 爬取网页总数 -- MAX_COUNT = 300
[ "zhangt@51idc.com" ]
zhangt@51idc.com
8ee7dc322b27de36c3d1a856fc8bfa0af6edae0a
1ef96f4a021bc339deb75ca05c5a6b3af11eb4c5
/blog/migrations/0001_initial.py
9b727e8967619f8b097a8adbab26197a140eb2ad
[]
no_license
abhishekjha229/blog
23080f5be8c78d1fdb7e638f4c6da88cdedaadbf
f39d06c22afb635cf8d881fe3c7e3f3df9119d48
refs/heads/master
2023-03-22T00:33:26.548564
2021-03-12T09:52:00
2021-03-12T09:52:00
347,021,713
0
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
# Generated by Django 2.2.4 on 2021-03-11 07:52 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "abhishekjha229@gmail.com" ]
abhishekjha229@gmail.com
933ca57c3cef06e8358b52b0902f493449c0d50f
a382e1536672250c3ca03375d0ac95a95125c97e
/gwdata_plugin.py
21bae41f4e9d137df20976ed2b1bfe74bea4a2f3
[]
no_license
markcoatsworth/gwdata_plugin
11aa640d333557c6cc627ec2478c2a65017fdb9d
4e8efe2fd378d870ce628bfee50bd01e2a873518
refs/heads/master
2023-02-07T16:58:11.302530
2020-12-18T19:41:46
2020-12-18T19:41:46
250,292,863
1
0
null
null
null
null
UTF-8
Python
false
false
11,188
py
#!/usr/bin/env python3 import argparse import classad import gwdatafind import pathlib import pycurl import sys import time DEFAULT_TIMEOUT = 30 GWDATA_PLUGIN_VERSION = '1.0.0' # Added to prevent the flush() behavior on exit as indicated by # https://bugs.python.org/issue29130 class NullWriter: def write(self, ...
[ "coatsworth@cs.wisc.edu" ]
coatsworth@cs.wisc.edu
1e8e6799cde1cb2ec98dc5cf22f31c5fa4bff3d6
2fc9f2aea4d36fb3a17e834ae187984db0279a4b
/RawSql.py
12180ea54f4843f6fef35ef51d380e35fcdd5dc3
[]
no_license
paper-lemon/data-assets
b51ae81375cc3c3561e8614e19f750392ec23ad5
95873062f76e44b78ee34a62c7e81245ca6513e5
refs/heads/master
2022-12-21T20:22:50.108849
2020-10-04T02:46:16
2020-10-04T02:46:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,140
py
from django.db import connections class RawSql: """Django原生sql操作数据库封装类""" __sql = '' __database_name = '' err_msg = "" @staticmethod def __doc__(): """用户使用文档""" print("set_sql(sql_str)函数:设置sql参数\n" "查询类函数:\n" "get_dic(sql_str)函数:输出字典类型的查询结果\n" ...
[ "36708877+longmiaohao@users.noreply.github.com" ]
36708877+longmiaohao@users.noreply.github.com
33028a25f544511e3937175cefbc60afcbe99436
cc372c9bc056df4951c5ddbec9398cb1cbc279af
/src/python3/sensors/range_finder_process.py
d945db37aea538600e973c3c93fcd5bc567123e7
[ "MIT" ]
permissive
timdelbruegger/freecopter
3dd1a3fe3e739c0f0116ff37242c6a078d4e9f07
0d7023ba0fdbdfe2609b49e86bf2545fb4c8b2da
refs/heads/master
2021-01-21T13:11:06.702502
2016-04-24T14:37:17
2016-04-24T14:37:17
43,379,978
3
0
null
null
null
null
UTF-8
Python
false
false
3,091
py
from multiprocessing import Process, Queue, Value from sensors.range_finder import UltrasonicRangeFinder from util.definitions import SENSOR_ERROR_MAX, ULTRASONIC_SENSOR_ERROR from quaternion import Quaternion from state_change_planning import State from util.definitions import FORWARD_AXIS, UP_AXIS import math...
[ "tim.delbruegger@gmail.com" ]
tim.delbruegger@gmail.com
81ca69ae2548272b52a98916125018505f90c491
d755c825cacbb60e9a23234fbaaf93de48c6a058
/others/permutations.py
a183388454c2dd1f1a4ad70a22c8ae4c383a2f96
[]
no_license
Subhash3/CodeChef
d82e4df751e6dd1e07205871b9e2c0b1202d0506
5301b0e4555aac55a72f175dfba8f786b4ea7bbd
refs/heads/master
2020-08-04T20:17:18.339602
2020-01-21T16:10:12
2020-01-21T16:10:12
212,267,130
2
3
null
2019-10-15T12:07:44
2019-10-02T06:07:41
Python
UTF-8
Python
false
false
269
py
#!/usr/bin/env python3 import math for i in range(int(input())) : n_k = input().split() n = int(n_k[0]) k = int(n_k[1]) integers = input().split() integers = list(map(int, integers)) r = integers.count(0) a = math.factorial(r) print(a)
[ "subhashsarangi123@gmail.com" ]
subhashsarangi123@gmail.com
dbc132aa799039cf21ac56e660431ee0a493ebd1
9b1da04d8c66b8fb429120c902e4022506a05f5a
/apc_trajopt/python/arm_to_joint_target.py
927f90c3a5260935d89d5ead9b8bbca31f686fe3
[]
no_license
ehuang3/apc_ros
49533b7c6ec9a13d45914b0c252c88c7413731a7
050871ec3e85c53fe1b0e4612abbbfa07db75f59
refs/heads/master
2021-01-10T12:30:49.700225
2015-05-27T03:41:20
2015-05-27T03:41:20
36,998,288
4
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
#!/usr/bin/env python import argparse parser = argparse.ArgumentParser() parser.add_argument("--interactive", action="store_true") args = parser.parse_args() import openravepy import trajoptpy import json import time env = openravepy.Environment() env.StopSimulation() env.Load("/home/ehuang/catkin_ws/src/apc_ros/apc...
[ "ehuang@gatech.edu" ]
ehuang@gatech.edu
45389302943344536f291d78e12c785eab98e8cd
768ef4658732bcb0af8fdc8dfb1a6a27db5ac2fe
/apps/movies/api/permissions.py
48930205eb043f2670752e7f4d5f6361c2832366
[]
no_license
Nellyth/Movies
0566b39fd0d3174571ad3fec9418612598ee4da3
c365a2118b2aa621bc174cc3571b418aab14ef32
refs/heads/master
2022-11-30T01:08:17.207144
2019-06-28T21:57:43
2019-06-28T21:57:43
190,658,081
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
from rest_framework.permissions import BasePermission SAFE_METHODS = ('GET', 'HEAD', 'OPTIONS') class PermissionsRate(BasePermission): def has_permission(self, request, view): return bool( request.method in SAFE_METHODS or request.user and request.user.is_superuser ...
[ "narroyo@lsv-tech.com" ]
narroyo@lsv-tech.com
408c93510bff8ddf7c5f85a7a58d559f1790609b
e67dd67bedaac3fd2a8ee626b244f4dc3aacb528
/facebook_cracker.py
3d6b801d35317f2f606783da7fd576d46288b92c
[]
no_license
mdurden06/facebook_cracker
311daefd65a56c00b6c038312c2ee90a340d775d
3c434fac45fde0434fb02011e3e2db579654ec00
refs/heads/master
2020-04-08T10:03:15.546664
2017-10-22T11:08:36
2017-10-22T11:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,289
py
#!usr/bin/python # -*- coding: utf-8 -*- from termcolor import colored import re import sys import random import mechanize import cookielib def logo(): print colored('\r\n¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦','green') pri...
[ "noreply@github.com" ]
noreply@github.com
c542325a551b1b689d39aee5e2a70c48e5d07340
7711089fef9723c1760d13570f019367c770710d
/index.py
34add4718cac74a289c5a3c4d39fd327b3537399
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
clincolnoz/WorldBank_WDI_Visulization
81ecd43cfd6571c70616c4c166d96c5649fa3668
c24e4bb356d2f2b59c72437bdb328337b0dfb3eb
refs/heads/master
2022-07-18T05:47:52.475733
2020-04-20T09:45:25
2020-04-20T09:45:25
234,558,640
2
1
MIT
2022-06-22T00:16:29
2020-01-17T13:54:53
Python
UTF-8
Python
false
false
987
py
import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output from app import app from apps import corr_small_multiples_with_ts, pair_plot_with_ts app.layout = html.Div([ dcc.Tabs(id="tabs-example", value='/apps/corr_small_multiples_with_ts', ...
[ "clincolnoz@gmail.com" ]
clincolnoz@gmail.com
0d9a790050be9f60c0295abedf9138869341bc47
edb1e8431e4314433d94b1f9c29e1a8cc343c534
/no1.py
ee320516ff6f28d192980d78edc65dc6220fdf69
[]
no_license
FachriOktavianur/Protek-10
90a6c4b772572d9eb285842fdb35b61a6ed49595
e36c283f77e37ba6750468c293244eb9380d0cb9
refs/heads/main
2023-02-09T05:28:03.845765
2020-12-31T15:52:23
2020-12-31T15:52:23
325,825,187
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
print('-01-') print() file=open('angka1.txt','r') angka1=file.readlines() angkagenap=[] angkaganjil=[] for i in range(len(angka1)) : if('\n' in angka1[i] == True) : angka1[i].replace('\n', '') if(int(angka1[i])%2 == 0) : angkagenap.append(angka1[i]) else : angkagan...
[ "noreply@github.com" ]
noreply@github.com
f231730bfdd3d5997cddb4f83718090bd44c5c39
72fd637c14aad009712bcc23e042f02ac47ea9e6
/xibbaz/main.py
4a1c6d54a84de0065ab37b517f8c693817aea4c3
[ "MIT" ]
permissive
erik-stephens/xibbaz
8427bf8cbd08a947c6e6075fa427d34aac5b86fb
5c245ee516dcd7e6dbffac364c6a434bd13a69a4
refs/heads/master
2020-03-07T22:35:00.893144
2019-07-06T00:12:13
2019-07-06T00:12:13
127,757,907
1
0
MIT
2019-10-30T22:28:00
2018-04-02T13:11:00
Python
UTF-8
Python
false
false
494
py
""" A wrapper around scripts to facilitate a single Dockerfile ENTRYPOINT. usage: xibbaz.main <cmd> ... Where <cmd> is one of the following. Use `-h, --help` for cmd specific usage. - cli - group - template - triggers """ import sys import importlib if len(sys.argv) >= 2: if sys.argv[1] not in ('cli'...
[ "estephens@terascope.io" ]
estephens@terascope.io
37aaf7ae345727ec73d52941d34709e45a6d213f
f93ea71737ce7f656e9c9669e3c9a7896d706798
/src/HW4_Final.py
5f2a9caf363980dcf7da402cc2d5d0359edb219c
[]
no_license
jakinbohun/movie_recommender
214ca8626e503af434c1964fe4155ed455073a24
0f67a99f7b0009619e86cc98b08e8c660fe28596
refs/heads/master
2022-05-28T06:40:45.923457
2020-05-02T18:20:36
2020-05-02T18:20:36
260,748,681
0
0
null
null
null
null
UTF-8
Python
false
false
4,053
py
#!/usr/bin/env python # coding: utf-8 # In[286]: import numpy as np import pandas as pd import matplotlib import math from sklearn.preprocessing import StandardScaler as sc from sklearn.decomposition import PCA as pca from scipy.sparse.linalg import svds # In[287]: test_data = pd.read_csv("1571391072_1720269_tes...
[ "jeremiah.akinbohun@gmail.com" ]
jeremiah.akinbohun@gmail.com
0bfcb574b7080103683a1c37ecd224e95a564306
d3704baf0f910ea19269d59b7bbc275006d0623b
/stable.py
0d91f0a7d67f070ba6e97fa7c563a3cc646e7078
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
hsiaut/EDSSI
c60a3034aba32a9bdd0e8e46357fa95badd5cc37
1163ed0512a7024e9590f8299ac034b3eb5bfe9b
refs/heads/master
2021-01-18T06:38:54.048187
2013-12-18T17:43:54
2013-12-18T17:43:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
import sys InputFileName = sys.argv[1] AlnFileName = sys.argv[2] def Die(s): print >> sys.stderr print >> sys.stderr, sys.argv print >> sys.stderr, "**ERROR**", s sys.exit(1) def ReadSeqs(FileName): Seqs = {} Id = "" File = open(FileName) while 1: ...
[ "hsiaut@gmail.com" ]
hsiaut@gmail.com
81fd8ce8dd698feebfb652de07ed49ad76e69664
e607ade6898a033f3940725e78a2bf0e09efc132
/OutbreakPAD/Prediction/ARIMA_Pre.py
075ec0f78696f974078a137d0c8d3e036c37e621
[ "MIT" ]
permissive
pandafengye/OutbreakPAD
7548e77ac5895fa9b55316fe22e6e3b6ce0027db
742f5ac71919c9a529d9ff12f55074d15e8db9a6
refs/heads/master
2023-06-29T22:23:08.083045
2021-07-23T06:31:48
2021-07-23T06:31:48
226,439,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
import numpy as np from statsmodels.tsa.arima_model import ARIMA import matplotlib.pylab as plt import pandas as pd from .ARIMA_Find_Parameter import * def ARIMA_Pre(data,p,d,q): print("running ARIMA model !!!") size=len(data) X = data[:size].values X = np.array(X, dtype=np.float64) # size...
[ "noreply@github.com" ]
noreply@github.com
c6888ea8295a4174a130e4b3ac4e16938370ffc9
f4dd7ae9af786a396c42c3cc4a2126ab7d7e9cb8
/tests/test_transformer/test_refcnt/test_refcnt_optimizer.py
3fb998e7c54a00dad269e0741fcfd4b50370de05
[ "Apache-2.0" ]
permissive
hpplinux/utensor_cgen
1e9b85b8a457117763313b8924d9696e0b99a120
d892b728d24321bc751552667b9722633d17c574
refs/heads/master
2020-04-19T16:13:31.891523
2019-02-19T02:27:44
2019-02-19T02:27:44
168,297,950
0
0
null
2019-01-30T07:20:53
2019-01-30T07:20:52
null
UTF-8
Python
false
false
591
py
from utensor_cgen.ir import uTensorGraph from utensor_cgen.transformer import RefCntOptimizer def test_refcnt_optimizer(refgraph_tuple): (graph_def, refcnt_ans, output_nodes)= refgraph_tuple ugraph = uTensorGraph(graph_def, output_nodes) transformer = RefCntOptimizer() ugraph = transformer.transform(u...
[ "qmalliao@gmail.com" ]
qmalliao@gmail.com
aef7d5e711da0370750a86711aea33bd0e5180ce
0d01cff14457e2d2feb111f74c07f3b8113de98e
/Python3挑战实验--字符串操作/FindDigits.py
cfcdd752d6353c34df0e6959c3e14f193f54622e
[]
no_license
njqijie/shiyanlou-001
1824726efe3acf4d31852e00a6803c1528f3e4a2
55985974cb659cfec345b271685a4e911d66a1a7
refs/heads/master
2020-03-25T01:58:57.439549
2018-12-31T02:31:54
2018-12-31T02:31:54
143,267,722
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
#!/usr/bin/env python3 file = open("/home/shiyanlou/Code/String.txt") s = [] for i in file.read(): if i.isdigit(): s.append(i) z = ''.join(s) print("%s"%(z))
[ "909967625@qq.com" ]
909967625@qq.com
00b84a015ac3838c84bd2bf660064f6dca0e0b28
ded1487d26131c20af9fb92759c156ea6155e417
/DeV/AQPG/qnppr/migrations/0012_auto_20190329_0944.py
d937759cf72fd7684a7a45233dbff249e8fc60df
[]
no_license
a2jj2k/MCA-MainProject
7b937a02249329ed2a4c70aa1aae41ee23a0807c
911add4497fcf1d704240193a92c82a1b4783d22
refs/heads/master
2020-04-24T02:17:58.331292
2019-05-12T16:01:42
2019-05-12T16:01:42
171,631,869
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
# Generated by Django 2.1.5 on 2019-03-29 04:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('qnppr', '0011_blooms_lvl_tbl'), ] operations = [ migrations.RenameModel( old_name='Blooms_lvl_tbl', new_name='...
[ "a2jj2k@gmail.com" ]
a2jj2k@gmail.com
644365bf21a624523eac05688e4918fd2300f719
7305b8fcb303b9295b6aedaa90add4abf07e2f58
/rgcn/plot.py
7988045dfec030335f56d6546b941167ae90dcd0
[ "MIT" ]
permissive
uwsampl/sparsetir-artifact
2c69dfb0321853b526b883c9d7160e5d6ed6d72f
86b93192eda8ba3022c771b6a84e891d1ac53bc1
refs/heads/main
2023-04-17T23:02:34.167712
2023-02-18T15:26:06
2023-02-18T15:26:06
471,216,066
16
2
MIT
2023-02-15T10:27:46
2022-03-18T02:52:57
Python
UTF-8
Python
false
false
1,989
py
from sparsetir_artifact import plot prelude = """ set loadpath '~/gnuplot-palettes' load "blues.pal" set terminal postscript "Times, 20" eps color dashed size 8,2.5 set style fill solid 1.00 border lt -1 set xlabel "Dataset" font "Times, 24" offset 20 set multiplot layout 1, 2 """ text = """ set title "Speedup" fon...
[ "expye@outlook.com" ]
expye@outlook.com
7bc4aca3786342718ac19d3cf036d249e8b025a1
e6d862a9df10dccfa88856cf16951de8e0eeff2b
/VMS/core/python-aiohttp/api_server/models/person.py
47ed159f8bd6e87bf16eaad232b627a25976f722
[]
no_license
AllocateSoftware/API-Stubs
c3de123626f831b2bd37aba25050c01746f5e560
f19d153f8e9a37c7fb1474a63c92f67fc6c8bdf0
refs/heads/master
2022-06-01T07:26:53.264948
2020-01-09T13:44:41
2020-01-09T13:44:41
232,816,845
0
0
null
2022-05-20T21:23:09
2020-01-09T13:34:35
C#
UTF-8
Python
false
false
5,846
py
# coding: utf-8 from datetime import date, datetime from typing import List, Dict, Type from api_server.models.base_model_ import Model from api_server.models.link import Link from api_server import util class Person(Model): """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator....
[ "nigel.magnay@gmail.com" ]
nigel.magnay@gmail.com
adc1c108934eaaa507d12242c871f1efd7fc4573
5c99b7c39e538cad80da49f21815120f1c547285
/window/Window_2/gui.py
fc325505829e5dffca080f4d470722537aa8b9d9
[]
no_license
christopheradriankusuma/face-recognition-dti
7c3eaf145172f82ae672c7eaf656cbcc42e75434
a6721bf37869429ac438d7e407d6ed8248f085ef
refs/heads/main
2023-08-12T18:48:14.598112
2021-09-17T09:16:38
2021-09-17T09:16:38
402,373,446
0
0
null
null
null
null
UTF-8
Python
false
false
2,363
py
# This file was generated by the Tkinter Designer by Parth Jadhav # https://github.com/ParthJadhav/Tkinter-Designer from pathlib import Path # from tkinter import * # Explicit imports to satisfy Flake8 from tkinter import Tk, Canvas, Entry, Text, Button, PhotoImage OUTPUT_PATH = Path(__file__).parent ASSETS_PATH ...
[ "2dava.aditya21@gmail.com" ]
2dava.aditya21@gmail.com
d302aaee20a1f34b79c85492e6c660c1b7a60229
f443a7ab85f6eb99cc2466f147843faed0c2efd8
/fivelayerssoftmax.py
0488df1ccb7e1f73182d270249eb104271bca015
[]
no_license
chaichai1997/deeplearning-tensorflow
40d09a3c13518e0634ffebc1260add7b6fab80b9
1d75b759868ad0775ab8432d4828dc2448fcb882
refs/heads/master
2020-06-30T07:24:17.398378
2019-08-04T02:33:13
2019-08-04T02:33:13
200,765,504
0
0
null
null
null
null
UTF-8
Python
false
false
2,961
py
# -*- coding: utf-8 -*- import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data import math logs_path = 'log_simple_stats_5_layers_sigmoid' batch_size = 100 learning_rate = 0.5 training_epochs = 10 mnist = input_data.read_data_sets("/tmp/data", one_hot=True) """ 构建网络架构,即构建图 """ # x为28*28的图像...
[ "1224816105@qq.com" ]
1224816105@qq.com
b43bfbde74dfb1e4282a5a206b99e90b7bfb01eb
508888703db9d9a9efdb0f2a10746e5f74e5a621
/HelloPython/day02/mytest03.py
ee62d5301824fda11c138703b391b3bf769b8f49
[]
no_license
HYEONSEONG-KIM/Python_Study
029d94f86dce7ab4e7609619be0559fbf48539f4
f670738ab82fff707a8c606c7386570e11111f0e
refs/heads/main
2023-06-07T00:15:29.013028
2021-06-30T11:16:41
2021-06-30T11:16:41
374,870,122
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
# 1~1000사이의 숫자중 3의 배수가 아닌 숫자의 합 a = range(1,1001) sum = 0 for i in a : if not i % 3 == 0 : sum += i print("sum : ", sum)
[ "kimgustjd@naver.com" ]
kimgustjd@naver.com
34aa53215a9d1643be8560e70d1a1f86590d4f04
3d2e37362ee099e143837d27f859db557fb3569d
/locustfile.py
5aa16a8974ef9a1d098e18c7bf132f5641cbcfee
[]
no_license
theBang/benchmark_servers
2243f82f44fddf6e71c18b5ba1815882b7f8bc73
cd7e32768922fe296ed9dd1bbf74182d4d31365d
refs/heads/master
2021-06-28T19:03:41.982503
2021-02-07T11:32:06
2021-02-07T11:32:06
216,529,640
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
from locust import HttpLocust, TaskSet, task, between class UserBehavior(TaskSet): @task def index(self): self.client.get("/") class WebsiteUser(HttpLocust): task_set = UserBehavior wait_time = between(0.1, 0.1)
[ "d.danil.s.96@gmail.com" ]
d.danil.s.96@gmail.com
1042ff1c1f8950808e310a63b9e91b595953caed
46b09a67122070738c231a7398b05a04392a72ae
/waves/permissions.py
247cb55a71fa6da5a0dc31dc0439461292dcbd73
[]
no_license
ayushkr19/Waves2015
c0833ac4752260d3c605685fcd98a6098cc7dcb3
3df0caaac6c36cc8ab831a2d5a82bf1506593ead
refs/heads/master
2021-01-12T21:27:16.594863
2015-07-11T14:01:36
2015-07-11T14:01:36
38,098,054
0
0
null
null
null
null
UTF-8
Python
false
false
2,844
py
from django.contrib.auth.models import Group, User from rest_framework import permissions from constants import * def is_in_group(user, group_name): """ Takes a user and a group name, and returns `True` if the user is in that group. :param user: :param group_name: :return: Bool """ return G...
[ "ayushkr19@gmail.com" ]
ayushkr19@gmail.com
dfbb1e7012facb48d79272c8ef3225248742dc60
9096d1a2c339d9fae8a04887cdeb4062d2e5ac0e
/check.py
16b03fb28c91922ea7208fccb98d84d3f9c31acb
[]
no_license
8wj/telegram-username-checker
68b970646b169c92fb4ddd7457d52a1e7c0d475b
27e86a6d0453fb82d8dc73ffe2815c86aab5bf8e
refs/heads/master
2023-03-18T05:49:40.772322
2020-07-22T12:59:08
2020-07-22T12:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,002
py
from telethon import TelegramClient, sync from telethon import functions, types from telethon import errors import configparser import time import os config = configparser.ConfigParser() config.read('config.ini') id = config.get('default','api_id') hash = config.get('default','api_hash') if id =='UPDATE ME' or has...
[ "noreply@github.com" ]
noreply@github.com
b6c1a3f1e0ce006d9453defe233f1062e31be1a6
4b6ab4d9d8a3e35def45633149cab03a1430ecfb
/my_pytest/my_pytest/urls.py
ee611711be63735dd44762c4a628969b678fef31
[ "MIT" ]
permissive
Anych/pytest_project
d8d7b2f45a05f1042db5195f5d01586d0866510f
6ed90b3688212d0b5f035b0d9761f2cf5f99a82f
refs/heads/main
2023-05-20T13:56:56.103966
2021-06-13T20:33:29
2021-06-13T20:33:29
375,334,155
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
from django.contrib import admin from django.urls import path, include from companies.urls import companies_router from companies.views import send_company_email urlpatterns = [ path("admin/", admin.site.urls), path("", include(companies_router.urls)), path("send-email", send_company_email), ]
[ "anuar123@mail.ru" ]
anuar123@mail.ru
ee98f96da82d17f2de26d2ede7aa9b13a7b0fa32
ef914133e0ade675ae201f7895c50d819180951b
/facebook_real_network_DB.py
2945ea9efb10ccc0b748bfb8e060265939ebc6e9
[]
no_license
vpahari/biconn
b094d6e7e6270f7601fde7de2f4d4528cd80aa20
fd2259dfeb73a39bbdd4e616700f912cec8f17cf
refs/heads/master
2021-06-01T18:54:09.477458
2020-09-22T14:49:48
2020-09-22T14:49:48
136,077,333
0
0
null
null
null
null
UTF-8
Python
false
false
24,833
py
import networkx as nx import networkit as nk import random import sys import math from functools import reduce import csv from operator import itemgetter import matplotlib.pyplot as plt plt.switch_backend('agg') import pickle import igraph as ig import numpy as np import os import itertools import pandas as pd def ge...
[ "vpahari@wesleyan.edu" ]
vpahari@wesleyan.edu
6ee1c96822677c2d6b9ff6eb9aa73b7e48f815ad
afc4224e38f854e5029a7902d60a088ce7d7c848
/neuralnet/accuracytester.py
aa8b220c549aff0e347be7b2265212b12dbbeec5
[]
no_license
cgao3/pnnhex
21e325e308ad6ba8f9adcc15cc1d5bb24a73a175
f3a15fcc50e1d1cc0095ef7dd87ddd28b41a5972
refs/heads/master
2021-01-22T17:28:48.111231
2017-04-05T04:29:37
2017-04-05T04:29:37
61,344,420
3
1
null
null
null
null
UTF-8
Python
false
false
2,480
py
from __future__ import absolute_import from __future__ import print_function from __future__ import division import tensorflow as tf import numpy as np from utils.positionutil import * from neuralnet.rewardml import * import argparse class MovePredictionPredictor: def __init__(self): pass def inferen...
[ "cgao3@ualberta.ca" ]
cgao3@ualberta.ca
7531e89e1734179a83d25ded5b6e323d50d97307
da4724acc9ca930c1cd9135e46d7451f83b3b152
/src/ped.py
c1fa7c874174ff268cb4f796c6caf8945b5789ae
[ "MIT" ]
permissive
SanmathiK/PedNet
605a0a68300251f608a29a849b3210d1806da3aa
fa57939ed93fb2833ad27c0ca16cdfa7cadf7770
refs/heads/master
2020-04-02T03:20:54.471535
2018-11-02T00:20:14
2018-11-02T00:20:14
153,959,766
0
0
NOASSERTION
2018-11-02T00:20:15
2018-10-21T00:19:26
Python
UTF-8
Python
false
false
3,672
py
""" Mask R-CNN Configurations and data loading code for the synthetic Shapes dataset. This is a duplicate of the code in the noteobook train_shapes.ipynb for easy import into other notebooks, such as inspect_model.ipynb. Copyright (c) 2017 Matterport, Inc. Licensed under the MIT License (see LICENSE for details) Writt...
[ "advaitkoparkar@gmail.com" ]
advaitkoparkar@gmail.com
155a44163684e63ac0a0e7d788a5504df4503140
394cfd9f12f7ee450e66ddd79b34d98dcb7eadc7
/lottery/node_modules/scrypt/build/config.gypi
ba2740d16956f50ad1efd032e7e9bce3b9df0d05
[ "MIT" ]
permissive
b33son/Ethereum-Lotto
ec944b1e1b39e614ec065449b5524b06707481e9
2a35d6b317d085eb7d173e2dbda5a75270675313
refs/heads/master
2020-03-07T01:59:07.557439
2018-03-28T21:08:54
2018-03-28T21:08:54
127,198,208
0
0
null
null
null
null
UTF-8
Python
false
false
5,257
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "debug_devtools": "node", "debug_http2"...
[ "b33son@gmail.com" ]
b33son@gmail.com
70348fb97ad843eddf69801e085cf92101d89983
188dad9fd1fb3f368838020b56c8f02b4e94966a
/OOPS/planet_program.py
54f822c5ed52a8a6cef91aa8e0594560fe9523d2
[]
no_license
DhanaPriyaCSE/Intern-Tech-session
9555bb2a47eeb9f6ebd7fdfe610bbc2f7da310f4
a44820f3b720c7bcc85e60652bf6ac03023918db
refs/heads/master
2022-12-10T09:10:27.637530
2020-09-01T16:35:29
2020-09-01T16:35:29
267,530,603
0
0
null
null
null
null
UTF-8
Python
false
false
1,484
py
class planet_program: def __init__(self,planet_name,diameter,no_of_moons,days): self.planet_name=planet_name self.diameter=diameter self.no_of_moons=no_of_moons self.days=days def find_days(self): self.days=(self.days).split() if self.days[1]=='days': ...
[ "yaspriya958@gmail.com" ]
yaspriya958@gmail.com
2f39592286de386f626bd9140765a043ada4ee8f
1a0dca25f9ee8190034210d38a25ff37b7117ccb
/topo/predefined/small.py
31d579e19a09c749bd5bea5b75a6d2d0d5094d79
[]
no_license
PrzemyslawWojslaw/SDN-Testbed
027c421562e96d7579beb25b22ee44cf10a455d2
ebf9a462ae885cdd96600a46581516d2e0f5f69d
refs/heads/master
2023-05-05T03:09:34.082776
2021-05-25T12:00:59
2021-05-25T12:00:59
351,762,311
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
import os from mininet.net import Containernet from mininet.node import Controller, Docker from mininet.link import TCLink # s1 # ______| |______ # s2 s3 # ___| |___ ...
[ "przemyslaw.wojslaw@outlook.com" ]
przemyslaw.wojslaw@outlook.com