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
04ad3849660c0454e6cb1581f9a7415474a23a31
8bd7d66e7bfb28496a63fcaddaa5ce0d109dc854
/SelectCase.py
29651fe26432db8c2a39ff03610ddd6d2204c5f2
[]
no_license
nandda/PySparkExamples
f2904d61454a91409cab5537f7ff62a8ab0c6a33
f888285af34f8080455f0e3bc32bd2551e3a6881
refs/heads/main
2023-01-02T09:48:37.992494
2020-10-23T07:34:18
2020-10-23T07:34:18
306,562,420
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
from pyspark.sql import SparkSession spark = SparkSession.builder.master("local[2]").appName("select").getOrCreate() data = [("James", "Smith", "USA", "CA"), ("Michael", "Rose", "USA", "NY"), ("Robert", "Williams", "USA", "CA"), ("Maria", "Jones", "USA", "FL")] columns = ["FirstName", "LastNa...
[ "ext-nanda.govind@handaten.com" ]
ext-nanda.govind@handaten.com
e28b2e1bfc9d1532fec10aa1b715d5df1f1151ea
511f4b427b14ee7bd4d93a76d03243ae4a80dcdb
/py/207.课程表.py
50fc3dd0066e96a76e43e078cd642813f4bd31d6
[]
no_license
lusanshi/leetcode-sol
b515932a5cec0e87e53706a8459fbdbbbbc27526
03e03b80fb283435fae700998ac3386c5693f566
refs/heads/master
2020-08-07T18:56:16.996826
2020-04-11T18:22:45
2020-04-11T18:22:45
213,557,874
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
# # @lc app=leetcode.cn id=207 lang=python3 # # [207] 课程表 # class Solution: def canFinish(self, numCourses: int, prerequisites: List[List[int]]) -> bool: pass
[ "lulei_95@163.com" ]
lulei_95@163.com
93cfc9ca0d3256a4230a2b01248704e4b4d40f54
3b9d763180410bf0abf5b9c37391a64319efe839
/toontown/coghq/LawbotOfficeGearRoom_Platform00.py
71d1e0c89e93a701510c168d907594938d9fc6a4
[]
no_license
qphoton/Reverse_Engineering_Project_ToonTown
442f15d484324be749f6f0e5e4e74fc6436e4e30
11468ab449060169191366bc14ff8113ee3beffb
refs/heads/master
2021-05-08T00:07:09.720166
2017-10-21T02:37:22
2017-10-21T02:37:22
107,617,661
0
1
null
null
null
null
UTF-8
Python
false
false
9,749
py
# File: L (Python 2.4) from toontown.coghq.SpecImports import * GlobalEntities = { 1000: { 'type': 'levelMgr', 'name': 'LevelMgr', 'comment': '', 'parentEntId': 0, 'cogLevel': 0, 'farPlaneDistance': 1500, 'modelFilename': 'phase_11/models/lawbotHQ/...
[ "Infinitywilee@rocketmail.com" ]
Infinitywilee@rocketmail.com
2b5e423eeb8300faaa9a5cc6e6e5e06fd6de32a5
43e5c97c4e0888bdf2a662d958c86675e3465533
/_samples/generator.py
4e3586f461d50ddae1ce12f3ee54b99896db9aa9
[ "Apache-2.0" ]
permissive
channelgrabber/protologbeat
64f01850e00f5a6e95f028cf0026e674f7b35bbb
01de928faeb2dc04d0a2a6dc82cecee91dbaa4dd
refs/heads/master
2020-03-29T09:06:02.993072
2018-09-21T14:03:44
2018-10-04T14:43:37
149,741,521
0
0
NOASSERTION
2019-01-16T18:39:33
2018-09-21T09:27:49
Go
UTF-8
Python
false
false
297
py
from logger import Logger import time, random l = Logger('127.0.0.1', 6000, 'udp', 'json') for i in range(10000): l.send_message({'message': 'This is JSON encoded message #{}'.format(i), 'type': 'generator_test', 'id': int(i), 'log_level': 'INFO'}) time.sleep(random.uniform(0.0001, 0.0010))
[ "noreply@github.com" ]
channelgrabber.noreply@github.com
1c76e7d60d2cd600a197df9af00a9320e841bbb9
0129fd8ed7972c9c4131ba9e46b437f0442f83a5
/mypy_dep_recommender.py
e650a9fe8db9a91834909a25bd105684f01f610d
[]
no_license
panliu5000/mypy_dependency_recommender
75c774f5a14098d487c39f90dad40af8ffaa100b
7d21bf36977e80d2489644f18273c0e9e67e0890
refs/heads/master
2020-07-29T15:13:26.228666
2019-09-25T23:27:11
2019-09-25T23:27:11
209,857,917
0
0
null
null
null
null
UTF-8
Python
false
false
3,739
py
import tarfile from typing import List from zipfile import ZipFile import tempfile import subprocess from multiprocessing import Process, Queue Q = Queue() CMDpipdownload = 'pip3 download {package} -d {tempdir} --python-version 3 --no-deps --extra-index-url=https://pypi.lyft.net/simple' CMDgetdownloadedpackage = 'fin...
[ "panliu@lyft.com" ]
panliu@lyft.com
acc83fe22dbada668e5d089ee5a125192f5c3fba
e96168087d0430912ac4b9a8369b8f08c6706353
/process.py
0145c41d78a0b9de18fce3feaa18f94a4e15f910
[]
no_license
morarinicolae/PythonExercises
61a11ced5dd9c02026bae2acebbfcc340570f2ca
045464a9470f2f537aba2c84d87cdc0f59d585a8
refs/heads/master
2022-12-23T12:30:13.550754
2020-09-29T06:58:20
2020-09-29T06:58:20
299,531,632
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
import os print("Start process ...") print("pid=" + str(os.getpid())) print("Salutare") input("Press Enter to exit process") print("End process...")
[ "morari.nicolae1998@gmail.com" ]
morari.nicolae1998@gmail.com
93cdf9cc7a1e1dc5cd3acb9ba1e3c403fc2748cf
a4379e3fb43762d9db81722405f816b290933ddb
/code_snippets/Z_zip.py
515a83af9440c5eabce182147a159b7c58d525e2
[]
no_license
vitalizzare/NumFOCUS_Telethon_by_James_Powell
11c1212ab2e7569792c9f4de4991da14dd508217
9cbc09dc9ef1c74c5e5715cb408fb1362a935bfc
refs/heads/master
2023-02-11T21:15:29.097034
2021-01-15T13:06:32
2021-01-15T13:06:32
323,491,746
1
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
''' From the @NumFOCUS telethon title: Z for zip author: @dontusethiscode date: December 19, 2020 python version: >= 3.8 video: https://youtu.be/gzbmLeaM8gs?t=15648 edited by: @vitalizzare date: January 10, 2021 ''' xs = [1, 2, 3, 4, 5, 6, 7] print(f'{xs = }') for x, y, z in zip(xs[0:], xs[1:], xs[2:]): print(f'...
[ "vitalizzare@gmail.com" ]
vitalizzare@gmail.com
121a0ae925aeedeb24e6f2595e5de26ecf5731f3
fb580616c88225c55b9ef3f67a30ceb468b5bf31
/backup/SLM base code/src/utils/environment_constants.py
1873d3d0ef78c216051043c91bd6ce02de913c2c
[]
no_license
OnHoliday/DSLM
06303b6e20eaa0f9027b6576773406c67464e2ef
8c095f7ce169cc626dc47aca94c6abb1faff36f5
refs/heads/master
2020-12-14T15:14:55.899922
2020-03-16T00:09:47
2020-03-16T00:09:47
234,783,409
1
0
null
null
null
null
UTF-8
Python
false
false
103
py
SAMPLE_LABELS = ['training', 'validation', 'testing'] SAMPLE_LABELS_NO_VAL = ['training', 'testing']
[ "konrad.piastka@gmail.com" ]
konrad.piastka@gmail.com
0f69064cc124c90fd91b36b89f7ef3e0045c1c86
536ec8e275d0e4ac826ed492a818802f17eb29da
/other/diverta20192/b.py
a1dda6c0b38d2f1cf3ff5d45c0772170667c90dd
[]
no_license
tamanyan/coding-problems
3d74ee708a943348ee06f1a25c45ee3a35cfd9ee
415e8230c8386163e1abf5eea217a1e5be8a15bc
refs/heads/master
2020-07-03T21:36:23.566534
2020-06-10T16:33:55
2020-06-10T16:33:55
202,057,698
0
0
null
null
null
null
UTF-8
Python
false
false
1,924
py
from heapq import heappush, heappop, heapify from collections import deque, defaultdict, Counter import itertools from itertools import permutations, combinations, accumulate import sys import bisect import string import math import time def I(): return int(input()) def MI(): return map(int, input().split()) def ...
[ "tamanyan.sss@gmail.com" ]
tamanyan.sss@gmail.com
2cebe3eae9633b7f6d26f9f577682ee7f7b0b4eb
5ec5f1411ad51656faf69dfee6ee6fdeb4f5c518
/shop/serializers.py
f35fff589f85d4fcf94042953744f2af01f771f5
[]
no_license
KirillRed/RetelShop
290d0037645c3705f802a7dc0fb629078e2722e1
0daf581a62b9ed777ecd4319b3802021d679dc74
refs/heads/master
2023-04-25T16:27:13.347395
2021-05-03T08:51:18
2021-05-03T08:51:18
306,261,926
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
from rest_framework import serializers from django.contrib.auth.models import User from . import models from django.core.paginator import Page class ListOfComperisonSerializer(serializers.ModelSerializer): class Meta: model = models.ListOfComparisons fields = ['owner', 'get_products', 'subcategory...
[ "kirillr1740@gmail.com" ]
kirillr1740@gmail.com
23aebddeccd15771fc92e83af3e8ccd3ce23cc3f
b8d89bd2b0a4464146b349c6702d13caf776127b
/resticus/parsers.py
8ea5511ef0391e77c7ce9628f8939f579708a74c
[ "MIT" ]
permissive
ssteinerx/django-resticus
7683d20dbf30fe68f5c5ab04219d40f6b8f4627b
772a89d7bbe3ae72b2551f2dd5b823405460ddf8
refs/heads/develop
2020-12-24T06:44:54.998362
2016-11-11T14:17:39
2016-11-11T14:17:39
73,331,769
0
0
null
2016-11-10T00:06:54
2016-11-10T00:06:54
null
UTF-8
Python
false
false
823
py
from django.utils.translation import ugettext as _ from .exceptions import ParseError from .settings import api_settings def parse_content_type(content_type): if ';' in content_type: content_type, params = content_type.split(';', 1) try: params = dict(param.split('=') for param in par...
[ "derek.payton@gmail.com" ]
derek.payton@gmail.com
1c4d12491e3781859f3d5ecad4b404cc0ad61ab1
c5744bc7c649cc17dcbc73fbbfab5a1470e19999
/script/pyramid.py
8af8a6f3451bafbbb53491753b9fd42c599c6064
[ "Apache-2.0" ]
permissive
kei52/deepdream
1f6681440b74c4707ff507aa7fe050ca6a2b217d
f6d5c91c78c9a31ce4fcf7da4306ec3f2da852f6
refs/heads/master
2021-09-05T14:18:00.428142
2018-01-28T17:55:29
2018-01-28T17:55:29
112,840,941
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
import numpy as np import time import os import sys from PIL import Image def showarray(img,s_name): showarray = np.uint8(img) print 'showarray:',showarray[0][0] pil_img = Image.fromarray(showarray) pil_img.save('/home/roboworks/Pictures/{}.jpg'.format(s_name)) def pyramid(img,iter_n=1): ...
[ "green9900grape@gmail.com" ]
green9900grape@gmail.com
6d59e0b17594d456e339941c2951d033580722a3
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf.0/gsn-edf_ut=3.5_rd=0.8_rw=0.06_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=7/params.py
d1044ead6dd845269e7675cbd1da27353c9e2499
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
{'cpus': 4, 'duration': 30, 'final_util': '3.611238', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.8', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'GSN-EDF', 'trial': 7, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
0285c24921c7627d2be538f4433ba75d2433511f
78dbdd7a576ef1dac5a60686280a62e7548dba3b
/HW4.3.py
fc166e36fa6d6cd998ce1ee97d1c05cac66e76e2
[]
no_license
palamarchuk004/PythonCore-HomeWorkOP
7f3b3a1039ad7965db90e02413c6ab0d99d6eb3e
491674e7d1f92228fe4bb2d5c35939fbff6349fd
refs/heads/master
2020-12-28T10:39:42.633541
2020-03-10T10:48:47
2020-03-10T10:48:47
238,293,978
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
# Jenny's secret message. def greet(name): if name == "Johnny": return "Hello, my love!" return "Hello, {name}!".format(name=name) print(greet('Johny'))
[ "noreply@github.com" ]
palamarchuk004.noreply@github.com
422e9f9d1e84b4d2346b968275d55ea920cf8315
85a0ee08b54b2c5e3154e3727b92c37915b4c1de
/test/TT/Strategy7.py
95b8bc12608c042b3536a3d8cca7e4019aa3e6fd
[]
no_license
yaotony/sandbox-empty
877da9b9ba0ec658bbdc8acc79a97267f96408b9
85f04e5db5d26a04fad9ae4ad6d3c86977a9f865
refs/heads/master
2022-05-20T17:14:51.348759
2022-05-04T08:06:56
2022-05-04T08:06:56
35,472,699
0
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
import math import numpy as np def BoxTheory(df,N,S): df['BoxTop'] = 0 df['BoxDown'] = 0 df['BoxTopN'] = 0 df['BoxDownN'] = 0 df['BoxTopD'] = 0 df['BoxDownD'] = 0 #Box 交易訊號欄 df['BoxTopD'] = df['high'].iloc[:].rolling(N).max() df['BoxDownD'] = df['low'].iloc[:]...
[ "tony.exmail@gmail.com" ]
tony.exmail@gmail.com
c435debf1ccba4ffd391697a0f0a89fbbb448e89
ec756489791bd7c39052d7baae0c91910bb73740
/server/projects/tech_choices.py
9b8ce186488a98786ac3988714c1381f8e766509
[]
no_license
gsc229/portfolio-app
a906e3bb7963d572e5d13e75a204b46e3517e134
73d594702dc2639a9ace4fbe9f3ebd9be2d4e789
refs/heads/master
2023-02-10T21:57:19.959115
2020-06-08T16:26:50
2020-06-08T16:26:50
270,731,023
0
0
null
2021-01-06T04:23:55
2020-06-08T15:58:43
Python
UTF-8
Python
false
false
2,350
py
TYPE_CHOICES = ( ('Course Project', 'Course Project'), ('Team Project', 'Team Project'), ('Major Project', 'Major Project'), ('Week Project', 'Week Project'), ('Personal Day Project', 'Personal Day Project'), ('None', 'None') ) TECH_CHOICES = ( ('Python', 'Python'), ('Django'...
[ "gsc229@gmail.com" ]
gsc229@gmail.com
fcec50a1fdecd92091643f867728bc4c71f9a203
bc441bb06b8948288f110af63feda4e798f30225
/topology_sdk/model/next_builder/import_storyboard_node_pb2.py
045709a9c0e78c00982b424ec7626203e23d88f5
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
9,885
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: import_storyboard_node.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from goog...
[ "service@easyops.cn" ]
service@easyops.cn
28aae9dae944d47ea78af59a2dc0aa3e8c690ccc
2bdd0dd96a9abd3edd21deabfc2b47f87bb933be
/dir/migrations/0001_initial.py
da94031bc43118e0367073ee9282f4ba531e903b
[]
no_license
mars7x3/DIR
c76d9796fbe8d89d22a9aaf4f7b4092129f1b3dd
997052f9a7d3151a5300dc045bf76b1ee78ea3cd
refs/heads/master
2023-06-28T08:48:29.213394
2021-07-31T13:44:40
2021-07-31T13:44:40
390,078,606
0
0
null
null
null
null
UTF-8
Python
false
false
3,294
py
# Generated by Django 3.1 on 2021-07-29 10:31 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
[ "m.ysakov.jcc@gmail.com" ]
m.ysakov.jcc@gmail.com
94e635241a858c40290e54fa2adf9b57550f8043
70fbcca27b1bf777db40319a025ef1c752e2e11d
/ecmo/sockets.py
34f0deb09632354e978675865e277b199f5c9823
[]
no_license
thecaffiend/ecmo_data_viz
051297ddac642a5f0dbae1ef006158c677aca947
8f80e4070377f173f1883062dac776339f170aa9
refs/heads/master
2021-01-01T18:18:14.818933
2011-08-04T03:00:07
2011-08-04T03:00:07
2,093,412
1
1
null
null
null
null
UTF-8
Python
false
false
5,379
py
from django_websocket import require_websocket from django.utils import simplejson from django.core.cache import cache import math import time from copy import deepcopy from ecmo.models import * import sys def jsjson(msg): return simplejson.dumps(msg, ensure_ascii=True) @require_websocket def screen_socket(r...
[ "nick.bollweg@gmail.com" ]
nick.bollweg@gmail.com
e75219b4f40bb5715b50d8b6a3a54e322f199b69
46427f19146ec44d0d81a845968fae0148704c26
/processor/marketplace_processor/offer/offer_creation.py
14b8f8f669d7cc371c078397adf12aafebb48482
[ "Apache-2.0" ]
permissive
farzadhallaji/sawtooth-marketplace
0032d90591deee1c8af278f2cdd48332604eb1b2
dc4b8408cb50b6d091b8954a93a97d3fc815a39a
refs/heads/master
2020-05-07T18:56:18.517155
2019-03-26T12:19:49
2019-03-26T12:19:49
175,953,598
0
0
null
null
null
null
UTF-8
Python
false
false
5,174
py
# Copyright 2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
[ "farzadhallaji@yahoo.com" ]
farzadhallaji@yahoo.com
416d9a1dc7d09ded0fbe07e5a5ca26b458661b4c
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/python/0fee3ef0355224294ed245f863279f4c010e2ae7urls.py
0fee3ef0355224294ed245f863279f4c010e2ae7
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
654
py
from django.conf.urls.defaults import * import views from tastypie.api import Api from wdd.api import * api = Api(api_name='v1') api.register(EntryResource()) api.register(RoomResource()) api.register(UserResource()) urlpatterns = patterns('', url(r'^$', views.IndexView.as_view(), ...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
c75cd2fc80c5219efce0337571d34879b062a1e5
91ac41baf7b0a91efd8ee657e9fe44fe1835979b
/爬虫/爬知乎图片_selenium/zhihu_demo.py
0d9ac3fb98966679fff01ac29633b2c0c1e598ed
[]
no_license
sevencrime/python
0c3b27e25da1d48ac37950756be5bad821d0948c
2ee80e467cd57db5d113b65eb9dfae2d5a561a43
refs/heads/master
2021-12-15T11:42:16.781369
2021-12-12T13:25:00
2021-12-12T13:25:00
160,919,719
0
0
null
null
null
null
UTF-8
Python
false
false
3,909
py
# -*- coding: utf-8 -*- # 引入必要的库 from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import json import time import re from bs4 import BeautifulSoup from lxml import html i...
[ "sevencrime77@gmail.com" ]
sevencrime77@gmail.com
0278eb1fffbf25dfb8ac5d33219be5dbbbd3ad6b
e38ddf3ef37eb93964bbabf8dc44b8005ad06761
/hw2/usage_example.py
302db0031c66a9085ee1e8bcc3e86e9c8bb5139a
[]
no_license
romanvey/distibuted_systems
21b91c15a67b6a8c0086cdef46caad5d21944f78
6b9f06c38368b9c6eb4ce25627caeecde508af85
refs/heads/master
2020-04-22T18:46:53.888201
2019-03-20T19:46:37
2019-03-20T19:46:37
170,587,810
0
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
from map_reduce import MapReduce values_1 = [(10, "Roma"), (10, "Andrew"), (3, "Sofiya")] values_2 = [(10, "Vasya"), (4, "Max"), (3, "Sofiya")] values_3 = [(4, "Andrew")] all_values = [(10, "Roma"), (10, "Andrew"), (3, "Sofiya"), (10, "Vasya"), (4, "Max"), (3, "Sofiya"), (4, "Andrew")] def custom_map(data): d = d...
[ "roman.vey@gmail.com" ]
roman.vey@gmail.com
a29ae03ae7a520b7baa848f815ccbd35b19898db
9df795e57589a99838199f97945e96811e288e75
/W174.py
7c8477888852a7017a676af9a8e81382b0220935
[]
no_license
JakeAttard/2810ICTPythonExercises
945783908a6bf981fc8128a5fc0b4bda6fd52eea
199cc42402a5cf4d8b86060af377d3906af00429
refs/heads/master
2020-06-17T19:07:46.788283
2019-07-16T11:22:15
2019-07-16T11:22:15
196,018,674
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
from PyTest import * ##//////////////////////////// PROBLEM STATEMENT /////////////////////////// ## Given a number n, write while and for loops that add up the numbers in // ## the series 1,2,3,4,..., n-2, n-1, n and display the resultant sum. The // ## number n will be input by the user of the algorithm. ...
[ "jakeattard18@gmail.com" ]
jakeattard18@gmail.com
5c9ebdd427abbf014f506e5d71fcda6e5f0c0647
38a6bf199a3857aa449a89165f4eeacffe5bbc05
/v1/teams/urls.py
50577be1ed05226fbd682036f5f69b102c49d3ec
[ "MIT" ]
permissive
phutares/Website-API
e4682bf974ddb3ca03d088852a7a99ce7cb0e3d5
17c39da2f9691eab00ff9408c4262fb8c6d7c9f7
refs/heads/master
2023-01-21T20:51:51.988362
2020-11-30T05:38:54
2020-11-30T05:38:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
# -*- coding: utf-8 -*- from rest_framework.routers import SimpleRouter from .views.team import TeamViewSet router = SimpleRouter(trailing_slash=False) router.register('teams', TeamViewSet)
[ "noreply@github.com" ]
phutares.noreply@github.com
ff35417a01b0aaa87984262c49198b2698c736d0
2161108a724cb8014d92278f1286366d82da6614
/find_zhuang_10_day.py
faddcc624ed6b9e1f4761cd10b5a952b6b3025de
[]
no_license
robin-phoe/stock
29ba74d9fdff855ab1dc1aa6103f2039c8f21843
19edca3d1bcd4db7582383e18d0b1b53186fe78f
refs/heads/master
2023-03-22T15:16:55.910761
2021-03-18T13:11:02
2021-03-18T13:11:02
335,335,951
1
1
null
null
null
null
UTF-8
Python
false
false
11,540
py
# coding:utf-8 import mpl_finance # import tushare as ts import pandas as pd import seaborn as sns import matplotlib.pyplot as plt import pymysql from matplotlib import ticker from matplotlib.pylab import date2num import numpy as np import datetime import logging import re from multiprocessing import Pool import json i...
[ "812121052@qq.com" ]
812121052@qq.com
4337257b1cc102097378401dabda4458d298a225
250e692078234b0e3ef22ad20ab7168f807d1d5f
/plus_minus.py
65eeef59116a3bb9fbe1461fbf5552b207e0c437
[]
no_license
AnTznimalz/python_prepro
694338609985971c5e6eaf8ec463c2a5c62dd836
bdc1e49fa03704bebcf2ab69a4c1600e4cd46a74
refs/heads/master
2022-06-22T23:47:28.396580
2020-05-07T15:07:56
2020-05-07T15:07:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
""" Plus Minus """ def ratio(): """ Func. ratio for calculate ratio of the given array """ num = int(input()) msg = input().split() pos = 0 zero = 0 neg = 0 for i in msg: if int(i) > 0: pos += 1 elif int(i) == 0: zero += 1 else: neg...
[ "thuchpunapivitcholachat@gmail.com" ]
thuchpunapivitcholachat@gmail.com
7a2d5c62fc252958d2eca5be066f013034d0f6e0
0d80d5a25216d14e44d8e709662c5c47637232a3
/dictionary.py
2a6db13192fc5bfa7b525f053206e8f73e45832c
[]
no_license
janet5141li/lesson1
4f7ed1fdd0fe81bee350a22de94103ac94d38b46
d263e03996f2b4a3510a437567eb3ba0aedc9dac
refs/heads/master
2020-03-25T04:27:59.831140
2018-08-10T08:35:13
2018-08-10T08:35:13
143,396,487
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
empty_dict={}; print(empty_dict); bierce={ "day":"A period of twenty-four hours", "week":"include Seven days" } print(bierce) lol=[["a","b"],["c","d"],["e","f"]]; print(dict(lol))
[ "cancer1079lee@hotmail.com" ]
cancer1079lee@hotmail.com
33b23fcd497c164fd5c90558e3d26f22e56043bb
25b84c6822491340e244cd7af78cd2b3d494e60f
/src/wccltests.py
6e4f601f36293b31c455e055f2ebe1e0cfb47c5d
[]
no_license
pawskow/CommaAnalyzer
ea3485a6a6c9c1483dbbdcd40365d4c52da9afb7
a9031774b0c45c80bc9bbc59fdd61c5296abe3b6
refs/heads/master
2021-01-01T05:36:15.116627
2015-01-20T16:38:30
2015-01-20T16:38:30
28,546,791
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
__author__ = 'pawel' from wccl import Sentence_create_sent import os import subprocess CURR_DIR = os.path.dirname(os.path.abspath(__file__)) TAG_COMMAND = 'wcrft-app nkjp_e2.ini -i text %s -O %s' WCCL_COMMAND = 'python wccl-rules.py -A %s -i xces,ann -t nkjp -o ccl < %s' TMP_TAGGED_FILE = os.path.join(CURR_DIR, "re...
[ "paw.skow@gmail.com" ]
paw.skow@gmail.com
cbfa0c48c0dabfd7a2989764c233ff1dd926482f
73ea4c600fbb2a8bb231fec5f20f41ac2b7f61da
/xmlmain.py
dda2b0ee8db35012c5d7c9740a0b43a7e20e6929
[]
no_license
rbrunner007/CyberRanged
cae600e5d6f468b24ca358d35e4f1e07a11af33c
6ddc8e99b62af474983e6cbca4911ef3b5c94c7f
refs/heads/master
2020-04-12T16:23:32.985371
2018-02-14T04:49:56
2018-02-14T04:49:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
import os,sys,time from api import * from db import * vm_name = 0 env_name = 0 storageMedia = 0 net_name = 0 ## Generate VM xml from Database def main(): global vm_name global env_name clearScreen() print("Welcome to XMLgen") print() print("VM name?:") vm_name = input("> ") ## list environments from db print...
[ "jonmax10@yahoo.com" ]
jonmax10@yahoo.com
280ba8f77801bc724018ed7caaa886c90b6bf868
2b82c37d74f31c0625c2a0d8738f8479205936f2
/setup.py
f012f61ec08208cb9edee760e63c69b62f054536
[]
no_license
wo0dyn/django-model-urls
11b5f2807687832fdcacbf430476f51fd70c6890
72b369d80b0fb09841367751e004d525f2ce585e
refs/heads/master
2021-01-15T19:05:13.090627
2013-06-21T12:23:16
2013-06-21T12:23:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='django-model-urls', version='0.2', description='DRY way to manage url parameters associated with a model instance.', long_description=open('README.md').read(), author='Vincent Agnano', author_email='vincent.agnan...
[ "vincent.agnano@scopyleft.fr" ]
vincent.agnano@scopyleft.fr
2a4b610d1f4641d1f5955c127cbc3f38399ad45f
1e648983311c93a14b20516bd7acaf183ed12b10
/algorithmic_heights/Binary_.py
8dff855202382139977b7f2fb55eaee600f8459e
[]
no_license
biomathcode/Rosalind_solutions
5279b852b15e634dea57822ce12d63b5c3cd6715
c84bbd570b22d8de4d29d417c99d2a4b96170453
refs/heads/master
2023-02-26T22:07:12.119786
2021-01-25T11:54:45
2021-01-25T11:54:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
import time from timeit import default_timer as timer ##return the index of the array if present else return -1 def binary_search(arr, low, high, x): if high >= low: mid = (high + low)//2 if arr[mid] == x: return mid elif arr[mid] > x: return binary_search(arr,low, ...
[ "sharma.pratik2016@gmail.com" ]
sharma.pratik2016@gmail.com
d1790f748dc1ee5ef4f3bd93c1d0df251d24eeda
dfb53581b4e6dbdc8e3789ea2678de1e1c4b5962
/AI/Machine_Learning/Day02/demo03_save.py
a89925c6b46c5a5bdc001dc176b456aa68c53a86
[]
no_license
biabulinxi/Python-ML-DL
7eff6d6898d72f00575045c5aa2acac45b4b0b82
217d594a3c0cba1e52550f74d100cc5023fb415b
refs/heads/master
2020-06-01T09:13:17.314121
2019-06-08T03:59:36
2019-06-08T03:59:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
# -*- coding: utf-8 -*- # @Project:AID1810 # @Author:biabu # @Date:2019/3/26 14:12 # @File_name:demo03_save.py # @IDE:PyCharm """ 模型保存 """ import pickle import pandas as pd import numpy as np import sklearn.linear_model as lm import matplotlib.pyplot as plt import sklearn.metrics as sm x, y = np.loadtxt('../ml_data...
[ "biabu1208@163.com" ]
biabu1208@163.com
c5af6865211a8e4f3e24f7c23a980bc5eb71dfc4
786de89be635eb21295070a6a3452f3a7fe6712c
/ParCorAna/tags/V00-00-05/src/UserG2.py
c057df1c1414049b1ddc930a968c225c4a9dc031
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,330
py
'''Example of implementing user code for the G2 calculation. Notes: An import of this module should not do anything complicated. Delay anything complicated until the __init__ method or other methods of the class. The reason for this is that an import of the module is done when reading the params.py file. An i...
[ "davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
41253a377d2a9c01cd1416c7d33ab2e712c72452
a452c3ae31e552d1ed1bd0499896fa0025001589
/tools/tidy/tidy.py
2856779272f0067fb5e16e0a8b6fc39a4edb7d36
[ "MIT" ]
permissive
ddovod/libkvs
ad7aa20e88d4cd494b25db572eeb143afb78a8f8
81497d95541a1581bdeefd68b55ede61e8b6683c
refs/heads/master
2020-07-10T05:23:59.820918
2019-09-14T08:56:30
2019-09-14T08:56:30
204,177,087
0
0
null
null
null
null
UTF-8
Python
false
false
3,172
py
#!/usr/bin/env python import subprocess import json import os import argparse def getDefaultCompilerIncludes(): compPathsCmd = "c++ -E -x c++ - -v < /dev/null" proc = subprocess.Popen(compPathsCmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) _, err = proc.commu...
[ "ddovod@gmail.com" ]
ddovod@gmail.com
c9b044f351ab64212748338576bcbb175ceb4044
c2fa3b814a7f56ad804dffc767fc54f5099d60f8
/models/structs/snakes_400/mu_context_time.py
db61ba172954e8df0734bdef3f116521d2e2303a
[]
no_license
dmely/contextual_circuit_bp
223b602dbabbe8f8091fbb9106f3103bd5e1dcba
a277bc3146beaa4e3edd2134fc9fb8d3388a6013
refs/heads/master
2021-10-07T19:04:14.509951
2018-03-31T17:10:33
2018-03-31T17:10:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,355
py
"""2D convolutional model for Allen data.""" layer_structure = [ { # 'layers': ['alexnet_conv'], # 'alexnet_npy': '/media/data_cifs/clicktionary/pretrained_weights/gabors_for_contours_7.npy', # 'alexnet_layer': 's1', # 'trainable': True, # 'init_bias': True, 'layers'...
[ "drewlinsley@gmail.com" ]
drewlinsley@gmail.com
4a37a85ae9cee3fc4bc3d6ff986b2ffe82c6db0a
527fd39d3a1555800c2c32025fdd15fd86ba6672
/String/user_input.py
c2f37f7cd060b39d3345d5cdf074553f87dff45d
[]
no_license
rohanwarange/Python-Tutorials
cfd39551f7ff62bd032946976ba3820474e42405
53d8fb226f94d027ae7999f9678697206d37d83a
refs/heads/master
2023-06-18T10:45:36.884324
2021-07-07T17:44:22
2021-07-07T17:44:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
name=input("type your name ") print("hello " + name) age=input("What is your age ?") print("your age is " + age)
[ "rohanwarange24@gmail.com" ]
rohanwarange24@gmail.com
d88f57f292d8e45be8351605608efd24a7104c34
5ef0d91085aff5495f9d1243f649b07f5e57afc2
/python/geeks/LIS.py
935051cbfa1170f7c8f97de6005e430116acf8a0
[]
no_license
NavalPangtey/Competitive-programming
ba925e934b7402aa105bfea1d51350f5045ba9d6
641123d6b98ce72479a923d24d6aca25f6d7a579
refs/heads/main
2022-12-30T13:30:21.361996
2020-10-21T13:54:09
2020-10-21T13:54:09
305,720,814
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
def LIS(a,n): lis=[1]*n for i in range(1,n): for j in range(0,i): if a[i]>a[j] and lis[i]< lis[j] + 1 : lis[i]=lis[j]+1 return(max(lis)) a=list(map(int,input().split())) n=len(a) ans=LIS(a,n) print(ans)
[ "navalpangtey22@gmail.com" ]
navalpangtey22@gmail.com
bb4742c898b36d566c420115de9e52ee842233fe
657c84d9b5625e9c4e80389c96dd9d6446332974
/app/core/tests/test_modules.py
c3cf4c84337efc18eb17e47441e15c20ef8ce103
[ "MIT" ]
permissive
pegongorasep/recipe-app-api
cfdffb9c5d0382e57857a0c536833d6a84444ccd
bd3f6b1c75a9456b0206f1f668ffb888bedf5569
refs/heads/main
2023-03-21T17:45:44.140667
2021-03-13T01:32:16
2021-03-13T01:32:16
344,995,129
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
from django.test import TestCase from django.contrib.auth import get_user_model class ModelTests(TestCase): def test_create_user_with_email_successful(self): """Test creating a new user with an email is successful""" email = 'test@londonappdev.com' password = 'Testpass123' user = ...
[ "pedro.gongora@nextia.mx" ]
pedro.gongora@nextia.mx
5e497a6a4999ec2744b2960dc4c8943b5007cceb
ec86382a4063be2fe0324050e4257cfc2cee9b0d
/TC2/get_panel.py
cf15505bc027590e5f0c1effcc65c9ad6c9dcc3f
[]
no_license
pintoXD/automatedTests
7f103bb0792f4a01ad41c110923b7f8dd127f854
8ca6c52613b60d9d80a274bcd5f298323fd38cd7
refs/heads/master
2020-05-31T03:16:35.587139
2019-08-22T15:57:01
2019-08-22T15:57:01
190,079,328
0
1
null
2019-08-22T15:57:02
2019-06-03T20:42:11
Python
UTF-8
Python
false
false
1,029
py
from serialTeste import get_value, set_config import time def switchCase(var): switcher = { # 00000000 '00000001': [0,0,0,1], '00000100': [0,0,1,0], '00000101': [0,0,1,1], '00010000': [0,1,0,0], '00010101': [0,1,1,1], '01000000': [1,0,0,0], '01010101'...
[ "alesonbg@alu.ufc.br" ]
alesonbg@alu.ufc.br
b9b7c74e621ddb2dc09b1bc07150eb46cc05010e
5b5baa471368c9195c222bf6bdc7a278acaba299
/delete_file.py
09ed7aae5c5d544bac942f281bb53ec2aad927e6
[]
no_license
mohamadiarch/test
85f569ac6340c1a962c2fb4268b22be52a8f518c
29a79223960dd4c916b0aa3b3674975ec7d8ab75
refs/heads/master
2022-12-22T02:57:57.743734
2019-01-08T10:43:23
2019-01-08T10:43:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,035
py
import psycopg2 conn = psycopg2.connect(database = "fastfood", user = "postgres", password = "1234", host = "127.0.0.1", port = "5432") cur = conn.cursor() def delete() : i=1 while i==1 : print("select table to delete") print("1 foods table") print("2. raw_food table") ...
[ "mohammadmohammadi7613@gmail.com" ]
mohammadmohammadi7613@gmail.com
431eddaaa908d38263a4de122f26b605e5e09b7d
b64f785b3874cbcafe5020ec506bba93e301314d
/publishconf.py
50f3148ad540a1017ef7ba0fcaa8f3aaeaec977b
[]
no_license
intuinno/hdilab
04f923a1fd020a792e5cffb38b5b49fdbda42e61
0327b902ca225c38f7ff588521bea29fc2a9ef93
refs/heads/master
2021-01-20T06:57:31.937602
2015-05-11T05:49:12
2015-05-11T05:49:12
35,402,646
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import unicode_literals # This file is only used if you use `make publish` or # explicitly specify it as your config file. import os import sys sys.path.append(os.curdir) from pelicanconf import * SITEURL = 'http://hdilab.org' RELATIVE_URLS = True FEED...
[ "intuinno@gmail.com" ]
intuinno@gmail.com
c3bd9b7c3ecbdb2de5e7f3c78ae57b2ded1ebef1
dccdfc0b58b24035c614a2fcd3efcc6a88cfa51d
/setup.py
9bf155862a113c7bb84c77fe5c8f87e0b5ae8380
[ "MIT" ]
permissive
igorsobreira/django-test-extensions
203bbb19ccb285a7e816b2b225adc11b89bc8107
d57313401d6964ad0102ad1c584a7b848ba76615
refs/heads/master
2021-01-16T21:02:34.784060
2011-03-12T02:56:16
2011-03-12T02:56:16
1,470,571
1
0
null
null
null
null
UTF-8
Python
false
false
823
py
from setuptools import setup, find_packages setup( name = "django-test-extensions", version = "0.9", author = "Gareth Rushgrove", author_email = "gareth@morethanseven.net", url = "http://github.com/garethr/django-test-extensions/", packages = find_packages('src'), package_dir = {'':'sr...
[ "gareth@morethanseven.net" ]
gareth@morethanseven.net
97acacbde1c6936a7293f61e1fef30f33301394b
11fb677473eac5194e334bf04acabb486c9fe243
/ex2/ngram_model.py
4abb157bfb8c1fb933ceee48e36e02ede733f87f
[]
no_license
levyrafi12/NLP_2019
f29e95700e554d028a79ab9ad7886f02f2b8e6dd
b1dc7d339eabacba5da8d1cde7316cb54074f74f
refs/heads/master
2020-05-07T19:10:52.385326
2019-04-20T15:37:32
2019-04-20T15:37:32
180,801,635
0
0
null
null
null
null
UTF-8
Python
false
false
2,104
py
#!/usr/local/bin/python from data_utils import utils as du import numpy as np import pandas as pd import csv # Load the vocabulary vocab = pd.read_table("data/lm/vocab.ptb.txt", header=None, sep="\s+", index_col=0, names=['count', 'freq'], ) # Choose how many top words to keep vocabsize = 2000 n...
[ "raffilevy@gmail.com" ]
raffilevy@gmail.com
e8a4f8cb2834cd49d9c8561c3f11b40cdf9c79be
51df0ac908dfcfcc5c9d82ea882fc0d8bbbfaa78
/reportesVC/tests.py
2d0a9dae224b7e923ddef63a1de8d140fbe6ad44
[]
no_license
gabyKOKAI/reportesVK
5b7c241e2914eab63dcea926522deb874e62ddea
9c668d3708f6b3862ff26747a6f5500113e342cf
refs/heads/master
2020-03-30T03:15:15.505373
2019-01-30T23:28:42
2019-01-30T23:28:42
150,678,085
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
from django.test import TestCase # Create your tests here. class ReportsTests(TestCase): def testSeEjecutaReporte(self): """ Verificar si se esta ejecutando reporte correcto """ future_question = Question(pub_date=time) self.assertIs(future_question.was_published_recentl...
[ "gaby@kokai.com.mx" ]
gaby@kokai.com.mx
fad91cfef85f4a03c830cacf47aa9384ff9915e6
4e04663a51e468fc76f9123cdc36e4cd4c82cb91
/main.py
f59169fd0534e1c14fcab54ed6f79b940a9b1326
[]
no_license
SidharthSoumya/Happy-ChatBot
32606c0794f9936d3e0c04c5006f4e4c2b54e7db
2da23b03b5d65b76f40e20d7c6fab5b6fc74ad46
refs/heads/main
2023-04-12T04:36:39.427635
2021-04-20T18:59:24
2021-04-20T18:59:24
357,651,107
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
import datetime import greetings as gr # import recogniseSpeech as rs import event_handler as event if __name__ == '__main__': gr.greet() cTime=datetime.datetime.now().minute while 1: # query = rs.takeCommand().lower() query = str(input('Command : ')).lower() print(datetime.datetime...
[ "sidharthsoumya@gmail.com" ]
sidharthsoumya@gmail.com
cf969a758c84028af52f86848a1607da7e7e5a80
e86fd9f61a41731deb9d56e1107db04de41b6789
/beebeeto/poc_2015_0077.py
96f303abff8c84e77d24cf76f202c39562561b7a
[]
no_license
c0py7hat/POC-EXP
f58e0f1df41e1905e5fdc72b019f8125aac48799
7ddf2790012efb7fb5bd258ddcd1e1c25f0cf201
refs/heads/master
2020-04-30T07:05:31.390537
2019-03-20T08:38:50
2019-03-20T08:38:50
176,674,030
3
2
null
2019-03-20T08:09:56
2019-03-20T07:00:45
Python
UTF-8
Python
false
false
3,536
py
#!/usr/bin/env python # coding=utf-8 """ Site: http://www.beebeeto.com/ Framework: https://github.com/n0tr00t/Beebeeto-framework """ import socket import urllib2 from baseframe import BaseFrame class MyPoc(BaseFrame): poc_info = { # poc相关信息 'poc': { 'id': 'poc-2015...
[ "noreply@github.com" ]
c0py7hat.noreply@github.com
985d7084ff836b7bdc695e802e7573ef5f19ff7b
e6cfe5ffbd6a53760586e95e35384cae9e1bc1c2
/analyze_s2_data.py
fc4ef42de92e0b7b4746149321e7c46d32911b27
[]
no_license
noderod/SDS-379R
31c20b91e307033d5735488229e67b18c01c1ed5
69fafdc712f57e6bea5220c871229fa674aca8c4
refs/heads/master
2020-05-20T01:14:05.136478
2019-05-07T02:28:54
2019-05-07T02:28:54
185,306,123
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
""" BASICS Reads the JSON file with Stampede2 job data Presents it in a suitable form """ import json import matplotlib.pyplot as plt import numpy as np with open ("stampede2_results.json", "r") as jf: S2_data = json.load(jf) appnames = ["AutoDock Vina", "Bedtools", "Blast", "Bowtie", "Gromacs", "HTSeq", ...
[ "carlos.red@utexas.edu" ]
carlos.red@utexas.edu
d64da1bf2e6405b1a5a0967e1b6959fcbd0e7d32
0754ecfb7d8f5b4b37f6820ae8478f9992e10b44
/problems/sqroot/gen.py
6daaffee390e686a6662b365f66fb535c33cca0a
[]
no_license
teamurko/Sevastopol-summer-school-2012
018f4603db524eb046429b9a2317642a76bb9f12
e2657fa15e4fb0c089ee40c78b701e78b85925e2
refs/heads/master
2021-01-23T15:27:48.221638
2012-08-16T13:04:39
2012-08-16T13:04:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
#!/usr/env python import sys import random import fractions from itertools import dropwhile def rand(): return random.randint(1, 2**15 - 1) def is_prime(n): if n <= 1: return False for i in range(2, n): if i * i > n: break if n % i == 0: return False ret...
[ "abss.pakso@gmail.com" ]
abss.pakso@gmail.com
79770caee3376d14b2ae8c0350f4fcd214826bdb
9a78b2fafd64e200f844a2f6f0deb034ffc96c8d
/rentapps/migrations/0001_initial.py
ace5c693acfd27f917134ddf7e9617354dd36024
[]
no_license
gabrielcoder247/property
8ba29ae443e03f60a39d73b97cd4b0f9e5fea9c4
5620ad7220e2f90d7d95ec711ed3caace4823291
refs/heads/master
2020-06-19T05:16:13.632824
2019-07-17T18:35:06
2019-07-17T18:35:06
196,574,085
0
0
null
null
null
null
UTF-8
Python
false
false
2,493
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-07-12 12:37 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations...
[ "gabrielcoder247@gmail.com" ]
gabrielcoder247@gmail.com
5a3148eed59e5945359a2813f014b8d5372a387d
c3d937ab5522e2f2324f4f94460e0efdc30dd010
/env/bin/easy_install-3.6
e2f3627722de03a27ef04c1167a70c1911e32f88
[]
no_license
cmcummings/delta-forum
60a2d794a3fe6c526bec9a2a918494ea21c5d42e
3f606e59312761330eb33d8f6ae5fc9c0503babb
refs/heads/master
2021-11-22T04:11:27.988045
2018-11-10T05:17:29
2018-11-10T05:17:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
281
6
#!/home/connor/Documents/Projects/Web/delta-forum/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "cmcummings2003@gmail.com" ]
cmcummings2003@gmail.com
e587804a3faa1c18828e36a6b4af91342bfdd577
0b62232a397af23a35b584f45104605e4f0c6d79
/miserver/httpd.py
35494613aa5daaf8d43d3cbe24f7c6dd240c3d6c
[]
no_license
zy-sunshine/FastMango
b2e22ece41df17629ed7e5bd74418a9ef491d2b1
3c938fd28bb3a70216c7d0952e48f5a3ade62bac
refs/heads/master
2020-06-06T07:54:36.346397
2012-07-01T16:32:38
2012-07-01T16:32:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,956
py
import os, sys, time import web import json #import Queue import multiprocessing import threading from miserver import handlers_long from miserver import handlers_short urls = ( r'/init/(.*)', 'Init', r'/testaa', 'Test', r'/(favicon\.ico)', 'Static', r'/(js|css|images|data)/(.*)', 'Static', r'/(.*\...
[ "netsec@netsec.(none)" ]
netsec@netsec.(none)
5a5fd88b8f285217867052540eace6bebb77212d
8d6ca1631ef5dd98c65147b01a4b186af055813f
/samples/fleetprovisioning_mqtt5.py
f98d67cc23b0cc010707ec4c9fb94998ced71714
[ "Apache-2.0" ]
permissive
aws/aws-iot-device-sdk-python-v2
fc888c3c08ccca9b7871ceb60ecb51c87d1bcc34
30d6fb27c9ba5b553d25fda5911d16279960f175
refs/heads/main
2023-09-04T10:57:42.561856
2023-08-28T21:09:34
2023-08-28T21:09:34
157,452,080
346
224
Apache-2.0
2023-09-13T18:25:20
2018-11-13T21:52:37
Python
UTF-8
Python
false
false
15,154
py
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0. from awscrt import mqtt5, http from awsiot import iotidentity, mqtt5_client_builder from concurrent.futures import Future import sys import threading import time import traceback import json from utils.command_l...
[ "noreply@github.com" ]
aws.noreply@github.com
b60dbda4c85037aa5c49faf664045a3d732ac72d
a36bf522906e4a93c1c278c9d783ef0083507919
/Working_With_Numbers.py
468397f6a5397d989d166fb16ab6224b62f2034a
[ "Unlicense" ]
permissive
PiggyAwesome/Learn-Python-Full-Course-for-Beginners-Tutorial-code
c6be3a01271b1f339141d722c9ba56aec1bd4f62
c164492a757cb825b73af1014f95aef884ac49af
refs/heads/main
2023-06-12T12:52:18.694235
2021-07-10T11:46:48
2021-07-10T11:46:48
383,074,694
2
0
null
null
null
null
UTF-8
Python
false
false
598
py
# Working With Numbers print(-2.0897) print(3 + 4.5) print(3 - 4.5) print(3 / 4.5) print(3 * 4.5) print(3 * 4 + 5) print(3 * (4 + 5)) print(10 % 3) my_num = 5 print(my_num) print(str(my_num)) print(str(my_num) + " my favourite number") # print(my_num + " my favourite number") my_num = -5 print(abs(m...
[ "noreply@github.com" ]
PiggyAwesome.noreply@github.com
5652215372387be4f0461eeba319d3e646f61007
eb8e1b6e3353821d437b7aa635ad2e5aa64992e6
/dailyjournal/wsgi.py
2c03a549a01dad13628c3f0651766acd7b34053c
[]
no_license
wooldridge12/Daily-Journal-Server
7806ad1659a8a3a9a33260de4333a67c7e0142df
46819651213263e6e52e2b9304c424b132cfda5c
refs/heads/main
2023-08-24T15:00:10.272761
2021-10-18T18:26:35
2021-10-18T18:26:35
414,825,209
0
0
null
2021-10-18T18:26:33
2021-10-08T02:48:46
Python
UTF-8
Python
false
false
401
py
""" WSGI config for dailyjournal 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/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "wooldridgemikey@gmail.com" ]
wooldridgemikey@gmail.com
59f25ff70be224b12e6cf04bfee0dce4295358cb
223590e81400eb8192aeb0a56b36b5a80408d4b4
/untitled0.py
5d8197e9f495e56c5efd0c87cbde3b294eba5703
[]
no_license
TianyaoHua/LeetCodeSolutions
c47fd3b6ae0bf60c0656ce12fb88290672c129ed
418172cee1bf48bb2aed3b84fe8b4defd9ef4fdf
refs/heads/master
2020-03-06T19:48:13.338630
2018-08-10T18:27:52
2018-08-10T18:27:52
127,037,907
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
# -*- coding: utf-8 -*- """ Created on Sun Feb 25 16:57:27 2018 @author: Hua Tianyao """ class Solution(object): def dfs(self, color, nums, i, n): next_index = (i + nums[i]) % n if color[next_index] == 1: color[i] = 2 return True elif next_index != i and color[next_...
[ "hua.tianyao@columbia.edu" ]
hua.tianyao@columbia.edu
0dea122cd9ea9dabdd45228b87971b1cdaab15b3
dd905c55bcd4838f8a82e29a572a765706d41814
/code/script/link_libs_kfmbp.py
897d2cda881c5abf1d26bd9d8051f04851e145ca
[]
no_license
dbirman/attfield2
fa99b0b30510ce5d0a7ec39dba11fb41db66ed64
2f1c8dda61d3641da30c1e21a5ec4abdb26c03ad
refs/heads/master
2023-03-16T00:45:07.641569
2023-03-13T23:44:53
2023-03-13T23:44:53
180,229,026
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
import sys, os sys.path.append('/Users/kaifox/projects/art_physio/code') class _Directory: def __init__(self, path): self.path = path def join(self, *args, **kwargs): return os.path.join(self.path, *args, **kwargs) def __call__(self, *args, **kwargs): return os.path.join(self.path, ...
[ "kaifox@stanford.edu" ]
kaifox@stanford.edu
67e93f31851de6c52aad6147d61d4bb42d2b68d1
9571207e6d9424b976abd3f23d473c2ce47de54d
/ocnus.recipe
a1e194730627e3e70a2f2443f52f849953b9a4bb
[ "WTFPL" ]
permissive
leamsi/calibre_recipes
4aa48b86dc2e033d43913585725b30fd86edac2f
9cce07b140377746d032226c89007854528837e5
refs/heads/master
2020-03-30T04:35:33.830012
2011-02-06T17:21:17
2011-02-06T17:21:17
1,119,761
0
1
null
null
null
null
UTF-8
Python
false
false
1,713
recipe
#!/usr/bin/python class OcnusNews(BasicNewsRecipe): title = u'Ocnus (Latest feed)' description = u'News before its news' category = u'News, International, Intelligence' HOST = 'http://www.ocnus.net/' feeds = [('Latest', 'http://www.ocnus.net/artman2/publish/rss.xml')] ...
[ "leamsi.setroc@gmail.com" ]
leamsi.setroc@gmail.com
be35fba0ee1777ed6486a5306076756efca4b165
56ab31a72740e7f0e5ba7f16819ae8404def9933
/ifs/source/redis.py
5ca288a298f7cfe02134626cc6f3089e95349922
[ "ISC" ]
permissive
cbednarski/ifs-python
2ea05c0073cd5b8bc371e96125a542178b716801
9629ba857b1c397fc1a1f13eeee46e5427fb2744
refs/heads/master
2021-01-17T11:07:53.156840
2016-11-08T23:35:16
2016-11-08T23:35:16
20,079,303
7
0
null
null
null
null
UTF-8
Python
false
false
243
py
version = '3.0.7' version_cmd = 'redis-server -v' depends = ['build-essential'] download_url = 'http://download.redis.io/releases/redis-VERSION.tar.gz' install_script = """ tar -xzf redis-VERSION.tar.gz cd redis-VERSION/ make make install """
[ "banzaimonkey@gmail.com" ]
banzaimonkey@gmail.com
54f6f675d6dfa81bfe552751c484009f07b1a230
ded1cdaf47b78c9321620afcaa25c4ae525e48d7
/bert/wsgi.py
15153d8cc340b51fab67bd1a8fa67e08eef00cfe
[]
no_license
raja-1996/BERT_SQUAD
6d55cb070086a2ad2edf0e7d7cb121bbe0e15057
35d4c8d2f35e59d1b5a9ce120b0bb803fe610937
refs/heads/master
2022-12-11T01:11:47.982974
2019-04-06T19:14:41
2019-04-06T19:14:41
179,873,764
1
0
null
2022-12-08T04:57:15
2019-04-06T18:52:18
Python
UTF-8
Python
false
false
385
py
""" WSGI config for bert 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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "rajamohanreddybollavaram@Rajas-MacBook-Pro.local" ]
rajamohanreddybollavaram@Rajas-MacBook-Pro.local
8529ad71e7d7185de431761ef4166e528ff7fc83
69f48790c7cbfbc7d19f9cfb47af4ff620dcd578
/166.py
fe0ab8f9659a2791f409b0a1628d56088d23453c
[]
no_license
ZiluZhang/LeetCode-Solutions
4d4eb86ad876f1a267ecda08832d2d5255e151d9
a6ec93e873383babb9ce336bb5723d65cedb9a81
refs/heads/master
2021-04-12T10:44:25.509906
2018-12-12T23:19:36
2018-12-12T23:19:36
126,672,550
0
0
null
null
null
null
UTF-8
Python
false
false
1,928
py
class Solution(object): def fractionToDecimal(self, numerator, denominator): """ :type numerator: int :type denominator: int :rtype: str """ s = 1 if numerator * denominator < 0: s = -1 numerator = abs(numerator) denominator...
[ "zhangzilu000@gmail.com" ]
zhangzilu000@gmail.com
f32ed698fbdd66b39f86f45c0e84303c36072688
a4721169f9227bb2ce9db3a3cd1cc14d40dd3fe1
/venv/Scripts/easy_install-script.py
13c0edfe51c6f16d85d1c22d04cb15d550a510a3
[]
no_license
kumarshivam12/cab
48125f0597b1f559b2d86a41d3955b27540f8c2c
19df55e1ae800cba41b0bb3a383c65e17f227c6e
refs/heads/master
2020-04-23T15:06:55.817358
2019-02-18T09:22:28
2019-02-18T09:22:28
171,249,543
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
#!C:\Users\TRG13\PycharmProjects\cab\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)...
[ "kumarshivam192@gmail.com" ]
kumarshivam192@gmail.com
e0ac24219670a31014492bc198e9cff69542c0ac
73cb244c4c45d7d4eb6e3ebac5f7e8556c7d87da
/setup.py
6b18b5928af8a541e192686704f5a78a438ee4f1
[ "BSD-2-Clause" ]
permissive
jzuhone/RunNotebook
cbe077e520b382206fe51faf7682fb1921721c94
6b8eb847a4eb70142cbe8375bd7435974918a686
refs/heads/master
2020-03-08T06:13:39.796717
2018-04-08T13:29:23
2018-04-08T13:29:29
127,966,110
0
0
null
2018-04-03T20:38:17
2018-04-03T20:38:16
null
UTF-8
Python
false
false
306
py
from setuptools import setup setup( name="RunNotebook", version="0.2.1", author="Nathan Goldbaum", author_email="nathan12343@gmail.com", url="https://github.com/ngoldbaum/RunNotebook", packages=["RunNotebook"], install_requires=["sphinx", "jupyter", "nbconvert", "nbformat"] )
[ "ngoldbau@illinois.edu" ]
ngoldbau@illinois.edu
f8e10483ae54990ce839439d53a41c443fac94c5
4b9c2fa2f841d9736c2c352ef967f47dd396c070
/apps/common/urls.py
e5169565e0cab958cc2d99612f150e5cb357fc53
[]
no_license
RodiZaharadji/TestJunior
04a9ea2c9d4dcddfe91b0ffe88151b7056b76fd4
b322a97329f12548f1233f452a6027a141c976cb
refs/heads/master
2022-11-26T19:15:47.387475
2020-08-10T11:07:29
2020-08-10T11:07:29
286,404,639
0
1
null
null
null
null
UTF-8
Python
false
false
246
py
from django.urls import path from apps.common.views import HealthView, ProtectedTestView urlpatterns = [ path("health", HealthView.as_view(), name='health_view'), path("protected", ProtectedTestView.as_view(), name='protected_view'), ]
[ "zaharadji2002@gmail.com" ]
zaharadji2002@gmail.com
c0896cce5098522412b3e4a890c9ab203df52cad
18a3719373f954c1aa192ba6fe84ae6777fb38ab
/website/__init__.py
0ba30b90f5ed8f1645085528df983dd25bcaf44c
[]
no_license
ccfernando/MSIT-ICT273-FinalProject
2611ea490b0230f1bc703adbc97a58028d745146
f1159bf5ebb97f4e7741903c2bcbb18ae87001aa
refs/heads/master
2023-06-02T02:31:25.427894
2021-06-20T09:14:03
2021-06-20T09:14:03
378,527,725
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy app = Flask(__name__, template_folder='templates') app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///ToyProblem_db.db' db = SQLAlchemy(app) # Placed the following imports here to avoid circular imports from .model import api
[ "ccfernando@crc.pshs.edu.ph" ]
ccfernando@crc.pshs.edu.ph
9682453679a05e8d64bd30fb27ba145b36d956f7
78c3082e9082b5b50435805723ae00a58ca88e30
/03.AI알고리즘 소스코드/venv/Lib/site-packages/caffe2/python/data_workers_test.py
81fa0f865d93340abf4508206c0454608bf2f22e
[]
no_license
jinStar-kimmy/algorithm
26c1bc456d5319578110f3d56f8bd19122356603
59ae8afd8d133f59a6b8d8cee76790fd9dfe1ff7
refs/heads/master
2023-08-28T13:16:45.690232
2021-10-20T08:23:46
2021-10-20T08:23:46
419,217,105
0
1
null
null
null
null
UTF-8
Python
false
false
6,757
py
import numpy as np import unittest import time from caffe2.python import workspace, model_helper from caffe2.python import timeout_guard import caffe2.python.data_workers as data_workers def dummy_fetcher(fetcher_id, batch_size): # Create random amount of values n = np.random.randint(64)...
[ "gudwls3126@gmail.com" ]
gudwls3126@gmail.com
382f0c7b605d0bd5c7d93be80e0b284a8fbac9c0
b1248d294c12452b759c0311e12c851975b1eea3
/app/themes/migrations/0001_initial.py
68f96217096cf66166aa024dcfdde9158a7e20ab
[]
no_license
acamogh/django_api_login
2e9132d4f91adbb60e2d674f0436e30bec48a92c
2d8abb727c7e991c52f93458451e2eb291d1dd52
refs/heads/master
2021-01-16T20:58:33.464011
2016-06-10T05:46:45
2016-06-10T05:46:45
60,771,202
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-09 06:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Theme',...
[ "acamogh@gmail.com" ]
acamogh@gmail.com
c6dac6d64165754472f17a77ad466a0ca0279b6e
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/last_thing/good_week_and_person/own_eye_and_person/part_and_big_point/problem/problem_or_case.py
20ae2bf35ce4c8e25534587be86a80ec979d2b7a
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
#! /usr/bin/env python def next_person(str_arg): public_week(str_arg) print('own_fact') def public_week(str_arg): print(str_arg) if __name__ == '__main__': next_person('do_good_day_after_case')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
4dc03a8310fc812f0a5d6d69485482e216a48eb5
545b902bbcb73b77fb2c66633a28e97a3c71e6bd
/RC4Website/RC4Website/asgi.py
6843fe8fde7ec277f1fd7e0498196fe6d69bc3da
[]
no_license
rc4it/eportal
ea5887533e96314dc9366d757bbb549065e0b273
4dbde9abb6d407237f6df989386e23125d43b81b
refs/heads/master
2023-02-10T06:43:39.885165
2020-12-20T15:18:26
2020-12-20T15:18:26
322,022,647
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for RC4Website project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "albertsutz123@gmail.com" ]
albertsutz123@gmail.com
dabf7e5644aff9de5aebed15955a25f3da04bba9
1d2eacd4d7cada19151968e8f6cdc39deef6c77c
/SLList.py
1b136d5b9a8dc5d37fd1a6772fa3ae4d2faf85ac
[]
no_license
shreyaasridhar/DataStructures-and-Algorithms
365204d1fac8aa63d69461e256f2b39301476bc3
ec6ba84f8ac641ce86e267407699b24b321df392
refs/heads/master
2021-06-04T18:49:23.835184
2016-10-17T18:24:18
2016-10-17T18:24:18
54,892,793
0
0
null
null
null
null
UTF-8
Python
false
false
6,147
py
class SLList: class node: def __init__(self): self.element = None self.next = None def __init__(self): self.head = self.node() self.sz = 0 def returnLast(self): while (curnode.next!=Non...
[ "shreyanju@gmail.com" ]
shreyanju@gmail.com
c5f7cf2445b8d4f904ba83d63b3deb7b59a0e263
349f5bfac9b147c62ff38217e72dd6614ec70f87
/tests/api/plot_api_test.py
caed7d2a1191293d5a210ed632ad4539b3256e33
[ "MIT" ]
permissive
ribosomeprofiling/ribopy
0c76a2f588b08b954ae462f81d018f9e26fe07f1
380421e202f25a9829b36c1c1d5a8bf333d9188f
refs/heads/master
2022-10-26T12:35:02.596001
2022-10-18T20:08:01
2022-10-18T20:08:01
203,284,628
4
3
MIT
2022-01-13T19:23:31
2019-08-20T02:28:27
Python
UTF-8
Python
false
false
3,779
py
# -*- coding: utf-8 -*- import unittest import os from io import StringIO, BytesIO import h5py from ribopy import Ribo from ribopy import create from ribopy.merge import merge_ribos from ribopy.settings import * from ribopy.core.exceptions import * import sys test_dir_1 = os.path.dirname(os.path.realpath(__file__)) ...
[ "hakan.ozadam@utexas.edu" ]
hakan.ozadam@utexas.edu
a04d2949d167ccc4bca5885dcd19e7363e0deec4
0f222dc3374e3d90e04234a785fa80f3d3d1d030
/python/diagrams/tests/test_editor.py
613c7b718bb5412b90219185b72ad2bbe7cbbf55
[ "Apache-2.0" ]
permissive
xiaozhu9904/openDiagram
60c44de26623aa6a58453cb9780c8d287f806c29
6641b3758f4f8ab4e7758e644b6850ab33c49f4b
refs/heads/master
2023-08-29T00:22:12.354700
2021-10-22T14:13:54
2021-10-22T14:13:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,352
py
# reading tests from pyamidict.editor.dict import Dictionary import os import unittest import xml.etree.ElementTree as ET import xmlschema class TestEditor(unittest.TestCase): RESOURCES = "resources" RESOURCE_DIR = os.path.join("..", RESOURCES) simple_xml_file = os.path.join(RESOURCE_DIR, "simple.xml") ...
[ "peter.murray.rust@googlemail.com" ]
peter.murray.rust@googlemail.com
aa5b6f495066efc73bf588601fe5b0f2372803ab
d2024f10e641ab2f28a888d23071edc032299498
/simple_tasks/realtime_plot_paper_ts_time_based.py
abc861dc00e375a4587e773d46e2b12a8e1f3702
[]
no_license
chen116/demo2018
6f2ae07150182b8e14a2eacbc57bdc79c03e6dee
d289545bcc30445be26e1381d5301d8f657d0c6e
refs/heads/master
2021-04-27T13:11:44.742650
2018-07-14T14:38:37
2018-07-14T14:38:37
122,435,014
0
0
null
null
null
null
UTF-8
Python
false
false
12,714
py
import matplotlib.pyplot as plt import matplotlib.animation as animation from matplotlib.widgets import Cursor from matplotlib.font_manager import FontProperties from matplotlib.widgets import CheckButtons import time fig = plt.figure(figsize=(10, 7)) ax1 = fig.add_subplot(2,1,1) ax2 = fig.add_subplot(2,1,2) buf = ...
[ "yvictorck@gmail.com" ]
yvictorck@gmail.com
4862104a0fb2371de05ff5051d73fe8321f166a0
6ac0bba8c1851e71529269c0d9d89a7c8fa507f2
/Easy/26.py
0915536721dec4fcf77cccd8a1e6caa20567b01f
[]
no_license
Hellofafar/Leetcode
e81dc85689cd6f9e6e9756beba070cb11e7b192e
7a459e9742958e63be8886874904e5ab2489411a
refs/heads/master
2021-05-16T07:07:19.823953
2020-02-17T03:00:09
2020-02-17T03:00:09
103,690,780
6
0
null
null
null
null
UTF-8
Python
false
false
1,944
py
# ------------------------------ # 26. Remove Duplicates from Sorted Array # # Description: # Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. # Do not allocate extra space for another array, you must do this in place with constant memory. # # For...
[ "buptljf@gmail.com" ]
buptljf@gmail.com
86c593d17bd8390c6dcb4a7404bf6d2912e7b0ff
ad4786f1e7e9d22dc673c1285d19e731f224f13a
/peak/backend.py
b884d8b921af002793c6e7d0eb9cbc42e48803bf
[]
no_license
connorjrice/OSS
d9d82867d1c1e785a25f0c7687d05a327e46bb8b
f70def8691c84150818c40ccc9d4cdceeb276d46
refs/heads/master
2020-04-04T10:22:44.728298
2018-11-02T11:04:19
2018-11-02T11:04:19
155,852,434
1
0
null
null
null
null
UTF-8
Python
false
false
882
py
import astral.mixins import datetime import sqlite3 import os class PBackend(astral.mixins.odbc, astral.mixins.auth): def __init__(self): super().__init__() self.path = f'.{os.sep}peak{os.sep}peak.db' self.cx = sqlite3.connect(self.path) self.cx = self.get_dict_connection(self.cx) ...
[ "connor@teksaas.io" ]
connor@teksaas.io
bbf754ad2e2c99a286385006049d6bfce2eb7361
b515c2e85196daa76690eb2ac69b6da1568e5942
/photo_server.py
b5dcbcfa70868923414675fd1fe18856d488eb57
[]
no_license
philzook58/FartMachine10
1a2c4ee941fedfd986e94fccd903b9cd4cd8c5b3
0f3193adae2aa81d68a0f85888bdcef85246bf93
refs/heads/master
2016-09-13T04:55:43.232998
2016-05-27T01:54:59
2016-05-27T01:54:59
58,282,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
from draw import DrawBot import sys from flask import Flask from flask import request from flask import render_template from flask import send_from_directory import threading import time import base64 app = Flask(__name__) app.debug = True #bot = DrawBot("/dev/ttyUSB0") from OpenSSL import SSL context = SSL.Context(...
[ "ishmandoo@gmail.com" ]
ishmandoo@gmail.com
fc51a46e4835b5e4b6c32d00f2e3c5bdccb59b2f
b1cc606e02ca0fcc01ffe408c44df3b22e33228e
/unit4_lesson_07_understanding_inheritance.py
32fcfd844925f406f20280aaf679b9e7a544c9f4
[]
no_license
poojithamiryala/Mission-Rnd-Python
6cb901a931ab3712972f8daa0dabe9145267b251
fc04ef1bea4c1d36102251a80b56ea7d3cb10afc
refs/heads/master
2022-06-10T17:13:18.838138
2020-05-10T15:08:04
2020-05-10T15:08:04
262,812,905
0
0
null
null
null
null
UTF-8
Python
false
false
3,560
py
__author__ = 'Kalyan' notes = ''' Inheritance is another standard feature of object oriented programming. This exercise illustrates the syntax and language features for using inheritance in Python. ''' from placeholders import * def test_inheritance_basic(): class A: # A inherits from object implicitly. ...
[ "poojithamiryala@gmail.com" ]
poojithamiryala@gmail.com
25c148eb9b5c899bf560143f60db347182d07f4a
c17cd923fab5cec610696c7a33399647918e39bd
/code examples/ambient_vision_example.py
6a60b6a40b0b22982ca6244a85ae8ad7864f985b
[ "Apache-2.0" ]
permissive
ofekashery/Ovl-Python
c00f15644501abf57f2c6d3906c67d562503b91e
117e3f4ae1a8a5624c41792bd36b760afbe86c8e
refs/heads/master
2022-11-20T20:59:20.176693
2020-07-29T20:50:41
2020-07-29T20:50:41
283,599,323
0
0
Apache-2.0
2020-07-29T20:46:59
2020-07-29T20:46:58
null
UTF-8
Python
false
false
1,928
py
import ovl BLUE = ovl.Color([100, 75, 50], [135, 255, 255]) camera = ovl.Camera(0) image_filters = [ovl.gaussian_blur((5, 5))] hexagon_contour_filters = [ovl.area_filter(min_area=300), ovl.polygon_filter(side_amount=6, min_area_filter=0.7, ...
[ "frcelysium1937@gmail.com" ]
frcelysium1937@gmail.com
919aee8a7d8b875ed8b1be27ff58b86d13a41a6f
65fc107e8a152d317c57c36808b844c8d7c6e2d6
/qlearning_robot/QLearner.py
8577781b636d29c8846e58331a014aaf95f5f1bb
[]
no_license
hxia40/Machine-Learning-For-Trading
6332e2538ee421efb06513c1d81ff90f7f811fa9
aa8108e6b007254480f0934538b034861e7de27f
refs/heads/master
2023-02-11T18:58:35.036251
2021-01-12T04:28:03
2021-01-12T04:28:03
205,895,511
1
1
null
null
null
null
UTF-8
Python
false
false
8,050
py
""" Template for implementing QLearner (c) 2015 Tucker Balch Copyright 2018, Georgia Institute of Technology (Georgia Tech) Atlanta, Georgia 30332 ...
[ "noreply@github.com" ]
hxia40.noreply@github.com
a365e4289c66e1d3c595093fd34f83502adf51a3
3090b3e964601e0392a03c903d28f324b4351936
/src/verification/tests.py
865430abb1f493bc192427fbd6115a19476e9f2b
[]
no_license
infoxchange/django-verification
eeebb4f7372ed95d43d8afd6f7b20ebdaa0e295e
51ac7a648863393d44fe7a2813eccbfbee2eb615
refs/heads/master
2021-01-24T23:42:01.913727
2014-07-29T08:29:12
2014-07-29T08:29:12
24,980,017
0
0
null
null
null
null
UTF-8
Python
false
false
13,002
py
from __future__ import unicode_literals import random import hashlib import datetime import unittest from django.core.urlresolvers import resolve, reverse from django.contrib.auth import get_user_model from django.core.exceptions import ValidationError from django import test from django.http import HttpRequest from...
[ "kaleissin@gmail.com" ]
kaleissin@gmail.com
4e35190d87678516c73f1bcce3bc5e559d676bfe
568d72eb2e06eb6b65ab1829277e368a2a832734
/test_adapters_manual.py
b001d72ccaeac8fdb08ff3e7f75544c8847e32c1
[]
no_license
Vincentvlb/field
bf3d82d82194af4a76012816e0c4146cbd0befa0
b38621d05b78786e6dc3d61385723f53a2d6782f
refs/heads/master
2023-03-19T01:27:05.532056
2019-11-08T11:23:49
2019-11-08T11:23:49
267,074,359
0
0
null
2020-05-26T15:01:52
2020-05-26T15:01:52
null
UTF-8
Python
false
false
1,028
py
import adapters from config import config sma = adapters.SmoothieAdapter(config.SMOOTHIE_HOST) smc = sma.get_connector() tn = smc.get_telnet() def test_switch_to_relative(): r = sma.try_get_response() assert r == "" r = sma.switch_to_relative() assert r == sma.RESPONSE_OK r = sma.try_get_respon...
[ "" ]
91728659092b76d7b69895ef6551bf916f627bae
354bf6aff920dd2464586cc9a49fe3c9806a81f4
/shop/mainapp/models.py
a212e024f318fcc8be51a9ba6619107b3d4896c5
[]
no_license
ochirovaur2/e-commerce-shop-django
a999312ddd7fa8fb660d8f19a0b1607b02e4340e
da7d8cab00f949442031703379be2c8542a92dbb
refs/heads/master
2023-03-05T22:29:24.376643
2021-02-21T13:41:21
2021-02-21T13:41:21
340,906,318
0
0
null
null
null
null
UTF-8
Python
false
false
4,756
py
from django.db import models from django.contrib.auth import get_user_model from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey User = get_user_model() def get_models_for_count(*model_names): return [models.Count(model_name) for model_name i...
[ "ochirovaur2@mail.ru" ]
ochirovaur2@mail.ru
89de735409c3feeb4e39c651872958e53ac7b420
78acc70fd148023634006ec53e577f7604e5bbac
/digital.py
dde5c50463cb62cd6c2a51eca5c9285ffa216b79
[]
no_license
abilash1907/Hacktoberfest2021
ef2bc3cb07ef6b53270eb5f2b8d8a8dc20fc76ba
b22f2b41ed91abe428ae3de06d3d48075acc68c1
refs/heads/main
2023-08-21T18:05:01.672284
2021-10-22T06:59:02
2021-10-22T06:59:02
415,214,657
0
1
null
2021-10-16T02:31:16
2021-10-09T05:45:29
Python
UTF-8
Python
false
false
546
py
import sys from tkinter import * import time def times(): current_time = time.strftime("%Y/%m/%d\n %I:%M:%S") clock.config(text=current_time) clock.after(200, times) root = Tk() root.geometry("500x250") clock = Label(root, font=("times", 50, "bold")) clock.grid(row=2, column=2, pady=25, padx=50) times(...
[ "180320107529.ce.dhruv@gmail.com" ]
180320107529.ce.dhruv@gmail.com
ed7d8e76213f4d97566a189d097cbe0496abe7b0
3031ddddecb3923b0073e9f3e7e1abb45848876a
/cut_w2v.py
239e59d4ca29b0ec12d095cff709d372b9fa96a3
[]
no_license
phy0225/nlp_api_ubuntu
51124ef9e47cf1720dfb8fb07db690249f6115e0
214eff4cb8233875d97771f67a8357debe1443c7
refs/heads/main
2023-01-31T07:21:57.921399
2020-12-18T08:59:06
2020-12-18T08:59:06
319,569,093
0
0
null
null
null
null
UTF-8
Python
false
false
2,635
py
# -*- encoding:utf-8 -*- __author__ = 'PHY' """ 基于特定症状分词接口 input:一段需要分词的文本 output:分词好的json格式数据 """ import re import json import jieba.posseg as pseg import sys from init_w2v import init def cut_sentence(sentence, string=False): """ :param sentence: str :return: words, list """ if not...
[ "1067639531@qq.com" ]
1067639531@qq.com
baa0c55c442f6171dbf941a9cf09cb189acb4271
42320f7dfc529198b626e4a6b0d60e70624b35ba
/users.py
1e4654cb9aec0de28cf7365da9e2e28dac1cb447
[]
no_license
tjreagan/HeartDiseasePredictor
56c8bfc0f3f3c01bfbbfa4320873b339af829ecf
e1341fe00780987a3de2e1ce425cfa1baf5dba00
refs/heads/main
2023-03-20T09:44:34.165205
2021-03-05T13:02:50
2021-03-05T13:02:50
332,208,838
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
# usernames / passwords Username_Password_Pairs = { 'Admin': 'Admin', 'Hello': 'World', 'Capstone': 'WGU' }
[ "thomasreagan@outlook.com" ]
thomasreagan@outlook.com
56d262b69962f3c5f4793a2e6e4dc4c0a775ee3f
f69fdcbc208045fc0b6f5f83231309d9ee473ff7
/src/kedja/models/auth.py
04af025f3ade3f27ecca593937be1b9770514b5d
[]
no_license
kedjaproject/kedja_server
d578266ad5e688dcbd21ceac8694ad60e4b1e72a
6df14d221c8ea247460e7f4600bf7fa860eb18de
refs/heads/master
2020-05-07T18:02:16.816912
2019-10-22T19:43:58
2019-10-22T19:43:58
180,751,037
0
1
null
null
null
null
UTF-8
Python
false
false
5,633
py
import json from random import choice from string import ascii_letters, digits from pyramid.authentication import CallbackAuthenticationPolicy from pyramid.authentication import extract_http_basic_credentials from pyramid.authorization import ACLAuthorizationPolicy from pyramid.interfaces import IAuthenticationPolicy ...
[ "robin@betahaus.net" ]
robin@betahaus.net
d58f542c8fb78d2761ded07af3e62ba664044c96
27228eddc8f41f3e831141a18fdb392559a890da
/security/roles_stack.py
06a101c262acd4fa02d88e1fa81f4b8aaaf32395
[]
no_license
knowit/Dataplattform-CDK
b390db24e89b14656d942d9fa63f192237278e12
597ae5133e7fbb4c3d9e5e2c9a3229b27d289019
refs/heads/master
2023-02-28T19:59:01.335809
2021-02-05T12:16:50
2021-02-05T12:16:50
335,232,663
0
0
null
2021-02-05T15:26:34
2021-02-02T09:20:18
Python
UTF-8
Python
false
false
198
py
from aws_cdk import core class RolesStack(core.Stack): def __init__(self, scope: core.Construct, construct_id: str, **kwargs) -> None: super().__init__(scope, construct_id, **kwargs)
[ "alfredronning@gmail.com" ]
alfredronning@gmail.com
0a07346dc2887b6524b57e969d9e6eae196467c4
9f5dce388b745c3e7354948a3b833812fb43f202
/storyscript/Features.py
5caefb0e1ed20853201f45714032a47017159eff
[ "Apache-2.0" ]
permissive
ramlaxman/storyscript
f9ba96ea85f50a85ade0083209c588acd1783c0a
274047c4cb4ed7ec301ce4a65f0fb8b98e595cc9
refs/heads/master
2023-04-14T14:59:04.036023
2019-10-01T19:30:03
2019-10-01T19:30:03
212,381,736
0
0
Apache-2.0
2023-04-04T01:23:50
2019-10-02T15:53:11
null
UTF-8
Python
false
false
819
py
# -*- coding: utf-8 -*- class Features: """ Configuration for compiler settings or features. """ defaults = { 'globals': False, # makes global variables writable 'debug': False, # enable debug output } def __init__(self, features): self.features = self.defaults.co...
[ "seb@wilzba.ch" ]
seb@wilzba.ch
1f4c7521cdae03be724f7fda5a14b675b3ac1ba9
fd0be9219fbc479548829289921907659dcfe18c
/src/k8s/my_pod.py
1f5944c99fb3eb7f8b0dc96f19499eb616fa57d1
[ "MIT" ]
permissive
latonaio/kube-etcd-sentinel
00f18c2dabada0211aff474afc25b1b79c4c53a9
bf8d1248ac9b13c30b4624867d8d4d17fa5ab06e
refs/heads/main
2022-12-19T16:58:28.196293
2020-10-21T06:01:22
2020-10-21T06:01:22
305,906,052
10
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
from datetime import datetime as dt from kubernetes import client from k8s.my_kubernetes import MyKubernetes class MyPod(MyKubernetes): def __init__(self, kube_client: client.CoreV1Api, node_name, datetime_fmt): super().__init__(kube_client, node_name, datetime_fmt) self.pod_names = [] sel...
[ "kokorononakaniitumo@yahoo.co.jp" ]
kokorononakaniitumo@yahoo.co.jp
ec92634dfe091b522492d966ab421e420a73a01a
41dc19883789f45b6086399a1ae23995f53b4b2c
/IPython-parallel-tutorial/check_env.py
85c49fd4c3e695589de399a92b65d5ba442a02d9
[ "MIT" ]
permissive
sunny2309/scipy_conf_notebooks
f86179ddcd67168b709c755cc01862ed7c9ab2bd
30a85d5137db95e01461ad21519bc1bdf294044b
refs/heads/master
2022-10-28T17:27:42.717171
2021-01-25T02:24:05
2021-01-25T02:24:05
221,385,814
2
0
MIT
2022-10-20T02:55:20
2019-11-13T06:12:07
Jupyter Notebook
UTF-8
Python
false
false
707
py
"""check_env.py for IPython.parallel tutorial at SciPy 2014""" import sys import numpy import scipy import requests import matplotlib.pyplot import skimage import matplotlib try: from bs4 import BeautifulSoup except ImportError: print("BeautifulSoup will be used for an example.") try: import networkx...
[ "sunny.2309@yahoo.in" ]
sunny.2309@yahoo.in
c8fa6e97b2802ae7680cf53d678265189ffbf39c
5ac74e2f721d17d352c800269dc768807fbd2f32
/cookbook/schema.py
e1b4a192250c4d5fc4cfd45cf3bbf65603bea643
[]
no_license
kev-luo/django-graphql
50a09de3263dba3b2207142b4f3a99130651c4a7
1f027ee812435d8cdd617e310d181dbe97d6fa7e
refs/heads/main
2023-05-09T16:34:00.999627
2021-06-04T21:36:12
2021-06-04T21:36:12
373,686,887
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
import graphene from graphene_django import DjangoObjectType from ingredients.models import Category, Ingredient class CategoryType(DjangoObjectType): class Meta: model = Category fields = ("id", "name", "ingredients") class IngredientType(DjangoObjectType): class Meta: model = Ingr...
[ "kevinluo@Kevins-MacBook-Air.local" ]
kevinluo@Kevins-MacBook-Air.local
3665f284be065425531d17281f723a4d2bfdab71
3f5071b781948e43ac61614abcbd99a799696f63
/run.py
94780250893aaf572100c320e629cca9e394e05d
[]
no_license
chrisgorgo/cbrain_bids_apps_runner
2502ac475775122c371face6a4af0fa5bd29a3ee
28a30b23ae73a0bcdc5394ec02be572cae9d34e9
refs/heads/master
2021-09-04T14:46:40.984448
2018-01-19T16:29:56
2018-01-19T16:29:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,441
py
from glob import glob import json import argparse from bids.grabbids import BIDSLayout from copy import deepcopy from os.path import exists def save_json(filename, subtask_dict): with open(filename, 'w') as fp: json.dump(subtask_dict, fp, indent=4, sort_keys=True) def get_dep_ids(id_sources): dep_id...
[ "krzysztof.gorgolewski@gmail.com" ]
krzysztof.gorgolewski@gmail.com
7d6df54d1081fa8445cd53e1ce33599203797d81
c243bf094f205db4703ed28472806dfaaa95eb1e
/TP_BASE/TP2/data/adm_cells_generator.py
34ce414a6bfbe05cda901102cbd7815d4ccddd43
[]
no_license
attoumbre/RO_tps
a7c8a61ef147cf8fd4d24f9b66ddca96409de8a5
b1831ee62961b85e18988c3f1277f7f5fa42a4b8
refs/heads/master
2023-08-11T14:26:06.493262
2021-10-09T07:40:28
2021-10-09T07:40:28
415,045,375
0
0
null
null
null
null
UTF-8
Python
false
false
2,424
py
# -*- coding=utf-8 -*- """Generator of admissible cells problems. USAGE: python3.8 adm_cells_generator.py """ from __future__ import division from pathlib import Path from random import randrange, sample # ============================================================================ # # ...
[ "juvenalak@gmail.com" ]
juvenalak@gmail.com
d8a2115f46a9e824a884d197aa5c31a3a885d5fc
454da4b23688335baa6a6698550a6a8a0dee0d08
/MapReduce.py
23fb39be868b1092fbee39d4bff8c8c500515ee1
[]
no_license
rcuevass/Simple_MapReduce_Python
80331883d33e62975a8281f09c8b8f9a2868de19
a52c5915ab92d09ea85eeb07eb1c96085b8a630d
refs/heads/master
2021-01-01T05:45:08.520531
2016-05-03T16:18:19
2016-05-03T16:18:19
57,983,320
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
import json class MapReduce: def __init__(self): self.intermediate = {} self.result = [] def emit_intermediate(self, key, value): self.intermediate.setdefault(key, []) self.intermediate[key].append(value) def emit(self, value): self.result.append(value) def e...
[ "rogercuevas.ca@gmail.com" ]
rogercuevas.ca@gmail.com
48bc29bb081af5a16c80a9718cac5b56f870de00
e09930641fa513b821d99674fa0bef3023a7123c
/classification/data_conversion/convert.py
88e354213c1c3d02a8b1560e350ffbee6f19b71b
[]
no_license
abhilashdighe/loop-unroll-583
d7106f9d044b308e3cf778c40a8954becc47626e
9bbbac5b745fc0f33397e3813872ba22379a1ded
refs/heads/master
2021-01-21T09:18:05.299439
2016-03-17T20:22:15
2016-03-17T20:22:15
45,954,635
1
0
null
null
null
null
UTF-8
Python
false
false
2,462
py
import csv import sys from sklearn.cross_validation import train_test_split import cPickle as pickle loop_to_features = {} loop_to_timings = {} with open('features.csv') as features_file: features_csv = csv.reader(features_file) for sample in features_csv: benchmark , loopid = sample[:2] featur...
[ "=" ]
=
025f4f59140fc5db309bbab2b89692cdc5c8e4d6
bd7a679610afa80d18771993f17253cfb4fb14ed
/K-SVD-py/FormalVersion.py
8768953e04a5bdca194b1b05c3b4f458c55bbd8e
[]
no_license
BorisChen1998/PRP34
654c0aa9e4a63d20d01eb577ff3357c6e9936a23
d83907d4ae9f4620c7f33843705536a6e71d8766
refs/heads/master
2020-04-15T15:45:31.383190
2019-01-12T12:38:58
2019-01-12T12:38:58
164,807,051
0
2
null
2019-01-12T12:38:58
2019-01-09T06:59:14
Python
UTF-8
Python
false
false
11,537
py
#-------------------------------------------------------------------------------------------------------------------# #-------------------------------------------------- 0. libraries -------------------------------------------# #-----------------------------------------------------------------------------------------...
[ "837647800@qq.com" ]
837647800@qq.com
8de635eaf716cec952ebc83b0f2b2ed746df069a
75450859fe5e29a8732864fa1769762e676ee531
/get_class_codes.py
6d690867dd9826e50f5c85cf607d3b28025e564e
[]
no_license
IgnacioBecerra/Waitlistoria
c283e52bf64887695965d0ce5e4f517293d77c1c
2e563ae5dc359179829bb64044b078d4f8a47d82
refs/heads/master
2018-10-10T11:48:53.120041
2018-06-23T05:50:06
2018-06-23T05:50:06
112,711,360
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
import mechanize import sys import json from bs4 import BeautifulSoup br = mechanize.Browser() br.set_handle_robots(False) # ignore robots br.set_handle_refresh(False) # can sometimes hang without this br.addheaders = [('user-agent', ' Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 U...
[ "i1becerr@ucsd.edu" ]
i1becerr@ucsd.edu
f576623c9d462a2992d0b7172cd1cf98f7303547
e8b4aaafc327a6be4e8cd455f9ec4bee23fb38b5
/homeapp/views.py
1956ffe4619508779a70922184a1d49b53e0b877
[]
no_license
Smartdevil21/ppp
ce63304558b9e550b9f3ae99a221dbba452037cb
4aa3648a6efd83f40789ea1df6309560640127ed
refs/heads/main
2023-04-18T21:59:46.985054
2021-05-05T10:01:22
2021-05-05T10:01:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
from django.shortcuts import render,HttpResponse from homeapp.models import Contact # Create your views here. def home(request): return HttpResponse("this is the homepage") def contact(request): if(request.method =="POST"): name=request.POST.get('name') subject=request.POST.get('subjec...
[ "noreply@github.com" ]
Smartdevil21.noreply@github.com
bca470acefa5e161ce2520a221ac6e2465d1d88e
deddca116d34aaeac1193334f6341dffda5bd025
/umonya/content/views.py
59d09160f668c61b1ca1bfc6e29e7c113ee06596
[]
no_license
keegancsmith/Umonya-Website
7079177fe60b9088acd42184ad496a4fb92ad6d2
5575a003dadcc66940cc22564e751051120801cf
refs/heads/master
2016-09-06T16:46:50.882232
2011-07-24T15:04:24
2011-07-24T15:04:24
2,009,325
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
from annoying.decorators import render_to from umonya.content.models import Sponsor @render_to('sponsors.html') def sponsors(request): return { 'sponsors': Sponsor.objects.filter(type='Sponsor'), 'collaborators': Sponsor.objects.filter(type='Collaborator'), }
[ "keegan.csmith@gmail.com" ]
keegan.csmith@gmail.com
17dff539b701a10abdf0d138b8614cd439ab3e4f
e739da9e8dd3ee9cf88fd153a8b2432409949c7a
/best_route.py
3dbffe61c75ea26e07f7ac974fe95ecae4e50701
[]
no_license
Sapphirine/flightroute
a665be2d75a8db8d065400d6e7034ba3c5c34d0c
8f28ec216eff3081e11b0dfb7fbc793991e17c20
refs/heads/master
2021-08-31T14:30:48.508557
2017-12-21T17:51:50
2017-12-21T17:51:50
115,027,829
0
0
null
null
null
null
UTF-8
Python
false
false
23,888
py
import graphdb_client import json import itertools from Tkinter import * from PIL import ImageTk, Image g = graphdb_client.gc(host='http://localhost:8010') def main(ori_name, dest_names, start_month, start_day, end_month, end_day, days): names = [ori_name] + dest_names start_month = start_month start_d...
[ "guyfarkash@gmail.com" ]
guyfarkash@gmail.com