blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
bfc2ebb6d1655aa9a41913911b3fe955fb9b7a46
f7c622b72bc3297df87350897c055ad5b38475ae
/practice/python/linkListCycle2.py
966330e8dd9ef1b9afbaddb1536242c5ba929454
[]
no_license
xinnige/practice
c88f30afae502beac9046686dfd0b10baec83f55
ef627bc4a5031054e8f7144ea6df04dc7e95be73
refs/heads/master
2023-01-12T01:54:49.340274
2020-11-20T06:56:57
2020-11-20T06:56:57
21,447,704
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: # @param head, a ListNode # @return a boolean def hasCycle(self, head): if head is None: return None step1 = head step2 = head ...
[ "xinni.ge1990@gmail.com" ]
xinni.ge1990@gmail.com
e6a1ff6d4a655763efce9c89a9265a776a3925d4
fe3776bdc16506132d9e3c200876949532f2e2b4
/jumpToDjango/myvenv/bin/django-admin.py
23c293b44a62258d5cdf9be0de93ba770d5a685e
[]
no_license
ParkSeungSu/DjangoStudy
f80682ad953fb43524cd45da32c46dc32250bbff
84bdbdca9b78cb8ea01917326c90ba4b0e093aa8
refs/heads/main
2023-06-04T00:51:56.493775
2021-06-24T01:37:28
2021-06-24T01:37:28
375,884,467
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
#!/Users/parkseungsu/Documents/GitHub/DjangoStudy/jumpToDjango/myvenv/bin/python3 # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( ...
[ "cldkr0401@naver.com" ]
cldkr0401@naver.com
3937c4cb19ff73c785369f0c9df1e8a530f15f2c
5d2b2692d292154732b9c78e74c97a4415c4bd48
/password_safe/asgi.py
9630b456d9b0a376106ada3460a621f2a4e590c3
[]
no_license
siddnaidu/Password-Safe
21d86ec774df6b262b7554f325dff143beccd0a5
9a317fa84f00711e564e552be72626aa9bbd1aed
refs/heads/main
2023-05-08T01:21:51.022356
2021-05-31T22:03:38
2021-05-31T22:03:38
372,638,164
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for password_safe project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO...
[ "siddnaidu@gmail.com" ]
siddnaidu@gmail.com
c0093941c1ace509790ae1d174fc145cb3d72cda
5ef6bbbf46edf15d555a8b5d2a7e6d470930de04
/iteration.py
55fecd1d531ac815e842f5c814e9ba9ce89e50d7
[]
no_license
PhillipHage202/python-tutorial-and-exercises
55a9e004db787f5f4bed3a31d6f5267a26a7b7fc
5296d22844d52c1c033de7e5b21af2fbf8d2e869
refs/heads/main
2023-01-03T14:21:47.254327
2020-10-26T17:01:52
2020-10-26T17:01:52
306,691,658
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
names = ['bob', 'bobby', 'cat', 'kat', 'tom'] counter = 0 while counter < 5: print(names[counter],'is super cool!'); counter += 1 for i in range(10,21,2): print(i)
[ "noreply@github.com" ]
noreply@github.com
193971cdcf02c7406441e8386700a8da7c1fc700
039b576ce8d37caef2ea1f65061b3d6a16a116e9
/manage.py
7a9c78c49909b0e065f03ce9fc99e8b640c5520d
[]
no_license
cry0genic/kaladhaar
5f18ffdb477a39fb17459f31ed755eddf70fd7dc
bdcaa3023110cf3d37a8d4385d79781963e4aac9
refs/heads/main
2023-04-22T02:16:23.725958
2021-05-15T13:13:25
2021-05-15T13:13:25
367,594,521
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'kaladhaar.settings') try: from django.core.management import execute_from_command_line except Im...
[ "cry0genic1103@gmail.com" ]
cry0genic1103@gmail.com
7a96a89f8ea1094f00043329402be82d7949104e
bf1deb49a43a00414cb9e7403fd862eeba5c1253
/pr064.py
5ff88ac71f244b9160ec513c87d827727bfb52c3
[]
no_license
samrao1997/project_euler
28857a9ed6082faa0a5c19d3eb9bfc8fc3594abc
0e087ccfea8837a2c1392937fb16ffb5c1963cf1
refs/heads/master
2023-08-23T02:25:37.973943
2021-09-20T16:16:59
2021-09-20T16:16:59
269,555,524
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
""" """ # import time import time # square root function from math import sqrt # time at the start of program execution start = time.time() # function to calculate the continued fraction def cf(n): mn = 0.0 dn = 1.0 a0 = int(sqrt(n)) an = int(sqrt(n)) period = 0 if a0 != sqrt(n): wh...
[ "samrao1997@gmail.com" ]
samrao1997@gmail.com
fc6db5b0334614a930266a93ab3d9ec1bea3eb62
3804800f0e853ada6091057a76f0f15ef8c8654e
/newcloudo2o/common/az_ag.py
9bbe0763b305785d3eea467943f884bd1ea42feb
[]
no_license
lilingxing20/newcloudo2o
a4f07e8919a30c72ddfe75061ea748f9b20d4861
2396d75c52491c45fd6226bac382dfca46db8b5e
refs/heads/master
2021-01-13T14:10:55.849570
2017-01-14T03:31:11
2017-01-14T03:31:11
78,994,170
0
0
null
null
null
null
UTF-8
Python
false
false
6,247
py
# Copyright 2015 Huawei Technologies Co., Ltd. # # 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 agree...
[ "lixx@vsettan.com.cn" ]
lixx@vsettan.com.cn
aa790bc34441cd4186ce10350ab783afe7095ad8
1edd52cf197e5ae67b5939a3beb3e70761334e62
/Notes/Notes/Udemy/Aws_boto3_refresh/Session-5-Waiters/tags1.py
81cc86fb506d96deb89eae42df117690eaa4687a
[]
no_license
sandeepmchary/Devops_wordpress_Notes
bdcd85d526780d03c494ecb93e714e7ffe0a4d58
ffd2092162073e1e7342c6066d023d04e6ca8c1c
refs/heads/master
2022-06-18T21:33:02.471025
2022-06-12T11:14:47
2022-06-12T11:14:47
154,679,658
1
4
null
2022-05-19T16:59:57
2018-10-25T13:51:40
HTML
UTF-8
Python
false
false
517
py
import boto3 from pprint import pprint ec2_re = boto3.resource('ec2',) ec2_cli = boto3.client('ec2',) response=ec2_cli.describe_tags() values_list=[] for each_in in ec2_cli.describe_instances()['Reservations']: for each_res in each_in['Instances']: for each_tag in response['Tags']: values_list.append(each_tag) ...
[ "awssandeepchary@gmail.com" ]
awssandeepchary@gmail.com
e52af5f18448cc2cbf4a1ceababf69ed635d5df8
a17cf805fc6a4dc187355e62c9480c6b3c834d53
/dashboard/dashboard/pinpoint/models/quest/read_value.py
a2f98a65c2c6352536ec5730b49f6da453b9f51d
[ "BSD-3-Clause" ]
permissive
shreya99oak/catapult
6a42740bfea5eb7513e0054b66b13fab3ffd26b7
8d2c28ec7666a034afe50a59f862ea94cef42d9a
refs/heads/master
2020-03-21T14:53:09.065230
2018-06-22T23:30:37
2018-06-25T16:57:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,414
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import json from dashboard.common import histogram_helpers from dashboard.pinpoint.models.quest import execution from dashboard.pinpoint.models.quest import...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
5fd875ebe08258121b00180ac817ddf31b2be87f
92cfa4985ecf575f1daf1fc277886cfc1c58b3d0
/bak/post_recommendations.py
cca276f30f8334622899a040eef60334628dbefa
[]
no_license
unifyingcloud/denunciabot
e825b7d94d0010ba113ff9689a7367a70a16a995
1e6b55bc7976871d2c1e9a470a4e8e577d9f590c
refs/heads/master
2021-04-06T02:24:27.841157
2018-04-01T18:01:16
2018-04-01T18:01:16
124,598,953
0
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
""" This module takes the raw data, analyzed data and generates a set of posts containing the promotions. """ import os import json import pandas as pd import argparse import configparser import logging from utils.general_utils import * import pycron from utils.amazon_affiliate import Amazon def main(logger, args, s...
[ "jonatane.cisneros@gmail.com" ]
jonatane.cisneros@gmail.com
9347b30fdb6def97b246e3e28a1caab202cb8878
71b699d500158c9f7613565580be41554286db56
/UI/Dialogs/MapGenerationDialog.py
5f0d916cb0316b3c99263746a86eb33b9e67459a
[ "MIT" ]
permissive
gizmoy/PyTSP
e2cdc151ffadc2466d629b6e0496001851f6e422
0acf2e85e6d75221694004f8a3ea8fa62643656f
refs/heads/master
2020-03-08T16:32:51.935260
2018-04-05T17:44:15
2018-04-05T17:44:15
128,242,359
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
from PyQt5.QtWidgets import QDialog from UI.Layouts.MapGenerationDialog import Ui_MapGenerationDialog class MapGenerationDialog(QDialog): def __init__(self, parent = None): QDialog.__init__(self, parent) self.ui = Ui_MapGenerationDialog() self.ui.setupUi(self) self.setupUIActions() def setupUIActions(self...
[ "m.giemza55@gmail.com" ]
m.giemza55@gmail.com
215395b9bb7c35cc8fa42a6752630ec1edced1c2
ee2885f74fd6b5f89980b7c0c110ac2aca5f2a9d
/accept-reject.py
bba35a435e4d83aa61645632c66f7326e5bd31ff
[]
no_license
andreyryabtsev/jets-tutorials
1aeb7d0988522d76421476cefcd87450fb8b0829
adb72553fa80cb020c41459da0b76e6267664e52
refs/heads/master
2020-03-06T19:55:04.454248
2018-08-28T06:17:40
2018-08-28T06:17:40
127,040,591
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
import numpy as np import math, random # use probability function N = exp(-(x - 5) ** 2 / 8) / math.sqrt(8 * math.pi) def prob(x): return math.exp(-(x - 5) ** 2 / 8) / math.sqrt(8 * math.pi) def get_rnd(): y = 100 x = 0 x_pr = prob(x) while y > x_pr: x = random.random() * 10 y = r...
[ "ryabtsev@uw.edu" ]
ryabtsev@uw.edu
81f8c79a8189c55b963db329ac7c3bfc91739038
cd3259afe7990bfdb9b07823769b2185088b34bf
/pipeline/pipeline.py
843c8bd6ac4b79faf1d2faf71adca172fccdd600
[]
no_license
amandasongmm/impression_personality
d3e7c85cf61fa3780f12831bc246f70e40c1c283
9c144a530446afd1709bdb9c6ea197b8fe612121
refs/heads/master
2021-07-04T16:01:05.030649
2019-01-22T04:45:53
2019-01-22T04:45:53
129,503,570
1
1
null
null
null
null
UTF-8
Python
false
false
11,176
py
import os import cv2 import tensorflow as tf import numpy as np import skimage import skimage.io import skimage.transform import math import time import pandas as pd import pickle from scipy.stats.stats import pearsonr from os import listdir from os.path import isfile, join, basename pd.options.mode.chained_assignment ...
[ "feijuejuanling@gmail.com" ]
feijuejuanling@gmail.com
8a423da1d66cae5a51378d1601b5aba6a3387c5e
1eaf26c00efeef7e18c7aaf7c40742de78034d8a
/server.py
eeab0230d1062dc9c5e5e4c13f89f7f935eb58c1
[]
no_license
Data-Visualization-EPFL/Amazon_Data_Visualization
572a5ecc2c02cd425ceefbfbd8f62f554fa5945c
46f30e62543e623f6464e43076f60e9da5a18429
refs/heads/gh-pages
2020-04-02T15:21:41.089326
2018-12-21T16:18:40
2018-12-21T16:18:40
154,564,709
0
0
null
2018-12-04T18:08:14
2018-10-24T20:25:44
JavaScript
UTF-8
Python
false
false
2,267
py
#!/usr/bin/python3 import time from os import curdir, sep, path from routes import routes from pathlib import Path from http.server import HTTPServer, BaseHTTPRequestHandler from response.baseHandler import BaseHandler, BadRequestHandler, StaticHandler HOST_NAME = 'localhost' PORT_NUMBER = 8000 #This class will hand...
[ "assematpierrecpe@gmail.com" ]
assematpierrecpe@gmail.com
e0ef39eda8b33eac71f25c5080f37c6667de338b
5b2d0d440864daf2255969574fae0f8a9f211078
/docs/conf.py
e2fbb11c1b351289ab44da52f80b6ba1a3f95774
[ "MIT" ]
permissive
cviejom/NFL-Big-Data-Bowl
a7e66306b17f1f1783ab92e20e722169e30cff02
e0173007e29d9a04ef2adb04f851a79e714372cc
refs/heads/master
2020-08-29T04:51:22.822673
2019-10-29T03:01:10
2019-10-29T03:01:10
217,933,775
0
0
null
null
null
null
UTF-8
Python
false
false
7,732
py
# -*- coding: utf-8 -*- # # NFL documentation build configuration file, created by # sphinx-quickstart. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a def...
[ "carlosviejom@hotmail.com" ]
carlosviejom@hotmail.com
bf5db3fd4ad992f0cb25f1ba501df5f3e33e269f
1797576f7ebc6eea049fea3ff91831cb140afa35
/Assignments/Assignment-2/list/insert.py
a16c82d590cd0399dd5378f5613687032f77a77f
[]
no_license
Ayushd70/OCF-Python
8dd44f9ec08509d9610a6d8310622354e88097c2
bea41d997056235051db9f54f66790f66d7d8a2a
refs/heads/master
2023-06-03T20:38:52.701002
2021-06-23T15:38:56
2021-06-23T15:39:46
367,636,185
1
0
null
null
null
null
UTF-8
Python
false
false
50
py
array = [1, 2, 3] array.insert(3, 4) print(array)
[ "ayushdubey70@gmail.com" ]
ayushdubey70@gmail.com
673eea3379c11c8ebcf5c345ea113a96e6a0bd38
ce183264dc7f4c190aa6e1708ac0002b070e6c79
/music/admin.py
0d12f5789a49c77c9b77362bd187e87d4560d879
[]
no_license
linrakesh/jango
58a5cb157f3c6088f07ec7fd99a0b6f4764f3575
152581790e907c5d6b3b6657b007992137218aa1
refs/heads/master
2020-03-18T12:27:28.568960
2018-05-27T15:28:50
2018-05-27T15:28:50
134,727,469
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
from django.contrib import admin # Register your models here. from .models import Album,song admin.site.register(Album) admin.site.register(song)
[ "rakesh@binarynote.com" ]
rakesh@binarynote.com
6c55884a7a8b36c6f1980ac4169d19564bb60263
66f044c6c9092ec726174df9dba4c1b6e10f7170
/string5.py
854b7269908f83b652cae0e5d093dd5a849698af
[]
no_license
rjraiyani/Repository2
3726d81aff88d855f1287656d3a70dd4666352c2
3cda85b5389beb9f35c402efdf3302982d0819e7
refs/heads/master
2021-04-30T06:30:18.796127
2018-02-15T15:25:12
2018-02-15T15:25:12
121,444,221
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
# Example input() statement s = input('Please enter a string: ') for i in range(len(s)): if (i % 2) == 0: print(s[i])
[ "rajan.raiyani@mckesson.com" ]
rajan.raiyani@mckesson.com
d4f5c4c7642a327d4448988e49e700c910b7f91a
319db38ed3fe46203f593b0e44cdb769953af34b
/domain/tweet.py
b3841e3292cd5d2c5e59dd4e6778dc94140db64a
[]
no_license
rubenhortas/cleantweetsgood
92253e99515dd971c415df7deb50ef4b3f18602e
9cb1204f7ed37e658da0f2a8e1044e2661e806f1
refs/heads/master
2022-07-11T16:06:27.048529
2022-07-05T15:01:46
2022-07-05T15:01:46
58,401,107
1
0
null
null
null
null
UTF-8
Python
false
false
1,061
py
from configuration import BLACK_LIST from crosscutting.cleantweetsgood_messages import print_blacklisted, print_whitelisted class Tweet: id = None text = None isBlackListed = False blacklisted_word = "" def __init__(self, tweet_id, text=None): self.id = tweet_id if text: ...
[ "rubenhortas@gmail.com" ]
rubenhortas@gmail.com
b2461676a7f8a0f82a04a57303d4c44b3bf8e442
a6f4a4230e52a6a41ccd37d832d8881c3f6c0637
/Dia/entity/models.py
79037feea84048fd39b8a2a27fdcb32b3488a899
[]
no_license
HeySearra/diamond_backend
77ebcccb0efb2ed4f0cde1d2a0c8616855a48504
e2ca75715a37fdc61ea07ca8b9389f0c6de53df4
refs/heads/master
2023-01-02T00:13:02.641858
2020-08-14T18:48:19
2020-08-14T18:48:19
286,345,022
1
3
null
2020-08-14T18:48:20
2020-08-10T01:05:23
Python
UTF-8
Python
false
false
6,765
py
from collections import deque from typing import Callable from ckeditor.fields import RichTextField from django.db import models from django.db.models import QuerySet, Q from django.template.defaultfilters import striptags from entity.hypers import * from meta_config import KB, TIME_FMT, ROOT_SUFFIX from user.models ...
[ "noreply@github.com" ]
noreply@github.com
8c58eb64d89bd2d718b07e69a6ee1ab74d79b56e
56361cfdfe97b0ccae4209ba644d5d025a189f20
/pluto/gui_pages/gui_mb.py
30110db102895049ff2764c8ef58c84bd9391be6
[]
no_license
pluto-development-team/puck-tracker-pluto
d6d114799dd9ffb6b93988935493f9bc4c7935a3
77428271f3e27550286e75b72ef0e57682119db1
refs/heads/master
2020-03-27T19:55:53.799480
2018-09-27T22:06:51
2018-09-27T22:06:51
147,022,102
2
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
""" Datei für die Maxwell-Boltzmann Seite welche wiederrum das calc Mdoul MbFit() aufruft """ __authoer__ = "Friedrich Rieber" __version__ = "1.0" import tkinter as tk from tkinter import ttk # canvas zeug import matplotlib from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg from matplotlib....
[ "friedrichrieber@gmail.com" ]
friedrichrieber@gmail.com
0166e820df5452157e19600ebfe7fafd9abbd142
6e84479e47ef127d91265536381a2420fef0e92b
/paper/module.py
f46754fa488520601543e38f2e68d16bc11d835b
[]
no_license
krsrv/lemmatisation
7f76f2e077d26a94e709a47b7b3ca532651010f4
8963d061ef9a66b6b4305a3db4698491af62fd1c
refs/heads/master
2022-07-29T13:12:12.285987
2020-07-03T15:42:32
2020-07-03T15:42:32
273,979,827
0
0
null
null
null
null
UTF-8
Python
false
false
18,909
py
import tensorflow as tf tf.get_logger().setLevel('ERROR') class ReduceLRonPlateau(): def __init__(self, optimizer, factor=0.1, patience=5, cooldown=10, min_delta=0.0001): self.lr = optimizer.lr.numpy() self.optimizer = optimizer self.factor = factor self.patience = patience ...
[ "mailkr.srv@gmail.com" ]
mailkr.srv@gmail.com
f8772b8d3610eba283c33f7c31d167ed869482c9
7f29e2c30e047ec59fb104d4f0953a8a8bbead51
/rb/complexity/rhythm/usage.py
6c65f3db5628a3b48d6c2209ab3f4b4d85d86f6e
[ "Apache-2.0" ]
permissive
rwth-acis/readerbenchpy
69597dc1f2d500aea2be49981799aa20a0e6ea68
1a070ae678f58ccd6f358c0802bdf0b3b3dde9d3
refs/heads/main
2023-07-17T11:57:25.507494
2021-09-03T12:49:10
2021-09-03T12:49:10
348,343,445
1
0
null
null
null
null
UTF-8
Python
false
false
2,049
py
from rb.core.document import Document from rb.core.lang import Lang from rb.core.text_element_type import TextElementType from rb.complexity.measure_function import MeasureFunction from rb.complexity.rhythm.no_alliterations import NoAlliterations from rb.complexity.rhythm.no_assonances import NoAssonances # import n...
[ "karlydiamond214@gmail.com" ]
karlydiamond214@gmail.com
a4ac665ed408629697ab1bbcbba6907df57e676d
40b6fc12bea094e81deb2ac992c4314477f6a35f
/django/mathias/valeu/models.py
296eb249799e21255cad7a4645235daf41f7ccca
[]
no_license
mateusflavio/mathias
d2ea11638f62182230a780dc0350e5dcc97b2772
cf6cf9e541d51a67237dd3236b73b1899e76b255
refs/heads/master
2021-01-11T08:16:45.945002
2017-10-10T18:41:57
2017-10-10T18:41:57
68,975,603
3
2
null
2017-10-10T18:41:58
2016-09-23T01:09:50
Python
UTF-8
Python
false
false
1,932
py
from django.db import models from django.utils import timezone class Valeu(models.Model): id = models.AutoField(primary_key=True) team_id = models.CharField(max_length=50) team_domain = models.CharField(max_length=500) channel_id = models.CharField(max_length=50) channel_name = models.CharField(max...
[ "mateusflavio@gmail.com" ]
mateusflavio@gmail.com
a7782e8bd6379ce0e68a9351f69d587b96306a96
cbc48f700a096796ce34a0a95eb943cdd2543b48
/scripts/test.py
b257148c60e3a65caac2a3562784783be9c7009a
[]
no_license
snakeskinsalamander/pledgesimulator
19d8fa0ebf8aed884a18fa8e21725999cb2623e9
4ad4b4bf6fd9bed3e0f15707d35a0534129969b1
refs/heads/master
2020-04-18T15:21:58.732150
2019-02-01T17:11:45
2019-02-01T17:11:45
167,610,337
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
from flask import Flask app = Flask(__name__) @app.route('/') @app.route('index') def hello_world(): base_element = {'title': 'Welcome to my site!', 'author': 'digitalsin'} return ''' <html> <head> <title> {{ base_element.title }} </title> </head> <body> Welcome {{ baes_ele...
[ "digitalsin@gmx.com" ]
digitalsin@gmx.com
99fc9491b630748524ccd1555aa56e09d2cd1b06
39c042e424b48e83dfad767f77d79b3aac47a82d
/0-practice/0example.py
43c2105211175a15258b7d3c321a4a5e7d117bc1
[]
no_license
xiashiwendao/21-tensorflow
f3c7be0a509e242b32ab14066bdba981c9508377
f45405bc705e77483a2aaeacbe67d1823cfa7f4d
refs/heads/master
2020-06-03T02:27:43.438231
2019-07-08T15:02:28
2019-07-08T15:02:28
191,395,871
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
import tensorflow as tf import numpy as np # 使用 NumPy 生成假数据(phony data), 总共 100 个点. x_data = np.float32(np.random.rand(2, 100)) # 随机输入 y_data = np.dot([0.100, 0.200], x_data) + 0.300 # 构造一个线性模型 # b = tf.Variable(tf.zeros([1])) W = tf.Variable(tf.random_uniform([1, 2], -1.0, 1.0)) y = tf.matmul(W, x_data) + b # 最小化方...
[ "xiashiwendao@sina.com" ]
xiashiwendao@sina.com
8d5bd6163930a789442305a72ddbc94ab334bc43
8e975aa1b29b0610acd5d04cccdf4ed6ba3d5018
/run_mod.py
43ddb9d9f98040c75aca032afe8d32495a1bd41d
[]
no_license
YoungseogChung/NNKit
f41c91b5d61dfb037e28c6a3bd517414c06e264e
c07aada6993de968773e98b048b20d29f9b3d693
refs/heads/master
2021-05-18T05:43:40.167617
2020-08-20T01:59:41
2020-08-20T01:59:41
251,141,399
3
0
null
null
null
null
UTF-8
Python
false
false
9,365
py
import os, sys, random import numpy as np import multiprocessing import argparse from tqdm import tqdm from copy import deepcopy from collections import OrderedDict import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torch.nn.init as init from torch.optim.lr_scheduler ...
[ "youngsec@andrew.cmu.edu" ]
youngsec@andrew.cmu.edu
9562be4d86e7cced3634191af321d3c1fb7e2b81
5a5780320ace267df55bdadba6c8531696c854f4
/migrations/versions/2382d7c484ef_posts_table.py
b16385a703e3c804e2104a37693730bae53a7123
[]
no_license
semperstew/flask_mega_tutorial
efd799e0a84392e2b9ef10ae1fc18574a1e36f76
ca253d6c96078ab7d87f9e82e6c5924ea64a466e
refs/heads/master
2022-11-10T13:33:58.355883
2022-10-24T19:30:59
2022-10-24T19:30:59
166,621,851
0
0
null
2022-10-24T19:31:00
2019-01-20T04:09:24
Python
UTF-8
Python
false
false
1,057
py
"""posts table Revision ID: 2382d7c484ef Revises: 8a77d64a8350 Create Date: 2019-01-20 01:30:49.583434 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '2382d7c484ef' down_revision = '8a77d64a8350' branch_labels = None depends_on = None def upgrade(): # ##...
[ "andrew.stewart@elderresearch.com" ]
andrew.stewart@elderresearch.com
d9633abec836d4892c3fe68ab2a30b5749261f2b
7952f66758b685f4bf045c7eb28efa3a22412a89
/백준/1922.py
d83d5726dbf2078356865eda4bbcbadf8e1a0325
[]
no_license
PingPingE/Algorithm
b418fa13528c27840bb220e305933800c5b4c00a
89a55309c44320f01d2d6fe5480181a4c5816fd2
refs/heads/master
2023-08-31T01:43:09.690729
2023-08-27T13:12:22
2023-08-27T13:12:22
172,465,200
1
0
null
null
null
null
UTF-8
Python
false
false
2,481
py
''' 문제) 도현이는 컴퓨터와 컴퓨터를 모두 연결하는 네트워크를 구축하려 한다. 하지만 아쉽게도 허브가 있지 않아 컴퓨터와 컴퓨터를 직접 연결하여야 한다. 그런데 모두가 자료를 공유하기 위해서는 모든 컴퓨터가 연결이 되어 있어야 한다. (a와 b가 연결이 되어 있다는 말은 a에서 b로의 경로가 존재한다는 것을 의미한다. a에서 b를 연결하는 선이 있고, b와 c를 연결하는 선이 있으면 a와 c는 연결이 되어 있다.) 그런데 이왕이면 컴퓨터를 연결하는 비용을 최소로 하여야 컴퓨터를 연결하는 비용 외에 다른 곳에 돈을 더 쓸 수 있을 것이다. 이제 각 컴퓨터를 연결하...
[ "ds03023@gmail.com" ]
ds03023@gmail.com
fb00c1d89677adf8762d3ea2a85638d2289bbbcb
859e2fe29ea8007b1af8a1840a8ac577935c98b6
/chapter5/ex_4_4.py
e0b975bbcf6d96e424013f8226833603923fd9f4
[]
no_license
Heansum/pythonStudy
1b79e26b352e931d3633fa401c1de504a9932cad
098c4076fc439b5b34e736331eb3e405d839a61f
refs/heads/master
2023-03-27T21:33:20.462666
2021-03-30T03:12:48
2021-03-30T03:12:48
348,167,607
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
# 튜플 slice numberTuple = (14, 75, 32, 94) print(numberTuple[:3]) print(numberTuple[1:2]) print(numberTuple[:]) print(numberTuple[2:])
[ "heansum1556@gmail.com" ]
heansum1556@gmail.com
37b39b1f151f9632be76eb539685b3b91848ee2f
50cd67489251f775679840e30695010bf51379a2
/appOrm/models.py
9c1b801792b13dcb5f3549405e89ca9854657e49
[]
no_license
tamarapazmino/PracticaOrmDjango
fbe4a2155ddca4a35f19c135f28c1c298c46fe5e
9864f78eb4b0bd91834aabb34a0d47af48a4f8fd
refs/heads/master
2022-11-26T07:26:15.915328
2020-08-02T21:35:48
2020-08-02T21:35:48
284,543,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
from django.db import models # Create your models here. class Producto(models.Model): descripcion = models.CharField(max_length=100, blank=False, null=False) precio = models.FloatField(default=0) stock = models.FloatField(default=0) iva = models.BooleanField(default=True) creacion = models.DateTi...
[ "tpazminon@unemi.edu.ec" ]
tpazminon@unemi.edu.ec
8f2d17f16caa4480163d1d509c30d871ac7e82d8
e13dd1be69e5f90db060487a62d40c91caed8ad7
/demo/zohowriter/DeleteDocument.py
c4f2dffedc2a42f87aea4531c43be061b801481a
[]
no_license
iampraba/oi-python-sample
0bad0dd06e13e15f4a6999a7892122cbb502fb37
a9ebcdc6bd7b54e851d97b9d6bb89fe4ed170894
refs/heads/master
2023-06-22T12:35:55.384097
2023-06-07T11:33:09
2023-06-07T11:33:09
276,392,730
0
2
null
2023-05-22T23:57:02
2020-07-01T13:59:56
Python
UTF-8
Python
false
false
2,615
py
from controllers.ClientSideException import ZOIException from controllers.Operations import Delete, CreateDocument from controllers.RestClient import ZOIRestClient document_id = None document_delete_url = None def configure(): """ Passing the entire configuration as a dictionary """ try: con...
[ "ganesh.kk" ]
ganesh.kk
f796552c84b3321bdf315c6daf13c986613a57cc
9647bae27cdaa54c2ae06684a99f79acb3e5a073
/src/Utilizadores/admin.py
1cca55c58003656c93132b01c407ff707e0ef0e6
[ "MIT" ]
permissive
Galimbor/LES_Event_Management
73c42409b410b015674c8fe9df0a4b590e796708
fcdb73fdcd8d318813ea7ea6d27be14b91248f7b
refs/heads/master
2023-07-13T05:47:34.980791
2021-08-01T13:38:22
2021-08-01T13:38:22
391,631,509
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
from django.contrib import admin # Register your models here. # from .models import Utilizadores # admin.site.register(Utilizadores)
[ "rjcorreia12@gmail.com" ]
rjcorreia12@gmail.com
b8db621f5d1e3979942cd6b63d3b82486aabdd35
ba602dc67ad7bb50133aeb312f3c6c54627b3dec
/data/3943/WA_py/518940.py
3b0b14e911ecd75205e252df366bd906589fb946
[]
no_license
Dearyyyyy/TCG
0d21d89275906157372d775f33309ce337e6bc95
7b80de16de2d3f5d95a7c4ed95d45a9e38882e67
refs/heads/master
2020-12-27T23:19:44.845918
2020-02-04T01:59:23
2020-02-04T01:59:23
238,101,032
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
# coding=utf-8 q=[] def order(n,begin,end): global q if begin>=end: q+=n else : i=begin for num in range(begin,end): n[num],n[i]=n[i],n[num] order(n,begin+1,end) n[num],n[i]=n[i],n[num] while True : n=int(input()) if n==0: break ...
[ "543271544@qq.com" ]
543271544@qq.com
8323093943a0e8abbc9aa7aab8957b7a71ed668b
7874c0624f3e5efe6b821053bbcf32483f8e4ae3
/weather5.py
23f564d35d7ef0f1ab8891c21536e2dca7fa28f0
[]
no_license
rajathack007/weather-Project
5bf51e3c5d59c4a57547cdeab52fc3abc65e1d64
2d84874e7b595bdb229e9faf0f5c9836eb79e22e
refs/heads/master
2020-03-22T19:56:36.463653
2018-07-11T10:52:39
2018-07-11T10:52:39
140,562,356
0
0
null
null
null
null
UTF-8
Python
false
false
2,034
py
import requests from pprint import pprint import tkinter from tkinter import * root=Tk() root.geometry("350x90") root.title("Sunshine") img = PhotoImage(file='weather.png') root.tk.call('wm', 'iconphoto', root._w, img) root.resizable(False,False) def show(): root.geometry("350x500") x=(entry_city.get()) pri...
[ "rajatkumar.bihiya@gmail.com" ]
rajatkumar.bihiya@gmail.com
a1c4ac48936487acc1c28d44d057f23b646b1dff
088627b617d8d97755dac27f2a062c4d9e0ed505
/transform/script/test.py
f9c9736c4111b4aa2acef4850b933e15ed411409
[]
no_license
wangjm12138/ipbehaviour
ba46ef8dd2cd5c1f65bb672e1ec55e27cbc8ce92
a4b89f4fafe8d4abbbff11da5af4e636b391cb29
refs/heads/master
2020-09-13T20:04:14.273640
2019-12-26T03:16:21
2019-12-26T03:16:21
222,889,808
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from concurrent.futures import ThreadPoolExecutor import time def sayhello(a): print("hello: "+a) time.sleep(2) def main(): seed=["a","b","c","d","e","f"] start1=time.time() for each in seed: sayhello(each) end1=time.time() print("tim...
[ "373629168@qq.com" ]
373629168@qq.com
037faa78b61a3f33646a5ddad2d55b313f992ef0
f42863aac5aa5cf41fea07a155b3d24cdec94847
/oop/system_split/main.py
445d75ab1065151f742ef12ba46fb48c28a93c28
[]
no_license
stanislavkozlovski/python_exercises
bd03a50fd724b0e084cb816560a69359a228358b
6c8e75d692c92f15d42e71cbf6a9f8da6bf802cb
refs/heads/master
2023-05-15T00:19:48.305862
2019-04-17T13:49:34
2019-04-17T13:49:34
64,744,975
3
2
null
2021-06-11T17:43:53
2016-08-02T09:48:16
Python
UTF-8
Python
false
false
4,944
py
import re from hardware import PowerHardware, HeavyHardware from software import ExpressSoftwareComponent, LightSoftwareComponent class TheSystem: def __init__(self): self.hardwares = {} def register_power_hardware(self, name, capacity, memory): self.hardwares[name] = PowerHardware(name, cap...
[ "familyguyuser192@windowslive.com" ]
familyguyuser192@windowslive.com
837815480c2dc0c67af302bf6bde5bf2600a5a1b
2b0e64a3b3f31d6884f8012ac8f957615cedb9be
/venv/bin/flask
57fc51c188cc7a4d6b5a577ee0ade9f125263483
[]
no_license
holumyn/scrapper
5acdae084aa1dd271f7f053c233d1c672f74f284
cbb7f8b88d1b6ea3bc28cc247fd6f61fb7f68925
refs/heads/master
2022-11-11T01:50:43.768948
2020-06-30T10:22:15
2020-06-30T10:22:15
276,066,460
0
0
null
null
null
null
UTF-8
Python
false
false
259
#!/Users/olumide/Documents/projects/APIs/scrapper/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "noble2016@gmail.com" ]
noble2016@gmail.com
57f90947748637489e8fb9f4081d4958f05f30c5
1f4ea90440eb3541b1ae286822c6c16471cf4832
/sr_unpaired_young.py
c4537e55b90eb47681f9863e1e95dbda5bbdfa06
[]
no_license
williamseto/srgan
9ec6139fde5cf8bf45d31ffb3871014f78e75ab4
1f916a95e3f201833b67ec7f1ba1367101c18b98
refs/heads/master
2021-06-19T16:20:30.716294
2017-07-26T20:44:28
2017-07-26T20:44:28
80,868,845
2
2
null
null
null
null
UTF-8
Python
false
false
17,028
py
# experiment: unpaired GAN with L2 loss on the low resolution images and # only young people images in the discriminator from scipy.misc import imread, imshow, imresize, imsave import os from glob import glob import numpy as np # this for sklearn 0.17, for 0.18: use sklearn.model_selection from sklearn.model_selection...
[ "williamseto2@gmail.com" ]
williamseto2@gmail.com
d08eb3bd973d8d717acb6a1aa745c922816758e7
035591da33ffe62f69d47c2739e3ddf35ef7460d
/hutils/inject.py
c9ea4fc43899fa664140f32b2b9f7086af08229f
[]
no_license
huilen/hutils
41d3111933310c0bbf25358d4ad5d30f9489d011
0d5d2246de90bf14c3990be7c9db62f1debeca71
refs/heads/master
2021-01-10T10:10:39.506175
2016-02-16T16:54:00
2016-02-16T17:06:03
51,851,024
0
0
null
null
null
null
UTF-8
Python
false
false
4,315
py
import threading import logging import re from copy import copy from contextlib import contextmanager from collections import defaultdict logger = logging.getLogger(__name__) registry = None class InjectException(Exception): pass class Dependency(object): def __init__(self, dependency, name=None): ...
[ "huilen.abed@gmail.com" ]
huilen.abed@gmail.com
77e9f57f51a5024f885884702da0c704a2681939
86816690a130f480244d33f9378f50b289427fa8
/python/python-hello-docker/hello.py
58ef83e59d75c340b24bad4895ae2b50546d4318
[]
no_license
pvsune/docker_all_the_things
e8f03fa09c0961372344b1e0dfa6c2c03d7e4fc1
f3169a65590ac269e2c508a9566611d0b222c510
refs/heads/master
2020-04-02T16:51:09.286769
2018-10-25T08:12:00
2018-10-25T08:12:00
154,631,586
0
0
null
2018-10-25T07:54:21
2018-10-25T07:54:21
null
UTF-8
Python
false
false
186
py
#!/usr/bin/env python import argparse parser = argparse.ArgumentParser() parser.add_argument('who', nargs='?', default='World') args = parser.parse_args() print(f'Hello, {args.who}!')
[ "pvsune@hotmail.com" ]
pvsune@hotmail.com
11fe137b6caac644da6b9496796e626c9b25d980
789d6b2af1964e37a6dc18db9e3c60bfe531f8d9
/rest-api/coda/urls.py
eb4df0f1abe9c66a8e6b5b383b59d4420305fb28
[]
no_license
SjaakWaarts/D2Y-Reviews
7def094c6cedbd18b51f310ace30669054927baa
005d6ed15e0d56da9264faf35f764b6c6d3ed71b
refs/heads/main
2023-05-30T21:46:55.344397
2021-06-25T14:56:55
2021-06-25T14:56:55
349,463,117
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
"""coda URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "sjaak_waarts@hotmail.com" ]
sjaak_waarts@hotmail.com
2385a5660b0dce3abf0c6aac0db65604a5708974
93e631e4558f5ae5731dd2e35b1ddc6d4ba91506
/yaldevtools/source_generators/interface.py
0edc0d192d38e2a2576b41239712a650d08cc152
[ "Apache-2.0" ]
permissive
xpoy1/libyal
2744bff33ce53e70678966ed0c372e2a5f654cc3
d4a7bded52eb6fa2dc20160ee75905b897827cf1
refs/heads/main
2023-04-26T02:00:50.310037
2021-05-22T09:51:56
2021-05-22T09:52:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,606
py
# -*- coding: utf-8 -*- """The source file generator interface.""" from __future__ import unicode_literals import abc import datetime import io import logging import os import string import time from yaldevtools import source_file from yaldevtools import source_formatter class SourceFileGenerator(object): """Sou...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
8df1763a082af0c5057e9b4fc961b6d069b4e35c
4eefa4f6c1ebbb1703f604c55779f5ae8b49258f
/common/__init__.py
589815692fcf6c100b94b5929b61cbfce567bd78
[]
no_license
ianpark/python-http-b2bua
c0911f7ba80c1df42a57bd0c5a98e469567a40d9
f413a4bb259a12396e4a037400eca7b15c72bf3e
refs/heads/master
2021-01-10T10:13:30.330963
2015-11-13T14:44:57
2015-11-13T14:44:57
46,053,298
0
0
null
null
null
null
UTF-8
Python
false
false
22
py
__author__ = 'iapark'
[ "iapark@cisco.com" ]
iapark@cisco.com
2d37e25ee7459dbcfdb0ddbf22933cd30c659f91
7a52b8d962f9b483ceadf1d035f12abd5abf7242
/06-Python-APIs/3/Activities/10-Stu_BankDeserts_Heatmap/Solved/.ipynb_checkpoints/config-checkpoint.py
21034ea0de287e94be861a8f835a0d6d80e40e71
[]
no_license
ancleveland/Class_Assignments-
219b578668a1715cba787bc103deb77e7e704d06
d9588025c17dcb92d4d45209cb67975147ef5e6c
refs/heads/master
2020-07-29T23:43:03.352199
2019-09-21T15:01:34
2019-09-21T15:01:34
210,004,177
1
0
null
null
null
null
UTF-8
Python
false
false
128
py
# Enter your API keys gkey = "AIzaSyBV3aeXK4eTf6Sd32DRHWgqEzccVcwf_Xo" census_key = "85ac64b6b5a9c0901b00329d1ef41f0c53ccfc98"
[ "ashleycleveland@Ashleys-MacBook-Pro.local" ]
ashleycleveland@Ashleys-MacBook-Pro.local
8603cf60ef58ca914e68ca90dc7218b1cb8c56d1
9e567b8241ce00e9d53843f5aba11c4a119b079f
/tags/basemap_v0_1_1/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
5a5f2e8a998ca09e38a45384a108347f6f0e0790
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-us-govt-public-domain", "MIT" ]
permissive
neilpanchal/matplotlib
3d2a7133e858c4eefbb6c2939eb3f7a328b18118
7565d1f2943e0e7b4a3f11ce692dfb9b548d0b83
refs/heads/master
2020-06-11T09:20:43.941323
2011-01-21T21:50:16
2011-01-21T21:50:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,037
py
from matplotlib.collections import LineCollection from matplotlib.patches import Polygon from matplotlib.lines import Line2D import numarray as N from numarray import nd_image import sys, os, MLab from proj import Proj _datadir = os.path.join(sys.prefix,'share/basemap') class Basemap: """ Set up a basemap with ...
[ "(no author)@f61c4167-ca0d-0410-bb4a-bb21726e55ed" ]
(no author)@f61c4167-ca0d-0410-bb4a-bb21726e55ed
d6619223f734f4b59730aa074511c946bf2bf25b
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp210_7500.py
ab7b4126c72afe657e76d8c4e239c1fa696ad9df
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,841
py
ITEM: TIMESTEP 7500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp -1.6751876986904989e+02 2.1471876986909422e+02 -1.6751876986904989e+02 2.1471876986909422e+02 -1.6751876986904989e+02 2.1471876986909422e+02 ITEM: ATOMS id type xs ys zs 1964 1 0.200108 0.00740567 0.00345244 1335 1 0.797577 0.0218471 0.00283992 33...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
fc5024a920fc04884f4780a4556d77bf4226ec29
f30fc6701e9e90d9e2faba3aa953df826a070908
/splash.py
9671b1d223e4b7fcb71c03db7f4f7b233293d590
[]
no_license
buchs/pycheck
6643b15f39aae20942f412fa90a2d3af9d485ef2
4d9562a0c4521097a6ba528815720ac118e06efa
refs/heads/master
2016-09-06T11:56:38.013622
2013-06-23T03:17:45
2013-06-23T03:17:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
#! /usr/bin/python from Tkinter import * main = Tk() main.withdraw() sp = Toplevel() sp.geometry("100x100+500+500") sp.overrideredirect(1) can = Canvas(sp,width=100, height=100) can.pack() gif = PhotoImage(file='/home/buchs/fin/splash.gif') can.create_image(0,0,image=gif,anchor="nw") sp.after(5000,sp.destroy()) sp.up...
[ "kevin.buchs@gmail.com" ]
kevin.buchs@gmail.com
e7eef688a513394c0ad13daa03a804f5f7b78d13
4610d0284416361643095ca9c3f404ad82ca63c2
/src/sploitego/xmltools/__init__.py
794eae10734f7233002fc04e4d2c183fdddf298b
[]
no_license
mshelton/sploitego
165a32874d955621c857552fb9692ecf79e77b7e
3944451a110f851a626459767d114569d80a158c
refs/heads/master
2020-12-25T03:11:58.071280
2012-08-16T22:33:10
2012-08-16T22:33:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
#!/usr/bin/env python __author__ = 'Nadeem Douba' __copyright__ = 'Copyright 2012, Sploitego Project' __credits__ = ['Nadeem Douba'] __license__ = 'GPL' __version__ = '0.1' __maintainer__ = 'Nadeem Douba' __email__ = 'ndouba@gmail.com' __status__ = 'Development' __all__ = [ 'objectify', 'oxml' ]
[ "ndouba@gmail.com" ]
ndouba@gmail.com
97a0e22c4442c46ee5736060776bfb71a15eb049
f8a57665b482fdc067362dc80202e6b90b6aefcb
/A1 Probar GeoEngine/base_geoengine/geo_multiline.py
638a0edcfd6619998c29d55757f6c46d57f856b5
[]
no_license
jorgescalona/geoengine
479f6f138d10f4bdbc828c29e153692015158eab
18faa0d6f661058a1ef7e0f89d542c74c5993209
refs/heads/master
2021-01-10T09:21:21.857746
2016-01-08T22:34:10
2016-01-08T22:34:10
49,300,355
0
1
null
null
null
null
UTF-8
Python
false
false
1,480
py
# -*- coding: utf-8 -*- ############################################################################## # # Author: Nicolas Bessi # Copyright 2011-2012 Camptocamp SA # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # ...
[ "escajorge@gmail.com" ]
escajorge@gmail.com
84914d15951df4113fbb97a60bf52ae3a9c203dc
b4a4276e1bf5d1211f3e6a2aa65c02cb750a8259
/getfeature.py
e3796ae259a8f034aa3852f74897d5359abfa829
[]
no_license
shenjiangqiu/cnn_project
d099abc9015e6ead7f9f48ce04cf535966b161b9
f3ba88db9103c1f9c4947e771d795da8fdd16ff1
refs/heads/master
2021-05-07T13:43:01.166621
2017-11-06T03:37:48
2017-11-06T03:37:48
109,643,875
1
1
null
null
null
null
UTF-8
Python
false
false
1,595
py
#coding=utf-8 # -*- coding: utf-8 -*- import numpy as np import caffe import sys import struct import socket import threading def tcplink(sock,addr,net): print('accept form:%s:%s...'%addr) data=sock.recv(1024) print data x=getarry(net,data) for i in xrange(0,9216): sock.send(struct.pack('f'...
[ "ivy22233qiu@live.com" ]
ivy22233qiu@live.com
ac57d6c16470b39b5357f8cb8a0b5ff7e6566f32
27ca96e6041ee7b759b7f9c9b387b194a90b48b0
/lib/buildly.py
6f6b1f4c3eeae965db2a2f75b79984fc7bf0fb2d
[]
no_license
kgn/buildly
8a1116d57ae4cefbe8e2e7caa12fae74f9a81f64
ec225dbc1b83e16cdcd6a673a3ed779bd2be6191
refs/heads/master
2020-12-30T14:56:03.624770
2013-11-02T07:00:55
2013-11-02T07:00:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,007
py
__all__ = ('projectVersion', 'projectShortVersion', 'buildPublish', 'hockeyappUpload', 'releaseBuild', 'releaseNotes', 'outputAppDsym', 'runScript') import os import shutil import xcode import hockeyapp import git import subprocess import time import plistlib27 def projectVersion(branchDirectory, target): return ...
[ "git@davidkeegan.com" ]
git@davidkeegan.com
12e6475c358112861bffa79265a79bdfa2455c83
e8b46aa3883bafd65331c589b672b6eaa5a43950
/server/views/kafka_interface.py
55b6ddd36017ab1d76d45c775c552b2d529355f8
[ "Apache-2.0" ]
permissive
hakiri/panta_rhei
b9b661844eeb570c648691376752d91ba3bbda96
3249fdbb199df59bf400f0f6d0497438afcec443
refs/heads/master
2023-02-27T08:22:34.312668
2021-02-02T12:45:45
2021-02-02T12:45:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,339
py
# A collection of useful functions for handling kafka import logging # confluent_kafka is based on librdkafka, details in install_kafka_requirements.sh import time import sqlalchemy as db try: import confluent_kafka import confluent_kafka.admin as kafka_admin from confluent_kafka import cimpl except Modul...
[ "christoph.schranz@salzburgresearch.at" ]
christoph.schranz@salzburgresearch.at
ecb145bb8bec7b8562affb5d268ec502d4e611b3
14b8cf0b67104b53534678b8c0e9525ace4714ff
/redis_learn/zadd.py
593f3e5bcf6abf51ba0358ba22615eda4834623b
[]
no_license
bhfwg/py_learn
bb11898fd81f653643fc61949f43df751d317fcb
eca9da748bada67357961d1581d8ec890a3385f8
refs/heads/master
2020-03-27T15:01:25.881792
2018-06-05T01:36:26
2018-06-05T01:36:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from redis_learn import utils def test_zadd(): db = utils.get_redis() db.zadd('location', 'a', 1) db.zadd('location', 'b', 5) db.zadd('location', 'c', 3) db.zadd('location', 'd', 4) print db.zrangebyscore('location', '0', '5') print db.zrangeb...
[ "penomivy@gmail.com" ]
penomivy@gmail.com
c540b3439849e39be064584d6f2a202a4432c57e
9a82000b7fe453c74149f59e1011ce85f3797284
/solution.py
5e8428b27eb0ccf87ca70dedd529a4a22f0b9b99
[ "MIT" ]
permissive
hhsinhan/tf_keras_quantization_experiment
9c0813d6d4a56c95faf693b65a3a7943624f5d14
07c09be39645a0715bfb500d115c3d5710ec6279
refs/heads/main
2023-05-29T07:05:40.708466
2021-06-08T05:43:15
2021-06-08T05:43:15
374,635,560
1
0
null
null
null
null
UTF-8
Python
false
false
3,110
py
# import tensorflow & tensorflow_model_optimization import tensorflow_model_optimization as tfmo import tensorflow as tf """ This sample code took autoencoder as an example. Basically, autoencoder is constructed by encode and decoder. The experiments below try different ways to define these two part. """ # Situat...
[ "hhsinhan@gmail.com" ]
hhsinhan@gmail.com
380ea983598073d816c0b4e96c051c21c16b4ff2
6834844804d6bd1b723671844ec092bee501f73a
/post/admin.py
adf63352722a82fab876b67491341e0873f2d826
[]
no_license
tamim37/Online-Education-Course
bc833c590e86a4345e5cceafda81de8aeb974ae1
1f6cecc48ced2e358a10eb57b008127897fdf130
refs/heads/master
2021-01-09T06:14:53.412125
2016-06-08T05:41:58
2016-06-08T05:41:58
60,669,937
0
0
null
null
null
null
UTF-8
Python
false
false
2,926
py
from django.contrib import admin # Register your models here. from django.contrib import admin from post.models import * class postmodelAdmin(admin.ModelAdmin): list_display=["title","content","updated"] list_filter=["updated","title"] class Meta: model=Post_model admin.site.register(Post_model,postmodelAdmin) ...
[ "Navil Hossain Tamim" ]
Navil Hossain Tamim
7e5065b3d90b5cdf4c5858d746808bf97d721361
93fa1579a2f2e63402e25be8feaa84f4816ae2b2
/animalsRestApi/urls.py
1d4f4a29075bd00ba694f30a75aa06426c2eb140
[]
no_license
nfgrawker/animalsRestApi
5030832b48a35935cba1376d37b93f4af63eb35a
93b9e68379bce0165582c751908d56fc8258c3e5
refs/heads/main
2023-08-06T23:25:03.983667
2021-10-04T14:17:01
2021-10-04T14:17:01
411,876,241
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
"""Route to our urls.""" from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path("",include("animals.urls")), ]
[ "38706775+nfgrawker@users.noreply.github.com" ]
38706775+nfgrawker@users.noreply.github.com
7b1f8a86d77d4844011cb586f1cfb36dec121fa5
e03421f79c665c611eb26949c5f419edfc7a42d7
/checkpoint7.py
33e8ab6e2665c8829ffdc046b9c5d64e8574065c
[]
no_license
MedAhmedKrichen/checkpoint7
2e8b3cf6224ada346b0de0a39faad225035ff046
aaa56019fa89d7b1521356ac0c7d01e66e970028
refs/heads/master
2021-03-02T19:47:14.075093
2020-03-08T22:43:10
2020-03-08T22:43:10
245,899,805
0
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
import pandas as pd from sklearn.cluster import AgglomerativeClustering import matplotlib.pyplot as plt from sklearn.cluster import KMeans import scipy.cluster.hierarchy as shc df1=pd.read_csv("CC GENERAL.csv") df1.drop(["CUST_ID"] ,axis=1,inplace=True) print(df1.head()) df1.dropna(axis=0,inplace=True,how='any') mode...
[ "57727551+MedAhmedKrichen@users.noreply.github.com" ]
57727551+MedAhmedKrichen@users.noreply.github.com
a2283a11d41bc1c49cbae36a2b80a3630898f3c9
5dc6d9ac54e57f252c14040a4ae34dd617da4067
/ourblog/settings.py
6a8f4ece9c894f5d0e0a7f96a1e715be10987e66
[]
no_license
CHIEN-CHOU-WU/OurBlog
b27e608dc4197a9f0c33de9affe64d021251ae23
f9881cdf269425de17ce2258ac9548dbefa237a9
refs/heads/master
2023-01-20T01:44:15.548932
2020-11-10T03:56:02
2020-11-10T03:56:02
305,206,011
0
0
null
null
null
null
UTF-8
Python
false
false
3,684
py
""" Django settings for ourblog project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os im...
[ "johnson12440@gmail.com" ]
johnson12440@gmail.com
6368dc079f3c938ba90c3788dbc6db480218029e
29f18e8ddde0379cef7fa00b1a50058be3cafa79
/numba/cuda/simulator/cudadrv/libs.py
347b936c5d9ae465b3d8644dc63529d363add4ed
[ "LicenseRef-scancode-secret-labs-2011", "BSD-3-Clause", "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-free-unknown", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "MIT", "LicenseRef-scancode-unknown-license-reference", "Python-2.0", "BSD-2-Clause" ]
permissive
numba/numba
9a8345ff5f7d57f0ffec40e39941ebf2684df0d1
46059957ad416e68476d1e5f32ccd59f7d5df2bb
refs/heads/main
2023-08-09T22:29:38.170300
2023-08-07T15:00:27
2023-08-07T15:00:27
3,659,275
8,247
1,151
BSD-2-Clause
2023-09-13T14:43:48
2012-03-08T11:12:43
Python
UTF-8
Python
false
false
101
py
def check_static_lib(lib): raise FileNotFoundError('Linking libraries not supported by cudasim')
[ "gmarkall@nvidia.com" ]
gmarkall@nvidia.com
ad6e4a658bf93bbdaa02f01a60c6f4f8f44bb105
8f9b10acd4b7b8c94ee65c21e6bdb06555d8f669
/anti/migrations/0001_initial.py
a78244a7828ec5d6f51faee450d03d6a3de23072
[]
no_license
leezichanga/unmask-corruption
d848d814118ab785482b57a2c5fcebd5067c2183
231cdb517a2c5a0c2a8bd2a0d9cbec9349106a56
refs/heads/master
2020-03-18T23:26:41.418951
2018-06-04T12:59:28
2018-06-04T12:59:28
135,403,201
0
0
null
null
null
null
UTF-8
Python
false
false
1,560
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-06-03 10:32 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations...
[ "elizabbethichanga@yahoo.com" ]
elizabbethichanga@yahoo.com
7caf461078f991bbcf206acdbbaa9a22473746a1
c913c952cf4019d67f02bf1971917116da375c81
/Data/OMIMresults/omimResults1080to1100.py
0089d41eff4948e4c4d053e3541df062149e7619
[]
no_license
jiangchb/OMIMscraping
57afa5b2f8b7ca975e7459814e0410a872f71990
27d4ac8faea526b1c70937317caec064bed00a0a
refs/heads/master
2022-03-14T21:35:56.102665
2019-11-22T15:48:48
2019-11-22T15:48:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
83,915
py
omim = {'omim': { 'version': '1.0', 'searchResponse': { 'search': '*', 'expandedSearch': '*:*', 'parsedSearch': '+*:* ()', 'searchSuggestion': None, 'searchSpelling': None, 'filter': '', 'expandedFilter': None, 'fields': '', 'searchReport': None, 'totalResults': 7368, 'startIndex': 1080, 'endIndex': 1099, ...
[ "jhostyk@gmail.com" ]
jhostyk@gmail.com
af851ef914198ee12c55861e5b8158b71dabb679
2c72c0b75092710e5b67d50ed7c5190abf1533c7
/Morphological.py
7675f4c07d344c528f7c38db410854c579173cae
[]
no_license
tawatchai7034/PythonOpenCV
75d7ee1e69d43af4fdc12ec09302c5cc0472dff2
fc490d24fc05423d3dfd2a6e1221fc56f06a790a
refs/heads/master
2023-05-06T12:31:18.569211
2021-05-27T04:32:12
2021-05-27T04:32:12
368,777,699
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
import cv2 from matplotlib import pyplot as plt import numpy as np img = cv2.imread("image/CoinNoise.png") imgGray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) ret,thresh1 = cv2.threshold(imgGray,170,255,cv2.THRESH_BINARY_INV) # สร้างตัวกรองข้อมูล 2x2, 3x3 kernel = np.ones((2,2),np.uint8) # https://www.geeksfor...
[ "tawatchaisunanta@gmail.com" ]
tawatchaisunanta@gmail.com
4d1f1d2f0e6b7effc6cfd3f707ee91b3f97e2b87
395a050c64f146c03b9558ac300e7744e8dc9900
/practical_course/week_23/cbam_resnet.py
3b1f3a8caaad1867c5ddbdef2883a19bc82c73e5
[]
no_license
zhiweiguo/kkb_cv
73f624bdc2ef468137d810f3085f794c71f0efcd
9eef016aba6174d3bb1e925907c604cd76d00e64
refs/heads/master
2023-02-07T21:37:54.302549
2020-12-25T07:37:46
2020-12-25T07:37:46
260,889,227
2
1
null
null
null
null
UTF-8
Python
false
false
7,812
py
# encoding: utf-8 import sys import os import torch import torch.nn as nn import math import torch.utils.model_zoo as model_zoo import numpy as np import cv2 import torch.nn.functional as F import matplotlib.pyplot as plt __all__ = ['ResNet', 'resnet18_cbam'] model_urls = { 'resnet18': 'https://download.pytorch....
[ "zhiweiguo1991@163.com" ]
zhiweiguo1991@163.com
597fd10d6ccffb92965d9f3ded309e612a387f7a
bb34fc4be554e947285d7035dbdd8e4d88c4decc
/clmet/__init__.py
9c5777288b20daff5dad3252a80eda0ce4eeff9c
[]
no_license
benpeloquin7/diachronic_entropy
7dd6dab462631e0a14cbe311599e11f3db9b36a4
2384274ee43b2eb66141439a48a510250a5c0088
refs/heads/master
2020-04-09T06:48:20.219847
2018-12-26T00:26:24
2018-12-26T00:26:24
160,127,668
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
CLMET_META = ['id', 'file', 'quartcent', 'decade', 'year', 'genre', 'subgenre', 'title', 'author', 'gender', 'author_birth', 'notes', 'source', 'downloaded', 'comments']
[ "benjamin.peloquin@gmail.com" ]
benjamin.peloquin@gmail.com
449859d46e0b4cb8f225e679f7109d5ec9fba9c4
5071a049e69d307f4a2213d4db0e155f6eedc77a
/forrit.py
f888e0ec04b58753cda9a3a30ea460cf35e57415
[]
no_license
MattiMatt8/veff-aukaverkefni
3723443013af22bf781e38d4b6c2a0381c81705b
f1fcf85db8a42fd75583c460f3a040eff3ba98d7
refs/heads/master
2020-03-11T20:49:05.100514
2018-04-19T17:53:20
2018-04-19T17:53:20
130,247,046
0
0
null
null
null
null
UTF-8
Python
false
false
5,485
py
from bottle import * from datetime import * from locale import * import os, pymysql, sys setlocale(LC_TIME,"is_IS") conn = pymysql.connect(host='tsuts.tskoli.is', port=3306, user='1501002670', passwd='mypassword', db='1501002670_vefforritun') try: @route('/') def index(): return template('./v...
[ "noreply@github.com" ]
noreply@github.com
35cbfcad55991c75b72fa7680ff127465dcd059a
fa954f13aa71087779087252c4f073e31a687c1b
/deep_memory/activation_functions.py
8877769b3785caf35a5b83beb11d1ada82da7461
[]
no_license
hkiefer/deep-memory
c7d52702f68911e67dd04cd942f8fd273639f684
317bd9485eaec25ea2ac198c294679fa72fe5184
refs/heads/master
2022-04-19T23:18:30.510568
2020-04-17T07:44:15
2020-04-17T07:44:15
252,462,494
1
0
null
null
null
null
UTF-8
Python
false
false
3,022
py
import numpy as np # Collection of activation functions # Reference: https://en.wikipedia.org/wiki/Activation_function class Linear(): def __call__(self,x): return x def gradient(self,x): return 1 class Sigmoid(): def __call__(self, x): return 1 / (1 + np.exp(-x)) def g...
[ "hkln@gmx.net" ]
hkln@gmx.net
9f69ac1faa0323b2e103a25c3dc21e41f1e7a736
dff3bc48fd8aba12de70a5331df94e22cf1896d2
/3_sprint/4_task.py
02e65490f5c5957382e26287441ffb096ee56d47
[]
no_license
TarasKindrat/SoftServe_Python-online-marathon
ce315096d5d6ef0a9439db5e2dd0637e9166d0ed
0256dad926d6bfaeb5ef32076f004eb056931c50
refs/heads/master
2022-12-15T10:12:32.476496
2020-09-15T18:36:34
2020-09-15T18:36:34
291,349,889
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
""" Create function-generator divisor that should return all divisors of the positive number. If there are no divisors left function should return None. three = divisor(3) next(three) => 1 next(three) => 3 next(three) => None В 4 завдані має таким чином працювати? three = divisor(3) next(three) => 1 next(th...
[ "noreply@github.com" ]
noreply@github.com
a30eee4d854f094ff7638bc79860ddac7bac2068
73e939e797cc28aa33a4f55c234237c47167033e
/ynab_api/model/accounts_response.py
7de75c556b7c9e317bf693bd9bcb8b75435ccea8
[]
no_license
dmlerner/ynab-api
b883a086e6ce7c5d2bdb5b17f3f0a40dbb380046
df94b620d9ec626eacb9ce23bfd313f1c589b03a
refs/heads/master
2023-08-17T14:22:17.606633
2023-07-03T17:05:16
2023-07-03T17:05:16
223,287,209
27
13
null
2023-08-05T18:58:58
2019-11-21T23:58:22
Python
UTF-8
Python
false
false
11,661
py
""" YNAB API Endpoints Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.youneedabudget.com # noqa: E5...
[ "dmlerner@gmail.com" ]
dmlerner@gmail.com
93c606579fc91423361e30cfdc8a82a968dbac37
326a026bcc6bad962159677110d78d3d836532ed
/wsgi.py
6574317bc1bf00a24d2f009827fb1d6f7d1c3299
[ "MIT" ]
permissive
Frederick-S/markote
f63a5007fd0a70ce4b3ae9d03425ae9f9c8b54f3
095dabe3da83b5d8809593758661eb78fa527f49
refs/heads/master
2023-03-04T16:50:30.541147
2022-08-12T01:24:43
2022-08-12T01:24:43
110,396,888
9
2
MIT
2023-03-04T13:11:38
2017-11-12T02:04:32
Vue
UTF-8
Python
false
false
115
py
from markote.bootstrap import create_app app = create_app('production') if __name__ == '__main__': app.run()
[ "mao_xiaodan@hotmail.com" ]
mao_xiaodan@hotmail.com
e77fa50162be6479d0f722951dc4b2652b4aff4c
3d0ebb868958678388e28f32d0c4817a83f98313
/TODO_List/application/models.py
8d29f5e33c7f6b8310cac625dac114ae4cbce8d8
[]
no_license
JackParryQA/Flask_apps
00835c99407ddb99ff674fdcb41fe37dd2efa6c8
b39bb3110ec502904e6f8d6801ff7c2791e60e64
refs/heads/main
2023-04-27T16:35:30.753919
2021-05-18T13:47:41
2021-05-18T13:47:41
366,330,893
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
from application import db class TODO_list(db.Model): id=db.Column(db.Integer, primary_key=True) task=db.Column(db.String(100), nullable=False) complete=db.Column(db.Boolean, default=False, nullable=False)
[ "JParry@qa.com" ]
JParry@qa.com
afdd5b2477a9060cc32b6936a26ac8992fcd0202
3adc016a129a967f18fd9da6982e1fb577fa8ffa
/Alex/Boxes/Drum/viz_2d_test2.py
dee2ea325c9360be7b687c86e7168b218237fafa
[]
no_license
apiatski/Freshman_Research
b7419f0e869d387e725c1cab456f78acf5d52569
2fd0b225fcd7fb5dbe79ccd07d10ac25fe19d4e6
refs/heads/master
2021-01-10T19:39:06.057596
2014-10-29T17:19:26
2014-10-29T17:19:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
90,320
py
#general viz module import viz #vizinfo is used along w/ vizinput to gather input throughout the program import vizinfo #vizshape is used for the creation and manipulation of the box sensors and tiles. import vizshape #vizmath is used for various mathematical operations used in the program. import math #import viza...
[ "alpi@seas.upenn.edu" ]
alpi@seas.upenn.edu
29d5116dee1868a2929a6dd3f83fc5e0da6062f7
7dfec7c59453818320b1076251e4c23c5848ec09
/GMM/prediction_service.py
148039166660272f5e9e9f6440b82313e91175e2
[]
no_license
vorabrijesh/data_generator
995d5c500132d7e256e7ab48ae111b655785930c
454e722cafa398064f362640f653cd81c4c64994
refs/heads/main
2023-04-04T21:55:18.578484
2021-04-01T04:29:02
2021-04-01T04:29:02
353,568,491
0
0
null
null
null
null
UTF-8
Python
false
false
2,017
py
import requests import time, json, random import numpy as np import tensorflow as tf from flask import Flask, request, session, render_template from pymongo import MongoClient app = Flask(__name__) app.secret_key = "prediction_service" def get_pred(data): print("Loading the model..") global loaded_model ...
[ "noreply@github.com" ]
noreply@github.com
a88be202976fb580308f95fcb529d4d3e32b61d1
1b764845ceab76ab91d12a4a067cb49fa3296001
/interface testing/tests/test_laGou.py
c3ed52590ca07ee3d1a11b689e4723a7cfee59d2
[ "Apache-2.0" ]
permissive
mychristopher/test
c5e11aef178d025d25d54afde4fb836a18001a23
9977d36bab3fcc47f0e1dd42bbf5a99b39112a2f
refs/heads/master
2023-07-31T14:58:22.303817
2020-09-05T04:26:07
2020-09-05T04:26:07
276,136,931
0
0
Apache-2.0
2023-07-14T16:39:16
2020-06-30T15:21:29
HTML
UTF-8
Python
false
false
1,394
py
#!/use/bin/env python #coding:utf-8 #Author:WuYa import unittest import json from base.method import Method,IsContent from page.laGou import * from utils.public import * from utils.operationExcel import OperationExcel from utils.operationJson import OperationJson class LaGou(unittest.TestCase): def setUp(self): ...
[ "1366254420@qq.com" ]
1366254420@qq.com
16d73d88627636a4138ac02a6bb780160079fdea
40fd858c4a7b08b02e1030fe33f9e6541d67b8c6
/billing/models.py
060750e44d68478fe321f6c241cb741de68da80a
[]
no_license
suritechiez03/IMS_Python
366ac1ae6a5309ebc2a7c2686a16320235dfdd99
1280cd49f8a1d8b3a1a815ddf53f2f18ea10b0a9
refs/heads/master
2021-05-10T08:42:02.362882
2018-09-10T09:28:41
2018-09-10T09:28:41
118,899,316
0
0
null
null
null
null
UTF-8
Python
false
false
3,250
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib.contenttypes import fields from django.db import models from django.utils import timezone # Create your models here. class InvoiceDetails(models.Model): InvoiceIdentifier = models.BigAutoField(primary_key=True) InvoiceNumber ...
[ "sureshsep03@gmail.com" ]
sureshsep03@gmail.com
3dce5808bcfde08e10a611d276e394b57d7a7161
dd4622390bb7122db37a889e647f28004a265ccd
/1806101059饶龙江/1215/03.py
22b25856e6065c3a0ccb652b622fdb522e99a766
[]
no_license
gschen/where2go-python-test
c8adaa095aa8a095401f98c7b3f8f17c72d0532d
eb9e6011b8d33fa45a6b1ef853affd01a296db21
refs/heads/master
2022-12-13T19:45:09.874691
2020-10-15T13:12:52
2020-10-15T13:12:52
211,591,156
4
1
null
2022-12-05T07:46:12
2019-09-29T02:35:00
Python
UTF-8
Python
false
false
768
py
class Solution: def maxSideLength(self, mat, threshold): import numpy as np mat=np.array(mat) lis1=[] lis2=[] w=len(mat) h=len(mat[0]) lis2.append(w) lis2.append(h) s=min(lis2) print(s) for x in range(s): for y in ra...
[ "2126779129@qq.com" ]
2126779129@qq.com
030544995dd3b7623a2e359e98943eec09208567
bd8542bd5451fd51c22b09912287c046b936c2e1
/app/teams/views/invitation.py
b9e0b1ea1b2ca7f9bdd6fe92e37586a1e3600959
[]
no_license
SHOU6439/CrowdGamers
bdf1f9f3ecf7dba8eb50263a18928c58319ce6c2
4f1b92b64e63f9d040ea8865b56423da3ec87f5f
refs/heads/main
2023-06-12T18:37:15.827376
2021-04-28T11:04:27
2021-04-28T11:04:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
from django.shortcuts import redirect from django.urls import reverse from django.views.generic import CreateView from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib.auth import get_user_model from teams.models import UserProfile from teams.forms import InvitationCreateForm from .profile impor...
[ "haru.contact.me@gmail.com" ]
haru.contact.me@gmail.com
efa6683d6735e4ac16b96cd44f0d52ead898b18e
8561033f5da4d864deb4ed7ce5fba0fa149ee835
/SRC/coupons/admin.py
cba8f394b189fc3a499ccb4913ba1e7e2ea9e71c
[]
no_license
adelealibeigi/BookStore
b784c0f015bee9119ac8f81fcc78811fbd1db1ca
11ee03f1105a15a7905583c65924e0444a672a9c
refs/heads/master
2023-08-07T17:10:21.528590
2021-09-07T14:00:51
2021-09-07T14:00:51
403,985,953
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
from django.contrib import admin from .models import * # Register your models here. @admin.register(Coupon) class CouponAdmin(admin.ModelAdmin): list_display = ('code', 'valid_from', 'valid_to', 'amount', 'active') list_filter = ('active', 'valid_from', 'valid_to',) search_fields = ('code',) @admin.re...
[ "adeleag@outlook.com" ]
adeleag@outlook.com
ce71b509a3715d0eada64e9bc3e3038789d248e3
15af6d2e3aebe10db192d8e80b488212822523ff
/Menu.py
f5aff0d070d9f179aa65752cf080b53b5a61746c
[]
no_license
DistributedAccess/Face_Detection-Face_Recognition
3c1e1607d01fd312d1c16eefe368987bfbd9afae
b39386ff72c3850f8b5f07de2124cda315862ffe
refs/heads/master
2021-05-11T03:02:01.946668
2018-02-06T23:12:40
2018-02-06T23:12:40
117,903,667
0
0
null
2018-01-24T11:45:19
2018-01-17T23:07:25
Python
UTF-8
Python
false
false
8,734
py
from time import sleep import os BLUE, RED, WHITE, YELLOW, MAGENTA, GREEN, END = '\33[94m', '\033[91m', '\33[97m', '\33[93m', '\033[1;35m', '\033[1;32m', '\033[0m' def Inicio(): os.system("clear||cls") print('\n\t\t\t\t\t\t\t\t\t\t{0}MENU PRINCIPAL\n').format(GREEN) sleep(0.2) print('\n\t\t\t\t\t{0}Con...
[ "echeverri.va@gmail.com" ]
echeverri.va@gmail.com
e1e2d535c96aa73fb576929d2118ac3ef8f66579
c7501bca2f1390307486a4f1d4bdda7e79ae2a89
/instant/config.py
96ea0e050680ea84cf0f987e86f6d4d17eb45f01
[ "MIT" ]
permissive
atienoanji/myblog
709e9a3c4419f2ba592f5b7a6a830c05deab6430
15c189667f2282f07d50dcaa62fb41c230ec2a29
refs/heads/master
2020-03-12T14:32:14.211343
2018-04-23T11:46:16
2018-04-23T11:46:16
130,669,732
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
SECRETE_KEY= 'anji'
[ "akumuangeline76@gmail.com" ]
akumuangeline76@gmail.com
3c2631144ed941c39aba487fac120978f680355c
183e4126b2fdb9c4276a504ff3ace42f4fbcdb16
/I семестр/Програмування (Python)/Лабораторні/Братун 6305/Labs/LABA7/counter/counter_2.py
f72f5c76c3f4a527bff955d3e92c75781b03a0c9
[]
no_license
Computer-engineering-FICT/Computer-engineering-FICT
ab625e2ca421af8bcaff74f0d37ac1f7d363f203
80b64b43d2254e15338060aa4a6d946e8bd43424
refs/heads/master
2023-08-10T08:02:34.873229
2019-06-22T22:06:19
2019-06-22T22:06:19
193,206,403
3
0
null
2023-07-22T09:01:05
2019-06-22T07:41:22
HTML
UTF-8
Python
false
false
554
py
import os os.chdir('C:\lab7\Bratun') def get_line(): with open( r'v5.txt', "r", encoding="cp1251") as f: tmp = f.readlines() f.close() return tmp def change(): core = round(len(fileinline) / 2) for i in range(core): fileinline[i], fileinline[-i - 1] = filein...
[ "mazanyan027@gmail.com" ]
mazanyan027@gmail.com
73947b723523e74ea45af363ab25a8f80eeaccd7
bbc1001ec110c7cd0bf873bcff8519f8e713b42e
/dy/asgi.py
c700249231a0301e1efd89aab2d973a8372f4911
[]
no_license
zamanehsani/dy
b141f98ab52bcdc21bfec593fe971b054e2f74f6
675915430e20f5c137f00016d99946f5cd814aa9
refs/heads/master
2023-03-16T18:53:38.416480
2021-03-05T14:13:45
2021-03-05T14:13:45
324,432,296
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
""" ASGI config for dy project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_M...
[ "zamanehsani@gmail.com" ]
zamanehsani@gmail.com
f3c75a16f89da3a5452dd35aafe68b0d488629fa
be445cc8f9b8c8dfeaf06c3f7212a003ae31627a
/tests/test_api.py
2c0d7ceb1124609f10cf53bfb3d068e3bf622996
[]
no_license
jeroenterheerdt/redfin
6de1967a3f488b2dbb396d0e9a19c1ae64e33c75
8f403126262cc9c7c187cb6fce3bb24dfc1757db
refs/heads/main
2023-08-31T10:08:58.141422
2023-08-18T19:38:48
2023-08-18T19:38:48
376,370,953
0
0
null
2021-06-12T19:38:53
2021-06-12T19:38:53
null
UTF-8
Python
false
false
886
py
"""Test component api.""" from homeassistant.setup import async_setup_component from custom_components.redfin.const import DOMAIN from redfin import Redfin client = Redfin() def test_api_call(): """ """ address = '1712 Glen Echo Rd Unit C,Nashville, TN 37215' response = client.search(address) asse...
[ "212698+dreed47@users.noreply.github.com" ]
212698+dreed47@users.noreply.github.com
98d31985aa3c9c15459009e7f322b6766318e62d
cdc06d1fefd208cc9ac990b6606e7f2362502bb1
/src/crawl_data/crawl_data/spiders/ChongqingSpider.py
348460a5d17c3a39be3fbc4c0f37a2bfbbfeca85
[ "MIT" ]
permissive
hbliyafei/Policy_crawler
5a50b7e787738858fac17381f7a7e9d01a571e96
26f982ddb2263f974f49643bdc5f10b706081099
refs/heads/master
2023-03-20T21:43:39.815495
2020-03-29T02:31:59
2020-03-29T02:31:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,866
py
import scrapy import pickle import os class ChongqingSpider(scrapy.Spider): name = "Chongqing" if not os.path.exists('../../data/HTML_pk/%s' % name): os.makedirs('../../data/HTML_pk/%s' % name) if not os.path.exists('../../data/text/%s' % name): os.makedirs('../../data/text/%s' % name) ...
[ "JinhuaSu@github.com" ]
JinhuaSu@github.com
157f7c7864bd3a3ca61351cc052605e017a4f01d
8670176de5e6ce31507c514608e056f3491f985f
/ProTwo/settings.py
f6df7d064d2c327dcb0ad69cf7cc8d187ed3936f
[]
no_license
adityagoyal222/django-learn
54ca9e6afc2ab906b915a760bb66617e5f401d8a
da1a3b75e95e7dd72371011ea1ea1d9a3c2cf037
refs/heads/master
2022-12-24T18:45:00.191862
2020-10-09T13:11:44
2020-10-09T13:11:44
299,268,034
0
0
null
null
null
null
UTF-8
Python
false
false
3,342
py
""" Django settings for ProTwo project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "43295337+adityagoyal222@users.noreply.github.com" ]
43295337+adityagoyal222@users.noreply.github.com
b96ea4e4315057da353749698369e86cf59a095c
601533bee6393d550fdf60e66599d9c69fb31a68
/tools/nvme_utils/configshell-fb-1.1.fb18/setup.py
cb4827ef1b1ab44c478077dbde709c53cba74c99
[ "Apache-2.0" ]
permissive
truenas/chelsiouwire
7043978301e0e28be6c39ac39bbf483af370464f
4739d295d543fc8164c96356d4cb1ed63e091a90
refs/heads/master
2023-08-21T16:54:22.911750
2022-07-13T18:26:48
2022-07-13T18:26:48
383,461,654
1
0
null
2022-07-13T18:29:13
2021-07-06T12:30:41
C
UTF-8
Python
false
false
1,181
py
#! /usr/bin/env python ''' This file is part of ConfigShell. Copyright (c) 2011-2013 by Datera, 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 U...
[ "waqarahmedjoyia@live.com" ]
waqarahmedjoyia@live.com
84cc5caa06f2e1b3717d11722989615ef9fce310
a1036b0b6f7cf5f37b5242ffc7595e4725e1f6f9
/RestAutomation/Main/Tests/Tasks.py
25e3d3ccfcd45518c15f61b4230e2dc471c31122
[]
no_license
lovish0008/Python_Framework
6217c18d5d1a99594adaee1acfe15b6b6ce23844
9f5d53efd6dd413dc0b2920a8a439ee13cc620ac
refs/heads/master
2020-07-23T08:15:08.329726
2016-11-15T12:48:35
2016-11-15T12:48:35
73,812,942
0
0
null
null
null
null
UTF-8
Python
false
false
3,195
py
import json,os import requests import unittest from ConfigParser import ConfigParser from Main.Utility import FrameworkUtil from Main.Utility import Settings Settings.init() global cfg,url FrameworkUtil.stuff() cfg = ConfigParser() path = os.path.abspath("") path1 = os.path.dirname(os.path.dirname(path)) + '\Config\Co...
[ "lovish@bebotechnologies.com" ]
lovish@bebotechnologies.com
edf27c7934f590b8e80f73b3458be1104eed68af
8e9ec4389304d9896ff5b8f7e6019217f2f39922
/deeppavlov/models/torch_bert/torch_transformers_sequence_tagger.py
fc78e4f32ec3583264d94701efee696e051be9d1
[ "Python-2.0", "Apache-2.0" ]
permissive
sycomix/DeepPavlov
2f4b4926e4792103d0c89485d19c8ab9ac1157ba
0448c732251ec171a85422eab197719f4e587334
refs/heads/master
2023-04-07T09:00:08.497567
2023-03-14T17:12:35
2023-03-14T17:12:35
246,196,869
0
0
Apache-2.0
2020-03-10T03:12:43
2020-03-10T03:12:42
null
UTF-8
Python
false
false
14,003
py
# Copyright 2019 Neural Networks and Deep Learning lab, MIPT # # 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 applicab...
[ "noreply@github.com" ]
noreply@github.com
fa9d0ee477d8f85e5679caa53d6217ad43c68753
6cd3de9d6aa0c52602010aa857966d5dc4d57442
/mlprodict/onnxrt/validate/data/__init__.py
68432ec182456d8c49ed21a9d675ee84cce8bc08
[ "MIT" ]
permissive
xadupre/mlprodict
2307ca96eafeeafff08d5322184399bb5dc1c37e
f82c8a26a60104948c67849b1c4af95ca812c153
refs/heads/master
2022-12-10T18:50:36.953032
2020-09-03T08:53:58
2020-09-03T08:53:58
292,824,744
1
0
NOASSERTION
2020-09-04T10:56:45
2020-09-04T10:56:44
null
UTF-8
Python
false
false
555
py
""" @file @brief Datasets to tests models. """ import os from pandas import read_csv def load_audit(): """ Use to test conversion of :epkg:`sklearn:ensemble:GradientBoostingClassifier` into :epkg:`ONNX`. .. runpython:: :showcode: from mlprodict.onnxrt.validate.data import load_au...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
765a4cb2a45c92c660daa5555a366fb667604d8e
4f49d21564d6e00917a9c711461e1fde136b46c4
/Q2.py
a638158bc905d92b41b364657a2880cc07f4b3cf
[]
no_license
laxmi-2000/list1
30ea0efc84836763be6a840ae3eb9316bc1b6c61
e1d0db31ab2a3455784b303f90dfa101d226fe08
refs/heads/main
2023-05-28T21:47:31.726602
2021-06-15T04:32:07
2021-06-15T04:32:07
377,035,382
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
s=["robin", "anamika", "faisal", "valmiki", "waseem", "amara"] l=len(s) i=0 while i<l: print(s[i]) i=i+1
[ "noreply@github.com" ]
noreply@github.com
2fa32cc9e366e9699a736dedbb0ac5e9e30a1519
6694d02fa2276b8e077f138a63bdd1f97c5c9104
/datasets/bert_processors/procondual_processor.py
8c613e42316471fdf7a3e6077c1cfb04ff91be65
[ "MIT" ]
permissive
sxu-fyj/procon20
3b7d40280a6da26b97814a30f14b4756d62ede72
c49ad38a77e58fd84ff0409cc9f5081c6de0bf0b
refs/heads/master
2022-12-30T06:56:52.664847
2020-08-09T16:55:18
2020-08-09T16:55:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,594
py
import os from datasets.bert_processors.abstract_processor import BertProcessor, InputExample class ProconDualProcessor(BertProcessor): NAME = 'ProconDual' NUM_CLASSES = 2 IS_MULTILABEL = False def get_train_examples(self, data_dir, name=None): name = 'train.tsv' if not name else ...
[ "ma.hosseinia@gmail.com" ]
ma.hosseinia@gmail.com
83f94bd9c3c121ff9ada41cf8536eca2c0433b1e
4e29395020ce78f435e75e0b3f1e09b227f6f4d8
/ataraxia/algorithm/Eval/lib/io_hybrid.py
32928d5b699ae213791d6a62d1a611549f9ab357
[]
no_license
luoyangustc/argus
8b332d94af331a2594f5b1715ef74a4dd98041ad
2ad0df5d7355c3b81484f6625b82530b38b248f3
refs/heads/master
2020-05-25T21:57:37.815370
2019-05-22T09:42:40
2019-05-22T09:42:40
188,005,059
5
3
null
null
null
null
UTF-8
Python
false
false
17,763
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import os import logging import mxnet as mx import cv2 import numpy as np from config import cfg class empty_image(Exception): ''' catch empty image error ''' pass def check_dir(path): ''' ''' dirname = ...
[ "luoyang@qiniu.com" ]
luoyang@qiniu.com
e8a900b4f732ff259c008bc4b0fab17f291c5ada
ae9cb46d3820a98c8c32cfadad864fe85813fc97
/build/ackermann_msgs/catkin_generated/pkg.develspace.context.pc.py
712d1efcf3d999fff982c25fd509145879015f32
[]
no_license
Riyad2347/Riyad
710fdbcb35d59bc5e8a2037370d0370ffc68473a
a324b9b47b249101b4cd6f529a07da2424332a7c
refs/heads/master
2022-11-13T09:53:18.889699
2020-07-10T05:31:30
2020-07-10T05:31:30
278,546,118
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/pc/catkin_ws/devel/include;/usr/include".split(';') if "/home/pc/catkin_ws/devel/include;/usr/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime;std_msgs".replace(';', ' ') PKG_CONF...
[ "ahmed.riyad346@gmail.com" ]
ahmed.riyad346@gmail.com
4db7a04952879691bab76b7ffb364d9c1ceb00a4
367c0ede4044041bdb6179b76669af8613c93eec
/resources/mechanics_lib/EModule.py
784588d9bed4c622ae2fd7c1140655336457ccf0
[ "Apache-2.0" ]
permissive
PRECISE/ROSLab
2043a4fbed1e35ccf60672feea466d6c79aee91a
2a6a295b71d4c73bc5c6ae2ec0330274afa31d0d
refs/heads/master
2021-06-01T18:27:32.624747
2021-05-17T04:06:23
2021-05-17T04:06:23
17,199,635
8
3
Apache-2.0
2021-05-17T04:06:24
2014-02-26T05:13:07
HTML
UTF-8
Python
false
false
23,884
py
from api.EComponent import EComponent from EDevice import EDevice import itertools class EModule(EComponent): """ A class for representing an electronic module (a micronctroller with attached devices). A module includes an ATtiny chip and some L{EDevice}s. A module has 3 available pins. It stores ...
[ "pgeb@seas.upenn.edu" ]
pgeb@seas.upenn.edu
26a5a2cea32abe960181717c8a3b5b808948aff0
05f66f27b8ffd55024df1dcdbf0eb4288f60a996
/statistics_m/views.py
d8a9dc04f39e651eff1b2c63f25c4b7836989b29
[]
no_license
Edick-Corporation/PayTracker
fbd63619d4ce8b1cbb4c3c31c805b373bc742da0
707f3f9759e0edc58272ac29143088e75ea01914
refs/heads/master
2023-01-20T10:07:34.494381
2020-11-24T16:49:06
2020-11-24T16:49:06
289,280,968
0
1
null
null
null
null
UTF-8
Python
false
false
1,018
py
from django.views.generic import View from django.shortcuts import render from services.main_logic import get_form_to_record_purchase, get_type_list, filter_statistics_by_date_and_types, \ add_purchase, get_name_of_types, get_ready_data_of_prices, get_filtered_qs_by_date from services.optimization_logic import ge...
[ "alxogloblin@gmail.com" ]
alxogloblin@gmail.com
c4536d4e4290ae288e56ccd0e63b7c086f293caf
1dee359af25fbf75abc90a87cb6aab43e5603cbd
/topic/migrations/0002_auto_20190330_0732.py
ebeb236d5ee0116ab8256b13c4311f66b8528fc2
[]
no_license
taropowder/ctfWorker
cb3c0088e0f5ca30a0eaa8625a80c3e713818cca
680f4b16fbb0cfd16f16615faf476b6a711b5d4f
refs/heads/master
2020-05-01T10:03:23.851351
2019-03-31T15:46:44
2019-03-31T15:46:44
177,413,432
2
0
null
2019-03-31T08:01:56
2019-03-24T12:43:59
Python
UTF-8
Python
false
false
451
py
# Generated by Django 2.1.7 on 2019-03-30 07:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('topic', '0001_initial'), ] operations = [ migrations.AlterField( model_name='topic', name='zip_file', fi...
[ "180018" ]
180018
09be740f138e1bc7503fdbcc7363195614b0aeef
7457022cb460bad4f439f6d4f255a11b6036f130
/app/qzap/text_analysis/tools/common/path_walk.py
54d62bdd5a1c38c8907005c5fb3443daf0c32d06
[]
no_license
poseidon1214/Neptune
5e7942e785f87844571787d4e3e0871ef8c8294a
a896f95747f04714f505457906594e5ff6a3eed5
refs/heads/master
2020-07-16T15:53:11.244338
2016-08-16T01:08:22
2016-08-16T01:08:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,769
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #----------------------------------------------------------------------------# # path_walk.py # Zhihui Jin <rickjin@tencent.com> # vim: ts=4 sw=4 sts=4 et tw=78: # Tue Sep 2 14:02:41 CST 2008 # #----------------------------------------------------------------------------# ...
[ "cernwnag@tencent.com" ]
cernwnag@tencent.com
f742f03f27ed396332cf3277538571bc2146472a
9e3d2841b986680745b0699cc34f84c3e153a202
/boards/default/distros/br/__init__.py
b06cb220da11b97279a0d7135cbbda7dfc67ae70
[ "LicenseRef-scancode-bsd-3-clause-jtag" ]
permissive
firesim/FireMarshal
5be141b3a35a22d6ba40b95ec77fded19ca851e6
8abff82f491ec954f62e13c1ed4925007d952253
refs/heads/master
2023-08-09T01:25:03.013660
2023-08-06T18:06:58
2023-08-06T18:06:58
97,522,176
57
34
NOASSERTION
2023-08-06T18:07:00
2017-07-17T21:05:09
Python
UTF-8
Python
false
false
26
py
from .br import * # NOQA
[ "nathanp@berkeley.edu" ]
nathanp@berkeley.edu
7ee6b07b4eb486e543b0cff6b9bca5a91d2c18bc
ab0378d4f30f4e602ce5093731edb6ea1f32a028
/training-model-lbp.py
26c28d9ddfa4f5578698a12b07bd79a021309504
[]
no_license
paduvi/pca-dip
1f429eb1eaf05e3cc9339853aa60e50b9ed0c043
1cf8522708f90b0373e45c66a054d71a598d05d3
refs/heads/master
2020-06-11T12:48:25.824878
2016-12-25T03:45:31
2016-12-25T03:45:31
75,663,312
1
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
from helpers import file_util, lbp_extract_feature, image_util from os.path import join from numpy import linalg as la import numpy as np if __name__ == '__main__': train_folder = 'train_data' files = file_util.listFile(train_folder) m = len(files) # Extract feature histograms from all training image...
[ "viet@techmaster.vn" ]
viet@techmaster.vn
dbcd896b58627ba9685ae3d92fe6a238196e48a3
81c8310b6ae62547196beeb0e010c5f7ba154bca
/WebKitTools/Scripts/webkitpy/layout_tests/port/server_process.py
f1c6d731434889037ccc7fb3cd05546933acb389
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
mikezit/Webkit_Code
17a12de662c29fa1295a1caf88a1887dc6274600
2e0653efae44f3f22874b1c60e93bc3c74476dae
refs/heads/master
2021-01-23T07:26:20.951673
2010-12-31T06:35:21
2010-12-31T06:35:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,520
py
#!/usr/bin/env python # Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list ...
[ "jianjun365222@gmail.com" ]
jianjun365222@gmail.com