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
da02426eede343a0743cc6699dfb3ce30e803dca
2f19930569eabc80385043a052554a57f46dec15
/authenticate/authenticate/urls.py
a79832d336c12850696bc2f5a7fe77e85bc50875
[]
no_license
rohitjain064/django-practise
96cad5d4f358a3a4316ef1ce6cb4e6ec8b880532
961e794cd7f5866288ca285aa1a56ddead0564b8
refs/heads/master
2020-04-20T06:17:47.826566
2019-02-01T09:59:27
2019-02-01T09:59:27
168,678,836
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
"""authenticate URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "rohitjain064@yahoo.com" ]
rohitjain064@yahoo.com
aa6b69303ced3be6049f1960ff1b9a0bfecc918d
ac1dc07755a7644bd2af77de53ef26c7956f1344
/oneGo/apps.py
ddb74cc60ab354e7ad61ff7385f45b8f7366c5cf
[]
no_license
yu874721995/onesPro
5483324cc99bcafa0847bb189cac8d24a956f4c9
384e83b266e61baf51c63a9b85074cd63d713bd4
refs/heads/master
2022-12-21T03:19:04.855909
2021-11-24T12:15:28
2021-11-24T12:15:28
204,904,033
1
0
null
2022-07-29T23:27:38
2019-08-28T10:15:35
HTML
UTF-8
Python
false
false
83
py
from django.apps import AppConfig class OneConfig(AppConfig): name = 'oneGo'
[ "yubei874721995@163.com" ]
yubei874721995@163.com
0c8f1252d16457b362332243f6d849d204916bac
c0fd5f68b575641f4ca4b6d777f85c13d3f12e12
/page_online/module_main/module_motor.py
c7d9873941215ebae7d91a781a4127a0dcd7de78
[]
no_license
whkwss/Online-monitoring-of-motor-faults
080cdb22b9daba4dca918b355124e18d4f169db7
3090c6fb3c2729f1a7ba0c9ed21b90501193c5b1
refs/heads/master
2023-07-23T09:04:13.286119
2021-09-04T06:25:35
2021-09-04T06:25:35
402,981,552
5
1
null
null
null
null
UTF-8
Python
false
false
643
py
class MyMotor(): def __init__(self): # 机器当前运行状态 self.status_list = ['正常','故障','停机'] # 机器当前故障状态 self.status_fault_list = ['正常','开路','匝间短路'] # 机器当前故障处理状态 self.status_hold_list = ['无','已处理','待处理'] #机器编号 self.id = '001' # 加载数据地址 self.data_...
[ "1162041294@qq.com" ]
1162041294@qq.com
4d4fa4d95d6b0e2d819c40e250b7941f2d805da8
7ac506e9890ff3295541bdd00bc3c40a13b23826
/sr/imsitu_scorer.py
122bbe01b33b7def418dc9ba864a9d0f3ba9df79
[]
no_license
thilinicooray/CARN
dd64cde17e5c9f0e68e94b340c9271ae2a79f58a
7f5e85c98d3178a3fe9b9f1b5a93a39ace01ccc5
refs/heads/master
2020-07-25T05:42:38.988848
2020-04-07T03:43:01
2020-04-07T03:43:01
208,182,591
0
0
null
null
null
null
UTF-8
Python
false
false
18,433
py
import torch import json class imsitu_scorer(): def __init__(self, encoder,topk, nref, write_to_file=False): self.score_cards = [] self.topk = topk self.nref = nref self.encoder = encoder self.hico_pred = None self.hico_target = None self.write_to_file = writ...
[ "thilinicooray.ucsc@gmail.com" ]
thilinicooray.ucsc@gmail.com
b724bcbc0f48350e219dd33a7658609f205d332b
d7e064a1ea1b813084f57d30fd3b813cf4025dca
/213-Rob.py
ca00b21f08d6d9c9704784a2214d99fd71e5f8a6
[]
no_license
Searcher408/Basic-programming-projects
bd2abc180b90d762a3dc9094ca07a67973fd7fad
11483bce8b0ba37a1a8fedadae74c92784113487
refs/heads/master
2023-08-16T22:02:17.790848
2021-09-25T13:27:31
2021-09-25T13:27:31
71,346,120
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
# Python3 from typing import List class Solution: def rob(self, nums: List[int]) -> int: def robRange(start: int, end: int) -> int: first = nums[start] second = max(nums[start], nums[start + 1]) for i in range(start + 2, end + 1): first, second = second, ...
[ "searcher408@gmail.com" ]
searcher408@gmail.com
40bb024cf0dbbaeda58d55135ff50b22d44a513a
a7080659a287db954afc18541df215a794ec6604
/moringa_flask/post_review/app/models/model.py
d544183e8896bd67697028f410812c9428296e8f
[ "MIT" ]
permissive
Gomax-07/quote2
1867911493e6d5ef15c748b869ebfcf4ec5e0585
7996d379c92853d88018f08659aa6f2de0f1b268
refs/heads/master
2023-07-19T17:23:53.312127
2021-08-26T07:04:31
2021-08-26T07:04:31
388,769,474
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
from . import db class User(db.Model): __tablename__ = 'users' id = db.Column(db.Integer,primary_key = True) username = db.Column(db.String(25)) def __repr__(self): return f'User {self.username}'
[ "johnmetry17@gmail.com" ]
johnmetry17@gmail.com
6905a76fa9d908c60e0a3389cde1a91c0b1d3eae
6e9a34ebd784d729d2f59a18e6b2a677541d9d6b
/resume/models.py
d25ecde538eef8011c24dd6e30e33e751c1a8f24
[]
no_license
kennycai0/job-posting-app
7a373fd6ecc5dacb9d8131da855bbe1949ab1b9d
9a2b157c3a58085ec96c0fce9220772dab00ca83
refs/heads/main
2023-06-14T14:37:00.877338
2021-06-27T22:14:36
2021-06-27T22:14:36
380,847,717
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from django.db import models from django.contrib.auth.models import User class Resume(models.Model): objects = models.Manager() description = models.TextField(max_length=1024) author = models.ForeignKey(User, on_delete=models.CASCADE)
[ "[jc2545@cornell.edu]" ]
[jc2545@cornell.edu]
4febe8ed7ba4ae0ec44e162ddac26a0a35201331
e73761fd861010f4dd2e2be09507d86bd905f4f5
/scud/main/migrations/0002_sessionstouser.py
78e5450bb8e12f64aa092230e4fccdbb5aac8446
[]
no_license
BakdauletBolatE/rfid-system
a57ca2fbb3518f9df6683bf899be1d9455e55c2a
24f023cc801dc0d24dedb4e7ecd27091c439c068
refs/heads/main
2023-03-13T05:14:37.043832
2021-02-22T06:12:31
2021-02-22T06:12:31
341,097,047
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
# Generated by Django 3.1.6 on 2021-02-18 17:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.CreateModel( name='SessionsToUser', ...
[ "bakosh21345@gmail.com" ]
bakosh21345@gmail.com
07c914c2a2e30aa455a696aa3c59849a1f3c5a2b
e70c75a33244e82de3ad1bd5b340bb0aa6b22ae9
/task8/model1/reducer3.py
4c4fc026009c1aa8faac42ec210cf49f1911cc7e
[]
no_license
joansanchez/MapReduce
e4ecb532f567a4e03241ff673e57332f96429445
91cda920cc4a5b5bd27b0a1f8c78b8d122bea4f5
refs/heads/master
2020-03-31T02:48:46.700098
2018-10-23T18:57:09
2018-10-23T18:57:09
151,840,674
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
#!/usr/bin/env python2 #reducer3.py import sys for line in sys.stdin: print(line)
[ "jsanchezgarcia13@gmail.com" ]
jsanchezgarcia13@gmail.com
8162e759a06dfe2f82be1edfe4b67e8addbbef42
819d96d4c7ad46139233223cfe1b8f541634dfdb
/graphv5.py
14e545629d4ecb42548ea759d7372230a024aa76
[]
no_license
krishnakpatel/Summer2017
baf1befd347cb6037fb9b3e72b7bb927ebf8eb3c
80450c7bfeb4224e5b16b2adafb5347124783ddf
refs/heads/master
2020-03-08T11:34:35.092450
2018-05-14T20:16:26
2018-05-14T20:16:26
128,102,113
0
0
null
null
null
null
UTF-8
Python
false
false
5,262
py
#add functionality: modifying values import matplotlib.pyplot as plt import networkx as nx import xml.etree.ElementTree as ET from xml.etree.ElementTree import ElementTree, Element, SubElement, tostring # as soon as the program loads circ = nx.MultiDiGraph() node_num = 1 key = 0 def click(type): circ.add_node...
[ "krishnapatel@DN0a1f6108.SUNet" ]
krishnapatel@DN0a1f6108.SUNet
3d84a3bc073fa559a8bce5310f25ab1ccc2b72db
1b6da6feaeeaa3801279781ab8421e7294c5b393
/c_plus_plus/lljz_disk/output/py_client/py_download_file.py
2107a3f6694fa304c32b6404eaae038f0987669f
[]
no_license
doorhinges0/my_projects
703bbc92425e6c0604088d546b84be6dca37c0cd
f981ca0bfd79c3a119cd52155028f3f338378690
refs/heads/master
2021-01-13T12:00:06.992906
2015-12-28T12:00:42
2015-12-28T12:00:42
48,828,883
0
1
null
2015-12-31T02:24:37
2015-12-31T02:24:37
null
UTF-8
Python
false
false
1,956
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import time import datetime import json import py_client def RunTest(): #print(help(py_client)) if not py_client.Init(): print("init fail") return #连接文件服务器 conn_id=py_client.Connect("tcp:127.0.0.1:10030",True) print("conn_id=%d" % conn_...
[ "1060887552@qq.com" ]
1060887552@qq.com
053268d50f9a65e8001c987503ff42a13676f1a3
0291c9e05080c7f3b4c580c1725b7f93190aec70
/simulation/mainInterfaceGL.py
38d129bead3e59986e974cea7f4f708bae16676d
[]
no_license
Spellsucre/Robot7M
03f5178b8999b6f202d7ae32cdf415ea868d2353
a44d6370add59cebd22cf539aa76911c5ba12f1c
refs/heads/dev
2021-05-05T07:56:07.686659
2018-04-05T12:15:56
2018-04-05T12:15:56
118,896,946
5
9
null
2019-05-11T00:08:16
2018-01-25T10:13:19
Python
UTF-8
Python
false
false
834
py
import random from interface.featuresGL import * from structures.robot import * from basiques.cube import * from structures.arene import * from save.saveJson import * from save.csvToJson import * """Pour modifier les valeurs, allez dans save.csv""" CsvToJson("save") #convertit le fichier .csv en .json a1 = loadFic("s...
[ "marc-antoine.g@outlook.com" ]
marc-antoine.g@outlook.com
de41905ee008a0a8004b2f583f9b16d0ab569823
95e9ec4b3b0d86063da53a0e62e138cf794cce3a
/python/Django/20190523/test01/test01/settings.py
199c6f60e7fba053de9340c0fb1a68759f7ad78a
[]
no_license
wjl626nice/1902
c3d350d91925a01628c9402cbceb32ebf812e43c
5a1a6dd59cdd903563389fa7c73a283e8657d731
refs/heads/master
2023-01-05T23:51:47.667675
2019-08-19T06:42:09
2019-08-19T06:42:09
180,686,044
4
1
null
2023-01-04T07:35:24
2019-04-11T00:46:43
Python
UTF-8
Python
false
false
4,057
py
""" Django settings for test01 project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Bu...
[ "18537160262@qq.com" ]
18537160262@qq.com
3cbe7cecaa1650dfa773d3b8cc27cba330609ff2
b465f88e2dad7012a06252c675db561d6de7f847
/qa/rpc-tests/fundrawtransaction.py
e48980068ab5333e9a36e071fd548fdef6eca5d3
[ "MIT" ]
permissive
bulletcore/xbullet
750d5125b87d70bce202a64f5318d365fcb0a175
450f07709d51b0bbbe1a82c9c72ef9f319a32d1f
refs/heads/master
2021-04-12T12:02:17.434802
2018-03-22T10:27:25
2018-03-22T10:27:25
126,307,648
0
0
null
null
null
null
UTF-8
Python
false
false
25,303
py
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * # Creat...
[ "32610984+karanjchavda@users.noreply.github.com" ]
32610984+karanjchavda@users.noreply.github.com
d78fab6e48b62cb573c47b02573d64c0cc38210f
612d705ef9977f37325ffbbcbb10ee7dda2955fc
/software engineering - project/H3/get_modules_structure.py
ac6226e7e5737c653916b94baca15c42e1384b56
[]
no_license
HubertSiewior/Python-AGH-Projects
9e0c653a0e8ad3498927953fa3023282cfb3df6a
2438a3d9c75db8ec8a7fc9a8ab554399ab083cef
refs/heads/master
2023-06-11T04:41:10.767350
2021-06-28T13:53:14
2021-06-28T13:53:14
314,554,583
0
0
null
null
null
null
UTF-8
Python
false
false
2,189
py
import os from modulefinder import ModuleFinder import importlib from inspect import getmembers, isfunction, getsource from H2 import get_function_usage as gfu from H3 import get_paths as gp from H3 import Function as F from H3 import File as file def get_modules_structure(path): directories_array = gp.get_mod...
[ "hubert-4321@wp.pl" ]
hubert-4321@wp.pl
527097bd985029d5e609829ca081c80c915a6703
4da34a6afbe7f52a19f766e4c582b6f79e2b13ef
/raspberry/moniteur/dmon.py
8b11c3dc6278445d3c7ff8cc401c7bfdb161c923
[]
no_license
angebouabre/web
440dfdf5b4726fd68022710ebfc186262aaa94b9
bb60ff39295245727fe5627b3c5ed31fc1fd8ded
refs/heads/master
2021-01-01T18:29:21.302124
2014-06-27T20:24:21
2014-06-27T20:24:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,153
py
#!/usr/bin/python import os, sys path = os.path.abspath('..') sys.path.append(path) os.environ.setdefault("DJANGO_SETTINGS_MODULE", "raspberry.settings") from django.core.wsgi import get_wsgi_application application = get_wsgi_application() import time import subprocess import nmap from datetime import datetime...
[ "angebouabre@gmail.com" ]
angebouabre@gmail.com
55fd556c898ec9a961e758cd6ade0046c3bc26ae
a14eaa4e2e48863595a7c41de91448f79f28bbec
/Tutorial1/Slider.py
b8edebf49a9ac5f0e7edb2d1943fa0bf3a21cf2b
[]
no_license
LibertAntoine/Pyside_Training
f4d9deb0c01efba6d8d9b7a6aab40b2951c696de
58602b8eb2c333ae131087805405ba40fc5452b4
refs/heads/master
2023-03-29T23:44:22.275871
2021-03-30T12:09:13
2021-03-30T12:09:13
337,487,625
0
0
null
null
null
null
UTF-8
Python
false
false
1,589
py
import sys,os import PySide2 from PySide2.QtWidgets import QApplication, QWidget, QHBoxLayout, QLabel, QSlider from PySide2.QtGui import QIcon from PySide2.QtCore import Qt from PySide2 import QtGui # Allow to find plugins needed for PySide2 dirname = os.path.dirname(PySide2.__file__) plugin_path = os.path.join(dirnam...
[ "duncan-arrakis@hotmail.fr" ]
duncan-arrakis@hotmail.fr
2e7b654450b9caafc37657b08934fc2fba37ec17
5c02ad7af1f5e53ec349cbbf27812b4b03aa7588
/example/wsgi.py
f09276c59cc7f26e429a3e47f58830b3797e876f
[]
no_license
Misaghlb/django-phone-login
e9057ab52618726c4b5c8bab962b9e013cee8b81
8e61144389981c0839f042212a05ae968f06b60c
refs/heads/master
2021-01-19T17:36:39.739960
2017-04-06T23:35:34
2017-04-06T23:35:34
88,335,904
0
1
null
2017-04-15T09:01:15
2017-04-15T09:01:15
null
UTF-8
Python
false
false
391
py
""" WSGI config for django_otp_auth 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...
[ "i@iraycd.com" ]
i@iraycd.com
80407c4a82c4921f6a06b23f334f0b92981e8e2e
fcd779fa8b64a964f010b06596ecc60e6a024530
/Mosh-youtube/Lessons/tuples.py
ea1b55e116e46128fd1e4d3d3ceb53c2faf9015a
[]
no_license
tylertamalunas/MoshYoutube
a5d3858f37c32c734a6ba7dea6165e4c9c6eebda
957d6d2e18080005eca845f43271721213060831
refs/heads/master
2020-09-14T23:11:05.087157
2020-01-21T23:06:08
2020-01-21T23:06:08
223,288,667
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
# tuples are like lists, but you cannot change them at all numbers = (1, 2, 3) print(numbers[0]) # below gives error numbers[0] = 10 # tuples are better if you do not want to accidentally change a list
[ "tylertamalunas@gmail.com" ]
tylertamalunas@gmail.com
8ec6366440b0bb3ae76392f6fa5eb70b0fbb7db4
fb98092bb4218cab62354371dbc1d74ddfac7143
/make_pred_new.py
9f254edd1c3f0c16dd1138989efb8d6255f87c42
[]
no_license
dovvakkin/gridsearch
da3dc7eea162a15058c2cfe78aa0549930152398
5911f3e5861993bb4014911218ed65c66c80dc44
refs/heads/master
2021-03-19T19:57:32.785759
2020-03-29T19:28:59
2020-03-29T19:28:59
247,142,960
0
0
null
null
null
null
UTF-8
Python
false
false
5,106
py
import argparse import numpy as np import pandas as pd from scipy.stats import spearmanr from scipy.spatial.distance import cosine from collections import defaultdict from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer def make_vocab(word_dict, low_threshold, high_threshold): words = list...
[ "zhikov_n1@mail.ru" ]
zhikov_n1@mail.ru
934f67f81b86395614fd004ce49354ba78b96c7a
528139dad48bef4caae461912187cb5bd91494bb
/python_base/lesson6/task1.py
981c6784702d2ab83aa018ba905bd3f9f58bb1ff
[]
no_license
vilmagsumov/vmgeekbains
3fb698d3e75010118ed55e99338448b4e6ca84c9
d2324f55c35f0055112190425277db8b77c7cba0
refs/heads/master
2022-12-27T13:55:28.674149
2020-10-09T12:05:00
2020-10-09T12:05:00
289,893,434
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
# Задание 1 из домашней работы №6 import time class TrafficLight: __color = ["Red", "Yellow", "Green"] def running(self): for i in range(3): if (i == 0): print(TrafficLight.__color[0]) time.sleep(7) elif (i == 1): pr...
[ "vilmagsumov1993@gmail.com" ]
vilmagsumov1993@gmail.com
aca6239bb1902abcf69c2fa4ab44b62d104cc3ee
78f43f8bd07ae0fc91738a63cd7bbca08ae26066
/leetcode/interval/least_interval.py
b5418240bed39df4bf2a1b61baecf70e18b8cf95
[]
no_license
hanrick2000/LeetcodePy
2f3a841f696005e8f0bf4cd33fe586f97173731f
b24fb0e7403606127d26f91ff86ddf8d2b071318
refs/heads/master
2022-04-14T01:34:05.044542
2020-04-12T06:11:29
2020-04-12T06:11:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
class Solution(object): def leastInterval(self, tasks, n): """ :type tasks: List[str] :type n: int :rtype: int """ LETTER_NUM = 26 freqs = [0] * LETTER_NUM for c in tasks: freqs[ord(c) - ord('A')] += 1 freqs.sort() # in-place sort ...
[ "dofu@ebay.com" ]
dofu@ebay.com
a4f1eb5a73bb211daab14e6aac02273d7a07b9c7
093b9569be9d1c4e5daf92efbebc38f680917b2d
/.history/base/models_20210829142734.py
4c98bfd01c1d244a8078fbe1666e967e01960773
[]
no_license
Justin-Panagos/todoList
95b1e97ff71af1b0be58e7f8937d726a687cea4d
10539219b59fcea00f8b19a406db3d4c3f4d289e
refs/heads/master
2023-08-04T13:27:13.309769
2021-08-29T14:06:43
2021-08-29T14:06:43
400,827,602
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Task(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE, null = True, blank=True) STATUS= [(,'P1'),(1,'P2'),(2,'P3'),] priority = models.CharField(max_length=5, choices=STATUS...
[ "justpanagos@gmail.com" ]
justpanagos@gmail.com
2a9e9802447908d58003fa193d073049e0c0eb00
41b33801e22613ea2d22c04a79ef5e34d6b1eba8
/python_assignment/problemset03/qn10.py
de41f7035038e6d05ce9d92d23b529a3d23e3a82
[]
no_license
jamunadevi-murugan/GraduateTrainingProgram2019
3f7f0021efb4ba3fb74f2b3cf48483db8bc210fb
7fc5f6cafe5e16926f56ffe529b3d42ab500f0b8
refs/heads/master
2020-07-08T00:20:10.486911
2019-11-15T06:03:07
2019-11-15T06:03:07
203,516,083
0
0
null
2019-08-21T05:55:40
2019-08-21T05:55:39
null
UTF-8
Python
false
false
367
py
def is_anagram(str1,str2): count = 0 s1 = sorted(str1) s2 = sorted(str2) if len(str1) == len(str2): if s1 == s2: return True else: return False str1=input("Enter the 1st string : ") str2=input("Enter the 2nd string : ") if is_anagram(str1,str2)==True: prin...
[ "A08019DIRP_C2E.03.06@accenture.com" ]
A08019DIRP_C2E.03.06@accenture.com
108c74e482d8976c15cfa6cec8281b9740d2c27f
d9ba3e91985b6efd6bed24728ef5b72f12fab49e
/python-fundamentals/day-1-Operators/basic-operators.py
55c999b4388669b7903b6e8d0ce2ffc3a76d229a
[ "MIT" ]
permissive
laminsawo/python-365-days
be8fe86ff23f04bf8f81b1e645f89ab52bdb32a3
7d63e88ad2bbaa7b9bd0475f078e0164cc9b485c
refs/heads/master
2021-06-18T19:47:40.136399
2021-01-04T22:56:43
2021-01-04T22:56:43
142,359,117
0
1
MIT
2020-07-31T12:55:14
2018-07-25T22:13:38
Python
UTF-8
Python
false
false
764
py
# This Python file exhibits basic Python Maths operators """ Operators and usage: + = addition of numbers * = multiplication of numbers - = subtraction of numbers / = division of numbers """ # Examples: #x = 50 #y = 10 # Improvements: Make the variables dynamic in the sense that the user gets asked to inpu...
[ "laminsawojadama@outlook.com" ]
laminsawojadama@outlook.com
0ff9ad60521e1984e0ec6b613ca8d92b81b2dd1a
c79ed36daebd727557abfa06031df9643789a066
/src/models.py
dda9caa78ebdba7ae85f6fd8fe453bd7a23ee8db
[ "CC0-1.0" ]
permissive
rohitkuk/Brain_Tumour_Segmentation_3D_MRI
a22339969a8a3990f5687311a29d1f4d84fa8c0d
37ea34776ba863d85ce2101be561a2ad0e51209d
refs/heads/main
2023-07-17T12:31:08.952378
2021-08-30T07:04:23
2021-08-30T07:04:23
399,367,338
1
0
null
null
null
null
UTF-8
Python
false
false
3,489
py
# This will contain the Segmentation Model structre import torch.nn as nn import torch import torch.nn.functional as F # The Below implementation is based on 3D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotation Research Paper class conv_block(nn.Module): def __init__(self, in_channels : int ,...
[ "rohit.kukreja01@gmail.com" ]
rohit.kukreja01@gmail.com
d5e9907f68e94605a65490944912b0dd9253ec83
7656ff7211028f749ea7b15b78d06104d2800db5
/bob/bio/video/test/test_annotators.py
62188429a8b96716263aa5f6db35fb00b2905ef8
[ "BSD-3-Clause" ]
permissive
nixworks/bob.bio.video
50aaba0b76b4b002db5ca5ae7bf771b9e962118d
c27ad8eb6026981067a260edefe84961acfc180b
refs/heads/master
2020-03-17T18:35:23.034716
2018-04-13T19:20:01
2018-04-13T19:20:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,421
py
import os import collections import bob.io.base import bob.io.image import bob.io.video import bob.bio.video import pkg_resources from bob.bio.video.test.dummy.database import DummyBioFile from bob.bio.face.test.test_annotators import _assert_bob_ip_facedetect class FailSucessAnnotator(bob.bio.base.annotator.Annotato...
[ "amir.mohammadi@idiap.ch" ]
amir.mohammadi@idiap.ch
9e6b3f955c32d3b100d9a5dea459d96ed5e9892a
e817691bcca95c951b3a858b5817dc292f40b8f7
/app.py
799ca9c4064929017760531e91f379c121d99798
[]
no_license
AlexanderTSL/HelpDesk
9a3329c9493337456b3c90fb72227b7916d59448
b7e1491e892b5581fc2917a2a45f9307314683af
refs/heads/master
2023-05-13T18:45:01.608837
2021-06-03T18:17:30
2021-06-03T18:17:30
372,971,980
0
0
null
null
null
null
UTF-8
Python
false
false
1,696
py
import json from flask import Flask, render_template, request import pymysql app = Flask(__name__) class DAL: def __init__(self, conf, dsql): self.host = conf["host"] self.port = conf["port"] self.user = conf["user"] self.password = conf["password"] self.database = conf["...
[ "sanyokpenyok@yahoo.com" ]
sanyokpenyok@yahoo.com
1dff835b45b4ae2e497622ecb444d5826903bf9e
8dc4816bc478b816191145c1ebe9948766ea0895
/demo/final-demo/html-stuff/html-file-creation.py
495ced49c260b642581c98e7be9e5ae543634cee
[ "MIT" ]
permissive
the-browser/recommending-interesting-writing
11c5e446a2d28bc6aabeb84c50bfaadef5235c44
9ff4771d3f437d33c26d2f306e393b5a90a04878
refs/heads/master
2023-06-05T00:52:36.073956
2021-06-09T17:12:19
2021-06-09T17:12:19
268,459,647
6
1
null
2020-06-01T10:13:42
2020-06-01T07:57:44
Jupyter Notebook
UTF-8
Python
false
false
2,345
py
import argparse from pathlib import Path import os # get arguments for script and parse def expand_path(string): return Path(os.path.expandvars(string)) parser = argparse.ArgumentParser( description="Train model on article data and test evaluation" ) parser.add_argument( "--header", default=Path("header...
[ "rohan2003bansal@gmail.com" ]
rohan2003bansal@gmail.com
26c1c48c488785c157c5890f12d3f02597325cf0
0fa7a9be8d18210ca37120a4e9eea902db55014a
/config.py
c47c4ee34821c786550c48a70c5d6d15292e161a
[ "Unlicense" ]
permissive
georgeyjm/Connect
96376ae9d6f685abcf22ff875b75e8ad3ad94494
d6eb97310fece8f329920d614406810c7d0dd72a
refs/heads/master
2021-09-08T16:00:37.370650
2017-03-17T01:16:19
2017-03-17T01:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
## Define Fundamental Color Values BLACK = '#000000' WHITE = '#FFFFFF' RED = '#FF0000' GREEN = '#00FF00' BLUE = '#0000FF' YELLOW = '#FFFF00' PURPLE = '#FF00FF' AQUA = '#00FFFF' skins = ['Hacker','Night'] choice = 'Night' #appearances = {i:j for i,j in zip(skins, ({} for j in range(len(skins))))} for skin in skins: ...
[ "noreply@github.com" ]
georgeyjm.noreply@github.com
4ec6b633118eb520f10ea0b08200abaee0f0c853
a7a968c270d193e8c5b35af5f1743be8c9eaa81d
/AllWISE/processor_AllWISE.py
e130a2455652e3fe40c6b11bae8949009bfafa09
[]
no_license
rameez3333/catana
56479adfbac422a976f2c22ea45ccebc3884ea13
d786ddcc789c55e941a85b247433eeac672a40d4
refs/heads/master
2020-09-22T15:31:48.133456
2019-12-08T09:12:45
2019-12-08T09:12:45
67,131,648
0
0
null
null
null
null
UTF-8
Python
false
false
3,389
py
import numpy as np import healpy as hp import sys import astropy import units as u from astropy.coordinates import SkyCoord scanres = int(sys.argv[1]) scanfile = sys.argv[2] gallatcut = int(sys.argv[3]) jlcutyn = int(sys.argv[4]) sgallatcut = int(sys.argv[5]) npix = hp.nside2npix(scanres) print "Loading file" def...
[ "mrameez@fend05.cluster" ]
mrameez@fend05.cluster
434f2a4e5d4c626ba4768123e191fc6823872f15
c9f1cc3a6715917d658a6e525b7c2d35b0380f9f
/Non_canonical_introns/Analisys/Join_final_tables_seq.py
cf7f3dde6d7fa321b0e71a9c47f123d3081f1b1d
[]
no_license
geparada/my_src
4f84887130b985e84aad3d0d35e85911087d9b4f
8d64f7ef51e1f74303ca88beb0ee964f546d8301
refs/heads/master
2021-01-17T01:50:50.414690
2017-03-14T10:01:50
2017-03-14T10:01:50
20,638,727
0
0
null
null
null
null
UTF-8
Python
false
false
3,188
py
import sys import csv def main(hg19, SJ_hg19, hg19_reads_seq_tags, GM12878, SJ_GM12878_paternal, SJ_GM12878_maternal, GM12878_reads_seq_tags_paternal, GM12878_reads_seq_tags_maternal, TOTAL_final_table): csv.field_size_limit(1000000000) reader1 = csv.reader(open(hg19), delimiter = ' ') reader2 = csv.reader(open...
[ "geparada@omics.(none)" ]
geparada@omics.(none)
95ff3bb84c235c112feae2ac5244798db31603a5
b11f99f8b19b91ad0f340a980ea800923b6e8965
/blog_tech/apps.py
2a7f380a1690931ac35bdaf86ea78bed80f5ee91
[]
no_license
Shobhit-Mishra-02/blog_django
61170af2f11012d78a0c515581d0de1b0dfcfe4c
ce2c62a11fd2d35626c617df3598c5d5803fb429
refs/heads/master
2023-06-17T14:59:32.615832
2021-07-15T13:43:07
2021-07-15T13:43:07
386,303,931
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from django.apps import AppConfig class BlogTechConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'blog_tech'
[ "shobhitmishra2002@gmail.com" ]
shobhitmishra2002@gmail.com
d80801280c1165d313a63a8fbad8fa873bc4ae86
6097f2a31f1cf90bc5f2795e0ebfcdbc78fad3b1
/train_derm.py
035cb6b044b7098c2e97f9710aac17e0b1819dab
[ "MIT" ]
permissive
rajathsoans/fan
b35264df92ed07f575854de90060d85580a96290
5dc1a5ea5ced0f284ca7b967d1469dcecdfc5ca0
refs/heads/master
2020-04-28T02:33:25.439341
2019-03-11T15:58:35
2019-03-11T15:58:35
174,903,155
0
0
null
2019-03-11T01:20:13
2019-03-11T01:20:13
null
UTF-8
Python
false
false
47
py
from stainnorm.models import fan model=FAN()
[ "rajath@proscia.com" ]
rajath@proscia.com
3fdea1ed28d82a773de42cb6859f5ce3fa0ceefd
aab2f6f5f673bf16424d592142ba3af414423adb
/kafkaconsumer.py
5b972353177ac3b7eef951403c753ffb888eaab2
[]
no_license
ashishjsharda/KafkaUsingPython
75f46ba4df25f264e853615c8fde73ed59aa620e
cbd9aff94b9d896736e14befcb42dfa64efc1562
refs/heads/master
2020-12-19T11:07:08.891269
2020-01-23T03:22:39
2020-01-23T03:22:39
235,715,462
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
''' Created on Jan 22, 2020 @author: ashish ''' from kafka import KafkaConsumer consumer=KafkaConsumer('sample') for message in consumer: print(message)
[ "noreply@github.com" ]
ashishjsharda.noreply@github.com
4f3263662cabaccdfc48ac0ed504715b2151b97e
8df235ef8a168f7dbd9846f1f608ad7e51ef25ef
/secrets.py
d95f424fab04a7a6d9fea3909368ca935c8b057e
[]
no_license
sofialo14/lec10si206
06aaaa5205ca589403c58ddbe6a0821daefc5bfc
bdd0a8cce520d379a72d830f62c3a50839626801
refs/heads/master
2021-05-03T15:08:43.275291
2018-02-06T14:54:03
2018-02-06T14:54:03
120,470,069
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
client_key = 'd8eOld8DmFzFEpngyuuL9up1O' client_secret = '6LTy1Qoq7OPTGQgCgmccQlyPlF4PMYcAHiExGZvcUbfFbwivo8'
[ "sofialo@umich.edu" ]
sofialo@umich.edu
e7a8418352066f3eed19be985f235c9b0cc592b5
f4da6ed4506070f4ad9038d26d70636421c849b9
/42_Trapping_Rain_Water.py
417307145c4b6abc2b0426304866c24ce5f9691f
[]
no_license
priyabdas/arrayQuestions
ba87918daf4aaa126f25415f075015d86178d9ec
9163d1011aa274ff967df28e45dbbc60a2519ac7
refs/heads/main
2023-06-13T05:09:00.019528
2021-07-05T12:22:12
2021-07-05T12:22:12
381,608,722
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
def trap_rain_water(array): #left = 0 #right = len(array)-1 maxLeft = array[0] maxRight = array[len(array)-1] res = 0 leftArray = [array[0] for i in range(len(array))] rightArray = [array[len(array)-1] for i in range(len(array))] #build the left array heights for x in range(1,len(a...
[ "pbrt.das@gmail.com" ]
pbrt.das@gmail.com
1e858d1f1a1b84d9742f64cbd02376e70c24ddb6
fa97dd53acbded543ce3a75e619bb3ccee3ce1fd
/spatialpandas/geometry/__init__.py
6c7c9572bd5654a883b281546d16a969a22373a0
[ "MIT", "BSD-2-Clause" ]
permissive
thuydotm/spatialpandas
67d56338da0afb3d391c298598ea117bc293ba5d
8168caa31e6b180dfd4901110d3c979cc333184b
refs/heads/master
2022-11-30T01:57:56.313500
2020-08-16T01:21:51
2020-08-16T01:21:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
from .polygon import Polygon, PolygonArray, PolygonDtype # noqa from .multipolygon import ( # noqa MultiPolygon, MultiPolygonArray, MultiPolygonDtype ) from .line import Line, LineArray, LineDtype # noqa from .multiline import ( # noqa MultiLine, MultiLineArray, MultiLineDtype ) from .multipoint import ( # n...
[ "noreply@github.com" ]
thuydotm.noreply@github.com
971c2ffbca4a34780ade10323533263d25a7b580
bff2cdc6dc104d21154accaa7a83685c5b8db855
/networking_odl/tests/unit/test_base_db.py
296359ae0a62648d7aa685188e3bcee49ae2e998
[ "Apache-2.0" ]
permissive
Jordonchen/kolla-ansible-openstack
cfd5d158afd88e56d7727e46b0534b913bb0cecb
c71c1f9a23da5df9745d751a9b3a6f212712a12c
refs/heads/master
2020-06-11T00:25:42.763028
2019-07-11T03:12:35
2019-07-11T03:12:35
193,803,387
5
0
null
null
null
null
UTF-8
Python
false
false
7,571
py
# Copyright 2016 Intel Corporation. # Copyright 2016 Isaku Yamahata <isaku.yamahata at intel com> # <isaku.yamahata at gmail com> # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the Licen...
[ "549802631@qq.com" ]
549802631@qq.com
20b37347f698040545ecd1e4a30cb8904bbafe5d
e7a9e0cf15653917550cc66b46a6186495662828
/setup.py
9f41eadfe9a0df0a643da3b6f918d1e00f12e0ff
[ "MIT" ]
permissive
paddymahoney/setuptools-antlr
b939020cbba038120c24f803e9aca3f8fb896efc
fc63c1b372d4fc5fd056b3f64b5c271dc49e0a27
refs/heads/master
2020-03-19T00:16:50.004848
2018-05-27T13:59:14
2018-05-27T13:59:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,945
py
"""Setup script for setuptools-antlr.""" import sys import setuptools # need to guard script here due to reentrance while testing multiprocessing: if __name__ == '__main__': needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv) pytest_runner_opt = ['pytest-runner>=2.0,<3dev'] if needs_pytest...
[ "ferraith@gmail.com" ]
ferraith@gmail.com
0d7c3cc6491bf482131fbbb00556b7368044d75d
391d648132c1a05e7da575205eef89a7208a892a
/compare.py
311165b27e102d591a5f36b47d2bd374e0a1c43b
[]
no_license
michaelbateman/DemographicInference
c3ceaf69f8b554f3973473607d6b5201cca423f9
b1e2529b1ce0710f82d2867d08588ae4a6c72bb2
refs/heads/master
2021-01-10T06:28:43.698581
2015-10-06T18:25:45
2015-10-06T18:25:45
43,770,029
0
0
null
null
null
null
UTF-8
Python
false
false
2,089
py
import sys import matplotlib.pyplot as plt import numpy as np import subprocess import time import pylab from scipy import stats num_haps = int(sys.argv[1]) num_times = int(sys.argv[2]) def readfire(s): # reads the output of a fire file and # returns the time vector and the population vector # input file sh...
[ "bbeeefcake@gmail.com" ]
bbeeefcake@gmail.com
c8ef2e7798953aa2231f6ae172d6891809e33e43
c155d27bf74255b8315603518c5ab76d0638dfea
/uv/serpens/profiles/3sigma_cn_3.py
f6f8c1ebbcce36349089a536d0cded0167ff74b4
[]
no_license
amirocha/doktorat
406c2e4476a5a22c863c37eb5f581a369800e936
22c90228f6bca9d0b116c73457b7e86ae4462167
refs/heads/master
2021-07-05T14:18:26.324886
2020-08-03T19:28:50
2020-08-03T19:28:50
152,316,686
0
0
null
2020-04-03T20:22:37
2018-10-09T20:28:29
Python
UTF-8
Python
false
false
7,857
py
#-*-coding: utf-8-*- ''' DESCRIPTION: This script displays the averaged and resampled spectrum (0.5 km/s) DESCRIPTION: for a given region on map and plots 3*RMS and 1*RMS levels DESCRIPTION: and shows X ranges for flux calculation The averaged region is consistent with HCN 1-0 beam size after convolution (27.8"...
[ "mirochagnieszka@gmail.com" ]
mirochagnieszka@gmail.com
ba09a1cc387f099788aa223d8debc0ebe5a146f7
ff04e529b66fa6bcf32a9531535b1784bc3e118a
/app/forms.py
6e56b60f923a651509553a7458997cfd92915334
[]
no_license
adidam/doctorslog
aeae839c35218cb7a266411a1f51c5011673c364
435b846fe897d280571615a6ef328dedbcfa6565
refs/heads/master
2021-01-18T12:16:44.371489
2013-07-05T22:09:59
2013-07-05T22:09:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,538
py
from django import forms from django.contrib.auth.models import User from django.core.exceptions import ObjectDoesNotExist, ValidationError from django.forms import ModelForm import re from app.lookups import UserLookup from app.models import ProfilePicture,UserPosts, Comments, StatusComments, StatusUpdates, Spam...
[ "prakash@LT009217.(none)" ]
prakash@LT009217.(none)
eac9f368e84b479def5f75232b6152e49a16a0b3
43ea15f44631d2317aaf41f47ef4cdfc0818be8b
/Weblamp_Server/weblamp.py
e813afa9fe8f887d75ce9d917a2fb32d7c76ff38
[]
no_license
TheRealEdDawson/IoT_Lamp
459f6e1045f12d4ad6aaad3388db1324f946c9f2
6bb50d2a8058d7d2d859044b5ca34cad6a7470b6
refs/heads/master
2020-12-24T18:12:38.598774
2015-03-13T02:18:20
2015-03-13T02:18:20
29,416,181
1
0
null
null
null
null
UTF-8
Python
false
false
2,913
py
import RPi.GPIO as GPIO from flask import Flask, render_template, request app = Flask(__name__) GPIO.setmode(GPIO.BCM) #GPIO.setmode(GPIO.BOARD) # Create a dictionary called pin to store the pin number, name and pin state: # 24 : {'name' : 'coffee maker', 'state' : GPIO.LOW}, pins = { 23 : {'name' : 'la...
[ "edwin.dawson@gmail.com" ]
edwin.dawson@gmail.com
31012c36efe1adf3e32c6e9600220d6f672511ec
027f52cbbd4e9ccd52b73dcf9ed523137ec78815
/python_language/Day_Base_Code/Day_07/lambda_function_2nd.py
b0b5df2ea3a317f5bc58267771c1524dd860305c
[]
no_license
Jade2290/bigdata_class
0c851440852857ee44496b7112db580cf9b60d57
380ad58d56ea4fbcea81f78f9648b1edf27e0554
refs/heads/master
2022-04-11T05:05:25.429853
2020-03-27T14:30:36
2020-03-27T14:30:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,789
py
# -*- coding: utf-8 -*- """ Created on Mon Oct 14 11:48:50 2019 @author: sundooedu """ list1=list(range(0,10)) list2=list(filter(lambda x:x%2==0,list1)) list2 list3=list(filter(lambda x:x%2==0 and x%3==0,list1)) def factorial(s): factor=1 for i in list(range(1,s+1)): factor *= i ...
[ "noreply@github.com" ]
Jade2290.noreply@github.com
fbc6323c971bfc05403d49f31975f0959e172e9e
ae8a1d8f23ed08fcc14ecc9a6651cd738790ac00
/tests/func/test_fetchdata.py
a4f6b1013135688f78c6a4ae54adee32aeb7ddcd
[]
no_license
murakami10/crawling-naist-lecture
438ef9a6311630178641d2534b553e6ba20a8b5b
7e4345983f452f20e9ba03495c42b2e922cb56f7
refs/heads/main
2023-05-19T10:45:34.863849
2021-06-08T09:17:47
2021-06-08T09:17:47
367,010,980
0
0
null
2021-06-08T09:17:48
2021-05-13T10:16:51
Python
UTF-8
Python
false
false
4,696
py
import threading import time from http.server import HTTPServer, SimpleHTTPRequestHandler import pytest import requests from src.crawling_naist_syllabus.fetch import FetchData from src.crawling_naist_syllabus.structure import Lecture @pytest.fixture(scope="session") def fetch_and_save_syllabus_html(tmpdir_factory):...
[ "m.kyoya777@gmail.com" ]
m.kyoya777@gmail.com
809258fbebe5a4d58326b515a82977274a9a9cba
0bcd128368e2de959ca648960ffd7944067fcf27
/infra/bots/assets/protoc/create.py
e363cc5068230dadf10809450d4bff5a04c530b9
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google/skia
ac6e39179cd33cf0c8a46d29c1a70bf78b4d74ee
bf6b239838d3eb56562fffd0856f4047867ae771
refs/heads/main
2023-08-31T21:03:04.620734
2023-08-31T18:24:15
2023-08-31T20:20:26
15,773,229
8,064
1,487
BSD-3-Clause
2023-09-11T13:42:07
2014-01-09T17:09:57
C++
UTF-8
Python
false
false
768
py
#!/usr/bin/env python # # Copyright 2017 Google Inc. # # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Create the asset.""" import argparse import subprocess ZIP_URL = ('https://github.com/google/protobuf/releases/download/v3.3.0/' 'protoc-3.3.0-...
[ "skia-commit-bot@chromium.org" ]
skia-commit-bot@chromium.org
b3d93a0f51a77a3d6dc44538c95e1ed5c3151ddc
42403faf2ddc59c11f5ffc04a016f4faf9b26e7e
/horse/apps.py
633a14783bf5bf496259fc52f562a6ad7cf470d7
[]
no_license
stephen-a-barry/project-three
5226b40080fdb6fbe73316982e3b73ccdc0b78f9
ced814297f5efc774abe01b4f2feb372d3852a09
refs/heads/master
2021-01-20T12:55:51.525293
2017-05-06T01:33:45
2017-05-06T01:33:45
90,426,784
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class HorseConfig(AppConfig): name = 'horse'
[ "stephen.andrew.barry@gmail.com" ]
stephen.andrew.barry@gmail.com
09905fca985dec0cd722c242256b69eee8fc3ec9
70654475a67af66acbe8dbfa42c5a6d5eeaadb3c
/stud_projects/func.py
03d079c0fa0477a1b1f8aca60e2b36eb89f7081b
[]
no_license
Vanechkash/Stud_materials
7a4aae3ca3a36b98eb2fb896e6aa789b303e7e65
bcaa88d474d7417777e67fea66ba77c668f57bef
refs/heads/master
2020-07-24T17:35:40.825468
2019-09-12T09:03:34
2019-09-12T09:03:34
207,998,031
0
0
null
null
null
null
UTF-8
Python
false
false
1,767
py
def mysum(x, y): return x + y res = mysum(3, 5) print(res) %%time def f(): limit = 10 ** 4 # 2.75 | 2.56 | 2.42 | 1.2 | 0.6 y = [2] for digit in range(3, limit, 2): for i in range(3, digit // 2 + 1, 2): if not digit % i: break else: y.append(di...
[ "vanechkashevtsov@gmail.com" ]
vanechkashevtsov@gmail.com
e5dfdc4c092bc5518089553404c175f96dafac58
5003e6efbd5cfa9ac1d130b55845be6c718f99c7
/lotto/migrations/0023_auto_20171123_2255.py
da3dca17589b8e989955899bbf524c363f667e1c
[]
no_license
kkmh/django_lotto
d1f49a8ee7c31adc1e375102568bfbf9bcc13a54
f33944721071a4d83d1e80731370e4614119e5b2
refs/heads/master
2020-12-28T13:13:17.057031
2018-01-07T17:09:27
2018-01-07T17:09:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,974
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-23 13:55 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lotto', '0022_auto_20171123_2254'), ] operations = [ migrations.AlterField(...
[ "neverfail03@naver.com" ]
neverfail03@naver.com
ccaed32da76f2205a2202e7d175dbe2d49ab92d6
eca01589c688a5b3d20c4f729dcc028d7ef78330
/Cellular_Automaton_color.py
aa8bef64ec8070d30fa722349342d31fafbd0cfe
[]
no_license
ycanerol/network-sim
86d465e15e4e2ca8cfbeaa6ef4494bab13f13295
aa03fb9e55ecef2669e3ebbd873970d5bb81e8f7
refs/heads/master
2021-01-11T21:02:45.613923
2017-03-06T10:57:39
2017-03-06T10:57:39
79,233,545
0
0
null
null
null
null
UTF-8
Python
false
false
3,502
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Dec 5 10:36:18 2016 @author: zhoulinn """ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Cellular Automaton trial 1 with rule Created on Fri Dec 2 18:25:55 2016 @author: zhoulinn """ import numpy as np import matplotlib.pyplot as plt import c...
[ "zhoulinn@yahoo.com" ]
zhoulinn@yahoo.com
38682846174ebf28907dec0acc8e91a95e9ba82b
39d5ab0e89db80c02a39323f7c361335a4951ce0
/http协议/返回固定页面的http服务器.py
6e1468da08d1d91bb32db4f22d02269e6e80c295
[]
no_license
JZY11/card_manager
ec6a34b6f21fd3190532dc81616138005894007e
9425f1243c678ced90d6bf011babe5763aa0fe31
refs/heads/master
2020-04-04T23:08:16.190359
2019-06-25T06:14:17
2019-06-25T06:14:17
156,348,315
0
0
null
null
null
null
UTF-8
Python
false
false
2,089
py
import socket import re def service_client(new_socket): """为这个客户端返回数据""" # 1. 接受浏览器发送过来的请求即http发送过来的请求 # GET / HTTP/1.1 #...... request = new_socket.recv(1024).decode("utf-8") # 服务器对接收到的客户端发送过来的请求进行解码 # print(request) request_lines = request.splitlines() print(">" * 20) print(req...
[ "1291813139@qq.com" ]
1291813139@qq.com
f0e322df0b49843a3c0f900b8e7517b490b67e05
897943057b50258cd5fdabdc3450bfd6b6e009b2
/def_func_001.py
53fb64938a0d29a84c0d31a457cc5951c721736b
[]
no_license
fnqn/lphython27
6b9a1f8c55b5dcb9d81fa84de13deaf97bbfe101
d794dc523f84d87e218082a49760d5d26fa58c04
refs/heads/master
2021-01-10T11:28:59.472879
2016-02-21T14:09:31
2016-02-21T14:09:31
47,382,720
1
0
null
null
null
null
UTF-8
Python
false
false
495
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import math ####define mix parameters### def func(a, b, c=0, *args, **kw): print 'a =', a, 'b =', b, 'c =', c, 'args =', args, 'kw =', kw print func(1,2) print func(1,2,c=3) print func(1,2,3,'a') print func(1, 2, 3, 'a', 'b') print func(1, 2, 3, 'a', 'b', x=99) args...
[ "news.frank.zhang@gmail.com" ]
news.frank.zhang@gmail.com
3bace174bfb11cc84ac1de4c0a142a16e80e8ed7
f7447239dc053fd13d3c5f885ba6312a2b78c67b
/Sample_code/SMS Tests/SMS_Test.py
9e84659081d7da2d6e4090a42646963901f06c33
[]
no_license
sreece52/remoteroomalerts
3fecb67bb650e88a6862667d317816094e85e7de
973644c666c045224e6ffe59357e1d22d60adb74
refs/heads/master
2020-09-20T19:20:09.599625
2017-04-17T22:26:03
2017-04-17T22:26:03
67,724,284
1
2
null
2016-09-16T04:36:14
2016-09-08T17:16:18
Python
UTF-8
Python
false
false
1,502
py
""" This program sends an SMS message to any cell phone using Gmail's SMTP gateway. """ import smtplib # Establish a secure session with Gmail's # outgoing SMTP server using your gmail account server = smtplib.SMTP("smtp.gmail.com", 587) # Puts the SMTP connection in TLS (Transport Layer Security Mode # All SMTP com...
[ "brandonbabcock3@gmail.com" ]
brandonbabcock3@gmail.com
6ec9dc8e0c0834377071827dfc5e217d63e4ebff
b391494955ca4e7b2f2d9b52e79fbefac989ad9f
/convent.py
e2b2fe12fbbfb7efed457ae28e6ad9f49cd74aef
[ "MIT" ]
permissive
maniksejwal/MineRL
398361323b2503f0ecca7a1f7b82c2e0029e4575
145eb8018e7dded395bd237e0daf47dbbd5027ee
refs/heads/master
2020-08-21T18:38:59.379850
2020-04-03T07:23:02
2020-04-03T07:23:02
216,219,971
0
0
null
null
null
null
UTF-8
Python
false
false
4,476
py
#!/usr/bin/env python # coding: utf-8 # In[ ]: import tensorflow as tf import random class ConvNet: def __init__(self, params, trainable): self.shape = [None, params.width, params.height, params.history_length] self.x = tf.placeholder(tf.float32, self.shape) self.in_dims = self.shap...
[ "maniksejwal@gmail.com" ]
maniksejwal@gmail.com
647fa850dcac00ce5a11b3d50c75205e799816d4
747c3405fa55e966421478eee7ff5ef171c2147a
/polls/models.py
3f608e98af5f8b84ab88c48bf2950b604eb91bb8
[]
no_license
mraghbeer/My-First-Blog
2a7009e63a75642673a87e66042e27fd8311d498
895ebfd1b6799f54fb5e6913999e316f3b7cdf3f
refs/heads/master
2020-12-29T01:11:22.810244
2016-08-23T16:14:47
2016-08-23T16:14:47
65,850,294
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
from __future__ import unicode_literals import datetime from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils import timezone class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField(...
[ "mraghbeer@gmail.com" ]
mraghbeer@gmail.com
5a61ea0145a79555e2cb7c065a46853cc1badeba
c48cf70d0ea48bc82222cec23f1e21da99a863ea
/src/basic-c3/list-enumerate2.py
1928a274231cbf3f0cfc8684f6e665bc1a5624f9
[]
no_license
n18006/programming-term2
623c8922c1bf0be11814443dc29aeaa480283227
1ff42337e1bdf2baedbfac3f0a5b71ad815e530b
refs/heads/master
2020-03-22T08:59:29.025367
2018-08-30T02:06:00
2018-08-30T02:06:00
139,806,122
0
0
null
2018-07-05T06:42:08
2018-07-05T06:42:08
null
UTF-8
Python
false
false
99
py
# enumareteの動作を確認する fruits = ['apple', 'orange', 'banana'] list(enumerate(fruits))
[ "=n18006@std.it-college.ac.jp" ]
=n18006@std.it-college.ac.jp
e8e687ac18f3cd5f4b32942b6aa49cc4d14996d6
02b9b15ce50b88828a8a249f0f115c72f6652d0c
/IO_exercise.py
a366e2a03dde709b753878db595b75875bbc43a9
[]
no_license
YuhaoWANG47/input-output-analysis-tools
d7135aefa6287f02b6f8c288bc636e8d5ed0a249
c59ccb39113fc2e53971665aac0b22cfa69e6200
refs/heads/master
2022-09-04T12:41:06.434469
2020-05-27T16:37:23
2020-05-27T16:37:23
267,372,204
7
0
null
null
null
null
UTF-8
Python
false
false
2,465
py
import numpy as np import IO_basic_function as IO import IO_commodity_industry as SIOT import IO_2Regions as IO2R import IO_energy as IOE # HW 1-4 A = [[1/8, 0, 1/4], [0, 1/8, 1/4], [1/6, 0, 1/6]] Y = [50, 30, 20] IO_1_4 = IO.IO(A, Y, 'A', 'Y') print(IO_1_4.X) print(IO_1_4.B) # HW 2-3 Z = [[225, 600, 11...
[ "noreply@github.com" ]
YuhaoWANG47.noreply@github.com
3da455ce52d458b4773c267e53ec63b5dda4a8eb
4f6a7ce9a2486a00810bda17c0230667440fbef2
/busbooking/city/forms.py
998eb80e37833a8aced4e3f9924f09b57bfa4263
[]
no_license
vkit/busbooking
0c71fca68911fd9c9d710bf0a3cb2cc5d425d643
2f6d84a5370b52a61ce0ba44f13113974812c964
refs/heads/master
2021-07-19T22:15:03.181331
2017-10-27T13:51:18
2017-10-27T13:51:18
108,551,932
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from django import forms from .models import CityDetails class CityForm(forms.ModelForm): class Meta: model = CityDetails fields = ('fromcity', 'to', 'date_of_journey', 'return_journey')
[ "noreply@github.com" ]
vkit.noreply@github.com
fd94c8624e3ec245e0afe4ca4ebd2eee02329def
fff6286dfff0bf7ebbbfd50d72bad28fe2a8a8d5
/cifar-100_pooling/maxpooling.py
058c5101d759990a976fff0e2cdf969b4265c1df
[]
no_license
TyjChristy/Honours-Project
e3ed2fef52e10e4bc7d72d56c34c2273e35744a2
49edd2b546beba75c0f83f3f619002ae6f3069c8
refs/heads/master
2023-01-06T14:55:56.249173
2016-10-25T16:00:16
2016-10-25T16:00:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,427
py
''' maxpooling.py Author: Adam Swart Creates CNNs that use max pooling for subsampling ''' from pylab import * import matplotlib.pyplot as plt caffe_root = '~/bin/caffe-master/' import sys sys.path.insert(0, caffe_root + 'python') import caffe from caffe import layers as L, params as P def cnn_elu(sname, batch_size)...
[ "swartadam@gmail.com" ]
swartadam@gmail.com
3934a0510f07e80135d2e5646222dca7c9be0da2
75ec112ee628f05b1b859b2cad44240c9342a2dd
/Analysis/run26_Tscatter2.py
7bab6123d4b055c53245602f4a37e44fce57e32a
[]
no_license
DJRumble/PHD
bf3f2731738ddd4880ef3cb1ae38b65dda1a48f9
71f2863c9ab70c6727e951afd3c41ab0752465e3
refs/heads/master
2021-01-17T06:14:50.358427
2016-07-19T14:11:20
2016-07-19T14:11:20
46,721,722
0
0
null
null
null
null
UTF-8
Python
false
false
5,846
py
import numpy as np from pylab import * from scipy import stats import matplotlib.pyplot as plt import slfit def line(intercept,slope,x): X = np.array(x) y = (slope*X)+intercept return y def dust_temp(a,d,Lx): Go = 2.1E4*(Lx/(10**4.))*((0.1/d)**2.0) Td = 33.5*((1.E-6/a)**0.2)*((Go/(10**4.))**0.2)...
[ "damian@astro.ex.ac.uk" ]
damian@astro.ex.ac.uk
d799c4acc7818e721ded896db9892a2d35873e8a
333b85f4b15ec34faf3dc17636952884bf400787
/ui_process.py
00d265d3ef4a9e2dbab5db829effaa9bef4514e5
[]
no_license
lidashuangok/opencv_makeup
2a8a7cb8c00908b13ef411d163fff02f209cc092
e39e609717ffe56efce96941c0096fa5c42e7c90
refs/heads/master
2020-05-23T23:35:27.639992
2019-05-16T09:38:28
2019-05-16T09:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,869
py
# !usr/bin/python # Author:das # -*-coding: utf-8 -*- from face import Ui_Dialog from PyQt5 import QtCore,QtGui, QtWidgets from PyQt5.QtWidgets import QFileDialog import cv2 as cv import numpy as np face_cascade=cv.CascadeClassifier('haarcascade_frontalface_alt.xml') eye_cascade = cv.CascadeClassifier('haarcas...
[ "noreply@github.com" ]
lidashuangok.noreply@github.com
81d7b47bbfe39009a6c75b382323c8d1203263a6
2b79b62ea5fe0feed1600e8280bf951132f2b89a
/jogos/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_internal/utils/compat.py
2bcba41f300b84b38904fe12bddaf26453e2d3a2
[]
no_license
gbbiancardi/Python
b58565b0878848274037637c1c50da5d355b9edb
1ce30af0240a5343e976351b06eb2b528f1badb7
refs/heads/master
2020-08-02T03:15:45.164432
2019-10-17T23:25:08
2019-10-17T23:25:08
211,218,143
0
0
null
null
null
null
UTF-8
Python
false
false
8,512
py
"""Stuff that differs in different Python versions and platform distributions.""" from __future__ import absolute_import, division import codecs import locale import logging import os import shutil import sys from pip._vendor import text_type from pip._internal.utils.typing import MYPY_CHECK_RUNNING if MYPY_CHECK_R...
[ "g.bbiancardi@gmail.com" ]
g.bbiancardi@gmail.com
028fd3b59366f1017eddc45a58e8bd4318f73214
dcc729bb49567fd0ca2eabba0a749ef81a12c376
/ValidWord.py
85909176cd63187eea0e14ee83fa238b3b44d0ae
[]
no_license
kkorolyov/algorithms
512f0b9e6693df4b4ddae1a55c3f571ad3d56d63
effd1457396e651eb0cec72ed1c534f031a0c7e2
refs/heads/master
2020-12-13T11:25:08.314689
2017-05-16T02:19:05
2017-05-16T02:19:05
83,632,393
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
def main(): word = input().strip() print("Yes" if valid(word) else "No") def valid(word): word = word.upper() vowels = {"A", "E", "I", "O", "U", "Y"} for i in range(1, len(word)): if (word[i] == word[i - 1]) or (word[i] in vowels and word[i - 1] in vowels): return False return True if __name__ == "__mai...
[ "kirillk753@gmail.com" ]
kirillk753@gmail.com
025a6f582d75ad70e4907d416234fcc4022ee584
f675b1d95285b743cbc5825500c6000709cff64c
/newapp/migrations/0001_initial.py
99d39e692de490aa35ed92eb308f5e42c48955ae
[]
no_license
SeniorFlacko/ArticlesDate
e95086560d199826fb8a8d420afcff7aefd18091
afedf9d55a9c7488770a6704e91e2ec184e34f9a
refs/heads/master
2021-01-20T15:19:41.774267
2017-05-09T14:31:55
2017-05-09T14:31:55
90,755,245
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-30 17:50 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article'...
[ "cristianalemanfuentes@gmail.com" ]
cristianalemanfuentes@gmail.com
874a61ad25e6f5e3fb13dfdfa02f814cebfc737b
631847fafbcfa07bf33eee078d9b59b464ce4b50
/optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum3000/Output/Histos/MadAnalysis5job_0/selection_8.py
63a5075a9c405cdb0b8114324ea73fc498ae8bb1
[ "MIT" ]
permissive
sheride/axion_pheno
7b46aeb7cc562800d78edd9048504fdbc0f5fa42
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
refs/heads/master
2021-07-01T08:47:59.981416
2021-02-03T23:03:50
2021-02-03T23:03:50
219,261,636
0
0
null
null
null
null
UTF-8
Python
false
false
18,794
py
def selection_8(): # Library import import numpy import matplotlib import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec # Library version matplotlib_version = matplotlib.__version__ numpy_version = numpy.__version__ # Histo binning xBinning = numpy.lin...
[ "elijah.sheridan@vanderbilt.edu" ]
elijah.sheridan@vanderbilt.edu
e3be526e46c189f22a9e4132e74705ff0049d20a
5fed8f59037727c62e8876fb7a54efe2514f7c8c
/mysite/settings.py
c81a4469a1591062517c6caf45d9406c08a5bc95
[]
no_license
joseant1234/polls_django_tutorial
0566e44a1547847c270f9582d385225fbc2c7b1d
e9218f881d94a9bf5c37679a9690dc9692cd0779
refs/heads/master
2020-11-27T06:09:11.254029
2019-12-17T19:06:25
2019-12-17T19:06:25
229,333,474
0
0
null
null
null
null
UTF-8
Python
false
false
3,151
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # Bu...
[ "j-osea-nt@hotmail.com" ]
j-osea-nt@hotmail.com
01fcec7760c05ab10eb738d95df70e642d7120ea
066aa060a6e36f8777795d13949ee156e467f503
/2018/RCTF2018/simplevm/exp.py
3eb35600b89cd5cbedcf90b641f95eabdfe1ee61
[ "MIT" ]
permissive
add01w/ctf
fb6146f468ced1fe03c0da9959dddaefba773e43
16c47f3ba620fff1946ab075af33a7cdcfd7db96
refs/heads/master
2020-04-03T05:22:59.286552
2018-10-25T20:13:22
2018-10-25T20:13:22
155,043,700
1
0
null
2018-10-28T06:54:41
2018-10-28T06:54:41
null
UTF-8
Python
false
false
371
py
def trans(x,y): return (x&y)^0xffffffff table='\x10\x18C\x14\x15G@\x17\x10\x1dK\x12\x1fIH\x18ST\x01WQS\x05VZ\x08X_\n\x0cX\t' def recver(x,x140): x143=x x141=trans(x140,x) x142=trans(x141,x140) x144=trans(trans(x143,x141),x142) return x144 s="" for p in range(0x20): x=0x20+p for i in range(0x100): if recv...
[ "hzshang15@gmail.com" ]
hzshang15@gmail.com
13b9171f24990f1bce23cccc8caf0967d42f242b
872269dc49bf9de4063f7549a79457b8043a4bba
/scraping_service/urls.py
073c008c21c3fa2c758c20ad777d8cb2fb056f12
[]
no_license
OMAY/scraping_service
8a7c68b68304b89a06715004f362f003e34eb365
03a4f183f627d060c491b99a946c4213a6da0377
refs/heads/master
2023-07-17T17:44:26.049219
2021-08-31T07:18:09
2021-08-31T07:18:09
400,181,552
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
"""scraping_service URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "mayvaldoff@gmail.com" ]
mayvaldoff@gmail.com
c8c4f725094964afc5188f8c40706a18a1b80a7e
e509da6081ebace6d48fcaf6438b113745a941a7
/2020_3_18/venv/Scripts/easy_install-3.7-script.py
5703c03895f489fad7cc01c049101af1854503fd
[]
no_license
bopopescu/PythonHomeWork
41c801e78f934c886c1c986ca50f360832e28c33
1b5623deff1ce66593c0bb9d25b719888a51eaec
refs/heads/master
2022-11-20T16:17:26.441881
2020-07-12T09:20:54
2020-07-12T09:20:54
281,798,813
0
0
null
2020-07-22T22:51:14
2020-07-22T22:51:13
null
UTF-8
Python
false
false
460
py
#!C:\Users\NsZoth\PythonHomeWork\2020_3_18\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "2367018272@qq.com" ]
2367018272@qq.com
226f6da13f11d8c831abfad5f9b926be152958cd
7d3a5eed7ffa50518cbc8217853954bb9d75e0b6
/09/IN/Resenja/zad2/Kvadrat.py
29badebbd3cb5e576a77efbc483a4f04ea31ff0a
[]
no_license
Mladjenovic/Object-oriented-programming
93a0aa615ca92d29bc7d55e39c921c33e5939099
fe69a60ba078060c9ed8b8affb8855e4bad19f69
refs/heads/main
2023-04-22T22:34:13.744594
2021-04-29T07:44:26
2021-04-29T07:44:26
362,730,548
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 17 10:42:07 2018 @author: Marko """ from Pravougaonik import Pravougaonik class Kvadrat(Pravougaonik): def __init__(self, a): super().__init__(a, a) def setA(self, a): super().setA(a) super().setB(a) def setB(self, b): ...
[ "mladjenovic.cvijetin.com" ]
mladjenovic.cvijetin.com
e3249bbc5af06c3b35e1755bfa64b8190fe92739
0da998963a839c53066749a3be9d03a38683f0fa
/node_modules/websocket/build/config.gypi
6893e409916ba6a6ae04dab1b4146c497dae5cad
[ "Apache-2.0" ]
permissive
ShreyaB8/MedX
9c8bcd98cd63345047f24246f5d7641ba778721f
9fbbdf74f68a46604c6c2f35a6b19503bbb36d5c
refs/heads/master
2022-12-19T06:43:28.396300
2020-09-11T09:15:52
2020-09-11T09:15:52
289,757,793
0
1
null
null
null
null
UTF-8
Python
false
false
6,016
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [], "msbuild_toolset": "v142", "msvs_windows_target_platform_version": "10.0.18362.0" }, "variables"...
[ "Shreyaroxx777@gmail.com" ]
Shreyaroxx777@gmail.com
1618a929ae16e05df32674e09e3847394c55aeb1
1dde2ae19e8c50a6c49ac1929ef4f0d7948fc47b
/sorting/269_alien_dictionary.py
d1f89e9cd2b933fa677b80072496f8dd8b059177
[]
no_license
ryanSoftwareEngineer/algorithms
694786e970e99120bdd94ca5722ad91aed846589
9dbff6f4a40ba99c7310966e63f66e14174bdb61
refs/heads/master
2023-04-21T10:09:30.683266
2021-05-13T02:55:30
2021-05-13T02:55:30
330,536,908
0
0
null
null
null
null
UTF-8
Python
false
false
3,484
py
''' https://leetcode.com/problems/alien-dictionary/ There is a new alien language that uses the English alphabet. However, the order among the letters is unknown to you. You are given a list of strings words from the alien language's dictionary, where the strings in words are sorted lexicographically by the rules of t...
[ "ryansoftwareengineer@gmail.com" ]
ryansoftwareengineer@gmail.com
b754bab61dddb1da59d10a80567fad564d317780
815bd4efaa237844e7dbe3dcebca18ca920e2cd6
/general/views.py
8eaf76d5f2df163f02505e54612587e987c59940
[ "MIT" ]
permissive
adityamittl/TravelX
4c0c5a803e3fa56bb89a67283ba97cbeef29e4da
aea5cc1fc4d4eff61a86cd959fea3466e62561b1
refs/heads/main
2023-08-27T09:12:24.743541
2021-10-24T12:43:48
2021-10-24T12:43:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,401
py
from django.shortcuts import render,redirect from django.http import HttpResponse from django.contrib.auth.models import User from authentication.models import profile, friend_list,recieve_request,sent_request,bill from django.contrib.auth.decorators import login_required from django.core.files.storage import FileSyste...
[ "aditmttl@gmail.com" ]
aditmttl@gmail.com
13b87f4c8ec89a56f8dc3e87c3df0cc6b9ab4c6f
06ceb6fed05af1416031616936d0a0ec891032fa
/seriesus/__init__.py
f8ae63570bc255e98b83aa7445d349d6113a2d19
[]
no_license
groves/seriesus
3d466685496b0f8524151bff8037fbec0d0999c7
d7e8781d284e5841d42e6b8fe0db959f85db4a6c
refs/heads/master
2020-06-06T02:09:29.303603
2009-07-05T07:14:51
2009-07-05T07:14:51
173,760
1
0
null
null
null
null
UTF-8
Python
false
false
243
py
import wsgiref.handlers from google.appengine.ext import webapp import service, views application = webapp.WSGIApplication(service.urls + views.urls, debug=True) if __name__ == '__main__': wsgiref.handlers.CGIHandler().run(application)
[ "charlie.groves@gmail.com" ]
charlie.groves@gmail.com
154bb8fc3ec4ecff7d4664dd60a36d89d9e9c287
7bd5ca970fbbe4a3ed0c7dadcf43ba8681a737f3
/atcoder/abc/abc034/d.py
39cae32435a6c76186d919f097f04446d71aa1b3
[]
no_license
roiti46/Contest
c0c35478cd80f675965d10b1a371e44084f9b6ee
c4b850d76796c5388d2e0d2234f90dc8acfaadfa
refs/heads/master
2021-01-17T13:23:30.551754
2017-12-10T13:06:42
2017-12-10T13:06:42
27,001,893
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll N, K = map(int, raw_input().split()) w, p = [], [] for i in xrange(N): wi, pi = map(int, raw_input().split()) w.append(wi) p.append(pi) wp = [[1.0*p[i]/w[i],i] for i in xrange(N)] wp = sorted(wp, key...
[ "roiti46@gmail.com" ]
roiti46@gmail.com
533a91d60926edf6f0aba6c93456e5854d8d9f50
5b9e70d576358695786b3d37d41bb6443e132e84
/django_project/src/constants.py
ee16dde8f5a5d3daf6496860b0b4c38e8fa6adee
[]
no_license
Pratikkroy/important-stuff
8961e65422a47978ea2fe0c660b89a9a35aed1a6
0ea5fa6e475ee32bafe8a3064474632430c9db98
refs/heads/master
2023-01-13T06:47:31.706079
2020-11-19T15:39:35
2020-11-19T15:39:35
236,268,349
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
class UserStatus: ACTIVE = 'ACTIVE' class UserGroups: ADMIN = 'ADMIN' MEMBER = 'MEMBER' class Teams: DEFAULT_TEAM = 'DEFAULT_TEAM' class LoginType: EMAIL = 'EMAIL' PHONE = 'PHONE' class UpdateCredentialsType(LoginType): PASSWORD = 'PASSWORD'
[ "roypra@amazon.com" ]
roypra@amazon.com
5cc8ec80ccc8efeb23593a73ca96ed083f375377
e4ddc13077ea1d4d2dd5372652f95e1399d1df22
/mlcoursera/bin/pip
3d7546894b976610e9fafdada828079d9f284d5e
[]
no_license
fmeiraf/machineLearningSpec
f69fd4f7cefe152eafbf123f489f69dac88bcbc9
ea6a211645c4fb815fd83a480668933dde02912f
refs/heads/master
2022-04-12T00:10:43.997735
2020-03-29T18:42:15
2020-03-29T18:42:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
274
#!/Users/fernandomeira/github/machineLearningSpec/mlcoursera/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "fernandomeira@Luizs-MacBook-Pro.local" ]
fernandomeira@Luizs-MacBook-Pro.local
c72b8b73311cc3d3bad1df449bb796c35b90e76b
a0fb0a38ba28406399cf502ad302bbe68982698f
/Oladokun_Shakirah_FP/Transactionitem.py
ca72ac3c83ca35c45de0b3f6f467f0b23330ef89
[]
no_license
shakirahola/Retirement-account
15c16091e70d89c52458c81787c27d8519d3b0ef
4d0ea472709efaf848edf8de083e7a55868090ad
refs/heads/master
2023-02-27T22:04:59.512993
2021-01-19T06:02:16
2021-01-19T06:02:16
311,070,906
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
# Author : Shakirah_Oladokun # Assignment number & name: Final Project # Date : July 2020 # Program Description: Problem Solving and programming #The TransactionItem class holds data fot ID,name,quntity and price class TransactionItem(): #Initialize the data attribute def __init__(self): self.__id = 0 ...
[ "69004363+shakirahola@users.noreply.github.com" ]
69004363+shakirahola@users.noreply.github.com
d39d490a9b2f428cbec4549a2011f2fd7bd69a94
732347557d7ab7d2151a7e3b2bc84971f56ec597
/myapp/migrations/0009_portfoliophoto_makeup_portfoliophoto_makeup_column.py
102b0050e1cc563f1ef82305a6abe886f1af9451
[]
no_license
SabaSiddiqi/nfmakeupstudio
28c6b841ebad21c88226aef839c0902e674a22e9
a4f4f88ca32eaff5328ab4dd9529ed3ab93808b6
refs/heads/master
2022-11-24T08:59:57.375288
2020-07-29T16:56:10
2020-07-29T16:56:10
283,553,072
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
# Generated by Django 3.0.2 on 2020-07-28 16:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0008_html_info'), ] operations = [ migrations.AddField( model_name='portfoliophoto_makeup', name='portfolio...
[ "saba.siddiqi@durhamcollege.ca" ]
saba.siddiqi@durhamcollege.ca
6c693a328866fd950c2e532bdc60f252140a20d1
ea674dbc36cca7888d878139a4ca94a2a3114cd7
/ch02/fibonacci.py
f4cf42f4f5345132ef8d94de074c40ae8b62f103
[]
no_license
cashev/algorithm-study-in-Python
5353ba3ae721d58791148f54b9716d1afc0510f3
9b94042b79f57bb31fb44f1b0e44fe96f8b3e0c9
refs/heads/main
2022-12-29T12:34:13.149450
2020-10-11T15:16:11
2020-10-11T15:16:11
302,348,599
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
memo = {1: 1, 2: 1} def fibonacci(n): fib = [1, 1] for i in range(2, n): fib.append(fib[i - 2] + fib[i - 1]) return fib[n - 1] print(fibonacci(6))
[ "42924021+cashev@users.noreply.github.com" ]
42924021+cashev@users.noreply.github.com
5982226ec1a45a7ebd9ed85ba1717841c71c3630
b2ad1c004f40c3daad3236185302a8f01310e06b
/babyname.py
64d95f018e73ea7fb4d0a7a8dc210da78bf743d6
[]
no_license
yuzhiquan/BabyName
405688c119cbd745fb6bcd351f837b4b2bb8c25b
1418c1c2a90c7f008c31470493ac1fc5770541f4
refs/heads/master
2021-05-16T08:23:56.787651
2017-09-19T10:33:10
2017-09-19T10:33:10
104,061,238
2
0
null
null
null
null
UTF-8
Python
false
false
2,051
py
# coding:utf-8 import os import random import time import requests prefix = "于" sex = "male" # or female dict_path = "./dicts" api_url = "http://route.showapi.com/1026-2" app_secret="" appid="" def make_baby_name(single=True, sex="male"): sex_str = "boys" if sex == "male" else "girls" name_count = "single" ...
[ "yuzhiquanlong@gmail.com" ]
yuzhiquanlong@gmail.com
df4e038e22cf3c270f1a3a8f824801053e8e7e99
075b5dcce9425a9f8ede35c1880ca87499b03774
/codes/step2_neural_networks_final.py
d2963fdf318fcbbea54f82c1ff48ec4024530d63
[]
no_license
santonetti/SIGMA_neural_network
99ff2133ea1bb245a7d6a2daafdf122300e90b9c
aced65bf93f3c7c7c1b72c8ba2c52910153a1542
refs/heads/master
2021-01-30T05:47:43.463145
2020-02-26T14:50:13
2020-02-26T14:50:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,793
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 19 14:50:55 2020 @author: Sam """ import tensorflow as tf from matplotlib import pyplot as plt #plt.style.use('dark_background') from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Flatten, Activation, Dropout, Conv2D, Max...
[ "h.ternisiendeboiville@gmail.com" ]
h.ternisiendeboiville@gmail.com
153eaf590327a3928e4f39de1f87e5e3b6434798
cb0e7d6493b23e870aa625eb362384a10f5ee657
/solutions/python3/0200.py
bf259566a4c651f2576a82f375668f59e4e04686
[]
no_license
sweetpand/LeetCode-1
0acfa603af254a3350d457803449a91322f2d1a7
65f4ef26cb8b2db0b4bf8c42bfdc76421b479f94
refs/heads/master
2022-11-14T07:01:42.502172
2020-07-12T12:25:56
2020-07-12T12:25:56
279,088,171
1
0
null
2020-07-12T15:03:20
2020-07-12T15:03:19
null
UTF-8
Python
false
false
739
py
class Solution: def numIslands(self, grid: List[List[str]]) -> int: def dfs(i: int, j: int) -> None: if i < 0 or j < 0 or i >= len(grid) or j >= len(grid[0]) or visited[i][j] or grid[i][j] == '0': return visited[i][j] = True dfs(i + 1, j) dfs...
[ "walkccray@gmail.com" ]
walkccray@gmail.com
e76a690db36ba43f38bfd305c85ba8a3cd8f57ce
f880a1aead566afbf8bbd9ab3bf5dc9328841086
/src/plot.py
ead530d899f7d73ddc9bd48f5f5e03c90d5d0af8
[]
no_license
Raidenkyu/FEUP-ECAC
0b826d4e88716b6c7f38c4a48df54cbaee93c205
e9d85ca70bc48e2e9383792fde2c4cc6deffa206
refs/heads/master
2023-01-04T23:20:17.232096
2020-11-06T20:05:05
2020-11-06T20:05:05
298,519,466
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
import sklearn.metrics as metrics import matplotlib.pyplot as plt def plot_auc(model, X_test, y_test, algorithm): metrics.plot_roc_curve(model, X_test, y_test) plt.savefig(f"{algorithm}.png")
[ "joao-carlos.14@hotmail.com" ]
joao-carlos.14@hotmail.com
11415f32b0fead31eb079e3b857c79c3789a36c2
95ace652acacea02f43ba82f8921d33f6fe20cf4
/day01 初识Python/11 数据类型.py
92da687271ac60c13c4dc74de971a33768435e3f
[]
no_license
15271856796/python_study
fe90621cf980b5e2a1d753aaeee12b605212988d
686711e56f47bb9f275ffdd3c773d6afa6ad48f2
refs/heads/master
2020-06-19T11:11:00.751360
2019-08-20T07:53:29
2019-08-20T07:53:29
196,688,250
0
0
null
null
null
null
UTF-8
Python
false
false
2,900
py
# 1 整型 用于基本计算 int("10") str(10) bool(10) # 2 bool型 用于判断语句 # 3字符,字符串 ①字符串的索引:从0开始,a="我是何睿,我最优秀" a[3]='睿' # 索引也可以倒着数,那么最后一个元素是-1,即a[-6]='睿 # ②切片:a[3:7]='睿,我最' 顾头不顾尾,且默认从右往左切 # a[-7:-2]='何睿,我最' # a[...
[ "15271856796@163.com" ]
15271856796@163.com
f25ef27f64837ff2830860071a405eccc719e75b
13eb5da1ec39374d79ab9d5d1cdabc034a4b45ac
/dbFinal/wsgi.py
73abca37737ee52422616abc7ba5e97036632ef1
[]
no_license
rubcuadra/dbFinal
f07a2861b4dcf6f484cde1131e1279cb4dfc3199
4c441bd835fa7e564c2995ece22e60f16615bb90
refs/heads/master
2020-12-25T07:17:10.134091
2016-05-18T17:38:26
2016-05-18T17:38:26
57,059,579
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for dbFinal 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.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTI...
[ "ru_cuadra_e_96@hotmai.com" ]
ru_cuadra_e_96@hotmai.com
f0677e9e22489c64caa430987f2fa897d19c4f1a
a931c53bc2a12558529dcbeb0ad2cf6286a8b673
/software/logorec/setup.py
a784f4c87c5a588fcb45a798448ae3311b131d3b
[]
no_license
raikilon/logos-recognition
2ff4ac5dc61dd52eeff7a020994d8759b2b30c5f
63e2e965df38ca76b817bb05076035af1b272d24
refs/heads/master
2022-12-15T06:23:41.356617
2020-09-06T14:57:50
2020-09-06T14:57:50
293,298,393
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
from setuptools import setup setup(name='logorec', version='1.0', description='Logos Recognition for Webshop Services', url='https://gitlab.ti.bfh.ch/nolim2/Logos-Recognition-for-Webshop-Services/', author='Noli Manzoni', author_email='noli.manzoni@students.bfh.ch', packages=['logor...
[ "noli.manzoni@usi.ch" ]
noli.manzoni@usi.ch
a8583f599bf78d44b1efb88128743bfc148fc2c1
215d5738d9bdc165082fef7cd48834c8c43db2b9
/datapreprocessing.py
960c15e28f738475eb0039b5c5fcce8bba2e6614
[]
no_license
sarang-r/HZ-1
463a33a808a3052e5541f6c872faee72ef485b29
d287c39db9379ac3c066a80b8dd1e5fbbc9a3f27
refs/heads/master
2022-12-19T05:33:13.520008
2020-09-12T17:17:54
2020-09-12T17:17:54
294,989,466
1
0
null
null
null
null
UTF-8
Python
false
false
859
py
from PyQt5 import QtWidgets, uic import numpy as np import matplotlib.pyplot as plt import pandas as pd def Func(): v = call.lineEdit.text() v1 = call.lineEdit_2.text() v2 = call.lineEdit_3.text() a1 = call.lineEdit_4.text() a2 = call.lineEdit_5.text() a = int(v) b = int(v1) ...
[ "noreply@github.com" ]
sarang-r.noreply@github.com
249edccc58def3f145249bf992e46462994a3161
ab75122453d322d21068e4aff9a2862b26ce0790
/nuts/nuts_app/migrations/0003_auto_20161127_0141.py
c8015995e82599feec10f89ab44c5142cde7801f
[]
no_license
wangluting/Nuts
d45909e25e5a320d5fd88f8fb45385f41ccccc45
f41e89cc0b9f2dfedb1c9f34599726050808f42d
refs/heads/master
2021-01-13T13:39:23.066510
2016-12-13T22:28:38
2016-12-13T22:28:38
76,403,174
1
0
null
null
null
null
UTF-8
Python
false
false
660
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-11-27 01:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nuts_app', '0002_auto_20161125_0511'), ] operations = [ migrations.AddField...
[ "lutingw@andrew.cmu.edu" ]
lutingw@andrew.cmu.edu
1be85b201bf932f4cac21a2d25245f7b7fe46def
090e69cccc669b6e3023d24131448f778e6b1463
/erpcloud/accounting_double_entry/forms.py
3599b1d198fd3de9cd3fbedb9f8fb761c986e1e9
[]
no_license
abhishek-ag2000/clouderp
fcd87717c3a366648ba642bdae7236dcc7b8aeb0
00435e1b36e2aa39ac3265f4a4caf7c9ebb88f42
refs/heads/master
2020-03-25T20:49:40.029773
2018-12-21T08:46:21
2018-12-21T08:46:21
144,148,086
0
0
null
2018-09-27T13:13:01
2018-08-09T12:13:54
JavaScript
UTF-8
Python
false
false
4,758
py
from django import forms from accounting_double_entry.models import journal,group1,ledger1,selectdatefield from company.models import company import datetime class group1Form(forms.ModelForm): class Meta: model = group1 fields = ('group_Name', 'Master', 'balance_nature','Nature_of_group1', 'Group_behaves_like...
[ "abhishek.ag2000@gmail.com" ]
abhishek.ag2000@gmail.com
6ab951fd0646632802dd3165aa8ec3568c2f6703
f7b84dda5ef8a86ac4cf61a23a55c7525f8a765b
/multigenomic_api/services/organisms.py
f9d2459548ff41cea25c3cefd1e6bd9b0ce747aa
[]
no_license
PhillBet/multigenomic-api
67da383a0b1b756bc4cf76308cbfbb9a1437a649
3195444236179650552245935ca802128912e09c
refs/heads/master
2023-06-14T02:20:33.058322
2021-06-25T01:18:22
2021-06-25T01:18:22
380,089,026
0
0
null
2021-06-25T01:18:23
2021-06-25T01:10:49
null
UTF-8
Python
false
false
220
py
from ..models.organisms import Organisms from . import base def get_all() -> [Organisms]: return base.get_all(Organisms) def find_by_id(id_: str) -> Organisms: return Organisms.objects.filter(_id=id_).first()
[ "pablo@makeitworth.com.mx" ]
pablo@makeitworth.com.mx
493149b85cd8f8ac097c095a5d003bc8d8250e26
2f44cecd8fc447c9e2f2d9f55abdea36ebb40cc5
/84.py
ef3779fbdfec69cf469c9f29d365c5b3495f449a
[]
no_license
yuzumei/leetcode
751a234b429131169e3eaf4594ffeb3b94f6ab34
b6708b03c92ec92e89fc7ecf13f1995dee346657
refs/heads/master
2023-07-28T05:48:53.192948
2021-09-11T06:16:07
2021-09-11T06:16:07
365,780,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
heights=[6,7,5,2,4,5,9,3] def search(heights): leftstack=[] leftnum=[] for i,num in enumerate(heights): if not leftstack: leftstack.append([num,i]) leftnum.append(-1) else: while leftstack: if num<=leftstack[-1][0]: left...
[ "973802530@qq.com" ]
973802530@qq.com
da425aa4d51a6ea808a27ee2cb207a787f7b13fc
4824a2081eb864ec20623885c34b9672ce81ecfd
/Introduction to Programming Using Python/ex13.py
f6cd5dd30e6207d27be0b66e3497192b5d7acc1c
[]
no_license
flyerooo/learnpython27
971a44ec414694d4872d5453b81fc42b8844f42a
136e2577bada45b9d0258d7bb5e792ea22869e9a
refs/heads/master
2021-01-10T11:42:07.855961
2016-04-17T04:08:50
2016-04-17T04:08:50
54,001,082
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
for n in range(100,1000): i = n / 100 j = n / 10 % 10 k = n % 10 if n == i ** 3 + j ** 3 + k ** 3: print n
[ "wxlong@foxmail.com" ]
wxlong@foxmail.com
5293142db0238e500bc8e112bb402720c56a2c77
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-2/vse-naloge-brez-testov/DN5-Z-146.py
9e28868b4bb26ff8e9f3184e25bbf744f394f63e
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
2,661
py
def unikati(s): t = [] for i in s: if i not in t: t.append(i) return t def avtor(tvit): a = tvit.split(": ") return a[0] def vsi_avtorji(tviti): t = [] a = [i.split(': ')[0] for i in tviti] for name in a: if name not in t: t.appen...
[ "benjamin.fele@gmail.com" ]
benjamin.fele@gmail.com
941ad2b4e5aad14db3cc4a03f8ae8ecb5ef125b3
2b24506cbee5d3e542c425f21e31835bf7bc3cbd
/shopsite/mainapp/admin.py
cd9ea3d67a8c0ddb2a0a0a727b3aba719b7efffb
[]
no_license
Affsyan/Django1
6a0af5e8c54feb3fac71194d803186b1541f0f78
a66b846feb606b69ec37dbab2540c1d58e0d8a2f
refs/heads/main
2023-07-14T23:31:04.035185
2021-08-20T09:17:27
2021-08-20T09:17:27
378,864,673
0
0
null
2021-08-20T09:17:27
2021-06-21T08:45:11
Python
UTF-8
Python
false
false
148
py
from django.contrib import admin from .models import ProductCategory, Product admin.site.register(ProductCategory) admin.site.register(Product)
[ "Affsyan@gmail.com" ]
Affsyan@gmail.com
1e3330a4c2e9cde05fdaf6c2da64ce628aaaa22c
217a9e18ae456cdbe1a0e7e48323a4cc539fa2c6
/finalproject.py
6a5a92cb829da152659f473779c20762cebed0ec
[]
no_license
krishna-pandey-git/Restaurant2
abe8658e3604bde0d5f21ed75f066afb3cdab631
f40b4800e1bd23262edb28fec1bbb8f702372215
refs/heads/master
2021-01-10T08:34:29.546580
2015-10-22T18:54:29
2015-10-22T18:54:29
43,980,513
0
0
null
null
null
null
UTF-8
Python
false
false
14,020
py
from flask import Flask, render_template, request, redirect, jsonify, url_for, flash from sqlalchemy import create_engine, asc from sqlalchemy.orm import sessionmaker from database_setup import Base, Restaurant, MenuItem, User from flask import session as login_session import random import string # IMPORTS FOR THIS ST...
[ "naveen.pnd@gmail.com" ]
naveen.pnd@gmail.com
2492d41babdb5ca2b4f3ae122d2edb8432bcdbf6
60509c5e1956cb64d0220e9fc4542db7ef18bbf9
/secret_sauce/autoscale.py
ede7e586c08af37a0f7ad84f092f626d76fe105e
[]
no_license
Nemesisesq/streamsavvy_dataprocessing
18989378c8aa6c5a250449e74d93d64303874092
6c814818c0bac27c99ad4a5c8799648a5d9e637a
refs/heads/master
2021-06-15T02:38:32.982171
2017-01-17T16:38:49
2017-01-17T16:38:49
61,290,250
0
0
null
null
null
null
UTF-8
Python
false
false
2,402
py
from time import sleep import requests import base64 import json # from apscheduler.schedulers.blocking import BlockingScheduler # from config import APP, KEY, PROCESS import sys APP = "ss-data-staging" PROCESS = "celery" KEY = "bc50be81-14ef-42cf-ae05-841d8f505d6c" # Generate Base64 encoded API Key # BASEKEY = ba...
[ "nemesisesq@gmail.com" ]
nemesisesq@gmail.com
7c7c490a043db3015b8dbbef12cc43020cbffd1a
67dd5749b247915ce7a0d3d95964e30503c4aa0c
/dev/getting_indexing_right.py
2c5e5b0945cafd7cd5a79d587531fd4bb7a72c15
[]
no_license
yddream/timspy
d74d78825844b69ed9730373809e3f09ab52060c
034788db83d85dfca01fa31281a6de391ea2fe23
refs/heads/master
2022-11-11T13:10:48.880175
2020-06-23T07:38:21
2020-06-23T07:38:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
"""How to get the data.""" %load_ext autoreload %autoreload 2 import matplotlib.pyplot as plt import numpy as np import pandas as pd from pathlib import Path from timspy.timspy import TimsDIA from timspy.plot import plot_spectrum from timsdata import TimsData # plt.style.use('dark_background') pd.set_option('display....
[ "matteo.lacki@gmail.com" ]
matteo.lacki@gmail.com
4c4339bf363914fd7a109905c1cd7b2c9a025548
1bda594c37f133f52ee631a70a4604b1a32a4e6b
/0x11-python-network_1/3-error_code.py
f185ef44d669f7b4ac5a57db3a1f259217ddeb0e
[]
no_license
SeifJelidi/holbertonschool-higher_level_programming
9b0b1168a6a357d01e78da1f0b70094b76f3bc77
ecf5661314b3dd6361024b84576818f2bcbc4a00
refs/heads/master
2022-12-19T02:50:13.512222
2020-09-24T18:49:03
2020-09-24T18:49:03
259,368,768
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
#!/usr/bin/python3 """ ____ """ import urlib.request import urllib.error from sys import argv if __name__ == "__main__": url = argv[1] req = (url) try: with urlopen(req) as response: print(response.read().decode('utf-8')) except HTTPError as x: print("Error code: {}".format(x...
[ "seifjelidi3@gmail.com" ]
seifjelidi3@gmail.com