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
b92567f6fee076f85955d800f93fd648f213ee28
1afac76706254ad3a30329e7c20464404a350679
/app.py
57175e88d04132aead3c1b1395a79896062b2124
[]
no_license
fmind/composed
85a06549dc94bdfa65847aef0e3dd9037331fdee
3cca3046ebfec35f1ecb295cb4b64661555ae423
refs/heads/master
2020-08-18T20:52:35.761875
2019-10-17T16:03:00
2019-10-17T16:03:00
215,832,577
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
#!/usr/bin/env python3 import time import redis from flask import Flask app = Flask(__name__) cache = redis.Redis(host='redis') def get_hit_count(): retries = 5 while True: try: return cache.incr('hits') except redis.exceptions.ConnectionError as exc: if retries == 0...
[ "fmind@fmind.me" ]
fmind@fmind.me
c0652561063de856a21b2cafab43f4a51934177e
8e12c5e91e6d3f1c3d69a80835315520f39890b9
/word_count.py
ac1f9be6faa4b6901d900af0904a312dfdcb8460
[]
no_license
clemwek/word_count
d67840bbbc8bd26088c92ac54040652e85a4fea9
b6e11cbfa1daddfd815969d7bb165478e31a162a
refs/heads/master
2021-01-11T19:06:10.692564
2017-01-18T11:05:08
2017-01-18T11:05:08
79,317,221
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
"""word count""" # recieve the text # split to words and save in a list # loop thro the list conting and saving the out def words(words): try: words = words.split() dic_out = {} for word in words: if word.isdigit(): if int(word) in dic_out: dic_out[int(word)] = dic_out[int(word)]+1 else: ...
[ "clemwek@gmail.com" ]
clemwek@gmail.com
c4bb979e645dd69f594afabb966031af9569c2a5
210c10bd0abb34a50ace14a24df5f4071dbc3384
/xonsh_cripts/local/console.py
71acc0f2504ac1b82de194e1739b2114379470f7
[]
no_license
MaximilianoRom7/mromay_bashrc
87618ed80f183287c7a13b911c7257b332f557c6
b06e6c83c5f0f32316c4b8cba58bc32685daab2b
refs/heads/master
2020-04-25T19:53:11.448806
2019-06-16T18:45:43
2019-06-16T18:45:43
173,036,193
1
0
null
null
null
null
UTF-8
Python
false
false
655
py
def removeLastNewLine(text): if text[-1] == "\n": return text[:-1] else: return text def pipeArgs(pipe): if pipe: return removeLastNewLine(pipe.read()).split(" ") else: return [] def printDict(d): out = "" if type(d) == dict: for key, val in d.items(): ...
[ "maximilianorom7@gmail.com" ]
maximilianorom7@gmail.com
94a7fa977648e4a740cc016cecbbd3dc3a3494d6
a63b37bdb0359fe004362d20faac0cfbfb052444
/mysite/settings.py
700ed2f41905c21213bcd7e157f0022c588496c5
[]
no_license
Psihiatr/my-first-blog
914522d49588f4a64d5e91111987fba4c0689879
e395cefbd736b0d58d18978845ec0a3ab7104cc8
refs/heads/master
2020-06-26T01:23:38.729972
2019-07-29T15:37:17
2019-07-29T15:37:17
199,481,267
0
0
null
null
null
null
UTF-8
Python
false
false
3,197
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "romapedchenko1997@gmail.com" ]
romapedchenko1997@gmail.com
387948ecb79da7c39d86241dc6c3e02cbe8b89ea
fdedd2a4bae2199618d789c3e6ae4195bfae5f55
/empproject/testapp/models.py
0398b0c3413cc7d22b98827e77c80898852f655d
[]
no_license
sai-goutham/jobs-local
ce59660ab00fecd0f08a17287f41c904c882b34e
2ea8be78295e45d989dc61c7d3c83d5a067cac9c
refs/heads/main
2023-04-17T07:47:33.848948
2021-04-30T06:38:38
2021-04-30T06:38:38
363,036,388
1
0
null
null
null
null
UTF-8
Python
false
false
382
py
from django.db import models # Create your models here. class Employee(models.Model): eno=models.IntegerField() ename=models.CharField(max_length=30) esal=models.FloatField() eaddr=models.CharField(max_length=30) objects=CustomManager() class CustomManager(models.Manager): def get_queryset...
[ "saigowthambhuma@gmail.com" ]
saigowthambhuma@gmail.com
a53dd3997037749bae7b10e90123e9fbcddead6d
67b0379a12a60e9f26232b81047de3470c4a9ff9
/hotline_old/urls.py
87b946473dd6f5a8a73078984128ef492880bb60
[]
no_license
vintkor/whitemandarin
8ea9022b889fac718e0858873a07c586cf8da729
5afcfc5eef1bb1cc2febf519b04a4819a7b9648f
refs/heads/master
2021-05-06T03:35:09.367375
2017-12-20T15:43:08
2017-12-20T15:43:08
114,904,110
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
from django.conf.urls import include, url from hotline import views as hotline_views urlpatterns = ( # Examples: url(r'lastscan/$', hotline_views.lastscan, name='lastscan'), url(r'get_category/$', hotline_views.get_category, name='get_category'), url(r'get_category_data/$', hotline_views.get_category_...
[ "alkv84@yandex.ru" ]
alkv84@yandex.ru
f38f7c7bd758efb2608a137557708d280f3b3a87
d21c79c997ff3ac033fe5fc5e5a646134dd920e8
/demo/utils/get_img.py
e41a9651a84080377da4d67ae547eb9b2b98b55b
[]
no_license
xinghanggogogo/scrapy_auto_proxy
cbc67dacc21974c172fb2071eaea56d87069669f
a7f7b76267f37c12613ab47181988609eb98bc78
refs/heads/master
2021-01-11T18:11:38.124993
2017-01-20T03:11:26
2017-01-20T03:11:26
79,511,246
0
0
null
null
null
null
UTF-8
Python
false
false
766
py
#-*- coding: utf-8 -*- import os import uuid import urllib2 import cookielib import requests import re import urllib from demo.models.ebookmodel import * img_path="/home/xinghang/spider/" def get_img_extend_name(img_url): img_url = img_url.strip() extend_name = '.' + img_url.split('.')[-1] return exten...
[ "xinghang@thunder.com.cn" ]
xinghang@thunder.com.cn
ccc6cddcf213e8e4bbaaeb32c2c9f8a65707c579
1b4816806c16e329e0a6a2a38ce770df796badfe
/AffineGap.py
da7cfabd55b83f0c74e7f370fab7c49152e9a61e
[]
no_license
XueningHe/Rosalind_Sequence_Alignment
45e68c97353c9796c321a0e6aa37c4c2a06dcfcd
c0fbc444d4110670fc66f1a18605fb9d01bfb4b7
refs/heads/master
2022-04-22T01:02:46.212911
2020-04-28T03:46:10
2020-04-28T03:46:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,225
py
import numpy as np scorelist=[] with open("BLOSUM62.txt","r") as f: aalist=f.readline().split() for line in f: scorelist.append(list(map(int,line.split()[1:]))) substitutionmatrix=np.array(scorelist) scoredict=dict() for i in range(len(aalist)): for j in range(i,len(aalist)): scoredict[(aa...
[ "noreply@github.com" ]
XueningHe.noreply@github.com
cdea4de127fe453c1325d0c9fd2518239edddce5
d403a80caa0290c8b4584ecc641e04ac786706b9
/spelling-bee/download_spellpundit_collection.py
967fe0d8ea71dd0c668298a38376268fda6f48ec
[]
no_license
ditojohn/py3-raspi
8a0ddec568db3b3789a03c88f29e14103e0eb603
01dee7631206277c963d7d946d318b2980452532
refs/heads/master
2023-04-17T04:46:09.191497
2021-05-02T20:04:10
2021-05-02T20:04:10
228,090,372
0
0
null
null
null
null
UTF-8
Python
false
false
18,301
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys import time import re import urllib3 from bs4 import BeautifulSoup import traceback sys.path.insert(0, "..") import common.rpimod.stdio.input as cinput import common.rpimod.stdio.output as coutput import common.rpimod.stdio.fileio as cfi...
[ "dito.john@gmail.com" ]
dito.john@gmail.com
fc3c9df607cda43fb98ed8193686c1c6698e35c0
a66b228ce00e02bdc4aca96549402bf56a91a44c
/building_footprint_segmentation/seg/base_factory.py
2714bf18a5a6f292ca87688f39373699015f6258
[ "Apache-2.0" ]
permissive
fuzailpalnak/building-footprint-segmentation
87c5db956c268236a48a05df9335cbb95572bfc2
75f6d6b815efed34f4d7a685dbf616bab18f0f04
refs/heads/main
2023-09-01T11:40:48.886802
2023-08-29T12:35:49
2023-08-29T12:35:49
308,795,139
86
29
MIT
2022-10-25T15:08:48
2020-10-31T03:23:25
Python
UTF-8
Python
false
false
555
py
from typing import List class Factory: def __init__(self): pass def create_loader( self, root_folder, image_normalization, label_normalization, augmenters, batch_size, ): raise NotImplementedError def create_network(sel...
[ "fuzailpalnak@gmail.com" ]
fuzailpalnak@gmail.com
096a1ae7e9f43c211066e65e3cb3d994e8e1bfb2
73e8fdb4db1180085703b0cf827cfa00ce4b3d0d
/cleanup_script/fixit.py
9d3c6423ddaaede734cfacb16642657f24346795
[]
no_license
fredrikbondesson/fredrikbondesson.github.io
228a79c4b5c57ceaa71f88e8602b78ffbf15d47f
6bbb3f93a792b76488c583069b8c9f54aa31d390
refs/heads/master
2023-08-18T18:55:32.366470
2023-08-12T12:12:17
2023-08-12T12:12:17
168,958,719
0
0
null
null
null
null
UTF-8
Python
false
false
2,410
py
import sys def fix_none_in_file(file_name): with open(file_name) as file: # Use file to refer to the file object data = file.readline() prev_value = None buffer = data.rstrip("\n\r") while data: csv_parts = data.split(',') if 'None' in data: if prev_value != None and p...
[ "fredrik.bondesson@gmail.com" ]
fredrik.bondesson@gmail.com
8c9102f127fc0c01936651ac0ed5c50619655c02
b05797c5bc986e15948d82da2faf6ac1eeb1443d
/train_model_v16_3.py
cd0b6b862265bd92b40994d48e12cac8d6916b76
[ "MIT" ]
permissive
vietnamican/Deep-Image-Matting
9b917a789f9322727cc1202b0d8766ae89df4b4d
436487e680027f07387700fb8ee1486635b82335
refs/heads/master
2022-06-18T11:09:28.589312
2020-05-08T16:05:32
2020-05-08T16:05:32
258,257,002
0
0
null
null
null
null
UTF-8
Python
false
false
3,473
py
import argparse import os import tensorflow.keras as keras import tensorflow as tf from tensorflow.keras.callbacks import ModelCheckpoint, EarlyStopping, ReduceLROnPlateau, TensorBoard from tensorflow.keras.utils import multi_gpu_model from config import patience, batch_size, epochs, num_train_samples, num_valid_samp...
[ "vietnamican@gmail.com" ]
vietnamican@gmail.com
407e7c198902553c262116841cbf7fd224dc9674
2b270ab8e9f948ed2076c4eeff3b072d2b7d9bef
/TESTS/shmem_new_test.py
3d3c99e8455478e688288f12f5c5a79d70a7503f
[]
no_license
davidells/pyshmobj
416f8c64700422ee2d8a3edbf6dc42b34c9c48a0
4f8902fbff61078f754c75feae75de4b21d9deda
refs/heads/master
2021-01-13T01:49:38.799951
2012-04-23T02:38:31
2012-04-23T02:38:31
4,108,991
2
1
null
null
null
null
UTF-8
Python
false
false
1,011
py
#!/usr/bin/env python import shmobj, os, sys, time def printCurrentMemUse(): print '' print '=========================' print "Current free mem :", shmobj.freecount() print '=========================' print '' def runtest(testnum): if testnum == 1: l = [] printCurrentMemUse() ...
[ "ells.david@gmail.com" ]
ells.david@gmail.com
43a9c24f0e542a20ef237e8d72c4e66202f8ec62
e73b1ee518c217354927299811ede72e8a7830f8
/tuneInPodcastScrape.py
4f4b82b6215f6e7ff5e3ee8c339e81953ec246e0
[]
no_license
fnets/FindBestRssFeed
4c67f92e7ee062ec33be2ffae989867f12b25852
ecd1d2723c02f483e23780bca707306ce6cb87c4
refs/heads/master
2021-01-15T15:27:17.200203
2016-08-29T22:49:53
2016-08-29T22:49:53
64,054,732
2
0
null
null
null
null
UTF-8
Python
false
false
4,890
py
import sys from selenium import webdriver from bs4 import BeautifulSoup import re #Pre: None, but eventually a string that indicates which podcatcher url to search #Post: Tuple that contains podcast names and their respective categories def tuneinPodcastScrape(inScraperID): #Searches through base URL for podcasts nam...
[ "kingoftherobots@gmail.com" ]
kingoftherobots@gmail.com
c09f52280dc41c5f39ce9079c87c23b2bf529992
d08acb5acc5e1bb6b5ea9cdaa496a78fc155abf5
/main.py
2b8f0a89deecbf5022ad8eb2a3bf38d5e8f7689b
[]
no_license
SushilCodes/myproject
f0d1165ac4341817e25b24d01ad23d945de57acf
819671266bb3e5107f6faf4845f2aea537ee7e8c
refs/heads/main
2023-08-31T16:15:06.214825
2021-10-07T08:15:23
2021-10-07T08:15:23
414,515,824
0
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.uix.button import Button from kivy.uix.textinput import TextInput class MainApp(App): def build(self): self.operators = ["/", "*", "+", "-"] self.last_was_operator = None self.last_button = None ma...
[ "noreply@github.com" ]
SushilCodes.noreply@github.com
43483376de2352910d6792c67cb5d3fb53919eaa
300088546b9fcb8d93ee5c648be8409eb0ea662e
/myapp/models.py
8380ca0ff65cf2ec9112f08bc87696dab4c8fd44
[]
no_license
IshjotSingh97/Interviewbit-Academy-Assignment
6a750bad31917cb5fbcd9b90692bdf5fb2e1576c
ae1894f45961563e55a78d7c00fd5d6ee23eb0c0
refs/heads/main
2023-01-06T21:25:47.424504
2020-11-12T22:01:27
2020-11-12T22:01:27
311,994,520
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
from django.db import models # Create your models here. class Participant(models.Model): useremail = models.CharField(max_length=30) class Interview(models.Model): title = models.CharField(max_length=30) date = models.DateField() starttime = models.TimeField() endtime = models.TimeField() class Schedule(models...
[ "ishjotsinghahluwalia@gmail.com" ]
ishjotsinghahluwalia@gmail.com
de907d3883cd7669c470ba438fea450e34ac4aa2
d31b951902843af0a719fe291c70ec3a5741a96b
/Week4/exercise7_4.py
9a37c09478c9b80f94da99bcd9397dbcac19367e
[]
no_license
bhamburg/CIS_626
ff3298dabb46fc13bb0fbad831c8b3a6f2644208
b4d84a664a2228d07036c3d119fa94cd894bb241
refs/heads/master
2020-03-29T20:07:01.143791
2014-03-06T01:36:29
2014-03-06T01:36:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
# The Fan class # Author: Brian Hamburg SLOW = 1 MEDIUM = 2 FAST = 3 class Fan: def __init__(self, speed = SLOW, radius = 5, color = "blue", on = False): self.__speed = speed self.__radius = radius self.__color = color self.__on = on def getSpeed(self): ...
[ "bhamburg@gmail.com" ]
bhamburg@gmail.com
550046117483a93251737487cfe4c6fc3d6ec916
b13a326c8aac68f72c71169187a4aa8d4fe1438f
/sim2real/info_masker.py
ef54bc6e378d78675bb9531fc2bf42bfd17b16f3
[]
no_license
zy10zm/Pulsar
9f1d9abdf90d94e80c6dba2a02630bfe4b4e2115
714ee2d78577e59077af7c0f890e639879490eb8
refs/heads/master
2023-02-22T20:26:42.995175
2021-01-23T04:35:38
2021-01-23T04:35:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,996
py
import numpy as np import sys from copy import deepcopy from architecture.entity_encoder.entity_formatter import Entity_formatter class InfoMasker: def __init__(self, n_agents, mjco_ts, n_substeps): self.n_agents = n_agents self.mjco_ts = mjco_ts self.n_substeps = n_substeps self...
[ "impeccableaslan@gmail.com" ]
impeccableaslan@gmail.com
a4e3d0bc23d557c65a16e5cc90d7dcb4be6d8711
74ac9f8b3fd6fea863aebd1bc01aff3c23380bc5
/backend/src/loop_client.py
7ecd04bcb679421f30374ff5d2050e5961a26b4c
[ "LicenseRef-scancode-public-domain", "MIT" ]
permissive
horietakehiro/NstPlaycloud
a4715c9465999f8e699b6047ebc9f0b3cb9fd783
56a8461c6bebc3b24850380e0a69e3df4f88a8ee
refs/heads/master
2022-12-27T02:29:40.117492
2020-10-09T10:37:21
2020-10-09T10:37:21
289,490,898
0
0
null
2020-10-05T13:07:18
2020-08-22T13:15:56
Python
UTF-8
Python
false
false
219
py
from transfer.client import transfer_client import time if __name__ == "__main__": # loop client's main function while True: resp = transfer_client.main() print(resp) time.sleep(10)
[ "nashhoward1312@docomo.ne.jp" ]
nashhoward1312@docomo.ne.jp
c94bcc00ec7509cf898b0918d3f0549f5b6a1859
10bdc87263965b798b4db7f62a86ad2df1fcf756
/Valideaza.py
687e31961b37060c9fa79666b865b06af3e74492
[]
no_license
Nechita-Andrei/evenimente
8a78b1269d4b88ae7a4e311cc8fcbaba01621a7d
a84fcfee2fdfb26d2f77c9116cc3cf35ab5494ba
refs/heads/master
2022-04-19T17:27:48.383038
2020-03-13T22:39:08
2020-03-13T22:39:08
247,172,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
''' Created on 13 mar. 2020 @author: bogne ''' from validare.ValidError import ValidError class ValideazaPersoana(object): def valideazaPersoana(self,persoana): erori = "" if not len(persoana.get_id()) == 13: erori += "id invalid!\n" if persoana.get_...
[ "noreply@github.com" ]
Nechita-Andrei.noreply@github.com
9d90ee73151f2714debf72cb43a5a97f3ba9983a
38f06b8e701b53b2659ac6def3c6b24f26d7f0fa
/demo/test.py
f129ef88bb0f188182e64d041b45b76c86b0f1da
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
drapedapp/maskrcnn-benchmark
67626f2fa7aae4bdb1f5d7d0ed93106bb5eb468d
e6494f7b7612cf23b48a57102b03ed0ca530a950
refs/heads/master
2020-05-04T00:17:15.854897
2019-05-16T16:23:56
2019-05-16T16:23:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
from maskrcnn_benchmark.config import cfg from predictor import COCODemo config_file = "configs/caffe2/e2e_mask_rcnn_R_50_FPN_1x_caffe2.yaml" # update the config options with the config file cfg.merge_from_file(config_file) # manual override some options cfg.merge_from_list(["MODEL.DEVICE", "cpu"]) coco_demo = COCOD...
[ "shaayaansayed@gmail.com" ]
shaayaansayed@gmail.com
f65f22ea29aca677ecd69502b311e29eea1efc40
0280fc1aa108b5d8cb73cdb67ba6293ee20d4435
/code/metrics.py
0b03b4448a0fc9d813a9f6807c352994a16258a8
[]
no_license
danielcomerio/2021-SBAI-Covid19_em_RaioX
bd8eee7e2c4f7052a5939ec7f1d6eeed0e459d74
90c981788c6c9b96e2cab15fd3de5c41a1024553
refs/heads/main
2023-08-02T15:06:26.831516
2021-10-02T23:24:37
2021-10-02T23:24:37
360,781,005
1
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
from sklearn.metrics import confusion_matrix, accuracy_score, precision_score, f1_score, recall_score, classification_report import numpy as np import argparse def parse_command_line_args(): parser = argparse.ArgumentParser() parser.add_argument( "-me", "--metrics", help="path to the metrics file", t...
[ "danielhcomerio@gmail.com" ]
danielhcomerio@gmail.com
0a16de60999fd20f560463fbf91ef269d48e50c2
8bb9e879366fe91e5131f36f32784f7310ebb6ef
/Scripts/Breadth_First_Search.py
e1b6eacb7459db6db2cb26cc0702244debb43caa
[]
no_license
rickmunene/Algorithms_And_Data_Structures
af4585aeffdbe1ed02894403b5fbf82476d2fd5c
eb5a12f5012ef3e1e190f06e0cb102046a3af5e0
refs/heads/main
2023-02-20T01:02:32.505447
2021-01-05T09:51:30
2021-01-05T09:51:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
class Node: def __init__(self, name): self.name = name self.adjacency_list = [] self.visited = False def breadth_first_search(start_node): queue = [start_node] while queue: actual_node = queue.pop(0) actual_node.visited = True print(actua...
[ "noreply@github.com" ]
rickmunene.noreply@github.com
a00e26b96aa832dc6274eea833daef5105f4ee2f
085baa87309809725098dcc614d670af6b2f5048
/ref-mac0350/mac0350fase3/atividade/apps.py
73b651708cc7e2f0b6aceeaacb2bd532130f3aa7
[]
no_license
EdyKnopfler/mac0439-fase2
a9a6e1dbca2f7f81356061fc381f6f0d3851fbe3
7d4aa9cb80c90741932c83f6679332e307bbcbb6
refs/heads/master
2020-03-17T19:16:25.034351
2018-05-20T18:57:02
2018-05-20T18:57:02
133,852,866
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class AtividadeConfig(AppConfig): name = 'atividade'
[ "ederson_cassio@yahoo.com.br" ]
ederson_cassio@yahoo.com.br
13117c480aab101095108b73f28b0030d78c8704
010ebe5a10990c6e6bd0063012ec13f3d47c28ab
/tests/notifier/test_keep_alive_monitor.py
1cfc22dd1081c25b15893ad5f64213d58ee4f262
[ "MIT" ]
permissive
amaier17/chiadog
f81dd5da51b3b9f8364d79adb4f6e0c545037781
e927c5806400353dca1401c7cfab9fa7571c03bd
refs/heads/main
2023-07-31T14:21:25.835620
2021-09-19T00:22:42
2021-09-19T00:22:42
407,995,978
1
0
MIT
2021-09-19T00:22:09
2021-09-19T00:22:08
null
UTF-8
Python
false
false
2,175
py
# std import logging import unittest from datetime import datetime from time import sleep from typing import List # project from src.notifier import Event, EventService, EventType, EventPriority from src.notifier.keep_alive_monitor import KeepAliveMonitor logging.basicConfig(level=logging.DEBUG) class DummyNotifyMa...
[ "3739458+martomi@users.noreply.github.com" ]
3739458+martomi@users.noreply.github.com
42131b454a17a5da23811e51276bfadfee0f92f9
36f7dc938fafbca60693119a902b2faedc6a986b
/core/celery.py
c4cc61c55f75d86be31edd9f9e819b633c7cb44d
[]
no_license
okidijimmy200/myShop
53227c8c6aaac91fe6973ca8b61d76d78a22044e
b7d143480c7010660de7d8b95d5af1ccca1bab0c
refs/heads/master
2023-01-28T08:26:33.509357
2020-11-16T12:14:51
2020-11-16T12:14:51
301,716,891
0
0
null
null
null
null
UTF-8
Python
false
false
1,194
py
import os from celery import Celery # set the default Django settings module for the 'celery' program. '''You set the DJANGO_SETTINGS_MODULE variable for the Celery command-line program.''' os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings') # You create an instance of the application with app = Celery('c...
[ "okidijimmie@gmail.com" ]
okidijimmie@gmail.com
010c30d9d1cdf68caf7d9cd6428c9897431cc718
f1961c86e6da14f35c21d7235f4fc8a89fabdcad
/DailyProgrammer/DP20160115C.py
d3eba687e813c8a24053dabb9857a302f2967953
[ "MIT" ]
permissive
DayGitH/Python-Challenges
d4930bdd85cd1a977d8f6192775ca956a375fcde
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
refs/heads/master
2021-01-17T13:01:03.784523
2018-06-29T23:49:04
2018-06-29T23:49:04
58,497,683
2
0
null
null
null
null
UTF-8
Python
false
false
2,519
py
""" [2016-01-15] Challenge #249 [Hard] Museum Cameras https://www.reddit.com/r/dailyprogrammer/comments/41346z/20160115_challenge_249_hard_museum_cameras/ # Description You run a museum, and you have a small budget - but you have to protect the museum with cameras. Given some descriptions of rooms, can you organize t...
[ "akber91@gmail.com" ]
akber91@gmail.com
9c62aa02baa94c29ab3ff9da031a47c148765e2a
7730da1f3f4c59663bd45ae1934dc0867ce5c75c
/src/dao/inspect_task_dao.py
ccef139d2b18baf6e62cd60378c0c32b7a77956a
[]
no_license
mengshanxi/spider
55d8bbc23d5fbd97df4e87b956fee35d4aabb178
1f9262a4fa64459fbd2474a7f5849b63cb960271
refs/heads/master
2022-12-08T16:24:44.118186
2020-07-09T14:37:41
2020-07-09T14:37:41
136,481,034
1
0
null
null
null
null
UTF-8
Python
false
false
274
py
# coding:utf-8 from dao.db import session from model.models import InspectTask class InspectTaskDao(object): @staticmethod def get_task(task_id): inspect_task = session.query(InspectTask).filter(InspectTask.id == task_id).one() return inspect_task
[ "13811668973@163.com" ]
13811668973@163.com
48147c01632bf43930c50ac32358fe0ca0faab7e
eeeb4d5fb7f47af61229ac7b5c55e5b9400d5510
/authsystemproject/manage.py
847ce7776b639a9d76ac5dbe1e8bbcc3b171d455
[]
no_license
collinskoech11/authsystemproject
050ba9f5239e7676f49ee080bf4cec56bddb9c8d
8b5e95de03fc0f92332dbfa3ac0c0c023cbe80ee
refs/heads/master
2023-06-15T15:40:01.359428
2021-07-11T11:23:20
2021-07-11T11:23:20
378,850,989
1
0
null
null
null
null
UTF-8
Python
false
false
673
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'authsystemproject.settings') try: from django.core.management import execute_from_command_line e...
[ "collinskoechck34@gmail.com" ]
collinskoechck34@gmail.com
bd64d6030520ad84c31f801060f2e22635741ca1
935c3650a6572ade2d06756ab1a53d4b9b2973a8
/train_svm.py
3cd18b1abb94f826392e13b5dee8083dc810ee5a
[]
no_license
impetusengine/Robo_ND_Perception_Project
2b1eabb4a446a285f0676eb419453a012eb33ee5
a7dc07828fbbf32a727f43d1806787e1688212f4
refs/heads/master
2021-04-30T15:03:57.182186
2018-02-13T11:18:17
2018-02-13T11:18:17
121,231,327
0
0
null
null
null
null
UTF-8
Python
false
false
4,353
py
#!/usr/bin/env python import pickle import itertools import numpy as np import matplotlib.pyplot as plt from sklearn import svm from sklearn.preprocessing import LabelEncoder, StandardScaler from sklearn import cross_validation from sklearn import metrics from sklearn.ensemble import RandomForestClassifier def plot_co...
[ "noreply@github.com" ]
impetusengine.noreply@github.com
ae363a1608b3f973d17f7f341e063c4143b48008
646862bcc35e43c58f2fd6ffbfed7dff5449bec5
/Project-6/build_23.py
2e115c719cc0b90eedcd8563d555784e599a4f75
[]
no_license
kkdave28/Informatics-102-Spring-2018
09fe49ec640dd6e2cac7ebffd6bb60dc288a3ee2
572cd4a94a3d015ad4f68679c6d855e511a850a4
refs/heads/master
2020-03-08T07:51:09.651945
2018-05-25T22:20:15
2018-05-25T22:20:15
128,005,214
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
#!/usr/bin/env python def main(): proces = "Do no compilation" main()
[ "kkdave@uci.edu" ]
kkdave@uci.edu
3297b38452a0268a4dda64536361fbee8512ea7f
179a800968fa260558807a5eaad00977ae2b0260
/test.py
6d203d238988e6e5827359de4f17ea890a2dd405
[]
no_license
gupta93/app_simulator
c0d3c05845952a65e546d4bd62c41faa573bf7e3
94f67377e2a399e84c93b4bc34d7a3cd13cd37bb
refs/heads/master
2021-01-23T14:18:18.505808
2017-06-03T13:51:31
2017-06-03T13:51:31
93,251,218
0
0
null
null
null
null
UTF-8
Python
false
false
3,971
py
from odyssey.v2.precomputations.functions import precompute_agent_location_snapshot from odyssey.v2.precomputations.functions import precompute_dr from odyssey.v2.precomputations.functions import precompute_drm from odyssey.v2.precomputations.functions import precompute_member_data from odyssey.v2.precomputations.func...
[ "tushar@loktra.com" ]
tushar@loktra.com
181f341b896016c1f672560c2623e19da3e7c974
754ac8f084839c9c42a38c3e6541140984792600
/lib/utils.py
0e00b50d6f8c2f45f552ce1430e3d0b5a708057d
[]
no_license
chihfenl/spark-practice-mm
356da941576094aa816072d6bf617e33c16d8ecf
a5c0d8df74f84cdfe7d85fabd114426c5a5a8537
refs/heads/master
2021-06-20T00:07:39.132916
2017-06-26T17:43:36
2017-06-26T17:43:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
import os import sys def remove_timestamp_within_time_range(timestamp_list, second_of_range): result = [] timestamp_list = sorted(timestamp_list) if len(timestamp_list) > 1: current_timesatmp = timestamp_list[0] group_start_index = 0 while current_timesatmp: end_time ...
[ "chihfeng.lin@bomoda.com" ]
chihfeng.lin@bomoda.com
be8c32790f5c70150a3f641ba5a23666ce857a6f
cdd33a31d5b57a4a02803dded5e96a815fbb06d7
/examples/dagster_examples/intro_tutorial/serialization_strategy.py
828ccd9259a3982d5d826585b2dfb8b6f2819126
[ "Apache-2.0" ]
permissive
david-alexander-white/dagster
4f177c167150316a5056901aa2522ab778d1d163
1c341500bb2380e14873b59b7e25503270188bda
refs/heads/master
2020-12-07T04:40:02.676080
2020-01-06T17:37:40
2020-01-07T22:19:01
232,633,648
1
0
Apache-2.0
2020-01-08T18:42:28
2020-01-08T18:42:27
null
UTF-8
Python
false
false
2,132
py
import csv from dagster import ( SerializationStrategy, dagster_type, execute_pipeline, pipeline, solid, ) class CsvSerializationStrategy(SerializationStrategy): def __init__(self): super(CsvSerializationStrategy, self).__init__( 'csv_strategy', read_mode='r', write_mode='...
[ "max.gasner@gmail.com" ]
max.gasner@gmail.com
f4a5f6929002096e27657e7a177ea188152b21f7
a10bd7af354d1aeef13ebfd786fc9e8054b661b6
/ely_db/energia/.migrations/0001_initial.py
d86307935cae47da3ea9515136adb5427099f5d9
[]
no_license
xtornasol512/djdbmysql
b2bea1cde172a34bebb9cb82c7306d6a9f436e15
05d263899410662d9854cb788b3c018b3cb4f72a
refs/heads/master
2021-01-10T01:12:07.710385
2015-10-22T10:16:05
2015-10-22T10:16:05
44,737,669
0
0
null
null
null
null
UTF-8
Python
false
false
4,507
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Compra_de_Plutonio', fields=[ ('id', models.Aut...
[ "xtornasol512@gmail.com" ]
xtornasol512@gmail.com
6ffbcb87ba74b9993f4633ebf8df5139e8f479c8
b7e4b737b41d74ff9070246a6d2d3f39a3395016
/stuff/notes/lambda-course/test.py
12b507b96eecef584b08efce7149816216ab2f09
[]
no_license
sanjay51/ixtutor
52ac8f03215bbaedf91cf85e973f0700ca9ad624
0c0a18bc656c79633d45de28bbc6bcde12370462
refs/heads/master
2021-01-18T20:07:46.506728
2017-01-08T18:48:17
2017-01-08T18:48:17
86,939,397
1
0
null
null
null
null
UTF-8
Python
false
false
294
py
# createCourse { "httpMethod": "GET", "queryStringParameters": { "operation": "createCourse", "category": "ProgrammingLanguage", "title": "Some title here", "oneLineDescription": "Learn some basics", "description": "This is a detailed description", "author": 1 } }
[ "sanjay.verma.nitk@gmail.com" ]
sanjay.verma.nitk@gmail.com
b27fcba9d4de8591a010f9aadd890add6f1a1202
1eb4645a93dc50e3075d70207271ab69584204f1
/python/imp-finding_percentage.py
ee1994b9f9b2f9ba1415493bcefecdef96d40fa9
[]
no_license
towfeeqfayaz11/hr_python
4c4a5cb2b53b10909dc6c602e01c448498c3a187
8070cb940afdca3d6eabccb543b5c3219254584b
refs/heads/master
2023-06-20T06:17:17.029982
2021-07-11T15:37:59
2021-07-11T15:37:59
343,180,961
0
0
null
null
null
null
UTF-8
Python
false
false
1,681
py
# Problem: Finding the percentage ==> easy # The provided code stub will read in a dictionary containing key/value pairs of name:[marks] for a list of students. Print the average of the marks # array for the student name provided, showing 2 places after the decimal. # Example # marks key:value pairs are # 'alpha':[2...
[ "towfeeqpandith@gmail.com" ]
towfeeqpandith@gmail.com
04b01957fe6d7f618c2f1fcb9e8494f21ae08e21
bf0f5c9d5e25bb914e85e554e25a5aafac99190b
/node_modules/watchpack-chokidar2/node_modules/fsevents/build/config.gypi
49706aafc965e4f438ddeb0c5230a0c7523f61ca
[ "MIT" ]
permissive
Rambeur/ecom
08c34b4431cca2f4344be4cc62f001b59c5415ad
f934ccbd99d0291c495b3c211a38b678b31fdb7f
refs/heads/master
2023-01-02T01:01:24.685910
2020-10-25T18:26:07
2020-10-25T18:26:07
307,163,812
0
0
null
null
null
null
UTF-8
Python
false
false
5,586
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, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "ilyesta@tv.home" ]
ilyesta@tv.home
1b428c6ad3ee2b764e07fa843b655e12c297c4ea
ec8de5a02d21039378b3ec2ad6fedaa19a687848
/wedding-api/wsgi.py
f99079dfcd6bc184960f72d6001b854538b1056b
[]
no_license
jmteachw/wedding-api
5ab3e57a0c9a472153bf6363f8cfe3f2481213bb
a54a984a6814ac15391c4a3bf4db370a452cab9d
refs/heads/master
2021-01-12T07:48:14.209675
2017-01-18T06:50:20
2017-01-18T06:50:20
77,021,904
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for wedding-website project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
[ "jmteachw@gmail.com" ]
jmteachw@gmail.com
def49f0d082ac8dd74588d5dc0c9db9abd6c2ae3
cc24b10be9777e468a1f28fed3a31c69c196be75
/noShut.py
6eca8c0fa702765fe29eb0d26c358831d165d94c
[]
no_license
aragon217/FYP2
96e0b50cd7eabcdc1d4e092fc79e3c69d569a33c
a6c3530c7096e46eb32aa4f89cafe443e5dc5c6f
refs/heads/master
2022-09-08T02:58:05.539589
2020-05-31T05:25:47
2020-05-31T05:25:47
268,211,119
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
import telnetlib HOST = "192.168.0.253" user = "openmsa" password = "openmsa" tn = telnetlib.Telnet(HOST) tn.read_until("Username: ") tn.write(user + "\n") if password: tn.read_until("Password: ") tn.write(password + "\n") tn.write("enable\n") tn.write("openmsa\n") tn.write("conf t\n") tn.write("int range f0/...
[ "noreply@github.com" ]
aragon217.noreply@github.com
ac1e65d6ba22327dfbba49ea03abaa36615b3d8c
71e5024bc713ff00cd844c6ddfd077facaf3b4b9
/bin/rst2pseudoxml.py
875e97baaba33c562eddd23c147e0d64d87a0e00
[]
no_license
jonathanbglass/cloudauditor
a3fb11d418ec6a081950e51b5c8235aafb6e7f78
af8785d706769c0e91d95fbb2669784ed12c14bd
refs/heads/master
2022-08-20T00:56:08.631504
2022-08-01T18:53:01
2022-08-01T18:53:01
118,145,645
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
#!/Users/jonathanglass/Documents/GitHub/cloud-auditor/bin/python3 # $Id: rst2pseudoxml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing pseudo-XML. """ try: ...
[ "jonathan.glass@gmail.com" ]
jonathan.glass@gmail.com
0c1fb16b5f3f3ba3bb88adf40b93e17a430c3e47
1bedf297e77b78a43fa375eb11651620b009941b
/liumin_kmer_counting.py
aa3eacdf7a1b33b4a243dfb58ef298e13a51f971
[]
no_license
JM-SONG/CommonScript
28ee9a2cde8bcc91a884b526e6150bb8cc40df8a
d4ba0a7495b7b34d2348a1454bf724dbb5d8a00c
refs/heads/master
2022-12-05T00:31:29.783959
2020-08-25T01:05:36
2020-08-25T01:05:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,565
py
#!/usr/bin/python """ disk limit= 200Mb && memory limit= 1Mb how to run this program: python liumin_kmer_counting.py inputfile > outputfile i don't know how to calculate time and space complexity. the memory usage is about 8 Mb, a little higher than your requirement of 1Mb. """ import os import re impor...
[ "noreply@github.com" ]
JM-SONG.noreply@github.com
3e0338ea79cadaaa033b19f89912a98516766a16
47c9aa780be7a08acf40eb24d72b8c801251692b
/rango1/urls.py
72a7a6df9f9ef9d9f707c791d59efe330d35e6e6
[]
no_license
rashmigj/tango_with_django
3643323bd713325ec63c93267cfc4ffa78f84083
2d510f124aa91bd32690d29a001d029199c85a13
refs/heads/master
2016-09-05T22:22:47.940730
2015-01-04T15:04:04
2015-01-04T15:04:04
28,739,606
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from django.conf.urls import patterns, url from rango1 import views urlpatterns = patterns('', url(r'^$', views.index,name='index'), url(r'^$',views.about,name='about'))
[ "grashmi033@gmail.com" ]
grashmi033@gmail.com
f4cee504154a3351775c06de6e22a4212988559f
33a50bb13812090a36257078522b798762978c66
/cron/test_shell.py
9a9c93cabc353d977c3d9190769ca1f8e911b557
[]
no_license
aa3632840/quanlin
52ac862073608cd5b977769c14a7f6dcfb556678
2890d35fa87367d77e295009f2d911d4b9b56761
refs/heads/master
2021-01-10T22:05:14.076949
2014-10-25T02:28:15
2014-10-25T02:28:15
23,178,087
1
0
null
null
null
null
UTF-8
Python
false
false
455
py
from django_cron import CronJobBase, Schedule from django.utils import timezone class MyCronJob(CronJobBase): RUN_EVERY_MINS = 0.01 # every 2 hours MIN_NUM_FAILURES = 1 schedule = Schedule(run_every_mins=RUN_EVERY_MINS) code = 'cron.my_cron_job' # a unique code def do(self): cur_time ...
[ "262708239@qq.com" ]
262708239@qq.com
b03101e01ea2f609fc8ed3698be1e5a1f2bd4d05
5650fa4c2fc3d1758f942695e2fb16d41fb29729
/build/env/bin/avro
0ba2ade604e38488f27440b86c727e60b000bd16
[]
no_license
2CloudMan/cloudbim
9c0453bf06488c19d76559d0c49e7379cca41408
9cb19ace35fa4eefd0be022aa81d2f9d8741b801
refs/heads/master
2021-01-18T20:21:45.964969
2015-06-05T10:42:55
2015-06-05T10:42:55
32,972,220
0
0
null
null
null
null
UTF-8
Python
false
false
201
#!/home/linmiancheng/workplace/hue/build/env/bin/python2.7 # EASY-INSTALL-SCRIPT: 'avro==1.7.6','avro' __requires__ = 'avro==1.7.6' import pkg_resources pkg_resources.run_script('avro==1.7.6', 'avro')
[ "linmiancheng@gmail.com" ]
linmiancheng@gmail.com
a54520cdd4fddc633ac22c39ffd1aa72ee4c1608
e0c54f49f06d012a646c2d697407799246621193
/data/parsers/reqparse.py
76ce74c8fc0ab0bd8e3870085e04427ae4d118dc
[]
no_license
PereverzevIvan/WEB.-REST-API.-Flask-restful
f27a672d323be2b8c5f69e0ce4f1c9a707ed5f38
6532526cff999ea5b268ed5c11dce8cf10b13f48
refs/heads/master
2023-04-14T13:18:20.272670
2021-04-25T07:06:35
2021-04-25T07:06:35
361,356,046
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
from flask_restful import reqparse parser = reqparse.RequestParser() parser.add_argument('title', required=True) parser.add_argument('content', required=True) parser.add_argument('is_private', required=True, type=bool) parser.add_argument('is_published', required=True, type=bool) parser.add_argument('user_id', require...
[ "peregh320@gmail.com" ]
peregh320@gmail.com
9abe33a607c5ae88af71aa7a742d0b3f593e3597
1719920a92f7194766624474b98d59ef8d6eddaf
/models/media_content_rating_france.py
8675202caaa97ccbeaea25f8787eb1a16fa455e4
[ "MIT" ]
permissive
MIchaelMainer/msgraph-v10-models-python
cfa5e3a65ba675383975a99779763211ed9fa0a9
adad66363ebe151be2332f3ef74a664584385748
refs/heads/master
2020-03-19T12:51:06.370673
2018-06-08T00:16:12
2018-06-08T00:16:12
136,544,573
1
0
null
null
null
null
UTF-8
Python
false
false
2,116
py
# -*- coding: utf-8 -*- ''' # Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. # # This file was generated and any changes will be overwritten. ''' from __future__ import unicode_literals from ..model.rating_france_...
[ "mmainer@microsoft.com" ]
mmainer@microsoft.com
2e672049167250d9c0ec7bb4b0659a8991fb65f1
565548ff49844ed69ae16d5104e500f01c973402
/app/public/__init__.py
4bff15b2e7e74f5ac529b2953da9c4906c389912
[]
no_license
jaisenbe58r/Pebrassos
159ce5a8b372590fd9368d9b5b3c1b0513895bba
7516a1f7bbba78547af86a9858ee381224964d28
refs/heads/master
2023-02-27T05:42:50.652697
2021-01-31T20:57:59
2021-01-31T20:57:59
299,698,630
3
1
null
2021-01-31T20:58:01
2020-09-29T18:04:36
Jupyter Notebook
UTF-8
Python
false
false
389
py
"""Copyright (c) 2020 Jaime Sendra Berenguer & Carlos Mahiques Ballester Pebrassos - Machine Learning Library Extensions Author:Jaime Sendra Berenguer & Carlos Mahiques Ballester <www.linkedin.com/in/jaisenbe> License: MIT FECHA DE CREACIÓN: 24/05/2019 """ from flask import Blueprint public_bp = Blueprint('pu...
[ "jsendra@autis.es" ]
jsendra@autis.es
bb3a596fe8a8d6301b6a67454377963e4c115404
daf916c1bf36798163dcae61c9ac6632ff698d1e
/그래프/6087.py
d683ddd93310c7caf7985368cc36124710715798
[]
no_license
Chockchockhancookie/Algorithm
c9175163cb2f135a869a43ccb4c084f96fb4a112
7c50352349cabf5a89d15fb354ffd9d6967764c0
refs/heads/master
2023-08-14T01:00:25.755088
2021-09-14T14:41:35
2021-09-14T14:41:35
375,382,867
0
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
from collections import deque import sys input = sys.stdin.readline INF = int(1e9) def bfs(x, y): distance = [[INF] * m for _ in range(n)] distance[x][y] = 0 queue = deque() queue.append((x, y, 9, 0)) while queue: a, b, direct, count = queue.popleft() for i in range(4): ...
[ "mellow3632@naver.com" ]
mellow3632@naver.com
d4485078cbfce8f4b623cb39389f6e95a6c819a9
2b32e6768855670b0f063ae489259b141b154174
/products/views.py
2ce82b4459ea658e679973334b5e5a2c06e392ef
[]
no_license
mahinm20/Product-Hunt-Clone
22f749316f56f813f98e078b3f17769234cbecf0
1e1a848537f38fa80d484eb59d923387d3c585f5
refs/heads/master
2021-05-26T11:31:43.887425
2020-04-08T14:56:01
2020-04-08T14:56:01
254,114,222
1
0
null
null
null
null
UTF-8
Python
false
false
2,895
py
from django.shortcuts import render, redirect, get_object_or_404 from django.contrib.auth.decorators import login_required from .models import Product from django.utils import timezone # Create your views here. def home(request): products= Product.objects return render(request,'products/home.html',{'products':...
[ "mahinmalhotra20@gmail.com" ]
mahinmalhotra20@gmail.com
de9ac930786b7d2b59650281ba254b3487f336a7
dce4dc9a1901e70a762af3fc29e977bd90f7fb43
/src/readfiletest.py
9eebc80701a2484c1078e7383a4760c4da116dbc
[]
no_license
helenahilander/data-visualization-gui
1d39d5819b8ff70640db82f9dbc1ce710e2f7029
484cacb05c01cb4e3d66861533bc2bef785ccb39
refs/heads/master
2020-09-07T00:55:10.716957
2019-11-13T10:14:05
2019-11-13T10:14:05
220,608,565
0
0
null
null
null
null
UTF-8
Python
false
false
3,905
py
""" The module explainded: readfiletest.py is a module for testing the ReadFile class unvalid file formats. """ import unittest from io import StringIO from datareadingerror import DataReadingError from readfile import ReadFile class Test(unittest.TestCase): #testing with a header w...
[ "noreply@github.com" ]
helenahilander.noreply@github.com
07d604687d9869027af164e421711abf029e911e
1f71f4e41c6aa789f7f5481bc369b852f9ac8eab
/cvat-sdk/cvat_sdk/core/proxies/jobs.py
4c6047edf883f80cfa84967319f5e596bb0fdec7
[ "MIT", "LGPL-2.0-or-later", "GPL-1.0-or-later" ]
permissive
shalevy1/cvat
2c7e041fa4c8b9a5166894b3ae5e7c28df5d8ae3
912e47e56c772eb6c2fb5b32f898b029a985fdfc
refs/heads/develop
2023-02-13T23:05:15.428038
2023-02-08T16:08:52
2023-02-08T16:08:52
200,596,810
0
0
MIT
2023-01-27T08:48:21
2019-08-05T06:39:24
TypeScript
UTF-8
Python
false
false
5,516
py
# Copyright (C) 2022-2023 CVAT.ai Corporation # # SPDX-License-Identifier: MIT from __future__ import annotations import io import mimetypes from pathlib import Path from typing import TYPE_CHECKING, List, Optional, Sequence from PIL import Image from cvat_sdk.api_client import apis, models from cvat_sdk.core.downl...
[ "noreply@github.com" ]
shalevy1.noreply@github.com
baa584d709e3e9f8873f169168c932580fee809d
918cde4a00ba0aaf4bdce92b5767a5353ca75f15
/destination_prediction_porto/claster_dbscan_OD.py
7c99a712288acef1d2380a16f7f4c4e10f885724
[]
no_license
haocdp/trajectory_handle
112a74eecd3f040bbadf30a485fcaeb922bd8519
89a68f8f930cca4a4a9f14ead1b234efe06a6479
refs/heads/master
2022-01-15T08:48:37.512374
2019-05-09T07:36:01
2019-05-09T07:36:01
155,372,147
2
0
null
null
null
null
UTF-8
Python
false
false
2,646
py
# !/usr/bin/env python3 import numpy as np import matplotlib.pyplot as plt import json import time from sklearn.cluster import DBSCAN from sklearn import metrics from collections import Counter from ast import literal_eval import csv linux_path = "/root/TaxiData_Porto" window_path = "K:/毕业论文/TaxiData_Porto" file_path...
[ "1134675798@qq.com" ]
1134675798@qq.com
a8a9b73dd22b86c1ad0d7bc1ed452cc1a6766292
840526f024ca1653b1d8c3be1afa883f23c40616
/0x0A-python-inheritance/1-my_list.py
29533b3718e30cd3d383686a2067c682b8840e9d
[]
no_license
gotarazo/holbertonschool-higher_level_programming
1bc414f2cf5ac92321e5cf517f065dc0b5827c65
45b002ca769d8d656e5e69d1a6289f3b93b0fb56
refs/heads/master
2023-03-11T05:17:16.567731
2021-03-03T05:01:48
2021-03-03T05:01:48
319,824,353
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
#!/usr/bin/python3 """Defines the extended version of list""" class MyList(list): """Represent a extended version of MyList""" def print_sorted(self): """Print the list but sorted (ascending sort)""" print(sorted(self))
[ "2272@holbertonschool.com" ]
2272@holbertonschool.com
f0a944154f5896ac8f4bd18c9a2c110cba079dcf
3c58732a68a08738c01dda0157699e1361886abc
/common/core/output.py
3c7d2bf5393e583a055f4e5efa05d290dd6de88e
[]
no_license
heewinkim/zappa-framework
4c3449ef6d616ad6b74aae08afb695f0407f7e94
bfa9af932014f0906143194b0bd3fe4cd2fb5112
refs/heads/master
2020-11-23T20:01:01.463002
2019-12-13T09:21:13
2019-12-13T09:21:13
227,800,247
2
0
null
2019-12-13T09:21:42
2019-12-13T09:11:44
Python
UTF-8
Python
false
false
6,142
py
# -*- coding: utf-8 -*- """ =============================================== output module =============================================== ========== ==================================== ========== ==================================== Module output module Date 2019-03-26 Author hian Comment `관련문서링크...
[ "heewin.kim@gmail.com" ]
heewin.kim@gmail.com
2e97e9e87c5e325f0bfa0da62d4b18fee2b245e1
6a8def58463c194c1da44a4add13f887aec15251
/app.py
82c85c623734133630e91fae54de59d30fc9ab86
[]
no_license
mykey007/python_learning
8329b5f6042fddd0f8ee3c71a5ebc903aa899979
8993f968d04b1d42836f3e2106e27e9a9ee633c4
refs/heads/master
2020-03-27T20:10:58.648940
2018-09-02T03:55:55
2018-09-02T03:55:55
147,046,034
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
character_name = "dink" character_species = "cat" character_age = "14" print(" /\\") print(" / \\") print(" / \\") print("/______\\") #print(len(character_age)) #print(89 * 4322234) #name = input("Type your name!") #print("Hi" + name) #num1 = input("Enter a number:") #num2 = input("Enter another number:") #res...
[ "mmallowe@gmail.com" ]
mmallowe@gmail.com
6e6a4f6d6ad6874670c092f9a00f1ea32ee4f4db
d8e42e90bcadc5f821577149e4c9f869da77acc8
/tensorpack/input_source/input_source.py
88cdcb004ccae12684af7364d5970a22fe7fd48c
[ "Apache-2.0" ]
permissive
VladMiryaha/tensorpack
10431dbf2d727eca9a98fc6e2185d18e65a1b665
fe33c8338c58b5aca2f13463de827cbd582b6bf1
refs/heads/master
2021-03-31T02:15:26.748820
2018-03-13T09:43:18
2018-03-13T09:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,427
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # File: input_source.py import tensorflow as tf try: from tensorflow.python.ops.data_flow_ops import StagingArea except ImportError: pass from contextlib import contextmanager from itertools import chain from six.moves import range, zip import threading from .in...
[ "ppwwyyxxc@gmail.com" ]
ppwwyyxxc@gmail.com
11b00cf27e6a9fee9230b5a1559295209753ad1c
f2ae5eb0ef13040c9311be57b59c4998c33280d7
/fintech/fintech/spiders/其他/aiq_ml.py
c690dbfd5134665ac36a12f7cafcab2674f906d9
[]
no_license
ReggieFan/spider
70f1ec49b01201b3a4d2f2abc051915ca0f9aec2
68be9032897f8911ed0fc94d8cb90115937a7d44
refs/heads/master
2020-07-06T13:06:18.264650
2019-08-18T16:08:43
2019-08-18T16:08:43
203,026,643
0
0
null
null
null
null
UTF-8
Python
false
false
2,048
py
# -*- coding: utf-8 -*- import scrapy from fintech.items.antfin import AntfinItem #这里不知道为什么报错,都是运行没问题 from scrapy.http import Request from urllib.parse import quote from bs4 import BeautifulSoup class AiqMlSpider(scrapy.Spider): name = 'aiq_ml' allowed_domains = ['6aiq.com'] start_urls = ['http://6aiq.com/...
[ "btxu@scut.edu.cn" ]
btxu@scut.edu.cn
d356594c618e74947371466d15cb34018a2b1020
50ac1dca3fac05f4d9393194190a754ff43a67d8
/deepnlp/segmenter.py
f82688200b9334cc4aaebdba3aace2ec1db10d29
[ "MIT" ]
permissive
sweetcard/deepnlp
304a9716fbc6453328d4ede3f2a61948805cb0f1
a1d686756542a48cd6661bba0637448d9cfa46dd
refs/heads/master
2021-09-16T08:36:39.119709
2017-12-24T13:54:13
2017-12-24T13:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,354
py
#!/usr/bin/python # -*- coding:utf-8 -*- # B, M, E, S: Beginning, Middle, End, Single 4 tags import sys,os import CRFPP from model_util import registered_models # linear chain CRF model path, need str input, convert unicode to str in python2, <str> object in python3 pkg_path = os.path.dirname(os.path.abspath...
[ "dingo0927@126.com" ]
dingo0927@126.com
7007b978bc359c69f951596544dccbf0805e60a6
bfbdbb98f7d81a67fb31ef0c50d97e469a08e7c6
/youcook2_object_detection.py
68fd4206eb6065539d6a8ddeeb32b42d184b94d8
[]
no_license
carinasilberer/cooking-procedural-extraction
063c758e45c75b56c0dc6be7c3db5fdd5863a3c8
9f2f6d841e02e62a0e66227ffb8c0ca188ec0d17
refs/heads/master
2022-05-29T02:39:02.209343
2020-05-02T00:49:22
2020-05-02T00:49:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
import csv import json youtube_ids = set() with open("youcook2/reviewed_0812.csv", newline='', encoding='utf-8') as gt_f: reader = csv.DictReader(gt_f) for row in reader: youtube_id = row['VideoUrl'].split('?v=')[1] youtube_ids.add(youtube_id) with open("youcook2/youtube_ids.txt", 'w...
[ "frankxu2004@gmail.com" ]
frankxu2004@gmail.com
b577c919bd24c36261d64999050c5fc6ea965dd9
bcdc23c9d3cc89279c57faaa59b9b63596edbbc8
/day9/sol2.py
b99a29b151c3b2a7af8fdf639b20e9886eb744bd
[]
no_license
AntoineTheb/adventofcode2020
f6924db4537fd3cddf16737664ddf74a4e8bfba8
223622438f15828b26996591e9298948ce069b2e
refs/heads/master
2023-02-04T06:14:13.535984
2020-12-22T01:27:38
2020-12-22T01:27:38
322,895,128
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
from itertools import combinations import numpy as np def main(): data = np.loadtxt('input.txt', dtype=np.int) valid = True pre_beg = 0 pre_end = 25 while valid: preample = data[pre_beg:pre_end] is_valid = False for one, two in combinations(preample, 2): if o...
[ "theberge.antoine.cem@gmail.com" ]
theberge.antoine.cem@gmail.com
57130ac2be6a80dc5a76960b28cfb18ecdd11fed
ef6de6fd1d4e8e9858aecb287dd23dc520aec136
/physlearn/supervised/interface.py
e000cadbcfddf4ea806c973e3078d20cf8a1fc9e
[ "MIT" ]
permissive
tesseract-42/scikit-physlearn
bd625b1d1d7b2cfaed6ba3a586def97e5bb1bd99
80410feafb27f99f417b2b5d2282ebbb8fdbb642
refs/heads/master
2022-12-18T11:04:16.122912
2020-09-27T12:59:34
2020-09-27T12:59:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,605
py
""" The :mod:`physlearn.supervised.interface` provides an interface object, which abstracts regressors and enables their amalgamation into a unified regressor object. It includes the :class:`physlearn.RegressorDictionaryInterface` class. """ # Author: Alex Wozniakowski # License: MIT import os import joblib import ...
[ "wozn0001@e.ntu.edu.sg" ]
wozn0001@e.ntu.edu.sg
6abbb912609a4b40bca9c48212659992ea448350
53f2a72afe6b638b2beea94f5514be8ab3921ee4
/env/bin/pip2.7
c72c1435b048e2baf6318281b1849115e25b81c1
[]
no_license
bipinkh/FSUelectionManagementSystem
576336f2fbff46e137bd7ff76fe8df17c19fd9a9
013ac5f7f7475656876b471a52704d76f1d13d2b
refs/heads/master
2021-01-01T15:49:00.204030
2018-07-07T17:25:56
2018-07-07T17:25:56
97,708,797
0
1
null
null
null
null
UTF-8
Python
false
false
272
7
#!/media/basanta/main/academics/FSUelectionManagementSystem/env/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "basanta83chaulagain@gmail.com" ]
basanta83chaulagain@gmail.com
6adb6bf821f03dd5f10e7a2d72a0e6ad7598d8af
dbfbca14923d64eaa4b20ab13d3cda10db058047
/account/admin.py
dd0023d7dec4bab4a8a7005abf4e21cc974944fc
[]
no_license
JoaoAlmeida-dev/quarantine
bb9c0c2d32d5bc33a5b1578e0f76c00f047a2641
f6b085cad409f31d0e73a3cdb75b90fcec2bfd19
refs/heads/master
2022-07-05T09:08:03.528702
2020-05-14T22:08:37
2020-05-14T22:08:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from account.models import Account # Register your models here. class Accountadmin(UserAdmin): list_display = ('email', 'username', 'date_joined', 'last_login', 'is_admin', 'is_staff') search_fields = ('email', 'username') re...
[ "joao.ranger@gmail.com" ]
joao.ranger@gmail.com
73f13181b3902224a6140ced6570792c42d580fe
80b6c944728ca61ddc477fa2bb9fa312e1c4c81d
/data_iterator.py
f663d0bdf8e2cf234139f572bb319a8613b16c98
[]
no_license
LiveTowardTheSea/bert_model
c2f480cf4bdbec10ad7830584ca2d84f90345082
8ce207a8319bf53e064dacb7d574ff8f912e863a
refs/heads/master
2023-04-28T06:15:13.337520
2021-05-20T13:44:26
2021-05-20T13:44:26
369,202,848
0
0
null
null
null
null
UTF-8
Python
false
false
7,040
py
#from numpy.lib.npyio import NpzFile import torch import codecs # 迭代器功能:根据dataset、vocab 每次生成 (batch_size,seq_len)的torch数据,形成对于数据集的便利 import numpy as np from transformers import BertTokenizer def generate_char_idx(batch_data, vocab): """ 这个是针对于 char 来说的,因为是只提取了单个的token :param batch_data: series类型的数据,有两列,要么是...
[ "3430582102@qq.com" ]
3430582102@qq.com
6fce633f50677744167793b8f644b51c2f9d85b2
7d30d345759a6ec70b4181a7f9dc112397d3d3ad
/Problem Set 3/radiationExposure.py
a9088794e79665a564cf34f974a2959225f682b9
[]
no_license
harmishlakhani/MITx-6.00.1x
9ac22c9a4443ce5eda6c94ab7f1e4f92bbfb3338
9ed1aa3b975e699615ad361e56cadef6ee66c05a
refs/heads/master
2021-01-24T06:31:04.275872
2015-07-01T14:24:40
2015-07-01T14:24:40
37,739,841
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
def radiationExposure(start, stop, step): ''' Computes and returns the amount of radiation exposed to between the start and stop times. Calls the function f (defined for you in the grading script) to obtain the value of the function at any point. start: integer, the time at which expos...
[ "harmish.lakhani@gmail.com" ]
harmish.lakhani@gmail.com
ad885a14bf054f0d4dc5d81e3cf1a2ed65c53263
fe3ecb9b1ddd8de17b8cc93209134f86cd9c4a6f
/3_Python/chap01_Basic/exams/exam02_2.py
787636d74c46ed833bca1e20bf8f70046918b125
[]
no_license
nsh92/Bigdata-and-Machine-Learning-Education-at-ITWILL
d1a7292ee4865a3d0c664dd6ecf3afc0d6325847
3cb5661001597499178a2c85f4ccf70dcf0855d6
refs/heads/master
2022-11-21T23:10:51.421708
2020-07-23T12:49:11
2020-07-23T12:49:11
275,540,204
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
''' step02 문제 ''' ''' 문2) 화씨를 섭씨로 변환하는 프로그램을 작성하시오. 화씨온도 변수명 : ftemp 섭씨온도 변수명 : ctemp 온도변환 수식 = (화씨온도 - 32.0) * (5.0/9.0) <<화면출력 결과>> 화씨온도 : 93 섭씨온도 = 33.888889 ''' ftemp = 93 ctemp = (ftemp - 32.0) * (5.0/9.0) print("화씨온도 :", ftemp) print("섭씨온도 =", format(ctemp, "2.6f"))
[ "totols1092@gmail.com" ]
totols1092@gmail.com
c65d3b132fdaa6cb8659c14abd5137a8b32c7c77
de697c595e68366e6fe9e6ae3ae150f354b8c250
/lib/modules/privesc/powerup/service_useradd.py
6cd6c686f8c7d7019afd2556810e49ab6b81fde6
[ "BSD-3-Clause" ]
permissive
lockfale/Empire
b0515d5752d75e89870c9f735acd2aa6a86d3245
db1bc92296de4278b53df4129485cd9613332163
refs/heads/master
2021-01-16T19:22:35.456787
2015-08-09T05:58:05
2015-08-09T05:58:05
40,453,928
2
1
null
2015-08-09T23:21:09
2015-08-09T23:21:09
null
UTF-8
Python
false
false
8,575
py
from lib.common import helpers class Module: def __init__(self, mainMenu, params=[]): self.info = { 'Name': 'Invoke-ServiceUserAdd', 'Author': ['@harmj0y'], 'Description': ("Modifies a target service to create a local user and add it " "to...
[ "will@harmj0y.net" ]
will@harmj0y.net
5b5134d7c642c9e9564c16bed4747780a807ce99
d38579c656f76a9f021eccd6e5943d4ce097ac9d
/pyrevoice/yin.py
b4d74246edc7c17c4442db1195a4cb7c14fe648e
[ "MIT" ]
permissive
tuxzz/revoice_core
d821cd2eb929a79abac3ff9a330e3101ad56b5ea
1f2487f16d9a0d9ffa8bb0ae6e0cd93781ed297a
refs/heads/master
2019-07-15T08:27:26.937116
2017-11-04T07:19:41
2017-11-04T07:19:41
84,322,094
0
0
null
null
null
null
UTF-8
Python
false
false
3,561
py
import numpy as np import numba as nb from .common import * def difference(x): frameSize = len(x) paddedSize = roundUpToPowerOf2(frameSize) outSize = frameSize // 2 out = np.zeros(outSize, dtype = np.float64) # POWER TERM CALCULATION # ... for the power terms in equation (7) in the Yin paper ...
[ "dorazzsoft@gmail.com" ]
dorazzsoft@gmail.com
ebc21d4712901696d0412661c94a1649a05d05f9
bae0de8220dcfda0efd6490d1516353d0399de69
/dataHandling/itemLabels.py
ac3d067a4a19c38826ec2f81bdb0b12935524a13
[]
no_license
mkaminskas/beyond_accuracy
1be5f49182fd7d1a99b84768c00ac094237a364c
96a8bddd882c308bb267ea7d8815c31cd73bc971
refs/heads/master
2020-04-24T01:31:33.140677
2016-08-30T23:32:17
2016-08-30T23:32:17
66,984,368
0
1
null
null
null
null
UTF-8
Python
false
false
8,790
py
''' Created on 13 Jan 2015 a module for getting item labels using the external APIs @author: mkaminskas ''' import ast import logging import operator import os import sys from time import time from utils import config req_version = (2,7) cur_version = sys.version_info if cur_version >= req_version: # imp...
[ "marius.kaminskas@gmail.com" ]
marius.kaminskas@gmail.com
dd5cc1124326b728e2cc2c981f35498c20b46681
6ecff67d6103ddbd787f78c35182722b83b8a37e
/백준/Python/카테고리/BFS/1260(DFS와 BFS).py
681e7643a027fa4f36297f7963bd89521f5ead1b
[]
no_license
jsungmin6/Algorithm
9ef2339aa00921e7df756a8dff569954a008c118
bc1ea9de9f7ba3f1aa6616ebef8719540d72e0bf
refs/heads/master
2023-05-27T06:24:16.123307
2021-06-11T09:22:21
2021-06-11T09:22:21
259,299,624
0
0
null
null
null
null
UTF-8
Python
false
false
1,090
py
from collections import deque N,M,V = map(int,input().split()) graph=[[] for i in range(N+1)] for _ in range(M): x,y = map(int,input().split()) graph[x].append(y) graph[y].append(x) def bfs(V): visited=[-1]*(N+1) q=deque([V]) answer=[] while q: node = q.popleft() if visit...
[ "jsungmin506@gmail.com" ]
jsungmin506@gmail.com
63402bccbc8601342eea789d488111371a150ffe
3faf4b9fb76145b2326446bc6bc190a5712b3b62
/Algorithms/0704 Binary Search.py
8676c3a62d7bcdb529d9fb70400f668484d86646
[]
no_license
cravo123/LeetCode
b93c18f3e4ca01ea55f4fdebceca76ccf664e55e
4c1288c99f78823c7c3bac0ceedd532e64af1258
refs/heads/master
2021-07-12T11:10:26.987657
2020-06-02T12:24:29
2020-06-02T12:24:29
152,670,206
6
1
null
null
null
null
UTF-8
Python
false
false
948
py
# Solution 1, binary search # There are several implementation of binary search. # But the key point is m = (i + j) // 2 will equal to i if j = i + 1 # so we cannot set i = m, otherwise it will be infinite loop. class Solution: def search(self, nums: 'List[int]', target: 'int') -> 'int': i, j = 0, len(nums)...
[ "cc3630@columbia.edu" ]
cc3630@columbia.edu
0b61511b3ce7aa503737305f9c1f8641e0d4e1cd
b25a1553616815d98eb89dc9d99c9d18a922b6a4
/OOP.py
f1e545ab45948ffe266529e78a0c13832afe3557
[]
no_license
shaltiel16-meet/MEET-YL1
bba46ad4a9b6677273b74eaf3358533f9c10935d
867203e58f436736118bf458ad2391f6da84fca8
refs/heads/master
2020-03-27T00:43:27.729888
2015-01-25T17:59:21
2015-01-25T17:59:21
26,919,629
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
class Animal: def __init__ (self, name, age, color, size): self.name = name self.age = age self.color = color self.size = size def print_all(self): print(self.name) print(self.age) print(self.color) print(self.size) def eat(self, food): print("The Animal " + self.name + " is eating " + food) def s...
[ "shaltiel16@meet.mit.edu" ]
shaltiel16@meet.mit.edu
0926160d3b26317b602ba8ef2c6b5fd32b837128
5b4264b5ee27aefdc9c25cae4e57d1bbeeef9b91
/Code up 100/1037.py
6219c86c4ea4b246b40ed42a5767755ef0564205
[]
no_license
WinterBlue16/Coding_Test
971f04dfad9e6b7cef2be56daf090f4ca19884d4
13a201e423667f703cf274476cbe6aa88e0da373
refs/heads/master
2023-04-07T11:20:16.239647
2021-04-05T03:59:07
2021-04-05T03:59:07
244,624,437
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
# 풀이 1 print(chr(int(input()))) # 풀이 2 x = int(input()) print(chr(x))
[ "leekh090163@gmail.com" ]
leekh090163@gmail.com
b38b3b1da456bddb39c20619c6c7c34fb4d7c940
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/nos/v7_2_0/interface/port_channel/ipv6/interface_ospfv3_conf/__init__.py
abb6de36910486b150c264492beb3261efbc2737
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
48,400
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
3915c6d17b22908a6dfe692f793c1eeb5ce13805
b4cf3c5caacd99d0fb0b864f4ee9f30056a52c05
/asynch/proto/columns/stringcolumn.py
a130c47f735e4a72d15f01aaf56f509c4e6b9b2c
[ "Apache-2.0" ]
permissive
dbrojas/asynch
4376ca20e15897e0efe4345402d5d5af3a7c1212
94054ba4acb9f0d05ddedf5ae66278b5e5301fdd
refs/heads/master
2023-03-12T03:24:42.176643
2021-02-24T02:18:11
2021-02-24T02:18:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,469
py
from asynch.proto.columns.base import Column from asynch.proto.io import BufferedReader, BufferedWriter from asynch.proto.utils import compat class String(Column): ch_type = "String" py_types = compat.string_types null_value = "" async def write_items( self, items, ): await self.w...
[ "long2ice@gmail.com" ]
long2ice@gmail.com
74c123cca695e381f9917d8e47a426e387ac6de1
e2a2d471aeedf71d688e61689237b8cbea4997bf
/vae/vae.py
d3149c2b62ff1dadfdb0b0dec57f9abed1e723f0
[]
no_license
Shadek07/WorldModel_VisualPushBlock
7ba03503f5c1d6f1eae7c4516e90d325e1a28f42
a12c13a0938aaa1ac6054f9f051848f1bf114f4d
refs/heads/master
2020-07-12T11:58:33.297560
2019-09-03T15:51:38
2019-09-03T15:51:38
204,815,078
0
0
null
null
null
null
UTF-8
Python
false
false
8,747
py
# ConvVAE model import numpy as np import json import tensorflow as tf import os import constants from constants import IMAGE_H, IMAGE_W from constants import SCREEN_Y, SCREEN_X import pickle import base64 def reset_graph(): if 'sess' in globals() and sess: sess.close() tf.reset_default_graph() class ConvVAE...
[ "shadekcse07@gmail.com" ]
shadekcse07@gmail.com
8307abd7d1d4335894813e096c0432b653ae323a
204bccf5d97ad228d9a19474cd4a24d9c08683f7
/mdmscheduler/server/server.py
cc505413b76d379d13d68a78f88c3ab82d0e227c
[ "BSD-2-Clause" ]
permissive
Retailwhizz/mdm-scheduler
3a934a0bba57d7b5c8d8e53b1d218aff2c548e0c
52fa3721563f514236cd6596de27ad0f96f41f5f
refs/heads/master
2021-07-15T17:09:33.232419
2021-03-05T06:37:12
2021-03-05T06:37:12
79,448,567
1
2
null
null
null
null
UTF-8
Python
false
false
2,776
py
"""Runs a tornado process to run scheduler daemon and provides REST API & web ui. How to use: SchedulerServer.run() """ import logging import signal import sys import tornado from mdmscheduler import settings from mdmscheduler.core import scheduler_manager from mdmscheduler.server.handlers import audit_logs fr...
[ "aibin@retailwhizz.com" ]
aibin@retailwhizz.com
65c48e3536beca9173c620ffa26d3919c5b70a43
b7cd748798b2b6fab837a227624eb9fe7ebec1c8
/src/notelink/main.py
17620ce4677bb31e44a6784fbebfacd34640f85f
[ "MIT" ]
permissive
agung96tm/notelink
c9314e82c3d976bfb93930eb2293fe15564a8f3d
a0adf49254265a7a5e74edf97b0fa5f293302a0c
refs/heads/main
2023-05-10T14:49:58.294378
2021-06-13T15:46:21
2021-06-13T15:46:21
376,555,336
0
0
null
null
null
null
UTF-8
Python
false
false
2,228
py
from typing import Union, List import click from notelink.promps.list import ( ask_to_choose_hostname, ask_to_choose_action, ask_to_choose_hostname_with_action, ) from notelink.promps.search import ask_for_search_action from notelink.core import NoteMe, ensure_config from notelink.core import helpers @c...
[ "agung.96tm@gmail.com" ]
agung.96tm@gmail.com
a9df98d869d092be6ca5d2b0786db96248d959ac
15276b46ad1155d0c25f432f22a0562c0ec32768
/webserver/webserver.py
4d03f0e701d85f742df85767d953ae97375bf949
[]
no_license
Zanobos/macloc
c81cd6f1cdb31d13ba80a8aebc93b73ca5be9b94
e98eefe58b309f2d09acad78f70551120222485f
refs/heads/master
2022-12-09T23:40:44.252130
2019-08-24T08:01:08
2019-08-24T08:01:08
145,012,464
0
0
null
2022-12-08T10:12:20
2018-08-16T16:18:49
JavaScript
UTF-8
Python
false
false
482
py
from app import create_app, db, socketio from app.models import Wall, Climb, User, Hold, HistoricHold, HistoricWall, Record app = create_app() if __name__ == '__main__': socketio.run(app) @app.shell_context_processor def make_shell_context(): return { 'db': db, 'Wall': Wall, 'Climb': ...
[ "a.zanotti@reply.it" ]
a.zanotti@reply.it
679b80cdabd7d1b0f0f943061fd38fd8e06f77c2
cd8b95dac290a7c638e1ea5bbbbcdbf6c114c1e4
/tests/e2e/fixtures/feast_services.py
ce7f854691700650fc8e048b938acaa4134aee63
[ "Apache-2.0" ]
permissive
DaoCalendar/feast
ceb8bd136a912ba13860ddf44a75f3cf2d6103ed
c8fca7b767e54e5211dca3bc4851864cd30899e0
refs/heads/master
2023-01-01T16:16:55.410038
2020-10-30T10:54:34
2020-10-30T10:54:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,588
py
import os import shutil import socket import subprocess import tempfile import time from typing import Any, Dict import pytest import yaml from pytest_postgresql.executor import PostgreSQLExecutor from pytest_redis.executor import RedisExecutor __all__ = ( "feast_core", "feast_serving", "enable_auth", ) ...
[ "noreply@github.com" ]
DaoCalendar.noreply@github.com
497f4c82a57b7a113a2407a042eb8ced9fa93964
b807d05f7af7430a1545330152681a4b7fad7f1f
/Python/Intersection_of_Two_Arrays.py
ed9b3cfe64706c1d82b8378aaaa10b1753c13eda
[]
no_license
SuryankDixit/LeetCode_Algorithms
51578f39766f0cde9977f8f07166ace92a873512
63e1694c1746072d55fcec55240a3de74c930094
refs/heads/main
2022-12-31T08:58:30.419769
2020-10-20T14:36:00
2020-10-20T14:36:00
305,772,219
3
0
null
2020-10-20T16:40:29
2020-10-20T16:40:28
null
UTF-8
Python
false
false
204
py
from typing import List class Solution: def intersection(self, nums1: List[int], nums2: List[int]) -> List[int]: result = set.intersection(set(nums1), set(nums2)) return list(result)
[ "melvinredvirus@gmail.com" ]
melvinredvirus@gmail.com
2cfd479123fb0555b468d1854cef87480d0b0289
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Kivy/my_kivy_project/lib/python3.8/site-packages/coverage/config.py
88abdd1fd344823ce70ec6953b0a6f5dad3b2769
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:b8d5580bba47dfe77ecc21f4846584e5574caf8bdc76c0a4a1d5246b33d71ce8 size 18952
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
0fffcd550675c32d1c9aa19cea0ce552b9414efe
3db48e7c13b330af7c488820d14d22edf0a7cfda
/DP/[8-2]개미 전사.py
dd4e34ae56023949d50597545c8f35bc626840b0
[]
no_license
kim-kiwon/Coding-test
1555d7e7699a21655e86f892e76f784accf4b9cc
aa8563ab54596c9c6dace84494d4f68fbd8e97f4
refs/heads/master
2023-04-01T10:04:11.152485
2021-04-05T10:17:51
2021-04-05T10:17:51
328,202,195
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
n = int(input()) arr = [0] + list(map(int, input().split())) dp = [0] * (n+1) dp[1] = arr[1] dp[2] = max(arr[1], arr[2]) for i in range(3, n+1): dp[i] = max(arr[i]+dp[i-2], dp[i-1]) print(dp[n])
[ "kimkiwonn@gmail.com" ]
kimkiwonn@gmail.com
b618f6884d24363fdb9831823979ce74a14c34c9
baa8387f014c08f5c9879c93d33befdb40b16573
/apps/naim/main.py
253a7845cbec4f22afdaf3026efb7ae2a2747593
[]
no_license
nmlorg/nmlorg.github.io
f72c1c63db355a40aa353ae0b811bbc27cd8b9a6
cc7f5b9001a7435e9bf7e2662fff2ceeef5a72a3
refs/heads/master
2020-04-15T23:48:53.806689
2019-03-02T03:53:11
2019-03-02T03:53:11
32,093,297
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# Copyright 2015 Daniel Reed <n@ml.org> from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app class Redirect(webapp.RequestHandler): def get(self): self.redirect('https://nmlorg.github.io/naim/') app = webapp.WSGIApplication([ ('/.*', Redirect), ], debug=True) ...
[ "n@ml.org" ]
n@ml.org
d1f37dedd61aa33d8ff33c30cb55836c20ce2f68
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil555.py
67f8d230406876219e0b959392ccd8343d614971
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
# qubit number=4 # total number=12 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(1) # number=2 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
a8e25837ac8c8efd2530bfb9d16247010fed92d9
9ba36e3d9132f812d437f9bc820a54724f1ea831
/webshell/views.py
55c2ac1d9ffd4380b3526f2bef2bcf178e039105
[ "MIT" ]
permissive
MarkTseng/django-webshell
498c87c62eb9389cf05c1279bc7415703f662070
c32a089cefae95cddda63a0f086c976e318ba35d
refs/heads/master
2021-01-21T16:04:03.264661
2014-08-06T09:31:44
2014-08-06T09:31:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
from subprocess import Popen, PIPE from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from django.views.decorators.http import require_POST from django.contrib.auth.decorators import permission_required from pygments import highlight from pygments.lexers import get_lexer_by_name...
[ "and@rey.im" ]
and@rey.im
8d9613ae4ac31c20991c2487eb559bf3857767eb
be8508072a73ab79b9678bdf28d944cc2e2f87f1
/spock.py
3b8a8fa5eb2ebb60dc2d08773fa35701094f146e
[]
no_license
colingalvin/RPSLSPython
0a351498f8ef66ed7ede925714d55986e54731ec
c313d38b8ddab46b2b87ccc5c4148e2f3a36a470
refs/heads/main
2023-01-13T05:26:52.460513
2020-11-10T21:24:20
2020-11-10T21:24:20
311,762,333
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
from gesture import Gesture class Spock(Gesture): def __init__(self): self.name = "Spock" self.can_beat_rock = True self.can_beat_paper = False self.can_beat_scissors = True self.can_beat_lizard = False self.can_beat_spock = False
[ "colingalvin@ymail.com" ]
colingalvin@ymail.com
c61c0d76286653ca49a74c2488c37db97b7b2ee3
dd58a1f2be0617eb8d167c8f5bd51b62879e0b53
/tubers/webpages/models.py
9b86f86299160880ac468cc2ac0a349aefaf3bdd
[]
no_license
NerdyCoder-AJ/Tubers
6421808f33491de6bcd7abac01c9ad68799a862e
b7a637f6f2573b31aac11ad3a93975c1aa002805
refs/heads/master
2023-05-27T16:17:19.159407
2021-06-11T02:19:10
2021-06-11T02:19:10
372,412,000
1
0
null
null
null
null
UTF-8
Python
false
false
785
py
from django.db import models from django.db.models.fields import DateTimeField # Create your models here. class Team(models.Model): first_name = models.CharField(max_length=200) last_name = models.CharField(max_length=200) role = models.CharField(max_length=200) fb_link = models.CharField(max_length=20...
[ "akash.codeway@gmail.com" ]
akash.codeway@gmail.com
b191f1b78146aef2f3c456ec36080ade1f859998
4f2ddf4f26aa9c2024a54bf30e5fd54c0b377949
/RedAnt_2018/RedAnt/file/urls.py
278e4babb8978e949ab1602aceb804a58799e161
[]
no_license
grapefruitNanM/-2017
2803edcb7eb02fda0f137d37204378cbe76d6500
81d896b31eab42080fe559064455c01c527ec042
refs/heads/master
2020-03-29T05:32:47.850475
2018-09-20T09:56:08
2018-09-20T09:56:08
149,586,766
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
from django.conf.urls import include, url import RedAnt.file.views as views urlpatterns = [ url(r'', views.getFile), ]
[ "1074516814@qq.com" ]
1074516814@qq.com
5234e461f3a500afc3ae3ee0cd58ee11938d3f1f
caa8b60f3f2bbc43220fa80c2663a8a84b95368f
/pyogp/apps/examples/inventory_transfer.py
b0c30d596b6e3fb8e673ef4446009cb461e7a0e5
[ "Apache-2.0" ]
permissive
grobertson/PyOGP.Apps
fb1ac597eb3042c7352a08d033e84ab31b2ffaeb
03583baa8d3a2438b0d0a5452ee8c9e56aace9fd
refs/heads/master
2020-03-28T18:47:17.308284
2010-02-09T23:19:32
2010-02-09T23:19:32
148,911,566
0
1
null
null
null
null
UTF-8
Python
false
false
6,205
py
# standard import re import getpass, sys, logging from optparse import OptionParser import time # related from eventlet import api # pyogp from pyogp.lib.client.agent import Agent from pyogp.lib.client.agentmanager import AgentManager from pyogp.lib.client.settings import Settings from pyogp.lib.base.helpers import W...
[ "enus@lindenlab.com" ]
enus@lindenlab.com
558e6dc5b86f48f3be3389deb18431743181d8c5
b92fa9d959a88967cb39ce4021e92958bf630eaa
/NaiveBayes.py
d027ca1045fa11bbb1a8f3b7685579a2ee584a6c
[]
no_license
rishabhzn200/NaiveBayes
d8e1e4b421aefa5ac62f5e5782825d9127bcc92f
97e7b7fa247b2534563ed8c3aaaf4144675e1453
refs/heads/master
2021-07-07T00:07:06.347172
2017-10-02T08:30:01
2017-10-02T08:30:01
105,513,137
0
0
null
null
null
null
UTF-8
Python
false
false
3,829
py
import math class NaiveBayes: def __init__(self): pass def mean(self, data): return sum(data)/float(data.__len__()) pass def stddev(self, data): average = self.mean(data) variance = sum( pow(d - average , 2) for d in data ) / float(data.__len__() - 1) retu...
[ "rishabh.zn200@gmail.com" ]
rishabh.zn200@gmail.com
12b858ee18a0ba1b6ccd398cd6dac9011d70ce92
ff7dcf446ad392a884ee87759a6753403962eaf2
/tools/itools.py
8e807af7a65dbed4e24d732315e884b3cd117357
[]
no_license
alexzt0131/xiaoan
9505b141ebbcade40b447fb1cb2d769147aa816e
380b74abcb68dc1d1070cc36792557fb93df34ad
refs/heads/master
2020-04-01T15:04:30.644948
2018-10-20T12:49:29
2018-10-20T12:49:29
153,319,836
0
0
null
null
null
null
UTF-8
Python
false
false
1,173
py
import datetime import os from django.shortcuts import render class itools(): def retrive(rootdir=''): ''' #遍历特定文件夹内文件名 ''' ret = { 'files': None } # rootdir = 'static/images' # 指明被遍历的文件夹 for parent, dirnames, file_names in os.walk(rootdir): ...
[ "110021341@qq.com" ]
110021341@qq.com
e844e04c3112f7239f8d53d89308b0d3ad515141
5efcbdd65e3e86251dd70dafb69720d623fa0f52
/dialogue/tokenizer.py
adb693c0ae08a5f9bd25c3de25f2ef916ffc273e
[ "Apache-2.0" ]
permissive
xiejinwen113/nlp-dialogue
d39ffa0ccf331746f07d05f0904a2907f25c1336
51558c32c52f244bb2dd5a52b7dbeb482cf813e6
refs/heads/main
2023-08-01T11:46:48.825654
2021-09-08T16:10:35
2021-09-08T16:10:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,510
py
#! -*- coding: utf-8 -*- """ 文本分词工具及Tokenizer """ # Author: DengBoCong <bocongdeng@gmail.com> # # License: Apache-2.0 License from __future__ import absolute_import from __future__ import division from __future__ import print_function import json import numpy as np import os from collections import defaultdict from c...
[ "1210212670@qq.com" ]
1210212670@qq.com
7e7ac221c2fb863293cae9ff284aabecf06ef066
5fa6053e57e4ce18f8669ac5fc88adf981b9d440
/zad13.py
c42ff0ae799a38493b41a04e3c4317d05778c9b9
[]
no_license
olkiszova/python_kurs_16.03.19
0a6994cd32bf2b696a6666d4bb76bf8d4770a8a0
23be0391f8ab3b825c0d20a4cdb7040352a6d4a9
refs/heads/master
2020-05-03T09:36:58.760353
2019-06-08T21:47:15
2019-06-08T21:47:15
178,558,924
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
#i=0 #suma_temperatur = 0 #while i !=7: # suma_temperatur += float (input("Podaj temperaturę: ")) # i = i + 1 # i=+1 # print(i, suma_temperatur) #print ("Srednia: ", suma_temperatur, i, suma_temperatur/i) i = 0 suma_temperatur = 0 while True: komenda = input ("Podaj temperturę lub wpisz [k] by zakończy...
[ "tomczyk.aleksandra12@gmail.com" ]
tomczyk.aleksandra12@gmail.com
28be6b06513d0f7b37d4bd20256ca3e424177d80
0466559817d3a1be9409da2c83db99c4db3bacfe
/hubcheck/pageobjects/widgets/ticket_content.py
7cb8b32251cdd0a4d4a1efb280dfcbd8869a58c3
[ "MIT" ]
permissive
ken2190/hubcheck
955cf9b75a1ee77e28256dfd3a780cfbc17de961
2ff506eb56ba00f035300862f8848e4168452a17
refs/heads/master
2023-03-20T15:17:12.949715
2015-09-29T16:11:18
2015-09-29T16:11:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
from hubcheck.pageobjects.widgets.ticket_comment_base import TicketCommentBase class TicketContent(TicketCommentBase): def __init__(self, owner, locatordict={}): super(TicketContent,self).__init__(owner,locatordict) # load hub's classes TicketContent_Locators = self.load_class('TicketConte...
[ "telldsk@gmail.com" ]
telldsk@gmail.com
d0a7df11a0005fcb97be5760df887d2e47efea9e
937010ba3936b389eb128b05849afe8a8a76a9ff
/week2/sort_and_coint.py
c9818017268c168058446e34535bc11a1d0e7067
[]
no_license
maglili/coursera_algo_c1
6ae50bcb09cf9385ced42dd6052ab121a3de16c6
3fb2af1d3d1352daf0a1c567c368887331cb3e36
refs/heads/main
2023-08-22T02:56:50.389126
2021-10-20T04:03:20
2021-10-20T04:03:20
391,672,270
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
def sort_and_count(array, length): """ Given a list, find its inversion. """ # base case if length == 1: return array, 0 # recursive else: # sort n = round(length / 2) B, X = sort_and_count(array[:n], n) C, Y = sort_and_count(array[n:], length - n) ...
[ "gibson870811@gmail.com" ]
gibson870811@gmail.com
a2d5d4b1433196b40ed1c08abd1bf53971bcc7db
6b85714401cfe9634da8cbd84bfc2c54b45a85a1
/chivySources/cocos/__init__.py
2c7864e8c5203d98d429fe60e85fe736165b8855
[]
no_license
sapal/chivy
4c4f2a80968a663b6f048631a30a3cf2369a4aff
e75bfae289bc0c367764be84abc9978528840f75
refs/heads/master
2021-01-21T16:11:01.900261
2017-05-20T09:52:10
2017-05-20T09:52:10
91,880,164
0
0
null
null
null
null
UTF-8
Python
false
false
3,805
py
# ---------------------------------------------------------------------------- # cocos2d # Copyright (c) 2008-2010 Daniel Moisset, Ricardo Quesada, Rayentray Tappa, # Lucio Torre # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the...
[ "sapalskimichal@gmail.com" ]
sapalskimichal@gmail.com
a0fb4934cdfbb3fc71d1a7e31b7ec24409a53dbf
1eeb22ad92df76688a8a33d8f132eaef183b49ca
/analysis/split_train_dev_test_set.py
851c695559ceb775863fea09ec1aa1b1182e4ab7
[ "MIT" ]
permissive
viig99/mixmatch-freesound
6154a739cd6684ea983a600b6e74929712075c72
2abe33c1c08206b0bbbc2e324a529c6a5cca140b
refs/heads/master
2020-05-30T11:00:53.789434
2019-06-20T10:35:08
2019-06-20T10:35:08
189,687,292
4
0
null
null
null
null
UTF-8
Python
false
false
2,391
py
import random from random import sample from shutil import copyfile random.seed(9) base_dir = '/home/gpu_user/newdisk2/hari/data/freesound/' train_set = 'train_curated' train_dir = base_dir + train_set + '/' train_csv = base_dir + train_set + '.csv' output_csv_train = train_csv + '_train' output_csv_dev = train_csv ...
[ "harisankarh@gmail.com" ]
harisankarh@gmail.com
449e1d12345df92a61d5b5437d8838435098877e
cacdbf688209cce2f39698758346b99de7d5281d
/GPS Text Entry.py
86c0928ec058b6d6aed34778751c9d97b246cb63
[]
no_license
Federico-PizarroBejarano/Don-Mills-Online-Judge
27d168e390cdf7be104117d6a699fd7df4104b63
6e77978a19d29ec3095687b71dc8eff3565f6a60
refs/heads/master
2021-05-11T09:14:24.849165
2018-01-19T03:42:06
2018-01-19T03:42:06
118,072,968
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
def find(x): for i in range(5): if x in fir[i]: return [i, fir[i].index(x)] fir = [["A", "B", "C", "D", "E", "F"], ["G", "H", "I", "J", "K", "L"], ["M", "N", "O", "P", "Q", "R"], ["S", "T", "U", "V", "W", "X"], ["Y", "Z", " ", "-", ".", "/"]] word = raw_input...
[ "noreply@github.com" ]
Federico-PizarroBejarano.noreply@github.com