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
b7b2c1c4acf39cba5c2d878df855c8f86419e84d
e0e5a46f26a11034d32e19cda70be4ec7bdc3328
/API/languages/migrations/0002_auto_20190601_2010.py
5dee4a70240342cc42bcf20d153dddd5005d123e
[]
no_license
vincentmwanza/Sample-api
0c9bc3d321e4a858a2655c8fa253161e00b2b823
7cfe795e3368dd362b945a4da7ce1dc4aad3272f
refs/heads/master
2020-05-30T17:49:59.142775
2019-06-03T16:52:49
2019-06-03T16:52:49
189,884,170
1
0
null
null
null
null
UTF-8
Python
false
false
330
py
# Generated by Django 2.2.1 on 2019-06-01 17:10 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('languages', '0001_initial'), ] operations = [ migrations.RenameModel( old_name='Language', new_name='LanguageModel', ...
[ "vincentm591@gmail.com" ]
vincentm591@gmail.com
017da9a2d269a4079ab77126e8058cd5bf518208
24d6790dedd7473002513b2d58aa7e03e1b9b7c2
/Week1/week1-lessonfiles/pymongo_getting_started.py
81fe146f624219d5d865c1e2443447eab3d70129
[ "MIT" ]
permissive
italoag/M101P
3b50ddcc9935f6977d95f23dfc5aa7ee56a716e7
708bdd793735228f820f3f50f57c44ce8fc637ef
refs/heads/master
2021-01-01T20:01:30.181394
2013-09-24T02:29:58
2013-09-24T02:29:58
12,883,560
0
0
MIT
2020-08-13T20:06:29
2013-09-17T01:43:13
Python
UTF-8
Python
false
false
232
py
import pymongo from pymongo import MongoClient # connect to database connection = MongoClient('localhost', 27017) db = connection.test # handle to names collection names = db.names item = names.find_one() print item['name']
[ "italo@amorimgomes.com.br" ]
italo@amorimgomes.com.br
65f9e5229c6c9a6a1e020096dd3b187b66fcee09
e86fa6b618822fc800bdc699b95efd404065509e
/python/practice/matrixMultiplication.py
475810eb7ae26f8568fb5ce2c80ae20e1d8d212e
[]
no_license
KimYeong-su/programmers
97b0ba53833176690bf5f87243d4e98402526f86
caf3bcb824c4199832ca94b073340b8c49ada31d
refs/heads/master
2021-08-29T07:06:12.936109
2021-08-06T12:40:02
2021-08-06T12:40:02
251,619,326
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
''' # zip(a) 표현과 zip(*a) unpacking 표현을 잘 기억하자.. def solution(arr1, arr2): return [[sum(a*b for a, b in zip(A_row,B_col)) for B_col in zip(*arr2)] for A_row in arr1] ''' def solution(arr1, arr2): answer = [[0 for _ in range(len(arr2[0]))]for _ in range(len(arr1))] for i in range(len(arr1)): for j in...
[ "suwon0521@naver.com" ]
suwon0521@naver.com
618242b7cf28a1f63f4d52d764eb0fc1002682ac
de059a4aaac527f81c654bf859715c9ddfcba986
/contact/views.py
166d191334f2ed76ea3f8859bf01af297d1044a4
[]
no_license
theegichuki/django-jobportal
7907f88f1d684e7b551cdd96c7e26ba1b58e5a11
46361884a0780fd5727d19304cb78df7fcdd3c29
refs/heads/master
2022-09-21T14:42:23.060129
2019-12-05T17:05:44
2019-12-05T17:05:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
from django.shortcuts import render # Create your views here. def contact_page(request): return render(request, 'contact/contact.html')
[ "sajib1066@gmail.com" ]
sajib1066@gmail.com
45f3e431d0f8f9499337bb119a19afef3dfa0cf0
09dfb4f05f85c81405b544676ece658a37487cf2
/project.py
5e77a562c77abde25750963735866d055cd2cb65
[]
no_license
vishalk1995/Social-Media-Mining
3f55d432a0d52c872c549a63564be6bdf4cd77c4
e390ae23a80f03bcb832331bacb6fe254eb4b43e
refs/heads/master
2020-12-08T13:58:28.644666
2020-01-10T08:27:04
2020-01-10T08:27:04
233,000,607
0
0
null
null
null
null
UTF-8
Python
false
false
4,650
py
# -*- coding: utf-8 -*- """ Created on Mon Nov 25 16:21:55 2019 Name:Vishal Kumar ASU ID: 1215200480 """ import numpy as np import pandas as pd import keras from keras.models import Sequential, Model from keras.layers import Input, Dense, Flatten, Embedding, merge, concatenate from keras.preprocessing.text...
[ "noreply@github.com" ]
noreply@github.com
577618aff1bb4740987b1b69a5f59941d0390c84
c3897f243ee55949de5a12d5e0952c393b9166b2
/v0.5.0/google/cloud_v2.512/resnet-tpuv2-512/code/resnet/model/staging/models/rough/nmt_gpu/nmt.py
8b52d4d22d6aceee063d64099deb7ebe702f584e
[ "Apache-2.0" ]
permissive
myelintek/results
f189267475ee1fc2d02f6e0572d2185bfd8a1acd
11c38436a158c453e3011f8684570f7a55c03330
refs/heads/master
2020-05-29T19:28:54.838290
2019-07-31T05:58:31
2019-07-31T05:58:31
189,329,589
0
0
Apache-2.0
2019-05-30T02:14:08
2019-05-30T02:14:07
null
UTF-8
Python
false
false
46,512
py
# Copyright 2017 Google Inc. 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 applicable law or a...
[ "vbittorf@google.com" ]
vbittorf@google.com
2ab9f3d2c96125aa0a725add5dba7b55a918e0d2
894ea5f3087894c10288f65f32b7c4f667ce79f5
/opencv_learning/ssd/layers/functions/detection.py
a96e11a688c1f8d74494e4eb77de44d1e0911241
[]
no_license
j32u4ukh/CupoyLearning
dfe1af1992c38329ce9f7fa99aa9154a45e9b982
1d813a72b0f1456bc4019d42ac207d51883f892f
refs/heads/main
2023-02-16T23:51:10.084030
2021-01-18T16:05:33
2021-01-18T16:05:33
319,019,881
0
0
null
null
null
null
UTF-8
Python
false
false
2,715
py
import torch from torch.autograd import Function from ..box_utils import decode, nms from opencv_learning.ssd.data import voc as cfg class Detect(Function): """At test time, Detect is the final layer of ssd. Decode location preds, apply non-maximum suppression to location predictions based on conf scores...
[ "j32u4ukh@gmail.com" ]
j32u4ukh@gmail.com
52e6b86a41408d6d0f469e493c99dbfcf74b9482
e9a7f7539bdf0f3fc4c0d3de96f8281bda50ece3
/Mask Training.py
c7ccbf91f757e81998ab41241201e8ba8a6354f8
[]
no_license
yogesh895/Mask-Detection
80a1450917f5bf22b592bc61c1f346ec95f8d733
9b65cc79a65ccddfb9db089b12188a648ddfd680
refs/heads/master
2023-02-09T04:29:15.309137
2020-12-29T17:56:00
2020-12-29T17:56:00
325,352,309
1
0
null
null
null
null
UTF-8
Python
false
false
3,363
py
import numpy as np import os import matplotlib.pyplot as plt from imutils import paths from tensorflow.keras.applications import MobileNetV2 from tensorflow.keras.layers import AveragePooling2D from tensorflow.keras.layers import Dropout from tensorflow.keras.layers import Flatten from tensorflow.keras.layers import D...
[ "yogesh.sangtani.5@gmail.com" ]
yogesh.sangtani.5@gmail.com
b8a6594af13161b22203a8b0697de3c7725a8518
6e93a2a8a39e735e83874a4558f111bda00534d8
/Project_Tuples_Alpha/__init__.py
f5058802e41a1fe02b77ab8ec0226f81fc5aeb2b
[ "MIT" ]
permissive
sm2x/Keyboard-Biometric-Project
9b9f6d11ba8c3cf774353b6b6572623fcd68b2f3
0cdc0fef65b34624e80a5e96e2457c9cf958fb6d
refs/heads/master
2020-04-24T01:05:13.873293
2018-02-22T15:18:37
2018-02-22T15:18:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
"""THIRD PARTY LIBRARY IMPORTS""" import win32api """LOCAL LIBRARY IMPORTS""" from moduleForFindingTuplesTime import create_dict from moduleForFindingPressTimes import create_dict from moduleForRecordingTimelines import start_recording __verison__ = '1.0' __author__ = 'Matthew Nowak and Zachary Nowak'
[ "zacandcheese@icloud.com" ]
zacandcheese@icloud.com
5e4a606c99d717163a4cad4ae5c4b7084c445181
89ed1bb240f05c947b5c9d9fcaf7ac5d19c00426
/cs443/demo/turtle-threads.py
79768025c89e1acdfdce7c22870a1b5b29dc3624
[]
no_license
rmedinahu/rmedinahu.github.io
4f739f12154942f9b17b1f85506e86fa56685d74
f47573a639fcd9b281af8ff40892216f4a8f4a58
refs/heads/master
2020-05-21T03:05:36.992414
2017-05-08T22:20:10
2017-05-08T22:20:10
50,816,452
1
4
null
null
null
null
UTF-8
Python
false
false
1,144
py
# turtle-threads.py import threading import time import random DATA = 0 class ThreadA(threading.Thread): def __init__(self, e): threading.Thread.__init__(self) self.runtime = e def run(self): while self.runtime.is_set(): # time.sleep(2) threadLock.acqui...
[ "richardmedina@CSMB01.local" ]
richardmedina@CSMB01.local
7c57b93130facbb562560b0291719c78c022eebc
e6a60c7f91bb38f9be7e762665f4aae412668aaf
/rwmutex/__init__.py
63bb88378cc43a8b0e73ecf4b840e4064dbdd70d
[ "MIT" ]
permissive
BenJetson/py-rwmutex
774f54394474cc6680a141be3aa3b22868f87617
5890b1089336569ca7f25dbb0a21a9e299010954
refs/heads/main
2023-02-09T02:15:55.791177
2021-01-05T03:57:17
2021-01-05T03:57:17
326,859,904
1
0
null
null
null
null
UTF-8
Python
false
false
24
py
from .mux import RWLock
[ "BenJetson@users.noreply.github.com" ]
BenJetson@users.noreply.github.com
c6dba07fa35fb7da21b6d1e7211428aac6344e3a
485e504dbfd189b72cfd9846d39ecffd69bcd0ef
/ScriptsPython/borrar_productos.py
1bb5fd5b28af2de2457d20d385d9f22bab97400e
[]
no_license
StevenGarc/DrogueriaEspecial
172f7ce3d19afce17ad55b76dca8b223d83e5d7e
e1cf76a7efdb0429f8fb2e487668b38c1d5384ed
refs/heads/main
2023-08-05T15:26:39.308436
2021-09-27T23:20:17
2021-09-27T23:20:17
410,965,381
0
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
import csv from requests import NullHandler from requests.api import options from woocommerce import API """Configuracion Produccion""" """ wcapi = API( url="https://www.drogueriaespecial.com/", # Your store URL consumer_key="ck_cace5342881a49681854b8ece5561bac9a204ea5", # Your consumer key consumer_sec...
[ "jalejo999@gmail.com" ]
jalejo999@gmail.com
cde830d7a4274d28fb3f1d7f4f807e7245e65ec0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_omens.py
6723d6d1487e28f10d04f20ab87de03a0fc7e444
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
#calss header class _OMENS(): def __init__(self,): self.name = "OMENS" self.definitions = omen self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['omen']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
6cba431650ee8b74baa8310c144321b2e587155e
21f61f8a8c34b78176351bde07cca4576b98cabf
/cartesien _product_example.py
c187e2c35f28ae419d2b51eb3c25ce951330891a
[]
no_license
manojkumar00158/python_training_deepaksir
b7defea9f0c0bdc373ba51efd7524bf62bf8edf5
1a8877b48f0eaf763113c8cfb2a3ddda859cf29d
refs/heads/main
2023-01-31T03:15:15.749430
2020-12-18T03:38:27
2020-12-18T03:38:27
317,113,730
0
1
null
null
null
null
UTF-8
Python
false
false
601
py
list_1 = ['color','white','black']#taking the colors of t-shirts as input list_2 = ['short','medium','large','xl']#taking sizes of t-shirts as input for color in list_1: for size in list_2: #using cartesien product asking to give output as the combinations of color and size of t-shirts we ...
[ "noreply@github.com" ]
noreply@github.com
5cef3812cd14d92a333ea5bb8b587cc5c4bb238a
cd4ed0f3b31a4bc32afcfb38963b01a7a9a754b1
/简单图像操作代码集合/work.py
63a5134bb3f75a7d96634049d9fdb8d45e62ab24
[]
no_license
caomengnb/Python_example
0cc7f6d3fc2a3d28b8fd192b6bfe18dad2b40f2f
0f752aee9258785d0e543b94b0628b6849ed456d
refs/heads/master
2022-11-08T12:53:42.069600
2020-06-30T09:51:37
2020-06-30T09:51:37
275,985,545
0
0
null
null
null
null
UTF-8
Python
false
false
29,895
py
import cmath import numpy as np import cv2 import matplotlib.pyplot as plt import random import time import datetime import glob from imutils.object_detection import non_max_suppression pai = 3.1415926 img = cv2.imread("1.jpg", 1) height, width, mode = img.shape print('图像尺寸:',height,width,mode) #--------------------...
[ "1596105877@qq.com" ]
1596105877@qq.com
5c9fa7d4fd757aaaf8048f435a7047661ebea2c9
9de6d0967bd79a31073b9c6a9d4cd318b7d7b13e
/myside/rgnbgn/apps.py
7babc5ceee213c3ad837eed08fdb79791a029bc8
[]
no_license
FSchierok/schierok.de_alt
9684af3a7147bb643306fa97d4c470c849c56407
7bb205599508203a8cbb76aa4bf962323b0adfa4
refs/heads/master
2021-10-18T06:07:34.331231
2019-02-13T06:51:24
2019-02-13T06:51:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
from django.apps import AppConfig class RgnbgnConfig(AppConfig): name = 'rgnbgn'
[ "root@localhost.localdomain" ]
root@localhost.localdomain
d72aa754ffe1f1d7b2b56e808fc23e76259a2bc2
88f118be10a11b91b5cb7bb6ee896e0ab7a628b9
/practica_for.py
bc20fb7c2325e987774ed0c8486930c94d63579e
[]
no_license
arieldelga/learning-python
cef303e6ae03587677cb8fabef3cf4e88c3ac29f
22d97ee0741cbf2e00d661fd8094b1c491c52cca
refs/heads/master
2022-12-22T09:06:02.355675
2020-10-05T00:43:27
2020-10-05T00:43:27
299,448,446
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
arroba = False punto = False correo = input("Introduza correo electrónico: ") for i in correo: if (i=="@"): arroba=True print("hay arroba") else: if (i=="."): punto=True print("hay punto") if (arroba and punto): print("El email es correcto.") else: print("El email es incorrecto.")
[ "arieldelgadillo444@gmail.com" ]
arieldelgadillo444@gmail.com
81f7ada4406402517a9e3f78517657606142658e
479b217448e5333804ce313b04245db734128992
/Basic/rough.py
285492cf5904d726d7ba6705bb6ac811d35164fd
[]
no_license
hakepg/operations
ffbded083e0c52861d9f5ca9a3a94c728ef7dc0f
494c4951760faee25ea9713edc07496d349d7a5d
refs/heads/master
2020-06-16T20:03:09.791458
2019-07-07T19:09:45
2019-07-07T19:09:45
195,687,572
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
# class Student: # # def __init__(self,id,nm,age,sal): # self.sid=id # self.stname=nm # self.stage=age # self.stusalary=sal # # def __str__(self): # return f'{self.__dict__}' # # def address(self,add1): # self.addr= add1 # # # s1=Student(id=1,nm='ppp',age=25,s...
[ "pratimaghake@gmail.com" ]
pratimaghake@gmail.com
415e9aff0e41ea9efb16210beebbbc50f8b72b6e
f71d94e4a933f42817594b9ed4c3e06f48b7e186
/cv02/cv02_ZnovupouzBariera_NabitieTurniketu.py
6456fcf490ed40fbba234f9bcc2f065693756a24
[]
no_license
SkaAnn/PPDS-2020
c5433cdbf869948b43ec65c9da3e2f8de988d295
126f63dc29cfa6ee2fce29aa374ce12074f49e6b
refs/heads/master
2022-07-03T23:37:00.040887
2020-05-14T18:43:52
2020-05-14T18:43:52
242,393,795
0
0
null
null
null
null
UTF-8
Python
false
false
2,660
py
# sl 141 prednaska02 from fei.ppds import * import random from time import sleep # DVOJFAZOVA BARIERA # pomocou nabijania turniketu class DoubleBarrier: def __init__(self, N): self.N = N # pocet vlaken ktore sa maju stretnut self.counter = 0 # pocitadlo vlaken self.mutex = Mutex...
[ "xskachova@stuba.sk" ]
xskachova@stuba.sk
a560ecc38e31cad1b8691eef247786c33d3b4091
7e4b0b3713356128d1f1978851e9a7d387f7da9b
/picxi/migrations/0007_remove_outpic_seg_id.py
df37c2a1fb3f802bb2bbccae60df1ad71cd851a3
[]
no_license
prography/humony
db4838502c6813be1c5cb61b9df2ee24e7891d50
e08fb509cde0ea0850843ff4c57e16966059d9f5
refs/heads/master
2022-12-10T10:48:57.039624
2019-07-24T23:20:16
2019-07-24T23:20:16
173,412,836
2
1
null
2022-12-08T05:00:29
2019-03-02T06:35:44
Python
UTF-8
Python
false
false
331
py
# Generated by Django 2.1.7 on 2019-06-14 15:37 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('picxi', '0006_remove_inpic_color_list'), ] operations = [ migrations.RemoveField( model_name='outpic', name='seg_id', ...
[ "jun@bigpearl.io" ]
jun@bigpearl.io
86887e32b273a41d0f0ca93190b85e6ffa573efa
980cf7d6da1878fbd590a6a87ad2544051490c13
/flagr/api/export_api.py
62b75e1fb4e86c25f8a6fbe57a121df5ee6bd8b8
[]
no_license
checkr/pyflagr
4dca479e1883e9fa3141208bfee336d00e15431b
c2af160275208cdba135385cc52acafea5f3ecb7
refs/heads/master
2022-11-23T10:59:10.375874
2020-07-20T17:52:35
2020-07-20T17:52:35
114,043,761
17
6
null
2020-07-20T17:52:36
2017-12-12T22:02:44
Python
UTF-8
Python
false
false
7,918
py
# coding: utf-8 """ Flagr Flagr is a feature flagging, A/B testing and dynamic configuration microservice. The base path for all the APIs is \"/api/v1\". # noqa: E501 OpenAPI spec version: 1.1.10 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import abso...
[ "zhuojie@checkr.com" ]
zhuojie@checkr.com
4067df6deabc0c09665985515f58a01b388540cf
0fb9e72ca0e41a06b08dd03c49f340a5c3af583d
/main.py
e579bc240cf9a2dc0834118f9a3bd25c531290f8
[]
no_license
osmlab/routerelationranger
74146da70cad1f989f0bff764859e4b43112b998
1fcd00493ca6e612fcc0ce6b2878a0749fb6e869
refs/heads/master
2020-06-14T06:35:33.626186
2016-12-13T18:53:05
2016-12-13T18:53:05
75,222,534
8
1
null
2016-12-13T19:22:04
2016-11-30T20:05:44
HTML
UTF-8
Python
false
false
3,206
py
from flask import Flask, render_template, jsonify, request import requests import json import pycountry import us app = Flask(__name__) route_type = '' @app.route("/") def index(): return render_template('index.html') @app.route('/countries') def get_countries(): return json.dumps([[c.alpha_2, c.name] for c ...
[ "m@rtijn.org" ]
m@rtijn.org
207a9991e8cb9429d32159efa22844a2b24c6035
aa65d43b8775b1eb49fa5cf3c23e6ce6f7aefb7b
/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/express_route/gateway/_show.py
e7ccfe86f71ea0e67350f48b228dc22a5f0f2027
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
yungezz/azure-cli
8acef71d30d937f2fc48981804fa66fd9e1c980d
5a80d3507270cc3b9313a3e6e60daf291489a80d
refs/heads/dev
2023-03-15T14:22:26.085920
2023-03-03T08:13:04
2023-03-03T08:13:04
279,810,977
0
1
MIT
2021-02-08T08:09:06
2020-07-15T08:26:59
Python
UTF-8
Python
false
false
11,694
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # # Code generated by aaz-dev-tools # --------------------------------...
[ "noreply@github.com" ]
noreply@github.com
c7677807f0d46f1942905e904004144cc58ead9c
edf8004b1981dc4a81b9549f4dfb50fb998a5240
/tests/test_orbits.py
f067176a8cfd4e0ca90b5d42bfd5001eb78720e8
[ "MIT" ]
permissive
goodcq/picasso
64597d148ccb2c2c50c00cee8961c5a4c63334a7
89948b1707f44ca03c566da1d4424d9bc208e380
refs/heads/master
2022-01-22T11:12:36.348096
2019-07-29T09:55:23
2019-07-29T09:55:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,053
py
# -*- coding: utf-8 -*- """ @author: sreimond """ import pytest from picasso.utils.analysis import orbits import numpy as np def test_compute_kepler_orbit(): """ Test if the function `compute_kepler_orbit` correctly computes the orbital coordinates from Keplerian elements. """ a = 6775000.0 e = 0.0015306 ...
[ "stefan.reimond@gmail.com" ]
stefan.reimond@gmail.com
b3d5ee1f2d3213c5ca0bd65a64a9190ab278eda9
7463da80ec3ca0404e37ff903d1019e8e56595c8
/nn_example.py
65afb2b662f3d52f1e80c85e551abfbcbe5600ec
[]
no_license
ibmua/learning-to-make-nn-in-python
f8a2b4e3c86f5ab21465ae4c058b68b393b7ecee
368fe4d6817fe2e109ba4cac1fdc4585253dab02
refs/heads/master
2020-07-18T02:43:05.665723
2016-09-25T06:05:22
2016-09-25T06:05:22
66,508,249
0
1
null
null
null
null
UTF-8
Python
false
false
9,065
py
# Back-Propagation of Neural Networks # # Written in Python. See http://www.python.org/ # Placed in the public domain. # Neil Schemenauer <nas@arctrix.com> # Ihor Menshykov <ihor.ibm@gmail.com> import math import random import string random.seed(0) # calculate a random number where: a <= rand < b def rand(a, b): ...
[ "noreply@github.com" ]
noreply@github.com
ac0bc62cf50ba4152335777aa0c9bb45e5a48104
5338d03a104d0b145d0dad00b7d9a0bb7d858f05
/Assignment_1.py
39a1cd12d84365a1325c6c1696bdf2b7bad5e28e
[]
no_license
Python-SCI-420/week-1-samzak06
7ba81bf6b3d27d0cb7ea050a676f607660eb0714
0256ce2088754ac9e1ee55eaa32f4bdc4a66404d
refs/heads/master
2022-10-05T22:22:10.535393
2020-06-01T03:22:25
2020-06-01T03:22:25
267,701,833
1
0
null
null
null
null
UTF-8
Python
false
false
7,299
py
# PYTHON420 Week 1 Assignment 1 # Samuel Zakutney # 5/31/20 import numpy as np import matplotlib.pyplot as plt # White Space Formatting print('--White Space Formatting--') print('% Adding blank spaces to code affects the oder in which the code runs. %\n') def greet_user1(): print('Hello!!!') print('Take care!...
[ "noreply@github.com" ]
noreply@github.com
b0a72059e1c525bf44b28cac421173919bffd8ff
f531c56db4cd2776c765b9aca0c4cebaea864ec2
/ABC180/a.py
71af98fba89cb4bff73b9f900f0741c8dd163f1c
[]
no_license
SatoKeiju/AtCoder-Python3
1c76f8ec5d99470b6e316115f0433b4b3cb64024
9c2860e2cfda490d5848b0557876ef616eff01a2
refs/heads/master
2021-06-23T05:59:46.911733
2021-03-30T08:00:34
2021-03-30T08:00:34
212,088,768
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
def main() -> None: n, a, b = map(int, input().split()) print(n - a + b) if __name__ == '__main__': main()
[ "keiju.sato@abeja.asia" ]
keiju.sato@abeja.asia
9301ed3d4b8d989aec5326fa98eb80a029d02d57
ef1dcff4ff061058ba4a9e060ca8b5e8def19518
/lib/python2.7/site-packages/django_filer-0.9.12-py2.7.egg/filer/views.py
df120a758162cd74a73ebfe2c4e3178f4e26dfad
[]
no_license
vitbrajesh/virtual
4ca5f0903114511d5892e016cdcee1d224638c8e
15987f19ac8481c34e03d2a274f0b048637394d8
refs/heads/master
2021-01-09T21:53:55.956495
2015-12-07T08:01:52
2015-12-07T08:01:52
49,314,767
0
0
null
null
null
null
UTF-8
Python
false
false
6,338
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django import forms from django.contrib.admin import widgets from django.contrib.auth.decorators import login_required from django.core.exceptions import PermissionDenied from django.http import HttpResponseRedirect from django.shortcuts import rende...
[ "brajeshvitkanpur@gmail.com" ]
brajeshvitkanpur@gmail.com
01fb37b7d5d16a167a3f98e0b2b0c9ed7a36cd06
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part005250.py
a115bdd05a7d58de6b87e28027cd20e59675b0ad
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
3,998
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
98087e6da1c8ca9e5a0fc176c0cbb3af37b9928e
7cd02521c913513597dbfed9d2c1d0b31e89d476
/drinks.py
7a689799fe457d087a409926cd0eb031213572d1
[]
no_license
gyeongnamKim/data-analysis
520b89e20ecb4f7161f76346e7482bf833b86b80
a54b75c9f154f7042f11535d539a2957378df3d3
refs/heads/main
2023-08-11T11:14:33.703888
2021-09-15T08:46:54
2021-09-15T08:46:54
382,292,527
0
0
null
null
null
null
UTF-8
Python
false
false
2,900
py
import pandas as pd #파일 읽어오기 file_drinks = pd.read_csv('./data/drinks.csv') #continent의 Nan 값 OT로 교체 file_drinks.continent = file_drinks.continent.fillna('OT') #대륙별 beer_servings 컬럼 생성 continent_beer_mean = file_drinks.groupby('continent').mean()['beer_servings'].to_frame() continent_beer_mean.rename(columns={'beer_...
[ "rudska1885@gmail.com" ]
rudska1885@gmail.com
ffcc59ba22604f5c6f6105a41a3aa9d1b348cca9
d9bae26586757170e1b8b26a2344b342503387e8
/virtual/lib/python3.6/bisect.py
0ab727541837b21e7fd4f2b768dd320d2bef01b4
[ "MIT" ]
permissive
naimahassan/insta_grammy
afcf95c5ee1934a6d5debf14eb8197e3fe40d6e2
1821ae84abd2e6e9a7298410296d66ce04bda379
refs/heads/master
2021-04-03T05:25:06.633686
2018-03-20T07:48:16
2018-03-20T07:48:16
124,345,066
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
/home/naima/.pyenv/versions/3.6.3/lib/python3.6/bisect.py
[ "hassannaima77@gmail.com" ]
hassannaima77@gmail.com
721f489090af510ec73c841b2cedb0796ac257cb
2d9797f5a77f476dee1fac69a589c03f7b99248a
/Vertical_Tree_Sum.py
e9597bba0c45e0cdf60533ef3ccef7e7ede9a286
[]
no_license
bhoot929/Python-ELT
2b2b7b5244b624f21de4d6982abff61f9e0ff6b0
6eaed87fb27296794653a8a34cf93435de0e86d6
refs/heads/master
2020-03-24T16:44:32.146982
2018-10-01T11:18:56
2018-10-01T11:18:56
142,834,784
0
0
null
null
null
null
UTF-8
Python
false
false
1,794
py
''' This code will get summation of Tree elements vertically. https://algorithms.tutorialhorizon.com/print-the-vertical-sum-in-binary-tree/ ''' class Node: def __init__(self,key): self.value = key self.left = None self.right = None def printtree(root): buf= [] output_d...
[ "noreply@github.com" ]
noreply@github.com
44b24e4bf2e6ebcb6d51f4c623abc6306f561a42
0975719029ab9b2c4dfe869b9e9f0e86d999bf08
/blog/forms.py
5c0ad0dc4d1c1bbd0ba0cf5a1bda6cf8a6bd0e5c
[]
no_license
rjipandey/Django-edugorilla
c8442302646ff663cc799b2b598afa62ec7234d8
13771ba446c8091f17860049f30bd50b44129e2e
refs/heads/master
2020-03-30T11:47:49.602331
2019-02-09T02:43:03
2019-02-09T02:43:03
151,193,399
0
1
null
null
null
null
UTF-8
Python
false
false
2,632
py
from django import forms from blog.models import Post, Comment from django.contrib.auth.forms import UserCreationForm, UserChangeForm from django.contrib.auth import get_user_model as User from blog.models import * class PostForm(forms.ModelForm): class Meta(): model = Post fields = ('author','title','text') ...
[ "raj.xyz6@gmail.com" ]
raj.xyz6@gmail.com
d5c9b86ee0c37f13f1cbb6d03e3008cd35a1b9bb
1bdb0da31d14102ca03ee2df44f0ec522b0701a4
/Lombardia/MM/ReteAcquedotti/AggiornamentoReteAcquedotti.py
c746357b05945e6e29e8a6e020d668da83aa3a93
[]
no_license
figuriamoci/Acqua
dc073d90c3c5e5899b22005685847916de1dfd95
aef22fcd0c80c92441e0e3df2468d7a2f23a848a
refs/heads/master
2020-12-15T04:00:26.855139
2020-06-08T21:17:55
2020-06-08T21:17:55
234,986,179
1
0
null
null
null
null
UTF-8
Python
false
false
1,090
py
import os, geojson, logging, acqua.labelCollection as lc def create_water_supply_network(geoJsonfile, regione): #logging.info( "reading %s from %s...", geoJsonfile, regione ) with open( geoJsonfile ) as f: geo = geojson.load( f ) fc = [] for f in geo['features']: logging.info(f) ...
[ "an.fantini@gmail.com" ]
an.fantini@gmail.com
3c7916135c3832cfa446e71c5ccc3b59ed8e0dea
6b06010f58958e522992e99efdf5056b15c037f3
/check.py
81899ba8313bfa36cccdc7cd691097b45c255564
[]
no_license
k1ycee/School_Work
139ee1fcff5f294819c2ce0b410b194c3dca34e0
9dd3dff4a767d84021e11c57d7a9f3a7345bd474
refs/heads/master
2023-03-22T20:27:33.410554
2021-03-22T08:05:39
2021-03-22T08:05:39
340,304,719
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
# Python3 code to iterate over a list list = [1, 3, 5, 7, 9] # getting length of list length = len(list) # Iterating the index # same as 'for i in range(len(list))' for i in range(length): print(list[i])
[ "chiagozieani145@gmail.com" ]
chiagozieani145@gmail.com
f667b8af723aa31dcce449e8a86b340278404250
c016f855debafd5e28a765f2a1fe7636c55ba80f
/orig/mutated_maze-0.5/gamelib/fog.py
64673c278823334c033f83f1cb836a3814b6d15c
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
qeedquan/go-mutated-maze
841cdebbf9277aca3680903e1e46de564ab36fe9
f22e8dd167f603af7ad302bde97e2aed80077f2f
refs/heads/master
2020-06-24T17:54:27.761048
2018-07-25T20:50:29
2018-07-25T20:50:29
74,629,209
1
0
null
null
null
null
UTF-8
Python
false
false
3,946
py
import sys import os import random import pygame import pygame.image import itertools import data from gamelib import ega FOGFILES=( ('fog01.png', 'fog01_inverse.png'), ('fog02.png', 'fog02_inverse.png'), ('fog03.png', 'fog03_inverse.png'), ('fog04.png', 'fog04_inverse.png'), ('fog05.png', 'fog0...
[ "qeed@home.desktop.pc" ]
qeed@home.desktop.pc
12e87396bd23252c55dbf7e78fc3537867691bca
706c04281893a3c2f9d08f07af91e308fe9229ef
/python/matplotlib/matplotlib_pairplot.py
3756c85eba65005278fddbc6160ebf4165a629a7
[]
no_license
ywy0318/all_language
fce11698faa0d544d254ae2c4e584f09389b9551
a47b90c466f11dd6f855cea429e6b5c18a713f05
refs/heads/master
2023-07-31T19:25:38.382246
2021-09-11T13:34:22
2021-09-11T13:34:22
193,008,938
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
#绘制pairplot #用于显示各个特征对分类的影响,使用pairplot会生成散点图和直方图, #每个图都显示不同的特征与分类关系 import seaborn as sns import matplotlib.pyplot as plt import numpy as np import pandas as pd df_iris=sns.load_dataset('iris') #hue:确定关注的特征,即画该特征与其他特征的关系,palette:固定用法,图中各类别使用不同颜色 sns.pairplot(df_iris,hue='species',palette='husl') plt.s...
[ "noreply@github.com" ]
noreply@github.com
67a8c8410537108f5d2acb52d870cb3e0f56029a
a98e89e07d8ad6e67a28e5f75f397539b81de427
/irrigation_app/views.py
c37bbc5916bc2ea1e591847d53c437874614b1c8
[]
no_license
prkhrv/smart-Irrigation-system-Python
7c860e60d13859d6abac89808139b7bfe21531f4
758dce93250114282496fff9e3131fd6dc4805ec
refs/heads/master
2021-12-14T05:10:48.983441
2021-11-29T03:42:57
2021-11-29T03:42:57
168,005,269
5
2
null
null
null
null
UTF-8
Python
false
false
601
py
from django.shortcuts import render from irrigation_app.models import CropData from .irrigation import smart_irrigation from django.contrib.auth.decorators import login_required # Create your views here. @login_required def index(request): values = "" if request.method == "POST": name = request.POST.g...
[ "prakharnegative@gmail.com" ]
prakharnegative@gmail.com
f24850b26c9bfb3587a50fbd1a85e2a19302db4a
5161e650769614c7b189b54e0a9cfa1e47d8b6dc
/test.py
26b7348cd50112a5054a01da7d02f22f04309e24
[]
no_license
FHYN/Leetcode
0791cd552f62fbfc3dea67a9edf6e13cef318037
14a1c976b65b742e8d7973a74468ea9f3bdefa97
refs/heads/master
2023-08-20T03:25:13.570318
2021-09-16T09:32:12
2021-09-16T09:32:12
268,718,908
0
0
null
null
null
null
UTF-8
Python
false
false
1,553
py
class Trie: def __init__(self): """ Initialize your data structure here. """ self.root = {} def insert(self, word: str) -> None: """ Inserts a word into the trie. """ dic = self.root for w in word: if w not in dic:...
[ "noreply@github.com" ]
noreply@github.com
c3c8c62c75b3a96cd5d71067e6269516d0c95ee0
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/4baf47439edb0ab2a6d043f8872032cbd5c6dee035b265d6f6b2b9443945c60a/pyexpat/errors.py
ead44496b49caa3d6d90ff34ba43efbfbac4b2f6
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
5,532
py
# encoding: utf-8 # module pyexpat.errors # from C:\Users\Doly\Anaconda3\lib\site-packages\skimage\io\_plugins\_colormixer.cp37-win_amd64.pyd # by generator 1.147 """ Constants used to describe error conditions. """ # no imports # Variables with simple values XML_ERROR_ABORTED = 'parsing aborted' XML_ERROR_ASYNC_ENT...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
6b38169448f513f753356cfd005758f70d5a9367
20e8b77278c9c91122ad10cdcb685b86f6a9b596
/algorithms/2019/3/21/2019321-2.py
ed1bb80467f314e36312f91fe6fe71894db151b0
[]
no_license
arjun921/Python-TIL
c4471c2cc9addde53b27c442cd24e7b8ad233a81
64c425b98b0b9bdb8f39e2b3b635a582efabf13d
refs/heads/master
2023-04-20T04:22:57.762700
2021-05-04T11:34:00
2021-05-04T11:34:00
75,990,518
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
# https://www.hackerrank.com/challenges/text-alignment/problem?h_r=next-challenge&h_v=zen #Replace all ______ with rjust, ljust or center. thickness = int(input()) #This must be an odd number c = 'H' #Top Cone for i in range(thickness): print((c*i).rjust(thickness-1)+c+(c*i).ljust(thickness-1)) #Top Pillars for...
[ "arjun921@gmail.com" ]
arjun921@gmail.com
1ab06f9362e775fa0e6a0757dbfa91bb7733461e
dd109fbddb45ca5581b1d65adae9a7a161767ea6
/rule base/code/1P/ml_play_rule_base_1P_0552030.py
2fec6672e7a42c4f70452fb19589da46b6322d26
[]
no_license
BBS86x1023/PingPong-project-management-of-Machine-learning
17d8c36c21bc4fa1b54a63d99dbed4975ab99140
b2d48b7090fe3bc8916a42aa5c3b43d67b7d9284
refs/heads/master
2020-09-19T14:35:29.434855
2020-01-08T15:19:27
2020-01-08T15:19:27
224,237,960
0
0
null
null
null
null
UTF-8
Python
false
false
6,926
py
""" The template of the script for the machine learning process in game pingpong """ # Import the necessary modules and classes import pickle import time import os import games.pingpong.communication as comm from games.pingpong.communication import ( SceneInfo, GameInstruction, GameStatus, PlatformAction ) def ml...
[ "noreply@github.com" ]
noreply@github.com
5aced33a2339a145f4c1617f662f268eadcd7741
3e40a1c877ee4a943bca7e136e7643b15791f267
/Bhavuk_Smile_Detector.py
5b4cdc7f940ccfbff078c1045cbd768c746b3216
[]
no_license
bhavuk0909/Smile_Detector_Using_OpenCV
08f79642de4327e3a6b1f9d01c9b16ad6a416733
96af9a7b6be4bcbfcc32e17bdb8c26f33428c996
refs/heads/master
2020-11-30T19:44:34.849128
2019-12-27T15:16:54
2019-12-27T15:16:54
230,465,305
1
0
null
null
null
null
UTF-8
Python
false
false
1,237
py
import cv2 face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') eye_cascade = cv2.CascadeClassifier('haarcascade_eye.xml') smile_cascade = cv2.CascadeClassifier('haarcascade_smile.xml') #defining a function that will do the detections def detect(gray, frame): faces = face_cascade....
[ "noreply@github.com" ]
noreply@github.com
7fe5bc22dac1909ed556d1c7bb7127e52a4d4dae
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_189/ch20_2019_04_02_12_58_25_892579.py
fe0235bbac5d83917113e11d70f62f63d46439b1
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
nome=str(input('digite seu nome: ') if nome='chris': return ('todo mundo odeia o chris') else: return ('olá, {0}'.format (nome))
[ "you@example.com" ]
you@example.com
1b4e0dba6cccc7a01d2f1f2473da5593ccf3a7ee
6a68b230964540bc3f7eb19a9a5adc9b218370c7
/MiddlewareScan/F-MiddlewareScan.py
c00c9bde26d9c4c15f126b1dc017a4972d1497ec
[]
no_license
chuxuantinh/hack-tools
7705e485959d1612fee1786a80d98a3fe5500e20
c2203e8fa5c42b26e23b9c3db5e88ec7d11ea120
refs/heads/master
2023-01-09T03:13:40.074380
2020-10-31T19:17:37
2020-10-31T19:17:37
308,955,506
7
1
null
null
null
null
UTF-8
Python
false
false
7,741
py
#coding:utf-8 #author:wolf@future-sec import getopt import sys import Queue import threading import socket import urllib2 import time import ssl import os queue = Queue.Queue() sys.path.append("plugins") mutex = threading.Lock() timeout = 10 try: _create_unverified_https_context = ssl._create_unverified_context e...
[ "50776038+chuxuantinh@users.noreply.github.com" ]
50776038+chuxuantinh@users.noreply.github.com
b569408f618dfe7994f2eab431379db859377324
b62025c7de18e9c755e2bfbfc3a23d41080d384b
/home_management/home_management/doctype/booked_houses/booked_houses.py
dd2b158a608c1776f2fb8941ca5379b5dd219d15
[ "MIT" ]
permissive
dharsh2309/HomeManagement
869fede0fd70727108a2aaed909a903d4832c4cd
fe83ff1b9027ecf01110e113a594ededc3bf68f9
refs/heads/main
2023-07-22T15:35:44.527918
2021-09-03T03:56:46
2021-09-03T03:56:46
402,638,352
1
0
null
null
null
null
UTF-8
Python
false
false
268
py
# Copyright (c) 2021, Dharshini and contributors # For license information, please see license.txt import frappe from frappe.model.document import Document class BookedHouses(Document): def on_validate(self): self.id=frappe.db.get_value("New Tenant","id") pass
[ "dharsh2309@gmail.com" ]
dharsh2309@gmail.com
147de05b844678a03dfa6b53f8d666f100239fe1
2b43a5c77cf57431346f6c4dfa2004545a582eb7
/flipkart_code/matching.py
ff2815c519a1b5130c81ee3ec33a1d6a08009953
[]
no_license
9310gaurav/BTP
fad5fed7513ab8646b476a867f89862f56dd510e
b5d0f1a51c5d6267ad545fed7ca092167dfcc8d7
refs/heads/master
2021-01-13T00:41:04.268054
2016-02-08T16:30:26
2016-02-08T16:30:26
44,297,849
0
0
null
null
null
null
UTF-8
Python
false
false
3,147
py
from os import listdir from os.path import isfile, join import re import json import nltk import os _digits = re.compile('\d') def contains_digits(d): return bool(_digits.search(d)) def match(s,catalog,inv_catalog): #s="The PHBT98BK Bluetooth Home Theater Tower brings a beautiful, powerful sound system, 30-pin...
[ "gaurav9310.sharma@gmail.com" ]
gaurav9310.sharma@gmail.com
ffbaa8bb1b513994f93cd7cd81d76e16747c313c
d5a88d4023f7883c990470ad5568599c8ecb808f
/HW4/HW4.py
b46b37992512da1636c74443a29ccda16ace4ab7
[]
no_license
eugene87222/NCTU-Introduction-to-Artificial-Intelligence
8484a29d423698268769d8c1110546e58f1219cb
b243a1cec33b1a69c57ac1401ec973e30470753f
refs/heads/master
2022-11-15T00:53:40.728019
2020-07-04T16:22:51
2020-07-04T16:22:51
277,032,944
0
0
null
null
null
null
UTF-8
Python
false
false
9,481
py
# coding: utf-8 import random import numpy as np def load_data(path): label = {} encode_y = 0 X, y = [], [] with open(path, 'r') as file: for line in file: if not line.strip(): break t = line.strip().split(',') if label.get(t[-1...
[ "noreply@github.com" ]
noreply@github.com
810ec07271929b18b081f675595d3385d6dd3c62
3e321aa10954d1a206557fe10a06b2bb4cf7e1d3
/dp/word_break.py
c0d88bb242d299f10c99344d8c7c3b2e611776a2
[]
no_license
LQXshane/leetcode
7f5ab93372f95f83996a8d11936a737240f54464
cc6245c9519d2a249aa469eefc003e340bdbfa7c
refs/heads/master
2021-01-12T03:03:20.252679
2017-10-13T17:31:38
2017-10-13T17:31:38
78,151,938
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
class Solution(object): def wordBreak(self, s, wordDict): """ :type s: str :type wordDict: List[str] :rtype: bool """ T = [False] * (len(s)+1) T[0] = True for i in range(len(s)+1): for j in range(i): if T[...
[ "qxlin@bu.edu" ]
qxlin@bu.edu
1cc9928d529ad5736e478cc4ac402889c072e6f5
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/waf_write_f/xss-match-set_create.py
c7702ffe2384dfbda2f82dad83e597d3abc55b61
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
866
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
f566e9aa3f42c1c830eea77652aa4e96263246c8
c8f213f74b7f09f04726a3d1205d1c02d6aa3425
/09/fish.py
7a28b7f28ec029cafeddb988c9ca8ff9d32ba981
[]
no_license
AlexandraMatulova/pyladies
1c27b6a02f5a022145238a7d00bbe6260c313822
bc0feafbd8668be950d4d9859f6f95e20b3a7ed5
refs/heads/master
2021-02-13T16:59:06.853044
2020-07-18T17:58:48
2020-07-18T17:58:48
244,714,769
0
0
null
2020-08-03T19:13:19
2020-03-03T18:45:17
Python
UTF-8
Python
false
false
829
py
class Fish: def __init__(self, type): self.type = type def swim(self): print('{} can swim in water.'.format(self.type)) class Whales(Fish): def swim(self): super().swim() print('But it\'s not really a fish.') def size(self): print('{} is a giant of the ...
[ "sasa.matulova@gmail.com" ]
sasa.matulova@gmail.com
c3c37abc16b4f5fa3461a332ea338ff61a90d602
13f53a58840bbfa153c409aee782532ad6003cc1
/api_accounts/serializers.py
a76590a7709b2ad578773356a77e0ce8f0993b71
[]
no_license
kamils224/STXNext_training_program
5516a144b5b0cdaf670adb25aaad4b53e192bab6
cfd75a4865918044f19d0938e54cc5541974cbb2
refs/heads/main
2023-02-23T03:42:53.676389
2021-01-22T07:53:20
2021-01-22T07:53:20
327,868,946
0
0
null
null
null
null
UTF-8
Python
false
false
1,816
py
from django.core.validators import MinLengthValidator from django.contrib.auth import get_user_model from django.utils.http import urlsafe_base64_decode from django.utils.encoding import force_bytes, force_text from django.core.exceptions import ObjectDoesNotExist from rest_framework import serializers from api_accoun...
[ "kamil.sagalara@gmail.com" ]
kamil.sagalara@gmail.com
f3102916617b91a924eb59887357ea1f68f719b6
d3800acc2c00237f15de167245da68a64fd8eb87
/Problem 79.py
861ba0befc07fe3a87ced7cb65400df62f512c02
[]
no_license
Talophex/ProjectEuler
09fe30f2f505a8e6cb789a6c42e4686601c7177b
53f1ddeec4d7ef5e9442e587ef6776c283d1450c
refs/heads/master
2020-03-21T19:37:16.061411
2019-01-01T20:37:27
2019-01-01T20:37:27
138,960,215
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 19 16:00:34 2012 @author: Lucas """ import itertools def listception(small, big): for i in xrange(1 + len(big) - len(small)): if small == big[i:i+len(small)]: return True return False data = ([]) rawdata = open('data.txt', 'r')...
[ "noreply@github.com" ]
noreply@github.com
0bf95284b0250d0e2b0917642b84ee6ce6f67b6e
f02efdef1e1ee5fccba85a657a1ac222bb7dd194
/statisticalmechanics/src/programs_assessment_6/b1.py
689a24eb0770e42e7b775d0b247dca3648dbe990
[]
no_license
miknecht/courses
413f45f9ccf5a562a4d02ea974bd9674132054c1
6fdbe92408f4a4a2ae15d0a95a8046c332ac502c
refs/heads/master
2021-01-19T14:10:13.120787
2015-03-24T14:22:52
2015-04-11T15:42:21
30,188,723
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
import math, random, pylab def rho_free(x, y, beta): return math.exp(-(x - y) ** 2 / (2.0 * beta)) beta = 20.0 N = 80 dtau = beta / N delta = 1.0 n_steps = 4000000 x = [5.0] * N data = [] for step in range(n_steps): k = random.randint(0, N - 1) knext, kprev = (k + 1) % N, (k - 1) % N x_new = x[k] + ra...
[ "m_knecht@gmx.de" ]
m_knecht@gmx.de
6b40f853a3603f93e0db9be5a0b86f49e57b59f5
74d8990226224c977083a0a437c18ee4ca2476f5
/train_lsgan.py
55881e8e24441b67427e8427d6029754a7bcbe2f
[ "MIT" ]
permissive
meow-noisy/visualize_transposed_convolution
1d687bcd4600ab3c19486c4122e15ea7573be95a
2e624fba86b197986a433c7aa838221b9c9f27a8
refs/heads/master
2022-11-09T05:50:15.054067
2020-06-20T13:42:02
2020-06-20T13:42:02
273,708,089
0
0
null
null
null
null
UTF-8
Python
false
false
8,316
py
# -*- coding:utf-8 -*- import argparse import os import random import numpy as np import torch.nn as nn import torch.optim as optim import torch.utils.data import torchvision.datasets as dset import torchvision.transforms as transforms import torchvision.utils as vutils from net import weights_init, Generator, Discri...
[ "meow@example.com" ]
meow@example.com
ce930868c5418fcd36576afd4c0612fe63c6ed33
b9fd5a85cd0f7be28947bf30d20a29c33cdf3a8b
/show_me_the_data_structure/problem_2_file_recursion.py
914d5978edd677856435801388fbdba1e8dc9b7e
[]
no_license
binay-shah/Udacity_DSA
c1c73c25c3e65007e2720aef7afae9e429a717ed
8d349294b8b6c9d1c7a1806ff1109c399d444440
refs/heads/master
2022-11-19T02:44:40.696740
2020-07-11T01:48:44
2020-07-11T01:48:44
273,216,347
1
0
null
null
null
null
UTF-8
Python
false
false
1,341
py
import os def find_files(suffix, path): """ Find all files beneath path with file name suffix. Note that a path may contain further subdirectories and those subdirectories may also contain further subdirectories. There are no limit to the depth of the subdirectories can be. Args: suffix...
[ "binay18.shah@gmail.com" ]
binay18.shah@gmail.com
7639c596a784bb6a64eeae6e39cee143fb0f8de7
00d8e3f95516dba6bf4a688f889ebf251f10ea6d
/face_recognition/test/merge_FDDB_files.py
5214aaccfabf2cbb4bbc6676ad3b7d7fe18b2c04
[ "Apache-2.0" ]
permissive
1160300614/faceRecognition
7015efdd4a4d31e8f15759e8171b2dd721ff87c0
c1470c13c82db071b04c62244e5b7d28e026c030
refs/heads/master
2022-10-09T12:11:50.328357
2020-06-12T01:34:55
2020-06-12T01:34:55
271,447,390
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:e4cd04fb31053ce97d2da4a52a1029ff1febba19c52246e574eb23461edde40c size 1340
[ "guanqiao000@163.com" ]
guanqiao000@163.com
b3463b6fc44f470bc1c49964be9a1293d2c14279
38d93c5fd72fee380ec431b2ca60a069eef8579d
/Baekjoon,SWEA, etc/프로그래머스/소수 찾기.py
d4f4170daebf494386f6c0311a6f986a270b6131
[]
no_license
whgusdn321/Competitive-programming
5d1b681f5bee90de5678219d91cd0fa764476ddd
3ff8e6b1d2facd31a8210eddeef851ffd0dce02a
refs/heads/master
2023-01-01T01:34:22.936373
2020-10-24T11:05:08
2020-10-24T11:05:08
299,181,046
0
0
null
null
null
null
UTF-8
Python
false
false
2,080
py
import itertools # permutations = [] # # # def make_permutations(nn, n, permutation, visited): # ''' # if n == 4, create [[0,1,2,3],[0,1,3,2],[0,2,3,4] . . .] # ''' # if len(permutation) == nn: # permutations.append(permutation) # return # for i in range(n): # if not visited...
[ "blackgoldace@naver.com" ]
blackgoldace@naver.com
5f5c1794651cf07d80c9a89754cfb0e12a49387e
f506bee48d28fafc6158afa5a2e3fe52cd2dd074
/funcs.py
a76b863704871c9fe2985efa3e025e1a1046e778
[]
no_license
wakandan/hackathon
38cc38cc226d1cd80d910a12206b67fe508aca6a
93d4fe8b45bd1bc75d656073cbd31236b0a5569a
refs/heads/master
2020-05-29T18:54:40.232013
2011-09-05T14:05:02
2011-09-05T14:05:02
1,525,831
1
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
import matplotlib import numpy import matplotlib.pyplot as plt def normalize(x): '''x is a list of values''' input_data = x[:] N = len(input_data) mean = float(sum(input_data))/N variance = float(sum([i**2 for i in input_data]))/N - mean**2 return [float(i-mean)/math.sqrt(variance) for i in...
[ "wakandan@gmail.com" ]
wakandan@gmail.com
34c447b2702d0a89243b9206af1af98f49ae8b5b
5832f65747e6142d1b8de9d46aa507092782aafc
/Codeforces/1304/d/d1.py
1153970f359f16501943bc2d0f927e46b15fc1ac
[]
no_license
subhashreddykallam/Competitive-Programming
64cc42c5b23c03536187a1bb54e2b2ed82ee7844
973b66b4eb81352b98409ca52fa3aa75c28d8b6f
refs/heads/master
2022-05-28T21:07:43.012922
2020-05-05T20:34:20
2020-05-05T20:34:20
226,814,369
0
0
null
null
null
null
UTF-8
Python
false
false
1,618
py
from itertools import permutations def CeilIndex(A, l, r, key): while (r - l > 1): m = l + (r - l)//2 if (A[m] >= key): r = m else: l = m return r def LongestIncreasingSubsequenceLength(A, size): tailTable = [0 for i in range(size + 1)] len = 0 tai...
[ "42376739+Storm1seven@users.noreply.github.com" ]
42376739+Storm1seven@users.noreply.github.com
50fbdb2af7853dc5f470233160794c745ea3abad
7ff7f6df22dc5b5628357b007417ba61bfbe341e
/Reconstruction/LeNet-CNN.py
5f9cc798dd0da7ed541dc98b840f89ce832e7866
[]
no_license
Zhixuan-Jing/Software-design
d82250f72359bee90156905041b2c056fd8e0647
be73ec9a97a7b9e598d69de118251e7ba8ddce3f
refs/heads/master
2023-02-14T05:28:25.362036
2023-02-14T04:02:56
2023-02-14T04:02:56
220,354,967
1
0
null
null
null
null
UTF-8
Python
false
false
3,071
py
import torch from torch import nn from torch.nn.modules.activation import Softmax from torch.nn.modules.linear import Linear from torch.utils.data import DataLoader from torchvision import datasets, transforms from torchvision.transforms import ToTensor, Lambda import matplotlib.pyplot as plt from tqdm import trange cl...
[ "1449450262@qq.com" ]
1449450262@qq.com
0b7b5b3e422d4d86407298b5ea21c543f0c56a27
3f14972fce07bc05f2b63296b758baa7097ee323
/1219. Path with Maximum Gold.py
278a2aa56071e54aa21fef4771ff6194a36897c8
[]
no_license
harshitpatel96/leetcode
b23ae12d7b59369c86e76a6653e64d1fe3f69cea
eac8116f29c7a2c905f9e3921ae7f497a636deb3
refs/heads/main
2023-04-02T02:05:04.960851
2021-04-03T05:26:16
2021-04-03T05:26:16
323,508,651
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
class Solution: def getMaximumGold(self, grid: List[List[int]]) -> int: m, n = len(grid), len(grid[0]) maxGold = 0 def backtrack(x, y, currGold): nonlocal maxGold maxGold = max(maxGold, currGold) nbrs = [(0, 1), (1, 0), (-1, 0), (0, -...
[ "noreply@github.com" ]
noreply@github.com
f6e7a97b21c20a6035ed7afb2e4c6894635d229b
5da41afc2ba79606b93167eb62d4218f2a056b14
/hints/asgi.py
4c7bad1501342bb7ee4d4bc84fa6f6f6d41bd740
[]
no_license
suchiundevia/project_hints_react_heroku
fb666db52ba1bd48aedeb5c55d0c572608a2a491
cdf20bf025e500bbd0c4aef21205f702b9121623
refs/heads/main
2023-08-03T04:45:01.704096
2021-09-15T09:30:03
2021-09-15T09:30:03
406,698,925
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" ASGI config for hints 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_SETTING...
[ "suchi.undevia@gmail.com" ]
suchi.undevia@gmail.com
bdceaf72d71ac934f3016eeeeb170f7c24750138
684140802ca9d743e660f8100cc508342bf97fd1
/HTMLtoPDF/main.py
fcb18ad656ee0bdfc5c782f210f827f83b9bc477
[]
no_license
polyx/HTMLtoPDF
f5b9cd359175d020dd0965cdc1df293e619a7954
8a8d0af9c037ca8954e05315fe369fd7a719f25e
refs/heads/master
2020-04-13T17:28:54.514613
2015-10-06T12:46:32
2015-10-06T12:46:32
40,620,196
5
1
null
null
null
null
UTF-8
Python
false
false
1,639
py
import argparse import os import requests from . import config from .PDFConverter import ToPDF __version__ = '0.0.1' class ArticleRequester: def __init__(self, url=config.settings['url'], token=config.settings['token'],): self.urls = url self.response = None self.req_url ...
[ "filosofov.dmitry@gmail.com" ]
filosofov.dmitry@gmail.com
375d004fc8b55883d80fbdb095c09df6b7efc9f2
e30d85cf51b196c114d40e3a7bddbc9f78e20b3e
/blog/urls.py
a78cd97cd96da771b1d9bd50b3b91631891d6c34
[]
no_license
devonuryilmaz/djangoBlogApp
0775b06ca9fa5ebbd2a758e05bbfe900a5af9891
105e9f2f98d236003478979ad463018b352872e6
refs/heads/main
2023-02-20T13:07:17.711991
2021-01-23T17:26:39
2021-01-23T17:26:39
296,892,465
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
from django.urls import path, re_path from .views import post_list, post_delete, post_update, post_add, post_detail, add_comment, add_or_remove_favorite, post_list_favorite_user, new_add_comment, get_child_comment_form urlpatterns = [ path('', post_list, name="post-list"), path('create/', post_add, name="post...
[ "42644185+devonuryilmaz@users.noreply.github.com" ]
42644185+devonuryilmaz@users.noreply.github.com
dae0e4d273d50bbe8abc3383ce60b3e4d7c2b7f5
7f984014e852300e6f3e4a9275b6757b0f6ec170
/Gramma_Tech/text_sum_digits.py
7ee5a79457cffcf37902f951f23e443175bb3db2
[ "MIT" ]
permissive
royadityak94/Interview
b586691473a27564c45fd19f1f74ba093c3bd685
40a7f7e2edddbb525bc6b71ea72d6cd2bda5708f
refs/heads/master
2023-03-11T19:44:16.280097
2021-03-02T01:24:45
2021-03-02T01:24:45
296,197,725
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
import re def shoppingList(items): #prices = list(map(float, re.findall(r'\d[0-9]*\.?\d+', items))) matches = re.findall(r'\d[0-9]*\.?\d*', items) print (matches) prices = [] for match in matches: if len(match) > 0: prices.append(float(match)) print (prices) ret...
[ "adityakumar.roy94@gmail.com" ]
adityakumar.roy94@gmail.com
3149edc0e5c88ef8d9745ed55af8e9a3fe95e614
2b856cc40ddf549c6e6bad6e907137c065c4f68a
/vsf_user/migrations/0001_initial.py
308185bc081a774c79436b0fd3d66fef07725cb2
[]
no_license
Arleyn/vsf-incidents-server
85728ff793df525f8efe5117af4ea54c98475062
fb4abdae0ee08bad0a0f39e8338ccdc220373df9
refs/heads/master
2021-06-24T07:46:20.563311
2017-03-02T21:34:42
2017-03-02T21:34:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2017-01-04 17:34 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('authtoken', '0002_auto_20160226_1747'),...
[ "nestorbracho2207@gmail.com" ]
nestorbracho2207@gmail.com
99f5ef741697014160d292c601ee6639f776e935
54db996467fe30c2b540240f8fa48029414f8922
/app/controllers/invites.py
ff471bf9e4931fc46535524baaae0754974ea3a6
[]
no_license
wanman/rideshare
ecd5f7aaa9a9cd122cab7be95639100f6193b716
cffb957e9ac500ae3c11b47009394e22d7ef7b6c
refs/heads/master
2021-09-02T00:11:34.334558
2017-12-29T10:22:21
2017-12-29T10:22:21
113,056,951
0
1
null
2017-12-04T15:02:54
2017-12-04T15:02:53
null
UTF-8
Python
false
false
3,754
py
from app.common import toolbox from google.appengine.ext import db from google.appengine.api import search from app.model import * import datetime from datetime import date from app.base_handler import BaseHandler from app.common.voluptuous import * import json import re from app.common.email import send_invite, send_e...
[ "bananagus@gmail.com" ]
bananagus@gmail.com
95ed130bd1bdf6d9f9e4653be85a718c6b207282
61814396f58eb438edd00df9b9b19a9b2854f3ae
/test/id_generator_test.py
8fcdad6e98a18a802c3270a707f38770cce3f1b0
[]
no_license
rajatkhanduja/pigit
83cbcaad7f04a68f542d8f6b2ab65e5d4f74e1c7
ebc6131f6f93abae153f4cc89a730836511b192e
refs/heads/master
2020-12-30T15:41:11.845468
2017-07-22T10:08:39
2017-07-22T10:08:39
91,156,309
1
0
null
null
null
null
UTF-8
Python
false
false
618
py
from unittest import TestCase from pigit.id_generator import SerializerBasedIdGenerator from pigit.serializer import DefaultSerializer from pigit.bean import Blob from hashlib import sha1 class IdGeneratorTest(TestCase): def setUp(self): self.id_generator = SerializerBasedIdGenerator(serializer=DefaultSe...
[ "rajatkhanduja13@gmail.com" ]
rajatkhanduja13@gmail.com
56bc7e285a243b20416b0354cc8bd2200989d3a0
ac6e4102dfb49a4e49de0e2766feb6e80ab0b5c2
/test/test_networking_project_netgw_attach.py
74a8534b8692359526d9c3f667bbf6100f6e6b64
[ "MIT" ]
permissive
hyperonecom/h1-client-python
df01f05ad295121e3dd391a3274c41e2f5b88e53
4ce355852ba3120ec1b8f509ab5894a5c08da730
refs/heads/master
2023-04-05T01:51:31.637002
2021-03-29T00:05:41
2021-03-29T00:05:41
319,309,525
0
0
null
null
null
null
UTF-8
Python
false
false
852
py
""" HyperOne HyperOne API # noqa: E501 The version of the OpenAPI document: 0.1.0 Generated by: https://openapi-generator.tech """ import sys import unittest import h1 from h1.model.netgw_private import NetgwPrivate globals()['NetgwPrivate'] = NetgwPrivate from h1.model.networking_project_netgw_at...
[ "action@github.com" ]
action@github.com
b0ddb85d5d6654d0bbf42e807f0356fc1e877ba3
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AntfortuneContentCommunityContentEventSaveResponse.py
460049c5dc88e8c5dfdbefc078a9cfe3196f03ef
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
491
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AntfortuneContentCommunityContentEventSaveResponse(AlipayResponse): def __init__(self): super(AntfortuneContentCommunityContentEventSaveResponse, self).__init__() def p...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
59ab3d1d5a63173cf9c1ac54bfef4c2a531c017e
9e354e804733f42f7eee8001ff6212b4f9bf9756
/Backjoon/1920.py
709c1eeb105588309b69e68e796cb9df588a3da9
[]
no_license
OSUpdate/Algorithm
7523be3bb13424f7638e2df08c99550f4f34c606
a2131b8f993b961cb5cf3fee41aa7652aee1ae51
refs/heads/master
2023-09-01T14:39:25.802766
2021-10-19T05:54:40
2021-10-19T05:54:40
286,486,756
1
0
null
null
null
null
UTF-8
Python
false
false
540
py
from sys import stdin input = stdin.readline def findNum(arr,num): start = 0 end = len(arr) - 1 mid = (start + end) // 2 while end-start >= 0: if arr[mid] == num: return 1 elif arr[mid] <= num: start = mid + 1 else: end = mid ...
[ "noreply@github.com" ]
noreply@github.com
fdeaa23678913b4526aec3842ecd4bad9976c424
20355674d95a32554db51394e2e7b9a115223a3c
/venv/Scripts/pip3.8-script.py
3986897128466b028946136300b88dd2c5c96cd7
[]
no_license
Melliandra/horoscope_web
c0d5cdac0fc416d2022f1476beefb618de77cebb
5f80d97aada7d178e5cfde4c1e2defd92f7db704
refs/heads/master
2022-05-25T06:16:37.797094
2020-04-28T19:01:10
2020-04-28T19:01:10
259,726,041
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
#!C:\Users\DNS\PycharmProjects\horoscope_web\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys...
[ "anna.zvyagina1004@gmail.com" ]
anna.zvyagina1004@gmail.com
445ae012369e130a64640bffa4896eb632b25aef
924f23fe702a4cc9badc298dd4a94a26738e4184
/jokeBot.py
bd96230eaca1142a178260f99085efca52de7d75
[]
no_license
EthanShapiro/JokeBot
d604eafcd1f30374b39461544541ab6c7af6792c
879fb437dda08f229c04d229993b710d14691d74
refs/heads/master
2021-01-21T16:14:51.462550
2017-09-14T03:16:55
2017-09-14T03:16:55
95,403,268
0
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
from core import jokeManager from core import dataManager def wait_for_input(): while True: response = input("Would you like to hear a joke? (yes or shutdown)") if response.lower() == 'yes': return True elif response.lower() == 'shutdown': return False else:...
[ "23350520+EthanShapiro@users.noreply.github.com" ]
23350520+EthanShapiro@users.noreply.github.com
57d0af765c0bba1be41e4395fa594c95e8a52008
399b6f19250ea7e7abbf16020195fce9e81e0e41
/WebSite/Django/my_study/weibo/migrations/0005_auto_20200416_1748.py
e9f813e83a1ca92b5157005ccdf483321ecaf279
[]
no_license
zhanghui0228/study
87cd248a2f3e4af38bf0d2416fed0b9515f54f45
43351858858e087d060630f2669e30546acbaf8f
refs/heads/master
2020-07-23T05:50:02.556812
2020-05-24T10:40:04
2020-05-24T10:40:04
207,463,463
1
0
null
null
null
null
UTF-8
Python
false
false
511
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.27 on 2020-04-16 09:48 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('weibo', '0004_weibouser_creaete_time'), ] operations = [ migrations.AlterF...
[ "helloworldhui@163.com" ]
helloworldhui@163.com
e2617e2cd9d7417bb732d8f6e13ca6f4ddc86c80
5032338668ee36246cd4c02f53406854586061c5
/tutorial/snippets/views.py
97266ca9d36a441f8292a2c58b4b39d04a4fa9f8
[]
no_license
Pravrevin/django
2aac5cc7802b9edcddaa7d4ec0fe1bba52a605dd
3925e910a8d8d4714e3885c07aa6558c172c1297
refs/heads/master
2020-08-22T20:15:16.706563
2020-05-08T04:31:43
2020-05-08T04:31:43
216,470,524
0
0
null
null
null
null
UTF-8
Python
false
false
1,676
py
from django.http import HttpResponse, JsonResponse from django.views.decorators.csrf import csrf_exempt from rest_framework.parsers import JSONParser from snippets.models import Snippet from snippets.serializers import SnippetSerializer @csrf_exempt def snippet_list(request): """ List all code snipp...
[ "noreply@github.com" ]
noreply@github.com
97e7d721ada841aa8ca6ee31fdab0f18457e35de
97c93012ce3c7df353734bc9fa53f7ff4d2f56e0
/enhance_img.py
6ca63d79bf280fabcc6d66d3709af03478f27fd0
[]
no_license
jcgarciaca/document-barcode-decodifier
5dabe5bd5c7d057b239c8ceb38372cb97cff339b
d8ff9bfdd6103e701f3046e7407e9bc852c70db1
refs/heads/main
2023-08-17T18:39:34.600709
2021-09-17T23:35:18
2021-09-17T23:35:52
400,341,558
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
from PIL import Image, ImageEnhance import cv2 import numpy as np #read the image im_output = Image.open("cedulas_test/bar_7.png") enhancer = ImageEnhance.Brightness(im_output) factor = 1.5 im_output = enhancer.enhance(factor) enhancer = ImageEnhance.Contrast(im_output) factor = 1.2 im_output = enhancer.enhance(fact...
[ "julio.jcgc@gmail.com" ]
julio.jcgc@gmail.com
5487c57a446a467275770643367d248d4cebf8c7
60d6b8501d0be546437b26a6ee1f9fab97ec3897
/platypush/migrations/alembic/versions/c39ac404119b_migrate_variable_table.py
8efa908543bd7c4eba3c1c62b3282c99e74b4cd6
[ "MIT" ]
permissive
BlackLight/platypush
68284a85b2f9eef303d26b04530f075927b5834a
446bc2f67493d3554c5422242ff91d5b5c76d78a
refs/heads/master
2023-08-31T21:01:53.519960
2023-08-29T22:05:38
2023-08-29T22:05:38
109,421,017
265
25
MIT
2023-09-01T23:15:49
2017-11-03T16:56:24
Python
UTF-8
Python
false
false
4,308
py
"""Migrate variable table Revision ID: c39ac404119b Revises: d030953a871d Create Date: 2023-04-28 22:35:28.307954 """ import sqlalchemy as sa from alembic import op from platypush.entities import Entity # revision identifiers, used by Alembic. revision = 'c39ac404119b' down_revision = 'd030953a871d' branch_labels ...
[ "fabio@manganiello.tech" ]
fabio@manganiello.tech
2e3c7259450c57b1ae6db5382c7f7aa424a5a2c9
a5b6dfd04e49b86a4ec3ba1ca1fc941233fd1906
/leetCode/46Permutations.py
5ac95b13a5ac47b2245845689b668f8e2a71e15e
[]
no_license
JuDa-hku/ACM
c57423c4c619991ab5b8df170ace6c68fbe6bb48
3add05a6b07ec60ae148290f7f25d122336de47d
refs/heads/master
2021-06-25T09:33:05.396914
2016-10-29T03:27:03
2016-10-29T03:27:03
21,881,993
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
class Solution: # @param {integer[]} nums # @return {integer[][]} def permute(self, nums): res, C = [], [] self.permuteHelp(nums, res, C) return C def permuteHelp(self, nums,res, C): if len(nums) == 0: C.append(res) return for num...
[ "juda@ubuntu.ubuntu-domain" ]
juda@ubuntu.ubuntu-domain
a12b8ff3f8ee8f03e99454705e3c22e6236d4ec9
f45acfa5004aa2acbd833044dc067f7e4f2bb9f8
/hackerrank/tracks/data_structures/queues/castle_on_the_grid.py
512464e8d5edc4b4c6c8f3d6cfcc001e4be91ef4
[]
no_license
tmarice/cp
8652353af73034bf02ceaf66c3c3375645c3a64a
70c9e7ab30f55f5e2ccca3aba2777716857b8fcd
refs/heads/master
2021-01-02T22:59:15.653805
2018-12-03T21:42:42
2018-12-03T21:42:42
99,430,307
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
from collections import deque def get_neighbors(r, c): cells = [] # up i = r - 1 while i >= 0 and m[i][c] != 'X': cells.append((i, c)) i -= 1 # down i = r + 1 while i < n and m[i][c] != 'X': cells.append((i, c)) i += 1 # left i = c - 1 while i...
[ "tmarice@gmail.com" ]
tmarice@gmail.com
3b0309362a3d754a4bac98f858c829933e8829d4
8d6ce1c60ebad9b6469833d1d423bfb789737a47
/homeworks/hw3/list_users.py
fe44e5a1ca5d1450a367273986de156157c88cc7
[]
no_license
yliya1991/python_course_garahasheva
b164b66e079e888bc8356712b992acdce0109da9
edae3c4366838ee4b409cbd60d4e4e29321d070f
refs/heads/master
2022-07-03T22:17:52.770747
2020-05-12T17:27:30
2020-05-12T17:27:30
257,084,926
0
0
null
2020-05-12T18:10:48
2020-04-19T19:29:59
Python
UTF-8
Python
false
false
200
py
from faker import Faker def users_list(count: int=100): fake = Faker() result = '' for i in range(count): result+=(fake.name()+' '+fake.email()+ '\n') return result
[ "yuliya.zayceva.911@gmail.com" ]
yuliya.zayceva.911@gmail.com
c1d4c8b580775634ae3bb54a4d8f88fb946e5112
c5e94b6ae552e64b128f5c8ba5f80f44b236ac51
/blog/migrations/0010_auto_20160406_1306.py
39896f5e71ea8738dc956f5c7a38eea9d7822650
[]
no_license
vigupe01/my-first-blog
1c837336ced4c0d8d3e28842934e9e91f1254ac2
5c26d10cb0f78a611ce1bbbe6d7b4a3242d00a48
refs/heads/master
2021-01-21T13:03:23.180902
2016-04-18T11:42:19
2016-04-18T11:42:19
55,500,097
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0009_auto_20160406_1259'), ] operations = [ migrations.AlterField( model_name='post', name='...
[ "victorguijarro93@gmail.com" ]
victorguijarro93@gmail.com
c92cb1c5e06e02f2ddd9286c1fe412ee27c6ed04
d001d2aa56f236bad12355b6bfd2fac0e74bc02a
/main_app/migrations/0002_project_project_img.py
20f2ddf2018b9d60fcd68e257bbb15e73b134bc3
[]
no_license
desertlp/lorapaine
87f04a4ca71ad1373b53eca7f224f69fcdaff39c
afa8a61fbae57a4fca03e9f05f934cce588f35d6
refs/heads/master
2022-12-25T16:23:20.008406
2020-10-07T06:58:58
2020-10-07T06:58:58
301,951,705
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
# Generated by Django 3.0.5 on 2020-10-06 22:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_app', '0001_initial'), ] operations = [ migrations.AddField( model_name='project', name='project_img', ...
[ "lorapaine1@gmail.com" ]
lorapaine1@gmail.com
e6e1bbebe54616231520a441a849e78d3a82e713
c99d9c71c9611cf66b9d8fec21a0613763af8c03
/szgen/templates/sql/libs/auth/api/types/user.py
e8835fd6461fec0492ded64e805c91f5803562b1
[]
no_license
danishabdullah/szgen
678411bef2d0288c9e900cdd6eca629f1f714e6f
7920bce00a2e9496c175761f5479cbfa9abe7341
refs/heads/master
2020-03-08T02:55:00.733421
2018-05-17T23:13:59
2018-05-17T23:13:59
127,874,491
1
0
null
null
null
null
UTF-8
Python
false
false
432
py
from __future__ import print_function, unicode_literals from string import Template __author__ = "danishabdullah" __all__ = ("user",) user = Template("""\echo # Creating user type to be used for the frontend exposure select settings.set('auth.api-schema', current_schema); create type "user" as ( id ...
[ "dev@danishabdullah.com" ]
dev@danishabdullah.com
ec2d819025e095b8eab845d99f83be6bd2626e1e
d69975f83bfe5ced61b0a52b5e81e786ea654a8d
/ensemble/util.py
746759c473a6370a23ad43a19d2fca9142a49a04
[]
no_license
sudharkj/ml_scripts
3cceca29aabc2597fc76c2b5070500b70275d852
fcf6938383a212f108b32157f4b992e3c11ba4ad
refs/heads/master
2020-03-22T21:39:58.685461
2018-08-15T05:54:59
2018-08-15T05:54:59
140,705,143
0
0
null
null
null
null
UTF-8
Python
false
false
2,569
py
# From the course: Ensemble Machine Learning in Python: Random Forest, AdaBoost # Link: https://www.udemy.com/machine-learning-in-python-random-forest-adaboost/ import numpy as np import matplotlib.pyplot as plt from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor def plot_decision_boundary(X, mod...
[ "sudha.rkj@gmail.com" ]
sudha.rkj@gmail.com
0a239158da7a4e929daf2fab7fc0257797715246
3fcb1d6e8566f1d31237c934a75ffbfa4b5742e0
/app_case/migrations/0001_initial.py
9d41d9298f47319eed946430f88a15e6ecd4fdd2
[]
no_license
xuxushenlan/itest_platform
42714bd9ee5dc776aefecb80fdeff3bfa654785e
56ced10fc9fe5ba05f6b699c98b882b93e9982e3
refs/heads/master
2021-02-23T08:02:16.418178
2019-12-21T10:11:49
2019-12-21T10:11:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
# Generated by Django 2.2.6 on 2019-11-30 14:46 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('app_manage', '0002_module'), ] operations = [ migrations.CreateModel( name=...
[ "fnngj@126.com" ]
fnngj@126.com
47fe148cfd3970866527a76d900bd6a16e5902c0
fb4fc6ca3b6ea208a2377325fd1d41e6fe068734
/tests/test_speed.py
40c06c1d58652a5c103c60146cc0bb2ed869b958
[]
no_license
nadia-el/ontology-semsim-py
d15977cebe5d750c256a4ce3ff3fdb6c6c7098a1
216ee2a7b83b951b3bce7865e1dd7c94acc17211
refs/heads/master
2022-04-16T21:08:53.126204
2020-04-03T23:12:47
2020-04-03T23:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
from ontology_semsim.util import time_all_ancestors, time_all_jaccard from ontology_semsim.fast_semsim import FastSemSimEngine from pytest import approx from typing import Optional, Set, List, Union, Dict, Any from rdflib import URIRef, BNode, Literal, Graph, RDFS, OWL, Namespace from ontology_semsim.semsim_rdflib impo...
[ "cjm@berkeleybop.org" ]
cjm@berkeleybop.org
c9d4ac34beb6635814de7decc46d5f89599fa113
6781c27ffa01de9ff532991747530b3459fe3a13
/switchme/profiles/migrations/0001_initial.py
19e54c5b5901c72c4006e932c3670b7d6ad1e08a
[]
no_license
nikit34/SwitchMe
9f83550b1446237584c2973316c544351d38d2fb
e561beeaea51fb4037a2bb6f8320ca31bc6cd815
refs/heads/master
2023-05-14T13:10:21.749514
2020-08-06T18:26:51
2020-08-06T18:26:51
282,092,858
0
0
null
2021-06-10T20:30:18
2020-07-24T01:25:19
JavaScript
UTF-8
Python
false
false
1,631
py
# Generated by Django 2.2 on 2020-08-01 18:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
[ "permikov134@mail.ru" ]
permikov134@mail.ru
a81a75832052901de6f0a0a023484dc3601f7a40
7c5a6ad8653d0f99c25dc257ce27c61ac5430037
/chapter-4/charter/constants.py
457c74ef1b7641692a676eddea45d352584e0622
[ "MIT" ]
permissive
PacktPublishing/Modular-Programming-with-Python
01b7f70a22fc69d17188d8059d0c085b9845b5af
ba43042b7ef6278d4119785f1dbccd19994fa812
refs/heads/master
2023-02-11T06:23:53.653389
2023-01-30T08:51:36
2023-01-30T08:51:36
59,755,950
48
39
null
null
null
null
UTF-8
Python
false
false
241
py
""" constants.py This module defines various constants used by the Charter package. """ CHART_WIDTH = 600 CHART_HEIGHT = 400 TITLE_HEIGHT = 50 X_AXIS_HEIGHT = 50 Y_AXIS_WIDTH = 50 MARGIN = 20 TICKMARK_HEIGHT = 8
[ "packt.bharatp@gmail.com" ]
packt.bharatp@gmail.com
094cb09586658ffb2844f07adad7a4ead2b9be54
d59213b2b882126e444e2465117698b912b9402a
/神经网络/conv.py
b46afbd80fcd026dd77b0852ec91b524ccb0debc
[]
no_license
ITPreson/CV_learn
b144c9749fbc79e40daac16c0f07bf928de8c09f
a059ca30acca29d699b1942a3adec84bcdf4930d
refs/heads/master
2021-03-22T22:19:32.366016
2020-04-11T02:39:49
2020-04-11T02:39:49
247,402,474
0
0
null
null
null
null
UTF-8
Python
false
false
2,873
py
import torch import torch.nn as nn import torchvision from torchvision.transforms import transforms from torch.utils.data import DataLoader # Hyper-parameter num_epoch = 5 batch_size = 100 learning_rate = 0.001 num_classes = 10 train_dataset = torchvision.datasets.MNIST(root="./", ...
[ "wang@WeiWangdeMacBook-Pro.local" ]
wang@WeiWangdeMacBook-Pro.local
d5d4baea0691ce4c22e59e1380f378139f6e1566
c2e2fe9ccd65e3fbbb98668743b0b4152e8f6d5a
/xgboost_rank.py
95a4a470f15616c1ecdc1aa5857f3db51fdfa3d0
[]
no_license
15090066263/---
bbb92ede1142709bc9ed867cc622087a018a87f1
e816d27cd26b25170a27c10f40b0e9900cea62af
refs/heads/master
2023-03-16T01:26:06.758005
2016-08-03T05:39:15
2016-08-03T05:39:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,663
py
# -*- coding:utf-8 -*- #使用xgboost进行预测 import pandas as pd import xgboost as xgb from sklearn.cross_validation import train_test_split import os train_x_numeric_rank_csv = '../data/train_x_numeric_rank.csv' train_x = pd.read_csv(train_x_numeric_rank_csv) test_x_numeric_rank_csv = '../data/test_x_numeric_rank...
[ "noreply@github.com" ]
noreply@github.com
d2f08b23a99d3c829020c94114b056e7b2cbf735
bfc1864e5b4eef5be60fcc5a9a8411bd70a736f9
/1-basics/4-repetition/3-nested-loop/2-nestings/bot.py
8f4158dc22fc3de4f7289413ac96340249d31a4e
[]
no_license
4OKEEB90/COM404
7eadae25e93903010017f824022e4a79fac63e69
07991aa632063caff1bfb966b40777c469cbf092
refs/heads/master
2020-07-31T09:14:46.819021
2019-11-26T12:13:48
2019-11-26T12:13:48
210,556,802
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
print("Enter a sequence of characters consisting of dashes and two markers e.g. \"X----X\".") seq = str(input()) print("Please enter the character for the marker") mk = str(input()) for p in range (0,len(seq),1): if seq[p] == mk: count = 0 else: count += 1 print(str(count))
[ "4okeeb90@solent.ac.uk" ]
4okeeb90@solent.ac.uk
8e663732d537d70560977ecfd86ed7219fba00c6
2cfe0eac67c1d5c42c7daf9a4e05925eb77333dd
/import2firebase.py
c8efd76b3e49bfbd721a0641007b1c9a330a3fdf
[]
no_license
cehali/Yummly28k_refactor
230b5c6c25da299f72d6405074d32232b722a027
3a42ab52b911c4b7dd2481d1a97713861c42dbdb
refs/heads/master
2021-05-03T10:18:57.877494
2018-02-06T22:57:33
2018-02-06T22:57:33
120,532,184
0
0
null
null
null
null
UTF-8
Python
false
false
1,728
py
import json import firebase_admin from firebase_admin import credentials from firebase_admin import db with open('recipes_withDishType_withoutParent_specialIndex_3.json') as json_data: recipes_data = json.load(json_data) cred = credentials.Certificate('reciperecommender-a2348-firebase-adminsdk-y153k-b5e35e8df0.js...
[ "cezary.haliniarz@gmail.com" ]
cezary.haliniarz@gmail.com
ffee585ca59d66cacdd2be00e0741af142fd2230
7523529382034ce0e9e421ca0200bdd5ad48fe05
/bin/date.py
cdcb9dc7592809ac071d9728ae1414053078fe8b
[]
no_license
hiddenman/impexp
4ac2fa35d46e437c902bf54c9854fae76cee5cdd
4787c5cd46d41e9f9b7322e90f65ef23f9abfa1b
refs/heads/master
2021-08-19T13:36:58.016127
2017-11-26T11:57:18
2017-11-26T11:57:18
112,079,004
0
0
null
null
null
null
UTF-8
Python
false
false
7,593
py
# -*- coding: cp1251 -*- # module for parse date and return valid full date # TODO: # + Check if last date in period is greater than first date in period (get_dates->split_period_date?) # + А есть ли поддержка даты без года? import os, sys, string, log,cfg,time,inspect def _log(logf,facility,logstr): """ Internal...
[ "hiddenman@altlinux.org" ]
hiddenman@altlinux.org
7033d29fc587ac28b326d1c53afe7c3621417640
c3a1da84822ec8f72c2e5688bae988ffefab8418
/ranzhi39/cases/ranzhi_test_adduser.py
9e3031ec271168d7649c1ddd31500d1bfedda078
[]
no_license
Amiequan/python-1
61305c93001847de1a623975db47e349030c1209
94290c8b7728ff73a5d3805bd12a8262e56a164e
refs/heads/master
2021-05-11T22:07:09.979464
2018-01-15T02:10:35
2018-01-15T02:10:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,048
py
import csv import unittest from base.ranzhi_driver import RanzhiDriver from pages.ranzhi_adduser_page import RanzhiAdduserPage from pages.ranzhi_login_page import RanzhiLoginPage class RanzhiTestAdduser(unittest.TestCase): def setUp(self): self.driver = RanzhiDriver('Firefox') # self.driver.naviga...
[ "Amierzeng@gmail.com" ]
Amierzeng@gmail.com
7f83718595618051bef42d0100ad2686dc7096e0
65a927535ebf06c24b5e755d6f9da5b627fc7efb
/spytank/net_remote/detecteur.py
e4be9b74ef3268fcacaed50f5add0668e8d980a3
[]
no_license
Nebi-k/Robotique2020
8329f3fd32c4c8368f1cbe59445d48b9102eb459
259f3b9ee543d3599c59080cb3253e6e3e9443b3
refs/heads/master
2022-11-18T01:28:05.121922
2020-07-17T13:29:14
2020-07-17T13:29:14
269,599,431
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
import spytank from threading import Thread import time class distance(Thread): def __init__(self,stop): Thread.__init__(self) self.stop = stop def run(self): while True: dist =spytank.litDistance() if dist[0] < 30: spytank.stop() ...
[ "misternebi@gmail.com" ]
misternebi@gmail.com
900e9bf78634437ba8695f4eaed0509dfd542b60
ff39df8d08d490c07e8908972273a296a916f6c5
/scripts/demo_example_a.py
71a18be58c87e434943b517ee840d6b94a1026f6
[]
no_license
ilinojkovic/catkin_cython_example
e13066e8329534a12f63b458ad56db615a608b1c
6b335f56f2437520831798cce4f631959168a2bc
refs/heads/master
2020-05-23T13:40:00.672197
2019-06-03T10:33:37
2019-06-03T10:33:37
186,782,719
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
#!/usr/bin/env python from catkin_cython_example.example_a_factory import get_a if __name__ == '__main__': a = get_a(10) print a.get()
[ "ilija.stanojkovic@gmail.com" ]
ilija.stanojkovic@gmail.com
99954f138f7e963f722b10e3831566d321aec4b5
fa3f7b26b623c071612462c8fec71c944c6ad10d
/cogs/search.py
feba8647d7ab2bd2f7d60b62650c380b89591629
[ "MIT" ]
permissive
sarzz2/bonafide-bot
fc4810d7ccd08f9e4298b8f4189382f2da3f18ce
c61c738124099144ed4eb173d423567d3465a95e
refs/heads/master
2023-06-17T21:58:22.344984
2021-07-23T15:15:56
2021-07-23T15:15:56
376,736,401
1
0
null
null
null
null
UTF-8
Python
false
false
2,256
py
from discord.ext import commands from googlesearch import search from dotenv import load_dotenv import requests import os load_dotenv() google_api_key = os.getenv("google-api-key") def setup(bot: commands.Bot): bot.add_cog(Search(bot=bot)) class Search(commands.Cog): def __init__(self, bot): self.b...
[ "sarthaksingh2001@gmail.com" ]
sarthaksingh2001@gmail.com
ccfac22a5a38d03aaf49369740523ca537f17435
f3806d9fb54773908cd9704121a543b114470aca
/angr/procedures/definitions/win32_compstui.py
e3654bf84bcd95b3c81d56795784dd736af69b89
[ "BSD-2-Clause" ]
permissive
angr/angr
8ae95fceca51b0a001de56477d984dd01193ac1d
37e8ca1c3308ec601ad1d7c6bc8081ff38a7cffd
refs/heads/master
2023-08-17T03:15:21.007865
2023-08-15T18:44:57
2023-08-15T18:44:57
40,328,394
7,184
1,306
BSD-2-Clause
2023-09-14T20:14:23
2015-08-06T21:46:55
Python
UTF-8
Python
false
false
4,752
py
# pylint:disable=line-too-long import logging from ...sim_type import SimTypeFunction, SimTypeShort, SimTypeInt, SimTypeLong, SimTypeLongLong, SimTypeDouble, SimTypeFloat, SimTypePointer, SimTypeChar, SimStruct, SimTypeFixedSizeArray, SimTypeBottom, SimUnion, SimTypeBool from ...calling...
[ "noreply@github.com" ]
noreply@github.com
50ce3de10406166f74d0afb5eeb7484769d608df
74c5a64741e78e2af8f4f4d5df227ee53251f291
/NewSparkRentModel/features_projects/data_uniformity.py
726c1790b4c3d568b29426979ea00e9b7a211391
[]
no_license
queenmary55/sparkrentmodel
e17b0b3fe903f3eaeed70ec8ec2d74748a3f1c9d
a4233eec5ff6ac8da6b953f6fa708caefa80e036
refs/heads/master
2020-04-01T20:16:20.772885
2018-08-03T16:54:10
2018-08-03T16:54:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,242
py
#!usr/bin/ python #- * - coding:utf-8 - * - """ @author:limeng @file: data_uniformity.py @time: 2018/04/{DAY} """ """ 1、数据一致性处理,理论上每个特征的都要做一致性处理 2、空值填充时有的特征已经做了一致性处理,因此在这里就不需要再处理此类特征 """ from resource.configing import config as cf from math_functions.math import Math from pyspark.sql.functions import udf fr...
[ "limeng@huizhaofang.com" ]
limeng@huizhaofang.com