blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
97270634759c89fd662f10ff952b069998d3a51d
23db31b92f4c69b5f1299e62ceebf591d7ce5142
/isup/apps.py
88386fb2a894b6c3f684b9e648b223258087a4ee
[]
no_license
helloiota/isup
72b3fbd3ba20d1d6e64b469b5f998b1b4b85c13a
5608655d6851ac08c57504da7953b85bfad0b60e
refs/heads/master
2020-04-10T23:09:40.295615
2018-12-11T14:15:37
2018-12-11T14:15:37
161,343,580
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
from django.apps import AppConfig class IsupConfig(AppConfig): name = 'isup'
[ "helloiotatoken@gmail.com" ]
helloiotatoken@gmail.com
5f984ee475310828f57e134a52123c25b3465525
b013f8bc0a0bb90c86f72048fb530f1ad79f4cd1
/secondproject/secondproject/settings.py
69c41d69c5d6817b48ae194e7592993eeca707b2
[]
no_license
raisulru/second-django-app
40dc094675bdfd64c867e7f80a180f5611f7a3d7
19d8956ca2557f4dbe850831fdedc90370928263
refs/heads/master
2021-01-09T08:15:52.474972
2016-07-20T17:56:18
2016-07-20T17:56:18
63,802,869
0
0
null
null
null
null
UTF-8
Python
false
false
3,185
py
""" Django settings for secondproject project. Generated by 'django-admin startproject' using Django 1.9. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import o...
[ "raisulru10@gmail.com" ]
raisulru10@gmail.com
ea3e0f49513c78b97324da1060849c420f61e5f5
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v5/googleads-py/google/ads/googleads/v5/errors/types/media_upload_error.py
39578088e187607b8c8b6434f4bac6a2a12de12a
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,383
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
7d827e6c179ce3e011f118c3dd3e09ce960c0b25
83e512ba7a82323e6888dc65d36f9fc36761279f
/test.py
1e032ad5329dd14d805ce47a983af4c021d0e655
[]
no_license
juniorliu95/hakkason_client
71ed96691b0411ddf181731c3589e9f64f6bd58e
309dbf1585463e6e828b93076b994c553eb9ef10
refs/heads/main
2023-03-27T07:59:58.190959
2021-03-21T06:18:40
2021-03-21T06:18:40
349,914,470
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
# test the socket client import time import socket_client import cv2 import numpy as np received = [] def show_error(message): print(message) def connect(image): # Get information for sockets client port = 6007 # ip = '127.0.0.1' ip = '192.168.1.100' username = 'nq' if not socke...
[ "juniorliu95@gmail.com" ]
juniorliu95@gmail.com
96aee52e2dbc339afedeaad6b4a7001d55c9621b
6a34b039ededb2e1dcdc07c6976475654ca0ae0a
/code_all/day10/demo03.py
561ac03fe84aaec58c94e3a79c7cb3f0a4d52359
[ "MIT" ]
permissive
testcg/python
57c62671ab1aad18205c1dee4457b55009cef098
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
refs/heads/main
2023-07-09T13:19:24.740751
2021-08-11T09:25:20
2021-08-11T09:25:20
394,932,987
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
""" 创建狗类 数据: 品种、昵称、身长、体重 行为: 吃(体重增长1) 实例化两个对象并调用其函数 画出内存图 """ # 实例成员通过对象访问 # 通常在类中对象是self # 在类外对象是 “变量=类名(...)” class Dog: def __init__(self, species="", pet_name="", height=0.0, weight=0): self.species = species self.pet_name = pet_name self.height = h...
[ "cheng@eaglesoftware.cn" ]
cheng@eaglesoftware.cn
f8145e407078fb63ba6739b24b35529c2ee5a505
089fc0ce61e8e433355b304c9ca7cf8a902cfa88
/backend/test3_21903/settings.py
35450e3626d2693990c3856199b4a2891c541c15
[]
no_license
crowdbotics-apps/test3-21903
05248130c0c58b390223fd90d4e5e458ea97f303
4ec8947918dbce759e7ec7a7f421352768796a79
refs/heads/master
2023-01-06T05:56:43.992317
2020-10-23T22:38:28
2020-10-23T22:38:28
306,760,678
0
0
null
null
null
null
UTF-8
Python
false
false
6,156
py
""" Django settings for test3_21903 project. Generated by 'django-admin startproject' using Django 2.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 o...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
1ca579ad39b3570cfa1786ea27753785a6f5ea67
30e843b81366234e43541adbd52cb42181fc3424
/black_widow/main_server/src/Entities/__init__.py
b56c27cf421bdb4e85b71efbb33c74a895e76865
[]
no_license
Practicum-Team-3/black-widow-docker-production
1797c9552e96dfd040bc4140e7027e39337ff6a7
b1bea9dbdc8fad4eea848e17a05d302a88ea65df
refs/heads/master
2021-04-23T02:18:15.712233
2020-03-25T04:39:47
2020-03-25T04:39:47
249,889,599
0
1
null
null
null
null
UTF-8
Python
false
false
156
py
from Entities import ExploitInfo, \ NetworkSettings, \ Provision, \ Scenario, \ VagrantFile, \ VirtualMachine, \ VulnerabilityInfo
[ "jedagda@miners.utep.edu" ]
jedagda@miners.utep.edu
248de1e8ab39a57c6038fb1a770fca7e57d985e2
9090373bc13d363b457e952a8151bc76b82e06a5
/XTube_load.py
d73e1873ad6454497d47a34a9bb1643031a88b97
[]
no_license
TheAwiteb/XTube_load
dbdc4f708ac34d831c92a5ad22290c04549fd21c
5c1bce1882b0b221eaf9b8e87e8d839b3a3bca46
refs/heads/master
2023-08-18T16:48:56.724846
2021-01-30T22:22:11
2021-01-30T22:22:11
322,895,893
0
0
null
2021-10-03T19:22:58
2020-12-19T16:59:27
Python
UTF-8
Python
false
false
18,030
py
from XTube_load_functions import * from pytube import YouTube, Playlist import os from colorama import init, Fore, Back from sclib import SoundcloudAPI from time import sleep init(autoreset=True) #Fore: BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE, print(f"{Fore.YELLOW}\n{'-'*30}|",end='') print(f'''{Fore.YE...
[ "awiteb@hotmail.com" ]
awiteb@hotmail.com
56245421e92559dca2ccf80a331a8974c2d78296
b028b595769e1a6aa24b999ff715486154bddaad
/project_wiki/project_wiki/settings.py
d2af995dc2604b2f680433e6589ee9d5b2c948de
[]
no_license
bhaveshagarwal1697/login-and-register-using-user-authentication
bce48f359264474855b10a51db9d93b72b181f36
5ab5e3ccb0f2a3695a7ce82fa9976fc5c126f44d
refs/heads/master
2020-07-31T00:01:22.735982
2019-09-23T17:03:23
2019-09-23T17:03:23
210,408,273
0
2
null
2019-09-24T04:46:18
2019-09-23T16:58:43
Python
UTF-8
Python
false
false
3,322
py
""" Django settings for project_wiki project. Generated by 'django-admin startproject' using Django 2.2.5. 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 ...
[ "you@example.com" ]
you@example.com
2911590e929a77bed7a38ecdb0bc09bbdfd67e22
fd63b738278637326614ebb947c8c6f70d375fb5
/app.py
bd07b6b2b42fe73305bce096e60b7164e3af61c8
[]
no_license
alessandroCidney/API-Geradora-De-PDFs
d9b57ecf4594636ae72eab3ca26fc20d692872b5
2395ed5fa7d9fb35f7ffdc5858db75bb43b54c06
refs/heads/master
2023-07-13T21:15:53.471327
2021-08-18T15:45:49
2021-08-18T15:45:49
397,386,923
1
0
null
null
null
null
UTF-8
Python
false
false
799
py
from generate import generatePDF from flask import Flask, jsonify, request import json # pip install -U flask-cors # file:///D:/Fabinho/Documents/Alessandro/Programa%C3%A7%C3%A3o/Projetos/projeto-pdf-python/pdfteste.pdf from flask_cors import CORS, cross_origin app = Flask(__name__) @app.route('/generate', method...
[ "contatoalessandrocidneysa@gmail.com" ]
contatoalessandrocidneysa@gmail.com
fc8715d8e9b684fcb7dbbfd21562a3ee5201e77d
eb25b38b400425c91bcce4d2c1b3d4e75d8f59ee
/tests/test_parser.py
7e20392076512563a715c081ebdbff6b6c22eabc
[ "MIT" ]
permissive
Citteny/cutadapt
f098201eebb3fc74dd38477043babc2b18a61a68
c9573d295bc3382697a554e1d0e91047374ff7da
refs/heads/master
2022-12-23T04:26:13.111725
2022-12-11T11:33:00
2022-12-11T11:33:00
229,545,869
0
0
MIT
2020-12-07T18:56:10
2019-12-22T09:35:31
null
UTF-8
Python
false
false
15,010
py
import os from textwrap import dedent import pytest from dnaio import Sequence from cutadapt.adapters import ( LinkedAdapter, BackAdapter, FrontAdapter, InvalidCharacter, PrefixAdapter, RightmostFrontAdapter, ) from cutadapt.parser import ( AdapterSpecification, parse_search_parameters,...
[ "marcel.martin@scilifelab.se" ]
marcel.martin@scilifelab.se
450d5e12ba776ce3b3eb197724c72318800ede0c
84ba5a064af4d8f03dd2652cd2213a97cf3380ef
/集训第一期项目/聊呗/node_modules/websocket/build/config.gypi
847f3d562af4df9adc2c2786b112c15505ca1591
[ "Apache-2.0" ]
permissive
communication-1/material
3339882928a0b979f374a16c589b4e4d76bbbe3d
995edbb6d51a9d66197e77bfe853318e89e47df3
refs/heads/master
2016-09-14T08:59:39.228677
2016-05-11T10:25:06
2016-05-11T10:25:06
57,932,181
2
0
null
null
null
null
UTF-8
Python
false
false
3,769
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "host_arch": "x64", "icu_data_file": "icudt55l.dat", "icu_da...
[ "708819517@qq.com" ]
708819517@qq.com
f0a97f932cf0cba3b3e6e0b9beaa99fd5971dcd3
8ac156c3bfeb4ce28836a1820cb88959424dab14
/extrasetup.py
f2fa29ce6a348bce4cc10fdfc0827986a7f941d2
[ "Apache-2.0" ]
permissive
Cloudmersive/Cloudmersive.APIClient.Python.OCR
7b593464d31d3038663bedca3c085a161e356f20
90acf41a9b307213ef79f63ea4c749469ef61006
refs/heads/master
2023-04-03T06:03:41.917713
2023-03-27T05:30:38
2023-03-27T05:30:38
138,450,272
6
0
null
null
null
null
UTF-8
Python
false
false
180
py
from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read()
[ "35204726+Cloudmersive@users.noreply.github.com" ]
35204726+Cloudmersive@users.noreply.github.com
0dd8bfe2fc3bebfc456e0fdc9f9f83a2a758e691
ccfcc2d576a223b8f755f50e9cdd447cd2d3c616
/1/part2.py
a426f7853f9528126bbaef303ea0400215567af6
[]
no_license
osbornnick/AdventOfCode2020
08e74b8612c0e3bcd95881dbc4ec4b8b0bd75bbd
7a8fa91a0aa489dba0bd970bed576393a94d3049
refs/heads/master
2023-02-03T02:42:18.134429
2020-12-20T20:05:17
2020-12-20T20:05:17
319,680,640
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
with open('day1.txt', 'r') as f: data = f.readlines() data = [int(i) for i in data] def solve(data, sumTo): # assumes sorted data x = 0 y = len(data) - 1 while x < y: if (data[x] + data[y]) < sumTo: x += 1 elif (data[x] + data[y]) > sumTo: y -= 1 ...
[ "nicholas.p.osborn@gmail.com" ]
nicholas.p.osborn@gmail.com
5c76a2d8524765837b87d8164796b2e532a25388
16f692a50e62826cb88dc1846d4b236fb12e47d8
/matmul/matmul_py.py
b4c639f8a5242cdaffc587cd2c263f14e71cad41
[]
no_license
yalechang/cython
9df8a002ae1184bbb137690c3ee61f2eeecbf57e
386685691082291d63b7b1ba7083e36391028217
refs/heads/master
2021-05-27T22:02:49.592549
2013-10-14T23:11:26
2013-10-14T23:11:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import numpy as np def matmul_py(A,B): out = np.zeros((A.shape[0],B.shape[1])) for i in range(A.shape[0]): for j in range(B.shape[1]): s = 0 for k in range(A.shape[1]): s += A[i,k]*B[k,j] out[i,j] = s return out
[ "changyale123@gmail.com" ]
changyale123@gmail.com
0396e30832d2d1418b62cb25f64b70bb01309eaa
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/fact_and_few_work/time_or_able_fact/great_thing/say_group_with_woman.py
40dc5a750776c8f9410e3b4497b53ed7b31e59d6
[]
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
204
py
#! /usr/bin/env python def find_other_part(str_arg): person(str_arg) print('new_point') def person(str_arg): print(str_arg) if __name__ == '__main__': find_other_part('thing_or_part')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
2d19d2a8755e48184d459f92352e3bcdf30eaa56
209f3697e777d42acbe2890a19ef67a0a86aec05
/app/api/api_v1/api.py
a983ab88b6a281bcb1515364dceaca46ded09650
[]
no_license
braininteractive/kudy-backend
6439e0e4e2e8f2451e464c2b637a0075fe28ea59
0a67c93612c006c1351de74c2c06584cc657ce04
refs/heads/master
2022-11-26T08:31:01.649130
2020-07-30T22:59:08
2020-07-30T22:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
from fastapi import APIRouter from app.api.api_v1.endpoints import investments, login, users, utils, invest, wallet, transactions api_router = APIRouter() api_router.include_router(login.router, tags=["login"]) api_router.include_router(users.router, prefix="/users", tags=["users"]) api_router.include_router(utils.ro...
[ "vic3coorp@gmail.com" ]
vic3coorp@gmail.com
6acef0efaa41174aac8aa74e2ef3994476972c21
f31ed3302d1e6be7699e7eb211532037fe122056
/django/learn_project/learn_project/conftest.py
f72c7f5f4879db4cd3f36770af0fbd20acaa6184
[]
no_license
sangelion/learn-python-webdev
fb444daa993da7f7bb2e63b20716cffb120de590
a5edb46a716b831f85686048783be68200e11535
refs/heads/master
2020-04-05T14:26:51.104436
2019-05-22T22:48:40
2019-05-22T22:48:40
156,929,534
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import pytest from django.conf import settings from django.test import RequestFactory from learn_project.users.tests.factories import UserFactory @pytest.fixture(autouse=True) def media_storage(settings, tmpdir): settings.MEDIA_ROOT = tmpdir.strpath @pytest.fixture def user() -> settings.AUTH_USER_MODEL: r...
[ "sangelion@github.com" ]
sangelion@github.com
02aee538c4869755c1fb25b6a0126b3dda67eba6
52b5773617a1b972a905de4d692540d26ff74926
/.history/equiLeader_20200827132415.py
bae1c1e0de8c2e0371cd2122dbb9f59a0ecd1480
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
def equi(A): # return the number of equal leaders that both occur in the sequences # first find the equileader # then count them in both sequences store = {} candidate = -1 for i in A: if i in store: store[i] +=1 else: store[i] = 1 for i in s...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
ac41aa1c5139a46596050eb7e4bd821a8bf4aaf0
9fa4254e5cca79309ba41e363924d38853e8191a
/train.py
c1e26d24d257f67849c677b67c53f4e85aea4520
[]
no_license
misma2/eegclassification
b698f9226a295865d720cd85fa2e71086bf73d57
1899cd70ef5ba487752deeedecfb39683be2505f
refs/heads/master
2018-10-14T23:50:07.811545
2018-07-12T17:37:45
2018-07-12T17:37:45
113,044,527
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
#!/usr/bin/python #beolvasas import os import csv import numpy as np y_data=np.load('labels.npy') EegData=np.load('eegdata.npy') """ y_data = [] #desired output EegData=[] #input data directory = os.path.join("TrainingsetX") #,"path") for root,dirs,files in os.walk(directory): for file in files: print("van file"...
[ "noreply@github.com" ]
noreply@github.com
48462ae5529988df95d21a6ca5b98c6990a7ce36
7635e024cdb0028d040639aec1d626842336e9e6
/lecture2_python/hello.py
edb8724810785026a4bca71f5b8a8e19dba71c37
[]
no_license
ricardasva/cs50
a1c3dd93174429886e4495070a96fdae0161390e
fa83101ec549611ed795e4e6bdf8cc1ec42d5834
refs/heads/main
2023-03-30T20:26:44.615100
2021-03-25T10:37:02
2021-03-25T10:37:02
350,387,670
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
print(f"Labas {input ("Koks tavo vardas? ")})
[ "ricardasva@gmail.com" ]
ricardasva@gmail.com
675816aae197d4a4b058ccbd18a827f956e1c4f1
ffc53dc12f3bbb1e3bb14e0cd689e68a702b5593
/BST/findClosestValueInBst.py
b7e4f4874cc953c8b97b497a36f023c95e3a718c
[]
no_license
Ananda9470/programming_practise
92a8a556bb9a69d7b23a52995599fa6ebd46a8c3
e4f73a7a53f3a639529a1d4ac61c9be6df11ae36
refs/heads/master
2020-08-27T09:00:53.860528
2019-11-25T14:59:25
2019-11-25T14:59:25
217,309,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,438
py
from BST import BST # O(n) | O(1) # Θ(log(n)) | O(1) def findClosestValueInBst1(tree, target): closest = float("inf") while True: if abs(tree.value - target) < abs(closest - target): closest = tree.value if tree.value > target: if tree.left is not None: ...
[ "anandan9470@gmail.com" ]
anandan9470@gmail.com
801390d86c22e90f56c6049da8ccba2df82514a0
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/3/ip0.py
816ddff0358a21889858a3315bc7a9c77b35831f
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
35fb51552ab4326e6007f593e934e69c2146d460
25f4411fdc47d1753a3531f016467acf595394d4
/saveFileTools.py
457b6cb98d22d1c02fb8e52e9daf1227e1f7e338
[]
no_license
deepanshi17/ZEDScripts
1c8de0f7b06e91688d9902395b1affd82bb4694d
bd83762456cd890a2af8fcbb69379da46f9b086c
refs/heads/master
2022-09-08T01:54:35.624627
2020-05-10T02:44:13
2020-05-10T02:44:13
262,698,933
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
import os ''' Functions to set up a folder to store data it takes a filepath as the base name and will automatically make a folder with the path and if it already exists it will append a number to the end example given the path /home/documents/saveData/ name data the setup folders function will take the path and name ...
[ "sharma.deepanshi@gmail.com" ]
sharma.deepanshi@gmail.com
bb3bc3d83b5d408a17e14ed6445ab02959dd1980
ad64f8b138bad7b71ea98abd9adf2fecc3431d3e
/checkout/forms.py
c04dd0d8df700b0335fdd5329a6f825d20f4b280
[]
no_license
Code-Institute-Submissions/Happy_Feets
88efa8f7bdc6ad6d358f5c7b69ee0799a0bc88cc
f7b50db8531028ddccc6774f8c6d1d795077fca8
refs/heads/main
2023-08-31T17:05:29.588279
2021-10-19T08:02:38
2021-10-19T08:02:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
from django import forms from .models import Order class OrderForm(forms.ModelForm): class Meta: model = Order fields = ( 'full_name', 'email', 'phone_number', 'street_address1', 'postcode', 'town_or_city',) def __init__(self, *args, **kwargs): """ ...
[ "sandra.helander@hotmail.com" ]
sandra.helander@hotmail.com
2eb93cbf1a2920fee5fd9efe604880570403783f
8ebb88aa1c326307ff5c6144b4ecdac613e232dd
/RECMSNEW/recms/wsgi.py
8a298379ee64e3d2a758c947a592c8dd5be3d613
[]
no_license
zhangyuqin/recadmin
466c6d76fee771124ea5c18056a10bc27a17743a
617213c55c74b3cc0c0161123bce54e4e9b1efd1
refs/heads/master
2022-12-12T22:49:28.409936
2018-07-20T08:55:31
2018-07-20T08:55:31
141,688,016
0
0
null
2022-12-08T00:44:30
2018-07-20T08:51:10
JavaScript
UTF-8
Python
false
false
388
py
""" WSGI config for recms 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.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTIN...
[ "zhangyuqin891218@gmail.com" ]
zhangyuqin891218@gmail.com
aaa12779a4c7598983b69a58a9b9eb29f917f65f
7fa0ecc34d90847ea6c41f58d05d6944856287c9
/bot_fb.py
c7d0edbbebd3c37a7c1f3cf42ff80c1bfde09b59
[]
no_license
eerm1/fb-bot
5c838164bcea8797873576d6b39b5849527ba49e
cbf2562922fa7510141e7e0162780224a00e1968
refs/heads/master
2022-10-05T00:00:59.747132
2020-06-04T17:51:12
2020-06-04T17:51:12
269,424,538
0
0
null
null
null
null
UTF-8
Python
false
false
2,218
py
import random from flask import Flask, request from pymessenger.bot import Bot import praw app = Flask(__name__) ACCESS_TOKEN = "EAAE8pCfCOWABAKOvZCggxQ4Bed6lHJMhlTjmQBvezqCPqcsf0Gws5gMskvXrjvsVUE4MdsZB59UD8uQ32F777xilKe10Xw1URi2bzZAWxOa3Bh8QR0mAERhHbeaAc2dHuuyMEvq4sZB5G70OtV6IVPw69clvPFHgz6aftEd43eMCtto2mpEoIMH...
[ "noreply@github.com" ]
noreply@github.com
2fa106d583cc79bc5e2e47d65b1a0202c51dbdb8
e23a4f57ce5474d468258e5e63b9e23fb6011188
/018_dictionaries/_exercises/dictionary_002.py
4563ea55f370405d300adbbf05e0be69fdea6790
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
4,958
py
# # -*- coding: utf-8 -*- # # # Проверить существование кточа можно с помощью оператора i_. Если ключ найден, то # # возвращается значение тrue, в противном случае - False. # d _ |"a" 1 "b" 2| # print "a" i_ d # Ключ существует # # True # print "c" i_ d # Ключ не существует # # False # # # Проверить, отсутствует ли к...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
d468c6d3bbbd51b91ce07d84be95be18dfcd75bc
1d702e82a041c024635015566c270c8c0a8119f2
/PPLASLR.py
c12c56f97bbdc88edd50f0743305708b84ea2309
[]
no_license
jeetshah1110/PPLASLR
3e902a78aabdcc8aecd2c2445c8ca39c405ec0a9
d4cf2136094e3fc881ebd3e87e79cf5e4c2f3312
refs/heads/master
2020-06-10T19:53:21.576032
2019-06-27T11:34:22
2019-06-27T11:34:22
193,729,087
1
0
null
null
null
null
UTF-8
Python
false
false
2,172
py
import psutil import urllib.request import smtplib import schedule from sys import * import time import os from email import encoders from email.mime.text import MIMEText from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart def is_connected(): try: urllib.request.urlopen("http://216...
[ "noreply@github.com" ]
noreply@github.com
e33e0e7f6e15bf8c8b9ede190f2c4c0e586ed95f
eda6e00b802bfd44840b1a3fe3db91add0191cfb
/B2Upload.py
0111ae6366431fb219d01c004ed9d97fd5907398
[]
no_license
fiott248/GameCard-Image-Generater
473b0f23b1b43e2e4c50364d67b1be7106de840d
ac37d12de2f2ede69be2a45a57fa717b56e5ad30
refs/heads/main
2023-04-18T03:40:53.386343
2021-05-11T07:19:09
2021-05-11T07:19:09
366,288,768
1
0
null
null
null
null
UTF-8
Python
false
false
435
py
from b2blaze import B2 b2 = B2(key_id='0005844062529630000000001', application_key='K000YQB8wtAH0aXyOg+5F49YjjpVCT4') bucketname = 'hashcards-test' bucket = b2.buckets.get(bucketname) files = bucket.files.all() def upload(filename): baseurl = "https://f000.backblazeb2.com/file/%s/%s" % (bucketname, filename) f...
[ "macbookpro@MacBooks-MacBook-Pro.local" ]
macbookpro@MacBooks-MacBook-Pro.local
62a850a7ef8dd5d6ae2de39d74521905b6cdf375
b605b3dade1aca21b634f37308ac120cce4c7315
/scripts/future_pred_asymmetric_with_bypass_diff_lossmultiple_power.py
01abb9f2d06ac46a9a7554eb96b5998ba8e8a1f7
[ "Apache-2.0" ]
permissive
dicarlolab/curiosity
8db6dc35b31c2426246a9dd816054720d4d5e021
469dc4a652b6a0f62a6ccb2ecc595f55fdeb5f6c
refs/heads/master
2020-04-05T18:55:42.852376
2016-07-20T14:10:56
2016-07-20T14:10:56
55,555,224
0
1
null
null
null
null
UTF-8
Python
false
false
1,629
py
""" image diffs loss multiple of 100 diff power of .5 """ import os import copy import numpy as np import curiosity.utils.base as base import curiosity.models.future_pred_asymmetric_with_bypass as modelsource import curiosity.datasources.images_futurediffs_and_actions as datasource dbname = 'threeworld_future_pred' ...
[ "dyamins@gmail.com" ]
dyamins@gmail.com
c20043a634140bbba97b8ea1985522fef8367c11
886a734c8e670ca9f5224de07cc72c4b540dfa80
/comparative_algorithms/LINE/ge/models/line.py
d73316da32e284b73dc7d0f425e0f47c7d5c6fc8
[]
no_license
TheHermitman/CDMSG
4b3fbb656462568667964cec4da6501a54c3d8a5
95f7f8fb4076aeada80924205aeb1188a1ff0836
refs/heads/main
2023-03-29T06:24:41.028120
2021-04-01T03:36:55
2021-04-01T03:36:55
352,583,377
0
1
null
2021-03-29T09:16:54
2021-03-29T09:16:53
null
UTF-8
Python
false
false
6,813
py
import math import random import numpy as np import tensorflow as tf from tensorflow.python.keras import backend as K from tensorflow.python.keras.layers import Embedding, Input, Lambda from tensorflow.python.keras.models import Model from ..alias import create_alias_table, alias_sample from ..utils import preprocess...
[ "xu_jiaquan@outlook.com" ]
xu_jiaquan@outlook.com
12ebcf942db94b34208f8ee84921e68b379daeac
34733b8a98ac7d3518e02efdc414b45a8c12c805
/openspeech/encoders/openspeech_encoder.py
f40b876bb33a4a53381586b7f9c514178c4ae5d0
[ "MIT", "LicenseRef-scancode-secret-labs-2011", "Unlicense", "HPND", "BSD-3-Clause", "ISC", "Apache-2.0", "BSD-2-Clause" ]
permissive
SoYoungCho/openspeech-1
4945427d1953f469f01e687dc5ac5c19779f864d
12eb432ea869288e097a5836236a6b658c40bb1b
refs/heads/main
2023-05-12T13:14:55.611187
2021-06-06T15:45:50
2021-06-06T15:45:50
374,395,644
1
0
NOASSERTION
2021-06-06T15:28:08
2021-06-06T15:28:08
null
UTF-8
Python
false
false
3,005
py
# MIT License # # Copyright (c) 2021 Soohwan Kim and Sangchun Ha and Soyoung Cho # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights...
[ "sooftware@Soohwanui-MacBookPro.local" ]
sooftware@Soohwanui-MacBookPro.local
af1c6770a46aa3b4521b3d86249ca1fad02b9893
c26bcf99d27624c67d4a717ababf14938815f3c7
/range/idxrange.py
0e94fd50e5c06cc95f1695870b6fc72e96272ada
[]
no_license
cchriste/idx_tools
8afabfaed2fb7f69bd38bc709d2928552bbaad4a
769c62564934174b9c92d5436d106282b03df2e2
refs/heads/master
2020-05-26T12:40:33.092760
2019-06-07T01:22:31
2019-06-07T01:22:31
188,235,718
0
0
null
null
null
null
UTF-8
Python
false
false
16,060
py
# # idxrange.py # # Incrementally computes range of fields within an idx volume. # #**************************************************** from OpenVisus import * from numpy import nditer import copy class IdxRange: """Incrementally computes the range of a given local or remote IDX volume. Allows user to specif...
[ "cam@sci.utah.edu" ]
cam@sci.utah.edu
d2a9df79d1a4999428036c87f913ddff245edd6f
36c8a9d1d975be4c0d58ce12ff4e430c8d72fdd0
/Image-open.py
c59736298a5a48caaede41a40a312bdbbdce4e00
[]
no_license
yiyisf/PIL
83003fea8cc0d050f57d38a9a793915fe9faf3b8
62fc6c114e7b2d5ec03a6a4a3afdaa7c3d8b9b1d
refs/heads/master
2020-04-11T05:59:32.132915
2016-09-15T07:15:24
2016-09-15T07:15:24
68,273,923
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
from PIL import Image import glob, os im = Image.open("image/001.jpg") print(im.format, im.size, im.mode) im.rotate(180).show() #向右旋转角度
[ "yiyi119120@gmail.com" ]
yiyi119120@gmail.com
6e614ae0c2fe4ccb3c5256b69e1c1e8f96872df0
c71c25127d4b3e55c594fd44fe929c19d8a68145
/carebox/wsgi.py
e14640ae21c6fd5ff132338040077fcd4632f815
[]
no_license
hye-na/carebox
a00a0089384400ffcc7c12dcc343ebd39843eee8
8c7c9881dfe70d32354a161c0123e9d94781e63e
refs/heads/master
2020-04-01T02:26:05.372080
2018-10-16T00:21:03
2018-10-16T00:21:03
152,778,844
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for carebox 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "hye.na.pa@gmail.com" ]
hye.na.pa@gmail.com
8caec6860f2c362341afdc156267820980f8967b
67ebc57c7eeedc34b67fd66c99522a24a62d3eec
/configs/vfnet/vfnetx_r2_101_fpn_mdconv_c3-c5_mstrain_59e_coco.py
43459377bf7a37ee3c1b6ef6357df523507193b6
[ "Apache-2.0" ]
permissive
zimoqingfeng/UMOP
f887578dda65e35afe31275e1c9e89bb6855b79d
16af670ee10b95015296d4a8da56a10fb7b89f72
refs/heads/master
2023-08-22T20:32:16.005224
2021-09-22T01:00:30
2021-09-22T01:00:30
405,804,461
33
4
null
null
null
null
UTF-8
Python
false
false
4,641
py
_base_ = './vfnet_r50_fpn_mdconv_c3-c5_mstrain_2x_coco.py' model = dict( backbone=dict( type='Res2Net', depth=101, scales=4, base_width=26, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), n...
[ "1072149130@qq.com" ]
1072149130@qq.com
57204b2cabe308d65380c5792bff11aa676e4551
620709eb65fabc46347898870a7cd407a6f2258a
/chatalert_django/chatalert/management/commands/add_locales.py
f3419b25d9e919f43f1fb000206c503d9709f531
[]
no_license
bulicny2/sb_chatalert
9e9452566181ce6e1643e0d7a41c20976a46a5d3
0bdbd06547c80339693c6ddd000ac8380809e512
refs/heads/master
2016-08-11T19:02:52.304800
2016-01-25T14:16:28
2016-01-25T14:16:28
50,361,176
0
0
null
2016-01-25T15:46:24
2016-01-25T15:46:23
null
UTF-8
Python
false
false
1,657
py
""" Management command to import a CSV file into the database, which specifies what city-state information each post has """ from __future__ import print_function import csv import datetime import logging import re import traceback from django.core.management.base import BaseCommand from django.db import transaction...
[ "zjmccord@gmail.com" ]
zjmccord@gmail.com
070ca4e3aae333ececde78ecfbb3fba935a48243
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-Security/PyObjCTest/test_oidscert.py
848ceba55a68b006ccafe4478ed07f76adfebb38
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
11,255
py
from PyObjCTools.TestSupport import * import Security class Testoidscert(TestCase): def test_unsuppported(self): self.assertFalse(hasattr(Security, "INTEL_X509V3_CERT_R08")) self.assertFalse(hasattr(Security, "INTEL_X509V3_CERT_R08_LENGTH")) self.assertFalse(hasattr(Security, "INTEL_X509V...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
b3fb9df97555fe69f2fbf2d33e969c5b792eb248
4138a934b3536290a1253613572826f20172908e
/natural.py
7f87fa26f5c125164ab7f44f947952ccd56b470d
[]
no_license
VISALI-220299/Visali
cd148bd852a2422ce06a836feef79e132a0e92a9
642b9efc28a5e00ea2007d4632d98e3cffc71224
refs/heads/master
2020-04-16T02:52:24.368458
2019-06-16T16:11:11
2019-06-16T16:11:11
165,211,668
0
1
null
null
null
null
UTF-8
Python
false
false
81
py
v=input() if(v>0): sum=0 while(v>0): sum=sum+v v=v-1 print(sum)
[ "noreply@github.com" ]
noreply@github.com
9aad26cb95a930236a922d5dd9ffbf6bb838af96
e9f161019da9282e41d8416b3a32476eb3990752
/Elements/window_elements.py
b623eb4d9822db3898e607ffe17ab2bf113e4f31
[]
no_license
eyetracker37/Kiosk
29f85177e8f9dd037efa0297a3e5de2c1db1556c
32311ff645ef4fb88fcd2e7b5cbe6f8dabef1dde
refs/heads/development
2022-11-12T06:28:32.291745
2018-04-27T21:09:38
2018-04-27T21:09:38
106,127,094
5
8
null
2022-10-25T03:14:31
2017-10-07T20:07:23
Python
UTF-8
Python
false
false
5,387
py
from Utils.logger import log import pygame import sys from pygame.locals import * from Utils import thread_manager import threading from Utils import config from Input import input_handler class UpdateThread(threading.Thread): def __init__(self, creator): self.is_running = False threading.Thread._...
[ "alecmichaelmiller@gmail.com" ]
alecmichaelmiller@gmail.com
6c4238d8e510bb0fecab8ec80bfdde6daf8afcfb
e486f64d444f8ab962ac2fb8b4e3fa767268fe06
/modules/mains/myunit.py
9a625aec4d30a4aad75442604f63fedb143badff
[]
no_license
takin0/takin_2
71f1d507d068dc0a011c0bb7f076c9576501539f
cb0a69dfea9c6b6e05e806eec01d5c06dc809b0a
refs/heads/main
2023-06-06T12:49:55.244996
2021-06-28T08:16:05
2021-06-28T08:16:05
377,347,504
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
#coding=utf-8 from os import path as opath from sys import path as spath from unittest import TestCase path_load_ini=opath.dirname(opath.dirname(opath.dirname(opath.realpath(__file__)))) path_load_ini=path_load_ini.replace('\\', '/') spath.append(path_load_ini) class MyTest(TestCase): @classmethod def s...
[ "1254881277@qq.com" ]
1254881277@qq.com
7e89226ff3da368cb2b0f2ad7926269f3528fd8b
c19ca6779f247572ac46c6f95327af2374135600
/offer/offer 16 leetcode 50 Pow(x, n).py
5a5e276821632a9217a1e3ef03892e43c6b6b71f
[]
no_license
clhchtcjj/Algorithm
aae9c90d945030707791d9a98d1312e4c07705f8
aec68ce90a9fbceaeb855efc2c83c047acbd53b5
refs/heads/master
2021-01-25T14:24:08.037204
2018-06-11T14:31:38
2018-06-11T14:31:38
123,695,313
5
0
null
null
null
null
UTF-8
Python
false
false
962
py
# -- coding: utf-8 -- __author__ = 'CLH' # 实现Pow(x, n) class Solution(object): def myPow(self, x, n): """ :type x: float :type n: int :rtype: float """ # 可以递归的计算 # 考虑指数为负数的情况 # 当指数为负的情况,考虑0 ans = 1.0 exponent = abs(n) if n < 0...
[ "15720622991@163.com" ]
15720622991@163.com
f84a0b96e9196741252c98d25e8b38f80dd9c2c4
ffcc69196daab1422e751144c06a28b30562ed52
/junior/file_backup/main.py
6cdc813ea40ea3fb425dbd33b6aadc241bcbcb23
[ "MIT" ]
permissive
Firekiss/python_learn
05691eef70be349effeb1ccef15d6a05d9e790f5
15922af566a08924834ff924982a36a65b724bbf
refs/heads/master
2021-02-11T19:53:10.448447
2020-05-15T05:29:09
2020-05-15T05:29:09
244,523,920
0
0
null
null
null
null
UTF-8
Python
false
false
1,961
py
""" 文件目录下文件资源备份 """ import os import os.path class BackUpFiles(object): def __init__(self, src, dist): self.src = src self.dist = dist def analyze_dist_dir(self): # 解析目标文件夹是否存在 如果不存在 则创建目标文件夹 print('开始解析目标文件夹') if not os.path.exists(self.dist): print('目标文件...
[ "1084024036@qq.com" ]
1084024036@qq.com
d0366cf7e1cf9ea5b49c6c3ca753740faac09148
8ced0f2ed899efe65892b998aac56ddf26190fe6
/learning_modules/Stage 1/vision_api.py
6153ce702e75e4b9b56694d3aa0a72146078b700
[]
no_license
sameerkapur/rari
66080f7eeb8fbe1e92485cbfc84f7bd1ac273e9a
e6bd2d2122eddb0925515c9a3e0dc8c77a9e9b78
refs/heads/master
2020-05-20T19:44:21.527598
2019-05-09T04:56:28
2019-05-09T04:56:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,874
py
import requests import timeit import base64 # the top secret key. This is a unique identifier that tells Google who is accessing the API key = "AIzaSyAYhg5B10ji-Dv0FglIg-Xx3LDx8pOyoRk" # the API wants the image to be encoded in a special format. This function converts your image to the special format. # Don't worry a...
[ "sahilkapur.a@gmail.com" ]
sahilkapur.a@gmail.com
044f3c0ffa5b6ff87ebf9d86dff4195a78162667
ccd5127867ef0f41c90bc2574632ff9827a14451
/day16_30 days of code.py
3ba5b79389a38cd68ea0acee8c209ef2718fa23d
[]
no_license
sekhar-madha/hacker_rank_python_practice_problems
eee8c23dba2bf68ffb2a0149919bfa39279dd547
0bf4f5ff261805f57dc8b84f21d442e8645f99ac
refs/heads/main
2023-08-15T16:30:24.609764
2021-10-19T19:15:40
2021-10-19T19:15:40
374,952,028
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
import math import os import random import re import sys S = input().strip() try: print (int(S)) except ValueError: print ("Bad String")
[ "noreply@github.com" ]
noreply@github.com
bb77ba5829b46af2e085ab307b7fb5a4937e8fd4
d7e4d46db1cfda7fb417ba4d185be0639d2d1280
/lib/analyze_results.py
0728baa0a3be9b858c3eba34b55c7673ec366a63
[]
no_license
enewe101/relational-nouns-LREC-2018
4f830c7dc129ce988bef486b3e393228bdee4cd5
d6d1689b9107401c12cb74e3a68dd75cda45266d
refs/heads/master
2021-09-14T07:45:13.386635
2018-05-10T04:14:47
2018-05-10T04:14:47
105,477,180
2
0
null
null
null
null
UTF-8
Python
false
false
570
py
from collections import Default import json import sys sys.path.join('..') from SETTINGS import DATA_DIR RESULTS_PATH = os.path.join( DATA_DIR, 'crowdflower', 'results-binary-comprehensive.json') def read_raw_results(results_path=RESULTS_PATH): d = [json.loads(l) for l in open(results_path)] def results_by_contr...
[ "edward.newell@gmail.com" ]
edward.newell@gmail.com
726c057cda6f86525dab1699893501795e97a053
099c35e1a4e62a23f402b1ab317d4da0ac257c82
/swiftcompiler.py
24bc564d4795255e54d0cf6007732ba836d8bbed
[]
no_license
lucasca73/SwiftStaticAnalyzer
06e6d40d1d29749ee81b50f477a5441109d2ca00
a9eccdb481b93351e21501c9e3213709fca6b502
refs/heads/master
2023-01-10T02:23:08.310208
2020-11-17T04:22:36
2020-11-17T04:22:36
310,174,508
3
0
null
null
null
null
UTF-8
Python
false
false
7,979
py
from ReferenceScope import ReferenceScope as Reference from ReferenceScope import ReferenceConnection as Connection from swiftkeywords import * import re def separateSymbol(symbols, separator): newSymbols = [] for breaks in symbols: dots = breaks.split(separator) last = 1 for d in dots...
[ "lucascostaa73@gmail.com" ]
lucascostaa73@gmail.com
ca381fe6215c027b9f45f19295eeee02549aaa23
8a93cede40f41aab274d1fdcc9fb1e3259cdb43e
/development/dpr-qa-test-pipline/main.py
8193d20189c8f14071f4a29c21dba3e7bde403f1
[]
no_license
MedBot-team/NaBot
2e74fe39b0d6a28a91a0044365ef02add5f685ca
3d3f896ca6694241e508f7fc14a91b7180d98b66
refs/heads/main
2023-08-27T22:41:51.410272
2021-10-11T13:38:12
2021-10-11T13:38:12
403,178,141
21
7
null
2021-10-06T13:05:10
2021-09-04T23:55:37
Jupyter Notebook
UTF-8
Python
false
false
5,557
py
import sys import argparse from dpr_qa_test import DPRTest def main(args): parser = argparse.ArgumentParser(description='To get arguments') parser.add_argument('--max_seq_lens', nargs='*', type=int, default=[256], ...
[ "ali.97.razmdideh@gmail.com" ]
ali.97.razmdideh@gmail.com
e557bcf32fce35a7de6c78be75bb238a6ce9ce11
86a904f19f480377ed4b13729023af70d0f7d49c
/bear/__init__.py
d5e1a2dc6e6d84061c8866e6ede2cc30e3613725
[ "MIT" ]
permissive
toxinu/bear
830fa26f7fb6eff4e6b7d1630759c274b4c73f4d
f1d36e61c87531162a70b2210def5d061b4a8ff6
refs/heads/master
2021-06-01T10:45:15.672376
2021-03-26T02:07:31
2021-03-26T02:07:31
111,761,279
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
# -*- coding: utf-8 -*- __version__ = "0.0.1" from .core import Bear
[ "toxinu@gmail.com" ]
toxinu@gmail.com
ef311d9e9356d6131e59395936f6eb296aa9194f
abe169ad4dd0a5fdc331c050fc8fda4d6a0d6846
/forms/forms.py
2a6417cb509da7341cfa7b919bd6f71c7bf2f140
[]
no_license
chernykovv/rcn-django
2190a89768f3fc369337255d1c7bc04fc5cbf36e
e7082855c324fb056bb5cecc06c0de4b6c3dd665
refs/heads/main
2023-03-01T08:35:34.403456
2021-02-09T23:44:31
2021-02-09T23:44:31
337,566,907
1
0
null
null
null
null
UTF-8
Python
false
false
4,590
py
from django import forms from models import ContactLead, ProposalRequest US_STATE_CHOICES = [ ('', '-- select --'), ('AL', 'Alabama'), ('AK', 'Alaska'), ('AZ', 'Arizona'), ('AR', 'Arkansas'), ('CA', 'California'), ('CO', 'Colorado'), ('CT', 'Connecticut'), ('DE', 'Delaware'), (...
[ "cherykovv@gmail.com" ]
cherykovv@gmail.com
baafcffb79a4754ebb63f51bf779270d4a8c85b6
1178c68d05d1528fac4d52a5476f01d11a4a7a77
/cylinder_pusher.py
7a1832d125b6b4ccca324a8ac5dbfa3f9992325e
[]
no_license
PhoenixRobotik/mecanique
4125296464f251a61f4321c9f4920b6c3fb9aa56
6710a885beeb2174434d738a845954c7e6010f61
refs/heads/master
2021-01-22T23:21:06.463449
2017-05-15T15:14:26
2017-05-15T15:14:26
85,628,814
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
from solid import * from solid.utils import * SEGMENTS=50 thickness=3 start_radius=21/2 end_radius=1 final_angle=90 final_center_to_center_len=30 step = 1 d = cylinder(start_radius,thickness) for i in frange(1, final_angle, step): d += rotate([0,0,i]) ( translate([i/final_angle*final_center_to_center_len,0,0]) ...
[ "larchuto@users.noreply.github.com" ]
larchuto@users.noreply.github.com
cc64dac9d55e025f527829466ebdb822387cdfaa
bd5bc7146f852fc3bddbfa0ad818911e2f1b379a
/binding/python/example/src/execution_management_simple_subscription/main.py
fb8b2f8bf5405e949ce1731d4ab055f71ac74b6b
[ "MIT" ]
permissive
CosmicSharts/ccapi
ac6c8ffc43973081e77ae33d433ed8ef1cdfdefc
8a1a89dcaf41b5a23b317efb492b6d7665b125c9
refs/heads/master
2023-08-23T17:06:50.119893
2021-10-30T02:07:07
2021-10-30T02:07:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
import os import sys import time from ccapi import EventHandler, SessionOptions, SessionConfigs, Session, Subscription, Request, Event, Message class MyEventHandler(EventHandler): def __init__(self): super().__init__() def processEvent(self, event: Event, session: Session) -> bool: if event.getT...
[ "admin@cryptochassis.com" ]
admin@cryptochassis.com
6c25a7478924413cc1ed083fff609fdc89c69d33
fbd13977cf66a16d0e0eadd6d75ccdbb787c0008
/pong_score.py
48d54700b2c61ed68d0ea10a13f96572ffaddf0b
[]
no_license
pramodsingh007/Pong-Game
934665983564de4abdc1148842e5a6f9b34fc5b3
8983bce3c14386a86236f155657bf71305dc3aab
refs/heads/main
2023-08-22T03:28:25.583254
2021-10-30T12:01:20
2021-10-30T12:01:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
from turtle import Turtle class Scoreboard(Turtle): def __init__(self): super().__init__() self.color("white") self.hideturtle() self.penup() self.goto(0,250) self.p1_score = 0 self.p2_score = 0 self.check_score() def check...
[ "noreply@github.com" ]
noreply@github.com
5185ae361d901346d73a7cb998e7b6d406662ddc
c33496682b760deac61fedecba3e82ce4e41dfde
/scripts/e240.py
0d4ee2ac36fae167814fac3924acaa0790845cd8
[ "MIT" ]
permissive
ferasalsaab/neuralnilm_prototype
c5e9cde02d475ac499b15fea62143e76adff07d0
2119292e7d5c8a137797ad3c9abf9f37e7f749af
refs/heads/master
2020-04-16T14:38:03.615279
2018-01-29T15:30:43
2018-01-29T15:30:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,994
py
from __future__ import print_function, division import matplotlib matplotlib.use('Agg') # Must be before importing matplotlib.pyplot or pylab! from neuralnilm import Net, RealApplianceSource, BLSTMLayer, DimshuffleLayer from lasagne.nonlinearities import sigmoid, rectify from lasagne.objectives import crossentropy, mse...
[ "jack-list@xlk.org.uk" ]
jack-list@xlk.org.uk
fc22568be3ae18f6b8e60464dd7b066acdf91d7c
15be3e2bb3249cca941e3f8e85b8cf11979b6ea1
/py/ex8.py
f2feb4deb4b6c4f9a39cded766904baa172ccc3d
[]
no_license
lzc1017/lzc
87f5a5fcc2503f4598fcf5189f98fdd15841df0c
b2a48083af5362a1942caef7a108dae40f20e4a1
refs/heads/master
2020-03-24T09:42:15.437203
2018-07-28T13:31:05
2018-07-28T13:31:05
142,635,368
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
textfile=raw_input("file name:") text=open(textfile) print "content:\n" print text.read()
[ "18919099610@163.com" ]
18919099610@163.com
7a214f965415631e13f15fdc957a6297da5a6e33
8657ac4e74f93ba9c0246e2ccd7f383082ae4ca1
/.direnv/python-3.5.1/bin/easy_install-3.5
a1f9ace62d4e67f99d7aacecbc30c1e47490b813
[]
no_license
njberejan/ultimate-pig
1c5c3fc32bfa5591d843bf5acd9c7f2bfe622676
7b377146d58f262796c84b6cfd70ab16550d4d68
refs/heads/master
2021-01-01T04:26:09.039593
2016-04-24T19:17:41
2016-04-24T19:17:41
56,177,879
0
0
null
null
null
null
UTF-8
Python
false
false
298
5
#!/Users/Nick/documents/TIYProjects/ultimate-pig/.direnv/python-3.5.1/bin/python3.5 # -*- 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())
[ "njberejan@gmail.com" ]
njberejan@gmail.com
987199ce49187b0bf7a1f284f04c020839d7f1e8
d425fdeb9c1e89ffda88e8bc0b645429b829d191
/ai.py
c7942dd34376fc41cc3c1c06894a3ab787007c6d
[]
no_license
Hjay-981103/gittest
056859a55931d33247b5433d8b026806f9b0a5f2
469825a6ecadf851c207bfa2bcea8ae5f7f5330a
refs/heads/master
2020-08-16T20:25:56.778658
2019-10-16T13:35:22
2019-10-16T13:35:22
215,548,602
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
#! /usr/bin/python # --*-- coding:utf8 --*-- print('hello world')
[ "13781147317@163.com" ]
13781147317@163.com
219b7c0638d869e0297159912a54bfc759062477
8a684fe634c2739593be77e171ce0b9571207488
/contrib/integration/session/example/views.py
0a1a52a00338fff81b70665b1deb1c979fef4cac
[ "MIT" ]
permissive
artyom-beilis/cppcms
350165aa8f0a1f502526b01a12cfe8b8ba909c0a
a11e9d4c2184c90b4c396e2881361fe4d833adcd
refs/heads/master
2023-09-03T19:11:08.554894
2023-05-17T03:49:47
2023-05-17T03:49:47
83,480,120
451
145
NOASSERTION
2023-07-09T16:27:45
2017-02-28T21:18:15
C++
UTF-8
Python
false
false
634
py
from django.http import HttpResponse from django.conf import settings import cppcms # # Create the session pool - note it is thread safe and should be one per projects # Provide a path to configuration file # pool=cppcms.SessionPool(settings.BASE_DIR + '/mysite/cppcms-config.js') def home(request): # Get session obje...
[ "artyomtnk@yahoo.com" ]
artyomtnk@yahoo.com
b7199e8ee81caf7c8bad82ccf3379f9aa78294f1
cd8fdbd55d20a57d88ec1730f139a9de02f59012
/build/fmauch_universal_robot/ur_driver/catkin_generated/pkg.develspace.context.pc.py
42e79d60ac020283a16e50d9acc9da350694cbe4
[]
no_license
paul-chris/VisualServoing
607e30cdbd2f656e2924580a0822cdd86fc3504b
dddd0cc2a8d52be3394de603a0d355a04715e523
refs/heads/master
2023-03-27T20:06:29.044391
2020-10-16T14:43:23
2020-10-16T14:43:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/studi/catkin_ws/devel/include".split(';') if "/home/studi/catkin_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "dynamic_reconfigure".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX ...
[ "paul.jan.rupprecht@gmail.com" ]
paul.jan.rupprecht@gmail.com
915e130b56d5f9bc7e2aa92dfd7949f067e625a6
7a6152a9f0df09a69605130c236e0280d670781c
/analyze/urls.py
c8a59167254ce413c14ce3cb4ab69e33b0298bb6
[]
no_license
audwns227/URL_FARM
a1c31f0ae7def0e0ac796f5b750586b3aa76d28e
80864fabf7b536367fc7856ef59f92edbcd59e20
refs/heads/main
2023-09-03T12:27:25.047089
2021-11-19T22:38:58
2021-11-19T22:38:58
427,626,404
0
0
null
2021-11-13T09:52:32
2021-11-13T09:52:31
null
UTF-8
Python
false
false
226
py
from django.urls import path, include from .views import * app_name="analyze" urlpatterns = [ path('crawl',crawl,name="crawl"), path('analyze',analyze,name="analyze"), path('modify',modify,name="modify"), ]
[ "taegeom0601@gmail.com" ]
taegeom0601@gmail.com
be5d17d61c2ffb7c47f6328b101ff4469f32c018
661ee30b27b2893930d4a8db1db0c08538653dc5
/standalone_django_project/settings.py
2f4519f5c0963bc3708692a4867f3e026d8bddb8
[ "BSD-3-Clause" ]
permissive
350dotorg/aktivator
fc67aed167fb204ff327448a86c37d69ef566964
bb37cc50212a1797315c99037495a83bc9ff2b01
refs/heads/master
2016-09-09T21:51:23.371940
2014-07-11T13:33:19
2014-07-11T13:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,121
py
import os PROJECT_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) ROOT_URLCONF = 'standalone_django_project.urls' WSGI_APPLICATION = 'standalone_django_project.wsgi.application' SITE_ID = 1 SITE_NAME = os.environ.get("SITE_NAME") SITE_DOMAIN = os.environ['SITE_DOMAIN'] HEROKU_DOMAIN = os.environ.ge...
[ "ethan.jucovy@gmail.com" ]
ethan.jucovy@gmail.com
ab205cc24469c62fcd2c95af24c2d79ba9e2df0b
f28abedae513904d31b8aeec73b687b178634ae5
/timer.py
a322a1b05ecf76ede376dc1d86c0baa8671a368e
[]
no_license
konlanz/Final_project
6308bdbcd532d16f346c9aa9b5cec0caba6b2127
adf8f1f9b28871929b21e9c52d7d3bbda4c3ee8d
refs/heads/master
2023-03-03T20:34:02.306811
2020-02-20T03:52:19
2020-02-20T03:52:19
198,207,070
1
0
null
2023-02-22T09:23:05
2019-07-22T11:09:26
HTML
UTF-8
Python
false
false
153
py
from datetime import datetime start=datetime.now() #Statements count = 0 while count <= 7: count += 1 stop = datetime.now() print (stop-start)
[ "konlanmikpekoah.km@outlook.com" ]
konlanmikpekoah.km@outlook.com
c38a22db05427b0493e281f998d27db898e6738c
d771e2173ec0b84f28a4bec80dd4dedaf6c48021
/rest/app.py
34b7c9838c27e868624f819a2e245659df14e1eb
[ "Apache-2.0" ]
permissive
markmcdowall/mg-rest-auth-test
8675abdb63b314aae3e3cee1124354a9d3713120
1ce3027480c9846187f0a22afcdbdbab6d3ef2eb
refs/heads/master
2021-01-20T01:17:59.616252
2017-10-26T16:04:02
2017-10-26T16:04:02
101,283,488
0
0
null
2017-10-26T16:04:03
2017-08-24T10:32:08
Python
UTF-8
Python
false
false
1,510
py
""" .. See the NOTICE file distributed with this work for additional information regarding copyright ownership. 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....
[ "mark.mcdowall@gmail.com" ]
mark.mcdowall@gmail.com
a2b165fab8d6e4f886c3ec1ffd2c2aa7e4488b98
56cce3fee2e3d69d60958eb2aacc4f65fc3d2230
/tests/test_directed_graph.py
c8ba0e69667c52f75f1566337eabb47ba0a6a063
[ "BSD-3-Clause" ]
permissive
nokia/PyBGL
52c2f175d1dbccb15519f8a16de141845d0abaf3
707f2df32ede7d9a992ea217a4791da34f13e138
refs/heads/master
2023-08-08T04:46:24.931627
2023-08-03T16:31:35
2023-08-03T16:31:35
148,536,169
12
3
BSD-3-Clause
2023-08-03T16:31:36
2018-09-12T20:11:36
Python
UTF-8
Python
false
false
2,434
py
#!/usr/bin/env pytest-3 # -*- coding: utf-8 -*- from pybgl.graph import * (u, v, w) = (0, 1, 2) def make_g1() -> DirectedGraph: g1 = DirectedGraph() add_vertex(g1) # u add_vertex(g1) # v add_vertex(g1) # w return g1 def make_g2() -> DirectedGraph: g2 = make_g1() add_edge(u, v, g2) ...
[ "marc-olivier.buob@nokia-bell-labs.com" ]
marc-olivier.buob@nokia-bell-labs.com
c4582758a13e55eae8a875cad1cb5e2add783683
38b4b026738eef95a614a4bf6bb8e71b470d5ea0
/konecta2.wsgi
e29755be42cc9cfeac472a89c4d00f5f0122edee
[]
no_license
franlu/k2
846209547fae160e1d0334f031d2025cdaccf541
1027fa796314c162a05c3178d16baa35e0823e67
refs/heads/master
2022-12-03T16:30:54.510383
2019-07-22T10:03:48
2019-07-22T10:03:48
17,511,472
0
0
null
2022-11-22T00:25:38
2014-03-07T11:01:31
HTML
UTF-8
Python
false
false
210
wsgi
import os, sys sys.path.append('/home/brian/git/konecta2django/') os.environ['DJANGO_SETTINGS_MODULE']='konecta2.settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler()
[ "brianbass6900@gmail.com" ]
brianbass6900@gmail.com
ade23c9de498b9ae952d2bf60b0c5349f63bcba9
9da952c7cf8a6694d82d54cc2670eb281d38751d
/PyPoll/main.py
5431ca0e59af39fa57c24bc26eb2bd0974122c38
[]
no_license
skcullen/python-challenge
3adbf7ffc3c4575c14c0ff3631612aab8bd910c2
d0748f24f50b68371ea19afd3fcc1d818b8c4a13
refs/heads/main
2023-08-29T01:59:26.648489
2021-10-03T02:00:14
2021-10-03T02:00:14
411,747,953
0
0
null
null
null
null
UTF-8
Python
false
false
4,720
py
# import needed modules import os import csv #create empty lists to store the data voters = [] candidatevote = [] canonevote = [] cantwovote = [] canthreevote = [] canfourvote = [] candidates = [] percentlist = [] countlist = [] #create path to needed data file csvpath = os.path.join('Resources','election_data.csv') ...
[ "skcullen3.0@gmail.com" ]
skcullen3.0@gmail.com
49bd511fe7a5be785b1fac93346cc7aba84e9bd6
546848312bae53be435b1ad52219898f2c2f8da5
/5. Menghasilkan Tipe Visualisasi Data yang Tepat/2. Part2/2. membuat bar dan pie chart.py
464cdcd5b1dc4e8a19d555cb584ea09f2de2a77e
[]
no_license
ErsanSam/Data-Analyst-Career-Track
545388d224d5d2251305e2333d9d7df0b974f5c6
0bdfb0f8b6b441c522c38558f1900e681925bacb
refs/heads/master
2023-07-08T04:44:41.151983
2021-08-15T02:20:50
2021-08-15T02:20:50
391,846,355
0
0
null
null
null
null
UTF-8
Python
false
false
3,074
py
# Import library import datetime import pandas as pd import matplotlib.pyplot as plt # Baca dataset dataset = pd.read_csv('retail_raw_reduced.csv') # Buat kolom baru yang bertipe datetime dalam format '%Y-%m' dataset['order_month'] = dataset['order_date'].apply(lambda x: datetime.datetime.strptime(x, "%Y-%m-%d").strfti...
[ "fernandoersan28@gmail.com" ]
fernandoersan28@gmail.com
96a16b9351a209200123b2d892c8e48ed55f7fe9
78d7d7aeb78a8cea6d0e10b89fc4aa6c46c95227
/2569.py
85dab1e43ac70617d702eec9863e9e8dff8536ec
[]
no_license
GenryEden/kpolyakovName
97db13ef93061a8c2afc6cc5acd91337f79063f1
c5d7f631ae7ec8770e56170574b82ea2b7d8a4d9
refs/heads/master
2023-05-23T21:22:51.983756
2021-06-21T08:56:49
2021-06-21T08:56:49
350,466,773
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
def getDels(x): for i in range(1, x+1): if x % i == 0: yield i for x in range(180131, 180179): dels = list(getDels(x)) if len(dels) == 6: print(dels[-2], dels[-1])
[ "a926788@gmail.com" ]
a926788@gmail.com
1322c3248b9ce3d2ab9caded7adaf73a004cd69c
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/exist.py
49bd057ec8f18667a6b8b8648441b05b46ed0af4
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
3,005
py
ii = [('BentJDO2.py', 64), ('EmerRN.py', 15), ('CookGHP3.py', 57), ('LyelCPG2.py', 68), ('MarrFDI.py', 18), ('RogePAV2.py', 137), ('CoolWHM2.py', 52), ('KembFFF.py', 1), ('GodwWSL2.py', 95), ('ChanWS.py', 20), ('RogePAV.py', 143), ('SadlMLP.py', 284), ('FerrSDO3.py', 10), ('WilbRLW.py', 16), ('WilbRLW4.py', 7), ('RennJ...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
3f5e520f5bb4d63d2d4895559f4e594dbf8698dc
91bd6490499db198e9aa3c54d93d1e7188ef941d
/largest_prime_palindrome.py
d08bb332a23c27e15d45f75786e8c0d2da089182
[]
no_license
cforan99/challenges
b83fc7fadbbfe113350e9a1e12b631fa60056413
ff94cc68d500eff4eb5b3728c69ebf8b229d167b
refs/heads/master
2021-01-10T13:37:42.849800
2016-01-19T21:36:41
2016-01-19T21:36:41
47,517,862
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
def palindrome(num): string = str(num) i = 0 while i < len(string)-1: end = string[-1] if string[i] != end: return False else: string = string[:-1] i += 1 return True def print_primes(): primes = [2, 3] for i in range(4, 1001): ...
[ "cforan99@gmail.com" ]
cforan99@gmail.com
524bd817b62e6a0187f1f618fe1117d617a957ca
0b30e117d5f8b19120636773dbad9d956d9112a5
/python/ns/bridge/io/SimReader.py
b37ca61d8ed7f964456132b4f8bc70a494951563
[ "MIT" ]
permissive
jonike/massiveImporter
201d2d4715670163ac3ed0522b485ddfa474be1c
2772d1ce530041007d00d8ba4274dccdda7b8900
refs/heads/master
2021-05-08T18:04:17.627726
2009-04-11T22:26:45
2009-04-11T22:26:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,357
py
# The MIT License # # Copyright (c) 2008 James Piechota # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify...
[ "jamespiechota@8cea59ca-044a-0410-a844-b2e6fe375e2e" ]
jamespiechota@8cea59ca-044a-0410-a844-b2e6fe375e2e
075475b0e548001de86cb39628d3cf0dc138ced5
358b4d837c6178284d974e474f294dd79574ad64
/notebooks/image_audio.py
d6209ddf9a5893f17a6c0895591f4ec8424a491d
[]
no_license
axqs/ipynb_online
f478ce8b96a8e79f5716448a9db65962dd85875f
1e1d6d1e67f807497847702445d510632f8bd193
refs/heads/master
2020-05-04T01:31:24.859079
2019-11-02T11:12:43
2019-11-02T11:12:43
178,906,621
0
0
null
null
null
null
UTF-8
Python
false
false
1,609
py
import matplotlib.pyplot as plt import numpy as np import skimage.io, skimage.color def load_image_colour(fname): img = skimage.io.imread(fname) return img.astype(np.float64)/255.0 def load_image_gray(fname): img = skimage.color.rgb2gray(skimage.io.imread(fname)) return img.astype(np.float...
[ "qiufei@me.com" ]
qiufei@me.com
aed61c0eda1210a477c70bfb73244ce07ed5e7a4
2c5bd933813b173aa69d9a829f530f7520509ba3
/4.python_接口自动化_excel中写用例/tools/HTMLTestRunner_cn.py
171e17747cd9d33e799a4b41bc5f3e831e6a7f4a
[]
no_license
ferry-luo/AutoTest
b4193d48cc7908edebf583d8700aa4c14e6c8823
e4212743704d50b2834fd0e28f2cf1e69d6dabef
refs/heads/main
2022-12-27T00:21:26.506484
2020-10-18T01:02:01
2020-10-18T01:02:01
304,996,235
0
0
null
null
null
null
UTF-8
Python
false
false
89,913
py
#-*- coding: utf-8 -*- """ A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the result at a glance. The simplest way to use this is to invoke its main method. E.g. import unittest import HTMLTestRunner ... define your tests ... if __name__ == '__main__'...
[ "1021164925@qq.com" ]
1021164925@qq.com
5e2d9e53c5300c3f446558b3ca275cbf8bdae43f
5cb3b2d2fe6cf136296ed206f021061774edf305
/apps/hixny/apps.py
eb4ffc4ce600680adf7666ed49ec759ef350057a
[ "Apache-2.0" ]
permissive
whytheplatypus/sharemyhealth
002e6a4b3633d8f5aaedbd9add0b9109723d7e5d
79ac694686ebd7a9a121741e473afbd35f25cea5
refs/heads/master
2020-03-30T12:59:42.841594
2019-05-01T19:01:30
2019-05-01T19:01:30
151,251,593
0
0
Apache-2.0
2018-10-02T12:35:16
2018-10-02T12:35:15
null
UTF-8
Python
false
false
85
py
from django.apps import AppConfig class HixnyConfig(AppConfig): name = 'hixny'
[ "aviars@videntity.com" ]
aviars@videntity.com
0d77b44e74a2043b4a3a1d469b999cc40e832381
7e30cc6d4e76bcf3232566f4bf912b322e1083ba
/Question_10.py
d3d743d9ace40bc915d052ca8c32baac94e73333
[]
no_license
GracelynHill/Rosalind-Answers
18b582c8a49ee43ac5a751ec489d7876c11650ad
614b1a6ba5adba35f756aca96a32291dd1b8afd4
refs/heads/main
2023-04-01T08:42:47.958409
2021-04-11T13:34:18
2021-04-11T13:34:18
330,181,636
0
0
null
null
null
null
UTF-8
Python
false
false
9,895
py
RNAseq = ('AUGUUCGACCUAAGCAGGUACGACUGGGUUCCAAAUUUGCGAUGGAAGAGCAAAAUUAAUCUACAGUAUGCUAGCGUAGGUAUGGUUCGUAAGACCUGUCCUCGUUUGAUCCCUCGCAAAGGAAUAUUACGUCCGGUACGGAACCAUGCGCAAUGUCUGCAACGCACCGGGCGAGAUCUCGCUACAACGGUCCGGUUACAGUCGUGGUGGAACAUCCCAGUUAGAAGACGUAGGCAGUCGAAAGCUAAGACAAGCUCUCUUGCGCGUAUACAUCCUUCACCCGGGCCACUCGGUCCGAUCUCCACGGUG...
[ "noreply@github.com" ]
noreply@github.com
ab49db12e1f1444e1718d5350423cfb895f391ae
50e81c2e7b5bc8e8cf31ecedc271e615e896cc99
/venv/Scripts/pip3-script.py
575c59fa18e56297377286d746fcdc15eb776741
[]
no_license
Anupreet1299/practice
1faec9e1658b7d396ebd3360c1f29a33a612f7eb
23d269ad8af63bf08cb5322ba99c79812c488308
refs/heads/master
2020-06-02T09:51:48.340194
2019-06-10T07:19:19
2019-06-10T07:19:19
191,119,843
1
0
null
null
null
null
UTF-8
Python
false
false
413
py
#!C:\Users\Dell\PycharmProjects\practice\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[...
[ "anupreet1299@gmail.com" ]
anupreet1299@gmail.com
15757fc9041b5540642b8de5014ec2f72c2ea070
60659a7f90b078f77bb450e976c9161404e89002
/data_utils.py
94bc15a0bc0da012bd59c56f2ea2cea58acbc9a3
[ "BSD-3-Clause" ]
permissive
nicojahn/EPFD-pipeline
6bbecff05559ea1da8fbe395aa3d5dcee4c2d4a7
1d2288be6087ab2462be5556c3f12f6265faec29
refs/heads/main
2023-08-27T05:46:41.251448
2021-10-21T00:26:38
2021-10-21T00:26:38
380,445,455
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
import matplotlib.pyplot as plt import numpy as np def read_image(path, scale=True): img = plt.imread(path) if scale: return np.uint8(img*255) return img import cv2 def scale_image(image, scale): img = cv2.resize(image, (0,0), fx=scale, fy=scale, interpolation = cv2.INTER_NEAREST) return ...
[ "dev@nicojahn.com" ]
dev@nicojahn.com
9d995f3d206d6831f1d5324f3cf2a42613c66e8c
8021f835426c5db8ed9b1763a2b71cb8f94a3357
/scripts/forage_tracer.py
bcec97892278a7afaa1faa49bde095f421852704
[ "BSD-3-Clause" ]
permissive
natcap/rangeland_production
3859bcf3042bda0d7a64df426aceaaa0a5a8dfe1
89acd25cb90c2bd42f55973d7d22b294c80dfc1a
refs/heads/develop
2022-12-23T17:30:53.660595
2021-04-11T01:28:32
2021-04-11T01:28:32
223,495,475
7
8
NOASSERTION
2022-12-09T04:35:37
2019-11-22T22:16:47
Python
UTF-8
Python
false
false
2,492
py
"""Tracer code for Forage model development.""" import os import natcap.invest.forage import logging logging.basicConfig(level=logging.DEBUG) LOGGER = logging.getLogger('forage_tracer') POSSIBLE_DROPBOX_LOCATIONS = [ r'D:\Dropbox', r'C:\Users\Rich\Dropbox', r'C:\Users\rpsharp\Dropbox', r...
[ "richpsharp@gmail.com" ]
richpsharp@gmail.com
5843aa1d3b94d05dee2a86e3d7ce0a975617d975
f7f9e4ee29c4c1b30cbca7f6c8eb31c2617c7d9b
/ans.py
4c3f5c26db8929b548a1e0b3985f2db719f824d5
[]
no_license
abhiy/Textbook-RSA
605df360e5043585e4732e8d66dd074121a2365b
ffa51205f1dd54ecfdf158e2040e8b95e9cf69c0
refs/heads/master
2021-07-21T20:20:05.486270
2017-10-31T07:07:02
2017-10-31T07:07:02
108,958,152
1
0
null
null
null
null
UTF-8
Python
false
false
948
py
import sys C1 = int("481526a435772e8c9426a76eab9733bd1a56c8edb15f1431fe8f48734c9b4a1fcdef686e24695ae622bcad76cb94f328a0102b47117b509bcf2086f33a2d12da67016629beb5b17bfad4d8e703211bb508eea588ed565cc00785555717c489b31cdb433be3a37e3462a714d57ff89e61df6e3266374fbb6e7214f41463ad23f5", 16) C2 = int("830fba3a7606b09aa82b9d21...
[ "ay2412@columbia.edu" ]
ay2412@columbia.edu
42b78dceab23e4ffb753bc7e07b1b91e276e9a59
8195e6ea99ee441ba2c23dd9dba7ceecfece37b7
/rev2/cifar10/generate_gs_pgd.py
076cd5ccb813b81cff16bd5dbf4928328bc94526
[]
no_license
msglbqbqb/adv2
f2693576dd15c73c1b0322a0bf75972a75e97f70
e3472df42197fe6dbe035412d43a9205ede880c2
refs/heads/main
2023-06-03T05:31:02.820935
2021-06-17T16:06:59
2021-06-17T16:06:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,612
py
#!/usr/bin/env python import argparse import numpy as np import torch import torch.nn as nn from rev2.cifar10.model_utils import resnet50, CIFAR10_RESNET50_CKPT_PATH from rev2.gs.generate_gs import generate_gs from rev2.cifar10.data_utils import cifar10_normalize from rev2.cifar10.generate_gs_benign import cifar10_re...
[ "ting@tings-imac.lan" ]
ting@tings-imac.lan
84fc0206b93c8c02638554208bc1f6d0101b054b
3801681c92f76cf88d4c650eb2841c1ad312d1e2
/app.py
f41c531c8ea556fe3f56ed19fd5fd87baea36c4b
[]
no_license
priyanshujain31/rtu-dip
3afa6eba780fe1709c52f94e6ecf5b0fec96c7c1
1ad098e5a58691f2f435d08d814df28b04f94b3a
refs/heads/main
2023-06-06T22:15:40.290423
2021-07-19T07:01:41
2021-07-19T07:01:41
387,324,670
0
0
null
null
null
null
UTF-8
Python
false
false
1,993
py
import streamlit as st from PIL import Image import pickle import numpy as np import matplotlib.pyplot as plt import pandas as pd import tensorflow as tf from keras.preprocessing import image import os from werkzeug.utils import secure_filename st.set_option('deprecation.showfileUploaderEncoding', False) from keras.mo...
[ "noreply@github.com" ]
noreply@github.com
0c60854211cd60664a2e307a739ad862f75f527b
1eb98e1605507f7ca400f4b90d37b6124d00abc3
/tensorflow/lib/python3.4/sre_constants.py
115d5b2fd9fd3df34080c0f2566f6a199d817a2c
[]
no_license
arcoyk/ml
4519c4ef95bb207feb642a4201bb00f035d25d0a
9b67d799552ea854f248af311918fb30aca8d48a
refs/heads/master
2022-10-21T22:15:34.967709
2017-08-25T15:29:32
2017-08-25T15:29:32
84,820,976
1
1
null
2022-10-12T18:44:02
2017-03-13T11:53:52
Python
UTF-8
Python
false
false
73
py
/Users/yui/.pyenv/versions/anaconda3-2.0.1/lib/python3.4/sre_constants.py
[ "yui@racoon.local" ]
yui@racoon.local
869ddf4af29bfa56b7d1009c34a2ae9c8f7b233a
e42ede909cfbd0f31287eff2d3889478cdb626d6
/app/admin/views.py
ca4a7838c2bf800d12346c98a62052b9af268b73
[]
no_license
eriansha/dream-team-project
02ea659d3c1f43074484579e8910ecfe31e00fe5
08faaf55fb275426c411ae4554a6ddaff48f603b
refs/heads/master
2020-04-18T17:13:34.468975
2019-01-26T05:07:55
2019-01-26T05:07:55
167,650,342
0
0
null
null
null
null
UTF-8
Python
false
false
6,875
py
from flask import abort, flash, redirect, render_template, url_for from flask_login import current_user, login_required from . import admin from .forms import DepartmentForm, RoleForm, EmployeeAssignForm from .. import db from ..models import Department, Role, Employee def check_admin(): """ Prevent non-admi...
[ "putra.ivan90@gmail.com" ]
putra.ivan90@gmail.com
fac1370427122efedc91019afd32e3d4c7c4a48a
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-4750.py
61e596ad7605038272c3423838a093b5fb059e38
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,755
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
76039048f8f9118dc8a43b1b89d5b1708bb59cde
d040d37233a080b565383b443bfb775cf26f7087
/venv/main.py
34d85338aa8647f54eaed9814615cc9162a376c8
[]
no_license
ErickMrtins/feriados
37713f45736727a137549133af36ef8f6837e2b8
e5dc86dc0287add3911c90fc52574f531542d1a6
refs/heads/master
2020-06-28T01:52:46.216399
2019-08-02T12:06:03
2019-08-02T12:06:03
200,111,594
0
0
null
null
null
null
UTF-8
Python
false
false
2,191
py
import requests from bs4 import BeautifulSoup from datetime import datetime import pandas as pd import numpy as np ''' Lista com os nomes das cidades que deseja recuperar os feriados. ''' cidades = ['curitiba-pr', 'colombo-pr', 'londrina-pr', 'americana-sp', 'piracicaba-sp', 'guarulhos-sp', 'campinas-s...
[ "suporte@diprotec.com.br" ]
suporte@diprotec.com.br
5266c60ad307613022aa2e46ebc642848e71acdb
e2e600fce4c344674276cc5ecea739d1fc347ac3
/ex6.py
7b767232fad268257ba96928d69011ebac4cf009
[]
no_license
saikrishna9915/python101
b20bb754715eb46e082b9c83dd4894a95eff29fc
2567eb850b1cce72629fb6c4680befb208991498
refs/heads/master
2020-03-22T02:49:24.332588
2018-07-11T05:03:05
2018-07-11T05:03:05
139,395,286
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
nijncuhwwbcjcmnsdichnsdkc uhsffbcisfncuhhfbQ
[ "vamsi.sret@gmail.com" ]
vamsi.sret@gmail.com
c193d0fba3e78755bc34752338563b4ea2fe3a1d
6d8a5d523fa525c9fbc2061f9952b1f0306ecc18
/fc_community/fcuser/migrations/0001_initial.py
08a0ee086095ba493675d0a036b57ff7dbb776ee
[]
no_license
yonghwankim-dev/DjangoFramework_Study
561b68846abcc5f54f5c84d1829bedcb99997efe
bf8d89ca38113a19647682664e0c8c8509359604
refs/heads/master
2023-01-09T05:45:26.521288
2020-11-08T08:52:10
2020-11-08T08:52:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
# Generated by Django 3.1.1 on 2020-10-03 06:26 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Fcuser', fields=[ ('id', models.AutoField(a...
[ "dragonbead95@naver.com" ]
dragonbead95@naver.com
c89449e9d8e482494c12bfe7bc8ea37ebb1327d9
cd1d5b7fc9e01f093d6c652876cab24aa8fe7ce6
/nodes/pub_and_sub_node.py
54a5df4c1707e7b49194d6ae34b6a4bac1cbb7e1
[]
no_license
birlrobotics/gps_dnn_policy_training_and_testing_pkg
1dd2c4b241af4e8d432d61f4fcfa59c1a7318275
cba2b03e9cc096cb2b7133074640bb503a3e326c
refs/heads/master
2020-07-04T09:15:46.366874
2019-08-14T21:34:58
2019-08-14T21:34:58
202,237,315
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
#!/usr/bin/env python import rospy from gps_dnn_policy_training_and_testing_pkg.CONSTANT import training_request_topic, training_response_topic from gps_dnn_policy_training_and_testing_pkg.dnn_policy import DnnPolicy from std_msgs.msg import String import pdb import pickle import tempfile def cb(msg): rospy.login...
[ "sk.law.lsq@gmail.com" ]
sk.law.lsq@gmail.com
dada884103b980d1aff01dc194cce6f238446e3d
a9f97f77d30e35c6627f353e49fe2683bf7d51ed
/jiayuan/rnn_ner/rnn_ner/model.py
0d4a500c38ebfd76e76425dbed26e9babb1efab4
[ "MIT" ]
permissive
breezedeus/char-rnn-tensorflow
4c3c5e27e21b4bfb077a399f6707c3ec256d2eac
0ef7bf9e5b108ae161011f9db3705993e1b0103e
refs/heads/master
2021-01-17T08:32:44.452317
2016-06-18T12:35:56
2016-06-18T12:35:56
52,412,436
0
0
null
2016-02-24T03:47:42
2016-02-24T03:47:42
null
UTF-8
Python
false
false
4,936
py
# coding=utf8 import tensorflow as tf from tensorflow.models.rnn import rnn_cell from tensorflow.models.rnn import seq2seq import numpy as np class Model(): def __init__(self, args, infer=False): self.args = args if infer: args.batch_size = 1 args.seq_length = 1 if...
[ "breezedeus@163.com" ]
breezedeus@163.com
f2ebc53681e61b9b3362d7242a13a47f51b55401
456433ac78b70cb8ae076ae166a85e349f181d7f
/systems/KURSSKLAD/KURSTERM/REFILLSLOT/templates/index.py
3ec1fb8a10419dd5197a336406e95d43e64d2b25
[]
no_license
shybkoi/WMS-Demo
854c1679b121c68323445b60f3992959f922be8d
2525559c4f56654acfbc21b41b3f5e40387b89e0
refs/heads/master
2021-01-23T01:51:20.074825
2017-03-23T11:51:18
2017-03-23T11:51:18
85,937,726
0
0
null
null
null
null
WINDOWS-1251
Python
false
false
8,762
py
#!/usr/bin/env python # -*- coding: cp1251 -*- ################################################## ## DEPENDENCIES import sys import os import os.path from os.path import getmtime, exists import time import types import __builtin__ from Cheetah.Version import MinCompatibleVersion as RequiredCheetahVersion from Cheeta...
[ "s.shybkoi@gmail.com" ]
s.shybkoi@gmail.com
4d428742d7170a7370307004430c0e0196f9eb23
822c05441c31ee8d76ca808f7e21855f60964b98
/website/models.py
a78d4eb7eba9912cd31564b1dffa0ea4f8309331
[]
no_license
pprajapa91/projectmangment
e87218b3b06cf3938cc081c4a907c9207e629b1c
3371943f6babf1e14411b673e98d4573d2462af4
refs/heads/master
2020-12-27T12:36:32.517473
2020-02-03T07:16:19
2020-02-03T07:16:19
237,905,550
0
0
null
null
null
null
UTF-8
Python
false
false
1,667
py
from django.db import models # Create your models here. class userLogin(models.Model): id=models.AutoField(primary_key=True) empid=models.IntegerField(default=1) username=models.CharField(max_length=100) password=models.CharField(max_length=100) email=models.EmailField() is_usertype=models.Char...
[ "pankaj.prajapat39@gmail.com" ]
pankaj.prajapat39@gmail.com
d1263db2be082d306f54fb18bc26aa5ece264911
d6d215fad0e8c4e295f9762e12d1eedc080f38e7
/Generadorlistadata.py
f72e83f3f558edb845abb5b75651a2ed16b56115
[]
no_license
Aaronponceuv/ExSiames
41a976a9d5c3704f3ac37d0b5e764631f4aa831c
55925695451854bbf578f43eb3e73485d79b66c1
refs/heads/master
2022-11-26T05:16:46.733669
2020-07-30T20:19:31
2020-07-30T20:19:31
283,868,420
0
0
null
null
null
null
UTF-8
Python
false
false
2,843
py
import numpy as np import pandas as pd import os import itertools """ -. Cantidad de Chatarra por tipo 405 = 258 406 = 62 407 = 91 409 = 266 411 = 108 416 = 45 432 = 210 -. Cantidad de pares por tipo de chatarra formula = (N * N-1)/2 405 = 33153 pares 406 = 1891 407 = 4095 409 = 35245 411 = 5778 416 = 990 432 ...
[ "multimind@multimind" ]
multimind@multimind
75adc57efa8196a7a552998412254bf7156fa4ad
fe6f6d11dde2a3205ae9758c7d4eb1f824b84102
/venv/lib/python2.7/site-packages/PIL/ImageCms.py
20ba6a11f1b0b627beb58d25502f24e8648ba846
[ "MIT" ]
permissive
mutaihillary/mycalculator
ebf12a5ac90cb97c268b05606c675d64e7ccf8a6
55685dd7c968861f18ae0701129f5af2bc682d67
refs/heads/master
2023-01-10T14:56:11.780045
2016-09-20T12:30:21
2016-09-20T12:30:21
68,580,251
0
0
MIT
2022-12-26T20:15:21
2016-09-19T07:27:48
Python
UTF-8
Python
false
false
34,964
py
# # The Python Imaging Library. # $Id$ # # optional color managment support, based on Kevin Cazabon's PyCMS # library. # # History: # 2009-03-08 fl Added to PIL. # # Copyright (C) 2002-2003 Kevin Cazabon # Copyright (c) 2009 by Fredrik Lundh # # See the README file for information on usage and redistribution. See # ...
[ "mutaihillary@yahoo.com" ]
mutaihillary@yahoo.com
b0425784ca487098e2a47112fde202cc9aaaa761
070429575b80253f3a96a2b18cdba13c82279022
/bboard/models.py
425c53f8a66e36a1fac4d7d902c291f25bb0dc00
[]
no_license
ROLOBOOK/django_3_DRONOV
39261c126bb555de1ea96a15343ff583f56bf40d
271176e7f1ccf1065be06d5d56a4bf63f4e676fa
refs/heads/main
2023-02-16T00:42:58.473159
2021-01-10T17:30:28
2021-01-10T17:30:28
327,650,176
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
from django.db import models # Create your models here. class Bd(models.Model): title = models.CharField(max_length=50, verbose_name="Товар") content = models.TextField(null=True, blank=True, verbose_name="Описание") price = models.FloatField(null=True, blank=True, verbose_name="Цена") published = mod...
[ "rolobook@yandex.ru" ]
rolobook@yandex.ru
2ba5da614a0fabdb436bc0f5efbc07208349338c
8118911efcc2350d373c9d43d1335d36c0abf14e
/src/resampling.py
181093b4260d9a4e876f32913ffb99f1a62d75ee
[ "MIT" ]
permissive
ozgunkaratas/mastersthesis
614f35e827c216612fac2c98b2998bc8b26602f8
3ea3ae99744292620d26f4a3595370f4709c6eda
refs/heads/main
2023-06-04T11:56:10.606701
2021-06-23T07:43:50
2021-06-23T07:43:50
378,873,676
1
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
import numpy as np from scipy import signal def hlUpsampler(accx, accy, accz, gyrx, gyry, gyrz, knownpoints, xsensRef): ''' upsamples hl imu to xsens levels ''' #upsample HL (uphlAccX, uphlAccX_time) = signal.resample(accx, len(xsensRe...
[ "noreply@github.com" ]
noreply@github.com
147c2d90ce5537ee9f661bf45932eeda21e86596
e233d3d5ad19bb17a7dce7ff8d96404a17b3b705
/src/programy/parser/template/nodes/vocabulary.py
ebaad3a280d6196ae7ad85d1cb65c2696d9876d8
[ "MIT" ]
permissive
jaimecamacaro/program-y
2559fb0cb70150b147c090c611931f84fd276867
5f31608290faddf8da9a52587ec892b258ec11d4
refs/heads/master
2021-06-26T20:26:53.778763
2017-09-13T09:47:14
2017-09-13T09:47:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,461
py
""" Copyright (c) 2016-17 Keith Sterling http://www.keithsterling.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
c7af7c194c4e24eedb0c31f59215a89bc8314440
079512739e530152f403ffabd133eaaf695f1dcd
/manage.py
f558011930efde3ec67eca5499a2e68443d05dd1
[]
no_license
99Ace/Grow
b9adfecbd80bb8b56e9387f6178ba715f2574dab
1b95614d9f325c330df4380fc18d2c99e1397551
refs/heads/master
2023-04-21T21:23:46.266408
2021-05-11T04:54:59
2021-05-11T04:54:59
362,721,772
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Grow.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportErr...
[ "chunliang.ang@gmail.com" ]
chunliang.ang@gmail.com
b59ec1cd512b6ef11af45128bfc21a60e6b82ece
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2655/60749/257037.py
d69187901e074eb96757b5e40eb320ae97fbe4d1
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
310
py
n=int(input()) res=[] for _ in range(n): res.append(int(input())) def findcloset(n): k=0 while n>=pow(2,k): if n<pow(2,k+1): if n==pow(2,k): return pow(2,k) else: return pow(2,k+1) k+=1 for t in res: print(findcloset(t))
[ "1069583789@qq.com" ]
1069583789@qq.com
f9df3b9bf04fde97be7e98f9907c3d36f5f9516a
63f9beea74793330540d05ef96fbe3b594ff4175
/neutron/agent/ovsdb/native/idlutils.py
89f322453959790e367171387f62442ae2dbb058
[ "Apache-2.0" ]
permissive
waltBB/neutron_read
fc728d38d3ee23860df3f6d9024940cdd06e0103
07d1a526d7d44ad0207d27e0ee04f1582541ab89
refs/heads/master
2021-01-10T01:34:42.624182
2015-11-10T08:42:50
2015-11-10T08:42:50
45,899,172
3
2
null
null
null
null
UTF-8
Python
false
false
3,616
py
# Copyright (c) 2015 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "twilson@redhat.com" ]
twilson@redhat.com