blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
5ec4adef5b21520747e106af5d1de30527e70bf7
a84ebe7120fa09fa70b5f8b99619d9e50bfad4e3
/tp4/ex2/boutabout.py
de3a32092ff8034b7da7dd889a9fdb10df813366
[]
no_license
Kevin-Grgd/TP_Outils_Info
e8317fd132914ed736d3ee881fd4f28ca858136b
9591dcaedb6a9c72efe35c06aee9558ee6023361
refs/heads/main
2023-01-19T01:54:23.078363
2020-11-27T10:59:27
2020-11-27T10:59:27
316,474,447
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
def bout_a_bout(ch1, ch2): print("L1 :", len(ch1)) print("L2 :", len(ch2)) l = len(ch1) + len(ch2) print("Total :", l) return ch1 + ch2 print("Jamais") a = "Toto" b = bout_a_bout(a, "Titi") c = bout_a_bout(a, b) print() print(b) print(c)
[ "noreply@github.com" ]
noreply@github.com
31d2e9346836276bd48ea300ebbfd77901710115
623d737eae96c7f5081767fb3eec5f796a4746ca
/ToDo_App/ToDos/views.py
d2d7206f8bf6c0414f9f5990d53868524f4b0dac
[]
no_license
Daurigu/ToDo-App-Django
037e14b14e77296b73c39d67bfa0141fdcc5baf7
000e944dbbf18d0743c9c637ca76c91843d8f5f2
refs/heads/master
2022-07-15T02:28:49.364088
2020-05-19T02:25:21
2020-05-19T02:25:21
264,742,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
from django.shortcuts import render, get_object_or_404, redirect from ToDo_App.form import todo_form from .models import Todo # Create your views here. def view_main_todo(request, *args, **kwargs): form = todo_form() if request.method == 'POST': print(request.POST) form = todo_form(request.POS...
[ "daurigu@outlook.com" ]
daurigu@outlook.com
d103b3f0053ec9921f4c7434b0e933b2e279f4a1
9023153e17338fde4be547340b975b70a75ff8d7
/secondquestion/preprocess.py
fff628575dc11b6f5c31154a35a9be4fa4839da4
[]
no_license
tiaotiaosong/CMB_bankrace
92975b09e6deb4d64ba9867710d32ebe5985bae5
ed892862e34409787187db75fc0cdf7a2e0ab757
refs/heads/master
2020-06-04T06:25:34.429357
2019-06-14T08:14:13
2019-06-14T08:14:13
191,903,718
1
0
null
null
null
null
UTF-8
Python
false
false
702
py
import pandas as pd import matplotlib.pyplot as plt f = open('b6bce3abb838406daea9af48bf059c633.txt',encoding='UTF-8') QRTA_NUM=dict() next(f) for eachline in f: Record=eachline.split() Record[0] = pd.to_datetime(Record[0]) if(Record[1]=='QRTA'and Record[3]=='32'): if(Record[0] not in QRTA_NUM): ...
[ "chduan_10@163.com" ]
chduan_10@163.com
30c2f27da31b131a2f06e09ba7e7ee586629ad89
33213395f9b7606da83003d9f89966af16a47ed7
/proyecto/aplicaion/views.py
8cc778e4ba513cb76491635765690c539a913e97
[]
no_license
sofiamanana/proyectoAnalisis
e75866d306424e37296c018da9cb7ee34a6450b4
3d7914dc2f6ef7813bd4672ada1cd57e01e24e26
refs/heads/main
2023-02-10T22:14:28.913022
2021-01-09T00:59:37
2021-01-09T00:59:37
311,785,039
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
from django.shortcuts import render from .models import File, Reportador from .forms import FileForm from django.http import HttpResponse from django.contrib.auth import authenticate from django.contrib.auth.forms import AuthenticationForm, UserCreationForm from django.contrib.auth import login as do_login from django....
[ "sofia.manana@sansano.usm.cl" ]
sofia.manana@sansano.usm.cl
5e5af9b505acb2bba1a018c991379d63e548cd60
411a36e480bae8d7a5f3522be6bd8455d10ad256
/771. Jewels and Stones/s2.py
63e4d7926892027160f8fda73aa2373c40590e07
[]
no_license
rayony/LeetCode
8f48cf17e2073fe0b2b0e92a4a090a1c937cd128
c3489131917ae3ef04047d887405bea3967122da
refs/heads/master
2020-04-15T09:39:01.464909
2019-01-15T06:42:19
2019-01-15T06:42:19
164,559,733
0
0
null
null
null
null
UTF-8
Python
false
false
555
py
class Solution: def numJewelsInStones(self, J, S): """ :type J: str :type S: str :rtype: int """ #init dict using J dict = {} for i in range(len(J)): dict[J[i]]=0 #update count by comparing dict and S ...
[ "noreply@github.com" ]
noreply@github.com
3136f20917b2a34d79434bb479a0d2de152e14b5
f19de30c28ff2e962dca6bc74fd8f725b29104a7
/python/paddle/fluid/tests/unittests/dygraph_to_static/test_loop.py
9b673bdcd1b958f75508c0457d1874cca6c4c52a
[ "Apache-2.0" ]
permissive
iclementine/Paddle
9d56d614731dc4042aaffff7c7ad9c0f30f6ae01
1cb6d68fd3f32b53eb3ebd8f8a4fa27d502f8a38
refs/heads/develop
2023-05-02T09:30:09.964347
2020-04-03T04:57:36
2020-04-03T04:57:36
158,829,753
0
0
Apache-2.0
2023-03-29T10:40:58
2018-11-23T12:26:32
C++
UTF-8
Python
false
false
6,144
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # 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 app...
[ "noreply@github.com" ]
noreply@github.com
4c7b6db17e6ab694ca109668ca14e6cdd9f31deb
e43488a799f03823d2eb9c0c6e9ee2727ca8ee5f
/agetoclassIndia.py
7b2653e39dd3e796f72bb54a2b84d177c8371981
[]
no_license
lekuid/Practice
efcaa8125782c582f162b3a01c455c775b8cc74b
dd28f2aeeb9bf7dc17a467088fa705c618920bdc
refs/heads/main
2023-02-25T11:36:05.041165
2021-01-19T12:25:01
2021-01-19T12:25:01
319,907,882
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
#consideirng pre school and mursery, this specific code #is to help me write a blog because I have terrible memory. import tkinter as tk def age(n): if n in range(0,4): returned['text'] = 'preschool' elif n in range(5, 17): returned['text'] = 'class {}'.format(n-4) elif n in range(17, 21): ...
[ "business.lekuid@gmail.com" ]
business.lekuid@gmail.com
82462b3b84eb3dd1a80c3d879d724b7466866733
2e559f86d68b67b1602de4b1f1e358fbc7e688a3
/django_learn01/django_learn01/urls.py
2a0aebc699d9b77eac27a9ea94df02a99e291478
[]
no_license
xinyifuyun/django_learn
96e0f80c3d85b85846bbde6cedc326f164b32349
e56528de652ca5f40b8993ea19c3ff6dc52d6ef6
refs/heads/master
2021-09-10T08:01:24.943357
2018-03-22T14:25:11
2018-03-22T14:25:11
126,127,264
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
"""django_learn01 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') C...
[ "ld.xu@holaverse.com" ]
ld.xu@holaverse.com
25f5973f8ab2a851097482e039611a07073c7937
576f7b951191d6095df8bc2691c8ad7045d55447
/Basics/ws1.py
2c093682f5dd9b60db3a8e6edd46257ee45a4641
[]
no_license
golam-saroar/Python_Learning
f555368420ef65ceef9a80349b9c3bae2c6842b9
c077a8c2e5738b47cb301f07806af5a4c6714dff
refs/heads/master
2021-09-22T09:31:35.907800
2018-09-07T09:14:25
2018-09-07T09:14:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
import time from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.keys import Keys browser = webdriver.Chrome() browser.get('http://www.google.com...
[ "golamsaroar89@gmail.com" ]
golamsaroar89@gmail.com
595a03475ccae6898dc86f756ac94ef70b4626a8
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/resources/get_tag_at_scope.py
b09a7ed0b50a69f536be91e3e72e2d84977b5b39
[ "BSD-3-Clause", "Apache-2.0" ]
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
3,078
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 from...
[ "noreply@github.com" ]
noreply@github.com
bad61a3f30fe9c35194f7b6e7b9709ce2ead722e
e3ff9e938e07be5b8d853d85dc8eccca09de380e
/hw_02-equiprobability/B2-observable-x-position-markov.py
3683d15a4e0e24fbcbc0f1044bbda277dd569bcb
[]
no_license
pallavsen007/statistical_mechanics
ce0039928fbd050a1e8db0a4c22c0f9360a2c6f6
bd0377b85628c064ba5dc9cf52ac200864d745e4
refs/heads/master
2021-12-12T00:58:53.472651
2016-11-30T17:04:27
2016-11-30T17:04:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
#Problem B1: equiprobability for observable=x-position import random, pylab # update disk configuration L using markov chain algorithm # L = current disk configuration # delta = step for markov chain algorithm # sigma = disk radius def markov_disks_box_update(L,delta,sigma): a = random.choice(L) b...
[ "trap@Thomass-MacBook-Air.local" ]
trap@Thomass-MacBook-Air.local
ab61f660d0a067e4735543d8f22852731a7d8493
604ae72a87d4cd5774fb717f60e7ebc6b3466aad
/DecisionTrees/prepareData.py
fd4c1a8bde71ee58f36ca0d2472c4b2f92f54209
[]
no_license
remalcodex/MachineLearning
ed2e495057b9fdd732eee591c86048cb06667232
f3f1ea8660bfc3046877c425c3916b266c277778
refs/heads/master
2021-09-11T20:38:00.830789
2018-04-12T02:56:12
2018-04-12T02:56:12
105,211,815
0
0
null
null
null
null
UTF-8
Python
false
false
4,859
py
import numpy as np import os.path #Returns the data for features from 1-6 only. def getData(inFileName): my_path = os.path.abspath(os.path.dirname(__file__)) path = os.path.join(my_path, "./Updated_Dataset/" + inFileName) trainingFile = open(path, "r", encoding="utf8") Y = np.empty((0,1), int) X =...
[ "technoremal@gmail.com" ]
technoremal@gmail.com
0b7d0fdaa4a71396493f6b461f3dbe60336569d7
03e424616ef4783c28f1ea57a7886aa76aa55edd
/NanoGardener/python/data/VBSjjlnu_vars.py
5321b2ece5c960492c3afcca12b0d7c32e7d932c
[]
no_license
dbrambilla13/LatinoAnalysis
8dd7751a6793012f12bbe3db4bfd0ba93bdb2716
f3a17a095450d200af7d278137f2f089e8f0d8b8
refs/heads/master
2021-03-19T03:11:43.998028
2020-03-12T14:47:55
2020-03-12T14:47:55
247,127,553
0
0
null
2020-03-13T17:44:49
2020-03-13T17:33:04
null
UTF-8
Python
false
false
12,050
py
from itertools import chain from math import cosh, sqrt, cos from ROOT import TLorentzVector VBSjjlnu_branches = { "F": [ "vbs_0_pt", "vbs_0_eta", "vbs_0_phi", "vbs_0_E", "vbs_1_pt", "vbs_1_eta", "vbs_1_phi", "vbs_1_E", "vjet_0_pt", "vjet_0_eta", "vjet_0_phi", "vjet_0_E", ...
[ "davide.valsecchi@cern.ch" ]
davide.valsecchi@cern.ch
0437af2fc9abfade8c541e3cbbf7a3bb016088c4
7e1257fd3a05089fdf80fd67e8ec75eed955e711
/prdnn/tests/test_ddnn.py
0b926f85d28e063ea1cbc2844139b9507b9f34a7
[ "MIT" ]
permissive
terminiter/PRDNN
f1ea156f01957bda3d8205c4ca4bcd26882e0c09
b6ca37ba8fd617c7cf9620faac88484603e5d2fe
refs/heads/master
2023-06-05T09:18:08.448607
2021-06-30T04:01:56
2021-06-30T04:01:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,966
py
"""Tests the methods in ddnn.py.""" # pylint: disable=import-error import numpy as np import torch from pysyrenn import ReluLayer, FullyConnectedLayer, ArgMaxLayer from pysyrenn import HardTanhLayer, MaxPoolLayer, StridedWindowData try: from external.bazel_python.pytest_helper import main IN_BAZEL = True except...
[ "matthewsot@outlook.com" ]
matthewsot@outlook.com
0408eac5351346b0ff7ff4b4a372638c9d42f71c
142696a656d98f2028f6fadd7af2e88ac9627f6e
/setup.py
08abbc801c6e16e22857dcfa2a8e0bc67156b9b0
[ "MIT" ]
permissive
akeshavan/mindlogger-build-applet
2806b32032361dcfa8d0afc41ec41e286ecc6f13
02cc39a0f1dad57dae096ef9897c8e2daba90aee
refs/heads/master
2020-06-10T04:58:19.316646
2019-07-01T23:05:21
2019-07-01T23:05:21
193,588,997
1
5
MIT
2019-08-08T21:06:04
2019-06-24T22:22:59
Python
UTF-8
Python
false
false
1,260
py
import io import os import re from setuptools import find_packages from setuptools import setup def read(filename): filename = os.path.join(os.path.dirname(__file__), filename) text_type = type(u"") with io.open(filename, mode="r", encoding='utf-8') as fd: return re.sub(text_type(r':[a-z]+:`~?(.*...
[ "keshavan@berkeley.edu" ]
keshavan@berkeley.edu
c61dd8153595d6524f1c0e3b80656d527633d6db
7e11caaad1281f2310da9ad4f2cd9f4993ffb011
/shop/wsgi.py
a0c369bbcf815d8088a3478fa65651207e94945f
[]
no_license
pabloparejo/djangoShop
12c4384868ce17f5f8d4c88e9b9ab01d384b3ea0
958cf6203948a5098f0823eec487fae6dbda2765
refs/heads/master
2016-09-08T00:23:48.798809
2014-09-15T18:21:23
2014-09-15T18:21:23
18,875,015
1
2
null
null
null
null
UTF-8
Python
false
false
417
py
""" WSGI config for shop 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.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "shop.settings") from django.core.wsgi impo...
[ "parejo.p@gmail.com" ]
parejo.p@gmail.com
19cede5124e49deb4814d49a47c9a1de937157cd
5cfa25aec2161d40df7fb850ed8d405738aaed35
/ya_disk.py
d13ca54e921bf14f63a64ccd879ca0f4d0aa9b1b
[]
no_license
fatrunner-39/netology-course-work
08673ef28b8bf18656ee7a34958208480227f967
9df34efbb1a3d62bc6d1ca9975918edd60996115
refs/heads/master
2023-08-15T15:43:25.373906
2021-10-09T09:05:58
2021-10-09T09:05:58
408,377,198
0
0
null
null
null
null
UTF-8
Python
false
false
1,769
py
import requests import os from tqdm import tqdm # folder = os.chdir(r"C:\Users\alexa_000\PycharmProjects\course_project_python_first\avatars") # files_list = os.listdir(path=folder) # print(files_list) from pprint import pprint TOKEN = '' class YaUploader: def __init__(self, token: str): self.tok...
[ "koenig0291@gmail.com" ]
koenig0291@gmail.com
de0138bc9e16846f031b9be1b5ebb4076f803c7f
a7bd4d4592ce0f6bf7603476f7a401507d8d0b0f
/Recommender/test.py
8d198beff932e6a99593321c0f87d72c0ec1032b
[]
no_license
shsheep/Data_Science_Study
2ee1dd9e96924cf8284fc82d6b4b47ba03f22e7c
4fea310be4e3959654d5515a47036d13cda5e84d
refs/heads/master
2020-06-11T01:56:37.033674
2019-06-26T03:16:55
2019-06-26T03:16:55
193,820,942
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
import numpy as np normal_array = [[1,2,3], [4,5,6], [7,8,9]] obj_array = np.array([[1,2,3], [4,5,6], [7,8,9]]) print(normal_array) print(obj_array) print(obj_array.shape())
[ "shsheep@hanyang.ac.kr" ]
shsheep@hanyang.ac.kr
69c51de4be08b8d11da57eac0f5f0acc6f14e3b9
ef64586d1ffda27abd7b4b1b41ac3264d611b6c5
/src/panda-3.py
b91d4168afc7ab7b66e4039788f8de81f254f666
[]
no_license
diegoami/Udacity-data-analisis
bccdcb6e4c913fd61f89a4ebfce444f48ffaccdf
8547d2c0ea474d637bd09396648f58e66df0d3e4
refs/heads/master
2021-01-21T11:30:33.791834
2017-06-15T17:36:51
2017-06-15T17:36:51
91,745,196
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
import pandas as pd s1 = pd.Series([1, 2, 3, 4], index=['a', 'b', 'c', 'd']) s2 = pd.Series([10, 20, 30, 40], index=['c', 'd', 'e', 'f']) # Try to write code that will add the 2 previous series together, # but treating missing values from either series as 0. The result # when printed out should be similar to the foll...
[ "diego.amicabile@gmail.com" ]
diego.amicabile@gmail.com
6be799833292d2cc19957234d12a5cb7b6e2778b
681f7a4c9d83a02ae5663898649070820d84a2cd
/dream.py
02852dd8bd37e556db80219b07fc30a95ce03328
[]
no_license
romanbelaire/DeepDream
9b04e3fcbaa52c4657ef1235946474bb327f3ffd
2b334758a84b83fdd06314013a7019bfd64a5221
refs/heads/master
2020-04-25T01:02:42.957515
2019-03-10T21:06:16
2019-03-10T21:06:16
172,397,152
0
0
null
null
null
null
UTF-8
Python
false
false
17,150
py
#DEEP DREAM PROJECT #ROMAN BELAIRE import numpy as np import scipy import PIL.Image import os import h5py import argparse import tensorflow as tf from tensorflow import keras from keras.preprocessing.image import load_img, save_img, img_to_array from keras.applications import inception_v3 from keras import backend as ...
[ "romanbelaire@csu.fullerton.edu" ]
romanbelaire@csu.fullerton.edu
ebd1f22351359902b00f6777b74785355bb7f50f
b867e7996b27f2ba23139baa4f98e3ac87379936
/Moon.py
55d5a37af20a742cef8d91f2177b24484a6d07e8
[]
no_license
msawhney97/Space-Game
509f855678072e04197f98a4f802393a3eb65001
c05292e412c0f18be2d5023dadf65ffac202c4d1
refs/heads/master
2021-01-25T07:44:31.185069
2017-06-07T17:10:12
2017-06-07T17:10:12
93,659,493
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
import pygame from math import sin, cos from GameObject import GameObject class Moon(GameObject): @staticmethod def init(angle=90): Moon.moonImage = pygame.transform.rotate( pygame.transform.scale( pygame.image.load('images/cartoon-moon.png').convert_alpha(), (100, 100)),angle) def __init__(s...
[ "noreply@github.com" ]
noreply@github.com
9ba654fc94ab5bd647ac7e9bf67182c4e3b39850
bb37574bc39e1e90b43b8fe874c96955dc88a814
/mats/__init__.py
2401b9e1a7c1c81ebec4afaebfeeec1e75c8fef6
[ "MIT" ]
permissive
martinbra/mats
a7975cf4323be55b94087d51ba746b247a83eaed
5fae5cdd405be586bfad821c2335ee980a851f4c
refs/heads/master
2022-11-21T16:01:33.235316
2020-07-29T19:13:37
2020-07-29T19:13:37
258,060,134
0
0
MIT
2020-07-29T19:13:39
2020-04-23T01:14:40
null
UTF-8
Python
false
false
379
py
import coloredlogs import logging from mats.archiving import ArchiveManager from mats.test import Test from mats.test_sequence import TestSequence from mats.tkwidgets import MatsFrame from mats.version import __version__ __all__ = ['Test', 'TestSequence', 'ArchiveManager', 'MatsFrame', '__version__'] coloredlogs.in...
[ "slightlynybbled@gmail.com" ]
slightlynybbled@gmail.com
22e72933ceb95fe59a488becf877035854228656
594349a97cf47ef1e70bac053b1be5762e16e8ac
/project/__init__.py
ccd0818cb24ae4a50b47d105e3eb7155ca14274f
[]
no_license
ctma/flask_tutorial
9b9b17fde629f79f3b511255450409372754b5a5
df3e395ba00053886751c1948acc7abd1e4af654
refs/heads/master
2021-07-15T22:27:01.004567
2017-10-22T20:45:52
2017-10-22T20:45:52
107,901,257
1
1
null
null
null
null
UTF-8
Python
false
false
946
py
import os import datetime from flask import Flask, jsonify from flask_sqlalchemy import SQLAlchemy # instantiate the app app = Flask(__name__) # set config app_settings = os.getenv('APP_SETTINGS') app.config.from_object(app_settings) # instantiate the db db = SQLAlchemy(app) # model class User(db.Model): __tabl...
[ "macharlest@gmail.com" ]
macharlest@gmail.com
55e1835554328c64f71bbf8f81aa177437af3cea
95a4eede263cd24d8a31ff5e478cb86d79877c3c
/Zgony.py
28bcdb6518121a0560b2d5ebbdc2157cb4bf35f8
[]
no_license
lewiis252/baza_covid19_Polska
a91cae0822a8595c8eb12490df4348dc7d554d3f
875967368e8a3563379e83a34588a3f0359ecccb
refs/heads/main
2023-08-04T18:18:33.346238
2021-09-14T06:22:00
2021-09-14T06:22:00
406,246,154
0
0
null
null
null
null
UTF-8
Python
false
false
1,721
py
import matplotlib.pyplot as plt import numpy as np import pandas as pd from datetime import date import Dane import seaborn as sb sb.set() print("...\n") start_date = date(2020,3,3) end_date = date.today() end_date = date(2021,6,3) dzien = pd.date_range(start_date, end_date) zgony = Dane.zgony sr_7_dni = [0,0,0,0,0...
[ "krystianoleniacz@gmail.com" ]
krystianoleniacz@gmail.com
c14444582fc73b4d58d39e69413552ec5593874a
88994e2e840a70ec702cee09e1a13813aa6f800c
/cg/models/orders/excel_sample.py
b7230139a95a916dd518cb68a5db3854ed5d761e
[]
no_license
Clinical-Genomics/cg
1e9eb0852f742d555a48e8696914ebe177f7d436
d2ec6d25b577dd6938bbf92317aeff1d6b3c5b08
refs/heads/master
2023-09-01T02:04:04.229120
2023-08-31T13:50:31
2023-08-31T13:50:31
82,567,026
19
8
null
2023-09-14T15:24:13
2017-02-20T14:29:43
Python
UTF-8
Python
false
false
4,657
py
from typing import List, Optional from cg.models.orders.sample_base import OrderSample from cg.models.orders.validators.excel_sample_validators import ( convert_sex, convert_to_date, convert_to_lower, convert_to_priority, numeric_value, parse_panels, validate_data_analysis, validate_par...
[ "noreply@github.com" ]
noreply@github.com
68079a55bb86f3c2389cad7e87cb8b8aeaf5d183
ead3bb5d63ce9106bc34b1f2a883fdcd21c99839
/blackbox/vae/loss.py
e71b695711f5831b25382751a9f2d154d8978f7f
[]
no_license
AkashGanesan/generic-blackbox
91fed27d7aa5b21b2f6a99a770c135ebdaa30613
62d5840635f4e1a1a5252091bc7f334853acb67f
refs/heads/master
2020-04-26T05:44:13.408760
2019-03-04T05:44:55
2019-03-04T05:44:55
173,343,235
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
import torch import torch.nn.functional as F import torch.nn as nn def bce_loss(input, target): """ Numerically stable version of the binary cross-entropy loss function. As per https://github.com/pytorch/pytorch/issues/751 See the TensorFlow docs for a derivation of this formula: https://www.tenso...
[ "akaberto@umich.edu" ]
akaberto@umich.edu
f27f76e7fef07ec8bb0ae3de9b75b49542d1e03c
4a2990a954e9158d09ac8985bec18289fb684a39
/DigitClassifier.py
b3f6f8bdcafbdb47abccb7d1ecc7da52b06b7781
[]
no_license
aslakey/DataScience
cb1715fdcafa0afe82c99f389a114aa08315e586
881b55489e25751b46ec6e08c218f55ebb16ea03
refs/heads/master
2020-04-17T02:25:16.185685
2016-08-17T23:11:13
2016-08-17T23:11:13
45,635,744
1
1
null
2015-11-05T20:27:55
2015-11-05T19:56:41
null
UTF-8
Python
false
false
948
py
from sklearn import svm from sklearn import datasets ''' ->importing SVM and datasets from sklearn ->classify digits using support vector classification ->manually chose gamma, but could have used grid search ->train data using clf.fit(data,target) method ''' #load iris = datasets.load_iris() digits = datasets.load_dig...
[ "slakey@mac.com" ]
slakey@mac.com
7457a9afae19893e2d1e10d12355c26f4a7818df
8e3ca9617020be18b9922757486aca85e22a6b44
/Tareas/PYTHON_2021-[9] Regiones ricas en AT-2984/Zara Paulina Martínez Sánchez_10047_assignsubmission_file_/regiones_at.py
e4fae38123730a03b1271bdcbb090512098fdaff
[]
no_license
AnaBVA/pythonCCG_2021
04609078fdd40bd68684ce5514a78e959d02ff3c
47677549eec0e1a3460941ef97ace8d7d0bac185
refs/heads/main
2023-05-29T02:39:24.780609
2021-06-17T06:24:44
2021-06-17T06:24:44
344,536,557
0
1
null
null
null
null
UTF-8
Python
false
false
2,170
py
""" ## NAME regiones_at.py ## VERSION [1.0] ## AUTHOR Zara Paulina Martinez Sanchez < zaram042001 @ gmail.com > ## DATE [08/06/2021] ## DESCRIPTION Programa que analiza una secuencia de DNA para buscar regiones ricas en AT las cuales contengan...
[ "anabva2304@gmail.com" ]
anabva2304@gmail.com
fd015340592d6a9d46508ab0c1abb1b030137c5d
a90b05c59c119102bb93aa2162585a38b5ae9c84
/testCaffe.py
3122805f3561abe06095bf477ec6fa0d1073840d
[]
no_license
quanweikikai/deconv-net
2fd07b4c7178109eeef21e4258ddb2820bfe3cb9
625fce6d34356014ed5da3c74cd7acddb1eac7c1
refs/heads/master
2021-01-12T12:25:03.115828
2016-11-01T23:03:58
2016-11-01T23:03:58
72,485,146
0
0
null
null
null
null
UTF-8
Python
false
false
1,691
py
import caffe import matplotlib.pyplot as plt import numpy as np import sys def plotAll(inputArr, plotShape): for ii in xrange(plotShape[0]): startImg = inputArr[0,ii*plotShape[1]+1,...] for jj in xrange(1,plotShape[1]): startImg = np.append(startImg,inputArr[0,ii*plotShape[1]+jj,...],ax...
[ "quanweikikai@hotmail.com" ]
quanweikikai@hotmail.com
968c71ff6d547560d6976d04238b5e4ca27acfc8
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Cabergoline_CT_2_mg_tablet_SmPC.py
1fc6492eca70783a261c02b5d7847e96b5dc2672
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,671
py
{'_data': [['Unknown', [['GI', u'administration site conditions Patients on Adjunct Levodopa Therapy MedDRA Frequency Undesirable Effects System Organ Class Psychiatric disorders Common Confusion, hallucinations Nervous system disorders Common Dizziness, dyskinesia Uncommon Hyperkinesia Cardia...
[ "urudaro@gmail.com" ]
urudaro@gmail.com
44ff9007fe06e2f8d446711a3c996a7d34bb494a
ca5a08c91d070b649be6236b23261e3dbe3d9742
/Chapter08/08_03_MagicIndex_BruteForce.py
fd9db96cd27eb0be035d53fcddd359ba1b3b5391
[]
no_license
tdesfont/CtCI-6th-Edition-Python
3751c9d5137c696661492568fc7fd4e09a64652d
0464574fdf5591b5c5d25b5777fee0f401c06955
refs/heads/master
2020-08-06T12:50:54.586891
2019-12-04T16:29:24
2019-12-04T16:29:24
212,981,529
0
0
null
2019-10-05T10:30:28
2019-10-05T10:30:28
null
UTF-8
Python
false
false
202
py
def magicIndex(A): for i in range(0, len(A)): if A[i] == i: print(i, A[i]) return True return False if __name__ == "__main__": magicIndex([2, 4, 5, 5, 5, 5])
[ "desfontainesthibault@gmail.com" ]
desfontainesthibault@gmail.com
9ce90a6b93e13fbc8d927da0f14756a67b83c503
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nntriton.py
c9e4c9e38a2d8a648637823e5cb28fec8650247e
[]
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
493
py
ii = [('CookGHP3.py', 1), ('RogePAV2.py', 4), ('RogePAV.py', 2), ('RennJIT.py', 1), ('LeakWTI2.py', 6), ('AubePRP.py', 2), ('FitzRNS3.py', 1), ('ClarGE2.py', 2), ('GellWPT2.py', 1), ('WilkJMC2.py', 3), ('RoscTTI2.py', 3), ('BuckWGM.py', 1), ('LyelCPG.py', 1), ('KirbWPW2.py', 1), ('BachARE.py', 1), ('BuckWGM2.py', 1), (...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
f049797e8ab64f9c8a15f7f1a6ffd77072370038
133b2fb99be0d75fcd3543118bf323f927a7624b
/django-for-development/base/tests/test_middleware.py
201608718c7d0c75659464e6606d49413cfc173d
[ "MIT" ]
permissive
xfenix/django-hmin
78139035321a94ddfff0767dd66f4fa2b0c42306
cfea5ebb2c3382ba05fd2af860d2e2d2e421f0f1
refs/heads/master
2022-12-13T23:31:29.822759
2020-11-15T01:14:17
2020-11-15T01:14:17
25,469,854
12
3
MIT
2022-12-08T11:02:30
2014-10-20T14:22:01
Python
UTF-8
Python
false
false
457
py
"""Test django integration.""" from django.test import Client from django.http import HttpResponse def test_middleware_indexpage(): """Test.""" view_response: HttpResponse = Client().get("/") assert ( view_response.content == b'<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><me...
[ "ad@xfenix.ru" ]
ad@xfenix.ru
57aa130bd1f08c4c19e526d12f189f65810e10e8
852b57a1a2a0fa6b0d23bef16c4a989d369936e9
/playwright/_impl/_local_utils.py
af0683ed2898a6543419183742002991b600fa47
[ "Apache-2.0" ]
permissive
microsoft/playwright-python
e28badf23e20f948b4063a314e906006dcdff7fa
42c0bf19d7ae415552172d7c04cdb7afd9dad7fb
refs/heads/main
2023-08-22T17:49:04.645213
2023-08-14T12:52:46
2023-08-14T12:52:46
276,414,382
9,615
870
Apache-2.0
2023-09-05T17:07:48
2020-07-01T15:28:13
Python
UTF-8
Python
false
false
2,781
py
# Copyright (c) Microsoft Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
[ "noreply@github.com" ]
noreply@github.com
e2d5a3327596d21c570daa59ee7d6e2157b0c335
f3693916a8b118bf139364604dac3f51235ed613
/functional/Components/Groups/Groups_PATCH_ID/test_TC_44521_Groups_PATCH_Group_Valid_Provisioning_Policy.py
d6a8a3e05363440a478bb96584c8f3358c700adf
[]
no_license
muktabehera/QE
e7d62284889d8241d22506f6ee20547f1cfe6db1
3fedde591568e35f7b80c5bf6cd6732f8eeab4f8
refs/heads/master
2021-03-31T02:19:15.369562
2018-03-13T02:45:10
2018-03-13T02:45:10
124,984,177
0
0
null
null
null
null
UTF-8
Python
false
false
4,418
py
# -*- coding: UTF-8 -*- """PFE Component Tests - Groups. * TC-44521 - Groups PATCH: Verify that user is able to modify group on providing valid values in parameter 'provisioningPolicy' using request PATCH '/groups'. Equivalent test CURL command: curl -H "Host: <client_host>" -H "Authorization: Bearer <valid_t...
[ "mbehera@qumu.com" ]
mbehera@qumu.com
048956f2abf5397292a390d9c48f8da1e6ffdd7a
6e9ce707772643f1c3c0a6cd35de4d94e78b8a8e
/ann.py
b86b2364fee92e29ffa36e47511f1ca3bff0e41b
[]
no_license
Campos1098/scenario-responses
764f8e20a97166bb3134822a4913449c5b3e0867
cb4e306f400f4a72e744c848f422687ac5b5fa35
refs/heads/main
2023-09-04T23:12:59.660091
2021-11-12T12:35:31
2021-11-12T12:35:31
427,221,721
0
0
null
null
null
null
UTF-8
Python
false
false
12,550
py
import numpy as np import train_parser import test_parser import math import warnings import torch import torch.nn.functional as F from torch import nn from torch import optim from torch.utils.data import DataLoader, TensorDataset warnings.filterwarnings ("ignore") class Tennis_NN(nn.Module): def __init__(s...
[ "ecam6631@uni.sydney.edu.au" ]
ecam6631@uni.sydney.edu.au
59d4bd3560e27c55efa24a0e2641c4c522652d9c
641f1cc9e827d879489cacd49b5eaeb0dd27d196
/spaceship.py
3f802c2a5fdedd2f6b8f24376692f8c73228276f
[]
no_license
Yodaskywall/online_spaceship
0ee2ef716e5cdd7dd555fbe028806eac439e3873
e00f59602d066b53d762da831183945e25bef015
refs/heads/master
2022-02-25T16:23:52.104749
2019-11-03T23:25:08
2019-11-03T23:25:08
219,359,226
0
0
null
null
null
null
UTF-8
Python
false
false
2,635
py
import pygame IMAGE_DIR = "images/" DIM = (150, 135) # Dimensions of the spaceship sprite BDIM = (10, 30) class Bullet: def __init__(self, id, ship_x, ship_y): self.id = id self.x = ship_x + DIM[0] / 2 - BDIM[0] / 2 self.y = ship_y - 20 self.speed = 100 def draw(self, win, cl...
[ "danielbmasia@gmail.com" ]
danielbmasia@gmail.com
6d9ee5db943f3c3f810828b0812b4844581e2d50
74ff8919dee51454dbbdf7ca25eefd5081ea6016
/onodera/py/008_w_random_search.py
06985201946043aae1569ccdeee89b19d7e8a977
[ "MIT" ]
permissive
Sprinterzzj/Santa2017
1bcf8a84348ad00027cc25ae7e3eb5b5aaf9dfbe
9d6efe166267a9ea3efe6d0c210a87b4049dbad2
refs/heads/master
2020-05-15T21:27:38.664149
2018-03-23T03:06:47
2018-03-23T03:06:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,148
py
# This Python 3 environment comes with many helpful analytics libraries installed # It is defined by the kaggle/python docker image: https://github.com/kaggle/docker-python # For example, here's several helpful packages to load in """ nohup python -u 008_w_random_search.py > log1.txt & nohup python -u 008_w_random_s...
[ "konodera@yahoo-corp.jp" ]
konodera@yahoo-corp.jp
91e8aa631768c6b2d163460ed75174c88256162a
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_ltl_timed_transition_system/18-sender_receiver_5.py
df88016e3e38fa248461fa4e0917379e9383acde
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,274
py
from typing import FrozenSet from collections import Iterable from math import log, ceil from mathsat import msat_term, msat_env from mathsat import msat_make_constant, msat_declare_function from mathsat import msat_get_integer_type, msat_get_rational_type, msat_get_bool_type from mathsat import msat_make_and, msa...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
dd054ec24319a017c4b3be563688e9b6f157981c
3c751e5bebd9ee3602b41a41d0fdba968eaadf38
/08월/08_16/4874.py
8da111dfd2d6d4e274b27f47fca1a0374f418c72
[]
no_license
ohsean93/algo
423b25e52f638540039bd6e57706f45ab71871c8
8f4e20a0d955610427db9273d1eb138c7ae1e534
refs/heads/master
2020-06-27T01:58:36.484367
2019-11-29T00:04:02
2019-11-29T00:04:02
199,815,006
0
1
null
null
null
null
UTF-8
Python
false
false
966
py
import sys sys.stdin = open("input.txt", "r") T = int(input()) for test_case in range(T): num_list = [0] * 129 operator = ('+', '-', '/', '*') i = -1 for char in input().split(): if char.isdigit(): i += 1 num_list[i] = int(char) elif char == '.': con...
[ "jeasuk93@gmail.com" ]
jeasuk93@gmail.com
a0c3fb9611547ff89d8af7bcbaed1d9775f86348
8e115d2de6e7904d92a7a81bc8232fa3bb4c04f7
/s_vae_pytorch/examples/mnist.py
7dc2a5792c50f29482d7afce0c0dc587831b4835
[ "MIT" ]
permissive
P4ppenheimer/circle_slice_flow_and_variational_determinant_estimator
9c9ef8fd2cee1175ae33fe91cced7d824645a9be
6d42c7641e9e060802b69c8c9a89aeb02c46c922
refs/heads/main
2023-02-06T03:09:09.548158
2020-12-31T12:11:10
2020-12-31T12:11:10
322,137,213
5
0
null
null
null
null
UTF-8
Python
false
false
7,373
py
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torch.utils.data from torchvision import datasets, transforms from collections import defaultdict from hyperspherical_vae.distributions import VonMisesFisher from hyperspherical_vae.distributions i...
[ "simon.passenheim@gmail.com" ]
simon.passenheim@gmail.com
1d2d063d4047b17f3d2b4865e4865ecf6051c468
84c04d74c934cf6e857617745589e974a2d3d733
/hang man.py
b19161e1c7946d738e6a01ceec7e611ecaafbc33
[]
no_license
Ryan525600/hangman
f68466517fec7c614a95d04b6a3be83f4ca37c00
80b33d7127f4766a49a8543f27982ccdd2f4dfa8
refs/heads/master
2023-02-13T06:45:36.395184
2021-01-07T14:08:12
2021-01-07T14:08:12
325,546,519
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
import random HANGMAN_PICS = [''' +---+ | | | ===''', ''' +---+ O | | | ===''', ''' +---+ O | | | | ===''', ''' +---+ O | /| | | ===''', ''' +---+ O | /|\ | | ==='...
[ "masj0614@gmail.com" ]
masj0614@gmail.com
74e3646c2f02af5d9e071403693416be9eef3e59
31d9f7debbc2e1e42df5d1c1dc6ef963ea690165
/archiv_wgan_GP.py
b199ad62b30a4dde7eb6ffa826cc0692f7639f76
[]
no_license
im-Kitsch/DLMB
d044fc0b97b73b570ada44b83e9f295c1d31e03b
6144d673c63dc179b0b0a4603fd5b361c660f6f4
refs/heads/main
2023-03-07T11:14:16.581536
2021-02-22T19:20:22
2021-02-22T19:20:22
323,430,276
0
0
null
null
null
null
UTF-8
Python
false
false
13,026
py
import argparse import torchvision import torch from torch.utils import data from tqdm import tqdm from torch.utils.tensorboard import SummaryWriter import torchsummary import util.dataset_util IF_CUDA = True if torch.cuda.is_available() else False DEVICE = torch.device('cuda') if IF_CUDA else torch.device('cpu') T...
[ "zhiyuan.hu@stud.tu-darmstadt.de" ]
zhiyuan.hu@stud.tu-darmstadt.de
8b08cdeae9a7ca5cd9efe3869115cdb0b331fcc9
7a5a78ede21be8e78a19eb1e48797fa6d6e8642f
/detect_rtsp.py
49b0ea43532112bdb6045a922fc0e6da1fe24de7
[ "MIT" ]
permissive
abc873693/yolov3-tf2
cf8230af5b6683817d6064bc86b7dc98f3e4453f
24ab3eccf55e8ed108fc83335c1ca12a998ff3a7
refs/heads/master
2021-10-26T05:31:55.368987
2019-12-03T02:24:47
2019-12-03T02:24:47
201,893,053
0
0
MIT
2019-12-02T02:17:31
2019-08-12T08:52:15
Python
UTF-8
Python
false
false
2,600
py
import time from absl import app, flags, logging from absl.flags import FLAGS import cv2 import tensorflow as tf from yolov3_tf2.models import ( YoloV3, YoloV3Tiny ) from yolov3_tf2.dataset import transform_images from yolov3_tf2.utils import draw_outputs import os import numpy as np flags.DEFINE_string('classes'...
[ "abc873693@gmail.com" ]
abc873693@gmail.com
7f7a45fffcfb19dd0b215f1bc5b2c2fa35e9030b
c8e82c528dfe45d5c8beb0bcebd70968ab76fec0
/ftp/mount.py
a3c29ac28b4ef0b0117f98ff7e638b54db02e2d9
[]
no_license
BeatifulLife/otatool
938d26480ada3bc087f7f6d06fdf96c30dbc24cc
54212e6ea908efb1a8b75584d0d12b22913eafc1
refs/heads/master
2021-05-19T05:40:23.087747
2020-03-31T09:13:57
2020-03-31T09:13:57
251,551,629
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
from otautil import * class Mount: 'sudo mount -t cifs -o ro,username=xuzhaoyou,password=mobile#3 //192.168.8.206/data/data server' def __init__(self,localdir,server,username,password): self.server=server self.localdir=localdir self.username=username self.password=password def doMount(self): assert(self....
[ "xuzhaoyou@jlinksz.com" ]
xuzhaoyou@jlinksz.com
4d5c6fccf789eecb33e8337992743ceee6b298af
dfc292644081c4a12a8c4ab407cf90a2c2dd9a48
/travelpro/travelpro/wsgi.py
bb09e6633dd334633017544dbd6c731ef6015940
[]
no_license
safirmeeyana/safirproject
90326bcb58f0557dfc7fbbf877bb5d44ecb32201
7c393ac7597a3347a456befd94c9b2633d6ae4e7
refs/heads/master
2023-02-13T06:31:32.673452
2021-01-14T06:22:42
2021-01-14T06:22:42
329,524,725
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for travelpro 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "safirmeeyana15@gmail.com" ]
safirmeeyana15@gmail.com
745fc542dfa60b44270bb9f54dbb2a5d6b4dbbfa
7f398550c5676aa917198f01d2ccc1f59fe047a0
/coffee.py
1ef729d116dee5758aa9591e4065fe8615793557
[]
no_license
lsteiner9/python-chapters-1-to-3
0ee38e2e44389e67c4e85c0aaa10b19850bb9ee3
8b830135d5ee41d9a28915705545a38e710db2af
refs/heads/master
2023-03-17T20:53:33.779359
2021-03-18T02:00:34
2021-03-18T02:00:34
348,909,438
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
# coffee.py def main(): print("This program calculates the cost of a coffee order.") pounds = float(input("Enter the number of pounds of coffee ordered: ")) print("The price of this order is:", pounds * 11.36 + 1.50) main()
[ "lsteiner9@gmail.com" ]
lsteiner9@gmail.com
d62187ceef71a3b7a888fd8d1a7051f01e50144c
d2d4b3e707a483b25c741396069923fcccccb993
/smartmarket/shops/migrations/0001_initial.py
bc6f3f54e32f679a21d989a2f3a82829ec0a0e9f
[]
no_license
DiegoRinconC/tesis
7cda2f47190fc31b325825e632134211105d405f
2daf738e2101f27253c6e90fe1c71d2f8f80cf2d
refs/heads/master
2020-04-02T03:18:40.700140
2018-10-23T03:38:47
2018-10-23T03:38:47
153,957,609
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
# Generated by Django 2.1.2 on 2018-10-23 01:43 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('users', '0002_auto_20181020_1816'), migrations.swappable_depend...
[ "diego84darc@gmail.com" ]
diego84darc@gmail.com
4425abce78cc5ab8f0241155c9e5248cd9b9b861
8cacef299fbbedd6e46ec02d274b1baa82433ef8
/DriverFiles/load_test_session.py
7c72d2936131ac52e3ab793382bd9ff079eb79f1
[]
no_license
PotionSell/Buzsaki-Data-Import
37cdf4ccf440b2e60153d3aa1435611709ea987a
af5f5db900d76bffccfdc5e835425060fb65d69b
refs/heads/master
2021-01-19T04:25:26.993240
2016-07-11T15:44:37
2016-07-11T15:44:37
60,122,373
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
execfile('BuzsakiSession.py') execfile('write_nwb.py') #session = Session('ec013.156') #session.load_LFPdata() #lfp = session.get_shankLFP(0, True) #csd = session.get_CSD(4) write_nwb('ec012ec.356') write_nwb('ec013.156') write_nwb('ec013.157') write_nwb('ec013.756') write_nwb('ec013.965') write_nwb('ec014.468') write...
[ "noreply@github.com" ]
noreply@github.com
56b674ad741b5ec115b231c05945478a3cee3b59
9a104370627671e0549913194c79329920b76342
/attention_guidance/ag_models/wandb_utils.py
98591d8111044cd210b4138bff1894e0d52a282b
[ "Apache-2.0", "MIT" ]
permissive
ameet-1997/AttentionGuidance
8dcd115ce6be0752de108b68cd798f6200fa62d5
8e1e6c3855125fe8f1485fbe57d51285edebfade
refs/heads/main
2023-02-15T08:08:38.248050
2023-02-08T03:07:03
2023-02-08T03:07:03
300,993,462
9
1
null
null
null
null
UTF-8
Python
false
false
580
py
import wandb import os def wandb_init_setup(args): ''' Uses API key and sets initial config and hyperparameters ''' # Ameet's wandb key os.environ["WANDB_API_KEY"] = "a8d4de02e5bbee944cdfa143d1dba8f1a7b63fb4" os.environ["WANDB_WATCH"] = "false" os.environ["WANDB_PROJECT"] = args.wandb_proje...
[ "ameetsd97@gmail.com" ]
ameetsd97@gmail.com
6466a29180d397b35f5306a979bfa235487516c3
06a50cfded23b760d5b2a5ae7d5c4761ae2d4dc8
/auto_upgrade.py
2b5eb7a276e28b168e17571ac64e9aeaa69017d4
[ "Apache-2.0" ]
permissive
spencerzhang91/coconuts-on-fire
b0655b3dd2b310b5e62f8cef524c6fddb481e758
407d61b3583c472707a4e7b077a9a3ab12743996
refs/heads/master
2021-09-21T07:37:07.879409
2018-08-22T03:24:36
2018-08-22T03:24:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
#! /usr/local/bin/python3 # can not be used on windows due to line end difference. import pip from subprocess import call for dist in pip.get_installed_distributions(): call("pip3 install --upgrade --no-cache-dir " + dist.project_name, shell=True)
[ "spencerpomme@live.com" ]
spencerpomme@live.com
e73c0dcd93ba153ddfdbac5cdf8ed995b6b030ab
fbb3a1843b541ee118d4ba686552c063152fb3b2
/sorting.py
73a2d82e7c52c0228e4098e54217b6435193a240
[]
no_license
yusmasv/Quick---Selection-Sort-Visualization
2bf661ab8ea31b77826a0664ab3bdba995b37a67
ee82b345d43dcd1105db323bb4ee7a9282fe39ed
refs/heads/main
2023-01-29T09:21:39.972824
2020-12-09T12:25:25
2020-12-09T12:25:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
import random import time import matplotlib.pyplot as plt import matplotlib.animation as animation plt.style.use('dark_background') def swap(A, i, j): if i != j: A[i], A[j] = A[j], A[i] def quicksort(A, start, end): """In-place quicksort.""" if start >= end: return ...
[ "noreply@github.com" ]
noreply@github.com
a75a731523cf01b16cc1565e94dbc9f9a578895a
9b76741992c13b661dd9c70522d7fe9ad6086cde
/holoviews_test.py
8de05da2b020393a64ef6d564dda844f85ac53e5
[]
no_license
rafaelha/py_models
681078d52a76da20ed29f0a498b77c8a4fb88ae0
0b5267bc824567de7495c432255ec88139cdd17a
refs/heads/master
2023-02-22T03:43:02.617451
2018-10-04T18:33:11
2018-10-04T18:33:11
126,767,708
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
import holoviews as hv import numpy as np import holoviews.plotting.mpl #renderer = hv.Store.renderers['matplotlib'] renderer = hv.renderer('matplotlib')#.instance(fig='svg', holomap='gif') frequencies = [0.5, 0.75, 1.0, 1.25] def sine_curve(phase, freq): xvals = [0.1* i for i in range(100)] return hv.Curve(...
[ "rafaelhaenel@phas.ubc.ca" ]
rafaelhaenel@phas.ubc.ca
5430d2daacfc6a75623004d72dfaed442200718c
7b8fd24cc6dbed385173a3857c06f2935724ace6
/LeetCode/T-46.py
60d02e43d91078c029f479bbb71b66d9607360df
[]
no_license
Yang-Jianlin/python-learn
eb1cfd731039a8e375827e80b8ef311f9ed75bfb
048cde2d87e4d06a48bd81678f6a82b02e7c4cb4
refs/heads/master
2023-07-12T16:35:13.489422
2021-08-23T11:54:10
2021-08-23T11:54:10
357,464,365
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
class Solution: def __init__(self): self.res = [] self.temp = [] def permute(self, nums): n = 1 for i in range(1, len(nums) + 1): n *= i self.dfs(nums, 0, n) return self.res def dfs(self, nums, position, n): if position == len(nums): ...
[ "1494237426@qq.com" ]
1494237426@qq.com
7fff043e3f126009e64219c576fed17d3c9b08c1
f482839a5b2cf75d0ce38755d8aeefff8911e35d
/tictactoe_minimax.py
ee831bc33814df2a17a48f368646f5778e228170
[]
no_license
gmiller148/TicTacToe_Algos
aa666946a536668e683d36432e47372a140ce402
ad4f8a2bbad62816b7199eeb80e0574b7101d227
refs/heads/master
2020-04-26T16:28:42.055745
2019-03-04T05:35:07
2019-03-04T05:35:07
173,679,933
0
0
null
null
null
null
UTF-8
Python
false
false
5,385
py
class TicTacToe: def __init__(self, turn=-1): self.board = [[0,0,0], [0,0,0], [0,0,0]] self.turn = turn self.state = 'ongoing' def display(self): for i in range(3): row_res = '' for j in range(3): ...
[ "noreply@github.com" ]
noreply@github.com
8c609ecead5fa0b54d67b5af1fe3c7fc57656e93
f25085778485d49da4fd587a034b037df0ea98f9
/interview/findSubstrings.py
614cc8f9c71591756dbc4b3442c8a686cc32688b
[]
no_license
davcs86/codefights
477d733511a6639668a46fe55ffd47e832aa356c
f6f42c6635c48877ea9904e05bed2c029271c1d9
refs/heads/master
2021-01-23T01:17:18.042934
2017-04-28T00:05:53
2017-04-28T00:05:53
85,892,470
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
def findSubstrings(words, parts): parts = sorted(parts, key = len, reverse=True) for i, w in enumerate(words): psz = 0 ppos = len(w) nw = w for p in parts: if len(p) >= psz and len(p) <= len(w): pos = w.find(p) if (len(p) > psz or pos <...
[ "davcs86@gmail.com" ]
davcs86@gmail.com
8a453791cd356fd9608e74273bddc8d2c8f8e1f1
d53f5cabda6350d9cf0b0d7b2ce0d271b21c8b8e
/flamingo/core/templating/__init__.py
18dd35a059fef1c9737dc1722e512c0c46973db5
[ "Apache-2.0" ]
permissive
pengutronix/flamingo
527c82add7373122c243996b35fac28253639743
e43495366ee73913f2d4565f865c04f90dc95f8d
refs/heads/master
2023-05-10T17:21:26.998164
2023-04-28T09:04:59
2023-04-28T09:04:59
156,219,977
23
10
Apache-2.0
2023-04-28T09:05:01
2018-11-05T13:12:34
JavaScript
UTF-8
Python
false
false
78
py
from .base import TemplatingEngine # NOQA from .jinja2 import Jinja2 # NOQA
[ "f.scherf@pengutronix.de" ]
f.scherf@pengutronix.de
c383ce7e879faf5ca5db41e4b51971d7be46d695
435723c2128a8a125ebc0bd4fdd57b2e438174a0
/tests/emissionLines/test_fluxes.py
404ae8362078d91193460af65617c20cd520c088
[]
no_license
galacticusorg/analysis-python
824e7a0311329531e42eb06fc99298cf371ec75f
09e03f8d25ab6711b4e2783454acca1422e7bc59
refs/heads/master
2022-03-10T18:39:03.766749
2022-03-03T14:49:25
2022-03-03T14:49:25
203,855,262
1
0
null
null
null
null
UTF-8
Python
false
false
5,496
py
#! /usr/bin/env python import sys,os import fnmatch import numpy as np import unittest import warnings from shutil import copyfile from galacticus import rcParams from galacticus.Cloudy import CloudyTable from galacticus.galaxies import Galaxies from galacticus.io import GalacticusHDF5 from galacticus.data import Gala...
[ "alex.i.merson@gmail.com" ]
alex.i.merson@gmail.com
571c97500fcd77b7f891fed895e3e953e3f3cc95
d7ea218f90ed241255c49db0472eefec0e78f93f
/savanna/plugins/hdp/validator.py
60980e957eb4280d68f570b4f3f80f241711b31c
[ "Apache-2.0" ]
permissive
simedcn/savanna
5829c1119930ed02bd09124224962230d0ac71f0
fc02c010db12c4bdf24c67eb0eb94026252355d0
refs/heads/master
2021-01-14T13:06:31.313572
2013-08-21T17:44:48
2013-08-21T17:44:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,077
py
# Copyright (c) 2013 Hortonworks, 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 agreed to in ...
[ "jmaron@hortonworks.com" ]
jmaron@hortonworks.com
d24e314a5efa4ce965577b2a2cfb1f67ccebd1d6
eafed2a5d7de4db7e3c37bfdb2d2f2b1069e80c0
/api/app/labeller/client.py
2d2ce90abe135c6892d62370bd29c3a3a67a0b74
[]
no_license
philipk19238/klarity
53123aa52abba62bcc62b381599196b13640ba4b
11335cc74d5433e19e218a9a9b3e43acd669b789
refs/heads/master
2023-08-13T08:35:02.485853
2021-10-17T19:08:56
2021-10-17T19:08:56
417,892,692
1
3
null
null
null
null
UTF-8
Python
false
false
1,598
py
from collections import defaultdict from .constants import ( MaterialConstant, TypeConstant, ColorConstant, SizeConstant, LocationConstant ) from .trie import Trie from .tokenizer import Tokenizer class LabelerClient: def __init__(self, stop_words): self.trie = Trie() self.to...
[ "pkung67@utexas.edu" ]
pkung67@utexas.edu
4d807c601f9a24cfa37be0f007e051f306400386
3848612966f853b70167c2e5606e5451dd0ac8f7
/architecture/make_arch/examples/memcached_path.py
10a22d2ece5ed4d29a88586284b9ec3373ebc707
[ "MIT" ]
permissive
delimitrou/uqsim-power-management-beta
1b99e3c03af812d13dbca573fd712034be75853e
87f4483a644e6dfc2c3e96497b0920e62b1f2b80
refs/heads/master
2022-06-10T17:17:25.345276
2022-05-13T17:00:08
2022-05-13T17:00:08
260,951,471
2
2
null
2022-05-13T17:00:09
2020-05-03T14:59:52
null
UTF-8
Python
false
false
745
py
import sys import os import json import make_arch as march def main(): node_0 = march.make_serv_path_node(servName="memcached", servDomain="", codePath=0, startStage=0, endStage=-1, nodeId=0, needSync=False, syncNodeId=None, childs=[1]) node_1 = march.make_serv_path_node(servName = "client", servDomain = "", c...
[ "yz2297@ath-9.ece.cornell.edu" ]
yz2297@ath-9.ece.cornell.edu
4e5a2b20a95130193194dab51ac984aab4b65175
f24cccd40b8770f3da983e45a7fd3c166331b2fa
/Python_Basics/display_output.py
73577e849804269937097f1150b4bfef7e944fde
[]
no_license
srajesh636/python_basics
4b09fb777a626c4fdba467dcde5b80b7804539be
0b26d85bf61659c9a8c4f8468c7a9a8ee29c7873
refs/heads/master
2020-03-16T07:59:38.412131
2018-05-08T11:09:29
2018-05-08T11:09:29
132,588,025
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
print("print method is used to display the content on the screen")
[ "srajesh636@gmail.com" ]
srajesh636@gmail.com
97c31e1e4b55d0cb7b5ac2dd08339b8d13a6014d
0e114f7df2b112511785e21626bb6bdb220b5a6c
/NMS/classes/TkSceneNodeData.py
633df0ebb7284d5ec9ada0c0b5708fd56cf941c6
[]
no_license
monkeyman192/NMSDK
020c580bc7b0517bdef5b28d167924fde51dfa7f
c94bb9071e576fd16650f0b26fc5d681181976af
refs/heads/master
2023-08-09T09:08:40.453170
2023-07-26T23:28:53
2023-07-26T23:28:53
73,231,820
25
6
null
2023-07-26T23:10:29
2016-11-08T22:13:48
Python
UTF-8
Python
false
false
744
py
# TkSceneNodeData struct from .Struct import Struct from .String import String from .TkTransformData import TkTransformData from .List import List class TkSceneNodeData(Struct): def __init__(self, **kwargs): super(TkSceneNodeData, self).__init__() """ Contents of the struct """ self.data...
[ "monkey_man_192@yahoo.com.au" ]
monkey_man_192@yahoo.com.au
992e47a305d7797ce8662af91191b183c4dc5d44
5516f874c85b7b2a194fee536f10eff22636925e
/OOP/first_class.py
404db6dc2e32a8005c85d728cf876ca71050e07d
[]
no_license
vokborok/lutz
b58140f8420500de8d47bd358cacda4db5972ea5
e6b5fe636cbccce5ec76ed0716d33eeee90f10df
refs/heads/main
2023-07-12T17:40:54.272404
2021-08-16T22:09:46
2021-08-16T22:09:46
365,612,376
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
class FirstClass: def setdata(self, value): self.data = value def display(self): print(self.data)
[ "noreply@github.com" ]
noreply@github.com
6eb1c5eec9aff34ec78b04b73f38d2d8ea238cc0
a4da1f7c9a8726bface6e20fe77bc96e94627d62
/classwork/modules/varscope.py
2cb803bdbe90e718d8325f5846084de36abc7a62
[]
no_license
KrackedJack/dbda-feb2019-python
97d8b8e7428e735d589c36111706723070abad49
9ae82552f50ff9f0d340d0ae97c9233cd4df19d7
refs/heads/master
2020-11-24T14:07:57.997410
2019-12-15T12:41:35
2019-12-15T12:41:35
228,185,218
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
x=20 def func(): global x x = 30 print("x:",x) def infunc(): #nonlocal x global x x = 45 print("x:",x) print("calling infunc()") infunc() func() print("x: ",x)
[ "sukrutakolkar@gmail.com" ]
sukrutakolkar@gmail.com
045b797fe7eb6cce795c14a6615378305af53da0
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_31572.py
a27c7cb0e13923113a3cd85c080912670b03b57f
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,840
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
f5738ebf2b316d78bcf67e9b2c3851c42892334e
0c4d4d199da126ff7d5d8317aaaf31fa6182d43e
/Shuffle.py
461c6951fd94b3110048c2ed93f2dc7cdef104a6
[]
no_license
riquellopes/challenges
c067101171d2716e3ddb8a928f332c4fe0c5bfb2
cedfba39d6866bd4ff1ec40d0f3641e07f805a16
refs/heads/master
2020-09-13T17:33:28.457695
2018-08-22T21:56:16
2018-08-22T21:56:16
94,462,509
0
0
null
2018-10-28T12:43:17
2017-06-15T17:21:01
Python
UTF-8
Python
false
false
605
py
# you can write to stdout for debugging purposes, e.g. # print("this is a debug message") """ >>> solution(123456) 162534 >>> solution(162534) 146325 """ def solution(A): # write your code in Python 3.6 numbers = list(str(A)) size = len(numbers) to_remove = 0 digit = [] whi...
[ "riquellopes@gmail.com" ]
riquellopes@gmail.com
5d3ef43a52c9d3f468feeb9ed9bdd8f5ff9dfba6
4f7742df83849517c5675513a1d111b01fc1deb3
/examples/precision_landing.py
a39daefaa1bd9c71eb0bac4f698b1f829ac703d5
[ "BSD-3-Clause" ]
permissive
mcorner/dji-asdk-to-python
319025ee1b5ebba5b26b8cdd144eec5dec243f0f
59464f36dc046a0b96b1544fff31e0e40f1322a1
refs/heads/master
2023-01-06T16:31:24.757081
2020-10-29T18:57:10
2020-10-29T18:57:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,386
py
from dji_asdk_to_python.products.aircraft import Aircraft import numpy as np from dji_asdk_to_python.precision_landing.aproximation import ArucoAproximation from dji_asdk_to_python.precision_landing.landing import ArucoLanding from time import sleep import os from dji_asdk_to_python.errors import CustomError APP_IP = ...
[ "cartovarc@gmail.com" ]
cartovarc@gmail.com
d79d232b2c92ccaf4f09f8887399945e4d279992
b05761d771bb5a85d39d370c649567c1ff3eb089
/venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/python_message.pyi
739b65ed584976d74587def3ecc0bcf58b01737f
[]
no_license
JawshyJ/Coding_Practice
88c49cab955eab04609ec1003b6b8c20f103fc06
eb6b229d41aa49b1545af2120e6bee8e982adb41
refs/heads/master
2023-02-19T10:18:04.818542
2023-02-06T21:22:58
2023-02-06T21:22:58
247,788,631
4
0
null
null
null
null
UTF-8
Python
false
false
96
pyi
/home/runner/.cache/pip/pool/20/44/ab/d4e8c0643f62760d4e816ccc7de5764ad6b4f11d2e1cb01bc1e9634c3e
[ "37465112+JawshyJ@users.noreply.github.com" ]
37465112+JawshyJ@users.noreply.github.com
d1dcdef8f4dc3fe9d977de9f8c810384be8f24d1
6426ca723494c69f7a18d6378458dad0b7abf99a
/HW3_Cocktail,ExchangeSort/cocktailshakeSort.py
dee7a95c24df85bcc21fcc02485679640a03ea53
[]
no_license
NoirNorie/Algorithm_Python
3364f8ac8a530ede3857dc46f224df2c8c7eee80
a137fb30f1c44373cc22d3110eecd51d1e057540
refs/heads/master
2022-12-24T14:45:08.122396
2020-10-03T15:49:45
2020-10-03T15:49:45
298,333,862
0
0
null
null
null
null
UTF-8
Python
false
false
3,146
py
import random, time, sys def checkSort(a,n): isSorted = True for i in range(1,n): if a[i] > a[i+1]: isSorted = False if (not isSorted): break if (isSorted): print("정렬 완료") else: print("정렬 오류 발생") # cocktailshakeSort가 너무 길어서 csSort로 줄여서 작성 def cs...
[ "71704247+NoirNorie@users.noreply.github.com" ]
71704247+NoirNorie@users.noreply.github.com
3b18713036101f6e001dab4bead2f1f625494818
ebbd58c88dc3ea5c3ff5b7c63cde731c063bd6cc
/sigma/gods-unchained-packs/tests/tests/test_bundle_open.py
d9c24e9aa2f78b8b3f358b4ec26e9c3ec59ce713
[]
no_license
the-mog/resources
eb65efebc47fe75cefe85049d162d9032b6cd958
58b446d3ba6e16acda163869b798e191077631ac
refs/heads/main
2023-01-21T08:36:47.822319
2020-11-23T15:21:18
2020-11-23T15:21:18
315,348,311
0
0
null
null
null
null
UTF-8
Python
false
false
5,948
py
import pytest import random from web3.contract import ConciseContract ########################## # VALID OPERATIONS ########################## def test_bundle_open( accounts, assert_tx_failed, get_logs_for_event, instantiate, pack_deploy, pack_prices, pack_types...
[ "themog@tari.com" ]
themog@tari.com
55be114a4a3c24440decb8cc9e79341dec924dba
058f6cf55de8b72a7cdd6e592d40243a91431bde
/tests/llvm/static/test.py
5819067099605c281f435a3dad4f6c284961eb24
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
LLNL/FPChecker
85e8ebf1d321b3208acee7ddfda2d8878a238535
e665ef0f050316f6bc4dfc64c1f17355403e771b
refs/heads/master
2023-08-30T23:24:43.749418
2022-04-14T19:57:44
2022-04-14T19:57:44
177,033,795
24
6
Apache-2.0
2022-09-19T00:09:50
2019-03-21T22:34:14
Python
UTF-8
Python
false
false
3,694
py
#!/usr/bin/env python import test_config import subprocess import os import sys def main(): print "* Static Tests *" ########################################################################### t = "Test: find instrumentation functions" testTarget = test_config.textWidth.format(t) sys.stdout....
[ "ilaguna@llnl.gov" ]
ilaguna@llnl.gov
ac03c81ca91034b84d892212f2c3f714f8fb0a32
2185c16a9f6564183e86a49942a2ae861bce534c
/IIHT/holland_house_scraper/scraper.py
2af00020f9bea906a35b99bc22677eeb35023511
[]
no_license
patricksile/code_folder
a9c3ebe32f6eed122fb877b955643d8944d8453a
b8f5cce6ea07ed567621e848c7a61ab457f66670
refs/heads/master
2023-01-22T14:06:33.768186
2018-07-25T12:05:44
2018-07-25T12:05:44
142,292,596
0
0
null
2023-01-11T22:20:31
2018-07-25T11:47:20
JavaScript
UTF-8
Python
false
false
2,278
py
# # /usr/bin/env python3.5 # from urllib.parse import urlparse # module to clean links (built-in) # import urllib.parse # from time import sleep # import webbrowser # Open links with a web browser(built-in) # import requests # Downloads files and web pages (external) # import bs4 # Parses HTML (external) # import sele...
[ "choupi@localhost.localdomain" ]
choupi@localhost.localdomain
4c005a778fac7b075557916fb12e526b31ac3231
3a31504d63065a2bacc4afa473a1a9662534aa7d
/re_sys/views.py
099f774af69209f8512b3fb822f991d39f18e64d
[]
no_license
wuweiwuyanzu/Personalized-recommend
09ca9218e6405e3e71d78cf42cd54ff9398e9040
c48bb53be6623beab8bcecef85354228637dc8ef
refs/heads/master
2020-06-27T04:20:09.560639
2019-05-03T15:43:58
2019-05-03T15:43:58
199,842,889
1
0
null
2019-07-31T11:29:10
2019-07-31T11:29:09
null
UTF-8
Python
false
false
2,310
py
#!/usr/bin/env python #coding=utf-8 from django.shortcuts import render from re_sys.recommend import re_model from re_sys.recommend import utils import time print('----初始化加载模型----') global_model = re_model.Model() global_loaded_graph, global_sess = global_model.loead_sess() # Create your views here. def index(request...
[ "994130442@qq.com" ]
994130442@qq.com
95e8f2292640c638b8debe67833e96aaa4b6f3e4
c41c0a760d11d384ba2ece1040875d23ee9088a2
/python_stack/django_projects/belt_reviewer/apps/login_registration/views.py
d202873f333c1d28af3a9a841121f16fe717817a
[]
no_license
frednava67/dojo
6a0d6250c992fc6910a539518891f237fcc62f4a
d342bbb474606c0bc019247aeb0212cc4704cd23
refs/heads/master
2018-12-20T02:05:47.798107
2018-11-13T05:34:49
2018-11-13T05:34:49
149,045,555
0
0
null
null
null
null
UTF-8
Python
false
false
3,732
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render, HttpResponse, redirect from django.contrib import messages import re, bcrypt from .models import User # the index function is called when root is visited def index(request): print("login_registration/index()") ...
[ "frednava67@hotmail.com" ]
frednava67@hotmail.com
d5260e5c6f8e6b776dd7948859e56fac6f69d8c5
e63a895b941207285d1ee1e36c5a2bf6bf3ed5bc
/progress.py
1a6229bbba8d161e43f0610f710d6b5cd09e2238
[ "MIT" ]
permissive
SSaeedHoseini/dockerscriptpy
dcea26ee8a743286e849262a03e447b096113c93
f601937d0143bac0124d5b769ff3ea10625a24ab
refs/heads/master
2020-12-09T04:40:40.304676
2020-01-13T08:18:46
2020-01-13T08:18:46
233,195,809
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
import shutil def printProgressBar (iteration, total, prefix = '', suffix = '', decimals = 1, length = 100, fill = '█', autosize = False): """ Call in a loop to create terminal progress bar @params: iteration - Required : current iteration (Int) total - Required : total iterations...
[ "razeasemoon@gmail.com" ]
razeasemoon@gmail.com
bb313215f567104597c8c9dfc261320fd344893a
7e90ba580736a1cf03fbeb8461b5b746599f2008
/core/config.py
418f320e38639a791466c7335a7406d02e1fca01
[]
no_license
ppaydd/problem_count
7b455b51707cc0a7dac6a7e10043ae9874ba2e80
cd85d1ca0f877213d505962c627f5f241827ea8c
refs/heads/master
2021-01-12T19:20:02.536722
2016-04-12T06:39:38
2016-04-12T06:39:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,056
py
import os headers = { 'User-Agent': '''Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36''', 'Connection': 'keep-alive', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', } # Error Code get_data_failed ...
[ "zchao1995@gmail.com" ]
zchao1995@gmail.com
88a8301be9b8c59278ac84736ea6dc73a1306874
260856baeb517cf64a386341f0cfff30c628a987
/5.1.py
808d95fe4de9391f12fd2dce6f10a0dd7849c6e3
[]
no_license
awstnx/vtip
a702d58614128d693fc9f342dc5ce8a4d3b5ecc2
31377b4610004bc8a7813aeca76960f46af8d442
refs/heads/master
2022-12-21T21:49:57.050309
2020-09-29T15:57:57
2020-09-29T15:57:57
295,413,097
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
def bmi(mass, height): """Вычисляет индекс массы тела по введенным массе и росту человека""" return (mass/((height/100)**2)) person_mass, person_height = map(float, input('Введите свою массу в килограммах и рост в сантиметрах через пробел: ').split( )) BodyMassIndex = bmi(person_mass, person_height) if...
[ "noreply@github.com" ]
noreply@github.com
71353370837cd21408b171136866a05a30ffa482
0d4ec25fb2819de88a801452f176500ccc269724
/search_sorted_matrx.py
e1e912f49ceb5959ab470dfeaec97c8d36ef1e22
[]
no_license
zopepy/leetcode
7f4213764a6a079f58402892bd0ede0514e06fcf
3bfee704adb1d94efc8e531b732cf06c4f8aef0f
refs/heads/master
2022-01-09T16:13:09.399620
2019-05-29T20:00:11
2019-05-29T20:00:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
class Solution: def searchMatrix(self, matrix, target): """ :type matrix: List[List[int]] :type target: int :rtype: bool """ if matrix == [] or matrix == [[]]: return False l = len(matrix) b = len(matrix[0]) if matrix[0][0] > targe...
[ "rohithiitj@gmail.com" ]
rohithiitj@gmail.com
01b54643ccf3a75120100a24b778a1accb4fb555
bbd603fcd9541ed8168c765ee7c84fc379c6b692
/scripts/e087_bert_question_adamw.py
a39ce51eb9ad183a96f109022c4df0854080f73a
[]
no_license
yoichi-yamakawa/kaggle-google-quest
2513a41889ffdb68e8f3bc3fb55a41a5dd873d0f
decffc69d5657f5114970eb2ea226df8ec8cfaf6
refs/heads/master
2021-01-04T16:58:27.894352
2020-02-11T00:46:04
2020-02-11T00:46:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,732
py
import itertools import os import random from logging import getLogger import numpy as np import pandas as pd import torch from sklearn.model_selection import GroupKFold from torch import optim from torch.nn import BCEWithLogitsLoss, DataParallel from torch.utils.data import DataLoader from torch.utils.data.sampler im...
[ "astt.hwhw@gmail.com" ]
astt.hwhw@gmail.com
c0568f477ed273def386782acf8cb794c81ac227
1bab2b06c7cc813c0eff23e63783859ae60c7e73
/ex9.py
d20d92d79f6a5f414212ea1548a5b228af2365b3
[]
no_license
asimkaleem/LPTHW
a19681e9927817034a8fd18c9f3e037766f59648
f565e2b1581d0453f83d3e40a0e0bb65d2bb000b
refs/heads/master
2021-09-10T15:01:27.357864
2018-03-28T06:52:54
2018-03-28T06:52:54
126,018,322
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# Here's some new strange stuff, remember type it exactly. days = "Mon Tue Wed Thu Fri Sat Sun" months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug" print "Here are the days: ", days print "Here are the months: ", months print """ There's something going on here. With the three double- quotes. We'll be able to type as mu...
[ "asim@ebryx.com" ]
asim@ebryx.com
7eb4211874de5cb57b04a4c673199d8f475ebd62
77b4bb15ed2cd7d4db07f0098ff1a6638790c3d8
/tests/test_mongo_controller_auto_increment.py
1db6cc8280a3b5577927397de3c49a908b11b4fa
[ "MIT" ]
permissive
Simon-Le/layabase
d10276d1dc37a4d36b39aad89b0bc00d818ae2d7
4670a3d0849785e22b80a88af634c69220cf0113
refs/heads/develop
2020-12-03T15:03:08.352875
2020-04-13T23:59:33
2020-04-13T23:59:33
231,363,516
0
0
MIT
2020-04-13T20:04:17
2020-01-02T10:58:46
null
UTF-8
Python
false
false
10,614
py
import enum import flask import flask_restplus import pytest from layaberr import ValidationFailed import layabase import layabase.mongo class EnumTest(enum.Enum): Value1 = 1 Value2 = 2 @pytest.fixture def controller(): class TestCollection: __collection_name__ = "test" key = layabase...
[ "colin.bounouar@engie.com" ]
colin.bounouar@engie.com
08d8980c21d8013ca60ccf34189734c1caf085e7
efa5d0866a8a0aa9dd9dde27f0d9d9c1c9f551c1
/setup.py
64e766a5d40a628bcba3f62dc0b975d579775bed
[ "Apache-2.0" ]
permissive
miketwo/pyschedule
7fef3dfb77259ae34a46535292bc6b40cbbfb1c8
792305faae9d0413ed22e7c57d5e9610fded7751
refs/heads/master
2021-01-10T22:22:09.056650
2016-06-04T23:54:25
2016-06-04T23:54:25
60,433,964
0
0
null
2016-06-04T23:02:41
2016-06-04T23:02:37
Python
UTF-8
Python
false
false
596
py
from setuptools import setup, find_packages setup(name='pyschedule', version='0.2.13', description='A python package to formulate and solve resource-constrained scheduling problems: flow- and job-shop, travelling salesman, vehicle routing and all kind of combinations', url='https://github.com/timnon/...
[ "tim@nonner.de" ]
tim@nonner.de
bc481205615d5df87eba3418a666917f5ec8ce66
157c7325539a713b35bb418913303d5a9036ac56
/vision_cv_google.py
cb616651c4d4c26a66226f97ac3f40c01f4bc0f1
[ "MIT" ]
permissive
konsan1101/pycv3
f06ee37a636a6499463a286a64f9b1ccf47310c5
12688afb54a133f8706df2da9c7d3e34d1e70590
refs/heads/master
2020-06-03T11:44:49.664856
2019-06-12T13:36:17
2019-06-12T13:36:17
191,554,751
0
0
null
null
null
null
UTF-8
Python
false
false
4,506
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import numpy as np import cv2 import base64 from requests import Request, Session #from bs4 import BeautifulSoup import json # Google #GOOGLE_VISION_KEY = 'xx' GOOGLE_VISION_KEY = 'xx' def google_vision(image_path): global GOOGLE_VISION_KEY ...
[ "konchan@gold.ocn.ne.jp" ]
konchan@gold.ocn.ne.jp
bd3182dba60a1531c8779781ab6bbc9f1099b12c
fd7a2c2265363dc06c9e23c1ce3182bb99be6b70
/ingest/ingest_dx_tomo.py
20d4fce4584a768b2270fa93933601f5ba776895
[]
no_license
als-computing/scicatlive-modifications
093d03e0027c30173c1140139b6dd708dbfc1fee
5186511fc1554a1c6d349e14ddd72cf41d1ac1b4
refs/heads/main
2023-03-05T05:51:03.878037
2021-02-22T20:03:07
2021-02-22T20:03:07
338,426,336
0
0
null
null
null
null
UTF-8
Python
false
false
11,781
py
import h5py import json import sys import datetime import hashlib import urllib import base64 import logging import json # for easy parsing from pathlib import Path from pprint import pprint import numpy as np import requests # for HTTP requests from splash_ingest.ingestors import MappedHD5Ingestor from splash_ing...
[ "dmcreynolds@lbl.gov" ]
dmcreynolds@lbl.gov
cb376017989fd0dd30b31b43274c50aed7951e85
e36c42157b6eb5c5e951d5a56b717ce2edf682fc
/session_server/common.py
d0628b325e47a3fe69c25f95dde05f3f944e113b
[]
no_license
parkchansoo/pamisol_temporary
253cfd9cc972c3b26463207f765aa4f9004cd5e3
6fd0f92fd6988dc6a005435ef6548c02397dcf96
refs/heads/master
2022-12-13T12:23:33.975379
2018-02-15T02:40:02
2018-02-15T02:40:02
121,584,090
0
0
null
2022-12-08T00:51:43
2018-02-15T02:28:01
Python
UTF-8
Python
false
false
1,316
py
status_code ={ "REGISTER_SUCCESS": { "code": 1000, "msg": "Register Success", }, "REGISTER_FAILURE": { "code": 1001, "msg": "Register Failure", }, "LOGIN_SUCCESS": { "code": 1010, "msg": "Login Success", }, "LOGIN_FAILURE": { "code":...
[ "chansoo1563@gmail.com" ]
chansoo1563@gmail.com
20e4455b062aaabbef8f56ad00ac2e90b32e6512
e6f0ee76b3b98407fae4ac736100d50dff94c3f1
/SimpleERP/ERP/migrations/0014_auto_20180422_1314.py
9861ae49fa0d04baeb80a4f848e1d0966426b72a
[]
no_license
skth5199/SimpleERP
f5e4835f578fdb82f0f50fdce1e2198f00b062ab
9ca5192d2c88e897474ca5fa326897eba4ef1e2f
refs/heads/master
2022-05-18T00:14:38.341656
2022-04-25T19:31:57
2022-04-25T19:31:57
134,972,882
0
0
null
null
null
null
UTF-8
Python
false
false
2,169
py
# Generated by Django 2.0 on 2018-04-22 13:14 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ERP', '0013_auto_20180422_1253'), ] operations = [ migrations.RenameField( model_name='price', ...
[ "srikanthtk99@gmail.com" ]
srikanthtk99@gmail.com
177938fe0a876bb495853e00039504169e457847
726ce8dddbb12af1662e002633bfe538ddf77708
/BCPy2000-33960-py2.5.egg/BCPy2000/VisionEggRenderer.py
996063aed6e9ce75dc545a4a40ab94a7daccdace
[]
no_license
bopopescu/BCPy2000-1
f9264bb020ba734be0bcc8e8173d2746b0f17eeb
0f877075a846d17e7593222628e9fe49ab863039
refs/heads/master
2022-11-26T07:58:03.493727
2019-06-02T20:25:58
2019-06-02T20:25:58
282,195,357
0
0
null
2020-07-24T10:52:24
2020-07-24T10:52:24
null
UTF-8
Python
false
false
13,833
py
# -*- coding: utf-8 -*- # # $Id: VisionEggRenderer.py 3328 2011-06-18 02:17:13Z jhill $ # # This file is part of the BCPy2000 framework, a Python framework for # implementing modules that run on top of the BCI2000 <http://bci2000.org/> # platform, for the purpose of realtime biosignal processing. # # Cop...
[ "vanessa_kamara@my.uri.edu" ]
vanessa_kamara@my.uri.edu
4ccf4f0a65743ccb7d85345fa763d577d726f775
2b2de1801e45582e0ba67fbd451df84c298dd0fe
/Basic Python/14. dictionary.py
fd65d0f6e670ddd8043de709d3277a5b43fba9be
[]
no_license
Geca981020/Undergraduate-Study
99c92e439058fed88658bf6b0535c0009a0bc762
78d82a453e05a3695fc42d34c95eae2fc16123ce
refs/heads/main
2023-05-25T07:17:26.025753
2021-06-05T07:36:12
2021-06-05T07:36:12
337,929,295
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
# dictionary Declaration&insert people = {'name': 'hong gil dong'} people['phone'] = '010-1234-5678' people['birthday'] = 1122 # dictionary Searching print(people['phone']) # dictionary remove del people['phone'] print(people) people.clear() print(people)
[ "noreply@github.com" ]
noreply@github.com
0aff2ea3edae0934d10f6d423ca02ad299969547
596b852bb8428a6db4dc1153f68f6d3e0da6efec
/findNextLargestString.py
88ebc60cfeca04d01f820e661809dfe014416ce5
[]
no_license
bsofcs/interviewPrep
3da14bf509bb169b0adb185bd3e1f08c371f6d72
ace8ac2d3b47652efeb7052f93557e753796a677
refs/heads/master
2022-11-16T15:33:44.780238
2020-07-03T19:35:43
2020-07-03T19:35:43
272,368,723
0
1
null
null
null
null
UTF-8
Python
false
false
379
py
def findNextLargestString(arr,val): if arr is None or val is None: return None if val>=arr[-1] or val<arr[0]: return arr[0] low,high=0,len(arr)-1 while low<high: mid=low+(high-low)//2 if arr[mid]<=val and arr[mid+1]>val: return(arr[mid+1]) if arr[mid]>val: high=mid-1 else: low=mid+1 arr=['b'...
[ "42695433+bsofcs@users.noreply.github.com" ]
42695433+bsofcs@users.noreply.github.com
fab9a78af75beca94afbca19f6f69d7997087601
02ee91a60e80629fcce24d511ada9204d1f360a1
/constrained_network.py
97a4afba2ba9abd3f19e15e1c06595f3db34f6a7
[]
no_license
tjwldnjss13/ANN-PNU
7b73b93971cac5e671dbeaf1172d8cd25b6ab442
380596eb39a1834dce5c6b1a0a1942ff2246b2a4
refs/heads/master
2022-11-11T20:06:55.547303
2020-06-22T02:23:03
2020-06-22T02:23:03
265,425,814
0
0
null
null
null
null
UTF-8
Python
false
false
14,059
py
import numpy as np from PIL import Image import matplotlib.pyplot as plt import os from filters import * class ConstrainedNet: epoch_list = [] train_loss_list = [] train_acc_list = [] valid_loss_list = [] valid_acc_list = [] test_loss = 0 test_acc = 0 lr_list = [] def __init__(sel...
[ "tjwldnjss13@gmail.com" ]
tjwldnjss13@gmail.com
4a5cebd758b9f2a3c1588a39c9bb4cbcd4a2080f
0b7008ebe62448d929f5159f1fde7af11ef278ee
/2016/06-1.py
70459eef1c2870cf9e35a6458cbd24554d8c03db
[]
no_license
TheMiles/aoc
6db7cd1fbafbde0de0e532cc60f1da45020367d2
51d4940c53bcef266a93de5593db071e08285031
refs/heads/master
2020-06-12T18:28:02.180745
2019-12-19T18:18:15
2019-12-19T18:18:15
75,777,935
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
#!/usr/bin/env python3 import argparse import hashlib parser = argparse.ArgumentParser() parser.add_argument('file', type=argparse.FileType('r'), help='the input file') args = parser.parse_args() number_of_lines = 0 histogram = [] for l in [ x.strip() for x in args.file]: number_of_lines += 1 ...
[ "miles@coders-of-the-caribbean.org" ]
miles@coders-of-the-caribbean.org
f138b1a144eedf0c0d0871e5d677b9735bb782e0
7665b25d1f5ec432b976537a50c5bc73858be6c6
/stack.py
23544462324610e87e7a313a23b23dff4cb76a98
[]
no_license
arindam7development/Python-Factory
14b2ea3a073eb40dda23a36f52dd7a07df4f87a0
7cd517e3f6f0ed178ea6c959bf4b73a8600ea6dc
refs/heads/master
2021-01-22T01:33:49.212537
2015-04-21T05:57:20
2015-04-21T05:57:20
33,924,534
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
# The list methods make it very easy to use a list as a stack, where the last element added is the first element retrieved (“last-in, first-out”). #To add an item to the top of the stack, use append(). #To retrieve an item from the top of the stack, use pop() without an explicit index. stack = [3, 4, 5] stack.append(6...
[ "arindam5191@gmail.com" ]
arindam5191@gmail.com
ff5b5983c22a847685d889c11aa61868c0103063
e5ed648d069cca47531c178ca4f7fc6447f09dfa
/micropython/nucleo-f767zi/tcp_htget_u.py
161e48c389f7358ec3bd554472c560717baef7c4
[ "MIT" ]
permissive
bokunimowakaru/iot
fef89df949121be46494dcfc604085edb22ca756
07c42bdcd273812e54465638f74acc641bf346b9
refs/heads/master
2023-07-19T10:18:33.286104
2023-07-10T13:39:39
2023-07-10T13:39:39
163,511,968
7
0
null
null
null
null
UTF-8
Python
false
false
2,802
py
# coding: utf-8 # IoT連携の基本 HTTP GETμ for MicroPython (よりメモリの節約が可能なusocket使用) # Copyright (c) 2019 Wataru KUNINO import network # ネットワーク通信ライブラリ import usocket # ソケット通信ライブラリ import ujson # JSON変換ライブラリを組み込む from sys import exit ...
[ "xbee@dream.jp" ]
xbee@dream.jp
de4f669765dab0e5633ca48adaee9cd29c083726
f281f7ca2843fa51f87e87e7a9cb721ef0a938e7
/src/svs/inacademia_server.py
5c51e7315be97932f95cca5102cec4fdacd9dab4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SvHu/svs
c45407decdc215fd5f5782f65184d26d8f031bf1
6a62fc11373ced691ce4f6bbe75ef7790dee0ef2
refs/heads/master
2020-12-25T20:42:51.697729
2016-07-10T08:37:48
2016-07-10T08:37:48
63,401,231
0
0
null
2016-07-15T07:29:33
2016-07-15T07:29:32
Python
UTF-8
Python
false
false
14,754
py
import json import logging.config import os import urllib import cherrypy from oic.utils.keyio import KeyBundle from oic.utils.webfinger import WebFinger, OIC_ISSUER from saml2.response import DecryptionFailed from saml2 import BINDING_HTTP_POST, BINDING_HTTP_REDIRECT from svs.cherrypy_util import PathDispatcher, res...
[ "rebecka.gulliksson@umu.se" ]
rebecka.gulliksson@umu.se
ad082d6a706f4aaef8bf00a35b031d026601dbd4
e8487b1670fc06852af90fd5f00dd4d45e51c8a2
/TexGenerator/year2014/sem1_39_kr2.py
f1fa0085e50c4eac9d1e96d3d4153f3f3cf5fc49
[]
no_license
AntipovDen/Matan
f235e4f2ac8f2effeb42170a3d3c265a53bc860a
1823a4c605227103cd838fc98be8cf0e223239fc
refs/heads/master
2021-09-08T19:53:05.372844
2021-08-27T13:33:11
2021-08-27T13:33:11
68,631,208
0
0
null
null
null
null
UTF-8
Python
false
false
3,679
py
__author__ = 'Den' from random import randint p1 = ['Продифференцируйте f(x):\\tabularnewline\r\n$f(x) = x^\\frac{2}{\\ln x} - 2x^{\\log_x e} e^{1+\\ln x} + e^{1+\\frac{2}{\\log_x e}}$\\tabularnewline\r\n\\noalign{\\vskip4mm}\r\n', 'Продифференцируйте f(x) 50 раз:\\tabularnewline\r\n$f(x) = (x^2 - 1)(4 \\sin^3...
[ "antipovden@yandex.ru" ]
antipovden@yandex.ru
594a6854aa036bb05a7b70e39cf7494fa72f71a0
395f0f1faa1ba05b1dcd026b5c4c8ae6f49a931e
/states.py
4a4a9399414bca3d40096145970df92b68a655e4
[]
no_license
ddthj/Rogue-Neurons
f9b6c8b1a49f8acc0f730111e9f1fe7256f0bfc9
da849b9614cc20adf8121c84a4ca80b1b6dae9d6
refs/heads/master
2020-05-16T22:31:44.384901
2019-04-25T02:23:32
2019-04-25T02:23:32
183,338,907
1
0
null
null
null
null
UTF-8
Python
false
false
4,377
py
import math from objects import * from util import * ''' states.py - contains every state in the form of classes plus the controller, which takes state output and converts it to something we can return to the framework ''' class state: #all states inherit from this def __init__(self): self.expired = Fal...
[ "theddthj@gmail.com" ]
theddthj@gmail.com
37dcd51d3214a03cb4d9bd5ef3121c0b9a56103a
a85d1d6a54c8c143d0d64f02b80c54aba78b3a84
/1116/클라이언트 타임.py
078160e9ce1284f47a7a314e32060291650920da
[]
no_license
w51w/python
30007548ba19076285954099125f42bc63a3d204
bc556a520ad0a9d99b5445fc92113c4afa83b4c2
refs/heads/master
2023-01-28T17:37:15.344106
2020-12-06T14:56:47
2020-12-06T15:42:40
308,628,844
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
#client_time import socket sock = socket.socket() #인수 생략 가능 address = ('localhost', 4444) sock.connect((address)) print("현재 시간: ", sock.recv(1024).decode())
[ "w51w@naver.com" ]
w51w@naver.com
554a381d585961861f2b683247f2d7acdb9d391e
602bdbd1d8ef4d36ccfdcae5756bc8e448d30584
/share/ecommerce/voucher/basic.py
5f14cce3af33ec80ad9e80dd70fb9a3ead072d59
[]
no_license
timparkin/timparkingallery
1136027bf9cfbad31319958f20771a6fdc9f5fc4
6e6c02684a701817a2efae27e21b77765daa2c33
refs/heads/master
2016-09-06T00:28:16.965416
2008-11-25T21:15:45
2008-11-25T21:15:45
12,716
1
1
null
null
null
null
UTF-8
Python
false
false
3,182
py
import re import formal from ecommerce.voucher import base class Voucher(object): def getCreator(self): return BasicVoucherDefinitionCreator() def getEditor(self): return BasicVoucherDefinitionEditor() def getType(self): return BasicVoucherDefinition de...
[ "info@timparkin.co.uk" ]
info@timparkin.co.uk
d9410fc95bb27e72892fdb3ed8a98dd71d4aad6d
db45f73a9b2a2cd8e867c577e68e9b3e6f0244f9
/ScanWatch/storage/ScanDataBase.py
2e91241f31ea76a964bbdd9b536be9e3d898ea69
[ "MIT" ]
permissive
qihangwang/ScanWatch
753d6c431df1e9e0468fd0195ac8fc8aedea0b6b
97f60cd3ad394dc0bfb50e846bbfaa1eeb9cc197
refs/heads/master
2023-06-30T16:57:56.414960
2021-07-17T10:14:53
2021-07-17T10:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,003
py
from typing import Dict, List from ScanWatch.storage.DataBase import DataBase from ScanWatch.storage.tables import get_transaction_table from ScanWatch.utils.enums import TRANSACTION, NETWORK class ScanDataBase(DataBase): """ Handles the recording of the address transactions in a local database """ ...
[ "noreply@github.com" ]
noreply@github.com