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
20e12acaeebacb5825d33a17c5e6ccedd6034af6
6b74e844e31c00ca6f0514d4a9f7d69610a6d904
/app.py
56c2fe45bc949f9c7a24315a8aad7f163a3a4a77
[]
no_license
vutran/python-web-app-demo
b9375718393c331978b0f4426cb5b86aea5034e5
08a4457c6147bd70da042585c733a1eab60b84e5
refs/heads/master
2021-01-10T01:38:33.085719
2015-12-03T00:54:17
2015-12-03T00:54:17
47,297,937
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
# import modules import sqlite3 from contextlib import closing from flask import Flask, request, session, g, redirect, url_for, abort, render_template, flash # db configs DATABASE = './flaskr.db' DEBUG = True SECRET_KEY = 'this_is_a_super_secret_key' USERNAME = 'root' PASSWORD = 'root' def init_db(): # initialize...
[ "vu@vu-tran.com" ]
vu@vu-tran.com
db22fd01e6640bbe57e76b0fe7c5af2d1ba730b0
56f968ff8f215f0a64eb822916acf9e6039a036e
/env/lib/python2.7/site-packages/rackspace/load_balancer/v1/load_balancer.py
565e1a9978cd372a0759caced8906fd42dc878d8
[]
no_license
AntObr/credit-to-customer
754d9d144d1f9f49ce9aefd6e0500d76e1cde1e1
36b2a100dc65b109b72527a36556a37418b1fcda
refs/heads/master
2022-01-25T17:34:10.820544
2018-04-17T16:48:06
2018-04-17T16:48:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,721
py
# 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 writing, software # distributed under t...
[ "obrien.r.anthony@gmail.com" ]
obrien.r.anthony@gmail.com
a2eb36c053207018fa03bedf2ebbfb131d88424a
3b548783a95ccef271cb3501a09dfc9191c75733
/chapt_11/test_name_function.py
655f8c7fb03506c45f9efcfa9a6c234c1b38d05e
[]
no_license
ojenksdev/python_crash_course
5c97abf54fd3f773f9ebedf9c6f2e99550ddbc7d
edc5ffa2241daaaaf2163ba10e86ec55d02d7b83
refs/heads/master
2020-04-11T19:39:21.044171
2018-12-19T02:39:10
2018-12-19T02:39:10
162,042,219
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
import unittest from name_function import get_formatted_name class NamesTestCase(unittest.TestCase): """Tests for 'name_function.py""" def test_first_last_name(self): """Do names like Janis Joplin work?""" formatted_name = get_formatted_name('janis', 'joplin') self.assertEqual(format...
[ "ojenksdev@Oseis-MacBook-Pro.local" ]
ojenksdev@Oseis-MacBook-Pro.local
7565e1cdea51d680114c599704d68a3b7d4f304b
6be0ea3a10add1ad32637e99eeeade76bbecd143
/day5.py
65503f4a92cbea100ec70e0421ec76f623c68d4e
[]
no_license
Siliconrob/advent2020
6e542c31ea1657cfbf09c91917af4a311bfd6d25
cf52ce67a2e59f7fdb13d704265e9091b35f2caa
refs/heads/main
2023-02-02T05:20:52.013443
2020-12-21T06:24:11
2020-12-21T06:24:11
318,392,511
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
from aocd import get_data import queue def dataQueue(line, start, end = 0): if end > 0: input = line[start:end] else: input = line[start:] queue_data = queue.Queue() for item in input: queue_data.put(item) return queue_data def findPosition(queue_data, upperIndicatorChar, s...
[ "noreply@github.com" ]
Siliconrob.noreply@github.com
461ccf1fcf588f87ddd2359e410e5de3eddd855e
ad113ffed76e72ed0a881a7a6d6a74ea9021e5bf
/tests_compare.py
09f259dd46dda07db612be2449e8522ef61f31b4
[]
no_license
biletboh/bitexchange
03c0bfc04e2f103928c173f014a75b6ceea0def9
8d541d6bb82f5e3ff4c71cb65b609503ba6b9417
refs/heads/master
2021-01-22T10:46:46.717291
2017-05-30T14:43:37
2017-05-30T14:43:37
92,656,591
0
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
import time import os import configparser from bitfinex.client import TradeClient from exmoclient import ExmoTradeClient from compare import compare_exchange # Set up configuration BASE_DIR = os.path.dirname(os.path.abspath(__file__)) conf = configparser.ConfigParser() conf.read(os.path.join(BASE_DIR, 'settings.ini...
[ "biletskyboh@gmail.com" ]
biletskyboh@gmail.com
c2ad0d35456b62cf2157dc02f65312ffbd432221
8f2d1527d1610a0ea23c101c0f83bce645e2265a
/music/admin.py
d267a0c93d48446063a5d78f7ee6ad837dace4ab
[]
no_license
rhythm55/Viberr
6b7bb9d021360314de76e94739d78c961c23c965
2378a5edc454cc412c57c24ff52eead6d359243b
refs/heads/master
2020-03-09T17:04:24.811111
2018-04-10T08:42:06
2018-04-10T08:42:06
128,900,919
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
from django.contrib import admin from .models import Album,song admin.site.register(Album) admin.site.register(song)
[ "rhythmkatal@yahoo.com" ]
rhythmkatal@yahoo.com
db8d3ec8e54f8e44baff3012b5e4766f9d7f13e7
daa7db79416712db406a0c89fae2d6f3db04006b
/get_position.py
fac7b2af9ffb18b8db140efc6425d3df62be9552
[]
no_license
emi-cd/crater_code
7982c644ba3196f9f03023f414f9ff648c71f790
d4de2ea6bdc8091c799f0de24decaea87eccf803
refs/heads/master
2022-11-30T04:43:04.927252
2020-08-14T09:03:57
2020-08-14T09:03:57
287,490,243
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
import sys, os import pandas as pd import download as dl import register as rg def main(argv): if len(argv) != 1: print('Please input path to dif path.') return 0 base_name_origin, _ = os.path.splitext(argv[0]) base_name = base_name_origin.split('/') lat = base_name[-3].split('-')[0] if len(base_name[-3].s...
[ "donguri.korokoro425@gmail.com" ]
donguri.korokoro425@gmail.com
d06d2e0a911f5010f8561348d3ab54923e923e31
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_059/ch86_2020_06_22_20_42_01_067760.py
2a606c4d7a824d5d1b2a4313ad94567cbeff57d6
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
with open('criptografado.txt', 'r') as arquivo: conteudo = arquivo.read() for i in conteudo: if i == 's': with open('criptografado.txt', 'w') as arquivo2: arquivo2.write(conteudo.replace(i, 'z')) if i == 'a': with open('criptografado.txt', 'w') as arquivo...
[ "you@example.com" ]
you@example.com
2344eada23cfb8ac41031bc13e832bdffc346ff7
faa763ac2f7e3300981769d5dc8e26f7bf7b68d8
/ingreso.py
c90f88d15891521c06f5dc21a84d0495d6d056b0
[]
no_license
kanequito2/seminario2prototipo
d63f42e1810fc8d0f34f3ff5df5a886fb14e3221
e4be41d2dff227dbae216ac70ff04358f767041f
refs/heads/main
2023-01-14T06:16:52.451265
2020-11-22T04:28:43
2020-11-22T04:28:43
314,958,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
import quickhome as qh import pymongo def ingresar(credencial,contrasena): client = pymongo.MongoClient("mongodb://localhost:27017/") db = client['quickhome'] users = db['usuarios'] query = {'cedula' : credencial} result = users.find_one(query) if result: if result...
[ "noreply@github.com" ]
kanequito2.noreply@github.com
7468b944bab44957001008e613b5f91e3fc8ac54
d433ea562f0ee31a7df354b5855126fcf2bbde07
/Arduino_Communicator/Communicator.py
c8ca411aa49aa3a134e034948bc0b2f1be137d5b
[ "Apache-2.0" ]
permissive
mynameissean/ferm-control
c8cf18db69709c405b61adf8521617c4ebe39632
9ba8b0d58251dfc27ff67f6166f41a557254af1b
refs/heads/master
2021-01-17T14:41:36.383960
2020-02-06T02:30:48
2020-02-06T02:30:48
22,331,295
0
1
null
2016-01-29T17:37:31
2014-07-28T04:53:32
C++
UTF-8
Python
false
false
3,246
py
import serial import threading import time from serial.serialutil import SerialException import DataWriter import sys from ArduinoState import ArduinoState g_FailureThreshold = 5 class Communicator(threading.Thread): """Parse data from the Arduino""" m_Port = "/dev/ttyS0" m_Baudrate = 9600 m_Tim...
[ "aaaathatisfouras@gmail.com" ]
aaaathatisfouras@gmail.com
c1ae1f65477b82ebef1d58587f4c37e46ba2ef41
a9d1a1a35ef400dcedcb9c9c07bc30a71c10756c
/cocoqa_dataset.py
faf695e748886e3b121cffb3bf22d87086f66d99
[]
no_license
chancezhw/vqa-playground-pytorch
c50ee6fe8247c172fa03a25bfeaf84d6454c4ef5
91218a1e3d72735bbdba27b3a89061744d7bea04
refs/heads/master
2020-05-30T22:23:46.535674
2018-11-23T02:49:30
2018-11-23T02:49:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,613
py
import gc import lda import torch.utils.data as data from nltk.parse.stanford import StanfordDependencyParser from putils import * import redis import subprocess class COCOQA(object): def __init__(self, data_dir, process_dir, samplingans=True, vgenome=False): self.data_dir = data_dir self.process_...
[ "liujinlai.licio@bytedance.com" ]
liujinlai.licio@bytedance.com
9a1a65d60cc86454d71fd9847cff3ebe56cb1ba3
10e2efb32f002e18019bc703fc801516361f96ef
/searchLatencyCache.py
9982e3393d7c325c77db59f23adf6f4f6b75d94f
[]
no_license
TrafalgarSX/graduation_thesis_picture-
32f7cfd7d58c636bfc63562da22af6a1d66cc8f1
c55de3412f0049ca328869b25d78095d67ec4b0d
refs/heads/main
2023-04-29T19:15:44.138455
2021-05-18T13:02:44
2021-05-18T13:02:44
368,528,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
''' Author: guo yawen Date: 2021-05-17 23:02:25 LastEditTime: 2021-05-17 23:08:57 LastEditors: guo yawen Description: FilePath: \Thesis\searchLatencyCache.py TrafalgarSX ''' import matplotlib.pyplot as plt from matplotlib.pyplot import MultipleLocator import numpy as np # path and cached 0.6factor # 两行代码正常显示中文 plt.r...
[ "1148636359g@gmail.com" ]
1148636359g@gmail.com
531653f7e9a953e95b57dff8c3558d5909f0842d
d6f7d4f71b4ce5204a17e3ef7a21f495e45a44ce
/Strictly Alternating List.py
e0e78abd6928c0dabf00fe2bad8e44d6e3d8f103
[]
no_license
zoskar/Binary_search
de43168105688ded7b58e11963bdcce57f83b8af
532e67b074c478a5af0f23a644e79043e89ed0c5
refs/heads/master
2023-06-04T08:13:03.897436
2021-06-20T12:24:29
2021-06-20T12:24:29
356,622,345
0
0
null
2021-06-20T12:24:29
2021-04-10T15:29:43
Python
UTF-8
Python
false
false
227
py
class Solution: def solve(self, nums): if nums[0] > nums[1]: return False for i in range(len(nums) - 1): if nums[i] == nums[i + 1]: return False return True
[ "zoskar00@gmail.com" ]
zoskar00@gmail.com
3376a9b65bde1e1df7312960c5ba0514b61e9fe3
12dd2ef589424cb300303740ccdd91ec066064b6
/mencobabuffer.py
5dd4ac99ed1546ff53b0b9cde55982c1a1f92162
[]
no_license
cahyacaa/Python-UDP-Comm
18d969fb2950701cd8fb7ba095aa9c23c350e0d7
9764186f9ba3ec6525b28b7c1ccffc57356ecb19
refs/heads/main
2022-12-27T03:09:47.679442
2020-10-11T17:10:07
2020-10-11T17:10:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,639
py
import cv2 import socket import time from math import ceil import pickle from dronekit import connect, VehicleMode, LocationGlobalRelative from pymavlink import mavutil vehicle = connect('udp:127.0.0.1:14550',wait_ready=True) def rescale_frame(frame, percent=10): width = int(frame.shape[1] * percent/ 100) heig...
[ "noreply@github.com" ]
cahyacaa.noreply@github.com
aebc4e50014de1c5ec9615171ee463e06d6eb574
b64b90241b86b943b70fc5192e47e0d9671c81e2
/Loops examples.py
dd35266f3e0388af26a5e698d9825b3d0d91f4c7
[]
no_license
KosgeiLawrence/Learn-Python-2
dc292caec39b7bb04e978efdacbde25803a3afc4
c18309bdfbc0c03e65ea0a1cf76101b098819e15
refs/heads/main
2023-04-07T09:10:55.240407
2021-04-15T20:43:02
2021-04-15T20:43:02
358,386,107
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
# -*- coding: utf-8 -*- """ Created on Thu May 30 21:58:28 2019 @author: Lawrence """ import turtle for colour in ['red','blue','green','black']: turtle.colour(colour) turtle.forward(90) turtle.right(90)
[ "noreply@github.com" ]
KosgeiLawrence.noreply@github.com
6468449498d437e380393fdbc460ee74de9a5e36
36f8b600c40ce52c94b77e1d689f81949c80a73e
/ElevatorClient.py
76d5bd80c816f4be052fb957449d038e7fbe8a58
[]
no_license
MortenFr/project-group-3-aka-the-team-works-
97b1be17e7fad2f87ef5d4adacce2873c24efb39
9235d1c96ba429ea605c74ff17c6dc16e417aeae
refs/heads/master
2020-05-03T23:27:45.619520
2019-04-01T13:13:18
2019-04-01T13:13:18
178,866,278
0
0
null
null
null
null
UTF-8
Python
false
false
7,095
py
import sys import threading import ElevatorClient from Actuator import Actuator from Elevator import Elevator from Event import Event from Network import Network def get_direction(current_floor, target_floor): if current_floor == target_floor: return Actuator.DIR_STOP elif target_floor > current_floo...
[ "william.tfalch@gmail.com" ]
william.tfalch@gmail.com
21cdcb8d9d1af2ba903130bc071b213aa24cf2fc
2f8dce59ce62fb981e26a81ee939cf141e6eebda
/examples/reservation/createReservations/createReservation.py
4be527d98b9157ffa7b850696022b970cda669e8
[ "MIT" ]
permissive
torchedplatypi/vra7_rest_wrapper
2cae0d7870174f938e113e98b002c2bbb00a2062
11553fbba8037f7131a50247d9478a75265b42f9
refs/heads/master
2021-01-01T18:04:41.229575
2017-11-02T17:25:30
2017-11-02T17:25:30
98,237,948
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
#!/usr/bin/python import getpass import json from globalconfig import passwd, url, usr from vraapiclient import reservation client = reservation.ReservationClient(url, usr, passwd) with open('reservationTemplate.json') as json_data: payload = json.load(json_data) reservation = client.createReservation(payload)...
[ "craiggumbley@gmail.com" ]
craiggumbley@gmail.com
22f6f4c29ed35e29af9c0bf2cb478610bfc8b693
9546040fb946f6e0d913a915ed16f7b55e37a491
/Test/first_test.py
1818beb503a4d912e20f510604c3a54a3ea49d1a
[]
no_license
Pasha-Kovalev-29/HW-A-Level
ff39b0b4563b9d148fc1b58d5945a62d52602967
dcbb29b6801a0dbb5ac29941259a8f7897ac3d14
refs/heads/master
2023-03-24T23:22:47.769061
2021-03-19T21:00:00
2021-03-19T21:00:00
343,913,470
0
0
null
null
null
null
UTF-8
Python
false
false
2,653
py
def spam(number): '''Function should return something like this: spam(1);#bulochka spam(3);#bulochkabulochkabulochka But it is broken. Fix it please! Эта функция принимает числовой параметр. Должна вернуть строку, которая повторяется столько раз, сколько параметров передано. Она уже написана, ...
[ "pasha0kovalev@gmail.com" ]
pasha0kovalev@gmail.com
d5f9369867e20157a003d0ba60186ef147640bd8
3b26574e63da30fd6149124bc8c76de1a5aad17a
/serverFlask/app/models.py
69c3d36df2dffaa8d197644093d94dbac3437e80
[]
no_license
Anvar28/ControlBackup2
27b3b5e4ee0c9b3eb10b5256f543f4388ff275e5
7ce1bdfa540753d068a7ced8ea577f5f170aee4e
refs/heads/master
2020-04-28T22:50:35.779872
2019-04-01T10:34:01
2019-04-01T10:34:01
175,631,818
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
from app import db ROLE_USER = 0 ROLE_ADMIN = 1 class User(db.Model): id = db.Column(db.Integer, primary_key = True) nickname = db.Column(db.String(64), index = True, unique = True) email = db.Column(db.String(120), index = True, unique = True) role = db.Column(db.SmallInteger, default = ROLE_USER) ...
[ "apxi2@yandex.ru" ]
apxi2@yandex.ru
d7633155ab4d28900845422fa81131cefe4c6eb1
bb6db68ac8ce0ee3b1458e7bb75f06fa197666a9
/service/http_utils/packing/__init__.py
c04479cf92af4737b789bd3dfa9c1a58b78d1d70
[]
no_license
s70c3/searchmachine
288e38cc512e31aa73be292c982941d8242c65ec
57767827e6c90f91d8a611d594427601bcec74d7
refs/heads/master
2023-05-05T15:58:10.414539
2021-05-30T10:02:12
2021-05-30T10:02:12
371,707,428
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
from .rectangular import PackRectangular from .svgnest import PackSvgNest from .hybrid import PackHybrid
[ "shamovia@yandex.ru" ]
shamovia@yandex.ru
330fa17e9db4bfe1934db52c2da83856fd0001cd
2672228cd79938f112802a7d3c6209e907c46935
/testsuite/tests/performance/smoke/test_smoke_app_id_query.py
9f9329ddacfbb4cb354234d41e201c08a0de6e2f
[ "Apache-2.0" ]
permissive
Hchrast/3scale-tests
82233d4015fc5ec9f1cad82ce411e6d48f3c056f
ab64592f1438a6cb878b81897164a0e495fed961
refs/heads/main
2023-08-27T21:04:35.108744
2021-11-08T10:08:59
2021-11-08T10:08:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,055
py
""" Smoke test that will create 3scale objects for performance testing. Fill necessary data to benchmark template. Run the test and assert results. This test shows usage how to write test where 3scale product is secured with app id and app key combination. """ import asyncio import os from concurren...
[ "drajnoha@redhat.com" ]
drajnoha@redhat.com
df7be9df56dab5536f001516b49ba14d7713bc42
74850db9f963029fc2c77fdf378018f6f2929f8f
/Completed/ex_12/followalong9.py
78da6ab4305c390e16f0ba35f9b92a32a7101465
[]
no_license
CodeVeish/py4e
bf3507f55b04debc90c4b8158c5601c039379363
dbd558dad52f8d1520205738fd505b3da1914134
refs/heads/master
2023-05-06T02:31:25.589747
2021-05-23T18:54:48
2021-05-23T18:54:48
355,971,950
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
#Search for link values within URL input import urllib.request, urllib.parse, urllib.error import re import ssl #the SSL library allows this program to access web sites that strictly enforce HTTPS. # Ignore SSL certificate errors ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify_mode = ssl.CERT...
[ "codeveish@gmail.com" ]
codeveish@gmail.com
28d9e4f8593aad49f91e29b3793e7a52f9fe9314
ff85be84c08cbec8024d0f71a01d3c562a94b5fd
/Trees and Graphs/is_balanced.py
b2b27afc8386f090e61238cd7e43c6faf4020b09
[]
no_license
parastooveisi/CtCI-6th-Edition-Python
7579d3d6ba635e7f8f83d9b01108b4391cea1720
05c6448685605ea90c24c541d83509eb4e92ac30
refs/heads/main
2023-04-03T04:54:53.815074
2021-03-23T23:51:19
2021-03-23T23:51:19
313,457,220
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
class Node: def __init__(self, data): self.data = data self.left = None self.right = None def is_balanced(node): if node is None: return 0 left_height = is_balanced(node.left) if left_height == "NOT BALANCED": return "NOT BALANCED" right_height = is_balanced...
[ "parastoo.veisi@gmail.com" ]
parastoo.veisi@gmail.com
1a6e1c38cec81d1f6d0ee6be95f110c34a4f3ec2
4b9bd4f385b94e5ebdda02911cd2a0fcc0fc8116
/WeatherPy/api_keys.py
710addf24cf9c8d2f5f51c6ce47cc09b9ee9b040
[]
no_license
namvanluu27/python-api-challenge
2987fdbfe3f0e3c3591d4d01b938392d2295dcfa
60e1cb487fb074237367d1f6e9364444ff107e78
refs/heads/master
2020-12-04T13:51:48.148354
2020-01-23T22:38:05
2020-01-23T22:38:05
231,789,439
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
# OpenWeatherMap API Key api_key = "214de314d0892802001526c95e99dc9c"
[ "namvanluu27@gmail.com" ]
namvanluu27@gmail.com
929fa0c552653308fd6cb109a18055dc16bc93d5
2ebc0ea98255fa52e0ccdcc76ccfbddf8269a975
/GUI-CSV.py
596dcc56bba10504b0d36c331952234b10aeae83
[]
no_license
Pie-R-Square/ExpenseRecorder1
857569f40b1448d71333683e388cfa38e7adc73e
5620d85dcb6a8573f50c5d92de14ebd1f4005ddd
refs/heads/main
2023-06-11T00:22:00.231838
2021-06-26T14:35:25
2021-06-26T14:35:25
375,349,631
0
0
null
null
null
null
UTF-8
Python
false
false
11,085
py
from tkinter import * from tkinter import ttk, messagebox import csv from datetime import datetime ########## import sqlite3 # create data base conn = sqlite3.connect('Expense.db') # create operater c = conn.cursor() # create table ''' 'Details(details)' 'Rate(rate)' 'Quantity(quantity)' 'Discou...
[ "noreply@github.com" ]
Pie-R-Square.noreply@github.com
ba1c4d07119c91897306b7f5dd4ac2b869964b5b
b17583937358d7c5aae0bd22089716b165eb3731
/swann/bids/__init__.py
b5b64d5e5f9c109cebaba4bbd0600b9bb94b508e
[ "BSD-3-Clause" ]
permissive
alexrockhill/SwannLabResources
3171c7c50b65005d4d12a3f0333868d604edc60e
8f49683a073feb3e23919c1faa365e7f04390b0f
refs/heads/master
2020-10-02T02:41:45.642684
2020-07-07T02:01:27
2020-07-07T02:01:27
227,682,616
0
0
null
null
null
null
UTF-8
Python
false
false
41
py
from .edf2bids import edf2bids, anat2bids
[ "aprockhill206@gmail.com" ]
aprockhill206@gmail.com
38bf1d5eda263becdd439d4b030c740676472703
49fab6be8e2cb6583f8d45a7d2d7330477a97777
/main.py
1c19b3b8e9010eff3fe09e589c77c3e961ae842b
[]
no_license
juneldnerosa23/python-flask-helloworld
0a90ca4197350896352206db8b44d6232102fa8b
d3f7ef55cdf85076140d1e2aecdcda8ef0717e66
refs/heads/master
2020-04-10T20:41:46.327952
2018-12-11T09:59:51
2018-12-11T09:59:51
161,275,733
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hey Its Python Flask application!!!' @app.route('/awesome') def awesome(): return 'Hey its Python Flask application Test!' if __name__ == '__main__': app.run()
[ "juneld.nerosa@detailonline.tech" ]
juneld.nerosa@detailonline.tech
8db79c9a273b1cf103453d785a36dac40873619a
928c53ea78be51eaf05e63f149fb291ec48be73e
/Linked_List_Cycle_II.py
38b7ef80851bbce59fda03879bef014eaff77462
[]
no_license
saurabhchris1/Algorithm-Pratice-Questions-LeetCode
35021d8fc082ecac65d7970d9f83f9be904fb333
ea4a7d6a78d86c8619f91a75594de8eea264bcca
refs/heads/master
2022-12-10T16:50:50.678365
2022-12-04T10:12:18
2022-12-04T10:12:18
219,918,074
5
2
null
null
null
null
UTF-8
Python
false
false
1,226
py
# Given a linked list, return the node where the cycle begins. # If there is no cycle, return null. # # There is a cycle in a linked list if there is some node in # the list that can be reached again by continuously following # the next pointer. Internally, pos is used to denote the index # of the node that tail's next...
[ "saurabhchris1@gmail.com" ]
saurabhchris1@gmail.com
e63d89eed6d0c31ebf828de02250a46d2a1bb7cb
418dfa92834ca28d64f11eeaf9877652baa81814
/function/def_func.py
bf914ee10e1fd2f382fe66f42fd25c9016e1e129
[]
no_license
summer-studio/mypython
0f11c9ee528a863c755610c930bed57943d12eb1
b761883fbbedc06471ede30518d9e574d3cde70e
refs/heads/master
2023-07-24T00:19:30.115164
2021-06-30T11:00:04
2021-06-30T11:00:04
222,826,300
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import math def my_abs(x): if not isinstance(x, (int, float)): raise TypeError('type error xxx') if x >= 0: return x else: return -x print(my_abs(-9)) def nop(): pass def move(x, y, step, angle=0): nx = x + step * math.c...
[ "mango2049@163.com" ]
mango2049@163.com
62a775a81d7fa30ec96c7601550b7d7b0344b6e9
569dacc986ffe19e58829a93ac66711bd43159b2
/learning_users/basic_app/urls.py
ebe738c43e529af7219246f73e05a33721867a63
[]
no_license
Gene2017/django-deployment-example
4518220ae63fe896a848018cdcf3e237a5280f06
a88c14f0ed2a7e7af564b2ddbcc8db9a8cc182a3
refs/heads/master
2020-05-01T04:42:51.846195
2019-03-23T11:56:06
2019-03-23T11:56:06
177,282,017
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from django.conf.urls import url from basic_app import views app_name = 'basic_app' urlpatterns=[ url(r'^register/$', views.register, name='register'), url(r'^user_login/$', views.user_login, name='user_login'), ]
[ "JingzhuFeng@Jingzhus-MacBook-Pro-1387.local" ]
JingzhuFeng@Jingzhus-MacBook-Pro-1387.local
fecf32182e6b14c20f5d9aef781f0ca171c65782
67a4b532034917fb2d58504df86534ad9e110464
/Building Machine Learning Models in Spark 2/python/m1_demo01_WineData_SparkMLLib.py
134ebf8d4f6be592c6f23f86c6497cb4e4bbf260
[]
no_license
tommypratama/ds
7bb915c76283c1ac457b3bc22f4f4923b6ecaa1d
ea131155402ef04962efa048290bb4ce9dbb818e
refs/heads/master
2020-04-20T06:54:46.597229
2019-05-11T23:54:26
2019-05-11T23:54:26
168,697,233
4
4
null
null
null
null
UTF-8
Python
false
false
5,374
py
# coding: utf-8 # ### Check the Spark Context # Spark context sets up internal services and establishes a connection to a Spark execution environment # In[3]: sc # <b>Dataset location: </b>https://archive.ics.uci.edu/ml/machine-learning-databases/wine/wine.data # In[1]: rawData = sc.textFile('../datasets/wine...
[ "tommyhpratama@gmail.com" ]
tommyhpratama@gmail.com
9ba038b71bd4698882fb9d73e0eab6760b7f8c0e
8ef4cc756b8ade947e4ba658814c81fca05769ca
/algorithms/path_planning/state_lattice_planning/state_lattice_planner.py
8c05e49f106e3253674c960fb1fad4c8e0385349
[]
no_license
vhgnguyen/Robotic-Algorithms
f9c5d5ac83038361d9b7fb42ff613a1bdf98ba45
60aa966ec130622015c4d25cd045c76867b465d0
refs/heads/master
2023-05-27T07:19:41.473909
2021-06-07T12:51:18
2021-06-07T12:51:18
328,672,725
0
0
null
null
null
null
UTF-8
Python
false
false
1,880
py
import sys import os import matplotlib.pyplot as plt import numpy as np import math import pandas as pd import bicycle_motion_model as bmm import trajectory_generation as planner show_animation = True table_path = "lookup_table.csv" def search_nearest_from_lookuptable(tx, ty, tyaw, table): mind = float("inf") ...
[ "43420326+vhgnguyen@users.noreply.github.com" ]
43420326+vhgnguyen@users.noreply.github.com
f4f16e0aed94288f25b1a7cbcc39162959543704
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4194/codes/1644_2711.py
77e78d3042d279f2c36b818186c04f26f7708ed1
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
343
py
valor = float(input("Qual o seu valor disponivel?")) tickets = int(input("Quantos tickets deseja comprar?")) vt = float(input("Quanto custa um ticket?")) passes = int(input("Quantos passes de onibus deseja comprar?")) vp = float(input("Valor dos passes")) if(valor >= tickets*vt + passes*vp): print("SUFICIENTE") else:...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
53936e9c55c9346b878a5b66f09e8a07f6d5344c
fc8c6e12b9eec2455262003044510c678792ac7d
/python数据分析与挖掘/test.py
d24a13c1eed0bc7f8bf628c07d9402678eafdc4e
[]
no_license
hx794883019/python
56b9c20f6a10fd2fd533e39f23e9d813abdadd42
370deb0537e9a26fbae25078a84fc5de01b44637
refs/heads/master
2020-05-13T21:09:21.021913
2019-11-29T04:48:43
2019-11-29T04:48:43
181,660,210
0
0
null
null
null
null
UTF-8
Python
false
false
4,489
py
# -*- coding: utf-8 -*- from __future__ import print_function #兼容 import pandas as pd catering_sale = './data-analysis-master/data_exploratory/data/catering_sale.xls' data = pd.read_excel(catering_sale, index_col = u'日期') #读取数据,指定“日期”列为索引列 print(data.describe()) print(len(data)) # -----------------------...
[ "794883019@qq.com" ]
794883019@qq.com
f6374b1dbcfbb9a24dd8e484aeb710751501a714
7742b635b174ab22077e7895c38f3719daf70daf
/experimental/tensorboard.py
4ec6a38a8c546138f28fb6a0b7757e4d58ca2372
[]
no_license
ashigirl96/rl_snippets
1d94306c25e2920fdf27d248a1a34879bfa78d52
7ff35b726053e96ab2106d5d297d8b074d807229
refs/heads/master
2020-03-07T23:18:58.261657
2018-06-23T11:55:04
2018-06-23T11:55:04
127,777,955
0
1
null
2018-06-14T10:55:03
2018-04-02T15:52:48
Python
UTF-8
Python
false
false
1,995
py
"""TensorBoard""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import tensorflow as tf def make_session(num_cpu=6): sess_config = tf.ConfigProto( allow_soft_placement=True, inter_op_parallelism_threads=num_cpu, ...
[ "reon@mma.cs.tsukuba.ac.jp" ]
reon@mma.cs.tsukuba.ac.jp
e74457c0c58813616881e9d64c3a8320e2e88c3e
d8b1362113e4f3302ab1d04d5f57c1b4c8c44b6a
/leetcode_py2/Medium 73. Set Matrix Zeroes.py
18cf03f8dbfd6347ba627f0749d6d0ea7e565484
[]
no_license
mohki890/Danny-Huang
06d12b2e1ac110684cbf114db46079cda5a380eb
3eb27b793b5a819f3fb5e166b02e04d593f1bf37
refs/heads/master
2020-05-16T00:22:11.602739
2019-03-29T15:00:14
2019-03-29T15:00:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
# -*- coding: utf-8 -*- # !/usr/bin/env python """ This module is provided by Authors: hxk11111 Date: 2019/1/5 File: Medium 73. Set Matrix Zeroes.py """ ''' Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. Example 1: Input: [ [1,1,1], [1,0,1], [1,1,1] ] Output: ...
[ "huangxiangkai@baidu.com" ]
huangxiangkai@baidu.com
180794ca6993fce07565545189adf777cfe6c703
c242cebfe0ad9608ecd56c6e4472413e01be07ad
/Vibesite/UserAuth/apps.py
1ffd04a5c8ebd122766aceedf25975a33fd97248
[]
no_license
lihaodi1995/studentProject
eb8de7f067f10c175244f372db3e686486e51806
0797a5a5d1198bdc3cfc55c26f6f9ec8d8ca31bc
refs/heads/master
2020-04-06T13:52:30.131044
2018-11-24T07:33:43
2018-11-24T07:33:43
157,517,862
1
0
null
null
null
null
UTF-8
Python
false
false
91
py
from django.apps import AppConfig class UserauthConfig(AppConfig): name = 'UserAuth'
[ "1762382493@qq.com" ]
1762382493@qq.com
5ca5396e7e9e6058085893cdf33e810e187ad30d
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/storagecache/v20200301/storage_target.py
3694ea282ed82b03a402dd9a6a13f5cfb2ccad63
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
17,683
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
4691826a0ebf8857674ad4b5c8e0aa40a596470d
3ddeb31315f917469f3a90347725efba7b14d8e9
/utilities/camera.py
32fa0f6d0ba512a5fa566784debd5ad8a386d590
[]
no_license
markmester/picamera
7479686eb952be3e878fe6121c34816f29cbad1a
b2c8e897c181053678b6829784e6ff1f4676d979
refs/heads/master
2021-07-16T12:36:58.693775
2017-10-14T23:04:30
2017-10-14T23:04:30
106,969,021
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
import subprocess def start_camera_feed(): p = subprocess.Popen( "/opt/vc/bin/raspivid -o - -t 0 -hf -vf -w 640 -h 360 -fps 25|cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h26", shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) ...
[ "admin@quadrint.com" ]
admin@quadrint.com
92d6235b58cd040b12597c0b1364fa0dfa1dd1a3
97f44762f0e16dc992cee9c12836eb1959427c55
/DB/DB-17-Django_4/learning_users/basic_app/models.py
c29db26774176688ac4233d2b54a7f6f9d06c839
[]
no_license
dominikb2006/Django
a087db357980c9d75a17b5144c7c9f5550ee6c80
9e89ca36a953f50ea76106f6f63be8529efbb737
refs/heads/master
2021-02-15T21:17:42.279369
2020-06-04T11:51:04
2020-06-04T11:51:04
244,926,587
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
from django.contrib.auth.models import User from django.db import models # Create your models here. class UserProfileInfo(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) portfolio = models.URLField(blank=True) picture = models.ImageField(upload_to='profile_pics') def __str...
[ "dominikb2006@gmail.com" ]
dominikb2006@gmail.com
985c56b69a592827471cc93c075ef206e2d3117d
b4ac75e9c9eb079a8f5b6a92e594f8cc236c43a5
/climlab/radiation/greygas.py
2425f2dab17ab6a044a7d559bc690c16d9b905a2
[ "MIT" ]
permissive
XrosLiang/climlab
61666ef6e2462aa0cac2ba1f8bc808b7955d8b1b
2cabb49e2c3f54c1795f24338ef5ee44e49fc7e7
refs/heads/master
2023-03-05T20:15:30.550458
2021-01-15T14:15:10
2021-01-15T14:15:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,456
py
from __future__ import division from builtins import range import numpy as np from climlab.utils.thermo import blackbody_emission from climlab.radiation.transmissivity import Transmissivity from climlab.process import EnergyBudget class GreyGas(EnergyBudget): '''Base class for all band radiation models, inclu...
[ "brose@albany.edu" ]
brose@albany.edu
724d42efc164f460aadf422bde792465cd5a9eb8
d4129d743b958e6ed71af445c0dd7baa7f2ad6e4
/teambeat/admin.py
3be24de4fad0c0b5aac5759d5cef320a24ead2c2
[]
no_license
astromitts/team-beat
f2077bdeaa457bb8cd11094f14a75bdf170a9b0e
a49608890e4fe2b238cbec9c0e3d9629aae51c55
refs/heads/main
2023-08-10T16:11:14.231042
2020-12-09T14:20:04
2020-12-09T14:20:04
319,043,973
0
0
null
2021-09-22T19:42:46
2020-12-06T13:48:36
Python
UTF-8
Python
false
false
439
py
from django.contrib import admin from teambeat.models import ( Organization, OrganizationInvitation, OrganizationUser, Team, TeamAdmin, TeamMember, TeamMemberStatus ) admin.site.register(Organization) admin.site.register(OrganizationUser) admin.site.register(OrganizationInvitation) admin.si...
[ "morinbe@gmail.com" ]
morinbe@gmail.com
35418b217181a0478eb1d238b23420bc0c421bbf
5154dbf4eee6ea6499957bd1e6b6860abcb3d85a
/Face-Recognition/recognize_faces_image.py
b53c526e33bc593d8f67f4668ff14dcfb3734ed7
[]
no_license
sayands/opencv-implementations
876c345a6842335d70b2d9b27e746da5a6fd938f
c8f0c7b9dca5e6d874b863bd70e4ec3898f6e7d5
refs/heads/master
2020-03-19T11:51:54.513186
2018-12-22T05:48:48
2018-12-22T05:48:48
136,481,409
2
3
null
null
null
null
UTF-8
Python
false
false
2,537
py
# import the necessary packages import face_recognition import argparse import pickle import cv2 # construct the argument parser and parse the arguments ap = argparse.ArgumentParser() ap.add_argument("-e", "--encodings", required = True, help ="Path to serialized db of facial encodings") ap.add_argument("-i", "--image...
[ "sayandsarkar.1997@gmail.com" ]
sayandsarkar.1997@gmail.com
22ee1291f7c8806b76361ad8a451f24e1c1d6079
e573161a9d4fc74ef4debdd9cfd8956bdd1d0416
/src/products/models/order.py
4c07332ebf2b2204eeff6db64f51f087e3f38f77
[]
no_license
tanjibpa/rx-verify
a11c471afc628524bf95103711102258e6e04c19
3947fd2f9a640b422014d1857b9377e42d8961a5
refs/heads/main
2023-02-23T08:16:43.910998
2021-01-23T07:07:43
2021-01-23T07:07:43
331,103,311
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
from django.db import models from base.models import BaseModel from .raw_material import RawMaterial from .product import Product class Order(BaseModel): raw_materials = models.ManyToManyField(RawMaterial) product = models.ForeignKey(Product, on_delete=models.CASCADE) quantity = models.IntegerField(defau...
[ "ikram.tanjib@gmail.com" ]
ikram.tanjib@gmail.com
36e2f269fe6ccdb5d19dd03f80e60e2d02320e90
df6492e0243dc07a946837f427ceccb5b3272dab
/geoPlot.py
1fbdfa616ebeaaf07b29551210749d570592a288
[]
no_license
kamalshadi/NDT
13c33730662df75bd5fed84c7d0551c4627ac3e6
fc6a57fa4a64a82975863472e800da3d320b164b
refs/heads/master
2021-01-25T07:08:38.775251
2013-12-11T08:49:10
2013-12-11T08:49:10
15,102,030
2
0
null
null
null
null
UTF-8
Python
false
false
2,219
py
#!/usr/bin/env python from myParser import * from ipCluster import cluster2sub import csv import os import sys import subprocess import statvfs import urllib from myBasic import * def usage(): return """ Summary: ./geoUoS -p False/True -f <filename> locate the UoS in city resolution """ def header2id(fName,key)...
[ "kamal.shadi85@gmail.com" ]
kamal.shadi85@gmail.com
6c459b34f8f0ab75e9f04a8db8d170bea67c1736
39e647e9ec8524a1cee90ef15f37a3d3bbf8ac43
/poet/trunk/pythonLibs/Imaging-1.1.7/Scripts/pilconvert.py
71b1fe3830cf45b22540f16176b2ca141291253c
[ "LicenseRef-scancode-secret-labs-2011" ]
permissive
AgileAdaptiveTools/POETTools
85158f043e73b430c1d19a172b75e028a15c2018
60244865dd850a3e7346f9c6c3daf74ea1b02448
refs/heads/master
2021-01-18T14:46:08.025574
2013-01-28T19:18:11
2013-01-28T19:18:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,366
py
#! /usr/local/bin/python # # The Python Imaging Library. # $Id$ # # convert image files # # History: # 0.1 96-04-20 fl Created # 0.2 96-10-04 fl Use draft mode when converting images # 0.3 96-12-30 fl Optimize output (PNG, JPEG) # 0.4 97-01-18 fl Made optimize an option (PNG, JPEG) #...
[ "ssaltzman@mitre.org" ]
ssaltzman@mitre.org
70c65abc0e75486f545d81bc39a91df9ade8c174
1412aa3e244d1cc2f413f52ecfa8dd74db184267
/cart/views.py
6d4fad7e35f0b8d052d4af5f76db33d8dcf67391
[]
no_license
YuriyOlovets/MyShop
ddb59b4427972b8e2f45793e6b6e98da9b9a1059
0ca8727b9e812d5d45a1f3bb47855a0fc04ecf27
refs/heads/main
2023-02-21T23:43:36.518944
2021-01-20T17:29:01
2021-01-20T17:29:01
330,904,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
from django.shortcuts import render,redirect,get_object_or_404 from django.views.decorators.http import require_POST from shop.models import Product from .cart import Cart from .forms import CartAddProductForm @require_POST def cart_add(request,product_id): cart = Cart(request) product = get_object_or_404(Prod...
[ "74701895+YuriyOlovets@users.noreply.github.com" ]
74701895+YuriyOlovets@users.noreply.github.com
546e4b087f69f7492fd6fac4dcc8876da6caa164
a5d507d89171870596c0dd1ccc20f012fe1fafc9
/blog/migrations/0001_initial.py
512ce2df8a75832f68d1768a4369662eab418f68
[]
no_license
fd008/django-stack
fe1c8ef1168c79cffbfc3743121eb8fe2c0568f2
dd03b2fcf8a4075286a56591c0a813a6d879f7de
refs/heads/master
2023-08-17T19:04:22.409206
2020-02-25T00:25:23
2020-02-25T00:25:23
233,486,947
0
0
null
2021-09-22T18:34:01
2020-01-13T01:29:47
Python
UTF-8
Python
false
false
783
py
# Generated by Django 3.0 on 2020-01-01 19:57 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...
[ "applefan@apples-iMac.local" ]
applefan@apples-iMac.local
05ccedc28827e7f52859760007d3d503f13ebc10
c3d36ee056348cd0270c0a5149aa88c9e93cb7cb
/vlasov/run/run_nonlinear_iterative_split_mp.py
b3b685ef055a4848ae6a59db71fb0d000cf82723
[ "MIT" ]
permissive
DDMGNI/viVlasov1D
8a458f26670eec6c0f97540f3822301eb4bfd5fa
901dd058711f6943eb6497b941bc115a64e822de
refs/heads/master
2019-07-31T19:57:46.611459
2018-01-10T20:05:04
2018-01-10T20:05:04
117,005,066
3
0
null
null
null
null
UTF-8
Python
false
false
17,692
py
''' Created on Mar 23, 2012 @author: Michael Kraus (michael.kraus@ipp.mpg.de) ''' import argparse, time from petsc4py import PETSc # from vlasov.solvers.vlasov.PETScNLVlasovArakawaJ1 import PETScVlasovSolver # from vlasov.solvers.vlasov.PETScNLVlasovArakawaJ2 import PETScVlasovSolver from vlasov.solvers.vla...
[ "michael.kraus@ipp.mpg.de" ]
michael.kraus@ipp.mpg.de
31dac241f989a4bbeeae1af40f0c4142ab6ba571
9ca2da1a46c7cacf70fd963162f8c0962076dd1d
/surm/migrations/0013_auto__add_actionhistory.py
e664699fc0a63bdc29c56d080657474c568a0b08
[]
no_license
tomita0119/Private-Django-Project
72e51061e8db98e6ae560d73339b1dec66dff7ca
70d8f1993025ad4ebc60432eb95c55eb721d751a
refs/heads/master
2021-01-23T03:33:50.780237
2015-05-06T05:44:10
2015-05-06T05:44:10
34,321,086
0
0
null
null
null
null
UTF-8
Python
false
false
9,072
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'ActionHistory' db.create_table(u'surm_actionhistory', ( ...
[ "hitomita@is.kochi-u.ac.jp" ]
hitomita@is.kochi-u.ac.jp
86678aa8acbd5afd83d241327c07aca5d42f7d33
b67b63ecb22e3d83db65ecd325bcccefbdbd2dbc
/pyscripts/main/for_train/result_combination_final.py
8c0d91c9cc335788dfbcb8be600c6f2b7365d85d
[]
no_license
GodCedric/KDDCUP2017
120fd425c5ed35d2b1609fdc7daf565d374545c7
34c90b81b70bcb303aa6c04812d15cd2b8ffd7c4
refs/heads/master
2021-01-23T10:57:56.142294
2017-06-02T01:42:52
2017-06-02T01:42:52
93,114,724
2
1
null
null
null
null
UTF-8
Python
false
false
1,850
py
# -*- coding: utf-8 -*- #!/usr/bin/env python import numpy as np import pandas as pd mean_time_result = pd.read_csv('/home/godcedric/GitLocal/KDDCUP2017/submission_result/phase2.5/Mean/travel_time_submission.csv') xgboost_time_result = pd.read_csv('/home/godcedric/GitLocal/KDDCUP2017/submission_result/phase2.5/xgboo...
[ "850313810@qq.com" ]
850313810@qq.com
5210c210f00f1b76e907af9abfca0de60f36059d
b30b2fd781be7b075985bc8554ee86a88cce2677
/employee_join/__manifest__.py
76b92563e198c19ca017b14b096ce054ee05989e
[]
no_license
kishanbhaliya/Odoo-Modules
f963ad6d93da3ca9366038954be08fa7ef84225d
f6257bc5701e5c5fc5495854df9516bbf0275681
refs/heads/master
2020-12-05T05:33:17.337358
2020-01-06T04:10:57
2020-01-06T04:10:57
232,021,711
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
# -*- coding: utf-8 -*- { 'name': "Employee Joining", 'summary': """ Now easily Manage employee with few clicks""", 'description': """ Manage Every details of Employee in few touch """, 'author': "Erp Harbor", 'website': "http://www.erpharbor.com", # Categories can be use...
[ "bhaliyakishan80@gmail.com" ]
bhaliyakishan80@gmail.com
506fb47d1bff8cf2385fe642e25b7f08b9059884
5be9d461559eb565b5d9c9f297f7328e9fd0fd63
/dglib/network/patch.py
5e874f844995fd252409113b83252db31dd5f758
[ "MIT" ]
permissive
ddcatgg/dglib
c98963d417fbbb3b3e5ea037c36cb15ebc742fbd
bcdd8eb60147c81f2eac76484c4c5e4492e9f5a9
refs/heads/master
2022-11-12T07:19:18.235015
2022-10-23T06:07:43
2022-10-23T06:07:43
46,962,231
0
1
null
null
null
null
UTF-8
Python
false
false
961
py
import socket import ssl def getaddrinfo_ipv4(host, port, family=0, socktype=0, proto=0, flags=0): family = socket.AF_INET return socket._origin_getaddrinfo(host, port, family, socktype, proto, flags) def patch_getaddrinfo(): if not getattr(socket, '_origin_getaddrinfo', None): socket._origin_getadd...
[ "ddcatgg@gmail.com" ]
ddcatgg@gmail.com
330e07bdf968f62e39aaa20a6f533d1b93f4ee54
6d90149fae29407fe84665a0bffef66510b82826
/graph_navigation/src/starter.py
47b22178da50acf50c524f04fa6986d92358b270
[ "MIT" ]
permissive
Norihiro02/graph_navi
f7c1dfaba0ab67566375617e7123c313d6448309
a5f1ad986539cf00f4a7596fc1ec1dc495e1e2e9
refs/heads/master
2020-03-29T15:25:34.415901
2019-08-09T09:50:43
2019-08-09T09:50:43
150,062,452
0
2
null
null
null
null
UTF-8
Python
false
false
315
py
#!/usr/bin/env python import rospy import actionlib from graph_navigation.msg import* rospy.init_node("graph_navi_starter"); c=actionlib.SimpleActionClient('graph_navi',graph_naviAction); c.wait_for_server() goal=graph_naviGoal() goal.start=0 goal.goal=4 goal.checkPoint=[3] c.send_goal(goal) c.wait_for_result()
[ "s1876011BF@s.chibakoudai.jp" ]
s1876011BF@s.chibakoudai.jp
a395b580244b142aed88453bc740a4d78ac26421
074e2815a0c3dbb03cae346560c27e409a4444e4
/drivers/ssd1351/ssd1351_16bit.py
9d2c75c185149003b96bc9cac270e8e172672775
[ "MIT" ]
permissive
maysrp/micropython-nano-gui
9127e1cbb024810ac2920c8227a448d6cf4678b1
5dbcc65828106cfb15c544bb86cc7380a9a83c47
refs/heads/master
2023-01-19T18:06:52.286059
2020-11-29T10:26:11
2020-11-29T10:26:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,266
py
# SSD1351_16bit.py MicroPython driver for Adafruit color OLED displays. # Adafruit 1.5" 128*128 OLED display: https://www.adafruit.com/product/1431 # Adafruit 1.27" 128*96 display https://www.adafruit.com/product/1673 # For wiring details see drivers/ADAFRUIT.md in this repo. # This driver is based on the Adafruit C+...
[ "peter@hinch.me.uk" ]
peter@hinch.me.uk
1bb4c3bc30449498a83dfe0238e130712e4845c6
a42b2b4e979e3e7b95fb71a4fce46d4e945e5c9b
/hello_app/__init__.py
8feeaca8d10b81e8ffe5c228dc7b780ca3e17104
[]
no_license
sagayev/vscode_flask_tutorial
f5ddc7e85e0b722f84cdc1720077c06a33efa3d4
b605904fc019777d35aa6887776aa84737d6dc68
refs/heads/master
2021-06-26T23:32:46.918207
2019-11-08T06:17:30
2019-11-08T06:17:30
220,234,767
0
0
null
2021-03-20T02:07:47
2019-11-07T12:43:03
HTML
UTF-8
Python
false
false
38
py
import flask app=flask.Flask(__name__)
[ "Samir_Agayev@cbar.az" ]
Samir_Agayev@cbar.az
b84502e337ccc1e235c0b7c3552421eed05b4437
03927f42983f61ecf001855d2c775209733558b2
/Python/DailyInterviewPro/13_Stairs.py
0f0ed596cef5d169eaed700e427c8ea3f3fd1249
[]
no_license
ashok052/code_snippets
573c481816058fc5924987d14f3a4758595c0806
9b2ae6d0977eb18d2bea5079f64c204057e501a9
refs/heads/master
2023-05-27T08:06:51.881169
2021-06-10T14:22:55
2021-06-10T14:22:55
289,623,366
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
""" Hi, here's your problem today. This problem was recently asked by LinkedIn: You are given a positive integer N which represents the number of steps in a staircase. You can either climb 1 or 2 steps at a time. Write a function that returns the number of unique ways to climb the stairs. Challenge: Can you find a so...
[ "ashokkumarvadde@gmail.com" ]
ashokkumarvadde@gmail.com
84871eb3cdc22dcffd5ec76d2aae86071a404e50
f06cf6738ff47a9ac2d77debc89d6fa8681a186e
/Code/cmp/startup8181.py
fec9b927bbf01272e38cd42a96c481eac1faea2e
[]
no_license
carrascoMDD/acv4cmp_web
25cbb46b902365d8e099f5dec51e001ba8646a8b
9628f3679d75a4c9bc7e85be26ffd9070f13309f
refs/heads/master
2021-05-27T03:52:19.953665
2014-03-25T03:45:01
2014-03-25T03:45:01
17,854,400
0
0
null
null
null
null
UTF-8
Python
false
false
4,018
py
from __future__ import with_statement import os, xmlrpclib, datetime, sys, SocketServer sys.path.insert(0, os.path.join(os.path.normpath(os.path.dirname(os.path.abspath(sys.argv[0]))), 'lib')) from DocXMLRPCServer import DocXMLRPCServer, DocXMLRPCRequestHandler from SimpleXMLRPCServer import SimpleXMLRPCServer from S...
[ "carrascoGitHub@ModelDD.org" ]
carrascoGitHub@ModelDD.org
328ae953d1241d177cd632306190037e5ea3a1da
1078c61f2c6d9fe220117d4c0fbbb09f1a67f84c
/paws/lib/python2.7/site-packages/euca2ools-3.4.1_2_g6b3f62f2-py2.7.egg/EGG-INFO/scripts/euare-servercertlistbypath
5273dd6177c560a319e8eaa8198e7b0d60df4f5c
[ "MIT" ]
permissive
cirobessa/receitas-aws
c21cc5aa95f3e8befb95e49028bf3ffab666015c
b4f496050f951c6ae0c5fa12e132c39315deb493
refs/heads/master
2021-05-18T06:50:34.798771
2020-03-31T02:59:47
2020-03-31T02:59:47
251,164,945
0
0
null
null
null
null
UTF-8
Python
false
false
235
#!/media/ciro/LOCALDRV/A_DESENVOLVIMENTO/AWS/receitas/paws/bin/python -tt import euca2ools.commands.iam.listservercertificates if __name__ == '__main__': euca2ools.commands.iam.listservercertificates.ListServerCertificates.run()
[ "cirobessa@yahoo.com" ]
cirobessa@yahoo.com
8bff300d086acab98831b5fb00493d2aeabaa4a0
8c7ccb6d38f75391e04ac421ee1885aa7b54e52e
/ludmin/tokens/token.py
194cdd58c0a67a91b31ebb654e1aaa8a8262b9ee
[]
no_license
cristianszwarc/ludmin
d1c5c3287d3c9ff05d26569c091db92a253c7c5b
1c3ee1b60158852aed135f4abf048e6f1dade95e
refs/heads/master
2021-01-19T12:37:09.020888
2017-03-13T07:27:40
2017-03-13T07:27:40
82,348,366
0
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
import jwt from datetime import datetime, timedelta, timezone class Token: """Token functions""" def __init__(self, config, token): if token: token = token.replace("Bearer", "").strip() self.token = token # store the token self.config = config # stor...
[ "cristianszwarc@gmail.com" ]
cristianszwarc@gmail.com
e1c8620a560ca4069bcc80749ec00da1a6b6bace
87277cddfc489dd7d3837ffccda2f11bb4ad43cc
/py/Task198.py
5b0fbec9bf247b0e9b9e05389fafae6b23ba0644
[]
no_license
rain-zhao/leetcode
22c01d1803af7dd66164a204e6dc718e6bab6f0e
8d47147f1c78896d7021aede767b5c659cd47035
refs/heads/master
2022-05-29T10:54:14.709070
2022-05-14T09:38:05
2022-05-14T09:38:05
242,631,842
0
1
null
null
null
null
UTF-8
Python
false
false
1,417
py
class Solution: def rob(self, nums: [int]) -> int: if not nums: return 0 if len(nums) == 1: return nums[0] # init dp = [[0, 0] for _ in range(len(nums))] dp[0] = [0, nums[0]] for i, num in enumerate(nums[1:], 1): dp[i][0] = max(dp[...
[ "rangeree@foxmail.com" ]
rangeree@foxmail.com
015aa65f99e5c66be2de2bce1dfbfcc46744a7ae
bd87e41b695b7d6c04fc4e273729ef574a4a5840
/10.自定义窗口小部件和类-记住对象/sound_panel1.py
e040304059abd338b088f7f8fb9497b4016f3771
[]
no_license
knight-peter/item-python-HeadFirst
95e0cd3159a3e4259e6a70fe747e19870ede49d6
665e5aedce5a69d9e54c3fa8fb3afdfc1d9f7130
refs/heads/master
2020-12-25T08:10:23.972193
2016-07-01T09:28:18
2016-07-01T09:28:18
60,601,171
0
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
from tkinter import * import pygame # 当这个函数被调用时,它需要三个参数 def create_gui(app,mixer,sound_file): # 这是“create_gui()”函数内的一个局部函数 # “track_toggle”函数根据复选框的状态播放或者停止歌曲 def track_toggle(): if track_playing.get() == 1: track.play(loops=-1) else: # 这些代码需要在调用“app.mainloop()”之前加到你的...
[ "xuqipeter@qq.com" ]
xuqipeter@qq.com
581477f217c0de64acb027fb57b07564e4b2d1eb
0df898bf192b6ad388af160ecbf6609445c34f96
/middleware/backend/app/alembic/versions/20201021_001556_.py
ad0a9945ac1de56f57047d383df661ef635fc9e4
[]
no_license
sasano8/magnet
a5247e6eb0a7153d6bbca54296f61194925ab3dc
65191c877f41c632d29133ebe4132a0bd459f752
refs/heads/master
2023-01-07T10:11:38.599085
2020-11-13T02:42:41
2020-11-13T02:42:41
298,334,432
1
1
null
null
null
null
UTF-8
Python
false
false
666
py
"""empty message Revision ID: 20201021_001556 Revises: 20201021_001530 Create Date: 2020-10-21 00:15:57.520730 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '20201021_001556' down_revision = '20201021_001530' branch_labels = None depends_on = None def upgra...
[ "y-sasahara@ys-method.com" ]
y-sasahara@ys-method.com
3b68fa12d0f5750f87d4df8afceef44c9d498e1d
7ebc5c0c6fdb61542262ae4da4dbfdc2fe8a502c
/maskrcnn_benchmark/modeling/roi_heads/relation_head/model_motifs.py
b0a849d58578ea020b3f79e09222bfef0188fca8
[ "MIT" ]
permissive
gyy8426/SGG-G2S-1
6e581312997b4ca09e907ffb18c28f68954cf78f
367f3e1be46d77e7bf9b475dd15544e5564c0925
refs/heads/main
2023-07-22T09:31:36.817366
2021-08-17T07:53:41
2021-08-17T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,616
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from maskrcnn_benchmark.modeling import registry import numpy as np import torch from torch import nn from torch.nn.utils.rnn import PackedSequence from torch.nn import functional as F from maskrcnn_benchmark.modeling.utils import cat from .utils_m...
[ "nobody-y" ]
nobody-y
04fee69442ca13e5bdfde4e93b1fdd06b5b40cb3
965e5ff934be67b8a1c79c0caa648de7986f8402
/Features/steps/DeleteFileTestSteps.py
63a6d9492498f251ae16d0208184aef654ee4653
[]
no_license
senthilkumar369/MegaNzUITest
07350c8fc0a8acd23c0c28aa81782db4a795741a
5685a00556cbd102975a906d6dc34998f78b877d
refs/heads/main
2023-07-04T20:32:09.052089
2021-08-29T22:39:35
2021-08-29T22:39:35
400,974,001
0
0
null
2021-08-29T07:21:55
2021-08-29T07:00:35
null
UTF-8
Python
false
false
828
py
from behave import given,when,then from pages import HomePage,FileManagerPage,LoginPage """ Given a text file with filename as <filename> When Search AND Delete the file in FILE_MANAGER Then it should be deleted successfully """ @given('a text file with filename as {filename}') def delete_TC_001_001(contex...
[ "senthilkumar369@gmail.com" ]
senthilkumar369@gmail.com
e0d543ec7e07e6f380ac3f15857fdf3679ff2001
120b42f3c61e30218966ebf5a6e218540987ecbf
/members/views.py
cf546d5034959df149fc006bdf4c7e49bf07fe5b
[]
no_license
theag/life-long-learning
4d6f819c9462e1062b919b8e85945efe844bbc89
91d4e249cbb7ab171d486330b71b6f36702702a5
refs/heads/master
2021-02-15T22:15:00.003554
2020-03-12T17:06:02
2020-03-12T17:06:02
244,935,767
0
0
null
null
null
null
UTF-8
Python
false
false
8,344
py
from django.shortcuts import render, redirect from .models import Member, MemberForm, Year, Course, CourseForm, Class, ClassForm, Location import datetime def do_year_check(): now = datetime.datetime.now() try: y = Year.objects.get(value=now.year) except: y = Year(value=now.year) y....
[ "TGegenberg@nbpower.com" ]
TGegenberg@nbpower.com
d514abdeb1b8e523cb8eb2e8c85d22dddd5b1abb
7182765088646ef1730ee3c21cc8d6a7a6899979
/plainTextMessage.py
7ae06911f1e152a13d6dc99c1dfb3b1a21a7ebc1
[]
no_license
4others/MIT_6.01.1x
cd09b9613a20e64d71954b6e09eff6e8f1c653c2
56e48962842894d9d777c0d105d9033f494c2fec
refs/heads/master
2020-04-03T22:45:41.461087
2018-11-05T21:42:37
2018-11-05T21:42:37
155,608,886
0
0
null
2018-11-05T21:37:00
2018-10-31T18:58:28
Python
UTF-8
Python
false
false
2,604
py
# -*- coding: utf-8 -*- """ Created on Wed Oct 31 22:47:42 2018 @author: xxx """ class PlaintextMessage(Message): def __init__(self, text, shift): ''' Initializes a PlaintextMessage object text (string): the message's text shift (integer): the shift as...
[ "noreply@github.com" ]
4others.noreply@github.com
c0575b433a8c29ab70c35a0583f8cb5f3bc796c3
e28a97aed712db9734e52c1c3a268582847d0ce6
/django_five/django_five/wsgi.py
ccb9f902e4152b692b847d94594ddd05f0fd7571
[]
no_license
Kasilokesh/django-deployment-example
a12d6dc532a8f0b9cd7ff2e7c48d7e8da96b11b1
8f5b62cdfa6c55d4a963680728cf5c3a19240f0d
refs/heads/master
2023-07-29T09:17:52.348422
2021-09-10T13:07:46
2021-09-10T13:07:46
405,081,498
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for django_five 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_S...
[ "kasi_lokesh@tecnics.com" ]
kasi_lokesh@tecnics.com
27d62c4fbc916972187fd5386c81dd8aa755842a
a403ba18685893d149744b160537caa39e256073
/tests/proc_003.py
3201fa0d6a7c7672aa1f12167a14f85922c8e93a
[ "BSD-3-Clause" ]
permissive
meisterluk/taptaptap
f0fa7cb55c3148387b6a6241a85de9229bb5c6dc
6fcd6d5cc098cdd29fb686d18f1f5f727b066ec8
refs/heads/master
2021-01-17T17:06:51.318888
2018-07-03T11:47:08
2018-07-03T11:47:08
17,810,224
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
#!/usr/bin/env python2 from taptaptap.proc import plan, ok, not_ok, out plan(tests=10) ok('Starting the program') not_ok('Starting the engine') not_ok('Find the object') not_ok('Terminate') out() ## validity: -1 ## ok testcases: 1 / 10 ## bailout: no ## stderr: program ## stderr: engine ## ...
[ "admin@lukas-prokop.at" ]
admin@lukas-prokop.at
20f271fee3a725b13f710ea9f07881395a941c91
49f8d8c9b3267426511ac7baa9f0829711d30538
/1051.py
124b6f95d9d7a004468ddaaf7cd592836555d1cf
[]
no_license
LinconRozendo/URI
d9130205692de688678246bb7973d53686a4eeb6
e0ac404d87e581b082098e8dc52c90d9bd952449
refs/heads/master
2022-12-12T03:31:14.813971
2020-09-07T07:06:42
2020-09-07T07:06:42
291,596,933
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
#include<stdio.h> n = float(input()) aux = 0 if n > 2000: if (n - 2000) > 1000: aux = (1000 * 0.08) else: aux = (n - 2000) * 0.08 if n > 3000: if (n - 3000) > 1500: aux += (1500 * 0.18) else: aux += (n - 3000) * 0.18 if n > 4...
[ "noreply@github.com" ]
LinconRozendo.noreply@github.com
e7299984bcff986df9c36aebf4ee981f632ba1d0
a84fc4500b8b5ec8d80ccb52ae34811790a462e9
/alexa.py
baab488ae0e4995e65b7a522d3e85400cb8dcab0
[]
no_license
appu32/alexa
50ef8c6e21a0ad37fcabe7dbdf9702f7cd0432a7
dab858658fc35a08870612ea1526b4893f04a629
refs/heads/main
2023-06-04T11:30:00.488018
2021-07-05T07:07:38
2021-07-05T07:07:38
383,046,783
0
0
null
null
null
null
UTF-8
Python
false
false
7,259
py
import pyttsx3 # pip install pyttsx3 import datetime import speech_recognition as sr # pip install SpeechRecognition import wikipedia # pip install wikipedia import smtplib import webbrowser as wb import os import pyautogui # pip install pyautogui import psutil # pip install psutil import pyjokes import pywha...
[ "noreply@github.com" ]
appu32.noreply@github.com
1ba86a36df6e577c04e6e0b98b3b7482039ff05c
50a5741e3299d80305fe2ee8250f9a6fe241b669
/HolaMundo.py
dcedd49e7e94cfb9e7d78f6af83d1e71b540a64c
[]
no_license
charlypaz/Repository1
e4097566374e426dcaba8dd115874308eeabf56a
a28a2ab256eb92d86486ee9b69577be0217d42ed
refs/heads/master
2021-01-20T18:01:17.171045
2016-08-06T17:53:44
2016-08-06T17:53:44
64,631,589
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> print "hola carlos bienvenido a Phyton" hola carlos bienvenido a Phyton >>>
[ "noreply@github.com" ]
charlypaz.noreply@github.com
e207e8460215041552640cba1dd67c59d79db97c
956fd28ea7a7ec83b62cd85691c512e735e60b3a
/bin/azure/mgmt/eventgrid/operations/__init__.py
e7dcca6122851fa842b7b3ecff4c908c0301d34f
[ "MIT" ]
permissive
zdmc23/bash-lambda-layer
5517a27809d33801c65504c11f867d0d511b2e1c
e762df0189cfb894dab2d96bae1655b8857d5efb
refs/heads/master
2021-01-05T02:32:20.765963
2020-02-16T09:41:47
2020-02-16T09:41:47
240,846,840
0
0
MIT
2020-02-16T06:59:55
2020-02-16T06:59:54
null
UTF-8
Python
false
false
1,000
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # C...
[ "191707+zdmc23@users.noreply.github.com" ]
191707+zdmc23@users.noreply.github.com
e2fe714bb3d00b6ae53efd2431b00c1a3ed70786
b56ca08eb67163d3ccb02ff0775f59a2d971d910
/backend/moderation/migrations/0009_merge_20191003_0725.py
f5847052ee467c5c2157709054ed2f2005b4a4ae
[]
no_license
globax89/dating-work
f23d07f98dcb5efad62a1c91cdb04b1a8ef021f7
bb3d09c4e2f48ecd3d73e664ab8e3982fc97b534
refs/heads/master
2022-12-11T22:45:19.360096
2019-10-16T07:01:40
2019-10-16T07:01:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
# Generated by Django 2.2.4 on 2019-10-03 07:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('moderation', '0008_auto_20190930_2116'), ('moderation', '0008_auto_20190930_0958'), ] operations = [ ]
[ "zdimon77@gmail.com" ]
zdimon77@gmail.com
2b2c6b7638437e02b0260d7de4e57a5d05946764
0dbe9398b65d4f44c9be370101a1319a457311ee
/Python-Basic(local)/OddorEven.py
8688ef1a0745fb86c48794ec90de98f326290b6a
[]
no_license
puneet87m/Python-Basics
6a102160b9bbaaa38c74a7b4d35e74b96be9b7c1
8bd8de050646272fad11957cf715d7cae05b10e6
refs/heads/master
2020-12-24T05:38:43.672372
2020-01-14T17:40:28
2020-01-14T17:40:28
62,440,391
0
0
null
2020-01-14T17:40:30
2016-07-02T07:52:39
Python
UTF-8
Python
false
false
361
py
#!/usr/bin/python3 num = int(input("Enter a numbers")) check = int(input("Enter a numbers(denominator)")) if num % 4 == 0: print("Its an multiple of four") elif num % 2 == 0: print("Its an even number") else: print("Its an odd number") if num % check == 0: print("divides evenly"...
[ "puneet87m@gmail.com" ]
puneet87m@gmail.com
ad9198743be7a0ae888193f9bebc1dc7ab8ac99d
696858827d63ae86e8952bfa07e665264a01a964
/Code/Python/Resistance_Measurements/Beta/Plot_Generation_v2.py
c9cd301601a29df3816cb99694c04ff7996f4ee3
[]
no_license
teddylew12/NIST_Measurements
4798e042fe1e4f4569978626ff7559147a8cd332
15f527b4032ca0b037f07d492cc80a87234f02c1
refs/heads/master
2020-06-24T20:38:53.709590
2019-07-26T21:47:50
2019-07-26T21:47:50
199,077,073
0
0
null
null
null
null
UTF-8
Python
false
false
40,918
py
# -*- coding: utf-8 -*- """ Have functions to generate plots showing data Created on Tue Sep 5 17:29:30 2017 @author: Soroush """ import numpy as np from pyqtgraph.Qt import QtGui import sys import Live_Plot_Functions as lpf from scipy import stats import database_v4 as d import pdb def initializati...
[ "noreply@github.com" ]
teddylew12.noreply@github.com
501484f359e376b8840d2bb7babef1f3061bd15c
658d4fa39cea001b2d098dfd1979be61c92732de
/node_modules/socket.io/node_modules/engine.io/node_modules/ws/build/config.gypi
40a32f104d3b9e64186f2160052692a7d5b8c0f4
[ "MIT" ]
permissive
bindlzhu/eb
f1ad5f7571f0aa21a820191c965d9500caa18696
d7d770bb8385f0f05399de953ad6f5fbd3a299cf
refs/heads/master
2021-04-03T04:34:11.882720
2018-03-08T12:21:15
2018-03-08T12:21:15
124,363,599
0
0
null
null
null
null
UTF-8
Python
false
false
3,665
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "gcc_version": 44, "host_arch": "x64", "icu_data_file": "ic...
[ "bin.dl.zhu@hotmal.com" ]
bin.dl.zhu@hotmal.com
0e3e892d28c69731125eab1f400dfb5cdf382315
e0b5a869c687fea3c9dda138734d25b3c5e68b88
/9. Decorators/9. 2 Exercises/Problem 1- Logged.py
22f6e5741de525740b650eedb601357d66b590f8
[]
no_license
asen-krasimirov/Python-OOP-Course
b74de5f83fb3e287cb206d48c3db79d15657c902
c6df3830168d8b8d780d4fb4ccfe67d1bb350f7e
refs/heads/main
2023-02-01T04:09:33.796334
2020-12-15T14:56:59
2020-12-15T14:56:59
309,389,119
2
0
null
null
null
null
UTF-8
Python
false
false
443
py
def logged(func): def wrapper(*args, **kwargs): func_name = func.__name__ parameters = args+tuple(kwargs.keys()) result = func(*parameters) information = f"you called {func_name}{parameters}\nit returned {result}" return information return wrapper @logged def func(*a...
[ "68907559+asen-krasimirov@users.noreply.github.com" ]
68907559+asen-krasimirov@users.noreply.github.com
ee5b2aec4843d1965c0ff178c5674442651f6460
38e2d7b8e09d9bcd5eb0cd9ac223a47fdae9b178
/Sx4/cogs/status.py
54a489198ff9055fbfa94f60ddc90000a0369d75
[]
no_license
itspapi/Sx4
72f9277e034cfa8a28db27aab1b12fa218368a2a
9ac21e1fd913920828c6567639d27a70114123a1
refs/heads/master
2020-03-26T18:33:05.053787
2018-08-17T13:31:14
2018-08-17T13:31:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
import os import discord from discord.ext import commands from discord.utils import find from random import randint import asyncio class statuses: """Bot Status""" def __init__(self, bot): self.bot = bot async def display_status(self): i = 0 while not self.bot.is_closed(): ...
[ "sc4gaming@gmail.com" ]
sc4gaming@gmail.com
67cd3a9addeb01f7471dfbc81c253851ceff58ec
686f3fec1aeff15c4040d15757c5c9be90d5da5e
/dataLoaderCdiff.py
68dfc6f59caf4a35dcd3c9b5975f85eb0976d505
[]
no_license
jendawkins/cdiff_metabolomics
6ef3a9b572002591e9f5ddc91daa5660698b08dd
0f53949b0ce762a441ed3be741d9327ec094eeca
refs/heads/master
2022-11-10T11:16:34.306032
2020-06-26T01:11:25
2020-06-26T01:11:25
265,290,750
0
0
null
null
null
null
UTF-8
Python
false
false
11,381
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt from matplotlib import colors import copy class cdiffDataLoader(): def __init__(self, file_name="CDiffMetabolomics.xlsx", file_name16s='dada2-seqtab-nochim.xlsx'): self.filename = file_name self.xl = pd.ExcelFile(self.file...
[ "" ]
cf72caa0cc36c32a4847ba0d26769b6309e70b58
74061a6ac7cbd321c4dfd86d9265619b4cc1b2ad
/network.py
a741850ddb7920d3d133c71618dd4e0d1f761fed
[]
no_license
midasscheffers/ai_learns_battle_royale
549d422508786929296a631c61c6a2e47a0868d7
2ef5eb183c3edad56fc940155057f4e3b1a495a0
refs/heads/master
2021-02-28T17:52:03.664126
2020-03-07T23:19:40
2020-03-07T23:19:40
245,719,595
0
0
null
null
null
null
UTF-8
Python
false
false
4,012
py
import random as r from node import * import math as mth class Network: def __init__(self, layers): self.layers = layers self.nodes = [] self.cost = [] for i in range(len(self.layers)): self.nodes.append([]) for j in range(self.layers[i]): ...
[ "midassceffers@gmail.com" ]
midassceffers@gmail.com
c5b79ec3430cee9cdb261dc38c2cdd58cd6a83c0
a4f3c0bcad077fccb4478c8ec9311bf5c89ba862
/hangman.py
28917b7fe766e364a02b150db1a18d26834c7056
[]
no_license
shadowaryan/Hangman_Game
e049cc884196f1349ae63934954386ff5df065bb
f4a7e4f460dcc1c62ce83dc3a9be4c7971c5ce12
refs/heads/main
2023-08-22T08:03:08.138332
2021-09-28T13:55:14
2021-09-28T13:55:14
411,302,783
0
0
null
null
null
null
UTF-8
Python
false
false
5,109
py
import random print("Its Hangman World :]") print("enter the number of words stages you wanted to play must be greater than 3") print("note:-made it below 10") Stage=int(input()) if(3< Stage <=15): words=[] i=0 '''input''' global point point=0 num=[] global health health=3 l=1 for x...
[ "borntodevelop77@gmail.com" ]
borntodevelop77@gmail.com
195afab436487bab16ad2129e56c10b58ecdeaaa
41b84970d2c2e7a2ec76c11fc40e074017b27b14
/ex6 (Sockets)/tcp/echoserver.py
3d6398565385ee5cd02bcd1298fcee56c5797dd7
[]
no_license
noblejoy20/python-tutorial-college
4614693252ba793db4f0a4855ba7a42991e5e47f
be5b578e143471c14c4af34f42aff19d1ca87734
refs/heads/master
2021-07-01T10:16:41.887106
2017-09-22T07:09:06
2017-09-22T07:09:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
import socket import sys import time from threading import Thread def sockforconnection(connection,client_address): print "In a seperate thread for the connection" try: print >>sys.stderr, 'connection from', client_address # Receive the data in small chunks and retransmit it while True...
[ "lokesh.slg06@gmail.com" ]
lokesh.slg06@gmail.com
5ac73a00ee05e85c6502d4a5358501fc0386fdb8
e2c9fe6397a7d99b3d880d24597157a846248f46
/send_email.py
a18db1607cfd11fc9b6bc5ba3da04e27fe8b3735
[]
no_license
AlphaArslan/Smart_Door_Camera
b75c99c6420f878cff8ec95a472f413cf8de8a49
40c0736f3a97276e871d13016d90a63b9320e2bd
refs/heads/master
2022-07-19T23:16:21.979110
2019-11-23T19:38:02
2019-11-23T19:38:02
218,103,911
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import smtplib, ssl import email.mime.text SMTP_PORT = 465 # For SSL SMTP_SERVER = "smtp.gmail.com" _SENDER_EMAIL = "dev.script.21@gmail.com" _SENDER_PASS = "0.9millidev" EMAIL_CONTENT = """\ Subject: Smart Camera System Alarm There is an unauthorized person at the door....
[ "arslan.alpha21@gmail.com" ]
arslan.alpha21@gmail.com
e5227a2f96a845d429c096342f226ebed73b2584
ea2fbfc84693d88608e5271c4ce3647cddbdadda
/flask-movie/apps/controllers/theaters/controllers.py
d4e2725e0942c8d9cb04420eeb607e63f8a50293
[ "Apache-2.0" ]
permissive
gureuso/first_flask
8943896b681ba1a831674394e8cd11ff4c2dbd26
0ee839bb269fcf1dfd0880b38c76e0e7bab92e86
refs/heads/main
2023-07-08T19:27:01.526126
2021-08-10T04:53:46
2021-08-10T04:53:46
394,528,580
10
10
null
null
null
null
UTF-8
Python
false
false
477
py
# -*- coding: utf-8 -*- from datetime import datetime from flask import Blueprint, redirect, url_for, render_template from flask_login import current_user from apps.common.auth import signin_required from apps.database.models import Showtime, Theater, TheaterTicket app = Blueprint('theaters', __name__, url_prefix='/t...
[ "wyun13043@gmail.com" ]
wyun13043@gmail.com
915597ed60c80192a3ea7c652ca9ce6cd0a4d85d
9fcc0fc4e8fe9fd2618ad9506594811685cbe065
/lt_cmu.py
73895d53c24cfe4949402d2e2e037a74250b57ba
[]
no_license
cheezebone/Timit_Phoneme_Recognition
36a1617a02449184c1cc6f5f4b91c8f30bf1b20f
b7fc8318d160828d03371fee3424ca494387a102
refs/heads/master
2023-01-19T02:17:11.012204
2020-11-23T12:33:06
2020-11-23T12:33:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
from persephone import corpus from persephone import corpus_reader from persephone import rnn_ctc lt_corpus = corpus.Corpus("fbank_and_pitch", "phonemes", "lt") lt_corpus = corpus_reader.CorpusReader(lt_corpus, batch_size=32) model = rnn_ctc.Model("exp_cmu/", lt_corpus, num_layers=3, hidden_size=256) # model.train(max...
[ "virtuoso.irfan@gmail.com" ]
virtuoso.irfan@gmail.com
f88d208695bc93feef493bc8bdacc7d236166cc0
c924904e8753b7b61e4a5d049db26e24b63c02d1
/virtualenv/passOrganiser/passwords/views.py
26622743e9c381c9e52c284e1c7455351d6b18c9
[]
no_license
DanielAves/Password-Organiser
940c2f5416ce5d52f8f33c7bbf43886144e95f14
b6dbed4d9a28cfe0ce5585ad264f35b2f502ad00
refs/heads/master
2023-01-31T00:50:50.887085
2020-12-17T20:35:14
2020-12-17T20:35:14
287,767,937
0
0
null
null
null
null
UTF-8
Python
false
false
5,251
py
from django.shortcuts import render, redirect from django.http import HttpResponse from .models import * import base64 from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC from cryptography.fernet impo...
[ "sc16da@leeds.ac.uk" ]
sc16da@leeds.ac.uk
f92d2c704f7a53697f0353b26fd71bd638ce6705
f9c70725a374d7704f6d974cf0cc7cf72a5e7d66
/losses.py
9bfff14158c821fb7fd0f35e0be3ebd4be88ab6e
[]
no_license
ChocoWu/offensive-language
a6c99ba002a6d539040efa675c27a444a617b88a
c8f50ceec4bb449d75e118632a09d1538cf64580
refs/heads/master
2021-07-24T16:38:41.618069
2020-06-27T10:06:28
2020-06-27T10:06:28
190,844,499
2
0
null
null
null
null
UTF-8
Python
false
false
3,418
py
#!/user/bin/env python3 # -*- utf-8 -*- # author shengqiong.wu import torch import torch.nn as nn import torch.nn.functional as F class TripletLoss(nn.Module): """ Triplet loss Takes embeddings of an anchor sample, a positive and a negative sample """ def __init__(self, margin): super(Tr...
[ "wushengqiong@hotmail.com" ]
wushengqiong@hotmail.com
7283b577fcf57b22afbd30f5d695d80a80436a2d
1a6becf811ae864a3d2ff8341f9345cdac9ba7b1
/src/apps/profiles/tests/test_views.py
b10ea2221162afa5b493b261f8578779b5c00330
[]
no_license
dselivanovskaya/MathHelp
b230d925d9d0959f115366441789a6e89fb71324
ab31200671e0d1d7742360c1e365cbba2d69e6cb
refs/heads/master
2022-11-23T22:03:32.421600
2020-12-19T13:58:17
2020-12-19T13:58:17
238,467,311
1
1
null
2022-11-22T05:50:14
2020-02-05T14:18:14
Python
UTF-8
Python
false
false
1,560
py
from django.test import TestCase from django.urls import reverse from tests.data import MALE_USER from profiles.views import ProfileUpdateView class ProfileDetailViewTest(TestCase): @classmethod def setUpTestData(cls): cls.user = MALE_USER.create() cls.profile = cls.user.profile cls...
[ "defytheflow@gmail.com" ]
defytheflow@gmail.com
4b1ca7273e81c86d22e8a9d51fd766da183b9f06
f288f81e239d60ecb94ed455cf006418548c9702
/venv/bin/pylint
bbd8d3acaf96c8c680533381d29f41834df74845
[]
no_license
GSIL-Monitor/test_source_import
ac1b84bdd055fc31837cf9e6b4c2ebd0bc231d11
5256352af2d4e9e6e462960608a62b7d781acb57
refs/heads/master
2020-04-24T14:07:56.117085
2018-05-23T17:20:16
2018-05-23T17:20:16
172,009,634
0
0
null
null
null
null
UTF-8
Python
false
false
266
#!/Users/gesteves/sources/crawler-python-github/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_pylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_pylint())
[ "esteves.gean@gmail.com" ]
esteves.gean@gmail.com
6ea78f9ff0470b0749a857243842078fe6ab300d
5f817df8aab6ad5e0208447a4f847637d71e8bd6
/opi2_1.py
177d042318485548f0b1c505b9c5ab5e81e5ecba
[]
no_license
mrVandermond/education
18d492141d6263233b8ca2fd20203b1de42ebca5
315007b7a85319f9ad782a29c0f4d60481c4703e
refs/heads/master
2021-04-28T13:10:18.347293
2018-05-15T06:30:45
2018-05-15T06:30:45
122,098,639
0
0
null
null
null
null
UTF-8
Python
false
false
2,353
py
#method NewTon import numpy x0 = [1.5, 0.1] eps1 = 0.05 eps2 = 0.25 M = 100 def nabla(x): res = [] res.append(2 * x[0] - x[1] + 1) res.append(16 * x[1] - x[0]) return res def f(x): return x[0] ** 2 + 8 * x[1] ** 2 - x[0] * x[1] + x[0] def fi(x, t): nabla_res = nabla(x) return (x[0] - t *...
[ "kirill.guyda32@gmail.com" ]
kirill.guyda32@gmail.com
edacf9cfce5b069972303074f24fded09f89fe81
19c2f173d3d5384710b9271853fc3e1e60a054e2
/env/bin/pip
28e2a8a511905191e3cd014074c7318b9333df4b
[]
no_license
rahonur/hellosisters
8cd1332ccb7a347c00383bb643bd14a27f781b9f
94da959d4be276e280ca5e1049a1c566523c9d60
refs/heads/main
2023-01-24T02:57:31.518942
2020-11-30T22:53:59
2020-11-30T22:53:59
314,942,537
0
0
null
null
null
null
UTF-8
Python
false
false
265
#!/home/vagrant/src/hello-sisters-master/env/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
f67841dd742b3d42f0408cb963d27b825d155ab1
29f8aa5b6e2262de905e4a40eb3e8f47d22a4738
/api/tests.py
5e53face1549a0ba9445dd01c5777eb2416722d5
[]
no_license
beskorsy/lom_server
b18988b310389317647a8bb0a513599f8cc5f270
97de06d64caf223b53f111e664b88691f6e1701c
refs/heads/master
2021-05-01T12:12:00.964837
2018-07-13T21:28:52
2018-07-13T21:28:52
121,060,502
0
0
null
null
null
null
UTF-8
Python
false
false
2,560
py
from django.test import TestCase from api.models import Customer class ModelTestCase(TestCase): """This class defines the test suite for the bucketlist model.""" def setUp(self): """Define the test client and other test variables.""" self.customer_name = "Write world class code" self...
[ "besn1989@gmail.com" ]
besn1989@gmail.com
04f7bc385f1b8ac6d86d0e075bc5edae8a51d202
bf99b1b14e9ca1ad40645a7423f23ef32f4a62e6
/AtCoder/abc/158a_2.py
048e2b8a5c7f0c3a977f8d7b8756d1db030f8749
[]
no_license
y-oksaku/Competitive-Programming
3f9c1953956d1d1dfbf46d5a87b56550ff3ab3db
a3ff52f538329bed034d3008e051f30442aaadae
refs/heads/master
2021-06-11T16:14:12.635947
2021-05-04T08:18:35
2021-05-04T08:18:35
188,639,647
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
S = set(list(input())) print('Yes' if len(S) == 2 else 'No')
[ "y.oksaku@stu.kanazawa-u.ac.jp" ]
y.oksaku@stu.kanazawa-u.ac.jp
2a932c10245098c0fb373ff5ce2a4dc2c19eace9
e08214388c46eabdcdcaecc4958db30ca2e5bfe8
/download_audio_and_video.py
764a0f328ebff7f124cacfa62cbf4f24fa39b3bf
[ "MIT" ]
permissive
openmindednewby/Extract-YouTube-content-with-python
978deb5f769ff6590c785560294bf39737078b3f
a677658700da2bb652982d123a77e8bfa0570c90
refs/heads/master
2022-08-06T16:19:21.844398
2020-05-24T15:14:35
2020-05-24T15:14:35
266,495,352
1
0
null
null
null
null
UTF-8
Python
false
false
1,730
py
'''Downloa YouTube audio and video using youtube-dl''' import module_youtube_extract # specify desired youtube URL URL_I = 'https://www.youtube.com/watch?v=Tx-qXGGlF6k' # specify desired file name FILE_NAME_I = '%(title)s.%(ext)s' # Specify desireable download formats if Function 5 is executed. # The list of avai...
[ "noreply@github.com" ]
openmindednewby.noreply@github.com
311986559dd1ca8ad579265deb5d9f1b8fd537e1
52c432d0dec301ce7eed3dd355cd306ca96a0beb
/stable_baselines3/dqn/dqn.py
bd3ad4b796825adad11cab95661f35374a799e7d
[ "MIT" ]
permissive
lenroe/stable-baselines3
a8ef497b8f681aa6f91460c4159cb668ff6cd453
fd0cd82339511b54cd3907df228a656f2a32f0b8
refs/heads/master
2023-05-20T14:23:02.975272
2023-05-08T11:48:26
2023-05-08T11:48:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,838
py
import warnings from typing import Any, Dict, List, Optional, Tuple, Type, TypeVar, Union import numpy as np import torch as th from gymnasium import spaces from torch.nn import functional as F from stable_baselines3.common.buffers import ReplayBuffer from stable_baselines3.common.off_policy_algorithm import OffPolic...
[ "noreply@github.com" ]
lenroe.noreply@github.com
7fdd918d071dc5f3107673de40b29f0065b5ccae
19520a36d028445af908d5240cd317b9a53019dd
/tests/basic/playback/test_rtc9798_tc_ply_007_playback_subtitles.py
13713f5b1fc9a8eede92c7df39428a3e0baa4e09
[]
no_license
rrajeshm/test-project
0e9f2fe844f2b7e8679eedbc460d81d626156dec
02360a3908fe84fb9fcf0d8a6ddf938f32329110
refs/heads/master
2022-05-09T02:26:29.025730
2019-07-24T07:30:40
2019-07-24T07:30:40
198,578,089
0
0
null
2022-03-29T21:57:24
2019-07-24T07:04:11
Python
UTF-8
Python
false
false
3,112
py
import logging import os import pytest import requests import yaml import helpers.constants as constants import helpers.models.recording as recording_model import helpers.notification.utils as notification_utils import helpers.utils as utils import helpers.vmr.a8.a8_helper as a8 import helpers.vmr.rio.api as rio impor...
[ "makkadr@cisco.com" ]
makkadr@cisco.com
d52622fe2fb7eff983b5ceae2d482060b27eeab7
d3cfb8e7de6747776e5e03f5285ec4fd288481a3
/d_girls/bin/pip
495a3d8722236c0bf12432ffc22b7004ea71bc73
[]
no_license
andreayully/DjangoGirls-
095e5825990b8c719bf8463ecf56145449b3cd88
031ad4d4a292e8918193131cab886cab9266dc1f
refs/heads/master
2020-06-10T01:18:03.329612
2016-12-10T17:17:25
2016-12-10T17:17:25
76,118,608
0
0
null
null
null
null
UTF-8
Python
false
false
239
#!/home/andreayully/Django_girls/d_girls/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "yully.guzman@correounivalle.edu.co" ]
yully.guzman@correounivalle.edu.co
651b41477eb783e43838a7e8f5453534df8966d6
3df39118dcdbdb479720ccefc1e0ad84999fa544
/scripts/helper.py
788e98e59a4d6dba9a4a0135d129d9a6e34e7792
[]
no_license
ajcj151/ecdl
1b9d2aca171e44222509bbf40b373e7b02aa8b33
974f0674acd71d81685c2aa5dbf1b62e31b81e79
refs/heads/master
2020-03-28T15:22:04.766104
2017-07-08T20:34:13
2017-07-08T20:34:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
def parseInt(n): return int(n, 0) def read_int(prompt): s = raw_input(prompt) s.rstrip("0x") return parseInt(s); def read_string(prompt): return raw_input(prompt) def main(): p = read_int("p:") a = read_int("a:") b = read_int("b:") n = read_int("n:") gx ...
[ "" ]
77d8342e70673e1db3c501fe558bc7e3fc2372d8
a19240d75d36ad2cd8dc1b06fbdb47f7a4898351
/model/detection/protos/optimizer_pb2.py
c7f64cd7af715a9314c52752bf9ae2c310007e2f
[]
no_license
Zumbalamambo/deepcv
eec2346f3b570123d33532461ec2730cd527529c
1c79798d329732857d6bca19b4ec32b2f1fd1f61
refs/heads/master
2021-06-20T17:31:38.400692
2017-07-06T10:05:51
2017-07-06T10:05:51
97,392,294
1
0
null
2017-07-16T15:24:36
2017-07-16T15:24:36
null
UTF-8
Python
false
true
21,908
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: model/detection/protos/optimizer.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 google.protobuf im...
[ "sjsanlang@qq.com" ]
sjsanlang@qq.com