blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
91
license_type
stringclasses
2 values
repo_name
stringlengths
3
135
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
68
visit_date
timestamp[ns]date
2015-07-25 20:53:29
2023-09-06 10:46:05
revision_date
timestamp[ns]date
1970-01-01 00:00:00
2037-05-03 13:00:00
committer_date
timestamp[ns]date
1970-01-01 00:00:00
2036-02-09 17:40:36
github_id
int64
1.61k
691M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
24 values
gha_event_created_at
timestamp[ns]date
2012-06-03 10:21:33
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-09-13 22:40:33
⌀
gha_language
stringclasses
250 values
src_encoding
stringclasses
27 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
6
10M
extension
stringclasses
289 values
filename
stringlengths
1
218
content
stringlengths
6
10M
34a9ae32a290a5a0e46a3a72293199cafa20ddea
3f97b126852df37c5ed287d11f80edf2ab26bc66
/main.py
3d94311959037f8b225ff2ab5145284845d0f06d
[]
no_license
isaffathir/scraping-python
484aa47512152b731e0bb7f11ee25706111488d1
d89f0f1759c21dd3403c9f6f141822b52bb93d45
refs/heads/master
2023-07-14T21:49:11.944695
2021-09-07T18:20:48
2021-09-07T18:20:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,775
py
main.py
import csv from os import write from typing import Text from googleapiclient.discovery import build import requests import sys import mysql.connector mydba = mysql.connector.connect( host="localhost", user="root", password="", database="mydatabase" ) cursor = mydba.cursor() cursor.execute("DROP TABLE IF EXI...
2c11f9cef4a2fd4f9da8391583f12bd2176c5c66
1bc2a635a93b5bc84606edf9ac2226851cac9e6d
/rolling/server/zone/websocket.py
c1759297362dba0b7e3cda39100f3ef47493c6cb
[ "MIT" ]
permissive
coolkat64/rolling
819149cbb1e11a455b93a030477f9da91e2f93e4
4c3ee2401128e993a52ac9b52cdbd32e17728129
refs/heads/master
2022-11-29T00:35:14.058665
2020-07-31T20:37:15
2020-07-31T20:37:15
285,312,272
0
0
MIT
2020-08-05T14:25:48
2020-08-05T14:25:47
null
UTF-8
Python
false
false
4,681
py
websocket.py
# coding: utf-8 import asyncio from concurrent.futures._base import CancelledError import json import typing import aiohttp from aiohttp import web from aiohttp.web_request import Request from rolling.exception import DisconnectClient from rolling.exception import UnableToProcessEvent from rolling.exception import Un...
960431ba713ce18db76be051bac99b79e9966990
848cc4651b04745707bf951cc3eccbe2abb3d755
/Basics/basics.py
c242a6b1e5a4f1141fd73f10421f9d279cb4f01d
[]
no_license
S-Arivukkarasu/My_Quantum_Programming
c3869a3ac6acfc1b8d016042730d4ca68e9c243c
04e69b88567c99bf66e23d3935575feb9b8e68bb
refs/heads/master
2021-06-13T21:11:04.260786
2021-03-21T13:17:28
2021-03-21T13:17:28
176,337,249
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
basics.py
import qiskit qr = qiskit.QuantumRegister(1) cr = qiskit.ClassicalRegister(1) program = qiskit.QuantumCircuit(qr, cr) program.measure(qr,cr) job = qiskit.execute( program, qiskit.BasicAer.get_backend('qasm_simulator') ) print( job.result().get_counts() ) # qiskit.IBMQ.load_accounts() # backend = qiskit.providers....
20a3992ea1481d2416860f2ce74b77002798117e
53f7c7b51d32199675c6c828cda9d41e40524059
/apps/one_subject_algorithm.py
55b4c3778cfe3ce08f5e6cdc762dc09b1721a88b
[]
no_license
aasislamic/ElectivePriorityManager
d1ab601f22c8d8d977ee933925256bed63fcab79
b527953c4d2257ae306df1ab2e123e00406ca6d9
refs/heads/master
2020-06-04T08:22:22.474766
2019-06-14T13:01:56
2019-06-14T13:01:56
191,943,488
0
0
null
null
null
null
UTF-8
Python
false
false
4,773
py
one_subject_algorithm.py
from apps.student.models import ElectivePriority class OneSubjectAlgorithm(): def __init__(self, students_queryset, semester, subjects=[]): # list of students and subjects. initially they are all notok. # student is ok_student if it gets any subject # subject is ok_subject if it contains ...
dd7dc27ed7b4a6b6a7cd53a44df1890844b0a3c7
45fac2a6040d4f3c71004ec8692257d605fbc443
/02_oop/03_inheritance/05_hierarchical_inheritance.py
a7c5cf17d863ede65cc6923a30bb94ec12871d74
[ "MIT" ]
permissive
doanthanhnhan/learningPY
4b77078b3388d033378641ade920e02767aaf005
93c10c5225a306c791402095e1cf0b454f31d0c2
refs/heads/master
2023-04-10T08:07:57.339725
2021-04-22T08:35:42
2021-04-22T08:35:42
354,438,781
1
0
MIT
2021-04-22T08:35:43
2021-04-04T02:28:43
Python
UTF-8
Python
false
false
528
py
05_hierarchical_inheritance.py
class Vehicle: # parent class def setTopSpeed(self, speed): # defining the set self.topSpeed = speed print("Top speed is set to", self.topSpeed) class Car(Vehicle): # child class of Vehicle pass class Truck(Vehicle): # child class of Car pass corolla = Car() # creating an object o...
c0d8637b34b9eedbef5f064826c6d23f2b27e001
069cf7d12c23cd15214a43413b61de6624ce3dad
/project/tasks/models.py
6ee808d4497d7e308f221e7937c715a4e812a46d
[]
no_license
simmol/todo_api_service
044f225e7426fb6b920cccc85517d1ab2066e7a6
9a9a964b5fc375869c1f73112352604e5e932db8
refs/heads/master
2020-07-28T06:40:26.543292
2019-09-18T15:21:43
2019-09-18T15:21:43
209,340,773
0
0
null
null
null
null
UTF-8
Python
false
false
1,484
py
models.py
from collections import OrderedDict from flask import session from project.tasks.exceptions import TaskNotFound from project.tasks.storage import Storage class TaskDTO(OrderedDict): pass class Task(object): storage = Storage() @classmethod def create_task(cls, label, parent_task_uid=None): ...
72875320e09016efa9e959fecc4803e2dabdf73e
c0cd6013a19b0e886d487ec3f7d804c54983382f
/jsk_data/node_scripts/camera_coords_change_trigger.py
2b5ce74748e09bc9cb055db1708602f00dfeea0c
[]
no_license
jsk-ros-pkg/jsk_common
84ad8cd40d54e0c8b8583b4d77769b60175ac347
feee1a5a4330bbdf23b98b131f8b5080724237ce
refs/heads/master
2023-06-11T05:12:59.045863
2023-05-28T05:21:18
2023-05-28T05:21:18
17,374,588
47
70
null
2023-08-31T06:02:13
2014-03-03T17:58:29
Python
UTF-8
Python
false
false
4,512
py
camera_coords_change_trigger.py
#!/usr/bin/env python from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np from termcolor import colored from geometry_msgs.msg import PoseStamped import rospy from std_srvs.srv import Trigger import tf def compute_pose_delta(pose1, pose2):...
27071b6b9cbb57e6676ad38e5cb5903e83e01ac1
4da718124f8d581a66f8b5b657101aa9ef9b94a2
/investing/migrations/0002_remove_stock_last_price.py
e362071eb6362cd37b1c7c41581ed3bc7254fb42
[]
no_license
GasperVrhovnik/FactorInvesting
3e7728f854a7832c4e94089f0cedab0007de4474
03f9d11e02caebf6dfb13db9207d423c2b66e8f4
refs/heads/master
2021-03-11T22:32:35.340073
2020-03-12T22:32:24
2020-03-12T22:32:24
246,566,023
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
0002_remove_stock_last_price.py
# Generated by Django 3.0 on 2020-01-20 13:52 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('investing', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='stock', name='last_price', ), ]
ff2198e2343a006eb368014fecbe715ae16357d0
50556a22dc28d496254364cf76f5384ef1828600
/src/data/common/dataset.py
b1a22ecc55d7e9565da867041a739763ed87e2f5
[ "MIT" ]
permissive
youngerous/FontStyler
22efda2131ba168167c6858cb733070bb0ec8c45
990cf627d902fb107669c43292dc88eee5dd2fca
refs/heads/master
2020-09-02T23:59:23.941675
2020-02-11T07:55:13
2020-02-11T07:55:13
219,334,711
3
0
null
2019-11-03T16:59:03
2019-11-03T16:59:03
null
UTF-8
Python
false
false
10,283
py
dataset.py
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function import glob import io import os import os.path import pickle as pickle import random import numpy as np import pandas as pd import torch import torch.utils.data import torchvision.transforms as transforms from PIL import Image from torchv...
24059e4d3d647e098db4bea19d470770fb04d8a5
769ffe986e2212cfc40ff9f44ee5fae98ea2e15b
/resnet_ex.py
1aee16a729e345038d2c3b7999de4bdad5b2a4db
[]
no_license
nerokillooo/Classic-Networks-of-Semantic-Segmentation
6ddba48f109a6a7b78fa30e43a85bbb1cd3f72a3
69d2a7a2a2f513ca72777fcd5ecd79d9ed58329b
refs/heads/master
2022-11-30T00:41:44.422031
2020-07-16T01:34:46
2020-07-16T01:34:46
255,279,584
2
0
null
null
null
null
UTF-8
Python
false
false
8,706
py
resnet_ex.py
import torch import torch.nn as nn from torch.hub import load_state_dict_from_url model_urls = { 'resnet18': 'https://download.pytorch.org/models/resnet18-5c106cde.pth', 'resnet34': 'https://download.pytorch.org/models/resnet34-333f7ec4.pth', 'resnet50': 'https://download.pytorch.org/models/resnet50...
4fb41bcd66f7fa45d6d4458157852c0511f1be3e
a3b805b05207ec2b31d5cebc9d6ae59b638856f9
/serapis/storage/io_utils.py
1971dd5daca6c6f5e054c33d405de79fd0b7f7dd
[]
no_license
wtsi-hgi/serapis-web
b342509c4d772a7e46c0c562808953744897bc62
8b87a11463ce60757bb371479e654a9fd54a0323
refs/heads/master
2021-01-21T05:00:05.418130
2014-11-20T10:03:52
2014-11-20T10:03:52
7,771,605
1
0
null
null
null
null
UTF-8
Python
false
false
46
py
io_utils.py
''' Created on Oct 31, 2014 @author: ic4 '''
3e1e4a04634203be35ad6fd9b1e690f57dcadd48
2fa513f8a21e511c333fc9d5baf89f9aae2be672
/gen_sgq.py
8cd4a56144bf5edfb07ecaf8ff07370e23ba0bb0
[]
no_license
Helen-digger/igmp
296c1a2b5befbfae92022b0809c2f33162384484
3955536df0b74185fa1a288c5a1a5d25de1a08d2
refs/heads/master
2021-01-20T23:51:08.574665
2017-09-19T06:12:57
2017-09-19T06:12:57
101,853,503
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
gen_sgq.py
#! /usr/bin/env python import logging logging.getLogger("scapy").setLevel(1) from scapy.all import * import sys iface = sys.argv[1] class IGMP(Packet): name = "IGMP" fields_desc = [ ByteField("type", 0x11), ByteField("mrtime",100), XShortField("chksum", None), ...
ca64f88891ecebfe8191b4d0d37d0068b75a26d1
c6197706a9093e5e61203d102e3659d972454fd8
/asr-spider/music_update/music_update/spiders/kuwo.py
c3dbddc7575f32032f52a0b94acaee7f3e024a66
[]
no_license
hujinzhongcs/spider
6ef712f4a877a9d3869b3bc5a78473a1803d25c0
c6dcfb9d44315b49367f0a9264038dc989a12ccc
refs/heads/main
2023-06-18T13:24:24.379072
2021-07-14T03:50:56
2021-07-14T03:50:56
385,803,797
0
0
null
null
null
null
UTF-8
Python
false
false
3,650
py
kuwo.py
import scrapy from selenium import webdriver from music_update.items import MusicUpdateItem import datetime from pymongo import MongoClient from urllib import parse import requests import json import math class KuwoSpider(scrapy.Spider): name = 'kuwo' # allowed_domains = ['www.kuwo.cn'] start_urls = ['htt...
845dfdac3e976ca903a3cd6ed45ad340282b516e
a2d7182b6c51b81c767106d9a546e912df0523ea
/Fxmovie/models.py
206cb9237cc74e092c20e39803db6412806f7b01
[]
no_license
ravichoudhary18/Django_Movie
df24fcd5728c6eb7351949543cf38b28a609bb78
727fe4892c677e5d9d1b6352de075eaca3604f4e
refs/heads/master
2022-11-24T22:39:48.567438
2020-07-29T07:37:28
2020-07-29T07:37:28
275,610,134
0
0
null
null
null
null
UTF-8
Python
false
false
2,130
py
models.py
from django.db import models from django.utils.text import slugify # Create your models here. CATEGORY_CHOICES = [ ('action','Action'), ('drama','DRAMA'), ('comedy','COMEDY'), ('romance','ROMANCE'), ] LANGUAGE_CHOICES = [ ('english',"ENGLISH"), ('hindi',"HINDI"), ] STATUS_CHOICES = [ ('RA...
7894a3b4263be29e8bc60e4b21430b8e13adcd26
2651e67cdbd9f9f51c0b3060bbaf781ac6300f20
/jsonfile.py
6dca9ba2df29b79bb9662c07d26613a57698075c
[ "MIT" ]
permissive
ManishDhankani/NLP_Project
72c5edb03109c2084dec6516b146864ef957267e
1128e99343c451187570480e2f7221d60d2bcfa7
refs/heads/master
2022-12-13T23:41:31.758581
2020-09-07T23:05:00
2020-09-07T23:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,129
py
jsonfile.py
import argparse import codecs import sys import json reader = codecs.getreader('utf8') writer = codecs.getwriter('utf8') def write_file(fname, data): with open(fname, 'w', encoding='utf-8') as outfile: return json.dump(data, reader(outfile), ensure_ascii=False, indent=2) def read_file(fname): f = o...
5cf480350eb8db6d8b446e260ccb07347545f864
f72e294ff13cf86503dc5f93a0a24b3849d83bc4
/Asteroids.py
fc4c231117b26c7d80d68fd80c084fe9e850a8b2
[]
no_license
Big-Wisdom1996/Asteroids
2e85272eaa8e27bb3481e5932b0fe72ed0467064
a460107cb5be51e53ab2ab1f4fd6a40b12187828
refs/heads/master
2020-03-19T17:48:30.968923
2018-07-09T02:35:41
2018-07-09T02:35:41
136,767,218
0
0
null
null
null
null
UTF-8
Python
false
false
6,171
py
Asteroids.py
import pygame , sys, numpy, random from math import * from pygame.locals import * pygame.init() windowWidth = 800 windowHeight = 800 displaySurf = pygame.display.set_mode((windowWidth,windowHeight)) pygame.display.set_caption('Asteroids') fpsClock = pygame.time.Clock() pygame.font.init() FPS = 5 # set frame rate to 5 ...
5673cd9b5ca1926700657cef80393a408f4e2af0
8d34741a90a21ff685080d58abdfcb1f01d173a9
/tkinter101/2_grid.py
b882940ece21bca6d00d552a270d0600ce3a355d
[]
no_license
ansh8tu/GUI-using-Tkinter
1fa4f9eeee236609e2421eed6e2dc10312ae42cf
44a75d20ed00ac38aab120c4e7297e8264cfb138
refs/heads/master
2023-03-05T11:45:56.129790
2021-02-17T04:07:44
2021-02-17T04:07:44
336,875,393
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
2_grid.py
from tkinter import * #main root = Tk() #creating a label myLabelWithGrid = Label(root, text="Hello, let\'s go anywhere") myName = Label(root, text = "Umm, let's stay at home only it\'s covid! ") #so what the grid does is that it fixes the position of the label at the given (row,column) co-ordinate myLabelWithGrid....
841601cddae512f15a08f1502544b1ef7da1d278
d7f3a7c93c7a1ede5ab2b4d10c7fc4d070fc49e8
/autostew_web_enums/apps.py
e61cef0c5912627b68ddd73e1689e6dbdba3e5a1
[]
no_license
hophans/HamsterStew
469cabe72440915bf0a8bbb3dbaa60206c8a7c9e
cd35d8c128eb9746f75397afa77300cd7e5d6e65
refs/heads/master
2020-02-26T15:20:53.235179
2016-07-18T12:18:59
2016-07-18T12:18:59
63,596,453
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
apps.py
from django.apps import AppConfig class AutostewWebEnumsConfig(AppConfig): name = 'autostew_web_enums'
917199b304947a126f7f3af2296fd0fd1f34cf03
c24da038c8b72d890276234859f059c6d3be977c
/AdEx_test.py
c074eae9f081a23b5591fa463d515fdd6c254cfa
[]
no_license
OlegFS/N_balance
380316ac8761d691503c1117ca1a9eaa4532dbe8
273cd986085f1be54ebaa9b6d4fb3c46cb0928d8
refs/heads/master
2020-03-19T12:10:02.742291
2019-04-20T19:05:03
2019-04-20T19:05:03
136,500,437
0
0
null
null
null
null
UTF-8
Python
false
false
2,674
py
AdEx_test.py
from func.AdEx_meta import * from func.helpers import * import sys J =[1.4]#,700.,700.,700.,700.,500.,510.,510.,450.]#400.,450.,450.,450.,600.]#[3822.]#[392.,427.,540.,854.,1709.,3822.]#[ 450., 450., 450.,450.]#[400.,450.,450.,450.,600.]#[400.,400.,400.,400.,400.] g =5.#np.float(sys.argv[1])#4.0#(NE/NI) eta =0.5#np.fl...
7ba6de37d636a4451167e82baded3a17aae39c17
0d07970f412a67e06bdec46324772e9824e411c8
/app.py
da20e974a8b516602f9df54bfcaa89ee907c61f8
[]
no_license
wuaiwuai/contacts-app
9504b3ff31a9e951d425565363b295013bb1dd0c
477049bdcf5fc41ef4835283886dcb9840916a6e
refs/heads/master
2016-09-05T22:59:01.131689
2014-12-13T21:32:13
2014-12-13T21:32:13
25,051,986
0
0
null
2014-12-13T21:32:13
2014-10-10T20:30:38
JavaScript
UTF-8
Python
false
false
6,915
py
app.py
import os import sys import pymongo import bson from flask import Flask, request, session, g, redirect, url_for, \ abort, render_template, flash, jsonify SECRET_KEY = 'development_key' app = Flask(__name__) app.config.from_object(__name__) # routes concerned with login/logout namespaced to '/auth' @app.route('/a...
8691839684ef52ea3141b5a5e015cef3b36423a3
090a7fd471b7ccf5130ffe5c7b1e31300ea9e0e9
/q3test.py
f7a39e3b84002281edd064f0e09ca02943a0c4b8
[ "MIT" ]
permissive
yashkundalia/information-system
1a7859d42c134fc1e32556f3535ca531d9af815f
7c0d5d2338a4167c0849551c772df992b1af1247
refs/heads/master
2020-12-26T21:32:47.878837
2020-02-01T18:18:41
2020-02-01T18:18:41
237,651,844
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
q3test.py
from q3 import square,sphere,cube sq = square(2) per1 = sq.peri() area1 = sq.area() print("perimeter of square = " ,per1) print("area of square = " ,area1) sp = sphere(3) vol2 = sp.vol() area2 = sp.area() print("volume of sphere = " ,vol2) print("area of sphere = " ,area2) cu = cube(4) per3 = cu.peri(...
455a086a055395aba5d38fafe01f9df8c6e76030
2e35dafa66a053998f753cc0f47d4c584633d2e8
/cogs/admin.py
bd207e23ada2da47f01e36a0b76be2e38262f69b
[ "MIT" ]
permissive
SaidBySolo/KMDL-Discord-Bot
4bb204a67ac2e4fe78f36d7e743ac4a0bca3afd5
eb7089def81614046492503246d3f1ff336fb2c0
refs/heads/master
2022-07-03T07:20:24.201819
2020-05-14T03:04:33
2020-05-14T03:04:33
259,513,057
1
0
MIT
2020-04-30T03:43:19
2020-04-28T02:44:26
Python
UTF-8
Python
false
false
8,474
py
admin.py
import discord import asyncio from discord.ext import commands import datetime n = datetime.datetime.now() now = f'{n.year}. {n.month}. {n.day}.' class Admin(commands.Cog): def __init__(self, bot): self.bot = bot @commands.has_permissions(administrator=True) @commands.command(name='뮤트') asyn...
71de55e3666336ea004b48d58181860d017f06af
0ffd2dae43716fd57e63a6071f678b7cdc1cbd37
/wh/05/10817.py
e8ae318b53d3042b6a3c022170027f2e61cfe2f4
[]
no_license
wonnerky/codemaster
c849caad39a58a6c3339b1c5a733c69ba1149163
aac45943e966f74c2b70e00b9e32004a1c6f4d39
refs/heads/master
2021-05-24T12:05:03.626980
2020-05-13T01:43:43
2020-05-13T01:43:43
253,551,355
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
10817.py
import sys a = list(map(int, sys.stdin.readline().split())) a.sort() print(a[-2])
78327d92076e209a9f43aec2e2d16b52ffcf5ebb
9c8729ed9ec0d67227efa42406667141afd5f805
/tech/ai_algo/ml/supervised/logistic_regression.py
371a77031166d053a3d5cb9098b26aae4d2a84f1
[]
no_license
lianxiaolei/Ginormica
6579eb61dfe66c5994f465bfdad9c37fc356a9ab
f56dfcc31b3c6f5e56a586f58b5e9d9c96f049c2
refs/heads/master
2020-03-19T09:57:18.551152
2019-01-23T11:05:07
2019-01-23T11:05:07
98,890,680
1
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
logistic_regression.py
#!/usr/bin/python # -*- coding: utf-8 -*- import numpy as np import random as rd def sigmoid(in_x): return 1.0 / (1 + np.exp(-in_x)) def gradient_asscent(x, y, alpha=0.001, cycles=400): data_matrix = np.mat(x) label_matrix = np.mat(y) m, n = np.shape(data_matrix) weight_matrix = np.random.rando...
a92bbbe8f6e0a65d2190e01b551da35f94416f52
01edd21a7e7b49b1d92a20b5720a036111adf2ab
/tests/dns_check.py
7dc223b1df74bca70e72de4895f09dcc3753d16b
[]
no_license
zq-david-wang/k8sclient
3e83214ea0432053779cbe244999be33f8514330
ceac795dd1c968af6d199e88a8ea45af020754f5
refs/heads/master
2021-01-21T10:15:53.211251
2018-06-11T11:47:03
2018-06-11T11:47:03
101,976,698
1
1
null
null
null
null
UTF-8
Python
false
false
3,902
py
dns_check.py
from k8sclient.keywords import ( list_ready_nodes, wait_for_pod_state, SUCCEEDED, tail_pod_logs, delete_pod, NOT_FOUND, remove_pod ) from k8sclient.Components import ( PodBuilder, ) import argparse import time parser = argparse.ArgumentParser() parser.add_argument("--queryserver", type...
2d2d56a08caa6bc7c439fba019b61cb0a4098e5a
812d13b22013260125775fc79a65ceeaeb0c5eda
/tests/test_misc.py
bb588fd60ad75253fd0c22adff2a5f6008451641
[ "BSD-3-Clause", "MIT" ]
permissive
msarahan/conda
a603aa3bc0958e9705d75cfa7be36b4364cbc276
624127e1d3815eea023c5989eb254a74b0eed238
refs/heads/master
2020-12-25T23:26:14.289485
2020-01-10T19:34:24
2020-01-10T19:34:24
44,129,453
1
4
NOASSERTION
2019-07-17T01:39:22
2015-10-12T19:30:45
Python
UTF-8
Python
false
false
3,395
py
test_misc.py
# encoding: utf-8 import codecs import sys import unittest from conda.core.subdir_data import cache_fn_url from conda.misc import url_pat, walk_prefix from conda.utils import Utf8NamedTemporaryFile class TestMisc(unittest.TestCase): def test_Utf8NamedTemporaryFile(self): test_string = 'ōγђ家固한áêñßôç' ...
9cb49fd19b2792cf88bbfb7778da0fb13786b4b6
8b741f600dab7c2d325e9df8670a4b2dd28f9b4e
/cibillaSNR/moduloCibilla.py
a0e0aceca74b2d9e2bee89eef6dcac63556d6ead
[]
no_license
ValdemirBSJr/python
bcffa34f68f57a5d348bdf2c748bb9137838377c
53313e73caa0b05421a9095da40c7f2e15fe3ec7
refs/heads/master
2021-07-12T00:18:06.653516
2020-11-11T16:48:16
2020-11-11T16:48:16
218,360,063
0
0
null
null
null
null
UTF-8
Python
false
false
41,127
py
moduloCibilla.py
#!/home/user/.virtualenvs/k36/bin/python # -*- coding: utf-8 -*- # Author: Valdemir Bezerra #imports import re import subprocess import csv import requests import bs4 from requests.auth import HTTPBasicAuth from emoji import emojize from ldap3 import Server, Connection, ALL, ALL_ATTRIBUTES, core def return_CMTS_name...
5a2266e1b97af64bb94b2c53e120af86a2efe2fc
3591d71bb527a2e874302be6025882a7a9f61be7
/main.py
cca76e2cfb34da7d56daa898824227ca59cb36e3
[]
no_license
Jluct/python-tkinter
57c60ec932c632504c31ea6050ee958362b5ce75
e824ccaad5eb7e8b49ab5ba033a107e7f37071b2
refs/heads/master
2020-04-19T09:36:47.918954
2016-09-05T18:03:40
2016-09-05T18:03:40
67,440,999
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
main.py
from tkinter import * root = Tk() root.title("Мессаджер") root.minsize(800, 500) root.maxsize(800, 500) user_name = Label(root, text="Иванов Иван Иванович", fg="red", justify='center', font="Arial 20", # width=50, ...
c46addba3873febc09b246b716cb7153e4b648dd
528227a86dc7ef417c53337b11a20ec729ab1866
/main/models.py
0f2606ffa0bd4b98553d6eb1a6e37fd2a028ebca
[]
no_license
justben/mysite_
ac931405025878c7f3e797f956133ab54175d922
48c73eb6fbbda06ff2129e0cad36adc3f458fa2b
refs/heads/master
2021-05-03T11:59:26.341146
2018-02-07T16:37:50
2018-02-07T16:37:50
120,492,749
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
models.py
from django.db import models # Create your models here. class Number(models.Model): #numid = models.IntegerField() user = models.CharField(max_length=10) file = models.CharField(max_length=50) time = models.CharField(max_length=14) class Dmline(models.Model): dmlines = models.CharField(max_length=10) #dmid = m...
e92a1d7a295088f190a5d8689705b92a640d1204
d49cfe38764aa35992ba5cf65655a6a45d9487c8
/基本计算器.py
c8436f24e59c447e6a3223160713da1085db74bf
[]
no_license
getabear/leetcode
fc0797f664ab4052aa2635341f4bbe40b74ec2b8
4af6608166f2e4cdfcfb0bbb92133b4a0f90ea34
refs/heads/master
2021-07-15T11:05:23.049235
2020-11-15T12:57:14
2020-11-15T12:57:14
224,601,175
0
0
null
null
null
null
UTF-8
Python
false
false
2,145
py
基本计算器.py
class Solution1: def calculate(self, s: str) -> int: # 提交后通过了,但是代码冗余,看起来很难受 def fun(s): index=0 stack=[] sign=1 tmp=0 while index<len(s): if s[index]=='+': stack.append(tmp*sign) sign=...
60aa14c1566ffa4a54e58a3a9047c8d5de566f68
2de5d446acc86ae44d6e391ce9712dda7f91c094
/app/utils/security.py
51ef1a9e523de834490ad5714344926e26146701
[]
no_license
vercel-support/god-horse-app
d2ace84d7903a509702268225099aa31181cc958
8dddbd1d6660a3fd51bcbef1e482c6a95f91347a
refs/heads/main
2023-03-11T19:48:24.393607
2021-02-28T13:07:28
2021-02-28T13:07:28
346,542,316
0
0
null
2021-03-11T01:30:46
2021-03-11T01:30:45
null
UTF-8
Python
false
false
538
py
security.py
from fastapi import Depends, HTTPException, Security from fastapi.security.api_key import APIKeyHeader from starlette.status import HTTP_403_FORBIDDEN from ..config import Settings, get_settings API_KEY_HEADER = APIKeyHeader(name='x-api-key') def api_key_checker( api_key: str = Security(API_KEY_HEADER), setting...
335c716eedfe936932c9dc0fbb5c387fd0ca5ef9
a2c7a69617d1c97a0dcdd102c220821add3730df
/conftest.py
68549a2d5d3c0e08de8c9ad639a3d10cb0f31b4e
[ "Apache-2.0" ]
permissive
sashkalysenko/Selenium_Again
06ebca3871cb7eebeaf6d40a15fee98e7396bd3a
8852400e375c34685ea8215f17c3f99848d7a3e6
refs/heads/master
2021-01-19T09:11:07.419122
2017-10-20T22:31:32
2017-10-20T22:31:32
87,738,106
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
conftest.py
import pytest from fixture.adminka.app_adminka import AdminApplication from fixture.app import Application @pytest.fixture def app_adm(request): wd = AdminApplication() print(wd.wd.capabilities) wd.open_login_page() wd.login_as(username="admin", password="admin") request.addfinalizer(wd.destroy) ...
72a998b480901cff19b6bb51c8cfd21c45e3db96
07fb8dfe60bb4088d135dae916f60c684b60abd2
/cscourses/__init__.py
9bf43dd7fa7016ab2398149c5d3e71edba48f7dd
[]
no_license
nicholsons/comp0034_js
a6202bba6202c21df2a05d5bcb764ce97351444a
8d97707b36fd4e2489fc58e4093423300c1707de
refs/heads/master
2021-03-14T21:25:11.161538
2020-03-10T13:18:43
2020-03-10T13:18:43
246,795,543
1
0
null
2020-03-12T09:35:36
2020-03-12T09:35:35
null
UTF-8
Python
false
false
5,675
py
__init__.py
from flask import Flask, render_template from flask_login import LoginManager from flask_sqlalchemy import SQLAlchemy from config import DevConfig db = SQLAlchemy() login_manager = LoginManager() def page_not_found(e): return render_template('404.html'), 404 def internal_server_error(e): return render_tem...
fbcefe1d78c150243c26694c95e9bdab2eb1d211
72d29157f0c693daa20037732f7d373ed4efb050
/feature-engineering/src/sparkUtils.py
005f46903b39e0e20a4ee3e96e47aaa54b8c1ff6
[]
no_license
ethanchiu7/atlas
8ad08fe514a3b07987e9d55b2f256447f88d2beb
7565becb42e3c3b066113fcb4e2db93bf64b9f51
refs/heads/master
2022-02-15T20:04:58.116759
2019-09-03T04:04:28
2019-09-03T04:04:28
139,117,389
1
0
null
null
null
null
UTF-8
Python
false
false
4,425
py
sparkUtils.py
import os from pyspark import SparkConf, SparkContext, StorageLevel # def load_data_to_rdd(sc: SparkContext, data_path: str, seq='\t'): # rdd = sc.textFile(data_path) \ # .map(lambda x: x.split(seq, 1)) \ # .filter(lambda x: x and len(x) == 2 and x[0] and x[0] != "") \ # .persist(StorageLe...
1e6d503068b33ff7ea8c55fababd6323776d320f
9bc6c9a66982cb4379a280d72fd9242810edccdb
/shop/models.py
88b9ea59ede6e8b9974204a71524ba672ce6db5d
[]
no_license
Heulwen31/django_web_app
359be777b00c8d3ec228e60780168364d5980e60
30c6aad49aa487ee34e0116638d696da10e45640
refs/heads/master
2023-04-16T20:41:40.534536
2021-05-09T10:07:47
2021-05-09T10:07:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
788
py
models.py
from django.db import models from django.contrib.auth.models import User from django.utils import timezone # Create your models here. class Product(models.Model): name = models.CharField(max_length=100) cost = models.IntegerField() image1 = models.ImageField(null=True, blank=True, upload_to="images/") ...
e0b01a1fe4f30ba2970505dd2d866971fcdaeb69
d4744b03a717c082025d3ed0db0c09b79835cd4e
/gen/AntlrParser.py
85acdf6a4481c2cbc54f96b02dc5ea452944a22f
[]
no_license
CloudPai/ScratchAnalysis
27f46b73eccedf122b6c3de235f803fc6284101a
43f71b6923ccfe29a877a01a4f2fa1f2ce55ab98
refs/heads/master
2021-05-10T16:35:46.143502
2017-07-25T08:11:22
2017-07-25T08:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
53,804
py
AntlrParser.py
# Generated from E:/new/antlrg/ScratchAnalysis\Antlr.g4 by ANTLR 4.7 # encoding: utf-8 from __future__ import print_function from antlr4 import * from io import StringIO import sys def serializedATN(): with StringIO() as buf: buf.write(u"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3") buf.wr...
e1ca45310a029eaaf09bce2fa2866c21897c52d3
ba1fd02295d593334c2a001f508efe50c7c7c876
/algorithms/sampling_based/utils/state_samplers.py
16e048673bcfbe50bcd9e3dfc142765b10ab8114
[ "MIT" ]
permissive
yuhangc/planning_algorithms
7750f6e5206307f57eaa498b592fb326194f2194
6918acc22ace74a7ab2e89d37d330eeccdee9244
refs/heads/master
2021-08-10T20:21:05.850937
2017-11-12T23:30:41
2017-11-12T23:30:41
107,081,092
0
0
null
null
null
null
UTF-8
Python
false
false
1,756
py
state_samplers.py
import numpy as np class StateSamplerBase(object): """ State sampler base, with optional goal biasing """ def __init__(self, goal_bias=None): """ :param goal_bias: goal biasing probability. None means no goal biasing. """ self.goal_bias = goal_bias self.goal_sta...
9ac1069234ad8584e958af39bf50de8f7f633c1d
7971340b3739d324d16bcb3ec6eda0fc351691da
/src/mbtest/imposters/base.py
e01bf21a9a15f6e94867973f3aaf5400d26e24c7
[ "MIT" ]
permissive
Https-hatboy-com/mbtest
6c08e3494d63a46b0f3d54063f4b6dc43d658f78
37385acbaae7c4805b6653f8fdba2b9e5f4052af
refs/heads/master
2020-09-22T06:56:10.921511
2019-11-22T10:16:33
2019-11-22T10:16:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
base.py
# encoding=utf-8 from abc import ABCMeta, abstractmethod from typing import Any, Mapping, MutableMapping # JsonStructure = Union[MutableMapping[str, "Structure"], Iterable["Structure"], str, int, bool] JsonStructure = Any # Pending a better solution to https://github.com/python/typing/issues/182 class JsonSerializa...
8527b080544a9bd37fc947ac62ef1899c02d3caa
0fcddcbebf148b72c139d070f690b6e477722b41
/default_paramater.py
b83f1fb42daacb5d3b5203bbc2812c6c6ade4f62
[]
no_license
annandltp/belajar-python
06e6f7c7e121bf9bf524641ac39cab73118f386c
6733f4f52cb5f53d354e080786e033cbfbe15e73
refs/heads/main
2023-08-14T19:10:40.252025
2021-09-17T22:09:14
2021-09-17T22:09:14
407,691,146
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
default_paramater.py
def say_hello(first="anna", last="dela"): print(f"hello {first} - {last}") say_hello("eko") say_hello(last="anan")
e36c2b6a7f4c4621f12b5073bad2dbc564db14ec
8375e0c39a068eb68aa488bb0c75b1898b46d257
/mofan/301_regression_FC_GPU.py
00e3231ac4e4a50bcac08b6626de82917d889194
[]
no_license
PandoraLS/pytorch
8483e079aec9a667fb618bb1ed5b2d6da85ec976
8404ed347098ac0aab9b643077286f8edc03ae28
refs/heads/master
2020-04-23T01:53:23.364584
2019-11-08T07:23:56
2019-11-08T07:23:56
170,827,676
0
0
null
null
null
null
UTF-8
Python
false
false
2,416
py
301_regression_FC_GPU.py
# -*- coding: utf-8 -*- """ View more, visit my tutorial page: https://morvanzhou.github.io/tutorials/ My Youtube Channel: https://www.youtube.com/user/MorvanZhou Dependencies: torch: 0.4 matplotlib """ import torch import torch.nn.functional as F import matplotlib.pyplot as plt from torch import nn torch.manual_seed...
2020eae1cf249f1bce3b124b953f6d496efdc913
6d6094c80c8f1d115d99dc7ab52de4f8254b876a
/Course/Python/part2_python/two.py
d016a8be415bdb20542b29696ee4381a1be439b3
[]
no_license
abhishekshinde2104/Django_Bootcamp
c042e91fb73c3853bc61cb9ffb2a9c94ee4b0bb0
2909e3506f7a04ff44d4ed4f4e984cd7b95d0c96
refs/heads/master
2022-12-13T13:35:43.118684
2020-08-31T08:09:20
2020-08-31T08:09:20
291,647,696
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
two.py
import one print("Top level two.py") one.func() if __name__ == '__main__': print("Two.py being run directly") else: print("two.py is run directly") #whenever the twp.py is run #__name__ is set to __main__ and the corresponding if is true
d260825bd1bb123bbc924cdfce1612fd1f808e00
7299ea5070a61302bad7b2bf367e23d2b3aca6d9
/source/home/migrations/0024_auto_20150807_1128.py
00e6f9dd2982989765f647c81f5e34957df05e58
[]
no_license
taedori81/tyndale
760603e296acf8b1989394b013e47c45e1d59700
1b6c66fe3b70d7a2da0a428eaf14b180b8768ee9
refs/heads/master
2021-01-10T21:52:36.944096
2015-08-10T22:27:35
2015-08-10T22:27:35
35,113,244
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
0024_auto_20150807_1128.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('wagtailimages', '0006_add_verbose_names'), ('home', '0023_auto_20150807_1055'), ] operation...
96343fe890f0864221d4c7286a917b838b5e1299
bf35560d46b86b8ee87d4a528078fa8a507531ab
/Tree.py
3dafe0863bb47ddb40647234da62084925584b37
[]
no_license
navneetraju/AutoBleak
37cc0ad00c47e2b91e2ed53dade2e210d3189883
54370cd975f1758ffef28849a41ca869b3d07511
refs/heads/master
2022-11-12T17:37:51.365916
2020-06-21T06:22:28
2020-06-21T06:22:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,625
py
Tree.py
import json import copy start="/hotel/admin/roomreservation.php" loop_size = 4 with open('guess.json') as json_file: data = json.load(json_file) """ graph = {} for item in data: s={} total = item["exits"] for next in item["nextPages"]: total += next["pageviews"] for next ...
415f079398d17bb39ff2ca7e2a08e75a853063e7
37417e097c86fe1b47ead8881b7fd7f5be47c59d
/Deep-LSTM-RNN.py
59446853eb4c444a2adc19edb7e7200267e1c77a
[]
no_license
George091/RNN
29a030fcb9d010d6e2d2c1769a65669be1dd8cd7
99d2a87b10dee64d2bb3d319b3ef1aea18d66d54
refs/heads/master
2020-09-04T17:18:47.277746
2019-12-30T02:14:24
2019-12-30T02:14:24
219,828,258
0
0
null
null
null
null
UTF-8
Python
false
false
1,521
py
Deep-LSTM-RNN.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Nov 21 20:03:08 2019 @author: georgebarker andrezeromski """ from keras.datasets import imdb from keras.preprocessing import sequence from keras.models import Sequential from keras.layers.embeddings import Embedding from keras.layers import Dense, Bidi...
ad76230179ff6e9facf7120ceef5590b8e57c5a3
b9f22ed262698a2a1ac4f68a029992045d4a6b24
/students/admin.py
1a6db966424d07d463a51df79d57449a0955db74
[]
no_license
wechulimaven/Lwandeti-High-School
799739ea2abb4b7dd41216af1ae6b48a39e49e9d
0e137a0a07857934af90145115f2f61fd0b5ad61
refs/heads/main
2023-03-21T08:42:18.025214
2021-03-16T17:14:15
2021-03-16T17:14:15
348,300,375
1
0
null
null
null
null
UTF-8
Python
false
false
181
py
admin.py
from django.contrib import admin from.models import Student, Hostels, StudentBoarding admin.site.register(Student) admin.site.register(Hostels) admin.site.register(StudentBoarding)
37b99e7fae0127f2f3e8fbc7303733da1c79b8dd
1825283527f5a479204708feeaf55f4ab6d1290b
/leetcode/python/1139/1139.largest-1-bordered-square.py
0ab52c914b6ba0c5e353fd611029ddc72854174b
[]
no_license
frankieliu/problems
b82c61d3328ffcc1da2cbc95712563355f5d44b5
911c6622448a4be041834bcab25051dd0f9209b2
refs/heads/master
2023-01-06T14:41:58.044871
2019-11-24T03:47:22
2019-11-24T03:47:22
115,065,956
1
0
null
2023-01-04T07:25:52
2017-12-22T02:06:57
HTML
UTF-8
Python
false
false
872
py
1139.largest-1-bordered-square.py
# # @lc app=leetcode id=1139 lang=python # # [1139] Largest 1-Bordered Square # # https://leetcode.com/problems/largest-1-bordered-square/description/ # # algorithms # Medium (42.11%) # Total Accepted: 3.3K # Total Submissions: 7.9K # Testcase Example: '[[1,1,1],[1,0,1],[1,1,1]]' # # Given a 2D grid of 0s and 1s, r...
05a0373691518d8d503efb376915ff403e3d66d7
944d3c07a3e0edb65f41a4a302f494e6b44e3f45
/nntoolbox/vision/components/inception.py
9aa5dd744b83dd2ff1353f2e597a14eaf7a3c335
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nhatsmrt/nn-toolbox
acbc753d6081ed1e2ed91ac0fd3343287c78a094
689b9924d3c88a433f8f350b89c13a878ac7d7c3
refs/heads/master
2022-12-05T21:11:23.725346
2021-08-15T17:03:34
2021-08-15T17:03:34
189,150,286
19
3
Apache-2.0
2023-09-08T19:29:53
2019-05-29T04:25:16
Python
UTF-8
Python
false
false
1,720
py
inception.py
import torch from torch import nn class FactoredConvolutionalLayer(nn.Sequential): """ Factor a k x k convolution into 1 x k and k x 1 inception style Help reduce memory footprint """ def __init__( self, in_channels, out_channels, kernel_size, stride=1, padding=0, dilation...
a0aff08136cd4195d5b7fe2206061aa898f5428a
0423284b506144f67acb000ad8ba24d54331adf2
/网民情绪识别/code/result/result_analayse.py
a91d3b268689e6a3b415ee1a287ceef0755302ef
[]
no_license
reroze/nlp
120e71bd2b17b025fc682f8f723bd4d2b91113e8
456f40dba8c8435391ce0dc246185f6da3c40de5
refs/heads/master
2023-04-07T02:19:22.482627
2021-04-18T05:30:17
2021-04-18T05:30:17
202,446,765
0
0
null
2023-03-24T22:53:50
2019-08-15T00:39:47
Python
UTF-8
Python
false
false
466
py
result_analayse.py
file = './nb_model_acc/result2.txt' file_op = open(file, 'r', encoding='utf-8') result = file_op.read().split('\t') file_op.close() print(result) result = result[:4500] for i in range(len(result)): result[i]=int(result[i]) print(result) print(len(result)) class1=0 class2=0 class3=0 for x in result: if(x==-1)...
18bde503b2d2ab10eed9bb6f6cba8eb501eef6ce
a51907115e3ce55e1c080df6cc6854cf5631db38
/examples/asyncio/wamp/component/frontend.py
581e892452cc20465fee8543214806406b4deaed
[ "MIT" ]
permissive
opemipoVRB/autobahn-python
b2c821db06b86e20e2f7ecf2559b3a801e8e0bc2
e0c3ec5ecebad33cf03a03b8bdef09609d16866b
refs/heads/master
2020-07-11T14:48:57.858143
2019-08-21T07:46:45
2019-08-21T07:46:45
204,573,391
1
0
MIT
2019-08-26T23:37:12
2019-08-26T22:37:11
null
UTF-8
Python
false
false
1,551
py
frontend.py
from autobahn.asyncio.component import Component, run from autobahn.wamp.types import RegisterOptions from autobahn.wamp.exception import ApplicationError import asyncio @asyncio.coroutine def main(reactor, session): print("Client session={}".format(session)) try: res = yield from session.register(...
9e1d67168a71a14dcbf585c3e2470de50e9522c7
2ba7550687d0aa6e20e99902794187bba8ca25b6
/Code/Language_Model/config.py
a3aa70b33aae16240148ee81ee4f8004985deafe
[]
no_license
ddhruvkr/Unsupervised-Style-Transfer
5ccadfdab86c238cadabfae27092434eea49cbe1
bb4cf5266f205a7eccab3ff8261bee52aa99e060
refs/heads/master
2020-12-27T00:56:25.980793
2020-11-24T01:16:07
2020-11-24T01:16:07
237,711,914
1
0
null
null
null
null
UTF-8
Python
false
false
570
py
config.py
model_config = { 'dataset': '../../Data/v2/', 'level': 'sentences', 'MAX_LENGTH': 75, 'embedding_dim': 300, 'tag_dim': 100, 'dep_dim': 100, 'ver':'glove.6B.', 'freq':0, 'hidden_size': 256, 'num_layers': 2, 'dropout':0.2, 'lr': 0.001, 'classifer_class_size': 3, 'mo...
32d1c1dcc61fc21f37a4271dbfbfa2cd0d22b621
3d2ecc82af1cf58c45c0d88ca138688dcb19974c
/Ato.py
626329640bfff390feab617a5a50610920b36311
[]
no_license
fernandoantoniodantas/DO2RDF
d1d805254bf8ee02d6a875099c8ede72d7e727a5
c11489ab8cab47de98063856a320186f629f3f08
refs/heads/master
2023-06-20T19:35:30.401286
2021-07-27T23:38:45
2021-07-27T23:38:45
278,911,993
2
0
null
null
null
null
UTF-8
Python
false
false
2,106
py
Ato.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Jan 19 17:32:58 2020 @author: Fernando @author: Hermann Classe que implementa os componentes de um ato público. """ from Servidor import Servidor class Ato(Servidor): # def __init__(self, nome, numero): # super().__init__(nome)...
d838a136db2789204d82ecff08f405c40443f4d7
53c4324b5693d0a2a153a9dbdf2a9ff0a622482d
/Project_Analysis of Bank customers.py
2e0652e8a8a751df44aa2d0a688ce0ad6740e9b8
[]
no_license
HemFanyan/HTI-3-Group-3-Hermine-Fanyan
a349a116846a6421a952ccab12b630bd71406830
22990a1bc1e926dc31b9c4bab4f7f2863ee8ef67
refs/heads/master
2023-04-17T06:20:41.139265
2021-04-21T13:52:57
2021-04-21T13:52:57
328,388,349
0
0
null
null
null
null
UTF-8
Python
false
false
8,234
py
Project_Analysis of Bank customers.py
#!/usr/bin/env python # coding: utf-8 # In[292]: import numpy as np import pandas as pd import matplotlib.pyplot as plt get_ipython().run_line_magic('matplotlib', 'inline') import seaborn as sns # In[293]: loan_data = pd.read_csv('C:\\Users\\hemfa\\Downloads\\Customers_of_Bank.csv') # In[294]: type(loan_data...
1bd00b29961faf8664fa5059bf3c21a558da2996
7f62165eb7984483552491c880aba276420e45e7
/dataset.py
424aaef82520824d1c07b7b6744e257b2cb829b9
[]
no_license
MineKayaa/ConvNet-with-Cifar100-keras.dataset
2631dcdb11e721e1c469b0ab89b5911e5d8e63d6
caf34e83aba1392c8edb558edca787b7025d5f3d
refs/heads/master
2022-10-08T21:18:04.388069
2020-06-10T18:00:14
2020-06-10T18:00:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,017
py
dataset.py
# -*- coding: utf-8 -*- """ Created on Mon Apr 27 14:52:50 2020 @author: Mine Kaya """ import matplotlib.pyplot as plt import numpy as np import os from keras.datasets import cifar100 (x_train,y_train),(x_test, y_test)=cifar100.load_data() os.mkdir('dataset') os.mkdir('dataset\\train') os.mkdir('dat...