blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
64b5a847f9463a91bd9efb546c74636a4fb7aec1
8c73955b7b3b8e7893e8ff3d78341a99a66f6c12
/src/train.py
8c7ed1b65cf8e7129a30f83b730aafb482fdd906
[]
no_license
akiFQC/shinra-attribute-extraction
ba9452d005830b6c24c80d166a8ff3bcf82a70b8
633f65ec5b61b8937fdf9cf24fe4ae07960e93fd
refs/heads/main
2023-07-14T03:22:16.927915
2021-08-12T08:34:03
2021-08-12T08:34:03
396,015,806
0
0
null
2021-08-14T13:22:14
2021-08-14T13:22:13
null
UTF-8
Python
false
false
5,631
py
import argparse import sys from pathlib import Path import json import torch from torch.utils.data import DataLoader from torch.nn.utils.rnn import pad_sequence import torch.optim as optim from transformers import AutoTokenizer, AutoModel from tqdm import tqdm from seqeval.metrics import f1_score, classification_repor...
[ "suzzz428@gmail.com" ]
suzzz428@gmail.com
43a33f8e0057f017e0ab310503696d141d92e460
15168af29eb436538a0ca10d799af86614e6cd83
/0102. 二叉树的层次遍历.py
819491d71fa79cefd6b3a7042ae6a6d074c8357c
[]
no_license
surika/Leetcode_Python3
2688ddec73e37404535673522164e4940ca5fa22
7bb1ef8640afa2026dfb3914028e7ba34e73b528
refs/heads/master
2020-08-05T12:36:00.699592
2020-02-05T13:41:54
2020-02-05T13:41:54
212,507,869
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
#递归 class Solution: def levelOrder(self, root: TreeNode) -> List[List[int]]: res = [] def helper(root, depth): if not root: return if len(res) == depth: res.append([]) res[depth].append(root.val) helper(root.left, depth + 1) ...
[ "526235290@qq.com" ]
526235290@qq.com
6deae79670de46fe616c0f169dbeb44bfdf4964a
221f25dd6548e83bc1b4ab148cbd96048631c71e
/ccpd_addons/ccpd_bank_statement/models/account_bank_statement.py
eaac97d0449e83726b282dbfe527a6d1164189fb
[]
no_license
kossovo/ccpdsarl
686a28037f0c596c7b5df8ccf3de1c1e0d22f800
22764ab21642bf005ea1708d861e6c2e608c9e53
refs/heads/master
2020-04-13T19:37:36.939228
2019-09-30T10:29:10
2019-09-30T10:29:10
163,408,342
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from odoo import api, fields, models class AccountBankStatement(models.Model): """ Surcharge de la gestion des relevés bancaires pour qu'elles fonctionnent comme la caisse dans la version 8.0 """ _inherit = 'account.bank.statement'
[ "clovis@anybox.fr" ]
clovis@anybox.fr
c9703a4244c4e8fd8fcb39987da72eb407756a38
b0369aa24ff07750571a72265e1a28e97807ec23
/csifter/database/db.py
838dc477594d4490cea56e000f341cc06048c83f
[]
no_license
Angus-C-git/csifter
1eab337b46479602106a83a48596ac66667e1918
9083f262b4760976e205fe3a550f4f7e521e3b3e
refs/heads/main
2023-08-11T10:36:13.618668
2021-09-23T05:06:01
2021-09-23T05:06:01
386,239,641
0
0
null
null
null
null
UTF-8
Python
false
false
6,675
py
signatures = [ # << Bad APIs >> { "name": "Format String", "type": "risk", "description": "An variable is supplied directly to the format argument of the function, " + "if the variable is user controlled a format string exploit my be possible.", ...
[ "anguscornall@gmail.com" ]
anguscornall@gmail.com
8095cc84cfc4b37ea7f734d5310af1bc2b00783f
993f3007bb276616a60688f5ff7933aaa9396d74
/vowel_consonant.py
b8494053b74a559e0be7707e832626b14933dab7
[]
no_license
Zahed75/Python_practice
d3fa60e8b475e216fc542fe5321993baa4410679
224eed0b8f8fa0ab02e523837540dd05ed8690ff
refs/heads/master
2022-12-26T20:54:54.286075
2020-10-16T16:19:48
2020-10-16T16:19:48
298,867,023
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
letter = input("please enter your word:") if letter== 'a' or letter == 'b' or letter == 'e' or letter == 'i' or letter == 'o' or letter == 'u': print("vowel") else: print("consanant")
[ "56452604+Zahed75@users.noreply.github.com" ]
56452604+Zahed75@users.noreply.github.com
b8a2eaf62ca7c277a26624b6653f80c23f278573
b4a432efb00d5810accce78814f78402cf50b4b0
/firstpython.py
8ff53c63d1e1ed131706f746d986dac339546069
[]
no_license
rubystanley/testrepo
5036856bc503beb66d75be13ac4d775d2db6fb5d
4fb7e6e72333013224ed01402f8ddb84e2263309
refs/heads/main
2023-02-08T20:34:39.112092
2021-01-02T03:40:50
2021-01-02T03:40:50
325,671,955
0
0
null
2021-01-02T03:42:36
2020-12-30T23:53:02
Python
UTF-8
Python
false
false
45
py
# display the file print ("New Python file")
[ "noreply@github.com" ]
rubystanley.noreply@github.com
0126daf12a1efd2afd8532e34a027f265d0ea555
99818c8b0296ff1b15b832f2474d0861b508f53a
/src/dn_plot.py
d542abf61ad1a206d0eafc9e06cad3b3673edccc
[ "Apache-2.0" ]
permissive
sqsxwj520/DeepNotebooks
97ecb81ffc9cace876586127a1dbd72a829b52b2
036c807753254504c8546fbdfc91a86cd94e6a3d
refs/heads/master
2023-04-26T13:22:07.612137
2019-09-15T14:59:07
2019-09-15T14:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,541
py
import numpy as np import matplotlib.pyplot as plt from matplotlib import cm import plotly.tools as tls import plotly.plotly as py from plotly.graph_objs import Heatmap, Layout, Scatter, Bar, Table, Histogram, ColorBar import src.ba_graphs as g from src.util.spn_util import func_from_spn from spn.algorithms.Marginali...
[ "claas@voelcker.net" ]
claas@voelcker.net
8bfdb3cbf1dc09cdbd84f0cc160f2a0e204b843e
81ced6d61009208c923134002a97b99f9b95c955
/python基础/邮件阅读器.py
051a1520eb61b49fc6d589738528ac62c57ee041
[]
no_license
sz-winner/myStore
f7a56f77f37af28cf737b7d3fb86c50f6cc83399
775a01157c0ca2b9f10a7e46700cc9082ec2cb67
refs/heads/master
2020-09-28T20:15:14.650688
2020-04-20T09:08:22
2020-04-20T09:08:22
226,854,615
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
import email from email.mime.text import MIMEText from email.mime.image import MIMEImage from email.mime.multipart import MIMEMultipart from email.header import Header fp = open("D:\\Python\\test_mail.eml", "r") msg = email.message_from_file(fp) # 直接文件创建message对象,这个时候也会做初步的解码 subject = msg.get("subject") # 取信件头里的sub...
[ "sz_winner@msn.com" ]
sz_winner@msn.com
93b678058a71e6771be47a04bd1790e2246fbffb
bbac91977974702ce52fc0be2e279dc7750f7401
/backend/serializers.py
435150b1d1ced60909c704c0a6783b467c8af0fc
[]
no_license
Occy88/BiddingSystem
bbb0cc85a3621622cbbcb1313fbe1f1fc74a8f72
a8619bad0efee8d2256ef11f358d99c21e5a67b2
refs/heads/master
2023-01-13T08:53:16.450312
2019-12-19T18:19:59
2019-12-19T18:19:59
226,520,713
0
0
null
2022-12-13T00:50:21
2019-12-07T13:48:08
JavaScript
UTF-8
Python
false
false
2,235
py
from rest_framework import serializers from .models import Bid, Session from django.contrib.auth.models import Group from django.conf import settings from pydoc import locate from guardian.shortcuts import assign_perm, remove_perm class BidSerializer(serializers.ModelSerializer): # to work out all the fk relatio...
[ "octavio.delser@gmail.com" ]
octavio.delser@gmail.com
f55d7af40af38b6fe52d88b3be35e07b1a908891
11a0a655fd1c1a5949fb5e9d2539a0e59081fe7b
/scripts/stats/print_stats.py
cf841791b2d4405d1cddb2e8c355f1f497af4f13
[]
no_license
SravaniTeeparthi/harp
066bc7a871d548daa9ac49b1c8f98019b118d0df
32e072c9bf53533ec38ec2c4f873f00a263421d6
refs/heads/main
2023-03-30T13:25:48.909781
2021-03-31T03:23:08
2021-03-31T03:23:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
import pdb import pandas as pd import cv2 import argparse from harp import fdops import numpy as np def _arguments(): """ Parses input arguments """ # Initialize arguments instance args_inst = argparse.ArgumentParser(description=( "Prints activity label summary to standard console")) args_ins...
[ "venkatesh.jatla@gmail.com" ]
venkatesh.jatla@gmail.com
f5de72cf404f5a4c9a8a837f76614ec933f62052
adf542906b91dc55aaa5e3abdcc9842fe0b2b922
/Lesson 2 List Based Collections/02.LinkedLists_mysolution.py
15512e1ceaeabf1ebc84cf72eb6552c1b19ed5fa
[ "MIT" ]
permissive
buraksatar/data_structures_algorithms
0e12a57ca90b8872003d8cd5b7dd9dc9e97c26c5
f99be0ac094b891ac86382c0a4ae946350f1973a
refs/heads/master
2021-10-26T10:35:47.007401
2019-04-12T05:23:38
2019-04-12T05:23:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,000
py
""" Linkedlist is an extension of a list but it is definetly not an array. There are no indices. In linkedlist, we store a reference to the next element in the list. Advantage; adding and removing O(1) Disadvantage: To add an element, remember to not to lose your next element(reference) in the list. So, first """ ...
[ "buraksatar@gmail.com" ]
buraksatar@gmail.com
6dbe66f2e7088b2afb7a2e9fb880a634eb1c4c0b
626157a5f1c4440b47f53e673b1332ea9360ca60
/emlak/urls.py
8decc9418f5128726397dab42e76219918a9083b
[]
no_license
emrahsahan/firma
fb6bf54931c065a6551d6ba90a4256d6cb7302f3
23c1eee861f4712d3e7603584cfdd42abafeeed5
refs/heads/master
2020-03-28T17:57:25.937092
2018-10-02T23:17:04
2018-10-02T23:17:04
148,839,400
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
from django.conf.urls import url from .views import * app_name = 'emlak' urlpatterns = [ url(r'^kiralik/$', emlak_index_kiralik, name='kiralik'), url(r'^satilik/$', emlak_index_satilik, name='satilik'), url(r'^create/$', emlak_create, name='create'), url(r'^(?P<id>\d+).html$', emlak_detai...
[ "noreply@github.com" ]
emrahsahan.noreply@github.com
955eea22beba8cfe3811b51df8133e7d932dc980
871ebb2aa6b0066ac2d007c7ed6413432370e516
/performance_framework/tests/test_controller.py
2bdc47ce957d6e9270da7605f89d2aa8782ba977
[]
no_license
hsaikia555/performance_repos
89333d94ffabab93589df2dcb8a2cbe941f352ef
12288eb8ab9c9102ec84ea890b63b2464078f21f
refs/heads/master
2020-03-27T15:34:47.708917
2019-03-18T09:35:42
2019-03-18T09:35:42
146,726,788
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
# Entity Section: NO_OF_ENTITIES = 2 #Workflow Create Section: NO_OF_UTF_WORKFLOW = 3 UTF_INPUT_PATH = "/user/zaloni/Provision_51_Test/UTF_Automation_check_101" WORKFLOW_BASE_PATH = "/user/zaloni/Provision_51_Test/" #Workflow Execute Section: WORKFLOW_EXECUTION_FREQUENCY = 3 WORKFLOW_ID = 39 WORKFLOW_NAME = "Auto_UT...
[ "hsaikia555@gmail.com" ]
hsaikia555@gmail.com
24c7cde95cb243bd0ab3415ba3830960f9507538
d366f39f8af34b3f7ff6b6218fffcaefa55c1cf8
/trash/OLD/leereq.py31012013-2
e4c15f09956220006cc35bad19978ee45c0509c4
[]
no_license
cgarita/cgarita
a570227d3b8bbfeab07819e69b337987a16a2532
6849fe9844818b1a9d96af362f4cb05fd78a6c91
refs/heads/master
2021-01-22T12:08:07.339213
2014-10-30T17:08:32
2014-10-30T17:08:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,591
#!/usr/bin/python # -*- coding: iso-8859-15 -*- # Modulos importados import os import shutil import string import time import MySQLdb import getopt, sys, math from os.path import exists, join, abspath from os import pathsep from string import split from datetime import datetime import pytz, dateutil.parser import smt...
[ "cgarita@una.cr" ]
cgarita@una.cr
432af1adae5221923d21ccdc7f807e0904ee5fbd
52cf1ef2964542a7962044df4df6d1fbf59ef2f0
/abc.py
5ea8b01ebd01ad83431745679a36af058af12386
[]
no_license
X20435668/CS5250_Assign_4
4a403325472cb5a473213b849dae22f0aa5e5149
8144f7b97fa1fe4560589945f2e402a351b98eb6
refs/heads/master
2020-03-09T18:55:00.256200
2020-02-15T09:46:21
2020-02-15T09:46:21
128,944,356
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
li = [1,2,3,4] print(isinstance(1,int)) print(li[2*1])
[ "justinxydat@gmail.com" ]
justinxydat@gmail.com
35663816d738485bdf96919fc9ce7de0352203df
aa7de5b75b65404715676121d61a9b06348d5f62
/dashboard/dashboard/add_point_queue.py
5bfbef37ce63c0d91e299373ded283810fc6d96b
[ "BSD-3-Clause" ]
permissive
benschmaus/catapult
3ca2ede51e4a23082e634fa07a03c11158bd6d9a
f388b1f6b90c670b6524fd68a295bae26ba8db70
refs/heads/master
2021-01-20T07:53:45.431708
2017-07-17T18:03:09
2017-07-17T18:03:09
90,060,605
0
1
null
2017-05-02T17:38:42
2017-05-02T17:38:41
null
UTF-8
Python
false
false
12,511
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """URL endpoint to add new graph data to the datastore.""" import json import logging from google.appengine.api import datastore_errors from google.appengi...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
16ce9942ac108ba010f56159e324668c2e5b87a2
bd353bf49367e84c78a464509a7b977e6a67b166
/tmp/call.py
5cb75824604c1e1013383f62b059be2d6b76ae4f
[ "MIT" ]
permissive
godontop/python
5c8ce79bcf833cbf715e632f4223d936bc2e04a2
e8238b3fc46e0874124febfa0ac8276d27bee18e
refs/heads/master
2022-10-01T18:40:49.765473
2022-09-05T03:37:23
2022-09-05T03:37:23
122,028,495
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
# call.py import called def callback(): print('in callback') def main(): # called.test() called.test_call(callback) print('in call.py') main()
[ "tosony@126.com" ]
tosony@126.com
7d50a7a37341ea6a35aa9aa76438bdb72d17073d
3fabe7a730bcf413bc4d036f056d45925011c5c6
/python_games/slidepuzzle.py
bf6bfac2074564b1423e4b5c1f59bab4b627d25b
[]
no_license
moralss/sisonkerising
edfb651fea09c24624aad52c8504ed667e62032d
1782e06a8342b422f9832044a586b952ec395c30
refs/heads/master
2020-04-04T07:02:49.075182
2017-01-03T00:13:06
2017-01-03T00:13:06
42,348,763
0
2
null
null
null
null
UTF-8
Python
false
false
12,324
py
# Slide Puzzle # By Al Sweigart al@inventwithpython.com # http://inventwithpython.com/pygame # Released under a "Simplified BSD" license import pygame, sys, random from pygame.locals import * # Create the constants (go ahead and experiment with different values) Board_Width = 4 # number of columns in the board Board...
[ "jeramoral@gmail.com" ]
jeramoral@gmail.com
79a2dcfdc833d2523738bd7fe10500a39d165e8d
4714a874e3491d82a59aa3c4157bc5a67ed9ea66
/homeassistant/components/zwave_js/const.py
9e6e37b4ee7a031e957e1863548bf5e6d9b96b37
[ "Apache-2.0" ]
permissive
FrederikBolding/home-assistant
e1acf76803b0d0b1bf13d823750998e386672f49
4a94ed8f5a2b99da7b771bf740e5dc67349fc8b1
refs/heads/dev
2023-03-09T06:09:05.074488
2021-06-30T19:24:19
2021-06-30T19:24:19
121,178,973
2
0
Apache-2.0
2023-02-22T06:16:43
2018-02-11T23:44:43
Python
UTF-8
Python
false
false
2,005
py
"""Constants for the Z-Wave JS integration.""" import logging CONF_ADDON_DEVICE = "device" CONF_ADDON_EMULATE_HARDWARE = "emulate_hardware" CONF_ADDON_LOG_LEVEL = "log_level" CONF_ADDON_NETWORK_KEY = "network_key" CONF_INTEGRATION_CREATED_ADDON = "integration_created_addon" CONF_NETWORK_KEY = "network_key" CONF_USB_PA...
[ "noreply@github.com" ]
FrederikBolding.noreply@github.com
99b09c19a30500c879af84a5e14333a8526fd977
c24867ed81cba933ed38e6c6e764c076d5e898e2
/tools/visualize_dataset.py
73d8a8cde129988a21cca2efa9448943e3291ab6
[ "MIT" ]
permissive
taheritajar/experts-group
1fd8ac76cf45522445d9bcea6451da4a25eeec53
3351617c516213e9463e2f187af60d5f9fb3aa02
refs/heads/main
2023-02-18T13:28:01.665222
2021-01-18T19:49:04
2021-01-18T19:49:04
329,234,480
0
0
null
null
null
null
UTF-8
Python
false
false
1,863
py
import time import sys sys.path.append('./') from absl import app, flags, logging from absl.flags import FLAGS import cv2 import numpy as np import tensorflow as tf from yolov3_tf2.models import ( YoloV3, YoloV3Tiny ) from yolov3_tf2.dataset import load_tfrecord_dataset, transform_images from yolov3_tf2.utils impor...
[ "shahab@example.com" ]
shahab@example.com
352e3c026ac9e26500a33e7d5012aeabdb121d71
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/ospfv3/domaf.py
02ac83a1a12bc7d0b567879cf7630854453672ad
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
5,405
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
9ef29961f26a8da8006d6b5e60b61e46c0c62589
50500f7e7afc0a401cfa99bdaf438d3db90072f2
/biothings_explorer/tests/test_biolink.py
4e4ee740fe09c60983633aab11272b78500c4821
[ "Apache-2.0" ]
permissive
andrewsu/bte_schema
903112b8344512bfe608d77948d864bb134596df
b727dfded0d10b32ef215094715171ef94c38e34
refs/heads/master
2020-07-27T02:59:40.552124
2019-11-12T17:48:18
2019-11-12T17:48:18
208,845,945
0
0
Apache-2.0
2019-09-16T16:23:42
2019-09-16T16:23:42
null
UTF-8
Python
false
false
7,109
py
import unittest from biothings_explorer.registry import Registry from biothings_explorer.user_query_dispatcher import SingleEdgeQueryDispatcher class TestSingleHopQuery(unittest.TestCase): def setUp(self): self.reg = Registry() def test_anatomy2gene(self): # test <chemical, interactswith, ana...
[ "kevinxin@scripps.edu" ]
kevinxin@scripps.edu
3ffaa9adfc101e07ad05a1009bd90c9f436236e6
8ecf4930f9aa90c35e5199d117068b64a8d779dd
/TopQuarkAnalysis/SingleTop/test/Mu_2011A_08Nov_part_13_cfg.py
c75a13863b8955018a45775a881133abc70b43f0
[]
no_license
fabozzi/ST_44
178bd0829b1aff9d299528ba8e85dc7b7e8dd216
0becb8866a7c758d515e70ba0b90c99f6556fef3
refs/heads/master
2021-01-20T23:27:07.398661
2014-04-14T15:12:32
2014-04-14T15:12:32
18,765,529
0
0
null
null
null
null
UTF-8
Python
false
false
5,786
py
import FWCore.ParameterSet.Config as cms process = cms.Process("SingleTopSystematics") process.load("FWCore.MessageLogger.MessageLogger_cfi") process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True), FailPath = cms.untracked.vstring('ProductNotFound','Type Mismatch') ) process.load(...
[ "Francesco.Fabozzi@cern.ch" ]
Francesco.Fabozzi@cern.ch
a29bf358b2f1f6d160a599d4439d0c1e34df1d3c
83c7857e9a73a5609c8210e4228490dbedd5b644
/_spaun/modules/motor/data.py
4461030a7b91fde79371f0c88433cf151b94ba66
[]
no_license
hunse/spaun2.0
9fe0d8f050177c5b252020f42ad3632cebed26a6
7bfd6f1628565dde03bb06385bbc2ee1a9ae3808
refs/heads/master
2021-01-15T17:46:02.002600
2016-11-23T21:36:45
2016-11-23T21:36:45
44,840,625
0
0
null
2015-10-23T21:55:15
2015-10-23T21:55:14
null
UTF-8
Python
false
false
1,287
py
import os import numpy as np from ..._networks import convert_func_2_diff_func class MotorDataObject(object): def __init__(self): self.filepath = os.path.join('_spaun', 'modules', 'motor') canonical_paths = np.load(os.path.join(self.filepath, 'canon...
[ "xchoo.mainframe@gmail.com" ]
xchoo.mainframe@gmail.com
eb9772c76d85a328c853a5ef5607b805327fa09f
cd6ef99cd4b18e4335cf5d65033cef6deffb1468
/insta_clone/insta_clone/urls.py
4a26eb53e6e92807fe8ed95f0815ee78d35dd70a
[]
no_license
measterpojo/insta_clone
8a510d9ae5a40268772bc45af2634867797d5f26
aed8aea7312685bab1a0246a91a84fc840ef7c67
refs/heads/main
2023-04-20T10:08:18.245492
2021-05-12T19:02:41
2021-05-12T19:02:41
366,797,876
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
from django.contrib import admin from django.urls import path, include from django.conf.urls.static import static from django.conf import settings from authy.views import userprofile, follow urlpatterns = [ path('admin/', admin.site.urls), path('', include('posts.urls')), path('authy/', include('authy....
[ "peterperez847@yahoo.com" ]
peterperez847@yahoo.com
3af640c10c618c213096da4a3e0c079fd458f61c
96e5eb521b14a10b26e2419e02e4943bcb91379a
/Chapter1/123.py
2e3fadefa720c89768805a7a2791155a73491cfb
[]
no_license
squall0851/PythonBasic
ed02c35187d326bc63e5fee1603912caf825ff91
1f48d680874d175612295b44bcf19787b5e1a678
refs/heads/master
2020-03-22T23:35:50.389454
2018-07-13T08:38:38
2018-07-13T08:38:38
140,819,129
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
from scapy.all import * ping_one_reply = sr1(IP(dst='192.168.188.1')/ICMP(), timeout = 1, verbose=False) ping_one_reply.show()
[ "squall0851@gmail.com" ]
squall0851@gmail.com
ddce670d767f93002e8d4bf8043d71eab1477f7d
f72ecf85bc1d6b4014af4b35f7677adb7c3a77f3
/venv/bin/flask
86ab5e43da087b90a51022571fa6526c52effbb4
[]
no_license
PropeReferio/covid19dashapp
cef5a803a26a00fc5a7adca57625d7f3de8710f8
aea672aca23e0d6782080c966b24da6d826e1f91
refs/heads/master
2022-07-14T23:09:21.063273
2020-11-01T18:46:14
2020-11-01T18:46:14
253,976,374
0
0
null
2022-06-22T01:41:02
2020-04-08T03:32:05
Python
UTF-8
Python
false
false
264
#!/home/bo/Desktop/Freelance/cloud-covid-dash/covid19-dash/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "lemuel.b.stevens@gmail.com" ]
lemuel.b.stevens@gmail.com
37a675e425fa3cbe10da417616a0508661f75da4
d99e6210df356d7ec27aa32259be30bfeba867f9
/Erails/asgi.py
065409c0a688d6e1675381e24eec0108b1fa178d
[]
no_license
ErailsTm/erails2
87f3b0f7f295a914065ee961da7c00ab5d2ed9de
b729c817374d2a2e4a2f9066960d6da9589eb286
refs/heads/master
2023-05-31T14:16:11.450706
2021-06-20T05:39:17
2021-06-20T05:39:17
378,484,501
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" ASGI config for Erails 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_SETTIN...
[ "pmali4939@gmail.com" ]
pmali4939@gmail.com
f7cb962e5e6f40206a70be88292f9201f8a92bcb
f8bdca7132bcbd3a0209cd65b22db7826836db20
/src/trydjango/urls.py
b0425e12b095d75df18321c2102f07430dd054db
[ "MIT" ]
permissive
quynhdinh/learn-django
854f63098e6ffb33ee3c5cd4f6dd094cf166f3ca
b00fba510463886355de38c5db3c19f661ac2e80
refs/heads/master
2023-02-15T19:45:22.941516
2021-01-11T15:46:24
2021-01-11T15:46:24
328,578,396
0
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
"""trydjango URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "1751099@student.hcmus.edu.vn" ]
1751099@student.hcmus.edu.vn
a27e412070741824b5c9051ee93fa96c1edc0930
fd2e6ad2c91240c20b56d3dc7fa27e17934e8040
/web.py
efd27ed880de4da75bfc51a64436afff10e3de8a
[]
no_license
hclivess/verihash
1ded4583228e722cb3e17ef556b6b589d76bef42
b906802ac53a390f7d4dbd0ba98aa2b5fcaeb231
refs/heads/master
2020-05-03T07:10:03.069063
2019-04-03T01:30:40
2019-04-03T01:30:40
178,490,698
4
1
null
null
null
null
UTF-8
Python
false
false
745
py
import tornado.ioloop import tornado.web import json from main import compare class MainHandler(tornado.web.RequestHandler): def get(self): pass class WinHandler(tornado.web.RequestHandler): pass class AllHandler(tornado.web.RequestHandler): def get(self, data): feed = data.split(";") ...
[ "admin@bismuth.cz" ]
admin@bismuth.cz
0442ab56fce29c6079c0f3f6cc3752c5a8703db6
c9bdc4bc96c7e9500a8f0f54527dec669d09ca67
/python/p1.py
896941932d85ce72ee1ecf2eb7546d9d0b444288
[]
no_license
BenWarwick-Champion/Euler
31deec8a4af2bbe6422f9e149dcb5638bae0960f
eb977e64123558ef7503e28485ee03cf14e05adc
refs/heads/main
2023-03-23T04:18:06.044448
2021-03-15T21:53:03
2021-03-15T21:53:03
326,068,702
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
# Project Euler # Problem 1: Multiples of 3 and 5 answer = sum([num for num in range(1000) if (num % 3 == 0) or (num % 5 == 0)]) print("Problem 1 solution is:", answer)
[ "ben.w-c@sky.com" ]
ben.w-c@sky.com
0fffee121dfdc4cc663a2873fe8074efa2428d6e
eb838906264a85ddda2d222e1827c4bd435f37ed
/conversion/injectable_file.py
a59f60142597d9d2e32a2e710e041f3e0cf2ada6
[ "MIT" ]
permissive
UUDigitalHumanitieslab/AnnCor-scripts
3b929ef76d16a3f1094ac4a04e98a5cd3f67ec07
68228c1daddd2641e9a40d922471767bc33a1eee
refs/heads/master
2023-07-06T17:16:24.226652
2021-08-30T07:25:26
2021-08-30T07:25:26
93,640,811
0
0
MIT
2023-06-22T12:19:07
2017-06-07T13:53:15
Python
UTF-8
Python
false
false
2,727
py
#!/usr/bin/env python3 """ Classes for modifying a file by line. """ class InjectableFile: """ Open a file and allow new lines to be inserted into a copy of the file. Use write() to write the modified file with the inserted lines. Note: this assumes the read file did not change during operation. At...
[ "s.j.j.spoel@uu.nl" ]
s.j.j.spoel@uu.nl
bbaa68dfa7f9442542c8ff9cf53cd20605e8ed0b
8c2c17b25b148e7257c2cae29f6ea602f279a7f5
/renlian/__init__.py
183e5bee4fc8eb57a154b4383d4bfca5c2583148
[]
no_license
yuec621/python_project
c9673b6056ed3bc584ec2b37cca5185cb876fd9c
010694a9ad3df13d0f3118cd1e6331322b609a9d
refs/heads/main
2022-12-27T09:35:30.762556
2020-10-15T08:34:34
2020-10-15T08:34:34
302,561,681
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
# 哔站python学习教程 # 听讲人 cy # 开发时间:2020/10/14 0014 9:27
[ "yuec621@outlook.com" ]
yuec621@outlook.com
0c1eaf6ef7a2bb9f5dddea73b74a3522c161aa8e
31a0b0749c30ff37c3a72592387f9d8195de4bd6
/release/ray_release/cluster_manager/full.py
766362e1e86753db1292ea1840b740d60951cc41
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
longshotsyndicate/ray
15100bad514b602a3fa39bfe205288e7bec75d90
3341fae573868338b665bcea8a1c4ee86b702751
refs/heads/master
2023-01-28T15:16:00.401509
2022-02-18T05:35:47
2022-02-18T05:35:47
163,961,795
1
1
Apache-2.0
2023-01-14T08:01:02
2019-01-03T11:03:35
Python
UTF-8
Python
false
false
4,391
py
import time from ray_release.exception import ( ClusterCreationError, ClusterStartupError, ClusterStartupTimeout, ClusterStartupFailed, ) from ray_release.logger import logger from ray_release.cluster_manager.minimal import MinimalClusterManager from ray_release.util import format_link, anyscale_cluste...
[ "noreply@github.com" ]
longshotsyndicate.noreply@github.com
80343e2ef1678618bd6e94dcee9ff867d9228005
4ea07009f70a3a1fba19970b5e9edf76a71401ef
/Stock_List.py
4c90d5f0451cca3f1f52e8094d4b712e93dd73df
[]
no_license
joaquincoitino/python_group2
4e5f2537f91cbebea2b9c6c0051251ea36e81e09
06b0ac933dd01379587375790d81b0b2dcaf45c4
refs/heads/master
2021-01-10T23:54:28.490785
2016-10-16T13:59:09
2016-10-16T13:59:09
70,787,157
0
0
null
2016-10-13T08:48:38
2016-10-13T08:48:38
null
UTF-8
Python
false
false
12,129
py
# -*- coding: utf-8 -*- """ Created on Thu Oct 13 16:27:06 2016 @author: lukaswolff """ import Stock as st import Graph as g class Stock_List(): def __init__(self, stock_list): self.stock_list = stock_list self.corr_tuples = [] def findStock(self, symbol): for i in range(le...
[ "lukaswolff@Lukass-Air-2.local" ]
lukaswolff@Lukass-Air-2.local
b1aea5b2f2324b328b4e2530965f48498ca819cd
478c3f341644effdf5d35b3f7674a77289396796
/.local/bin/pyrsa-verify
1987c5d2dd330ab19d6e7c4dc725858b559dcf09
[]
no_license
devopstest17/devopstest17
c1ac2e59d619087068208b25474654277e30e238
385761f7977e971e7d007eea5d3f985c4d1374c2
refs/heads/master
2021-09-24T23:37:03.744143
2018-10-15T16:52:28
2018-10-15T16:52:28
113,407,402
0
0
null
null
null
null
UTF-8
Python
false
false
216
#!/usr/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from rsa.cli import verify if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(verify())
[ "root@ip-172-31-92-184.ec2.internal" ]
root@ip-172-31-92-184.ec2.internal
ec0101048d2b9d2d54f760a313917e0509b234f0
13e676bddb81f61f0a79493694e067b5d8042def
/src/1_imbalance_data/1_get_usersID_trainCheckins.py
db2f6f68d4590a0e65cd3860b2f50e4e89407214
[]
no_license
calxu/small_paper
8ec13e2589cbde5ac8ebfcdf5c64d0be681aab15
4518bf50074480bbe6310d6cff142acb915c27f4
refs/heads/master
2020-08-23T12:43:05.976655
2020-02-13T07:34:53
2020-02-13T07:34:53
216,619,592
1
1
null
null
null
null
UTF-8
Python
false
false
1,969
py
#!/usr/bin/env python3 # encoding:utf8 """ Task: Get users id and train checkins. Author: Calvin,Xu. """ import os import numpy as np import sys def getUsers(leastCheckins): """ get usersID according users checkins >= leastCheckins. """ os.system("cut -d' ' -f1 US_Checkins | sort -n > US_IDs") with open(...
[ "csxucaixu@gmail.com" ]
csxucaixu@gmail.com
d2059670b77c0fc1dde1de8b1d7e451c5a4decd8
bfea58e81ef27af99442c7d61635af4b65807b45
/Stacks_Queues/python/StackMin.py
31244967e10a5a9e78cb29492eea0f3521319840
[]
no_license
n0execution/Cracking-the-code-interview
1f7bd47a3e0d056a0fb888cfdacad81c6dd7c706
48702c058cdedbe9e1e05fc65637c7eb08c6fa38
refs/heads/master
2022-12-15T21:39:44.883095
2020-09-10T14:43:55
2020-09-10T14:43:55
275,937,769
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
from DoublyLinkedList import DoublyLinkedList class StackMin(object): def __init__(self): self.elements = [] self.mins = DoublyLinkedList() self.top = None def push(self, x): self.elements.append(x) self.top = x if self.mins.head == None: self.mins...
[ "dimichkit@gmail.com" ]
dimichkit@gmail.com
d674633af77ef6cb7ef491d0aac99cddc6b0b189
59995c33bfc97aaac24693fc05e697b44260c2dd
/word_learning/else_jieba.py
c16f5d392d228e7cb2d9575c048f4b8b76b8221f
[]
no_license
302wanger/Python-record
6bfd0ff34f486d62a9b06f105e77f942f1afd035
eac76cfd322a75bbb1ec7157a0877b2604daaddd
refs/heads/master
2021-08-27T19:57:22.953766
2017-11-28T06:15:05
2017-11-28T06:15:05
112,293,509
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
import pandas # import pandas from pandas import Series as sr, DataFrame as df from clooections import Counter as cr # import Counter to count number import jieba.posseg as pseg # import jieba label path = '' # file path data1 = df.read_csv(path, sep= ) l = len(data1) df1 = df(columns=['word', 'type']) for i in r...
[ "wangyuanfu315@gmail.com" ]
wangyuanfu315@gmail.com
3b6e6ce76c9a0f2c6ec2eb39f3c9a9dcc7e18e9d
d6962dd4f935c5076fca110746aff5d23dfc5f70
/yysAuto.py
b768aa8a4e9b9abbb6acd3e66196aeb1bb83996a
[]
no_license
Asphodeluszct/yysAuto
4aec5d020b526832b8351c58741bafa297e48b4d
914e859cb3d007de7689cc386b3c6db5d9b10440
refs/heads/master
2021-01-01T01:18:57.956845
2020-02-08T10:27:37
2020-02-08T10:27:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
#author:SuHaoXD #E-mail:suhaoxd@qq.com # -*- coding: utf-8 -*- import win32api import win32gui import win32con import random import numpy import cv2 import pyautogui from win32gui import * from PyQt5.QtWidgets import QApplication from PyQt5.QtGui import * import sys import time def resolution(): # 获取屏...
[ "noreply@github.com" ]
Asphodeluszct.noreply@github.com
117a1d170619f56d8bd914de35f8ae0297301a68
ce5946e1b7fa3ede541b47d95ed5140b42dab726
/trans_pb2.py
b1f0c9762a8e70dceb7f5e207a71ccafefff6019
[]
no_license
Curtice-y/Heterogeneous-database-migration
e320b7b17ccce5fbe7c905c7d66c4a2a0600e5c2
a8e0e917e9be26717f1e3b4bca4b2711b883a1e6
refs/heads/master
2023-05-26T17:32:51.555810
2021-06-19T11:24:15
2021-06-19T11:24:15
378,390,679
0
0
null
null
null
null
UTF-8
Python
false
true
28,720
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: trans.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf ...
[ "1850332656@qq.com" ]
1850332656@qq.com
94b296fb16aa77725535acc65bedf3711e282432
c065a724143d5465971c21f7e9a3829ab177036a
/opt_ic.py
09cf5430178d36a3363dc03ff355edb74e12a6fc
[]
no_license
eubr-atmosphere/opt_ic
f859e261c7f0311a486aded920d3285933f1b226
83068bf42c6eae1856d60629c9e43c9211a4b3c2
refs/heads/master
2020-09-25T22:08:43.047066
2019-12-11T10:49:27
2019-12-11T10:49:27
226,098,649
0
0
null
null
null
null
UTF-8
Python
false
false
21,631
py
# coding: utf-8 """ Copyright 2019 Danilo Ardagna Copyright 2019 Marco Lattuada 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 a...
[ "marco.lattuada@polimi.it" ]
marco.lattuada@polimi.it
81130ed84a969cfe0c23e351c7813186869f045f
dfcadafb9b7aee820a6eebba7b67dc31c0cabda5
/codeforces/1015/C.py
1890b52cf53141a9948cd7f0a7ed29ef48ba0d21
[]
no_license
sainad2222/my_cp_codes
0b631872e96ff84897dd498caf4a6ed5ba4f9c15
4621a2b6d80ea5dc36401481bba58096192e0822
refs/heads/master
2023-02-15T20:42:03.524179
2021-01-12T09:14:00
2021-01-15T07:45:41
324,394,919
1
0
null
null
null
null
UTF-8
Python
false
false
287
py
n, m = map(int, input().split()) res = [] su = 0 for i in range(n): a, b = map(int, input().split()) res.append(b - a) su += a res.sort() i = 0 while su > m and i<len(res): su += res[i] i += 1 if i >= len(res) and su>m: print(-1) else: print(i)
[ "" ]
17a8ecc861f7d8cd4aca3b5ccae2459c6969877e
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/reverseString/reverseString.py
8d30b5defc2ca207f40965dab0c6cfe7eaa1a921
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
325
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/reverse-string/ # Author: Miao Zhang # Date: 2021-02-03 class Solution: def reverseString(self, s: List[str]) -> None: """ Do not return anything, modify s in-place instead. """ return s.rever...
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
63e729706b9247f4d7c3f8fe34277918569d4823
7f8b095a46606baa97178178e6e466872119c288
/src/avia/forms.py
01b14f8ebfebc032720b1f031427933b7a011a6d
[]
no_license
idevin/tms-django
10938b59e75fcd51b6b857a3044482ca777f65bd
37f41d1ef053a3e3b878f0710c13864309765614
refs/heads/master
2022-07-10T00:17:51.290120
2019-05-23T17:59:44
2019-05-23T17:59:44
186,658,033
0
0
null
2022-06-21T22:01:11
2019-05-14T16:14:02
HTML
UTF-8
Python
false
false
435
py
from django import forms class AviaForm(forms.Form): avia_name = forms.CharField(label='имя', max_length=100) avia_from = forms.CharField(label='откуда', max_length=100) avia_to = forms.CharField(label='куда', max_length=100) avia_passengers = forms.IntegerField(label='количество человек', min_value=1...
[ "ppp0.at@gmail.com" ]
ppp0.at@gmail.com
d5d23c6e0336868e5377870f90891ad80cbcc402
c96feff7c7d871ab3912058f14657bd77cc02d29
/s20_advanced_python_module_exercise.py
7780dc57176d58040b60e2bdcb48cc3894e7ae20
[]
no_license
jtihomirovs/2021-complete-python-bootcamp
0bdc8132563d9d9b76f1d758b8cf1139a884fa9e
7cc9fbe2eefc55764b5dfcc79e77de3271e49391
refs/heads/master
2023-05-27T13:07:47.401007
2021-06-08T16:52:18
2021-06-08T16:52:18
375,082,079
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
import os import re file_path = 'C:\\Python\\Examples\\unzip_me_for_instructions\\extracted_content' def search_phone(file, pattern=r'\d{3}-\d{3}-\d{4}'): f = open(file, 'r') content = f.read() if re.search(pattern, content): return re.search(pattern, content) else: return '' resul...
[ "juris@zzdats.lv" ]
juris@zzdats.lv
5d6169c3b0d31fc740377c9c1c9ff5e09fb5a40d
71bc873c20fbc45bb5e13095d2474496818a23f9
/service_coldstart/code/redundant_code/send_email_withAttachment.py
6027018a46aac7ab761d72c23456d9367df891aa
[]
no_license
2877992943/lianyun
f31c44ea2e266bae51cae4fa464d1bae368c8d3f
a872d6cd1b2eff402bcccb326d33d086816d87af
refs/heads/master
2021-01-20T16:17:20.226401
2017-05-10T06:49:31
2017-05-10T06:49:31
90,830,548
0
0
null
null
null
null
UTF-8
Python
false
false
2,904
py
#!/usr/bin/env python #coding: utf-8 import pandas as pd """ http://www.cnblogs.com/leetao94/p/5460520.html """ import smtplib from email.mime.text import MIMEText from email.header import Header import email.MIMEMultipart import email.MIMEText import email.MIMEBase import os.path def SendEmail(fromAdd, toAdd...
[ "2877992943@qq.com" ]
2877992943@qq.com
2bb80d23bcbcdcfb82fdaaa46297915613b65219
67c15b8c2d993fcaab829af2c23cbe486d9a62ee
/api_service.py
673b87eab3c2cf3f05cfee24557a77effcf1b9b6
[]
no_license
zukdeividas/skelbiu_scrapper
f320fc2f258a28d4fed052d54a858f399bda876d
229aaa0ddcff5c168448a69697db892627bda528
refs/heads/master
2023-02-17T13:26:34.510571
2021-01-16T21:45:22
2021-01-16T21:45:22
328,192,532
1
1
null
2021-01-14T19:13:51
2021-01-09T16:04:58
JavaScript
UTF-8
Python
false
false
2,327
py
from flask import Flask, jsonify, request from flask_classy import FlaskView, route from database.database_service import DatabaseService from database.house_post import HousePost from flask_cors import CORS from sqlalchemy import inspect import os class ApiView(FlaskView): route_base = '/' def __init__(self...
[ "zukdeividas@gmail.com" ]
zukdeividas@gmail.com
97aebf3b47faddfcc092a582e6a9526bbb23a0e1
211c2dcf69b8f82ff202851913255fd692228675
/src/network_mv2_hourglass.py
9e4034bcd1026ad6e3584484c6abbf13573a602d
[]
no_license
FrankYoungchen/CPM
ef92336abc09a144db380e5d1c2c12411cb26f35
5a597cf4d1a06d1fa3dddcdb46c65817cc1dd890
refs/heads/master
2020-05-02T01:53:30.778053
2019-03-28T03:08:04
2019-03-28T03:08:04
177,693,769
4
0
null
null
null
null
UTF-8
Python
false
false
3,630
py
import tensorflow as tf import tensorflow.contrib.slim as slim from network_base import max_pool, upsample, inverted_bottleneck, separable_conv, convb, is_trainable N_KPOINTS = 14 STAGE_NUM = 4 out_channel_ratio = lambda d: int(d * 1.0) up_channel_ratio = lambda d: int(d * 1.0) l2s = [] def hourglass_module(inp, ...
[ "chenyukunin1906@163.com" ]
chenyukunin1906@163.com
48bab39c5a243ecef4065d47d455d1dbd10d2e53
9013d3326424b4923ce204834b42c9594583d638
/cadastros/urls.py
e01e14fc8e857be79b03a518229e4af3ebdadc7d
[]
no_license
eliezerneris/djagorestframework
82a57db91d2c3f5a0cd32ffd35e857b4770308b7
b55c9bec2526faafd3a85d1a77c69137b4278125
refs/heads/main
2023-05-02T02:35:04.252683
2021-05-24T04:30:43
2021-05-24T04:30:43
370,226,592
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
from rest_framework.routers import DefaultRouter from cadastros.views import Ufs, Cidades, Usuarios router = DefaultRouter() router.register(r'ufs', Ufs) router.register(r'cidades', Cidades) router.register(r'usuarios', Usuarios) urlpatterns = router.urls
[ "eliezerneris@gmail.com" ]
eliezerneris@gmail.com
ea3ff6ee4a99f8908a3beb6ceab046be79bce78a
2bef82d96285c9dda75f366aa9c6044afc166305
/game_map.py
22b43edbad557ca576dec64b2a65ef94c06396f0
[]
no_license
enzo-mandine/rogue
9eea8d51659ffe70d777ffe9bb4750e24c91fe43
7903462c74ef4a4e91d46ca30ed354a82125539a
refs/heads/main
2023-09-03T06:25:55.378951
2021-10-29T13:55:19
2021-10-29T13:55:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
import numpy as np # type: ignore from tcod.console import Console import tile_types class GameMap: def __init__(self, width: int, height: int): self.width, self.height = width, height self.tiles = np.full((width, height), fill_value=tile_types.wall, order="F") self.visible = np.full((wi...
[ "55873067+hugo-cerezo@users.noreply.github.com" ]
55873067+hugo-cerezo@users.noreply.github.com
472b9cd073509ff8995e618a730891fe6e41963e
b0c9b7239428a45fd44a26b44673ea0d6d77cd12
/flexibite_com_advance/models/table_reservation.py
21e32906217d7fd4cff5e2dc49ab9059c8c4f17d
[]
no_license
hcalvofernandez/VMP
f13bf948feca41f86b399b9da8949af63a088a1e
701eac3b441237b0c0aa7574c5295ddca37d620a
refs/heads/master
2023-06-24T11:21:33.729025
2020-10-25T04:02:32
2020-10-25T04:02:32
307,545,984
0
3
null
null
null
null
UTF-8
Python
false
false
3,248
py
# -*- coding: utf-8 -*- ################################################################################# # Author : Acespritech Solutions Pvt. Ltd. (<www.acespritech.com>) # Copyright(c): 2012-Present Acespritech Solutions Pvt. Ltd. # All Rights Reserved. # # This program is copyright property of the author menti...
[ "edgardoficial.yo@gmail.com" ]
edgardoficial.yo@gmail.com
2c9c92852f66ce80a379d9a300e3fdffe8422685
5fd2cb72d08454cd5efd4bac12233b701454d01e
/src/Python/Stage_1/segment.py
67e913f98aaba4ccb2bd8028c0ca964a95a809a9
[ "MIT" ]
permissive
gkdas2/vtol_sizing
331e7831fdd5b4d71dd42df77b60ae968761d12f
3f754e1bd3cebdb5b5c68c8a2d84c47be1df2f02
refs/heads/master
2023-06-03T21:40:17.831807
2019-02-09T07:03:26
2019-02-09T07:03:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,718
py
#==================================================================== # Routine to iterate multiple designs # Accommodates changes in AR, nblade, tip speed etc. #==================================================================== #==================================================================== # Access fortran...
[ "ananth.sridharan@airbus-sv.com" ]
ananth.sridharan@airbus-sv.com
3faf5a6a6829da2954c6bca9a85fe86c73e5a2c2
286fcdb146513f9ebc6d440fb6393c7925c0c491
/CSP_Sem1/TURTLE/Testing Files/first_turtle.py
51b16a8129ea7cc275e860e4f2fc0d042254e7da
[]
no_license
LoganHentschel/csp_python
86dc0b305ef44e3e081b6b05e41d96567f5c9bf7
ed408e90a4fec9e4818a365c9e57e7a09ba697e0
refs/heads/master
2020-12-06T07:45:05.573690
2020-04-07T04:34:25
2020-04-07T04:34:25
232,395,261
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
import turtle ##################### turt = turtle.Turtle() # turt.left(90) turt.forward(100) turt.shape('turtle') ### screen = turtle.Screen() screen.mainloop() ###
[ "hentscht@student.psdr3.org" ]
hentscht@student.psdr3.org
c6589d12b3bc378d494176fd7668b370207fba84
8bb1abd35e1e96a4a6f992bbe8d07fd2876eec8c
/amazon/models.py
b04e7fb15d78150303be0b29d77ba56d0de32931
[]
no_license
zhat/system
e5847b7900072e31b574837c5a81d524b8a2fad2
d198fcbe8233d8e1f5df982aec35056b0f6a0866
refs/heads/master
2021-01-23T01:08:40.721897
2018-01-26T08:20:25
2018-01-26T08:20:25
102,430,962
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
from django.db import models # Create your models here. class LoginUser(models.Model): username = models.CharField('username',max_length=128) password = models.CharField('password',max_length=128)
[ "yaoxuzhao@ledbrighter.com" ]
yaoxuzhao@ledbrighter.com
b5d0cbc15786c16668a697187e846da803dffaa5
a461513e330f547b16f57daa2c95b8e13ef6b6ff
/apps/utils/email_send.py
e6e9e41467639fe34457e7115a5ae19aeca706c3
[]
no_license
jxypython/guetonline
5de8373208d993a9f80d3e850e4197001b3862e5
80ae18cc446f718bcadafae7ecf244110d412c5c
refs/heads/master
2021-01-24T01:59:31.555231
2018-02-25T12:22:08
2018-02-25T12:22:08
122,830,849
0
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
# _*_ encoding:utf-8 _*_ __author__ = 'jiangxiaoyan' __data__ = ' 15:05' from users.models import EmailVerifyRecord from random import Random from django.core.mail import send_mail from guetonline.settings import EMAIL_FROM def random_str(randomlength=8): str = '' chars = 'AaBbCcDdEeFeGgHhIiJjKkMmNnOoPpQqRrSs...
[ "31694330+jxypython@users.noreply.github.com" ]
31694330+jxypython@users.noreply.github.com
09959fbc007813a97153e55b336706d844a29ad6
9e0090384cdfd194188587897208f17ed031780b
/05-django-template/pjt05/manage.py
b159b3a3fdc4cf92d6370142cf28cc973586ee6c
[]
no_license
auscanaoy/flask-django-practice
ec1d5dec0d34e3d0100f4107d577bc8061988813
4eef9a3d0371deec9c860949f789f4d60866078a
refs/heads/master
2023-04-03T09:31:04.002674
2021-04-10T05:15:32
2021-04-10T05:15:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'pjt05.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are yo...
[ "ejisvip@gmail.com" ]
ejisvip@gmail.com
a12ae7434248678b0933dd985c885b1b1305ba8d
c6a4dbd156bc3fe58f2160e59bfb3dba7c89d8db
/recsim_ng/applications/recsys_partially_observable_rl/corpus.py
b27609e1b7456627ee552f54b5390a7e4a3b53fc
[ "Apache-2.0" ]
permissive
TrendingTechnology/recsim_ng
4c72721cbd5948e9ef98441c75e444ecae9b8f12
30ac398c788a924b8f1677030cb1421cef60ec03
refs/heads/master
2023-03-14T17:45:59.840931
2021-03-17T22:51:25
2021-03-18T00:37:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,719
py
# coding=utf-8 # Copyright 2021 The RecSim Authors. # # 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...
[ "cwhsu@google.com" ]
cwhsu@google.com
124c566b11061583dd8deb7c339c1629fd4a5c2d
a6894d17fdbceb56d4364f0e279d03b16a181396
/working-env/lib/python2.5/TurboGears-1.0.2.2-py2.5.egg/turbogears/i18n/data/fr.py
b6840bd42c607e4582867cded964637bda4f6444
[]
no_license
thraxil/gtreed
c1c5a19178c1f50ff5e61887b13ff7b004da1d25
ca228848364edb204b15a7411fd6192379781c78
refs/heads/master
2020-04-18T03:02:15.468044
2008-12-10T20:02:12
2008-12-10T20:02:12
88,388
1
0
null
null
null
null
UTF-8
Python
false
false
9,518
py
# Formatting configuration for locale fr languages={'gv': 'manx', 'gu': 'goudjrati', 'gd': u'ga\xe9lique \xe9cossais', 'ga': 'irlandais', 'gn': 'guarani', 'gl': 'galicien', 'lg': 'ganda', 'lb': 'luxembourgeois', 'la': 'latin', 'ln': 'lingala', 'lo': 'lao', 'tt': 'tatare', 'tr': 'turc', 'ts': 'tsonga', 'li': 'limbourge...
[ "anders@columbia.edu" ]
anders@columbia.edu
e21891fa297ee7c4ca8a4e8d84c6160a9d883849
84c5ce2f75ec8d4d9704dc993682ba52745a3e12
/m_layer/m_layer.py
d1b535b8a4da916f3951a00e1000943a97f0ea0c
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
yang-song/google-research
d0610748ae8056cfa2f89345053b386e976a1b82
34119b64214af089db8c675e6a03b30a0f608f66
refs/heads/master
2022-12-16T06:05:40.561237
2020-09-17T20:39:13
2020-09-17T20:42:11
296,450,555
1
0
Apache-2.0
2020-09-17T21:55:10
2020-09-17T21:55:09
null
UTF-8
Python
false
false
3,595
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
f326d396098af535a466262caabde1b751d25673
e8fef7552fb0c354d1084d2b4e7bf16efb7b9021
/tests/__init__.py
de4f4ac5908f313553e18bad2d117aacd1fda75c
[ "MIT" ]
permissive
TristanTTran/feets
180ea67030c88b9eebb77923fe1af6746f654b30
48b16a5f2b95c0a4c05b47a88b396250faf168d6
refs/heads/master
2023-03-28T01:07:48.636265
2021-03-26T01:28:36
2021-03-26T01:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,350
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # The MIT License (MIT) # Copyright (c) 2017 Juan Cabral # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including withou...
[ "jbc.develop@gmail.com" ]
jbc.develop@gmail.com
8113383fefccf206fe5f6d87adab415315fb3db4
43fc3cef176c967a267b51ad61c20b1e8eb886c0
/app/urls.py
35035da4a2ab7f1b60d64b374fb42cbe6bec7ff9
[]
no_license
uenotomoki/dockerdjango
4f7c0278d064637a2d483ba9f275e3af8c22132a
d1a87cbaac13a1cb4237bfcf77b86f21f74e18b7
refs/heads/main
2023-03-10T03:06:00.185192
2021-02-17T00:55:41
2021-02-17T00:55:41
339,262,965
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from django.urls import path from . import views from .views import HelloView urlpatterns = [ path('', HelloView.as_view(),name='index'), #path('form', views.form,name='form'), ]
[ "noreply@github.com" ]
uenotomoki.noreply@github.com
475b8631c82add28bac0708d5e5b19e161ecc05f
6e4030a5c438231442111e48d82df0a78c007e7a
/溫溼度.md
8aa4e8ce87aec005fdc4d8db4bbf78255cce15a0
[]
no_license
06050704/-1
5088ba2fc08788eb39482974590e70ca9dd24630
5c0626e93264bf6dcadf6f09a977e8670798855d
refs/heads/master
2020-09-07T19:30:12.658513
2019-11-11T03:18:41
2019-11-11T03:18:41
220,892,202
0
0
null
null
null
null
UTF-8
Python
false
false
864
md
#!/usr/bin/python3 import sys import time, RPi.GPIO as GPIO import Adafruit_DHT # Parse command line parameters. sensor_args = { '11': Adafruit_DHT.DHT11, '22': Adafruit_DHT.DHT22, '2302': Adafruit_DHT.AM2302 } if len(sys.argv) == 3 and sys.argv[1] in sensor_args: sensor = sensor_a...
[ "noreply@github.com" ]
06050704.noreply@github.com
2e1668cb1d0e2c6510da7192d37983ad1202bccc
8ae48dcf5d4b64583ed40370bb5c2271edeeef89
/EAM_alloy.py
b8c66d611e8db48feccc37e6b08b09f387bc51d4
[]
no_license
1mingfei/pairwise_int_for_Ag-ZnO
2a6dea79848f5582dced8bd7295dd88c366ae339
44c5b275e169190fd6bd4c13b7e1ac5162407c2e
refs/heads/master
2021-09-15T07:35:15.988964
2018-05-28T17:05:13
2018-05-28T17:05:13
113,227,752
0
0
null
null
null
null
UTF-8
Python
false
false
2,366
py
#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt np.set_printoptions(precision=24) def get_setfl(): with open('AgO_hand.eam.alloy','r') as fin: mylines=fin.readlines() Nrho=mylines[4].split()[0] drho=mylines[4].split()[1] Nr =mylines[4].split()[2] dr =mylines[4].split()...
[ "mingfei@umich.edu" ]
mingfei@umich.edu
5a28cf30120ab131a801188f13121ce9e054b8a9
d0b6cfc7b5a1c0b02f6efcf322009129f43a1d16
/experiment_01.py
9e0361d6d096281ed71da3f54fd91029b9b4523c
[]
no_license
boncheul92nd/compareTF
289c1245baef291267c9d06bd90efb8e5e71c3e6
b8524168f67700168685c02f1ab15fea713f57b2
refs/heads/master
2022-03-27T21:03:15.526582
2019-12-13T07:25:16
2019-12-13T07:25:16
209,686,405
0
0
null
null
null
null
UTF-8
Python
false
false
1,592
py
import os import librosa import librosa.display import numpy as np from libs.time_freq_transform import PreProcessor from scipy.spatial.distance import euclidean def main(): dist_list = [] wav_path = 'res/X-PROJECT/' high_definition = PreProcessor( srate=16000, fft_size=2048, fft_ho...
[ "boncheul92nd@naver.com" ]
boncheul92nd@naver.com
363be7c5e8f77010c6cace3079a0f9c6bc5e1787
82c3c05942dcf505b823a7375bf753d7fb92dbce
/Test-Root2Python.py
87eb3f7014b0febd9d898b232c989b31acf69327
[]
no_license
lynch829/PP1011B-Shielding-and-Single-Measurement-Distance-Calculations
7c614d530ecf070c542809fc4abac7653c68f174
f05838f50f7e5031cb9e396b50309e74f89c43bd
refs/heads/master
2021-10-25T13:52:59.106872
2019-04-04T12:34:19
2019-04-04T12:34:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
import numpy as np import math #from matplotlib import pylab as plt from ROOT import TTree, TFile, TH2D, TCanvas, TH1F, gROOT from root_numpy import array2hist, hist2array, fill_hist, tree2array,root2array inputFile="Detector1PS.root" E_kinetic=root2array(inputFile,treename="PhaseSpace", branches="Ekine") #plt.hist(E...
[ "47521143+cc14398@users.noreply.github.com" ]
47521143+cc14398@users.noreply.github.com
2e88341a1c2691fbab2721581e5263645612b4bd
ab2c144d510547f5a77937e07aef24a1b2b521cc
/server/alembic/versions/a204ed7503be_add_dataset_multi_column_index.py
2a2d30366b057fa5178737e130ccf03d13ac03df
[ "MIT" ]
permissive
dbcls/umakaviewer
b9ca43df5a86d6d50ef2a636b6e7b692b0dc7b6e
b32e923883d030f43c22d5d7a03411a45c383963
refs/heads/main
2023-08-21T13:05:35.913311
2022-12-05T03:19:41
2022-12-05T03:19:41
314,558,114
1
4
MIT
2023-03-16T23:45:50
2020-11-20T13:12:42
TypeScript
UTF-8
Python
false
false
1,591
py
"""Add DataSet multi column index Revision ID: a204ed7503be Revises: 39acfd4597da Create Date: 2019-08-05 16:18:40.191399 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'a204ed7503be' down_revision = '39acfd4597da' branch_labels = None depends_on = None def ...
[ "ripry258@gmail.com" ]
ripry258@gmail.com
41783f6cd99c7b929bf77c9029ac35890c0097a7
1bed2f766620acf085ed2d7fd3e354a3482b8960
/script/hassfest/translations.py
9c4f75f1b2d264f2ca51ebbe306546e2a3b05dba
[ "Apache-2.0" ]
permissive
elupus/home-assistant
5cbb79a2f25a2938a69f3988534486c269b77643
564150169bfc69efdfeda25a99d803441f3a4b10
refs/heads/dev
2023-08-28T16:36:04.304864
2022-09-16T06:35:12
2022-09-16T06:35:12
114,460,522
2
2
Apache-2.0
2023-02-22T06:14:54
2017-12-16T12:50:55
Python
UTF-8
Python
false
false
14,840
py
"""Validate integration translation files.""" from __future__ import annotations from functools import partial from itertools import chain import json import re import voluptuous as vol from voluptuous.humanize import humanize_error import homeassistant.helpers.config_validation as cv from homeassistant.util import ...
[ "noreply@github.com" ]
elupus.noreply@github.com
0652bc2fd160fac2c7eef649b456303eafb0b348
78960e5497bc8760dd2e05941d581b6485e40c1d
/23082019/000000.py
f7bd6cf9f19e990656c6f4eb8209485f08164e65
[]
no_license
VicenteCV/MCOC-Intensivo-de-nivelacion
f3119f3980404aa1ff16bddd6f8a68efbf46adea
2604cb043f3d2aab9ee3f07b19b9fab42458f64f
refs/heads/master
2020-07-04T22:19:30.243070
2019-08-30T17:11:51
2019-08-30T17:11:51
202,438,206
0
1
null
null
null
null
UTF-8
Python
false
false
27
py
#5ta entrega #Ciclos while
[ "noreply@github.com" ]
VicenteCV.noreply@github.com
5311c7de6d4c19bc5c23b7024f94490d6e4da152
648f742d6db2ea4e97b83c99b6fc49abd59e9667
/common/vault/oas/models/global_parameters_create_global_parameter_request.py
13908154762177b2ca58227508b96bd210f59d49
[]
no_license
jmiller-tm/replit
c56ce63718f6eb2d9b53bd09d3f7b3ef3496cb86
c8e6af3268c4ef8da66516154850919ea79055dc
refs/heads/main
2023-08-30T00:49:35.738089
2021-11-16T23:09:08
2021-11-16T23:09:08
428,809,777
0
0
null
null
null
null
UTF-8
Python
false
false
6,259
py
# coding: utf-8 """ vault/kernel/core_api/proto/v1/accounts/core_api_account_schedule_tags.proto No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: version not set Generated by: https://github.com/swagger-api/...
[ "jmiller@jmiller-tm00769-mbp.nomad.thomac.net" ]
jmiller@jmiller-tm00769-mbp.nomad.thomac.net
ce1489c8705a7d24c4d83a893c9ac48fb6a4bafa
aa7ae24a2e477497e39f8f8ab2909d84634ad6f9
/huevos aragon.py
fdc62fbb8701a1040c2a264f6c5bd97ce6caa5a0
[]
no_license
nhomar/actions_server
cedf1941c54bb71607c43f577fe0a4bec4d7037e
fd4eccf1f81b9f705fc40345b49d54da265251e5
refs/heads/master
2020-12-25T12:27:41.653581
2019-01-31T08:33:24
2019-01-31T08:33:24
50,902,562
3
10
null
2017-05-05T12:29:59
2016-02-02T07:28:53
Python
UTF-8
Python
false
false
963
py
if object.type =='out_invoice': sol_obj = self.pool['sale.order.line'] for ail in object.invoice_line: domain = [('invoice_lines','=', ail.id)] sol_ids = sol_obj.search(cr, uid, domain, limit=1, context=context) if sol_ids: sol = sol_obj.browse(cr, uid, sol_ids[0], context=co...
[ "sve@openerp.com" ]
sve@openerp.com
7c62a2edf1e8806f334cf02ac667ebbb23b0f4f1
79ab8d3b618e9012eafa086f3ff7cfefeb6860d6
/2443.py
bb0e520517d02b8f5b24a784bbaefaf1e2f8bc0a
[]
no_license
jaewon1676/beakjoon_python
7dc3ea6c8f13128622aaed5e21e6953144b40417
abd899e65bffd8174485e12601535a86b4d31c20
refs/heads/main
2023-07-19T16:51:40.913033
2021-09-06T14:58:55
2021-09-06T14:58:55
351,048,993
1
0
null
null
null
null
UTF-8
Python
false
false
102
py
# 별 찍기 - 6 n = int(input()) for i in range(n, 0,-1): s = print(' ' * (n - i)+'*'* (i*2-1))
[ "jaewon1676@daum.net" ]
jaewon1676@daum.net
27b7bea7760d2aae277db6002c3ca2da3c455373
b8842700c2e071408bfab20bd499c6a4a47d0ccc
/week8/longest_subseq.py
235e90d05bcab9175a7c4d4306fc0cd8ada18942
[]
no_license
kobso1245/Algorithms
c74439b662d32b116b8ea3c7e6958b77d1a85bf5
1566a3b5e636f6a83f486382f17bff640da923a4
refs/heads/master
2016-08-10T10:11:14.314792
2015-10-05T21:36:45
2015-10-05T21:36:45
36,860,975
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
def longest_subs(elems): table = [(0, "") for x in range(len(elems))] max_elem = elems[0] curr_max_elem = 0 max_length = 0 max_pos = len(elems) for i in range(len(elems) - 1, -1, -1): curr_max_elem = 0 curr_max_index = i for j in range(i + 1, len(elems)): if e...
[ "kalo.evt@mail.bg" ]
kalo.evt@mail.bg
200c75fdff4fa1317c02a08f43dc506d3c02c506
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/330/usersdata/302/93449/submittedfiles/lista1.py
3c901a262a68d819c6cfc03bf35fedd1961bb928
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
# -*- coding: utf-8 -*- n = int(input('DIgite a quantidade de valores da matriz: ')) a = [] for i in range(0,n,1): a.append(float(input('Digite a%d:' %(i+1))))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
86cf6cf2c635a1fb3cadc1d87d5adc8f74b20a96
0696d4a27f64ebf47e4a65b3efe627d97dd85373
/Flow_Assignment-2.py
a72a91997c55dc939c98daee848091b96cd574a4
[]
no_license
aiman92cs/Computer-Networking-Internet-Technology
172667331ff8c4b29cd5d2200124889fdd6212ad
83855bc91cd6b3793a167288c6a6a310f889f8db
refs/heads/master
2020-06-26T08:02:45.765283
2019-07-30T06:10:14
2019-07-30T06:10:14
199,579,006
0
0
null
null
null
null
UTF-8
Python
false
false
8,163
py
""" COSC364 Flow Planning WRITTEN BY: Aiman Hazashah Ariel Evangelista - aev35 """ # ============================== # IMPORTS import os import time # GLOBAL VARIABLE(s) filename = 'flow.lp' # file to be created cplex_path = "cplex" # cplex path # ============================== def get_input(): ...
[ "noreply@github.com" ]
aiman92cs.noreply@github.com
b74c18b3534dbc36ce394382938284999d1612c4
d9f774cd9b42b1e17625bcb028a3ec821f4cb914
/week1/utils.py
637c7e59a2bcba872b5722ae7f11ae0c3407e991
[]
no_license
AdriBesson/Statistical_learning_course
c1f2adb4aae78d4cfcc2f2d11d560713696016cf
31675cf88294a1cf3c635a254d849a794f5e4ac5
refs/heads/develop
2021-09-03T00:47:00.053621
2018-01-04T09:55:32
2018-01-04T09:55:32
104,462,446
2
1
null
2017-11-17T08:25:52
2017-09-22T10:27:23
Jupyter Notebook
UTF-8
Python
false
false
1,531
py
import numpy as np def compute_my_ls_estimate(x, y): # Compute X'X cov_mat = np.matmul(np.transpose(x), x) # Compute ((X'X)^-1)*X' if isinstance(cov_mat, np.float): inv_cov_mat = 1.0/cov_mat ls_matrix = inv_cov_mat*np.transpose(x) else: inv_cov_mat = np.linalg.inv(cov_mat) ...
[ "adrien.besson@epfl.ch" ]
adrien.besson@epfl.ch
28bf353840c0525c02bc197bea4bf7091890505e
1453f515b4c3aaacef3816d8eda4b96322efa382
/Assignment-3/RF.py
7398a686e512292d17330c9faec2c3e8edd65ff6
[]
no_license
manojis/Data_Analytics
f062867526eefcc093d10ba565e904561b75b332
d06da58c87119342a61d0f5bcab76c908b9755c8
refs/heads/master
2020-03-27T06:55:41.865701
2020-03-22T09:16:28
2020-03-22T09:16:28
146,147,529
0
0
null
null
null
null
UTF-8
Python
false
false
3,520
py
""" @author Manoj.Mohanan Nair @Date 03/14/20 @Description: Dimensionality Reduction with PCA technique @Reference: https://github.com/JonathanTay/CS-7641-assignment-3 which was used as a reference in creating my own code. """ import pandas as pd import numpy as np from sklearn.preproce...
[ "manojm_nair@outlook.com" ]
manojm_nair@outlook.com
33130204f362dd7b187f2f589caaaff1f6d199b6
70fb0e9b887acab225bc92b7fa1135ba30372119
/Week_03/二叉树的最小深度.py
fbaf03fa4187fdf8e609ea05c3e075c9a4b11126
[]
no_license
suzySun345/algorithm011-class02
c328cda83aa4dab8463e3f8272c3b9422c5c64ea
e3459890c45f0fd7484949a11c3e160fe295241a
refs/heads/master
2022-12-08T11:47:27.430362
2020-08-31T09:02:34
2020-08-31T09:02:34
273,911,169
0
0
null
2020-06-21T13:36:13
2020-06-21T13:36:13
null
UTF-8
Python
false
false
374
py
class Solution(object): def minDepth(self, root): """ :type root: TreeNode :rtype: int """ if root == None: return 0 left_depth = self.minDepth(root.left) right_depth = self.minDepth(root.right) s = min(left_depth,right_depth) l = ...
[ "sunsunsisiyu@126.com" ]
sunsunsisiyu@126.com
98786ab74f227844128d806071b7d54da62ff021
756bbf5d4d26b42ea7bcad0f00b11c4cbc1f76ff
/rnnfile.py
e711af23a618afc0edf9304b530b6eb1a8652404
[]
no_license
Sukhdeep99/Remote-Sensing-Image-Classification-Tool
3451bd9a80608aef5af8345807ac920a9e54629a
54c192a20d04d4effa7a06c87966e696098936b6
refs/heads/master
2020-06-28T00:37:41.213313
2019-08-01T17:57:58
2019-08-01T17:57:58
200,094,819
0
1
null
null
null
null
UTF-8
Python
false
false
18,049
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from tkinter import * from tkinter import ttk,StringVar,IntVar from tkinter import filedialog from PIL import ImageTk, Image from osgeo import gdal from tkinter import messagebox import tkinter.messagebox import...
[ "noreply@github.com" ]
Sukhdeep99.noreply@github.com
c9531c718974feb559bfdd0cdbde31e32a12d72a
597f9fdfdc0bf01ded7669107a8a506f90d4c9f4
/problems/128_最长连续序列.py
a5be0382e1340875bb60f117a007dd7b473c9146
[]
no_license
coolboygym/leetcode-python
ed315ceb2a63d3253d60d67bfafc0d0f27732db8
88dd2146a963b25cc5d95384e12305e25578e621
refs/heads/master
2020-04-29T03:17:08.957360
2019-05-19T16:23:30
2019-05-19T16:23:30
175,803,045
8
3
null
null
null
null
UTF-8
Python
false
false
837
py
class Solution(object): def longestConsecutive(self, nums): """ :type nums: List[int] :rtype: int """ # 参考:https://leetcode-cn.com/problems/longest-consecutive-sequence/comments/13385 # O(n)复杂度优先考虑哈希表 想清楚key和value分别是什么 hash_dict = dict() max_length = ...
[ "gym2015@qq.com" ]
gym2015@qq.com
8cab479aead0b05b07915bd2b9ec453d151bf9d4
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_capsules.py
32a574bf1d186e135bc230087ec65675e0aa1fde
[ "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
226
py
#calss header class _CAPSULES(): def __init__(self,): self.name = "CAPSULES" self.definitions = capsule self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['capsule']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
12f159b5cb51056d3aa2a0c1960d1e41b4d15d73
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/73/73.set-matrix-zeroes.661615342.Accepted.leetcode.python3.py
e41b638e253235c385e74103532f377b5bc54df6
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
652
py
class Solution: def setZeroes(self, matrix): if not matrix or not matrix[0]: return h = len(matrix) w = len(matrix[0]) rows_to_remove = set() cols_to_remove = set() for i in range(h): if i not in rows_to_remove: for j in range(w...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
bede46778ebd5c5b26490fecc38fe70f71dea335
b3ee8faf7712be6edbb2e800602784125082fe90
/tensorflow/contrib/distribute/python/parameter_server_strategy_test.py
adfe3e8b020521d9c2c409da7c6d79e0ba060330
[ "Apache-2.0" ]
permissive
AudioStreamTV/tensorflow
dc6b657012e368c5c9bc84c370ec51d49ab5f1fc
7277ed8ed2da84b227295216632dec52a81f63b3
refs/heads/master
2020-03-27T02:43:28.244731
2018-08-27T08:39:42
2018-08-27T08:39:42
145,813,674
0
0
Apache-2.0
2018-08-23T06:55:46
2018-08-23T06:55:46
null
UTF-8
Python
false
false
17,881
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
b0a956e4699024f239848cc1dc6433a96452883c
8aa762d4fde241a8462a0e6840922b60599a018a
/flask_api/app.py
a669a7cf22eb3978c1be65190b4c5270e55ad377
[]
no_license
SidNimbalkar/Predict-book-genre-from-cover
ebfb1039feaab80c5abd8ff4255f08f816449813
f9c84c60e3f3e8c3267049a935f9433f5ad7ebd8
refs/heads/master
2022-04-22T03:28:30.978247
2020-04-26T23:17:13
2020-04-26T23:17:13
259,152,687
2
0
null
null
null
null
UTF-8
Python
false
false
751
py
from flask import Flask import werkzeug import keras.models import numpy import scipy.misc app = flask.Flask(__name__) @app.route('/predict', methods = ['GET', 'POST']) def handle_request(): imagefile = flask.request.files['image'] filename = werkzeug.utils.secure_filename(imagefile.filename) print("\nRec...
[ "noreply@github.com" ]
SidNimbalkar.noreply@github.com
1dd098ba87d2cc93834c8b838a5ba883e717db54
d71feb7711aaf850d1a0938755f7df894904fa83
/mailschedule.py
6b222d0fb7d6695dc43a5dd63cdd27971dc6532e
[]
no_license
AGobika/Action_Class
7da28ed6741ca69dced12bcf628442f077911575
b840e08a9f149df2b3886fead08492dc2cbcbf06
refs/heads/master
2023-07-14T09:13:15.356838
2021-08-24T05:38:48
2021-08-24T05:38:48
399,347,833
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
from subprocess import call import os import schedule import time def gmail(): call(['C:/Users/gobika/AppData/Local/Programs/Python/Python39/python.exe', '-m', 'robot', 'C:/Users/gobika/PycharmProjects/Chess/TestCase/mail.robot']) schedule.every(5).seconds.do(gmail) # schedule.every(5).hours.do(gmail)...
[ "gobika.a@terralogic.com" ]
gobika.a@terralogic.com
881cf41b0fc345c9daa12685153d327de017fb1e
7f61bbf31ebc17042572214acf864d6fb100729c
/data_sets/cifar10_data_set.py
c6d70e91bfc023a43e3603b538caad0d9f23ae51
[]
no_license
lj-sandjakoska/weight-initialization-relu-and-output-layers
daeb79e83b8d5c8266a55596a30334df08962884
cd97909f0e50d30b453fab5abac537117ddcad3e
refs/heads/master
2021-01-04T03:04:46.929090
2019-05-30T17:14:03
2019-05-30T17:14:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
import keras from keras.datasets import cifar10 import random class CIFAR10: num_classes = 10 image_width = 32 image_height = 32 image_channels = 3 num_training_examples = 50000 num_testing_examples = 10000 @staticmethod def get_data_set(): (x_train, y_train), (x_test, y_test...
[ "noreply@github.com" ]
lj-sandjakoska.noreply@github.com
089219df0c11e00afe410ebde7f5b60be9238499
6092d481d042ae9383454f29567be7f4d0847fd9
/3vm-demo/trex/v2.35/automation/trex_control_plane/stl/services/scapy_server/unit_tests/test_scapy_service.py
656290ea4cf17de109b14e8edda3e1886df38910
[]
no_license
ilsffun19/ovs-dpdk
02971cc31190eb70264499dbdd3fb20cb3fd1b8f
d760f1fd8f76513caa665a6dbec65ce1f0c1ecc7
refs/heads/master
2020-04-03T17:54:27.838112
2020-03-30T19:20:37
2020-03-30T19:20:37
155,463,472
2
2
null
null
null
null
UTF-8
Python
false
false
15,122
py
# # run with 'nosetests' utility import tempfile import re from basetest import * RE_MAC = "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$" ether_chksum_sz = 4 # this chksum will be added automatically(outside of scapy/packet editor) TEST_MAC_1 = "10:10:10:10:10:10" # Test scapy structure TEST_PKT = Ether(dst=TEST_MAC_1)/IP...
[ "irene.liew@intel.com" ]
irene.liew@intel.com
22bbd73f990b818557acbb3846c45079f89ee5e8
a504228cfa00ac072d33f4807e0007914af6d449
/ifc_model/geometry/segment.py
1de7e00fdd69bb8b4fadcc0ca781ef5f3e3fa172
[ "MIT" ]
permissive
xeolabs/python-ifc-model
d21141ea1ef0f522ce8a1a4e882afdfd901d1290
f593a72703cdb460e493c48c9f39ee20eb729ecc
refs/heads/master
2020-04-13T17:52:21.220874
2018-11-20T12:45:16
2018-11-20T12:45:16
163,358,339
1
1
null
2018-12-28T02:54:01
2018-12-28T02:54:00
null
UTF-8
Python
false
false
1,647
py
from .relations import Relations from .point import Point ''' segment either an IfcPolyline or an IfcTrimmedCurve ''' class Segment(Relations): def from_json(self, data): super(Segment, self).from_json(data) self.type = data['type'] if self.type == 'Polyline': self.points = self...
[ "self@andreasbresser.de" ]
self@andreasbresser.de
21234f9477d0dd888a3c7314462cefded4c5dbf6
df6e719b603c75e0ef60771ff0b7effe02ae1529
/SmartWatch_Dashboard/HealthTracker/migrations/0002_patient_username.py
3fd9984480ab93ac3c651a6d6675285e6088dcbf
[]
no_license
Romansth/heart-disease-api
9e26af004e3857ea914c2a074e28e47848e443f8
1399469c90d4456022dafc823c5faec146c96526
refs/heads/master
2023-07-04T17:03:54.145970
2021-08-08T06:05:29
2021-08-08T06:05:29
384,603,849
2
4
null
2021-08-08T06:05:29
2021-07-10T03:45:28
JavaScript
UTF-8
Python
false
false
397
py
# Generated by Django 3.2.5 on 2021-07-15 14:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('HealthTracker', '0001_initial'), ] operations = [ migrations.AddField( model_name='patient', name='username', ...
[ "roman.shrestha312@gmail.com" ]
roman.shrestha312@gmail.com
cf62b222d79fef07ac249a28f315c40fe7cc7a9b
18c1f8b96ce78659e201c7fc3ff282d7c9eee0e3
/Web Scrapping/myprojectscrapy/myprojectscrapy/middlewares.py
08e4404a4d3102b261efbec9095421c1c5d48811
[]
no_license
par1hsharma/Machine-Learning
31867358f130b7f499e0b77ce06310a40cb0d7b6
ad71aaa64796e95f013ffe442144226d6945dfce
refs/heads/master
2023-08-18T11:00:56.394325
2021-09-23T05:43:55
2021-09-23T05:43:55
409,460,408
0
0
null
null
null
null
UTF-8
Python
false
false
3,666
py
# Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals # useful for handling different item types with a single interface from itemadapter import is_item, ItemAdapter class MyprojectscrapySpiderMiddle...
[ "parthsharma@Parths-MacBook-Air.local" ]
parthsharma@Parths-MacBook-Air.local
cd4d6063ab5add89fd9bab90ce8c601d12978415
021d97bfed7518b812919ff7632859235eabe6dc
/PA4/hmm/tagger.py
3b9408b5c6f39a5c0bb47b0a8152ecafbbc41ebd
[]
no_license
pipixia10086/Machine-learning
a571549e9d6d833f24aa2c7a5bf2a23d4ca732d0
e46c2b3a9a729cb1abbf551b00900d74f827e9a2
refs/heads/master
2020-12-09T13:48:27.742233
2020-01-12T01:58:53
2020-01-12T01:58:53
233,323,092
0
0
null
null
null
null
UTF-8
Python
false
false
2,820
py
import numpy as np from util import accuracy from hmm import HMM from collections import defaultdict def model_training(train_data, tags): vocab = set() for line in train_data: words = line.words for w in words: vocab.add(w) observations = list(vocab) obs_dict = {o: i for i...
[ "yangziyao96@163.com" ]
yangziyao96@163.com
9dec5d997448753349a820e26e2e8551873c65f0
3f00fcea47ea4c49be892a0c9733e5082ca02683
/main.py
9c4d7b0026216b8cfb78b7b148ae1f5272e99b71
[]
no_license
gabrielpsdm/Prova2
f30d5ee9c4d8675945f7e3b7dd54de6db9391abc
6f38ddd78828ffc27cc99f3b9f0598f5dde024ab
refs/heads/master
2022-02-19T21:08:01.953562
2019-05-25T01:44:43
2019-05-25T01:44:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
# RA: 21800179 from flask import Flask, render_template, request from flaskext.mysql import MySQL from bd import * import webbrowser app = Flask(__name__) mysql = MySQL() mysql.init_app(app) app.config['MYSQL_DATABASE_USER'] = 'root' app.config['MYSQL_DATABASE_PASSWORD'] = 'root' app.config['MYSQL_DATABASE_DB'] = ...
[ "gabrielpsdm@hotmail.com" ]
gabrielpsdm@hotmail.com
b43371ed5b350666c780f23524655c92cfef2f34
7c7236aa95ebebe241f04b98d55f3033b19dadc2
/cms/venv/Scripts/pip3.6-script.py
c9130b7fc695e3c6029ee434982930129888e925
[]
no_license
taisuo/cms
57d792bb47d85bf6a4a39558a1bc34457a355c26
dd8baa834d6426a2ce7406ea0b74eab252ef7789
refs/heads/master
2020-08-03T13:49:44.754754
2019-10-08T04:00:21
2019-10-08T04:00:21
211,765,786
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
#!G:\pythonwork\server\cms\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3.6' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.ex...
[ "3148378928@qq.com" ]
3148378928@qq.com
65e01bb9ea95445f0fbc344d59c8cffc72df0c29
a399a9024d502e3e23b78196b9d40afc25b30100
/blog_api/tests.py
ebbab2b3dc161292a3633621b44dc93441ee3cf6
[]
no_license
nivaskambhampati1998/Guide-Me
ef47d4fdb7614721b05311bda916e7eb702ba58a
d029b680f1a08a45ccddfc02c23f6e4b154814ca
refs/heads/master
2023-04-20T06:14:11.328235
2021-05-13T06:56:38
2021-05-13T06:56:38
343,045,833
0
0
null
null
null
null
UTF-8
Python
false
false
4,343
py
from django.urls import reverse, resolve from rest_framework.test import APITestCase from blog_api.views import PostList, PostDetail from accounts.models import User from blog.models import Post, Review class TestBlogUrls(APITestCase): def test_detail_create_url(self): url = reverse('blog_api:detail_crea...
[ "nivaskambhampati1998@gmail.com" ]
nivaskambhampati1998@gmail.com
34307cffb1dbe1d4624d546cc3c769cddd19f8a4
6f6ee47f87d94f48c55092a9edade1f896ccec63
/tf_kmeans.py
b2d069c7725be5c2e87ccae566adcce43ee2d480
[]
no_license
neb330/BlackHoles
f91639b5030b58a64854663f65c93d1763ba5a56
e48b3abf3f7b22bd7b5cb950d038dd623aa0afc5
refs/heads/master
2021-01-13T10:02:29.376187
2016-12-20T03:50:09
2016-12-20T03:50:09
72,152,752
0
2
null
2016-11-30T02:50:18
2016-10-27T22:19:36
Jupyter Notebook
UTF-8
Python
false
false
4,611
py
import os import numpy as np import astropy.io.fits as fits import matplotlib.pyplot as plt from sklearn.cluster import KMeans import argparse import csv import tensorflow as tf parser = argparse.ArgumentParser() parser.add_argument("--sub_ts", default=128, type=int, help="Length of sub-time series intervals.") pars...
[ "neb330@nyu.edu" ]
neb330@nyu.edu
75ba61e3f48abb9ef1288e7afe35383510ac8c68
c053a3f58d46ccd0e3fc6b619097d4d1ce99b8a6
/wshubsapi/test/utils/message_creator.py
6098cdce2e8efc76f30bae05f8f26ad0b099b585
[ "MIT" ]
permissive
JorgeGarciaIrazabal/WSHubsAPI
2eafff9c6666ef17cd5d1e7390100ee145cdc864
df4f5a89edc120c0e8b12060aef921e5eec6b0e6
refs/heads/master
2020-12-27T20:38:14.622048
2017-03-26T03:33:02
2017-03-26T03:35:29
36,126,930
11
2
null
2017-04-22T18:29:47
2015-05-23T14:30:54
Python
UTF-8
Python
false
false
839
py
class MessageCreator: @classmethod def create_replay_message(cls, **kwargs): message = cls.__get_default_replay_message() message.update(kwargs) return message @classmethod def __get_default_replay_message(cls): return { "success": True, "reply"...
[ "jorge.girazabal@gmail.com" ]
jorge.girazabal@gmail.com
43add8284ecda6e54188db15b7f2e99e9e457a49
3ae2f7a51a50c79f24045564907865cbfb176f4d
/JacquardPro/PLineView.py
99dca3c3dabcec24b6f92d214379e8b477b9ecf3
[]
no_license
daisunqian/clothestest
d401744252ce698593481e7254eb2c53d2d1a180
9cc8ed6ffe7610d35a181381d1fa6d987ec43002
refs/heads/master
2021-07-15T07:06:28.563146
2019-05-24T01:32:55
2019-05-24T01:32:55
188,331,136
0
1
null
2020-07-22T05:28:12
2019-05-24T01:27:02
Python
UTF-8
Python
false
false
4,294
py
# -*- coding=utf-8 -*- from ut import PLineui from PyQt4.QtGui import QPainter, QApplication, QColor,QWidget from PyQt4.QtCore import pyqtSignal from PyQt4.QtCore import Qt,QRect class PLWidget(QWidget): changedlinevalue = pyqtSignal() def __init__(self, value, parent=None): super(PLWidget, self)._...
[ "654251408@qq.com" ]
654251408@qq.com
fdac8e14537f401c50219a2c7b24630aa9c99ea5
f5841aeb20df36a9b166d497b3c04c8f18fc6fe1
/mean_var_std.py
3f964207d5a7d45317f71e38151ac9109a49a11a
[]
no_license
triantafillu/Mean-Variance-Standard-Deviation-Calculator
46302e260dde469c5276bf1f2ffe3f091dfca252
cd1eacbb0b94031857d44d7462a8ab1b53140e6b
refs/heads/main
2023-01-28T04:20:02.174039
2020-12-10T19:09:26
2020-12-10T19:09:26
320,336,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
import numpy as np def calculate(list): #Check whether the matrix is 3x3 if len(list)!=9: raise ValueError( "List must contain nine numbers.") #Transform list to matrix matrix = np.array(list).reshape((3,3)) #First column (array of first element of each row) ax1_1=np.array([matrix[0, 0]...
[ "69384527+triantafillu@users.noreply.github.com" ]
69384527+triantafillu@users.noreply.github.com
0bbb7d6b0b8bbb448b632364df7975b2df4298bc
44f99ff2284baa89b4bcbd2bd10ac9b3e3de7b1d
/midterm_project/src/model_train/config.py
0a61c136da6d9b932c0a453ec1c54b13cc331540
[]
no_license
HowardWang0915/EE2405
a502d683d0d3eee2976059c8d0d9c5f8bc1a3ebc
b77a7d09007e0c5e1f24decca3de2237b2c488ce
refs/heads/master
2022-06-13T10:27:04.272760
2022-06-10T11:25:31
2022-06-10T11:25:31
244,856,147
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
DATA_NAME = "accel_ms2_xyz" LABEL_NAME = "gesture" # label name (you should keep "negative" in the end of the list) labels = ["ring", "slope", "oneshape", "negative"] # data split configuration # note that train_ratio + valid_ratio + test_ratio = 1 train_ratio = 0.6 valid_ratio = 0.3 data_split_random_seed = 30 # mo...
[ "howardwang99915@gmail.com" ]
howardwang99915@gmail.com
73450c3296e8034de7cb80a6193f3d45d296b9e8
dad081459d204349db0852f8e55a366b36b52b37
/venv/bin/wheel
414fdf58787336146cca47c1e5cb93c84f62d631
[]
no_license
DennisMufasa/FirstFlaskApps
78241f4be6145132bb6b03e692fc4d9d62b83687
b5098718c1824077a6390a7dcfd924ad728d607a
refs/heads/master
2020-03-17T17:19:04.375419
2018-05-17T08:34:00
2018-05-17T08:34:00
133,783,613
0
0
null
null
null
null
UTF-8
Python
false
false
255
#!/home/mufasa/PycharmProjects/practiseII/venv/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "denny.muasa@gmail.com" ]
denny.muasa@gmail.com