blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
41362c6f99bb8f283f580c623b5714413bdd9cef
b201a0a88022b4c567f9c74346d60ab17f46ef64
/supervised_learning/0x08-deep_cnns/0-inception_block.py
c25e5a099742a0fae8f1a181e73471d332ce9741
[]
no_license
Diegokernel/holbertonschool-machine_learning
929d9b8ac0fcdecbf28b76c09799f86c4b48d38e
a51fbcb76dae9281ff34ace0fb762ef899b4c380
refs/heads/master
2020-12-21T18:34:03.579632
2020-10-15T20:51:32
2020-10-15T20:51:32
236,523,731
0
1
null
null
null
null
UTF-8
Python
false
false
2,189
py
#!/usr/bin/env python3 """inception""" import tensorflow.keras as K def inception_block(A_prev, filters): """Builds an inception block as described in Going Deeper with Convolutions (2014). The concatenated output of the inception block """ convly_1 = K.layers.Conv2D(filters=filters[0], ...
[ "777@holbertonschool.com" ]
777@holbertonschool.com
8322a2c07c17fe1cd805876a8fee7ffdca153b09
0bc7c8dd58c21e7d8e97505a9b2000693a166ab4
/main_run.py
43972a47e31942d5b076dafcd3c3b80fa57b88ef
[]
no_license
yishait/weather-api-task
409e6f6675f92824c5b8ff9c0818b9955f06bfe1
026b55b7f34bfdc303a43dbfff39b555d51787fc
refs/heads/main
2023-07-03T00:05:38.997465
2021-08-05T18:35:41
2021-08-05T18:35:41
389,721,041
0
0
null
null
null
null
UTF-8
Python
false
false
3,287
py
from re import sub import git import os import docker import subprocess from distutils.dir_util import copy_tree from kubernetes import client, config import time dir_path = os.path.dirname(os.path.realpath(__file__)) docker_client = docker.from_env() def create_env_file(token,port,version): os.chdir("weather-api...
[ "yishaitamir@Yishais-MacBook-Pro.local" ]
yishaitamir@Yishais-MacBook-Pro.local
cbe25d4bf7034693f7802854370f57d2613764e5
95fbe4d192023772371c2c9237fdac709eb1d50d
/results_plot.py
45eaa889800faa2f760ccc84cdbfc33e16a8afcd
[]
no_license
webclinic017/Smoothed-ROC
09acc670ca4b6ac41b89ae0d4a93d0d56e38d628
7a6821ed2458300c322c196dc2cf88403fabc8ce
refs/heads/master
2022-04-12T07:52:21.462055
2020-03-05T23:58:26
2020-03-05T23:58:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
import plotly from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot plot([{'x': [1, 2, 3, 4, 5], 'y': [1, 2, 6, 4, 1]}])
[ "ross_coates82@hotmail.com" ]
ross_coates82@hotmail.com
4e51d58775128567ba21c9cd272863ab3822acc4
fe17eba60456b04ea8750fe49881d565bb561201
/Readh5.py
eda560c134f070c976b3e47e5acba7e055cad8ac
[]
no_license
Rodanna/DarkAntiGravity
8654960d849b5716fad0523ebc3a86244cad36c2
59b512c56f680a65bc2a14e369f55424db53d89f
refs/heads/master
2023-04-14T23:07:51.232434
2022-12-19T09:53:38
2022-12-19T09:53:38
461,798,061
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 27 16:13:36 2022 @author: Anna Rodriguez """ import h5py import numpy as np import matplotlib.pyplot as plt with h5py.File("data.h5","r") as f: print("Keys: %s" % f.keys()) a_group_key = list(f.keys())[0] ds_arr = f[a_group_key][()] # returns as...
[ "noreply@github.com" ]
noreply@github.com
f1e2664fa2d0bd72aa21b35789a9c70c94b02c4b
29bd55d171733586f24f42151d44f4312b6a610e
/keras/keras09_R2_test_answer.py
290e451c6c941e5b4cc6a1795f1120eefece9faa
[]
no_license
votus777/AI_study
66ab1da2b8e760d0c52b0ed2b2f74158e14f435b
f4e38d95690c8ee84d87c02dc20a1ea59c495f04
refs/heads/master
2022-12-04T15:52:14.855624
2020-08-20T06:12:52
2020-08-20T06:12:52
262,975,960
1
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
''' * 정답 * Overfitting이 나게 해라! epoch를 컴터지기 직전까지 돌려라 단 너무 많이 돌리면 - 값이 나온다. ''' # 1. 데이터 import numpy as np x_train = np.array([1,2,3,4,5,6,7,8,9,10]) y_train = np.array([1,2,3,4,5,6,7,8,9,10]) x_test = np.array([11,12,13,14,15]) y_test = np.array([11,12,13,14,15]) x_pred = np.array([16, 17, 18]) # 2....
[ "votus777@users.noreply.github.com" ]
votus777@users.noreply.github.com
7efd7bacbcbce83194fa14d887cdaec9746271a3
714e36b745a5b2b5fc4e9b267b3fa214a9fa3d9a
/scripts/matplotlib/32plot_multi_ax.py
2d24a31b7ad2f8682a42094864e96bfd9abaa085
[]
no_license
j3ffyang/ai
e89b4618c96e2085f37047c88d95f89d0a5409c9
5da753d2a1c9793564a32ac80911c1d2e35e8605
refs/heads/master
2022-12-10T21:12:48.432682
2020-08-12T07:56:11
2020-08-12T07:56:11
141,972,057
2
1
null
2022-11-22T02:55:29
2018-07-23T06:37:15
Python
UTF-8
Python
false
false
251
py
import matplotlib.pyplot as plt fig= plt.figure(figsize=(10, 5)) ax1= fig.add_subplot(121) # 1= axes lie horizontally, 2= 2 cols ax2= fig.add_subplot(122) ax1.bar([1,2,3], [3,4,5]) ax2.barh([0.5, 1, 2.5], [0, 1, 2]) # horizontal bar plt.show()
[ "j3ffyang@gmail.com" ]
j3ffyang@gmail.com
3636b632fddc5925ce86749222c2ca217280b080
ac151e59c24e8b129dfa9fce938f2729dbe1f763
/oracle/find.py
16b7145af4dd72d8cff3276dd5ae78d7f845297d
[]
no_license
Thancoo/proxymask
66eca744238e882a2f0466cbd7de1cdc26971a41
37ad6b4a8fd3b4ad86f1d85dd73cef3e23ff108c
refs/heads/main
2023-04-08T23:47:50.613770
2021-04-21T07:14:11
2021-04-21T07:14:11
397,913,417
1
0
null
2021-08-19T11:04:41
2021-08-19T11:04:40
null
UTF-8
Python
false
false
437
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/5/18 18:34 # @File : find.py # @IDE : PyCharm class OracleFindData: def __init__(self, conn): self.conn = conn def find_schema(self): pass def find_database(self): pass def find_table(self): pa...
[ "vadonical@gmail.com" ]
vadonical@gmail.com
8070b6efb2a8f1d101560bbf2d7098e4e859e3dd
e7ae54a18f187cb7539a0b2a134fe93e9afcbbe0
/htools/autodebug.py
9bcdac86e6a3dadb08a25251473324cb1d6d551c
[ "MIT" ]
permissive
hdmamin/htools
b212f6dd3a910ad23de694e4202f9f513c8db52f
3905b46e9ed713dcd753108bee0eeb05b8a18aa4
refs/heads/master
2023-05-12T02:26:29.931781
2023-04-27T05:17:25
2023-04-27T05:17:25
177,682,148
1
1
MIT
2020-03-30T17:28:42
2019-03-25T23:49:36
Python
UTF-8
Python
false
false
1,776
py
"""Importing this module will cause us to enter a debugging session whenever an error is thrown. It is not included in `from htools import *` because this is rather extreme behavior. Examples -------- # Enable auto debugging session on error. from htools import debug # Revert to default python behavior. autodebug.di...
[ "hmamin2@dons.usfca.edu" ]
hmamin2@dons.usfca.edu
637294feb6424a6229c798af7673ec45462eb36b
6f1034b17b49f373a41ecf3a5a8923fb4948992b
/pychron/entry/providers/geodeepdive.py
5b215e86d942b7a12705bd99e2a5055fe0130c7a
[ "Apache-2.0" ]
permissive
NMGRL/pychron
a6ec1854488e74eb5d3ff53eee8537ecf98a6e2f
8cfc8085393ace2aee6b98d36bfd6fba0bcb41c6
refs/heads/main
2023-08-30T07:00:34.121528
2023-06-12T17:43:25
2023-06-12T17:43:25
14,438,041
38
28
Apache-2.0
2023-08-09T22:47:17
2013-11-15T23:46:10
Python
UTF-8
Python
false
false
1,128
py
# =============================================================================== # Copyright 2019 ross # # 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/LICE...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
b51e189bfab97da28f461865af869b5c31b38c4a
8e509c12c643845ee70115683a248679ef6e4089
/Phylo/rename_and_concat.py
68ef2c09ff34377a2469fdfa87beb5e1eeed04ac
[ "MIT" ]
permissive
skhan45/VirusDiscoveryProject
5f636e6ebee9ed7f2b008cd6d9f4da1c7845fb5e
244c9db34c434fbe7ec60af6e425639396fbff9a
refs/heads/master
2022-04-09T02:57:45.743764
2020-03-08T00:46:30
2020-03-08T00:46:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,616
py
""" THIS WILL ONLY WORK WITH FASTA FILES THAT HAVE THE SEQUENCE ON A SINGLE LINE - it's a hackathon, what did you expect? Contact: kylemlevi@gmail.com USAGE: python3 rename_and_concat.py -i path/to/my_fastas/ -o all_seqs.fasta -c This script will read in a directory of files, ignoring any non .fasta files and...
[ "kylemlevi@gmail.com" ]
kylemlevi@gmail.com
8f304b7f865adf1b910f47d4f554e7f22e87c2c7
b6406cd1e6d951934e762ec2ac925cddf4716ae9
/verification_feed/app.py
f72a52e96e4339287768e573bf79e527800013db
[ "MIT" ]
permissive
agiamas/activity-stream
e5da92f00c26a8d7d99c4b2c5d4469e3500315cc
2b6a23de082950736e71380932b89b0a0e984b89
refs/heads/master
2020-03-28T17:14:02.023352
2018-09-05T17:32:51
2018-09-05T17:32:51
148,770,350
0
0
null
2018-09-14T09:57:53
2018-09-14T09:57:53
null
UTF-8
Python
false
false
3,912
py
import asyncio from datetime import ( datetime, timedelta, timezone, ) import logging import os import sys from aiohttp import web LOGGER_NAME = 'activity-stream-verification-feed' async def run_application(): app_logger = logging.getLogger(LOGGER_NAME) app_logger.debug('Examining environment....
[ "michal@charemza.name" ]
michal@charemza.name
81e4750f6e1eafec47a415e18716602934030d5a
ef6229d281edecbea3faad37830cb1d452d03e5b
/ucsmsdk/mometa/ape/ApeControllerChassis.py
92e616892a55b50b06f2dfb1df372998f463b50d
[ "Apache-2.0" ]
permissive
anoop1984/python_sdk
0809be78de32350acc40701d6207631322851010
c4a226bad5e10ad233eda62bc8f6d66a5a82b651
refs/heads/master
2020-12-31T00:18:57.415950
2016-04-26T17:39:38
2016-04-26T17:39:38
57,148,449
0
0
null
null
null
null
UTF-8
Python
false
false
2,276
py
"""This module contains the general information for ApeControllerChassis ManagedObject.""" import sys, os from ...ucsmo import ManagedObject from ...ucscoremeta import UcsVersion, MoPropertyMeta, MoMeta from ...ucsmeta import VersionMeta class ApeControllerChassisConsts(): pass class ApeControllerChassis(Manag...
[ "test@cisco.com" ]
test@cisco.com
166f635fcd76563f1ca687b497cc96d36d0c61d9
c67dfd169772f09b26021bed6c465d3a45daec08
/echo.py
496e4a2b17c19b88c0ed17e49f51029d1d0ff4c2
[]
no_license
gikoluo/flower-noty
e9cb7f68f889eee78ed7dfb195b43bb9878c4f77
727846668945a1b701c0f0d33724a261491dcbd6
refs/heads/master
2022-12-13T23:57:07.452508
2019-01-15T03:16:28
2019-01-15T03:16:28
165,777,110
0
0
null
2022-12-08T03:00:46
2019-01-15T03:14:39
Python
UTF-8
Python
false
false
1,923
py
import time from http.server import BaseHTTPRequestHandler, HTTPServer HOST_NAME = 'localhost' PORT_NUMBER = 9000 class MyHandler(BaseHTTPRequestHandler): def do_HEAD(self): self.send_response(200) self.send_header('Content-type', 'text/html') self.end_headers() def do_GET(self): ...
[ "wo@luochunhui.com" ]
wo@luochunhui.com
48cf85520712e0f01e268c4f7e0ed66a735828ad
b9d55fdc17de3a510b78fe0a9f9b7c7675ff62e5
/data/voc_dataset.py
9d9384863f405a97b70e75e37814d8179fe510f2
[]
no_license
xjcccccccc/fpn-rcnn
50f5b85d68a5582fa37fe0433bc8b8170707e95b
b948c79a7dba8c5a84990c71d7fa85573aef47d5
refs/heads/master
2023-03-16T05:00:28.282869
2020-04-07T11:22:26
2020-04-07T11:22:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,219
py
import os import numpy as np import xml.etree.ElementTree as ET import sys sys.path.append('/home/fengkai/PycharmProjects/faster-rcnn-vgg16-fpn5_7') from data.util import read_image import cv2 class VOCBboxDataset: def __init__(self, data_dir, split='trainval', use_difficult=False, return_difficul...
[ "cb_dong@foxmail.com" ]
cb_dong@foxmail.com
138ff52cb2e6b72c839d82e509c5327d095fa62f
09b0bf32d5cfc23b5c686339d6a84b93eb10f2d3
/puzzle.py
28d836e3d2bfcc84ae220560caea421ea0de4bab
[]
no_license
brunoseivam/word-academy-solver
7a1d9736900a255eef16d7375dd8d49b0be71425
5a58e8d0c4dd55ab1333cc5fa0287eb2460bb0c7
refs/heads/master
2021-01-10T12:55:42.385784
2015-11-09T03:03:02
2015-11-09T03:03:02
45,811,832
0
0
null
null
null
null
UTF-8
Python
false
false
4,167
py
# Trie implementation based on stackoverflow.com/questions/11015320/how-to-create-a-trie-in-python import math, time, sys from collections import deque import cPickle as pickle class Trie: END='_end' def __init__(self, filename=None, pickled=False): self.root = dict() if filename: ...
[ "brunoseivam@gmail.com" ]
brunoseivam@gmail.com
3d2deb113c3730186170b67de00cbb2e913890f4
0a980a0ee82e702fb49082b94013cd69674b6260
/resume-codewars/get_url.py
5880a1e2e597097309b3935e1477532fa683fbb2
[]
no_license
avtokit2700/resume
3578ee06ccce826e5b13dd1d1e982f720dc45dc4
237f3373b2e8fff141f7f0f69c6492f414156654
refs/heads/master
2021-01-17T17:26:26.833357
2017-08-05T22:36:10
2017-08-05T22:36:10
82,938,342
0
0
null
2017-03-25T21:32:44
2017-02-23T15:01:20
Python
UTF-8
Python
false
false
586
py
# domain_name("http://github.com/carbonfive/raygun") == "github" # domain_name("http://www.zombie-bites.com") == "zombie-bites" # domain_name("https://www.cnet.com") == "cnet" import re def domain_name(url): if re.search('www', url): return str(re.findall('\..+\.', url))[3:-3] elif re.search('http:', ur...
[ "avtokit2700@gmail.com" ]
avtokit2700@gmail.com
7fe6bf93bc18e76cf0ffda5c812993525bf04305
db90f9d173463409659201a7afc84e3c38b0ce6c
/profiles_api/migrations/0002_profilefeeditem.py
72c10acc2dfd06f3ed7e77624ce073d93773233f
[ "MIT" ]
permissive
danielufeli/profiles-rest-api
c7dc55a8a586a4dc6a01fc6c932f15126515e6e1
35e3cfe870edb939beb8d00a00ad29a7c034f081
refs/heads/master
2022-05-16T09:48:04.998326
2019-11-04T13:21:57
2019-11-04T13:21:57
219,270,769
3
0
MIT
2022-04-22T22:35:58
2019-11-03T09:18:36
Python
UTF-8
Python
false
false
788
py
# Generated by Django 2.2 on 2019-11-04 10:51 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('profiles_api', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "danielufeli@yahoo.com" ]
danielufeli@yahoo.com
b6e9b3b07c2c919a348d0916afd90fca07c31ad4
a74cabbe1b11fc8ef575ea86f2543cd95db78ec9
/python_program/q1457_Pseudo_Palindromic_Paths_in_a_Binary_Tree.py
3cb032d2740ae837af114fe21693659a88007536
[]
no_license
tszandy/leetcode
87e3ccf291b2879637d2d8238935a455b401a78a
f1f4361541dcffbb291285663c8820d7ffb37d2f
refs/heads/master
2023-04-06T15:34:04.847875
2023-03-26T12:22:42
2023-03-26T12:22:42
204,069,234
0
0
null
null
null
null
UTF-8
Python
false
false
1,485
py
from typing import List from collections import Counter,defaultdict,deque from math import * from functools import reduce,lru_cache,total_ordering import numpy as np from heapq import * from bisect import bisect_left,bisect_right from itertools import count,zip_longest import queue # Definition for a binary tree node....
[ "444980834@qq.com" ]
444980834@qq.com
046a78db6235e12b58d70f9a020a5330ed2363f2
4c54a1796e42cef1b33d12290b27b754418df674
/model/decoder.py
236a8f923dcef2ee0ee888b8ded84a80676e01ab
[]
no_license
silverbulletmdc/transformer.pytorch
a5eabb77dd19e0c2447106905d855f1f48a00579
f3f5d1608a91137d352df006eba0d3c49aa707f7
refs/heads/master
2020-04-11T07:30:09.238167
2018-12-14T06:27:12
2018-12-14T06:27:12
161,612,487
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
import torch from torch import nn from .attention import MultiHeadAttention class Decoder(nn.Module): def __init__(self, dim_model): super(Decoder, self).__init__() self.mha_self = MultiHeadAttention(dim_model, dim_model) self.layer_norm1 = nn.LayerNorm(dim_model) self.mha_cross = ...
[ "mengdechaolive@qq.com" ]
mengdechaolive@qq.com
deb911682b19240a1dcc3c34e2638eb56bd0779d
4de1efcca651242d771f0815e3a9a7a43f1f453e
/vievs.py
3a7a304afb902562f56c2a2b0b20132da6df3bda
[ "Apache-2.0" ]
permissive
di2mot/Litle_Server
3241699e82a00d4d0914a74cd3db18cd2fb3829c
7cf01003b9c3330421b82a231cb416eed67c81d9
refs/heads/master
2022-12-30T16:49:31.846551
2020-10-19T15:14:48
2020-10-19T15:14:48
305,425,813
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
def index(): with open('index.html') as idex_page: return idex_page.read() def blog(): with open('blog.html') as blog_page: return blog_page.read()
[ "motsar.dm@gmail.com" ]
motsar.dm@gmail.com
28162fffbf1da9766550591466a7f45928f1df2c
b2cf4ae3af38b16931836e393dc8310ed7621dd5
/venv/bin/django-admin
1f22b85fca1652a2ded1f0469b623206694b6612
[]
no_license
Shevtsov83/mysite
7a45e4d8acb0dee7d978ad956c3695146095a51a
3bd7f12d98aed34de50eed4accf52b5f7bf788bf
refs/heads/master
2020-03-27T11:02:35.905358
2018-08-29T10:36:10
2018-08-29T10:36:10
146,461,179
0
0
null
null
null
null
UTF-8
Python
false
false
300
#!/home/anton/PyCharmProject/mysite/venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "shnat2004@gmail.com" ]
shnat2004@gmail.com
4deaf389fc2646be8ced5975d700ee99c33fa2f7
a4c38a2fcbc088332def6106bd3543feb822028b
/src/Game/EchoStateNetwork/Network.py
fc9df85a9ed4bd3a5ebb6a013cbd2056fc8fdd76
[]
no_license
saragai/RoboticsWithNeuro
967b4fc8902fa83ead317ba81a565c713a681d2d
cc6846dd4cc8a62a8bf0631d204a114ecb96ad6c
refs/heads/master
2021-09-04T03:05:49.362341
2018-01-15T02:05:57
2018-01-15T02:05:57
109,073,236
0
0
null
2017-12-08T16:26:49
2017-11-01T01:50:22
Python
UTF-8
Python
false
false
2,163
py
#Network.py import numpy as np from NeuronBrain import NeuronBrain as Neuron from NeuronInput import NeuronInput from NeuronOutput import NeuronOutput from ThreeDimentionalListAccessor import ThreeDimentionalListAccessor class Network: def __init__(self, X, Y, Z): self.X = X self.Y = Y self...
[ "saragai_t@outlook.jp" ]
saragai_t@outlook.jp
028eeaee6631d868966af1aec9d4ba2633062f5d
cbe131778156cb8d8ee1044facc329f57c453b38
/SLB_App/admin.py
8c3b4ba43beeb14c7a6bd5fa8c66cc1ef53bbdd5
[]
no_license
Luk3-S/ShoppingListBuilder
40be1458fd788289812fa7a63c56bf27318b063f
ecd58c5dca106b25b0034f26aaacb3d6c7c85ddf
refs/heads/master
2023-08-02T05:56:34.248255
2021-09-27T15:08:16
2021-09-27T15:08:16
346,436,335
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
from django.contrib import admin from SLB_App.models import Recipe, Basket # Register your models here. class RecipeAdmin(admin.ModelAdmin): pass class BasketAdmin(admin.ModelAdmin): pass admin.site.register(Recipe, RecipeAdmin) admin.site.register(Basket, BasketAdmin)
[ "lukesp63@gmail.com" ]
lukesp63@gmail.com
5bbd918ca6dd43ecbc614c38cc3504aae453f7ff
3d4247362747e3763b72cd97ba39164387cfc07b
/tests/conftest.py
f2e6030f9a4269a460b002190ed04975970e3692
[ "MIT" ]
permissive
gitter-badger/bocadillo
d5f104ff47ef5b9ee61163b7a4f3eb21d3e7da8b
ec1122ec6d62e8c90060b3ab3eb8cf7fb7deb433
refs/heads/master
2020-04-12T23:34:39.904514
2018-12-22T12:17:13
2018-12-22T12:17:13
162,823,961
0
0
MIT
2018-12-22T15:56:06
2018-12-22T15:56:06
null
UTF-8
Python
false
false
1,147
py
from typing import NamedTuple import pytest from click.testing import CliRunner from bocadillo import API from .utils import RouteBuilder @pytest.fixture def api(): return API() @pytest.fixture def builder(api: API): return RouteBuilder(api) class TemplateWrapper(NamedTuple): name: str context: ...
[ "florimond.manca@gmail.com" ]
florimond.manca@gmail.com
b07b7d6d95bb2db431472cae5117a4dbd2dfb057
9437251f164918c18cc7875a65fbcbf0a22153d1
/usuario/views.py
7aff8cd6a25f68c139b2fa995d75df34ded861d5
[]
no_license
lucasbrck/Jornic
5d1b6379cb423faefcc6b779c418cd74beff847d
2a273ebd90a53bfb4eb5fdf2485dcb6d8afb3e92
refs/heads/master
2023-01-04T10:26:00.635474
2020-10-19T06:12:59
2020-10-19T06:12:59
295,906,761
0
4
null
2020-10-15T19:42:57
2020-09-16T02:53:45
Python
UTF-8
Python
false
false
527
py
from django.shortcuts import render, HttpResponse from django.views import generic from django.contrib.auth.forms import UserCreationForm from django.urls import reverse_lazy class UserRegisterView(generic.CreateView): form_class = UserCreationForm template_name = 'registration/registrar.html' success_url ...
[ "lucas.brck@hotmail.com" ]
lucas.brck@hotmail.com
76eed398b6ddf03c7fb4e09d80e53d665f2255d7
d08a43c3daaf62eb6041d412cadb9029d3ed0c91
/iTunes.py
4d6d55a15fa1a497704ccad3d58353dbcd825060
[]
no_license
riordan/nypl-medialytics
b917a0c801dea11cbd27a6ba98073c12d4a42663
6de2135f074352e5a3bb1328f21691c611745272
refs/heads/master
2018-12-27T22:40:44.791082
2011-09-13T19:09:39
2011-09-13T19:09:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,190
py
import xlrd import xlwt import sys import io import os import glob import pickle import dateutil.parser import datetime class Track: def __init__(self,handle, path): self.handle = handle self.path = path[:path.rfind('>')] #print "The folder is: %s" %self.path self.name = path[path.rfind('>')+2:] #print "The...
[ "david.riordan@gmail.com" ]
david.riordan@gmail.com
64a896e1d2030a14f45f6b93e9d25f510bc131db
a7a42f2690875c6b7468b10521d452b87d141044
/testcase/__init__.py
64ec975c045aed681b5bc81da89ac97a1829ceb8
[]
no_license
zy330351193/AutotestFrame
c39e14c7c9578edadb4718fb58f74461e9fb40b4
c540f0ef1c8a85481187152c15b06b6b9038ba67
refs/heads/master
2020-09-05T18:55:38.972365
2019-11-11T08:08:16
2019-11-11T08:08:16
220,185,933
0
0
null
null
null
null
UTF-8
Python
false
false
22
py
__author__ = 'Highgo'
[ "zhangji@highgo.com" ]
zhangji@highgo.com
c302baaed5f43b28eefaf4039e330a02e1a55e33
19080d2c96d0e8454d60cba192dbdca19d4e50cf
/myvenv/bin/gifmaker.py
5fc35c2a8a1acf19b85edb84c43e1ff83b563aff
[]
no_license
Raj00786/Advanced-Django-Blog
d1fa6dbf55ad0c5656dffd86f64ccf79b6a4d9ea
8cddd30dd033c12a6564475c8bd550bee7f72c18
refs/heads/master
2020-12-02T17:45:09.856768
2017-07-12T14:13:43
2017-07-12T14:13:43
96,419,495
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/home/raj/Desktop/coding/myvenv/bin/python3 # # The Python Imaging Library # $Id$ # # convert sequence format to GIF animation # # history: # 97-01-03 fl created # # Copyright (c) Secret Labs AB 1997. All rights reserved. # Copyright (c) Fredrik Lundh 1997. # # See the README file for information on usage ...
[ "rajkumarmeena25996@gmail.com" ]
rajkumarmeena25996@gmail.com
f10c0724b8bb5033a53c0ae4e9adc6362528fdf6
243fa87a6813629bdc14e22f0ed8628e7f320741
/config.py
0d201ecdca01adfcb771a7b6816182d36a7febb1
[]
no_license
JongbinWoo/2_Relation_Extraction
886e1df38d0074fdc232f301d0b15d1552590b03
0d432980b082950db6dde92a557f77b9693c46d3
refs/heads/main
2023-04-19T02:21:36.099965
2021-04-22T14:43:45
2021-04-22T14:43:45
358,311,578
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
import yaml from easydict import EasyDict class YamlConfigManager: def __init__(self, config_file_path, config_name): super().__init__() self.values = EasyDict() if config_file_path: self.config_file_path = config_file_path self.config_name = config_name ...
[ "wjb1218@gmail.com" ]
wjb1218@gmail.com
1daa0dbb279018cbddfb97ff8dd005512223fc32
711138c64fda79262e87decea622994635bed574
/micrblog/flask/Lib/site-packages/sqlalchemy/orm/collections.py
dac5fee9c77ddb22d181339317c582e552173a72
[]
no_license
Bless-L/backstage-project
8fa71646fe05aedf7ec3533e1bf1057eaebb3626
912554d29fc73d376408b06f5391a505ba7562d3
refs/heads/master
2021-01-17T21:32:03.267225
2016-03-15T16:39:31
2016-03-15T16:39:31
42,708,635
1
0
null
null
null
null
UTF-8
Python
false
false
55,781
py
# orm/collections.py # Copyright (C) 2005-2012 the SQLAlchemy authors and contributors <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Support for collections of mapped entities. The collections package supplies th...
[ "664007627@qq.com" ]
664007627@qq.com
ae65ef4938bb05f4be99939c1298eac1dfe34aed
76f1331d083d360fb3822312537e72d4ff9d50b5
/spider/strong_spider/spider/antispider/proxypool/proxy_crawler.py
47c2dca816b1f993382664123b02647d33042a3d
[]
no_license
ZouJoshua/ml_project
2fe0efee49aa1454b04cd83c61455232601720a6
b1d8eb050182cd782bc6f3bb3ac1429fe22ab7b7
refs/heads/master
2021-07-22T10:37:56.452484
2020-05-09T09:54:39
2020-05-09T09:54:39
158,562,016
0
0
null
null
null
null
UTF-8
Python
false
false
3,767
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @Author : Joshua @Time : 2018/9/5 15:51 @File : proxy_crawler.py @Desc : 代理下载调度 """ from gevent import monkey monkey.patch_all() import sys import time import gevent from gevent.pool import Pool from multiprocessing import Queue, Process, Value import sett...
[ "joshua_zou@163.com" ]
joshua_zou@163.com
30f54292b6b8b2b607a37793a457770c76a82591
6ebeb475b08ec84a5333c049b923e9dbbdd106a4
/show_users.py
92de963d9438ebc8401a48ee731e9e4218ae7871
[]
no_license
conradfay/conradfay-flask
f7e4bda968e511460dd06c4a7b3ed5cd3813e3af
5eaaad84bec71f760c9b8ead8bc328571122b0ff
refs/heads/master
2021-01-25T04:57:35.655580
2012-09-30T01:38:32
2012-09-30T01:38:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
import flask, flask.views import db from db import Session import utils class Show_users(flask.views.MethodView): @utils.login_required def get(self): session = Session() user_list = [ [], [], [], []] user_entries = -1 user_entri...
[ "conrad.p.fay@gmail.com" ]
conrad.p.fay@gmail.com
f58fec8d8495b030e71a8f0c7e87eeb380b668c7
794c04b53425ed11e7c90db4e0959fc83f7ab119
/datatypes.py
a7b5a54b37fa9506a3c61b4168c86e1fd157c6c1
[]
no_license
sahityasree/codetest
c45eede79a963619c9650cba3464a54423efb9b6
667c151a08adf508c72beb5b8f0532c29e96fc08
refs/heads/master
2020-04-04T00:43:23.855532
2019-08-07T14:32:46
2019-08-07T14:32:46
155,660,510
0
0
null
2019-08-07T14:32:47
2018-11-01T04:08:35
Python
UTF-8
Python
false
false
3,618
py
import math import random def Numbers(): print ("the absolute value is -45: ", abs(-45)) print("the largest number is :", max(-20, 100, 400)) print("the smallest number is :", min(-80, -20, -10)) print("the power value is :",math.pow(100, 2)) print("the power value is :",math.sqrt(100)) ...
[ "noreply@github.com" ]
noreply@github.com
694f4c1a1be63ef2db87c8057b17478b668dafac
7da87c6d4c4d8443f1a9930b5edc277ce2a6c358
/009_triangles.py
642b3ede7b4aa5ace5b0e7d418acbdaca8585824
[]
no_license
kazamari/CodeAbbey
2e1f28a20d5f773fc08b5b20899d437d5ba420f2
4f5031585ddad8d8be71ee1f80872712b139051e
refs/heads/master
2021-04-15T14:49:10.839383
2018-03-23T12:18:17
2018-03-23T12:18:17
126,477,191
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
''' Input data: First line will contain number of triplets. Other lines will contain triplets themselves (each in separate line). Answer: You should output 1 or 0 for each triplet (1 if triangle could be built and 0 otherwise). Example: data: 2 3 4 5 1 2 4 answer: 1 0 ''' from sys import stdin def is_triangle(tri...
[ "maha_on@yahoo.com" ]
maha_on@yahoo.com
5b7240a4bf1fca1148ffca29d3a7222e1e4a4373
b565143dbd490ad2721af7d8578483aa053383d0
/recipes/tsl-hopscotch-map/all/conanfile.py
bd7f158542108161ebd2d641b6d256fd96a8682a
[ "MIT" ]
permissive
czoido/conan-center-index
da7fbe837c88e3a65f7f2d6ed24ada62eb601c69
7952190873e49e23996fc7192a76e5917c49ec8a
refs/heads/master
2023-07-20T02:13:08.706521
2022-12-13T17:01:47
2022-12-13T17:01:47
228,573,093
0
0
MIT
2022-12-13T17:01:49
2019-12-17T08:49:29
Python
UTF-8
Python
false
false
1,853
py
from conans import ConanFile, tools import os required_conan_version = ">=1.43.0" class TslHopscotchMapConan(ConanFile): name = "tsl-hopscotch-map" license = "MIT" description = "C++ implementation of a fast hash map and hash set using hopscotch hashing" topics = ("structure", "hash map", "hash set")...
[ "noreply@github.com" ]
noreply@github.com
4bb47a03e413c276a1e42adcb0ee8f1e7b85f2ce
90a616011918e3110c45da9eb26877d06c65e23a
/orderManagement/api_views.py
2bdae040c40e3bde357bf8b16c890466b0445088
[]
no_license
ynareshkalyan21/go-elastic-django-react
f3670451387d7e593dac5b154816a9d854d3210f
5436baa71df7feaf9b59ad5e69706511bbf47211
refs/heads/main
2023-08-16T23:45:06.228086
2023-07-20T01:37:10
2023-07-20T01:37:10
345,342,532
0
0
null
null
null
null
UTF-8
Python
false
false
3,233
py
from elasticsearch_dsl.query import MultiMatch from rest_framework.response import Response from rest_framework.views import APIView from orderManagement.documents import OrderDocument from elasticsearch_dsl import Q from orderManagement.models import Order from orderManagement.qm import QM class GetOrders(APIView)...
[ "ynareshkalyan@gmail.com" ]
ynareshkalyan@gmail.com
883fbfc7baa9178ad67ef15909dc83f22fc25baa
a668361781ce7461cab772a2aa703aa2ec7a4c65
/Python/scripts.py
ed38a48e3fac758a0b3fcc2beb7a237c353db679
[]
no_license
rgg81/ATPBetting
e1928775856d3bd5d373f54075a4f849fb2421b0
59eea3463869c46172db6c5ed411b6558c5538d9
refs/heads/master
2020-07-31T03:44:58.730522
2020-03-26T17:20:52
2020-03-26T17:20:52
210,472,243
1
0
null
2019-09-23T23:47:35
2019-09-23T23:47:34
null
UTF-8
Python
false
false
15,754
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from datetime import datetime,timedelta from past_features import * from elo_features import * from categorical_features import * from stategy_assessment import * from utilities import * import random import logging from multiprocessing import Pool, cpu_count import warni...
[ "roberto.gomes@gmail.com" ]
roberto.gomes@gmail.com
469a07e16cf868d3376c39eb8343b423ab33ac6e
6c3a792962a254f2b46b75a1490e779fbc02a627
/hive/player.py
c199cafe218f7f2c84c0dbfd55c4f4fdabd44aec
[]
no_license
Sousf/Agar.io-bot
a4a02c94b6cca52a61b7e6dc418ccf04c9dfe441
dffbe2892dfeff789c3333186fa511294cfb30f1
refs/heads/master
2023-08-24T00:11:19.976852
2021-10-24T17:34:50
2021-10-24T17:34:50
383,652,293
2
0
null
null
null
null
UTF-8
Python
false
false
4,622
py
from hive import Hive from hive import Rules from cell import Hex from piece import Piece from piece import Queen from piece import Spider from piece import Beetle from piece import Grasshopper from piece import Ant from debug import Debug from color import Palette import random DEFAULT_ID = 0; class Player(): de...
[ "taha.akbarally@gmail.com" ]
taha.akbarally@gmail.com
7a453786b6fe3b989ab96e9610a3ee3306643a44
ac2e65274daac87280897cd20e04ae0f8c69e38a
/baekjoon/2438.py
d4300caa3d9a30e56aa47f5e06f4a6e02b015e86
[]
no_license
yim2627/Algorithm
1cfb47b9b2ecb4be1dd8151fac88520183db2622
b06b6a97faa9733db7ed45b9155d527815610181
refs/heads/master
2023-08-11T12:48:16.212133
2021-10-04T10:31:24
2021-10-04T10:31:24
369,443,792
3
0
null
null
null
null
UTF-8
Python
false
false
57
py
n = int(input()) for i in range(1,n+1): print('*'*i)
[ "yim2627@gmail.com" ]
yim2627@gmail.com
15a64d10e6323cff866a56ab5326f9f9abfe8c10
97aa1181a8305fab0cfc635954c92880460ba189
/torch/nn/intrinsic/modules/fused.py
47f26dbdc203a870d09cbb6c19b5a68b2b260f95
[ "BSD-2-Clause" ]
permissive
zhujiang73/pytorch_mingw
64973a4ef29cc10b96e5d3f8d294ad2a721ccacb
b0134a0acc937f875b7c4b5f3cef6529711ad336
refs/heads/master
2022-11-05T12:10:59.045925
2020-08-22T12:10:32
2020-08-22T12:10:32
123,688,924
8
4
NOASSERTION
2022-10-17T12:30:52
2018-03-03T12:15:16
C++
UTF-8
Python
false
false
5,967
py
from __future__ import absolute_import, division, print_function, unicode_literals import torch from torch.nn import Conv1d, Conv2d, Conv3d, ReLU, Linear, BatchNorm1d, BatchNorm2d, BatchNorm3d class ConvReLU1d(torch.nn.Sequential): r"""This is a sequential container which calls the Conv 1d and ReLU modules. Du...
[ "zhujiangmail@hotmail.com" ]
zhujiangmail@hotmail.com
e3acc427481ad4d732e966ca6d843f8601a1e317
372129cb2297e38be9735c3674c1577a5893b445
/visualize.py
dfef0d57cb8bf7b3628462426d4c34f85c96ee56
[]
no_license
svi-lab/deconvolution-raman
050cfdd7cdd85bfc5cbe680d103f6f9eea8cda55
6e7dbeb4057f5a4993ffff42e12967405393a1ee
refs/heads/heatmap
2023-05-02T03:22:03.981998
2023-04-21T09:54:19
2023-04-21T09:54:19
143,442,177
5
5
null
2023-04-21T09:54:20
2018-08-03T15:11:40
Python
UTF-8
Python
false
false
30,508
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Mar 25 18:13:46 2021 @author: dejan """ import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt from skimage import io, transform from matplotlib.widgets import Slider, Button, AxesWidget, RadioButtons, SpanSelector from matplotlib.p...
[ "shcrela@gmail.com" ]
shcrela@gmail.com
47399b5de41c1e8cf0124e1b3b9418ac52675355
1a2bdb05e7e666210182c4ea1552681799a42082
/appsrc/tests/test_distributionowners.py
c64f61d47b0131e23bc719477de97ae043b68c4b
[ "MIT" ]
permissive
marianomdo/covid19-bookable-slot
b6a335db24686eb09e6feb4b6e4f4b914749fedb
5869edebf3dbd84bb493ceefd5008e3d7b2307c7
refs/heads/master
2022-09-30T15:51:47.569471
2020-06-02T15:54:36
2020-06-02T15:54:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,903
py
import os import unittest from appsrc import app from libs import variables import appsrc.tests.utils import ujson class TestCases(unittest.TestCase): def setUp(self): appsrc.tests.utils.fillDb() appsrc.tests.utils.purgeCookies() pass def tearDown(self): pass def test...
[ "arieunier@arieunier-ltm2.internal.salesforce.com" ]
arieunier@arieunier-ltm2.internal.salesforce.com
ed3465b1f195f31461749b97e55eebf2f8300c79
dd28debcbe3cbb2b2a4a440b378dbe1bc70a9f25
/openracer/wsgi.py
4c039664316839f1897702c7bdf6819afb1b3ca4
[ "MIT" ]
permissive
tahosa/openracer-python
a0ec7acdee6c405779cbb47600a3d0a0a36db8a1
40b9fe4f31538872c4502fd314aa9310bc83e243
refs/heads/master
2020-05-19T21:39:48.388738
2017-10-04T02:02:25
2017-10-04T02:02:25
35,073,793
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for openracer project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "openracer.settings") from django.co...
[ "rlcrock@gmail.com" ]
rlcrock@gmail.com
b12c49cdc6d17ada7dacd1b74fc2689aeef5944b
ed85cfcbb067a8506c08d17c76cb48aa6f72ce12
/catch.py
801c6beb45e37cf97960befe31dac7a720dcd149
[]
no_license
samrudhdhirangrej/Recurrent-Model-of-Visual-Attention
55af828f212505b096d64e8260cb84fcac8d9e31
a5f1637e9410613611bd01ff8a9a347404e7a39f
refs/heads/master
2020-05-17T10:55:14.531246
2019-05-02T16:37:41
2019-05-02T16:37:41
183,670,874
9
0
null
null
null
null
UTF-8
Python
false
false
3,160
py
from __future__ import print_function import torch import numpy as np from matplotlib import pyplot as plt class Catch(): def __init__(self, grid_size=int(24), batch_size = 128, device = torch.device('cpu')): self.device = device self.gs = grid_size self.x_paddle = None ...
[ "noreply@github.com" ]
noreply@github.com
f1fc6657863c81f2b9cba05625b72685177f2e9b
e24b7f422fbc1457f205a78b867735c0deed7abf
/speed_agefix.py
9ad14c4953d8c3dabe302557b902911fe0ed5b44
[]
no_license
ohenne/python_help
a830d011702b9a02fd97ef163a58c8b93ec1d6f4
51abe207849653ab1e270338fa292df7b955e395
refs/heads/master
2020-08-24T05:45:03.378973
2019-10-22T09:16:45
2019-10-22T09:16:45
216,771,125
0
0
null
null
null
null
UTF-8
Python
false
false
2,734
py
import numpy as np import numpy.ma as ma import os # for environment import math import matplotlib import operator import matplotlib.pyplot as plt import datetime from classes import TRACER,CP_map from operator import itemgetter from netCDF4 import Dataset from six.moves import cPickle # to save class files...
[ "olgahenneberg@Olgas-MacBook-Pro.local" ]
olgahenneberg@Olgas-MacBook-Pro.local
ae8c1e828407a4bd939d1d1377a049b784bb9e61
51e17653ce4b9fcdc875c37ced7531cd36890738
/load/shotchart_nbacom.py
1e95008264ab0be0a9bceee32c5fd1820daa9052
[]
no_license
kpascual/basketball-data-scraper
74f688c92783fa6bd3d829964b324b9d50a0d3c8
d3c95695f8642f6896f9edfb176419eea94e65ea
refs/heads/master
2016-09-15T12:45:02.024577
2016-03-14T17:22:08
2016-03-14T17:22:08
24,335,656
15
4
null
null
null
null
UTF-8
Python
false
false
844
py
import json from config import constants LOGDIR_CLEAN = constants.LOGDIR_CLEAN def run(filename, dbobj): shots = json.loads(open(LOGDIR_CLEAN + filename,'r').readline()) newshots = [] for shot in shots: # Re-key shots shot['shot_type_nbacom_id'] = shot['act'] shot['nbacom_play_num...
[ "vorped@gmail.com" ]
vorped@gmail.com
8e595497319293bd5888b8ab370b5387029f08a7
0a51e4a16874aaaf42a542c105ccb10de593bc97
/env/bin/pip
1585d4606e45a916e30707f6ff7eb512dbb8a6be
[]
no_license
trooperdesigns/lastminute-django
aeb4c52ccede6f630173143739f30719edad5489
ec9b7000862428e1bb7b945a0d7944fd2d02e9ca
refs/heads/master
2020-05-20T08:03:14.084987
2014-08-11T04:14:01
2014-08-11T04:14:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
349
#!/Users/JustinChang/Documents/LastMinute/lastminute-django/lastminute/env/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==1.4.1','console_scripts','pip' __requires__ = 'pip==1.4.1' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('pip==1.4.1', 'cons...
[ "justin.kj.chang@gmail.com" ]
justin.kj.chang@gmail.com
78cc480054dd1d2c6998c8b4fe29386e12005f42
4cb7e16deb8405f602d48d8429f16d5e7d3fc1c8
/SiteStudy/regauth/views.py
5e84b6c834228ca0c1384b204252b5c6248d11a1
[]
no_license
DimM100/Django
b269472a576d61c2fa7ac706c5f4666d3527de5c
58d7eb1f51ae09490e5725e81d617cf7ab8ee1fc
refs/heads/master
2020-09-07T02:19:15.940455
2019-11-09T13:37:37
2019-11-09T13:37:37
220,627,743
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
from django.shortcuts import render, redirect from django.views.generic.edit import FormView from django.contrib.auth.forms import UserCreationForm class RegisterFormView(FormView): form_class = UserCreationForm success_url = "/login" template_name = "regauth/register.html" def form_valid(s...
[ "noreply@github.com" ]
noreply@github.com
43d270f7a7018b2ba583445b63d9fd48be3f9c06
e3e62f6ae273c76ba0d634d938ac338aa6597883
/partsearch2.py
27a4d35fcb1b55ef5004ac0693f802209c6a8755
[]
no_license
bburke14/myapp
075a6043c8cef38a87b243c4e19094145f61cdd9
e170c2ddf05b1e3c7d6b6939210820ec8671d3ef
refs/heads/master
2021-04-28T15:28:05.706684
2018-03-05T04:45:04
2018-03-05T04:45:04
121,988,833
0
0
null
null
null
null
UTF-8
Python
false
false
3,310
py
import http.client import json import csv def partSearch(part_num): digikey_part_num = { "Part": part_num } encoded = json.dumps(digikey_part_num) conn.request("POST", "/services/partsearch/v2/partdetails", encoded, headers) res = conn.getresponse() data = res.read() result = jso...
[ "36608096+bburke14@users.noreply.github.com" ]
36608096+bburke14@users.noreply.github.com
1bc679beeb97cb4ddd84866f4c39255f01b4215e
4c985a373ffa62b58d92b22122c68aa6e934c77a
/accounts/forms.py
4f75a5d637ebed58ee3fe7c103b72aee351e1ceb
[]
no_license
Almas016/CRM
e8fbf8de2aff99ea9dfa46fbf81df934cd2f7143
fd7339303802d711ca6ad8d0305643f71030b685
refs/heads/master
2022-12-08T22:46:52.023127
2020-08-31T03:14:32
2020-08-31T03:14:32
288,647,200
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
from django.forms import ModelForm from django.contrib.auth.forms import UserCreationForm from .models import * class CustomerForm(ModelForm): class Meta: model = Customer fields = '__all__' exclude = ['user'] class OrderForm(ModelForm): class Meta: model = Order fields = '__all__' class CreateUserForm(...
[ "namazbaev2000@gmail.com" ]
namazbaev2000@gmail.com
71abd65e7260addb570926f530ed233a9baf8bd4
d4072201c7820d9b18e86e77361a21bbc62deaea
/flowviz/migrations/0009_projectscenariorelationship.py
8277f6e13c87386fc92d279781910a7dd8f76e7e
[ "Apache-2.0" ]
permissive
eleanxr/watersharingdashboard
6741a056a9a6602a286671b44173b39fffd7f37e
d3e6bb2717e5e32a13dcf37f30271574a5d97666
refs/heads/master
2023-02-10T19:45:06.956049
2016-08-11T23:14:46
2016-08-11T23:14:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('flowviz', '0008_auto_20160208_1726'), ] operations = [ migrations.CreateModel( name='ProjectScenarioRelationship...
[ "wdicharry@tnc.org" ]
wdicharry@tnc.org
75cf0dedd18165d3be721cace697bc31aa775b46
4a0780c2007679f4cfa486a85af54d05b26fa461
/xiciDaili/pipelines.py
ec9148e636fe993b788740fb8f5952e8084ba821
[]
no_license
timelessz/xiciDaili
c0183fcbbc316c89a10b4fa3ea289542e9d19ca4
d983104d4fed870d3c618147f461ce08cc5669fb
refs/heads/master
2021-01-21T23:20:45.185489
2017-06-23T15:22:00
2017-06-23T15:22:00
95,231,444
0
0
null
null
null
null
UTF-8
Python
false
false
1,943
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import pymysql class MySQLStorePipeline(object): def __init__(self, conn): self.conn = conn # 从配置文件中读取数据 ...
[ "834916321@qq.com" ]
834916321@qq.com
dcae80393763ae7d1d76bccf63b2810a8ededc78
dfc686228834750216b2cd6eea14d2a6d12422e4
/flask tutorials/DE_project_pharmacy_manage_Sys/run.py
2063f0ac0c73dd73b978aa198fa5e68cfbbaefc0
[]
no_license
Parth-Ps/python
8466e8856bf301908544eb60ae4a68338ccf4550
bb448c2a7996d17883214fe8eb11caa61e211400
refs/heads/master
2023-01-22T13:30:50.507021
2020-12-02T07:59:53
2020-12-02T07:59:53
317,788,331
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
from de_pharma import app if __name__ == '__main__': app.run(debug=True)
[ "parth0129.certificate@gmail.com" ]
parth0129.certificate@gmail.com
205678dc5bf12ca27761bd558b7ef5a76fa39b25
a89b856f3a52fe73def4b70dd292290e1e3d6132
/backend/API Source of Data/tools.py
1d5532d57eb0f6d2b8dc97bb979eaa29c45e90d3
[]
no_license
juankmiloh/heatmap_pqrs_bdsui
c3433c1840499a75acb445122a83dfc89554fadf
6f57fd4ea68e7bfe99102e4da718cd65731acaba
refs/heads/master
2023-01-23T10:51:39.116237
2019-11-29T01:28:43
2019-11-29T01:28:43
221,745,129
0
0
null
2023-01-04T13:07:47
2019-11-14T16:52:19
Python
UTF-8
Python
false
false
777
py
import os import glob import json PATH = os.path.dirname(os.path.realpath(__file__)) class Tools: __instance = None @staticmethod def get_instance(): if Tools.__instance == None: Tools() return Tools.__instance def __init__(self): if Tools.__instance == None: Tools.__instance = self self.__sear...
[ "juankmiloh@hotmail.com" ]
juankmiloh@hotmail.com
dda6f3a8ef102c9ba39babca4de4c8d9b3f4dd59
25f61fb72a60f95e10aff5809e67e95526c5fff7
/leetcode-30day-challenge/May-2019/W1_1_first_bad_version.py
a7d316cfa6cd858db77346c1f616205b8c0c0f1e
[]
no_license
pradeepsinngh/A-Problem-A-Day
19db6baccc68f216cd8206118dafb2cbec962671
f5d598bbb60786a99c00fb338145c564fa70cf84
refs/heads/master
2021-07-18T02:23:04.248782
2020-05-04T22:12:27
2020-05-04T22:12:27
150,642,029
5
2
null
null
null
null
UTF-8
Python
false
false
1,157
py
''' # Prob: First Bad Version # You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality check. Since each version is developed based on the previous version, all the versions after a bad version are also bad. # Suppose you hav...
[ "noreply@github.com" ]
noreply@github.com
0ad78027ac0a79a49a2bae1c8b1734c220b5f8fb
93ccb23a58eca68e8baf60149a9b1c5956d1bf5c
/backend/apps/authx/serializers.py
ee8ca6d73aa615b0c2096f1fff78ab136ce19baa
[]
no_license
lucheng0127/DRF-Vue_jwt_token_proj
65a320242fb6bb6b54578053aba38d094380db41
92bdd0d3f0f607c354feb72f0de9fea663254206
refs/heads/master
2021-10-16T22:15:23.249760
2019-02-13T01:39:51
2019-02-13T01:39:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
#-*- coding: utf-8 -*- from rest_framework import serializers from django.contrib.auth.models import User class UserSerializer(serializers.ModelSerializer): user_info = serializers.HyperlinkedIdentityField(view_name='user-info-detail', read_only=True) class Meta: model = User fields = ['id'...
[ "lc960127@gmail.com" ]
lc960127@gmail.com
48d30dd1fdf3728c224b7b639d1dba327527b9cd
6d189170c788466ff4f0fb332c6f35c7e3e7ac26
/working/main.py
cd4acf5b373a2c85514422683ae001cbc941c5fe
[ "Apache-2.0" ]
permissive
jesustala/Credential-Management-API
9f7b770c17f0c76057f6e28b64c72bdefb0c5d0d
3a364f44b4ed1d771b4d5b08fd3b7c2247a9cc5a
refs/heads/master
2021-01-01T15:58:01.341913
2017-07-19T18:33:29
2017-07-19T18:33:29
97,746,091
0
0
null
null
null
null
UTF-8
Python
false
false
8,767
py
#!/usr/bin/python # Copyright Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
[ "agektmr@google.com" ]
agektmr@google.com
d6e5d96b8cbbc16e04d22e87d076321f399890b1
3dca84b3c63637cb8fa86cc75f81227b33008048
/osm_api.py
ac3e7b5e8ec7bb2bd461666e4d87a6ba3167c347
[]
no_license
holdUAM/OSMsubwaydata
cf0d895e2c69fb4ace460bc0fa91d0d803459b8d
4b46b4029b00bc6b347b89c197cc4a44d702d814
refs/heads/master
2022-07-18T17:55:34.323511
2020-05-17T03:11:58
2020-05-17T03:11:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
from OSMPythonTools.nominatim import Nominatim from OSMPythonTools.overpass import overpassQueryBuilder from OSMPythonTools.overpass import Overpass import json nominatim = Nominatim() overpass = Overpass() encoding="utf-8" def create_query(line_number, city_name): line_num = ('"ref" = "' + line_number + '"') ...
[ "kevin.john.mulligan@gmail.com" ]
kevin.john.mulligan@gmail.com
2d8820a36e70436bd9b9ddd6fa19334583282574
528a6b3a42b3da18f2474cc380308575b4fbf1ff
/iplApp/urls.py
8ee69d3b7bc5cf98bb452a96a877fff296734fec
[]
no_license
nirbhay727452/ipl_app
3e2e552aa228614202c692c44f7be2fe2131fe0d
da6eb809782aceb508f5226c35cb3532639e786a
refs/heads/master
2020-06-05T06:23:23.820983
2019-06-17T12:45:19
2019-06-17T12:45:19
192,343,675
0
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
"""classproject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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')...
[ "noreply@github.com" ]
noreply@github.com
852c57d9837e0941432c42026f1c82d0451da187
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/django/contrib/auth/migrations/0008_alter_user_username_max_length.py
7c9dae09500de428c3e2cea1c22b0419c38beedd
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
752
py
from django.contrib.auth import validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('auth', '0007_alter_validators_add_error_messages'), ] operations = [ migrations.AlterField( model_name='user', name='usern...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
6593a58a61f47f7917f4c218f47bd52f61213680
7f41a5cc7679e31b776bcc9faa2480b298193d4a
/0x03-python-data_structures/1-element_at.py
f66ee8c2c60e0bbafab625db105b6dc3b0d74587
[]
no_license
asdrubalramirezb/higher_level_programming-master
a784f2a6057977973a3a8f41dea9bab89b572fa1
a0927a2118ff07ff6132ba6c9f64416fa4099e97
refs/heads/main
2023-07-17T14:32:23.444685
2021-09-07T03:09:12
2021-09-07T03:09:12
403,824,277
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
#!/usr/bin/python3 def element_at(my_list, idx): if idx < 0: return None len_list = len(my_list) if idx >= len_list: return None else: return my_list[idx]
[ "46140948+asdrubalramirezb@users.noreply.github.com" ]
46140948+asdrubalramirezb@users.noreply.github.com
0bfd0d700a7c6e1abf8b628cd7a46f76744cb8e2
ed7cd7760c708720f5a847a02b0c3a50cca0175e
/aurora/config/decimation_level_config.py
da74b14b0308a56a35f2f5f8a736f319285a3ce1
[ "MIT" ]
permissive
jcapriot/aurora
bf98b1236e7dc43e0189df71725f7f862d271984
08d5ccc671054a2b646a4effb412a2ed48314646
refs/heads/main
2023-09-05T00:07:16.984109
2021-10-27T02:49:41
2021-10-27T02:49:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,673
py
import json from pathlib import Path from mt_metadata.base import BaseDict class DecimationLevelConfig(BaseDict): """ ToDo: Deprecate mth5_path from this level after addressing strategy in issue #13 """ def __init__(self, *args, **kwargs): """ Parameters ---------- ...
[ "magnetotellurics@gmail.com" ]
magnetotellurics@gmail.com
059c3852bfaac0566a966fa6a89c17b119fdece9
5925d6c16200ce5520c5777eab8fce018cc22910
/spendtrackapp/tests/test_views/provide_data_test_index.py
5945bea83017fb5b4d0c8c2d007c8b2e4570e35f
[ "MIT" ]
permissive
dthung1602/SpendTrackApp
8ec7b47ac9cb7ae77ef88cbe2395f72c0ff864ce
0f0339c33673db9aef84c493287ec337892e07f9
refs/heads/master
2022-07-22T00:25:22.693981
2022-07-17T12:00:39
2022-07-17T12:00:39
155,375,039
1
0
MIT
2022-07-17T11:37:50
2018-10-30T11:37:10
JavaScript
UTF-8
Python
false
false
367
py
def index_index_entries_in_week(): return [ ['2015-11-1', [], 0], ['2015-11-2', [16, 5, 21], 89], ['2015-11-6', [16, 5, 21], 89], ['2015-11-8', [16, 5, 21], 89], ['2015-11-9', [], 0], ['2019-12-29', [], 0], ['2019-12-30', [26], -5], ['2020-01-05', [26...
[ "dthung1602@gmal.com" ]
dthung1602@gmal.com
69869ebc03984e9a181bfa01398bf27569c1070f
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/tools/perf/core/trybot_command.py
42d3f8caba6a4ce90339060b8195a004ce92b4b3
[ "BSD-3-Clause", "LGPL-2.0-or-later", "Apache-2.0", "LGPL-2.0-only", "MIT", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.1-only" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
Python
false
false
23,224
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. import argparse import base64 import collections import gzip import io import json import logging import os import platform import subprocess import tempfile...
[ "jacob-chen@iotwrt.com" ]
jacob-chen@iotwrt.com
139ae68b2be277c9fdaf6f2be24835da7af96d6d
89392446796de66cd02bdfce98a26df8be96aee6
/fast.py
969205a5caf8c5a901e653ee06229ed6a43930ed
[]
no_license
hdb7/fast
2ecb727cf1ba19366396870108c4e1b1408b5b4f
d3efb1bb63fcb72be5a50cd19dfa49890d361225
refs/heads/main
2023-08-01T11:03:49.307255
2021-09-08T13:31:11
2021-09-08T13:31:11
404,355,884
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
from tkinter import * from tkinter import ttk from ttkbootstrap import Style import speedtest #get the internet speed def get_speed(): speed=speedtest.Speedtest() download_speed=round((speed.download()/1024)/1024) upload_speed=round((speed.upload()/1024)/1024) label.config(text='Download Speed: '+str(download...
[ "hamjakdb@yahoo.com" ]
hamjakdb@yahoo.com
592dbf5b326a1d4203d8c3eee748676fd724d811
b65a17b94e63a99c121991d49e0ab230d69396d6
/boston/boston_main.py
6c02039dd6700e7913622a5d124bc010f79af5dd
[]
no_license
JohannesKepler/bunny-bike
4a192ad011c3b10826042c50bb6cc07cba304eb2
2ce208f7513c95c6f0cbaa8cfb276d03eb216dbb
refs/heads/master
2021-04-15T15:03:11.959140
2019-01-20T20:18:31
2019-01-20T20:18:31
61,502,861
0
0
null
2018-03-21T19:12:13
2016-06-19T22:12:57
Python
UTF-8
Python
false
false
2,824
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from datetime import datetime from time import sleep import boston_localized #from subprocess import * import Adafruit_CharLCD as LCD # Raspberry Pi LCD pin configuration: lcd_rs = 27 lcd_en = 22 lcd_d4 = 25 lcd_d5 = 24 lcd_d6 = 23 lcd_d...
[ "noreply@github.com" ]
noreply@github.com
9095659ae9c601ae7bc7caa508d44fca0290d14a
c88f9db86284d02048beb5e6df330aa9428ff5bb
/netl2api/lib/utils.py
123bbb0597c502f120bd0e5f2f70618d9d3d1b68
[ "Apache-2.0" ]
permissive
bmarcondes/netl2api
854b70ddf7cad8110ed9f37ddc436aeb63f9d884
b23eb818a73704be91b0d2466e35d4e8aa0498c5
refs/heads/master
2021-01-09T20:41:19.469664
2012-11-29T20:08:45
2012-11-29T20:08:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,874
py
#!/usr/bin/python # -*- coding: utf-8; -*- # # 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 # # Unles...
[ "escarpellini@x-navajo.(none)" ]
escarpellini@x-navajo.(none)
2d6a3cd25f197751e149059541b4d0994995c45c
76e8211043cd152b7454cf47749c2a1c20a541c8
/chap_15.py
8acebde30355800b2cdd884da5ad7e2cdbab3a89
[]
no_license
Noman-Tanveer/Visualizations
ec9cedd9798df1d23f0023a678ea5d084ff1057f
f746a9de032e07c445ad4013952f5815c3cb6fa9
refs/heads/master
2023-02-06T20:17:26.886294
2020-12-08T19:45:07
2020-12-08T19:45:07
319,225,119
0
0
null
null
null
null
UTF-8
Python
false
false
5,699
py
import matplotlib.pyplot as plt input_values = [1, 2, 3, 4, 5] squares = [1, 4, 9, 16, 25] plt.plot(input_values, squares, linewidth = 5) plt.title("Square Numbers", fontsize=24) plt.xlabel("Value", fontsize = 14) plt.ylabel("Square of Value", fontsize=14) plt.tick_params(axis = "both", labelsize = 14) plt.show() x_...
[ "nomantanveer021@gmail.com" ]
nomantanveer021@gmail.com
97e4e71d57438e9e3ba2a0d36973d25ece048bd5
3d7d29ad55ec53c1d423ef8d28d06b1ba449c0ef
/django_project/sunlumo_mapserver/printer.py
378253960c83551394083b398d907b546de55f33
[ "MIT" ]
permissive
candela-it/sunlumo
885853c524b162e1ec99eb93cc2f6e18dfa95041
9fe9778edf02ab3c5fa90abb56511467cea243e1
refs/heads/master
2020-05-26T07:23:44.887698
2015-08-30T18:47:22
2015-08-30T18:47:22
27,635,357
1
4
null
2015-05-20T04:29:43
2014-12-06T13:35:13
CSS
UTF-8
Python
false
false
2,126
py
# -*- coding: utf-8 -*- import logging LOG = logging.getLogger(__name__) from qgis.core import ( QgsComposition, QgsPalLabeling, QgsMapRenderer, QgsRectangle, QgsCoordinateReferenceSystem ) from .utils import change_directory from .project import SunlumoProject class Printer(SunlumoProject): ...
[ "dodobas@candela-it.com" ]
dodobas@candela-it.com
55405e3d6382798737ab5eaecff2a1af521ff606
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/MuonSpectrometer/MuonCablings/MuonCablingServers/python/__init__.py
46ac7323b0e0050a72f16f3a5a65d27ae41069ce
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
234
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration # File: MuonCablingServersConfig/__init__.py __version__ = '1.0.0' __author__ = 'alessandro.dimattia@roma1.infn.it' __all__ = [ 'MuonCablingServersConfig' ]
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
45baff1dc3b4200e7558995235b4bbe599e0dcc1
ae76cc0d5432573bd263ad2c0539ac341a406719
/SniffSpoof/scapy-examples/3.py
66368a3d8799893f2832b375a98274e366b1ed26
[]
no_license
Samyak2/SEEDLabs-Examples
aa250405c77fed5fda8f3a22dee3538efbf74dbf
028ba10f99f7dbe1a50ccbdcbe1a45f6340b0898
refs/heads/master
2021-01-26T03:44:56.272708
2020-02-26T15:29:08
2020-02-26T15:29:08
243,296,486
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
#!/usr/bin/python3 from scapy.all import * def print_pkt(pkt): pkt.show() pkt = sniff(filter='icmp', prn=print_pkt)
[ "samyak201@gmail.com" ]
samyak201@gmail.com
f506440a4f8ab271ba0a173593f63ed9f12df697
3af1c9a7ffa427168acf8a764a3143a858ea9ff8
/juegosArchivo.py
22e3b57f399a7efafcd9c2950439953f3134dbaf
[]
no_license
nicosabarros/SemPython
cdc4e344dfaa11c3cbf6fe64591e423203643049
76d95b14093ff884d240448be70ba51b8b123ff8
refs/heads/master
2022-06-09T16:02:53.288887
2020-05-12T00:49:34
2020-05-12T00:49:34
263,194,072
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
import hangman import reversegam import tictactoeModificado import json def info_player(nom, edad, jugados): datos_jugador = {'Nombre': nom, 'Edad': edad, 'Juegos': jugados} print(datos_jugador) j = json.dumps(datos_jugador) with open('Datos jugadores.txt', 'a') as f: print(j, file=f) def main(args): n = inp...
[ "noreply@github.com" ]
noreply@github.com
231b7f3b2eb3722e527e3be7c9da13d98b8fdcd0
d9a1925f56ba66150a25f4bd89da5f27280c2f94
/bundle/vdebug/plugin/python/vdebug/breakpoint.py
0040975c404e65bab8dd260389c0ead46f00c2ba
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
c77cc/vim-devel
bffa0c1746bfeb6fc8cbcbba85d05aac16a2f8c6
f14e8e08bba32bab9a645562e60cb9001d8e107b
refs/heads/master
2021-01-21T13:33:59.104415
2017-11-17T10:26:56
2017-11-17T10:26:56
4,543,137
1
1
null
null
null
null
UTF-8
Python
false
false
7,153
py
import base64 import vdebug.log class Store: def __init__(self): self.breakpoints = {} self.api = None def link_api(self,api): self.api = api num_bps = len(self.breakpoints) if num_bps > 0: vdebug.log.Log("Registering %i breakpoints with the debugger" % num...
[ "yaohuaq@gmail.com" ]
yaohuaq@gmail.com
340cdd25e6ba61fafd87bd9b7fb641673e3470b8
ad0b7af5c3547be1081e77594d98fa9939576c69
/program/SGD.py
fecb93355de1de1e74268e73e1c5d474d0eba2db
[]
no_license
UESTC-Liuxin/ML
29ce4a576215520f87049bf1024f659cbd7a0e64
f88ddaa6eb97d1bb31a64ba3a8448fa9f2bead32
refs/heads/master
2022-07-29T22:24:12.997064
2020-05-24T12:48:32
2020-05-24T12:48:32
261,960,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
# import d2lzh as d2l import math # from mxnet import nd import numpy as np import matplotlib.pyplot as plt def train_2d(trainer): # 本函数将保存在d2lzh包中方便以后使用 x1, x2, s1, s2 = -5, -2, 0, 0 # s1和s2是自变量状态,本章后续几节会使用 results = [(x1, x2)] for i in range(20): x1, x2, s1, s2 = trainer(x1, x2, s1, s2) ...
[ "625092890@qq.com" ]
625092890@qq.com
8389f0e2b24980237a4f8e788106d6c081298b48
06957bcc77891d2a6cca5661625f9571918e47ae
/python/400.Nth Digit.py
223b008c80d6116e012cac1ab8c0fc25cdfd95bf
[]
no_license
Leputa/Leetcode
c869af806dadff5c2c456a67ca61bf91fb54284f
1f0a2a3150cee119bbe28f0061f467403ceddbee
refs/heads/master
2021-06-03T11:47:56.992171
2020-07-01T09:22:23
2020-07-01T09:22:23
106,419,034
0
1
null
null
null
null
UTF-8
Python
false
false
119
py
class Solution(object): def findNthDigit(self, n): """ :type n: int :rtype: int """
[ "email@example.com" ]
email@example.com
fbb758b3f6c1ea969836eded62a44ef2a317e0b7
7b446cf3f1b5d84d8f930c1de427fd3381b715c3
/model3.py
610e5588852bb6530dd22836c0b9ebf14c0ca181
[]
no_license
CakeFTW/AI-miniproject
3a3f926880c3f8fbb88fbdea6697c7bd0fbb669d
9e572ee3fbb64eb480104d444879c92d6b5f2ad7
refs/heads/master
2020-05-30T05:38:18.902554
2019-06-06T09:06:53
2019-06-06T09:06:53
189,564,980
0
1
null
null
null
null
UTF-8
Python
false
false
3,908
py
import pandas as pd import numpy as np import dataprocess as dp import json from keras.models import Sequential from keras.layers import Dense from keras.layers import LSTM from sklearn.model_selection import train_test_split from sklearn.model_selection import StratifiedKFold from sys import argv input_step = 5 input...
[ "theis.berthelsen@gmail.com" ]
theis.berthelsen@gmail.com
3afca15c44b03004f1a13b16f2ce4c2a33cdf1b7
d1c53def818f9c7e1bd660e3303a754f297aff43
/code/ch7/4_13_b.py
ea53b0fad8491987b7b00a7fb0c995791a2c1aef
[]
no_license
khimacademy/c104
dcdcae13499e5b68905f09ea009e1a2b9f552e1c
83443858d5b85c23c107fa09cd672d17549776ee
refs/heads/master
2020-03-26T10:57:52.536935
2018-08-25T06:17:04
2018-08-25T06:17:04
144,822,712
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
''' 4-13. 뷔페 뷔페 스타일의 음식점이 있는데 기본 음식은 다섯 가지밖에 없습니다. 단순한 음식 다섯 가지를 생각하고 튜플로 저장하세요. - for 루프를 써서 이 식당의 각 음식을 출력하세요. - 항목 중 하나를 수정하는 시도를 해보고 파이썬에서 변경을 거부하는지 확인하세요. - 식당에서 메뉴를 교체하려 합니다. 항목 중 두 개를 다른 음식으로 바꾸세요. 튜플을 덮어쓰는 코드 블록을 추가하고, for 루프를 써서 바뀐 메뉴의 각 항목을 출력하세요. Output: You can choose from the following menu items: - rockf...
[ "sarang.khim@gmail.com" ]
sarang.khim@gmail.com
f4c44da88c3cfa431f42a723098bca44d0995abc
2dfec618efcbdf61344612c37c4aefcf66d56df1
/node_modules/mdns/build/config.gypi
2a5159bb76fe3786620906cb0c901d66b42a9f11
[ "MIT" ]
permissive
CoffCookie/googlehome
56622f30bb86c3b85404f7df47a021c560545a07
e92559497c7f9e3d5de8858547d6a701afc7d898
refs/heads/master
2022-12-23T16:14:04.591961
2019-10-07T16:41:04
2019-10-07T16:41:04
211,646,345
0
0
null
null
null
null
UTF-8
Python
false
false
5,603
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "arm_float_abi": "hard", "arm_fpu": "vfpv3", "arm_thumb": 0, "arm_versi...
[ "coffeeaxce@gmail.com" ]
coffeeaxce@gmail.com
2e840f82cf87d082656999939ea6eeb3f03d6c3c
a93ce0dbb557f9e3a0218fe22bf80d7fe42c84a2
/montecarlo/ivconfig_one_z_one_t_paper_n_2000_gamma_8.py
be2a77ed49800d46720e19451de425138884c6aa
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/AdversarialGMM
9d31993e7907937a80a0bef721c4f879a1009904
691fbe0761ee5b40dbc4e38317946a7193186af2
refs/heads/main
2023-06-24T00:22:55.120222
2023-06-12T18:16:19
2023-06-12T18:16:19
306,104,666
30
18
NOASSERTION
2023-06-12T18:16:20
2020-10-21T17:49:34
Python
UTF-8
Python
false
false
1,944
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import ivfunctions from mcpy import metrics from mcpy import plotting from mliv.dgps import fn_dict from raw_plots import raw_metric, plot_raw import papertables CONFIG = { "target_dir": "one_z_one_t", "reload_resul...
[ "vasy@microsoft.com" ]
vasy@microsoft.com
51df6f78e9135e31af7333b8fb60f766d0b4e202
389569a591284a2adcdc38046114e7b1038afd94
/polygon/polygon/main_test1.py
e577151b68aaee98d00b80a0414e0977b53d0787
[]
no_license
xytysingle/AnnotationTool
b797daf2fd472f602341b16f24fb1ed9b702aef1
a217d4376ceee739e0d8c43515c403133982e86e
refs/heads/master
2020-04-11T18:16:10.438919
2019-07-31T10:21:18
2019-07-31T10:21:18
161,992,153
0
0
null
null
null
null
UTF-8
Python
false
false
7,227
py
# import re # # s = '1中文中文:123456aa哈哈哈bbcc' # print(re.match(u"[\u4e00-\u9fa5]+", s) ) # # None. 只从字符串的开始匹配,没有匹配上返回None,否则返回matchobject # # pat = '中文' # print(re.search(pat, s).group()) # # matchobject. 对整个字符串进行匹配,,没有匹配上返回None,否则返回matchobject # # newpat = '这里是中文内容' # news = re.sub(pat, newpat, s) # 正则部分替换,将s中的所有符合p...
[ "2463072824@qq.com" ]
2463072824@qq.com
1a4a0288e8e3019a761c0aaff3b7d3a44adc8484
4f5acb850c75aab51d1c39e447fb2c593bddaef7
/src/main/analyze/a_admin_user_mutual_month.py
40abe5a1baed44e9cc73b3b76fd2f712ed7b2f4f
[ "MIT" ]
permissive
WikiCommunityHealth/wikimedia-revert
bd911d56b79c769c512cf2fdd38756e8ea551f7e
b584044d8b6a61a79d98656db356bf1f74d23ee0
refs/heads/main
2023-06-05T10:23:00.464227
2021-07-04T16:31:49
2021-07-04T16:31:49
319,702,173
4
0
null
null
null
null
UTF-8
Python
false
false
406
py
#%% import pandas as pd import matplotlib.pyplot as plt import csv from calendar import month_abbr file = '/home/gandelli/dev/data/admin/user/mutuals.tsv' file2 = '/home/gandelli/dev/data/admin/user/reverts.tsv' mut_df = pd.read_csv(file, sep='\t') rev_df = pd.read_csv(file2, sep='\t') df_user_month = mut_df.groupb...
[ "alessiogandelli99@gmail.com" ]
alessiogandelli99@gmail.com
9d1e7d122f92a994a6230c3bbe34c36e1be0f3c0
632850aeb1f53a48d17e2f9fb65ddfced6364e9b
/HARIBO_KING/algorithm/test_algorithm3.py
f9129e01fba223e00f87a31c526e1074fd6dfde3
[]
no_license
symnoisy/codingstudy
b7a851f64739f17a1781df622f86e30b8041824a
43450f7c2c058e188495596ac96556436fb12092
refs/heads/master
2020-04-08T04:27:52.588844
2019-09-22T09:46:36
2019-09-22T09:46:36
159,017,599
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
from collections import Counter test_dict = dict(Counter(["Tom","Jerry","Mike","Tom"])) keys = list(test_dict.keys()) values = list(test_dict.values()) #print(values) for value_idx, value_count in enumerate(values): #print(value_idx) #print(value_count) if value_count > 1: print(keys[value_idx]) ...
[ "lmania0126@gmail.com" ]
lmania0126@gmail.com
43760aa49bae7a6ddd6394e3ca43d2c138394661
d22b9149b41c076dee786ac66c4e8fe039435d81
/utils.py
794fa11720caf34527dd61fbff5efb203f5765db
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
stratosGithub/COCO-GAN
4a4c8fb077ee9c8cf88a32616b74f3f5bcd99f2d
44805d71166dbe39d57acc2ece8d1e659161b2a6
refs/heads/master
2020-09-23T04:33:29.453286
2019-12-02T16:42:43
2019-12-02T16:42:43
225,403,019
0
0
MIT
2019-12-02T15:08:33
2019-12-02T15:08:32
null
UTF-8
Python
false
false
1,783
py
import os import tensorflow as tf import numpy as np from scipy.misc import imsave def aug_cylindrical_data_tensor(batch_images_t): width = batch_images_t.shape[2].value rotate_dist = tf.round(tf.random.uniform([], 0, 1) * width) rotate_dist = tf.cast(rotate_dist, tf.int32) batch_aug_results = tf.conc...
[ "hubert052702@yahoo.com.tw" ]
hubert052702@yahoo.com.tw
847c8e1a1752f949ac60373e591b7baf3d2b9346
43170a3ca90abc76b16ef53cc1121823e56921d9
/TokenGrabberMaker-main/TokenGrabberMaker-main/TokenGrabberMaker.py
844e0368f65d388971adc57dd90b662666df5ada
[ "MIT" ]
permissive
HashTerminal/DiscordToken
9f3311490e6db1f99bf97b5d87a0afae2b9a9d22
e6870f7bc4b62a3bc7e2c52cf626072557d32df8
refs/heads/main
2023-02-27T23:56:16.343133
2021-02-04T20:28:33
2021-02-04T20:28:33
335,441,456
0
0
null
null
null
null
UTF-8
Python
false
false
5,094
py
# coding: utf-8 import os import shutil import time import ctypes import sys try: import requests except: os.system(f"{sys.executable} -m pip install requests") import requests try: import PySimpleGUI as sg except: os.system(f"{sys.executable} -m pip install pysimplegui") import PySimpleGUI as s...
[ "noreply@github.com" ]
noreply@github.com
8d2bf3bac2b602bbaeb7eb68a7b28172a7b6631f
d1d79d0c3889316b298852834b346d4246825e66
/blackbot/core/wss/ttp/art/art_T1055-1.py
ce733c638fed1dee79e232881503ae921bc201e5
[]
no_license
ammasajan/Atomic-Red-Team-Intelligence-C2
78d1ed2de49af71d4c3c74db484e63c7e093809f
5919804f0bdeb15ea724cd32a48f377bce208277
refs/heads/master
2023-07-17T12:48:15.249921
2021-08-21T20:10:30
2021-08-21T20:10:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,874
py
from blackbot.core.utils import get_path_in_package from blackbot.core.wss.atomic import Atomic from terminaltables import SingleTable import os import json class Atomic(Atomic): def __init__(self): self.name = 'Privesc/T1055-1' self.controller_type = '' self.external_id = 'T1055' s...
[ "root@uw2artic201.blackbot.net" ]
root@uw2artic201.blackbot.net
29dbf78b7b72a8f287df6f7598a3069312a5f4c1
6fca3a4ca0a8650eaca1cdafcac4eb2eadaf3d9d
/hw1/12/12_2.py
e85ee0ce7cf6538f48159ce09b3cb8c4a60299ef
[ "MIT" ]
permissive
ParthDeshpande27/PH-354-2019-IISc-Assignment-Problems
e21157b81df83c008296ee5bb0b9d78d13e3c280
370dbbc447749cebe148a6ffffb48ea978b2949b
refs/heads/master
2023-05-08T04:38:00.009051
2021-05-30T10:22:58
2021-05-30T10:22:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 7 10:35:11 2018 @author: Alankar """ def catalan(n): if (n==0): return 1 return ((4*n-2)/(n+1))*catalan(n-1) print('Catalan Number: C(%d)=%d'%(100,catalan(100)))
[ "noreply@github.com" ]
noreply@github.com
7062f8cb946b9bae96404c59fcbabca669313e2f
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/raw/GL/VERSION/GL_2_0.py
6f786b758b73de315862fddade51267e6005a07b
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
14,306
py
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import ctypes _...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
f88832413867270846933015e54c29e63220fdfe
459709447eebf4d585f6f359c6929341219d21d5
/my_python/digout.py
38ae5baffd95747c8f6bd16ec728e540f787ddba
[]
no_license
sagarbpatel31/BeagleBone-Black
8b39fd0433eaf0599d44cb47628a626ec2d282e0
6c11a02ca45d1750c75ebfb60ee607023ce084d1
refs/heads/master
2022-11-05T19:05:37.318849
2020-06-23T06:28:21
2020-06-23T06:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
import Adafruit_BBIO.GPIO as GPIO outPin="P8_17" GPIO.setup(outPin,GPIO.OUT) from time import sleep for i in range(5): GPIO.output(outPin,GPIO.HIGH) sleep(1) GPIO.output(outPin,GPIO.LOW) sleep(1) GPIO.cleanup()
[ "noreply@github.com" ]
noreply@github.com
dbf8352f6c167831f4aa48d7c2e5aca3249915ca
9073c2264e620239dc7f195e7cf0d486244dee8f
/programs/latin_squares/diag_quantities.py
6f5e170bbdc1ce8cb443ebd3c1a5abaa20aac855
[]
no_license
idontgetoutmuch/waste-free-smc
5bcde0e3cff779fcb190ab7a3cb75089dcebadf3
3d290dff4eec79151c0c4b7722226dbef5a40b9d
refs/heads/master
2023-01-08T20:15:10.761265
2020-11-05T08:00:49
2020-11-05T08:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,647
py
from programs.common_diagnostics import common_diagnostics, LogLT, MeanFirstMarginal, get_variance_estimators_for_posterior_mean import math import numpy as np diag_quantities = [] diag_quantities.extend(common_diagnostics) def add_to_dq(something): diag_quantities.append(something) return something def log(...
[ "hai-dang.dau@polytechnique.edu" ]
hai-dang.dau@polytechnique.edu
38b38430f0308eaecf1a990a1e55eb71545c5dda
6233dfe18e53b55aef0c5eef9d6b59730f96dccb
/message/migrations/0002_auto_20190410_1804.py
e7acc1a2b3a64c7123506b7f19a40fb130199708
[]
no_license
omar74/HISIK_API2-master
6fe4f8380717f0a767409c62c1ffcfd060fddd4d
5d891bc9c7a31de8cdb0591a77d5fb1e0f759984
refs/heads/master
2020-12-15T15:38:33.103082
2020-01-20T18:48:18
2020-01-20T18:48:18
235,158,685
1
0
null
null
null
null
UTF-8
Python
false
false
426
py
# Generated by Django 2.1.7 on 2019-04-10 16:04 from django.db import migrations import django.db.models.manager class Migration(migrations.Migration): dependencies = [ ('message', '0001_initial'), ] operations = [ migrations.AlterModelManagers( name='message', m...
[ "omar.ashraf0597@gmail.com" ]
omar.ashraf0597@gmail.com
de67c007364dfb0b71dd50d487c78eea39e615d6
cfbbe1303ed4a2feaf7e0023e62aa910b7eee733
/doc/conf.py
a4b1bca880898a236fea88f11043c0d203a934b7
[ "BSD-3-Clause" ]
permissive
717524640/fatiando
8fa4fef8920770735d1a0d655259e87bc9382001
bf09661c40423bec85e47f15a14b786f25b7e873
refs/heads/master
2021-01-20T21:29:26.742259
2015-03-18T19:15:45
2015-03-18T19:15:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,807
py
# -*- coding: utf-8 -*- import sys import os import datetime import sphinx_bootstrap_theme # Sphinx needs to be able to import fatiando to use autodoc sys.path.append(os.path.pardir) # and the cookbook.py module to build the cookbook sys.path.append(os.path.split(os.path.abspath(__file__))[0]) from fatiando import __...
[ "leouieda@gmail.com" ]
leouieda@gmail.com
3d0f4e92f82aeca0ee2486764345fa694bfe6656
8fd28b248511f42ad8732ca1e574aada33908376
/configs/recognition/slowonly/slowonly_r50_8x8x1_256e_kinetics400_rgb.py
02c50db20d8fa02519d4fe1ad7364d0967dfce15
[ "Apache-2.0" ]
permissive
vt-vl-lab/video-data-aug
28bd175535cab1444055502389c8f5d7d75e4bd2
01667cdbd1b952f2510af3422beeeb76e0d9e15a
refs/heads/main
2023-09-01T02:36:40.034893
2021-07-21T01:31:42
2021-07-21T01:31:42
352,920,339
29
6
Apache-2.0
2021-07-21T01:29:36
2021-03-30T08:06:54
Jupyter Notebook
UTF-8
Python
false
false
3,720
py
model = dict( type='Recognizer3D', backbone=dict( type='ResNet3dSlowOnly', depth=50, pretrained=None, lateral=False, conv1_kernel=(1, 7, 7), conv1_stride_t=1, pool1_stride_t=1, inflate=(0, 0, 1, 1), norm_eval=False), cls_head=dict( ...
[ "zouyuliang123@gmail.com" ]
zouyuliang123@gmail.com
ead09ab22773f49258a7649827d7d5c8dc545481
03460b3a41a27074f46300a9c0ba021882e5ac22
/postgresql_event_store.py
76de92b2964b555c41d41831f5826b677bcb19d4
[]
no_license
rameezk/python-event-sourcing
ceb85fb2171518697451868673051ce266d62ad3
e278cfe1a6a906517f5de6ab3a0f80edc1dab2ee
refs/heads/master
2021-01-07T02:29:31.933323
2020-02-24T06:14:08
2020-02-24T06:14:08
241,553,238
0
0
null
null
null
null
UTF-8
Python
false
false
2,796
py
import typing import uuid import json from sqlalchemy.orm import Session, joinedload from sqlalchemy.orm.exc import NoResultFound from event_store import Event, EventStream, EventStore, ConcurrentStreamWriteError from model import AggregateModel, EventModel import events class NotFound(object): pass class Post...
[ "rameezkhan.sa@gmail.com" ]
rameezkhan.sa@gmail.com
6f0937b40bf24654f0ac87c52311306da4d85b60
0d55dff6c2ca3fd59239fbfa1fccc5126d03b5f6
/SignUp/urls.py
79315fb36c619a556b95e238c8091a78c62e6bec
[]
no_license
Aishm149/Tcs
fbeb8ba65b46532e7d44df880010d2445fd2eca7
70ccd7954cfe5b9986038b40817c0396d7f06d94
refs/heads/master
2020-06-25T21:22:49.940852
2017-07-07T17:41:10
2017-07-07T17:41:10
94,241,061
0
1
null
null
null
null
UTF-8
Python
false
false
83
py
from django.conf.urls import url from . import views \ urlpatterns = [ ]
[ "noreply@github.com" ]
noreply@github.com
3998e43aee8ecad247382939c03c05e996a4f7fe
89e74af09a04f9eb58e3fc64f090a6dfa0b82151
/argexec/_docstring.py
fd070dcc6bf2b56d6c9fed62997d1e33554d7348
[ "Apache-2.0" ]
permissive
XevoInc/argexec
da0225af1ca350e159f0d3e96f8818466fff046b
c4e50e386a8ea219a5264426a9b6e727ed8fc99e
refs/heads/master
2022-12-02T05:58:59.592312
2020-08-06T00:14:16
2020-08-06T00:14:16
271,117,476
7
0
NOASSERTION
2020-08-06T00:11:19
2020-06-09T21:53:17
Python
UTF-8
Python
false
false
1,374
py
""" Docstring parsing utilities. """ import inspect as _inspect import re as _re from typing import Callable, Dict, Optional, Tuple, Type try: from typing import Final except ImportError: from typing_extensions import Final def get_type_name(type_: Type) -> str: return getattr(type_, '__name__', None) o...
[ "rrowe@xevo.com" ]
rrowe@xevo.com
c57d981858943849c4e8c3f32540126033278560
d4f9d104479b6f9a64175a3fe8554860bf0d62b2
/lanterns_flow.py
f21e5cac8d884f69b1f0a304848508f966696f40
[]
no_license
pohily/checkio
9a09c9c52b4f07438cfe4e00914e8d1cfe844c5d
8a0a49126af6e09b9e5e6067f28efbf085cd87f6
refs/heads/master
2020-05-16T03:18:18.068186
2019-07-06T13:22:20
2019-07-06T13:22:20
182,674,736
0
0
null
null
null
null
UTF-8
Python
false
false
2,212
py
def lanterns_flow(river_map, minutes): num = river_map[0].count('.') river_map = list(river_map) river_map[0] = river_map[0].replace('.', 'L') if minutes == 0: return num * 2 # draw path for every lantern (P - passed time, L - lantern) for lanterns in range(num): for ti...
[ "noreply@github.com" ]
noreply@github.com
8a767c3583f8fe6d0da5fad105f7f54bf032f7a9
ace089582d86dbd002f47dfc69a857697554d7d4
/initial.py
f7bd372a579791db5662eeb1a55c274b79bf77e7
[]
no_license
vrathod07/CV
add1deceaabd85dd7d106db3cc51a2b4ad870bef
6156e5c3348dd5902b0f3c1f87f3589f6346fcae
refs/heads/master
2023-07-11T10:10:34.773497
2021-08-18T05:37:01
2021-08-18T05:37:01
389,410,593
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
import cv2 import random #load the image img = cv2.imread('assets/screen-2.jpg',-1) # #resize the Image # #img_2 = cv2.resize(img,(400,400)) #resize in terms of pixels # img_2 = cv2.resize(img,(0,0), fx=0.5,fy=0.5) #resize in terms of height and width # #rotate the image # img_3 = cv2.rotate(img,cv2.cv2.ROTATE_180) ...
[ "rathodvaishnavi07@gmail.com" ]
rathodvaishnavi07@gmail.com
d89a73c3c9d12734e96d70e5408d66f8aa4eed3d
9045ca760b232c9558a9e89570b03d8fdf93fee9
/LPTHW/ex3.py
72e27124cae60d387f511833cba0febddcef6fc2
[]
no_license
vaibhav-k/Python
2bd7e7aaea4aa4ad3025d414bd1b3251b90fd9e8
20116b812f5fcab8758206b8059df0783575a8f5
refs/heads/master
2021-01-09T06:07:41.064838
2018-02-01T06:32:58
2018-02-01T06:32:58
80,921,584
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
print "I will now count my chickens" print "Hens", 25 + 30/6 print "Roosters", 100 - 25 * 3 % 4 print "Now I will count the eggs:" print 3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6 print "Is it true that 3 + 2 < 5 - 7?" print 3 + 2 < 5 - 7 print "What is 3 + 2?", 3 + 2 print "What is 5 - 7?", 5 - 7 print "Oh, that's why i...
[ "vaibhav1kulshrestha@gmail.com" ]
vaibhav1kulshrestha@gmail.com
780ff040eeb1a1f7fb7a5e3429c0df8a7340963b
13c3d021009598b6141acb85b0529ca12e7b2651
/store/ver1/my_store/my_store/urls.py
1174a43baf4cca3f864250011360939eda4f5a9e
[]
no_license
markoburak/web_dev
a91bc9e4c0630052c9e2f8dec16949750ff3bc90
6969c9bcb2554d15bb0bce90bc4c469a16fb57fe
refs/heads/master
2023-04-09T08:15:45.962150
2021-04-13T21:53:55
2021-04-13T21:53:55
298,248,481
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
"""my_store URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "burakmarko@gmail.com" ]
burakmarko@gmail.com
485d31cabe0cee07635f670eed188dda7a1dce52
7e9c0dc17dbb5c491d9ac3a8387e69a5961db840
/Database_software_package/scripts/kegg_go/kegg_go.py
a109c0f1531d92c91d7488f8501d7be9f914dff5
[]
no_license
SPURc-Lab/Dt_database
aa004ba0b8b0ebf9f42698a59015c9c7ea8f5af3
ecd889b2105327c2372fda8d1b872f954297ff13
refs/heads/master
2021-01-19T06:27:36.848884
2016-11-03T03:17:18
2016-11-03T03:17:18
63,463,206
0
0
null
null
null
null
UTF-8
Python
false
false
1,991
py
#!/usr/bin/python # Usage: python kegg_go.py <merge_output.txt> # Python program to get kegg_gene, kegg_ortology, gene_ontology, and gene_ontology definition from online URL import sys import urllib2 def get_kegg(): inFile = open(sys.argv[1], 'r') outFile = open("kegg_go_output.txt", 'w') inBase = [] ...
[ "yaolina2010@gmail.com" ]
yaolina2010@gmail.com