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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
4abbb28ccc08c6fbdc03c756d15d17e45181a96a
e0980ab62de1b3e49f4eb7e85c58c7361f2af62d
/tqblogscn/extra_apps/haystack/__init__.py
12362df40224ad32e3b047f17bf71a88316d8ae4
[]
no_license
Joinpython/tqblogs
93ebbaf8a68b22fd364e99d5fccc3227ab7b48b9
43ae71f1e32d109c33484caec2653b3195f29a05
refs/heads/master
2023-01-11T23:34:43.828651
2018-03-30T03:04:10
2018-03-30T03:04:10
117,675,672
3
0
null
2022-12-27T15:24:55
2018-01-16T11:34:34
JavaScript
UTF-8
Python
false
false
2,448
py
# encoding: utf-8 from __future__ import absolute_import, division, print_function, unicode_literals from django.conf import settings from django.core.exceptions import ImproperlyConfigured from pkg_resources import DistributionNotFound, get_distribution from haystack import signals from haystack.constants import DE...
[ "3577451043@qq.com" ]
3577451043@qq.com
ce7bfaf85f5e55097d06bc2990ecc1757aabd37a
673f9b85708affe260b892a4eb3b1f6a0bd39d44
/Botnets/Phases/Phase 2/Algorithms/Algorithms after PDG-2/PDG-2-Fase-2-ENV/lib/python3.6/site-packages/setuptools/sandbox.py
e46dfc8d25e8accf6fb08c13b878da1550e4738f
[ "MIT" ]
permissive
i2tResearch/Ciberseguridad_web
feee3fe299029bef96b158d173ce2d28ef1418e4
e6cccba69335816442c515d65d9aedea9e7dc58b
refs/heads/master
2023-07-06T00:43:51.126684
2023-06-26T00:53:53
2023-06-26T00:53:53
94,152,032
14
0
MIT
2023-09-04T02:53:29
2017-06-13T00:21:00
Jupyter Notebook
UTF-8
Python
false
false
14,284
py
import os import sys import tempfile import operator import functools import itertools import re import contextlib import pickle import textwrap from setuptools.extern import six from setuptools.extern.six.moves import builtins, map import pkg_resources.py31compat from distutils.errors import DistutilsError from pkg_...
[ "ulcamilo@gmail.com" ]
ulcamilo@gmail.com
9a77f1e6c9ad0e39e85484d1e1f04ba613870d62
a70b482f30bf471a418b2c0996b4fa541e0729ca
/pattern_visualizing.py
a04b998333f43134670eea363a544bb86104879e
[]
no_license
radroof22/Portfolio-Management-Policy-Gradient
0c88baf61e78e4276d59b04c3525a63b8aff9a70
98b6ac64bf48c9842ee98c02ac225fd7294ae1cc
refs/heads/master
2023-05-10T22:34:46.518104
2021-05-25T00:50:25
2021-05-25T00:50:25
169,523,014
1
0
null
null
null
null
UTF-8
Python
false
false
2,322
py
import torch from Environment import Environment from regular_policy import Agent, select_action, format_action import matplotlib.pyplot as plt env = Environment() # CONSTANTS MODEL_PATH = "models/regular/model_proper_portfolio_value.pt" N_TESTS = 1 agent = Agent().cuda() agent.load_state_dict(torch.load(MODEL_PATH...
[ "mehta.rohan@outlook.com" ]
mehta.rohan@outlook.com
b6c7f4472327222b22711acdd68b5ac54f2469ca
8ce5b02d02727461763a01578bc7f8a7bdb494f7
/jennifer & Laith/laith_eatit.py
7915543e23b3de6a7e6aa705cb744a04c2aded33
[ "MIT" ]
permissive
idane19-meet/EAT_IT
7fd679829909981b8b7837759d6ff076d611aad5
7f87c0717232775dca449aec1489d7f19fd82c7c
refs/heads/master
2020-12-02T11:30:01.385957
2017-08-10T15:46:51
2017-08-10T15:46:51
96,643,688
0
0
null
null
null
null
UTF-8
Python
false
false
8,751
py
import random import turtle import time def menu(): x = input('would you like to start the game? \n (YES/NO) \n would you like to quit the menu bar? \n (QUIT) \n *PLEASE USE CAPITAL LETTERS \n YOUR ANSWER: ') if x == 'NO' or x == 'QUIT': quit() elif x == 'YES': print('') menu() print('are...
[ "idane19@meet.mit.edu" ]
idane19@meet.mit.edu
fc24e3042848ca03a74b20f74ca33014dc5208cd
1ae38180c23e015fb0da9ac7cb00ea72191dc5fe
/cbvcrudapp_prj/wsgi.py
498cc9c1ca85e79e482115ab66756f1777c34380
[ "MIT" ]
permissive
prasanthn/django-cbvcrudapp
fa55bd6e1f862ae324985d39e70a99725dced295
b95d909cd144943340fd49cca6e2ebfb9365b66e
refs/heads/master
2021-01-16T18:43:56.407286
2014-02-17T04:20:03
2014-02-17T04:20:03
16,858,416
0
1
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for cbvcrudapp_prj 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.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cbvcrudapp_prj.settings") from...
[ "prasanth.n@outlook.com" ]
prasanth.n@outlook.com
73c79b907bb4e2885350fb638e84aabe58a21fba
15586ec0f2ccdb55c28541e6ca12422bcf6f5182
/acosf.py
73c1e0dc3225fef4302841778b93d41c7de6d46a
[]
no_license
abdul99ahad/pycalc
6de64500c583702fa4fd91a6b8bc916b18287817
8068f78ce6921bcc0069249c682574cb5d3c200a
refs/heads/main
2023-03-10T18:45:35.108218
2021-02-23T18:09:32
2021-02-23T18:09:32
341,642,224
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
from math import * def arc_cos(display,deg,a,c): try: if a > 0: display = a a = 0 else: pass if deg==True: display=float(display) if display<=1 and display>=-1: display=acos(display) display=degrees(d...
[ "abdul9ahad@gmail.com" ]
abdul9ahad@gmail.com
acc92bd6a6b69bf0413a2dbf15c334b74b5576f9
8d3a5dd6da1382ab890b657016470e836e0ef135
/armstrong.py
237f5126420e9d9d680972bdbb9106053df55827
[]
no_license
JuhiKumariMahato/level1
e8edc7ce9103db33df2bd3e234c210e260bca0a7
4d9bb78f1f13c63e52c4f6b1b4bb54eae028e48d
refs/heads/main
2023-06-22T10:38:49.212249
2021-07-23T12:08:56
2021-07-23T12:08:56
388,788,456
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
n=int(input("enter the no")) arm=0 x=n while(n>0): r=n%10 arm=arm+r**3 n=n//10 if(arm==x): print("the number is an armstrong no") else: print("not an armstrong no")
[ "noreply@github.com" ]
JuhiKumariMahato.noreply@github.com
7c68e9555011e76ecb807ab9b5340bbc994a8aca
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_pkg_firewall_policy_vpndstnode.py
cc4c839796dde50386c6787ae3951a868ea8cab2
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
7,919
py
#!/usr/bin/python from __future__ import absolute_import, division, print_function # Copyright 2019-2020 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the ...
[ "sifang@cisco.com" ]
sifang@cisco.com
02ab6ce4b0a5e3cc8f4857f83855687843f7324c
29f65ef4059ba04c20558f3be36c06fe3879a8e6
/c1/func.py
a173c0eafdf8e495d94cfb2dc8c14bfc80c1e2be
[]
no_license
kobe24shou/pythonwebdev
d9c912bd9304802069bc41345b054b065a173272
c7c6c5af69e7d8783e5c8b15f75e9ca61ed6a03f
refs/heads/master
2020-03-17T23:01:41.787573
2018-06-06T14:11:21
2018-06-06T14:11:21
134,028,551
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
#!/usr/bin/env python # -*-coding:utf-8-*- def sum(x, y): return x + y def total(x, y, z): sum_of_two = sum(x, y) sum_of_three = sum(sum_of_two, z) return sum_of_two, sum_of_three # 定义了没有参数和返回值 的 main()函数 def main(): print("return of sum:", sum(4, 6)) x, y = total(1, 7, 10) print("r...
[ "aishou24@gmail.com" ]
aishou24@gmail.com
a8ba8f5cd6428d840bbf8e2ae7702e2812e943d5
4a83e3197e0109709261ab476b97b70f06dd2535
/minker/minker.py
25e355574b17bec406efa51886d6807650318650
[ "MIT" ]
permissive
RetepRennelk/minker
e5eea27674530d9070ba9483646ed5d1110d188d
10eec582d53015e82ca628660451bcd6d3e2df6e
refs/heads/master
2020-04-05T17:36:51.366472
2018-12-08T08:08:11
2018-12-08T08:08:11
157,068,830
0
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
import sys from PyQt5.QtWidgets import QApplication, QMainWindow from PyQt5.QtGui import QIcon, QFont from minker.tablewidget import TableWidget from pathlib import Path import minker.config as config class MainWindow(QMainWindow): def __init__(self): super().__init__() iconfile = Path(__file__).p...
[ "peterklenner@gmx.de" ]
peterklenner@gmx.de
47a7689341aba141ef07a367e7a1f049400f7b03
32ad4e49c2e704a8f8e170cbb0b95c9d72797671
/StartScene.py
9bef0015f5b0630099fa1fad91fc134b71ecc4d8
[]
no_license
kruby3/nback-test
f1d1ec1453392414d9b80b909a3cd15df87e1e6b
3c470447046e9f26c7a49af8ed273158b91b625d
refs/heads/master
2021-08-11T11:23:01.357240
2017-11-13T14:48:38
2017-11-13T14:48:38
109,038,227
1
0
null
null
null
null
UTF-8
Python
false
false
1,285
py
from InstructionScene import InstructionScene from Scene import Scene from Button import Button import Settings import pygame class StartScene(Scene): def __init__(self): super(StartScene, self).__init__() self.buttons = [] def render(self, screen): screen.fill(Settings.white) ...
[ "kruby3@gatech.edu" ]
kruby3@gatech.edu
5f27a5ab246a0ff4f691918458972be437c390b2
900469a5aced73dbe0ca11cb96729202a420cfb1
/plugins/inventory/terraform.py
c1f2a6fa9356826522ed2464184f5b87063d72e2
[ "Apache-2.0" ]
permissive
wangqiang8511/customized_mantl
ccc749c9f47faf3bef98fb1f3bc0cf57aeda65e3
723009f004c933ad3ec58b8f8fa4041575bb4aea
refs/heads/master
2021-01-10T01:37:49.358648
2015-12-16T05:18:37
2015-12-16T05:18:37
46,896,454
2
0
null
null
null
null
UTF-8
Python
false
false
17,920
py
#!/usr/bin/env python # # Copyright 2015 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "wangqiang8511@gmail.com" ]
wangqiang8511@gmail.com
043d846664e3ce02332e791f914cb489d23f59f0
9a55e24a449d302efd404fdec5fa11dbd80c6e0e
/ProcessImages/batchAverage.py
c56cb3dcaaddb7071d37c9e45a9267ce41d86ea1
[]
no_license
kristofGovaerts/MRI
38d115a03925d4a1ccd5676ca21cd4fa99b5681d
03b15da313b25fcd1f3d4949415f3a1c6b93c56f
refs/heads/master
2021-03-09T17:11:13.837201
2020-07-08T19:53:32
2020-07-08T19:53:32
246,360,563
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
# -*- coding: utf-8 -*- """ Created on Fri Dec 12 16:16:08 2014 @author: u0091609 Batch averaging tool for fMRI data. For registration purposes. """ import nibabel as nib import Tkinter, tkFileDialog root = Tkinter.Tk() import glob import numpy as np import os while True: rootdir = tkFileDialog.a...
[ "noreply@github.com" ]
kristofGovaerts.noreply@github.com
63359d67242621399aecfe0cfc6ad62c46e1699c
f0f62ceb4aa53b143f1a579e32bb95265948d7ea
/verilog_for_fpga/spi_ctrl2.py
f74cf6ad37686ddc53811bf31170d3691ae717d2
[]
no_license
gabesk/xmas
82ddf76e0fd2d2da5bb9c8fb9b4f65f740ff2e11
1897fa8100f433028c8d1c2805af9bfae1331e5c
refs/heads/main
2023-04-24T01:27:16.989688
2021-05-26T03:04:25
2021-05-26T03:04:25
323,360,434
0
0
null
null
null
null
UTF-8
Python
false
false
7,876
py
import argparse import sys import serial import struct import random import time parser = argparse.ArgumentParser() parser.add_argument("com_port", help="The com port of the FPGA (ex: 'COM3:')") parser.add_argument("prom_file", help="The BIN prom file to program") args = parser.parse_args() ser = serial.Serial(args.co...
[ "gabe@knezek.net" ]
gabe@knezek.net
fc9e2301091cfc527a28dad1853ce70ab6fd9eec
458511c628df7deb07b6ca3e00c53e33d47d4151
/19BMC033-tds-week2/my_pkg/scripts/custom_listener.py
864e981f219d17428881f7188acdf59ab56e3687
[]
no_license
logesh-77/19BMC033-tds-ros
b408e9ba09e41249cfcd88f4f53f3e3c93e30f86
ef049dabf9ba237063c2bc79bd160f6676ef23ec
refs/heads/main
2023-03-29T00:45:34.600869
2021-03-23T06:50:31
2021-03-23T06:50:31
347,921,903
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
#!/usr/bin/env python import rospy from my_pkg.msg import two_ints c = None d = None def callback(data): global c,d c = data.a d = data.b publisher() def mat_op(): e = c + d f = e * 100 return e,f def publisher(): pub = rospy.Publisher("tl",two_ints,queue_size = 1) x,y = mat_op() r = rospy.Rate(1) msg =...
[ "noreply@github.com" ]
logesh-77.noreply@github.com
7901ae9c4187d700b2c4a4039c7e884754694b6d
403054145b19d92d750a996e1f1cd4e880926842
/tbay.py
3927093f59ed10cd402ea907dbf214a9681335d4
[]
no_license
yueyehm/Tbay
df24f3c5fdd7fcb6d3bd7f14b2e39a1fc27aa7cd
352af4a084d49cafe2a9b89eea68bd06a128c4aa
refs/heads/master
2021-01-10T01:08:45.936351
2015-12-16T10:03:57
2015-12-16T10:03:57
48,089,391
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base from datetime import datetime from sqlalchemy import Column, Integer, String, DateTime, Float, ForeignKey from sqlalchemy.orm import relationship engine = create_engine('postgresql://ubu...
[ "yueyehm@gmail.com" ]
yueyehm@gmail.com
e8da68398b914a9006839f01febcbe85d2c320e8
d95e1c84f04b77e4b4af6e9612d9f3a05b3fca8e
/algo/algorithms/tests/test_factorization.py
bd315c00cdb9877c71bcde497c9f0d45100436a2
[ "BSD-3-Clause" ]
permissive
LeeHadad/refactor
5c63b588b8eaa04ad8d2f7bf3695625eaf4f3a66
8479deb1a47ab72f33dbef855bdb4f43ac734fbd
refs/heads/master
2020-05-18T17:08:22.634541
2019-05-02T08:30:15
2019-05-02T08:30:15
184,546,419
1
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
import random import unittest from algorithms.factorization.pollard_rho import pollard_rho from algorithms.factorization.trial_division import trial_division from algorithms.factorization.fermat import fermat class TestFermat(unittest.TestCase): def test_fermat(self): x = random.randint(1, 10...
[ "noreply@github.com" ]
LeeHadad.noreply@github.com
cc2f066e03ede1f54ac46b07dad2bb6621a03d10
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_287/ch149_2020_04_13_19_29_39_088791.py
5364f78261dc18794532675b8b2199879ae98f9f
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
salario_bruto = int(input('Seu salário bruto: ')) n_dependentes=int(input('Quantos dependentes: ' )) def faixa(sal): if sal <= 1045: return 0.075 elif sal <= 2089.6: return 0.09 elif sal <= 3134.4: return 0.12 else: return 0.14 if salario_bruto <= 6101.06: b=sal...
[ "you@example.com" ]
you@example.com
f7f7a4d68218a4647d68a6369b3aa0625c34c3c1
2cfc75eca340b51baef01b2d9bca01547a4a1249
/ratingcode.py
2d7a4081b35bafb7ca6822fc7be047ab0919288e
[]
no_license
E-Cell-IITMandi/IPL-Auction-Scripted-Sheets-
4959962c8354cd241ddf5d737ea3454c1048a44f
b1643df7361d7132a3559546410e0bba8541d6a8
refs/heads/master
2022-12-18T15:50:04.273958
2020-09-26T18:47:10
2020-09-26T18:47:10
298,878,682
0
0
null
null
null
null
UTF-8
Python
false
false
6,091
py
# -*- coding: utf-8 -*- """ Created on Mon Feb 4 00:35:09 2019 @author: KArry """ import requests import csv from bs4 import BeautifulSoup import pandas as pd from sklearn.preprocessing import MinMaxScaler from sklearn.preprocessing import StandardScaler def normalization(data): scaler = MinMaxScal...
[ "noreply@github.com" ]
E-Cell-IITMandi.noreply@github.com
d9a97a7cbbe72cc551778e9e39bb5738403241e1
30301266eb9624cb399cd262711d12c299165b4f
/Hackerrank/Implementation/22. Taum and Bday.py
ea68e419a7ce51a568822f431dc18e5f973ba333
[]
no_license
manoj2509/Python-Practice
8178cddd2a23066859fbf1365010ffcebdf5f803
d8658a119bd62c1fbf45c2bcebd62ac9f7c2e071
refs/heads/master
2021-01-18T23:44:23.869711
2016-07-11T19:49:57
2016-07-11T19:49:57
49,173,055
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
__author__ = 'Mj' t = int(input()) text = list() text2 = list() for i in range(t): temp = input().split(' ') text.append(temp) temp2 = input().split(' ') text2.append(temp2) for i in range(t): if ((int(text2[i][0])+int(text2[i][2])) < int(text2[i][1])): cost = int(text[i][0])*int(text2[i][0]...
[ "manojparihar09@gmail.com" ]
manojparihar09@gmail.com
81797b0fe613fc298400a50eedc510f3b5b5d963
4414fd709105c53f332e438ce885f1d9ca04f712
/send_sock.py
a0b4958818ee644ca8edadce3c22eead5c8035a7
[]
no_license
pratikbitmesra/DataStructures-from-Undergrad
a8eba8430dd2ed175ec550095b4e6f15df7020b4
608a9a7f518368fd7db89fd8e34ea931811c6d64
refs/heads/master
2021-01-19T14:04:33.035885
2017-07-06T01:45:40
2017-07-06T01:45:40
88,123,873
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
# Send and Receive Data using socket # http://www.binarytides.com/python-socket-programming-tutorial/ import sys import socket try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) except socket.error, msg: print 'Failed to create socket with Error Code: ' + str(msg[0]) + ', Error message ' + msg[...
[ "noreply@github.com" ]
pratikbitmesra.noreply@github.com
12d74f7c8a6aa4c9b01ba885f2a963dda379adb4
77c471124fb4ac4a7fe0a19cf47b666ed0eccb79
/relational/student_projects/2020_karkkainen/models/cognitive/prism/build/lib/spatialreasoner/utilities.py
e7f6bac4b1a164a793105e439dd0b19aae24cedb
[ "MIT" ]
permissive
CognitiveComputationLab/cogmods
f8286d7aa7917a87fd4df27d0c6db666aec88c92
ac73fb60387aad37d3b3fb823f9b2c205c6cb458
refs/heads/master
2023-07-26T10:15:48.647877
2023-07-14T08:38:23
2023-07-14T08:38:23
178,379,369
1
12
MIT
2021-09-27T10:30:47
2019-03-29T09:55:02
Python
UTF-8
Python
false
false
7,640
py
#------------------------------------------------------------------------------- # Name: Spatial Reasoning Utility Functions # Purpose: Module of utility functions, used by the Spatial Reasoning # class, as well as the spatial_array module. # # Author: Ashwath Sampath # Based on: http://men...
[ "sakukark@gmail.com" ]
sakukark@gmail.com
643d38c0512e082e8c9a7018af157e92220e51da
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/fabric/rsnodetechsupp.py
700fdc371962997c14a296087490fee59112e394
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
8,389
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
84e2c0ca3d2e11c40051b1c6165f7cf0c5039665
188436fcc2311d42ea4374b21564076c8681699a
/tests/test_grading.py
bc2f2952d7e5d09381109db377607f3b6f815f94
[ "MIT" ]
permissive
wisnercelucus/relate
e3f5fb9e751fbc8b1944399e9be4066188496aec
833f269c258a70c28e4ba0a4c8cf4da9790e5eac
refs/heads/master
2022-07-04T17:15:36.981566
2020-05-07T20:26:05
2020-05-07T20:26:05
262,824,648
1
0
null
2020-05-10T16:06:23
2020-05-10T16:06:22
null
UTF-8
Python
false
false
27,009
py
from __future__ import division __copyright__ = "Copyright (C) 2018 Dong Zhuang" __license__ = """ 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 without limitatio...
[ "dzhuang.scut@gmail.com" ]
dzhuang.scut@gmail.com
19a2316dd43d791b31a99574ad397dbf30c345ca
f999933a217e191dc494a521448ad99ee0af2168
/userprofile/urls.py
b8c2a21ce62c6a2641d2adc3d57b42a7e9e48427
[]
no_license
chiliexe/django-blog-project
54bff1e0ed22bbb471704a665695116d3f43d0d4
d937e9b4138965f73c78b805c3f2330de90dc905
refs/heads/master
2023-06-17T06:42:47.678037
2021-07-17T04:09:48
2021-07-17T04:09:48
386,830,538
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
from django.urls import path from .views import ProfileListView, ProfileUpdateView app_name = 'profile' urlpatterns = [ path('perfil/', ProfileListView.as_view(), name='index'), path('perfil/edit/<int:pk>/', ProfileUpdateView.as_view(), name='update') ]
[ "chiliexe_2015@hotmail.com" ]
chiliexe_2015@hotmail.com
6ba1ddbd15336b49276923cbea4615bfec75b5ae
f129ec404172c40244a8d93159730615805eaaab
/src/game.py
b746b327e7e04e850b5e564d8ac0a9809128df44
[ "MIT" ]
permissive
RoboticsAndCloud/keras-image-room-clasification
0205b334cebbaa25acf7919cfbb7428abc39fd16
284924cef6983e6fe8805b4e07d5306d5396b5b5
refs/heads/master
2022-02-22T08:41:19.149141
2018-01-11T04:46:41
2018-01-11T04:46:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,804
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys, pygame, time, os from pygame.locals import * # Constants WIDTH = 840 HEIGHT = 580 black = (0,0,0) white = (255,255,255) red = (255,0,0) UNLABELED_DIR = 'unlabelled' LABELED_DIR = 'labelled' # -----------------------------------------------------------------...
[ "collinetjorge@gmail.com" ]
collinetjorge@gmail.com
59a6a52bde79a739e7ba1e930327e7cfcb12aec2
9bc5491e8d3b7d5b10542d64679c36f4ea6c5fa6
/opay_dw_code/ods/ods_sqoop_base_bd_agent_status_change_log_di.py
6491271932e4404e9a17ad9e81fda199eb159818
[]
no_license
socratestu/Opay_datalake-script
6829f8788a283126cff583d268c53c361ca82f8e
1c7796f4c0eeb00438908e61e95d84f14f4bdbec
refs/heads/master
2022-04-17T05:31:10.423151
2020-04-16T13:30:03
2020-04-16T13:30:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,419
py
# -*- coding: utf-8 -*- import airflow from datetime import datetime, timedelta from airflow.operators.hive_operator import HiveOperator from airflow.operators.impala_plugin import ImpalaOperator from utils.connection_helper import get_hive_cursor from airflow.operators.python_operator import PythonOperator from airflo...
[ "dong.xie@opay-inc.com" ]
dong.xie@opay-inc.com
c28eafbe6e6da6a31548cc4969bead562598846e
1e423afef7817938ed333d862835a39071800ebf
/extract/location_info.py
037aeeeecbfd3da34713c40a3cd247416bd567b4
[ "MIT" ]
permissive
guyrt/court-reminder
9680e0d9ba7d4654999641d3741e363d3e872044
0494e7f864c3922d1ac0bc41c6e255cd88e021a8
refs/heads/master
2020-04-05T11:43:51.824055
2019-01-21T18:11:45
2019-01-21T18:11:45
81,161,230
2
2
MIT
2018-12-31T19:55:23
2017-02-07T03:18:05
Python
UTF-8
Python
false
false
1,268
py
import re from uszipcode import ZipcodeSearchEngine import utils def create_digits_for_location_parsing(s): s = utils.wordnums_to_nums(s) s = re.sub(r'(\d)\s+(\d)\s+(\d)\s+(\d)\s+(\d)',r'\1\2\3\4\5', s) return s def get_re_for_location_parsing(): states_or = '|'.join(utils.states.keys()) return...
[ "david.geraghty@gamalon.com" ]
david.geraghty@gamalon.com
d44a7c7a413401c9a7a918133e9bf5ee6845134e
f8acaa3210a5eb392d5cd2567a000f26e812cfb9
/2020/python/day14/main.py
8e92acdbecd40ce5fa87757a38adce198055220c
[]
no_license
andrewpickett/advent-of-code
aeb105f7e50cfe5b7ebc80e10bc58451b5a00ac6
ab3fa828257fa0e9f64f07397d3012274b8bebaa
refs/heads/master
2023-01-22T23:28:46.989329
2022-12-28T18:06:50
2022-12-28T18:06:50
224,327,063
2
0
null
2023-01-08T11:09:58
2019-11-27T02:27:23
Python
UTF-8
Python
false
false
1,763
py
from aoc_utils import run_with_timer data = [x.strip() for x in open("input.txt").readlines()] def apply_mask(binary_string, repls, c): ret_val = binary_string for x in repls: ret_val = ret_val[:x] + c + ret_val[x+1:] return ret_val def part_one(): mem_addresses = {} zeros = [] ones = [] for datum in data...
[ "picketta@gmail.com" ]
picketta@gmail.com
b0826b61172af755ffa20b7f6f225ad6dbdce743
0baf1a7e93dfd02957ab6ff001f01dc3dd692550
/2.py
93c8d21409ae44906c64227dfda8b4b8b6e401a4
[]
no_license
prakhar1508/Hackerearth
f8b47ffe358242dfce3bb885f280ecc0cef72d64
4ce7753ced6b4c25490ee64671702b08e07e2369
refs/heads/master
2022-12-17T08:22:21.566632
2020-09-03T21:56:45
2020-09-03T21:56:45
292,557,471
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
print(sum(ord(c) for c in 'Jado&')) // 420
[ "noreply@github.com" ]
prakhar1508.noreply@github.com
24d167c3c3c7e410b5e1252dc4a5f6d0ba0ffdda
8528c7b7343624959bdef983c26071d990a4766a
/model.py
4f6f1717d2eee3812fdb8eeab6e11da686be7cc1
[]
no_license
Glasiermedic/Ojbect_detection
3933ebddc030e23148f695aa3aac502fef656f09
e2623423530166c2ae1d55505a3167c9acb32c94
refs/heads/master
2022-11-09T17:58:24.101737
2020-06-25T12:46:11
2020-06-25T12:46:11
274,912,722
0
0
null
null
null
null
UTF-8
Python
false
false
32,850
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 23 14:10:45 2020 @author: sewmo """ import torch from torch import nn from utils import * import torch.nn.functional as F from math import sqrt from itertools import product as product import torchvision device = torch.device("cuda" if torch.cuda.is_available() else "cp...
[ "wrolfson@glasierstudios.com" ]
wrolfson@glasierstudios.com
462725ad54b66a67d7cdbd3aed796e114c557f90
950564a291a67e1dede14dce5d6858a6c2801423
/DBcm.py
2fac00a65e9380ae0e90b3049cf24ad87d2b068f
[]
no_license
YarSml/Flaks_1
0831497f96d6cb310c37d0f2ca7b893487364cfa
78db4c852eee2b7a35d9ae9007708fc6184ebf65
refs/heads/master
2023-03-31T04:26:55.859170
2021-04-12T14:48:22
2021-04-12T14:48:22
353,724,558
0
0
null
null
null
null
UTF-8
Python
false
false
966
py
import mysql.connector class ConnectionError(Exception): pass class CredentialsError(Exception): pass class SQLError(Exception): pass class UseDatabase: def __init__(self, config: dict) -> None: self.configuration = config def __enter__(self) -> 'cursor': try: s...
[ "manowa.87.03.20@gmail.com" ]
manowa.87.03.20@gmail.com
9ff0d1cf9114d2d21e298a7b7bf8c9fe3e26d965
2c8d97fee18ecce7046a834c4a50c9a5b94cc40e
/src/pyamf/amf0.py
9b0dc4c4b6051370fcdaaa32370e91e71c58b922
[]
no_license
psalty/photolog_gae
4a7e534e2b4717e4c25719c458b7a7012af6365f
e46d576a5d900a920dff574989400086c61ed33c
refs/heads/master
2016-09-01T17:15:50.715533
2011-01-09T23:30:11
2011-01-09T23:30:11
1,221,969
2
0
null
null
null
null
UTF-8
Python
false
false
21,027
py
# Copyright (c) The PyAMF Project. # See LICENSE.txt for details. """ AMF0 implementation. C{AMF0} supports the basic data types used for the NetConnection, NetStream, LocalConnection, SharedObjects and other classes in the Adobe Flash Player. @since: 0.1 @see: U{Official AMF0 Specification in English (external) ...
[ "psalty@gmail.com" ]
psalty@gmail.com
785e732e61c0a564ca137b93bd2e9670e0e8a6e1
2acb2af5e93bab0168ece7cb403b90355c9ccb9d
/W2/Questions/q2.py
340566dfc274e9a8f5a3eacb79120ac53426a120
[]
no_license
dmathews98/MLPR
0ebb3a6841545add2716dfb853eac3c8f2111e55
e04fc6b079e6abd2586f1563614e644d72bf87b3
refs/heads/main
2023-01-13T12:41:53.509799
2020-11-17T13:20:50
2020-11-17T13:20:50
303,121,696
0
0
null
null
null
null
UTF-8
Python
false
false
2,010
py
import numpy as np import matplotlib.pyplot as plt def phi_linear(Xin): return np.hstack([np.ones((Xin.shape[0],1)), Xin]) def phi_quartic(Xin): return np.hstack([np.ones((Xin.shape[0],1)), Xin, Xin**2, Xin**3, Xin**4]) def fit_and_plot(phi_fn, T, X): w_fit = np.linalg.lstsq(phi_fn(T), X, rcond=None)[0] ...
[ "declanmathews@macbook-pro.home" ]
declanmathews@macbook-pro.home
b10e258db445f8856472e47a3f2cdef86d99960d
ec6191ecb222f0b0f4036fd4a46aa4e1f8a55dd4
/gcastle/castle/algorithms/__init__.py
7d577a01a388c28bb66e67cf9a219fd4c209adf4
[ "Apache-2.0", "MIT" ]
permissive
WFP1998/trustworthyAI
a2ab63674e9d25ef888d95428502512ee44a7a9d
c13e167070876eb6dac4458f9f39e7429cac1a41
refs/heads/master
2023-05-12T16:22:24.121996
2021-05-29T03:26:00
2021-05-29T03:26:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
# coding=utf-8 # Copyright (C) 2021. Huawei Technologies Co., Ltd. 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 # # ...
[ "zhangkeli1@huawei.com" ]
zhangkeli1@huawei.com
4303149eb6a397ad75b3abcc45eda3d56466a31f
c36452a7f824e7f5afc7dbc34fddbcd98b4a35e5
/.c9/metadata/workspace/pset6/mario.py
b7dff3705f02e6bf72a62e9675232ccef1dca296
[]
no_license
jccantu8/CS50-Exercises
56ed8f2236571b9f2e5ad433efcb6e425b50ba00
81c8301ef94299304aba31b39caf34d89ab1b934
refs/heads/master
2020-12-15T06:37:05.763303
2020-01-20T05:02:53
2020-01-20T05:02:53
235,021,957
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
{"filter":false,"title":"mario.py","tooltip":"~/workspace/pset6/mario.py","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":10,"column":17},"end":{"row":10,"column":17},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wr...
[ "julio.c.cantu03@utrgv.edu" ]
julio.c.cantu03@utrgv.edu
b5be03bae05e2c31bc7c6b3158b111ca8d5fc886
791ce6452fb555f953ed3adb1966b59abc7c2dbb
/arxiv_net/dashboard/assets/style.py
c359a7598a7dde951f38e4ceb3c9d495568f0370
[]
no_license
mirandrom/arxiv-net
d63b76006d7cde62a4ba4e623ffa3971436455f5
86bdc7a878c8d1d4a0135ddd2785cb59ca638937
refs/heads/master
2023-03-21T13:37:30.567726
2019-12-05T23:25:24
2019-12-05T23:25:24
222,019,331
2
0
null
2021-03-20T02:10:29
2019-11-15T23:26:34
Python
UTF-8
Python
false
false
1,468
py
card_style = { "box-shadow": "0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3)" } BLUES = ["rgb(210, 218, 255)", "rgb(86, 117, 255)", "rgb(8, 31, 139)", "rgb(105, 125, 215)", "rgb(84, 107, 208)", "rgb(210, 210, 210)", "rgb(102, 103, 107)", "rgb(19, 23, 37...
[ "arialinvlad@gmail.com" ]
arialinvlad@gmail.com
2aa7d7541d47bf6cbc5349b3cb975f5eb6b55412
29145db13229d311269f317bf2819af6cba7d356
/may easy/maxVal.py
91313d4b8983c93bfc3cfa232fbdb5c36ee8edff
[]
no_license
rocket3989/hackerEarth2019
802d1ca6fd03e80657cbe07a3f123e087679af4d
42c0a7005e52c3762496220136cc5c1ee93571bb
refs/heads/master
2021-07-05T01:32:42.203964
2020-12-22T03:40:20
2020-12-22T03:40:20
211,607,143
1
0
null
null
null
null
UTF-8
Python
false
false
209
py
fib = [1, 1] while True: fib.append(fib[-1] + fib[-2]) if fib[-1] > 10 ** 18: break N = int(input()) for val in fib: if val <= N: continue print(val) break
[ "rocket3989@gmail.com" ]
rocket3989@gmail.com
969d2be266219f2b062ad7111a43f44275354f4d
13b2f7ca4bbad32b0ce7d547399e6097580ae097
/bfs+dfs/1260_DFS와 BFS.py
f69616d0dba433892b0d30f2d1628280ae3b9b5c
[]
no_license
hksoftcorn/review
dadbd3a4ee7961282bfefd697a97f6ccf78dbe83
474aef3747c135c54322ff28261d2a6812a3d9a0
refs/heads/master
2023-06-17T05:41:50.178831
2021-07-11T23:30:27
2021-07-11T23:30:27
385,072,542
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
def dfs(v): visited[v] = 1 for w in sorted(G[v]): if not visited[w]: dfs_path.append(w) dfs(w) def bfs(v): visit = [0] * (N+1) visit[v] = 1 Q = [v] while Q: current = Q.pop(0) for w in sorted(G[current]): if not visit[w]: ...
[ "hksoftcorn.dev@gmail.com" ]
hksoftcorn.dev@gmail.com
c47929c48cfd0153ae0e3bfc265fc281115c667f
67e33d937d4d0cfebd120a162791e06593752a51
/src/monte_carlo_analysis.py
0a9423112c6ebbff28c0b426f284133f0b387235
[]
no_license
MaxKelsen/BQNS
4435c022b1faec07bea6fa9dd1684301ada48234
acdb17524d8c3d8a59ae355b1e4486e7e13b16f4
refs/heads/master
2023-03-19T15:01:17.754473
2021-01-21T06:05:46
2021-01-21T06:05:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,747
py
""" This module implements the anaylsis of the Monte Carlo method to specify the suitable number of noise realizations needed """ # preample import numpy as np from simulator import NoisyQubitSimulator import pickle ############################################################################### if __name__ ==...
[ "akram.youssry@eng.asu.edu.eg" ]
akram.youssry@eng.asu.edu.eg
1b03a8531d7533b57236f251b0c713bced9b5f50
f2befaae3840bafd181cc712108e3b64caf2696f
/app/portal/horizon/openstack_dashboard/dashboards/admin/routers/tests.py
557966985c38691b0549627c5fe8ece11b815e77
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
F5Networks/f5-adcaas-openstack
17d5c408d421dcfe542002e1f850b2d9f29f1663
02bd8a606215c0fa08b926bac1b092b5e8b278df
refs/heads/master
2023-08-28T12:09:54.972191
2022-08-12T02:03:43
2022-08-12T02:03:43
164,592,273
4
23
Apache-2.0
2022-08-12T02:03:44
2019-01-08T07:40:35
Python
UTF-8
Python
false
false
10,869
py
# Copyright 2012, Nachi Ueno, NTT MCL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
[ "a.zong@f5.com" ]
a.zong@f5.com
51add329e85e11a40d5d9d4042b8f3e462628776
d2d3978088f4294d554dd20e647327165c966888
/src/seodeploy/modules/headless/functions.py
9f28bd1e283179829117e740d7303eb824187d68
[ "MIT", "Apache-2.0" ]
permissive
derekperkins/SEODeploy
a99d48d66fc2adef27caef849cbd025a99143e7b
4202a98b51464d70ba63de3c6f924951c11fb1b3
refs/heads/master
2022-10-29T10:16:55.776280
2020-06-18T12:59:57
2020-06-18T12:59:57
273,305,561
0
0
MIT
2020-06-18T17:56:18
2020-06-18T17:56:17
null
UTF-8
Python
false
false
3,293
py
#! /usr/bin/env python # coding: utf-8 # # Copyright (c) 2020 JR Oakes # # 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 # without limitation the rights to use,...
[ "jroakes@gmail.com" ]
jroakes@gmail.com
54f686efc0815a540a7a9c1b958cc435f2334efd
811ea53778535ac140e2bdfd4acf3c9521e0e05c
/examples/gen_funcs/persistent_sampling.py
539123e8be0c7c75d66177220327056a4c893ba2
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
Libensemble/libensemble
41aaec8cfc8bc1b70708938305abdfdf7bcafca3
0ffcc5f88f693ebf60ba125a7cae6a44d2c98c6f
refs/heads/main
2023-09-04T02:44:06.067312
2023-07-24T22:24:13
2023-07-24T22:24:13
76,305,338
69
28
BSD-3-Clause
2023-09-14T16:12:21
2016-12-12T23:43:44
Python
UTF-8
Python
false
false
50
py
../../libensemble/gen_funcs/persistent_sampling.py
[ "jnavarro@anl.gov" ]
jnavarro@anl.gov
783cee8d4602ce0769c0052c184f1d68cae1529e
40885aae85fff95d923cfc71f8283e60242f5ab2
/dataset.py
e795e397c6c8e44826f412335e407a0a01605963
[]
no_license
wdwang09/MNIST-Learning
4cb1ffa00cb7dd5219a2e4e9ecca7aff31532900
94c42bf56d04d3738dd45269c9e61ee5813f95dd
refs/heads/master
2022-11-15T06:08:27.090297
2020-07-11T12:04:17
2020-07-11T12:04:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,553
py
import numpy as np import os class BaseDataset: def __init__(self): self.trainImg = None self.trainLabel = None self.testImg = None self.testLabel = None self.channels, self.rows, self.cols = 1, 28, 28 def get_vector_train_img(self, is_normalized=True):...
[ "wedonsjtu@outlook.com" ]
wedonsjtu@outlook.com
1136a7c21fad840e85b384f1c66c998e887ef10b
a991bc47d645194c2e028cb70ff4a76d7b444a84
/predict.py
0539503a2b5bf18408c5aa429641d04f64a20180
[]
no_license
YYYangup/yolo3-keras
322b553d77f3501fcfe7c0cc6501f5d294e0a403
2756ff9819b1922fc6aec49b547a5f4906a7cd13
refs/heads/master
2020-09-21T22:31:28.365742
2019-11-27T09:49:21
2019-11-27T09:49:21
224,955,803
0
1
null
2019-11-30T03:48:30
2019-11-30T03:48:30
null
UTF-8
Python
false
false
416
py
from nets.yolo3 import yolo_body from keras.layers import Input from yolo import YOLO from PIL import Image yolo = YOLO() while True: img = input('Input image filename:') try: image = Image.open("img/street.jpg.") except: print('Open Error! Try again!') continue e...
[ "noreply@github.com" ]
YYYangup.noreply@github.com
73a10c7a266db9e84fa1733e854c9dff20de0492
c7404bc844161191de145f3d3c1ebe086c69a7b0
/项目二模型评估和验证/code 答案/splitdata.py
ca233e03a6b74cf30cf8a05684641ca12103af03
[]
no_license
yanbin92/AI
d574bbdb4829874afa968ed31677c84dffbd6546
1b26bdbfd106aa246288db9a0b12ded27a858fa0
refs/heads/master
2021-09-26T10:33:50.244640
2018-10-29T11:58:08
2018-10-29T11:58:08
114,837,751
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
#!/usr/bin/python """ this example borrows heavily from the example shown on the sklearn documentation: http://scikit-learn.org/stable/modules/cross_validation.html """ from sklearn import datasets from sklearn.svm import SVC from sklearn.model_selection import train_test_split iris = datasets.load_iris() ...
[ "ybinbin@Outlook.com" ]
ybinbin@Outlook.com
b84323025761648473661b72434d79d1824b1ac2
0eb464ce1d0b4a4bd063d5dd5f4822a6efc443fd
/env/bin/easy_install
d7123822641002a57bd96b86186f85362845226b
[]
no_license
sahajap/Sahanjana
9a651855df468b8ccc4dd5e4fb97d325c6b5526b
73dbf9ac218cbaa0657daafdcdc92cb7621d743e
refs/heads/main
2023-01-30T07:10:32.805960
2020-12-15T04:01:51
2020-12-15T04:01:51
318,038,331
0
0
null
null
null
null
UTF-8
Python
false
false
270
#!/Users/sahaja/Documents/si-206/Sahanjana/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sahajap@umich.edu" ]
sahajap@umich.edu
2a33fbb3c1830065fa8e3ab389d476b27445f188
747a41fbf075291c0ad49457cbbdf4ba04c078e4
/Receiving data Bluetooth with data writing.py
9dbf105cd42e44cb50383824e7f0f867b0fe0bb8
[]
no_license
OsirisDevelopment/Harnes
01537fd587acd9155c1918c8b6445e6555ea23c7
c1a24eb55eedbb758c806dd1c1adf3829d6b1c2f
refs/heads/master
2021-01-10T15:55:19.802058
2016-09-23T19:09:17
2016-09-23T19:09:17
54,903,750
0
0
null
null
null
null
UTF-8
Python
false
false
2,239
py
#!/usr/bin/python # -*- coding: iso-8859-1 -*- import os import time import serial import datetime from zeus import client import json archivo=open("metricas.txt","w") #for linea in archivo: # continue #prueba=open("probando.txt","w") #conexion #conexion = client.ZeusClient('7caecc05', 'api.ciscozeus.io') #Para ...
[ "paolo.caviedes@gmail.com" ]
paolo.caviedes@gmail.com
8e1117685899d2bf068c219a6f66312448e008ff
9131dd03ff2880fca2a5883572784f8e51046e41
/env/lib/python3.6/site-packages/clicksend_client/models/delivery_issue.py
84f1503041f46cfe49989d1ade2142787157ff54
[]
no_license
aviadm24/coronaap
fe10619ae42a8c839cd0a2c2c522187c5f21fbc7
5608c2d77cb3441b48ba51da04c06a187fb09488
refs/heads/master
2022-12-09T21:35:17.179422
2021-01-28T08:21:49
2021-01-28T08:21:49
249,938,200
0
0
null
2021-09-22T18:47:51
2020-03-25T09:36:10
JavaScript
UTF-8
Python
false
false
7,502
py
# coding: utf-8 """ ClickSend v3 API This is an official SDK for [ClickSend](https://clicksend.com) Below you will find a current list of the available methods for clicksend. *NOTE: You will need to create a free account to use the API. You can register [here](https://dashboard.clicksend.com/#/signup/step1...
[ "aviadm24@gmail.com" ]
aviadm24@gmail.com
5db5f18acdac869283999bee98d20d94a341c7df
23f8e15047e2303bbc0ef6d7db93286f629f139a
/src/PipelineConfigurator/IPipelineConfigurator.py
b9928eb35bb45388b0b2b101041a271ddd63b835
[]
no_license
russian-national-corpus/preprocessing
988a0616f3082ae3eeb63f573635f4888c4e5eb1
4b6a5a9f822d0d7a1d16baaf72795f888add5f23
refs/heads/master
2021-06-13T00:14:44.104132
2019-10-03T20:38:34
2019-10-03T20:38:34
165,403,637
2
0
null
2021-03-26T13:45:33
2019-01-12T15:32:47
Python
UTF-8
Python
false
false
320
py
from abc import ABC, abstractmethod from pathlib import Path from src.Corpus.CorpusSource import CorpusSource from src.Pipeline.Pipeline import Pipeline class IPipelineConfigurator(ABC): @abstractmethod def get_pipeline(self, corpus_source: CorpusSource, destination_directory: Path) -> Pipeline: pass
[ "vyshkant@gmail.com" ]
vyshkant@gmail.com
605a9276d6ff00dfeb1d7cf79fc65b18bf25f15b
7535929cf1b873a89e50c0e4b6bdc3ec80ad39e8
/api/migrations/0004_auto_20200604_1338.py
cca338ac9fddbb8b0920fbea783c045bdc0f677c
[]
no_license
Nikolai586/api_final_yatube
4bdd89212d2e9a0fcd99ba81e669ada283265edc
a7b33e889053bd21a9544d6c8d81440d1266db47
refs/heads/master
2022-10-07T11:55:32.846633
2020-06-09T13:47:28
2020-06-09T13:47:28
268,489,879
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# Generated by Django 3.0.7 on 2020-06-04 10:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0003_post_group'), ] operations = [ migrations.AlterField( model_name='group', name='slug', field...
[ "n.chistoprudov@yandex.ru" ]
n.chistoprudov@yandex.ru
098dc0033ac1cd59031b9b30c07319f62122441e
b338c7ec821196ad12e1fda5395723dafd06ebb8
/MyRangoApp/forms.py
46201aaabddb0878ccc64d7b7edc5265a516a037
[ "Apache-2.0" ]
permissive
octobertech/MyRangoApp
96156be35a4f5fa0ac990e9193880c950526674b
e86c3853b9836a07ccc1ed1910bb75c1596ac4cf
refs/heads/master
2021-01-10T21:08:00.017445
2014-04-03T08:22:33
2014-04-03T08:22:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
#__author__ = 'Admin' from django import forms from MyRangoApp.models import Page, Category class CategoryForm(forms.ModelForm): name = forms.CharField(max_length=128, help_text="Please enter the category name.") views = forms.IntegerField(widget=forms.HiddenInput(), initial=0) likes = forms.IntegerField(w...
[ "octobrtech@gmail.com" ]
octobrtech@gmail.com
e6176b6cfd8dd4d5cfb4d30bed137a3e940c72c8
5b26ef34f0d59c0c6b21f847b825e419ba7b5ec2
/Part1_Question4_b.py
fe1bbe1e9b7e8c4968b56d36e3b90371c2f2043f
[]
no_license
aniketanvit/prob_hunting
5da1670ab464c8e7b03a5c359c9b3bc578954fe3
7512ce02dd9f0c55f258dd60b852a52f0c1de44d
refs/heads/master
2021-05-07T03:09:39.352732
2017-11-21T02:28:44
2017-11-21T02:28:44
110,617,457
0
1
null
null
null
null
UTF-8
Python
false
false
1,609
py
from probabilistic_hunting_target_present import ProbabilisticHunting_TargetPresent from probabilistic_hunting_target_found import ProbabilisticHunting_TargetFound from probabilistic_hunting_move_cost import ProbabilisticHunting_WithCost_Rule2 import copy import matplotlib.pyplot as plt import random def main(): ...
[ "aniket.anvit@rutgers.edu" ]
aniket.anvit@rutgers.edu
e97223c7c3bab2eb2db5d8c5f144f8c68c385a69
d8a20107896c8ed2cb050a2e9ef55b4149a4f360
/python/0061. Rotate List.py
f8b816ded895011c5f65425aabfef5da19851cb4
[]
no_license
dyaroshevych/leetcode
cf7993c85f095363750f625aabbab607750854dc
6329eaefa6698163f7e7fda66e53360760afc20f
refs/heads/master
2021-07-16T21:55:55.057090
2021-03-14T10:51:41
2021-03-14T10:51:41
243,357,363
2
0
null
null
null
null
UTF-8
Python
false
false
890
py
class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def rotateRight(self, head: ListNode, shift: int) -> ListNode: if (head is None): return None list_length = self.get_list_length(head) shift %= list_length...
[ "dyaroshevych@gmail.com" ]
dyaroshevych@gmail.com
037d41e6744bc9acb9db4aa05fe1fa4f27a33ac0
1405f47a6e0715f163439b034987e6e298f74429
/skee_t/wx/services/accessToken.py
33c42997379ed0c2cf1129da9e40ca61928493da
[]
no_license
skee-t/backend
5dd7064c62615de16c3fefba34edc19e598df00d
941976d99245486790ca91e134b0cbae1a003f1e
refs/heads/master
2021-05-03T20:13:35.559147
2016-12-26T10:45:09
2016-12-26T10:45:09
69,564,111
0
0
null
null
null
null
UTF-8
Python
false
false
3,178
py
#! -*- coding: UTF-8 -*- import logging from sqlalchemy.orm.exc import NoResultFound from skee_t.db import DbEngine from skee_t.db.models import WxAccessToken from skee_t.services import BaseService __author__ = 'rensikun' LOG = logging.getLogger(__name__) class wxAccessTokenService(BaseService): """ "...
[ "rensikun@paypalm.cn" ]
rensikun@paypalm.cn
f2e1a8bc0a3be1175a538b75a5bd6dbdf53f40ae
a0bce06fa04eb353ef6751848ddbfdc46af26671
/Filtering_steps/Filter_step_6/Filter-stage-2.py
ad10be27d2ba97dd7b2e44f2e53802089834ec8e
[]
no_license
LeebanY/avian-comparative-genomics
0e7c39901cd87f6b5417d2393e7d185bb652b86d
5f6e129b44ff2693ec2ebd87e409be8c06abf79e
refs/heads/master
2021-09-25T13:34:19.370955
2018-10-22T17:01:14
2018-10-22T17:01:14
115,000,027
3
1
null
null
null
null
UTF-8
Python
false
false
1,226
py
import os import sys #locations #reference_files = '/data/bop17lhy/masters_scripts/bad_vals_zorro_PIPE3.txt' reference_files = '/data/bop17lhy/masters_scripts/removing_stop_codons_faslist.txt' # reference_files = '/data/bop17lhy/masters_scripts/bad_vals_zorro_rd2.txt' # protein_alignments = '/data/bop17lhy/sequences...
[ "noreply@github.com" ]
LeebanY.noreply@github.com
0825c9ac27b0826f2ff3906dcc0f88b232c4e70b
17c139214d59cd07bba636ba166c0f0a92fd42fa
/test_scaling.py
c7566263b622c42bf1b3922345f6ec95d0d47bae
[]
no_license
piotr-teterwak/CS655MiniProject
cec7346b40432d25d39a9e8a19946a8ddf0a7da2
0f5783355b5fa40be565501581cbc332ca7be956
refs/heads/main
2023-01-27T16:04:23.562441
2020-12-10T03:54:31
2020-12-10T03:54:31
319,696,030
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
import test_script if __name__ == "__main__": rtt_size_map = { '128': 'test_images/test_128.jpg', } for size in rtt_size_map.keys(): for wait_time in [0.5,0.2,0.1, 0.01]: for num_servers in [1,2,4]: average_time = test_script.run_test_lo...
[ "piotrt@client.miniprojectimgclass.ch-geni-net.instageni.colorado.edu" ]
piotrt@client.miniprojectimgclass.ch-geni-net.instageni.colorado.edu
712ebb3e8e9c6daab9c2cd3b469cecab96797c6e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_godfather.py
813d71c96e7c700883fb63b1932814bc31f99141
[ "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
364
py
#calss header class _GODFATHER(): def __init__(self,): self.name = "GODFATHER" self.definitions = [u'a male godparent', u'the leader of a criminal group, especially a mafia family'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, ob...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2de7e59933c2bb81749a01df0dea8c3a5f82a350
77d88999f858984e531f1a575b2f46843b2be40b
/src/parser.py
432463aa296424aac3a2850902de96abe6f9ca1d
[]
no_license
carverdamien/plot.ipanema
70a243a1aa8a2979f0554ea416623aad0acb0574
94f11e9e5fbd0012055ac23321680d39875e3435
refs/heads/master
2022-01-18T06:11:41.337365
2019-06-20T09:32:38
2019-06-20T09:32:38
174,350,934
0
0
null
null
null
null
UTF-8
Python
false
false
10,722
py
import os, logging, json, parse from common import * class ProcStat: # https://elixir.bootlin.com/linux/v4.19/source/fs/proc/stat.c PROC_STAT_EXPECTED_OUTPUT = """cpu {procstat_user} {procstat_nice} {procstat_system} {procstat_idle} {procstat_iowait} {procstat_irq} {procstat_softirq} {procstat_steal} {procsta...
[ "carverdamien@gmail.com" ]
carverdamien@gmail.com
18a33e58c756d5caf0520e47dc00132286e798bf
6e1a879f997080c11d67e92e0fcae323ae689e8e
/Gurobi/Project2Task3-3.py
01c234421f72c00a75eb1e3314293eddc6061617
[]
no_license
davidhamblin/Networking-Projects
d1c2aa6852bd836ceb2f6686d731d572db9f1431
a96d28df01a675178c09dd5c77205b3ad23df53d
refs/heads/master
2020-07-05T17:07:26.565524
2016-12-07T03:46:25
2016-12-07T03:46:25
73,989,109
0
0
null
null
null
null
UTF-8
Python
false
false
4,483
py
from gurobipy import * import matplotlib.pyplot as plt import networkx as nx m = Model('Project2Task3-3') nodes = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H'] # Capacity-dependent cost is 5 MU per 10 Mbps. Links are 1 Gbps. cap_dep_cost = 5 # Setup cost is 100 MU * cost multiplier setup_cost = 100 DemandNode, DemandSi...
[ "david.hamblin.12@cnu.edu" ]
david.hamblin.12@cnu.edu
10754f53ae595dce53c6057cd07313f7d340e288
fd9a1c1d4223f54751c40cc42ce67292aae0565a
/graspologic/align/seedless_procrustes.py
f7a8d6651d1fc5703d0ae4fc6c33c0a3f70ac3dc
[ "MIT" ]
permissive
tliu68/graspologic
296cf7b160aa53b13c82473cb201431a6561823b
d1cf7678bc63ab9769828a82a90f66bf1dfa0eff
refs/heads/dev
2023-02-23T17:52:53.176782
2021-01-21T06:51:00
2021-01-21T06:51:00
322,512,481
0
0
MIT
2021-01-21T03:51:35
2020-12-18T06:44:22
Python
UTF-8
Python
false
false
16,406
py
# Copyright (c) Microsoft Corporation and contributors. # Licensed under the MIT License. import ot import numpy as np from sklearn.utils import check_array from .base import BaseAlign from .sign_flips import SignFlips from .orthogonal_procrustes import OrthogonalProcrustes class SeedlessProcrustes(BaseAlign): ...
[ "noreply@github.com" ]
tliu68.noreply@github.com
d3a6f87d6075d7414fa1b088cd9b7fdb3d66c1d8
7f7e98e9947aad5d95b38dbf89f5b9d2b775c9c1
/TrinityAssemble.py
9996aecd8df701cd313cc53212dc53b0264606df
[]
no_license
cacampbell/pythonmisc
27aab7b7c2edb6b53a662c4f065ad07a383cb92e
d70edf4c695bbe55cf52ae82d025def285f4a1dc
refs/heads/master
2021-01-24T08:08:57.767324
2017-01-18T22:44:30
2017-01-18T22:44:30
50,535,716
0
0
null
null
null
null
UTF-8
Python
false
false
6,574
py
#!/usr/bin/env python3 from sys import stderr from os.path import isfile from os.path import join from shutil import copyfileobj from Bash import bash from Bash import mkdir_p from PairedEndCommand import PairedEndCommand class TrinityAssemble(PairedEndCommand): def __init__(self, *args, **kwargs): supe...
[ "cacampbell@ucdavis.edu" ]
cacampbell@ucdavis.edu
5c2cc88aff82e06149ca9c765f28aa627b60312d
949cb096f6f19f6b41d3a0444269ea6ccf2397ef
/course_search.py
a782c997d3e560d97d8510cdb3449b771b4657da
[ "MIT" ]
permissive
bharathc346-zz/CRNNotifications
c5c56f78479ec25e5b010f6726092aeea1ae49ac
ab50080a847733bf23cdd77e50a995b19f0b89d1
refs/heads/master
2021-07-02T02:31:12.116785
2017-09-04T22:03:09
2017-09-04T22:03:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,955
py
from bs4 import BeautifulSoup from models.course import Course import requests default_postdata = { 'CAMPUS': '0', 'TERMYEAR': '201709', 'CORE_CODE': 'AR%', 'subj_code': '', 'CRSE_NUMBER': '', 'crn': '', 'open_only': 'on', 'BTN_PRESSED': 'FIND class sections', } url = 'https://banweb.b...
[ "bharathc@gmail.com" ]
bharathc@gmail.com
24f9f3aa83df652d60500d390c8b1ec71ab31efd
5c72906b45827f6f468c10383e511ca98fc72cc0
/pytorch/DCCComputation.py
bdded433ba1a6167b974f51b87c42dd1a443f5de
[]
no_license
camillarhodes/Disentanglement_Clustering
b714d7f36bbe2a729d31b18e70c990f0e1058098
67c939fab421fe8144970bbb2183b27516edd34c
refs/heads/master
2020-03-30T20:30:54.972980
2019-07-27T14:53:26
2019-07-27T14:53:26
151,591,252
0
0
null
null
null
null
UTF-8
Python
false
false
5,301
py
import os import numpy as np import scipy.io as sio from scipy.optimize import linear_sum_assignment from scipy.sparse import csr_matrix, diags import scipy.sparse as sparse from scipy.sparse.csgraph import connected_components from sklearn import metrics from config import cfg, get_data_dir def makeDCCinp(args): ...
[ "camillarhodes@yandex.com" ]
camillarhodes@yandex.com
bfdfdee00088f6ef34d722f1722ffddac8b10390
78c70249766e45c8bc2792259b98ecfab4d2d538
/hw3/code/dicttests.py
57682eb13177753e5e7060eed20aaa7a7a9a13d6
[]
no_license
schuberm/6.867
a52baccaac5fba26dcf986041fbf91c9e965cb28
29f4ad7619528db32eb41fb27b02ce9fca41f131
refs/heads/master
2021-01-09T06:37:11.935935
2017-02-06T00:31:54
2017-02-06T00:31:54
81,029,952
0
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
import tensorflow as tf import numpy as np from six.moves import cPickle as pickle import sys import math import time if __name__ == '__main__': params = {} params['batch_size'] = 10 params['learning_rate'] = 0.01 # params['layer1_filter_size'] = 5 # params['layer1_depth'] = 16 # params['layer1_stride'] = 2 # ...
[ "schuberm@mit.edu" ]
schuberm@mit.edu
45bd51b285b82aa9a54a49c04f1a1b5500c42905
5721d04752cdc912ee867d83a9e615a04b9d1e33
/kotti_component/apis/entity.py
36df9c99e33490d45fe2d9ba345bfbe6eb9655e0
[ "BSD-3-Clause-Modification" ]
permissive
quyetnd-parlayz/kotti_component
4e507d1748afc9733a6b6d568d026c0618f93bf6
fa3064bab6f5884e2fe3a277158b45412a2ae781
refs/heads/master
2021-01-23T00:52:49.200722
2015-11-16T04:00:00
2015-11-16T04:00:00
43,043,692
0
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
# -*- coding: utf-8 -*- from pyramid.view import view_config, view_defaults from kotti.util import title_to_name from kotti_component.interfaces import IEntity from kotti_component.resources import Entity @view_defaults(renderer='json', name="xxx") class EntityCRUDView(object): def __init__(self, context, req...
[ "quyet@parlayz.com" ]
quyet@parlayz.com
7a7a911233f0651a9d14ce84ce0c7661326b6ce5
6b557cb17f07d28a0eafc22ce6e95683ff75da16
/2_script/pre_wechat.py
0e773c33705c341c9d6e0a35680c4197d3106ab5
[]
no_license
ThianeX/seg_memoire
fa0796dd1f6394f0e93aed8b3d74947db90c1a2b
7a73aebd3a656f9af509bf2a787ef2b778e2a93b
refs/heads/main
2023-03-30T11:34:13.719815
2021-04-06T03:28:38
2021-04-06T03:28:38
319,254,964
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
# -*- coding: utf-8 -*- """ Created on Sun Mar 28 16:27:33 2021 @author: Carol """ import re import pypinyin def pinyin(phrase): """ Input = str phrase Output = str pinyin correspond """ pyin = '' for i in pypinyin.pinyin(phrase): pyin = pyin + ''.join(i) + " " return pyin text = [...
[ "72928225+ThianeX@users.noreply.github.com" ]
72928225+ThianeX@users.noreply.github.com
69d13e0df84285ec17a9d7b103da20bdb16baf1a
1432b7cdeadf80cce90802881de32482547e2897
/Seq2seq/BLEU.py
749599e1ae9ffa8b9a83e80e6cd09b3f5b37a689
[]
no_license
huhanGitHub/bert-Seq2Seq
d201df3627f4c3f166ea633fcb6e4a3925a20af3
3aae8e8ac828fe0c398a94a689a3448da8f623bd
refs/heads/master
2020-05-18T18:19:01.610783
2019-05-29T06:11:20
2019-05-29T06:11:20
184,581,588
1
1
null
null
null
null
UTF-8
Python
false
false
813
py
from nltk.translate.bleu_score import sentence_bleu import argparse def argparser(): Argparser = argparse.ArgumentParser() Argparser.add_argument('--reference', type=str, default='summaries.txt', help='Reference File') Argparser.add_argument('--candidate', type=str, default='candidates.txt', help='Candidat...
[ "543160303@qq.com" ]
543160303@qq.com
20f19c3f9f69fbff03cfb2e3f5355089e81e8278
6d66057b7efeb993976705080a11e5be2f2cfa11
/mysite/settings.py
19cf83091d7f92707984793836aff819b3565166
[]
no_license
klt19991115/my-first-blog
fc4edd89eb1126307e61ef9ffa651c80f7f5597c
fcc7137a7644e1c488d630a1c1d1b3fe70f18c83
refs/heads/master
2021-08-08T21:38:39.335994
2017-11-11T09:26:19
2017-11-11T09:26:19
108,621,228
0
0
null
null
null
null
UTF-8
Python
false
false
2,734
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.8. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths i...
[ "1540718150@qq.com" ]
1540718150@qq.com
6b0e8bbafdf04a7054fd2155d8724009ba943443
e7441ca8b77e818a18edbe9a4cf65395b1318611
/style_vae/model/layers.py
7c40035198dd314cb484af3260f3ce32b25f7be4
[ "MIT" ]
permissive
orgoro/style-vae
18adfbd85d7c6293d8c8ff5680cbb5e8937a3a64
e437d606b0336d793f75658eee84ebb8f387e84c
refs/heads/master
2023-03-31T00:03:01.063640
2020-09-29T07:56:55
2020-09-29T07:56:55
164,336,591
30
4
MIT
2023-03-24T23:41:51
2019-01-06T19:01:57
Python
UTF-8
Python
false
false
5,590
py
# 3rd party: import tensorflow as tf from tensorflow.keras import layers import numpy as np # same category: class VaeLayers(object): @staticmethod def normalize(x, epsilon=1e-8): """Pixelwise feature vector normalization""" with tf.variable_scope('Normalize'): x -= tf.reduce_mean(...
[ "or.gorodissky@d-id.com" ]
or.gorodissky@d-id.com
c064647cd1304d7aff89c6683cd29e2b315cfa1e
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2863/60673/273869.py
625083ae06703fe4379f18234384daf60c110ffb
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
318
py
# 围墙高h 第i个人高a[i] 平常走路宽度为1 弯腰2 n, h = input().split(" ") a = input().split(" ") n = int(n) h = int(n) for i in range(n): a[i] = int(a[i]) walkNum = 0 bendNum = 0 for i in range(n): if (a[i] <= h): walkNum += 1 else: bendNum += 1 print(walkNum + bendNum * 2)
[ "1069583789@qq.com" ]
1069583789@qq.com
36b2bd74da83b41b74bc60e1f3a342898a87393f
c8121dda040f4483eb67e1cb9e77377d951f8c09
/utils/evaluation.py
4390629b23c3ef4ad18b7c05426890961ea999bd
[]
no_license
futureseadev/mofc-demand-forecasting-with-time-series-analysis
0c9d7f4d2935a30430903153398e2bd517985ded
f644483befb20e79d32de190a0a5cfc4a9315f6d
refs/heads/main
2023-07-12T19:31:14.308418
2021-08-28T01:03:28
2021-08-28T01:03:28
418,940,351
0
1
null
null
null
null
UTF-8
Python
false
false
4,988
py
from typing import Union import numpy as np import pandas as pd from tqdm.notebook import tqdm class WRMSSEEvaluator(object): def __init__( self, df_train: pd.DataFrame, df_test: pd.DataFrame, calendar: pd.DataFrame, selling_prices: pd.DataFrame, test_steps: int, ...
[ "aldente0630@gim-yeongmin-ui-iMac.local" ]
aldente0630@gim-yeongmin-ui-iMac.local
4c46fd7948d332eec39878268397f7b64b9f3b83
fea4c2733b81d7af0f8f1ef4a7a2e2c5969691fa
/PyQt4/hufsgrade_ver1.31(test).py
648897ec15fa96cace1c650c68e6b9a8303e99e3
[]
no_license
datalater/hufsgrade
8345e451690d00db57ff11cc5a315377d48a4d79
e410607116fe428ea23959d3b3d4c8316db2f65b
refs/heads/master
2020-05-21T23:36:00.552913
2016-09-28T13:30:39
2016-09-28T13:30:39
64,480,168
0
0
null
null
null
null
UTF-8
Python
false
false
29,114
py
import os import sys from PyQt4 import QtGui, QtCore import logging import requests from bs4 import BeautifulSoup import re import time #from os.path import join, abspath head={'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'} log...
[ "the7mincheol@gmail.com" ]
the7mincheol@gmail.com
fd3b1ab4cf6018b45bfc446da9fe3335c9a279f0
ca14dcafbcc5ab752a1f7d798fcb4bbc48f17bca
/main.py
b135f8468887cb800285fe3ac3af7467fc838405
[]
no_license
arthurmgo/nerd_bot
b55e230a15650bcd92ce82eab1da3ff4485314b8
732a642bf383bcfd57a967292d6286502fac51af
refs/heads/master
2020-04-19T04:45:31.021581
2019-01-28T13:52:22
2019-01-28T13:52:22
167,970,548
0
0
null
null
null
null
UTF-8
Python
false
false
2,675
py
import config from telegram.ext import Updater, CommandHandler, MessageHandler, Filters from chatterbot import ChatBot from chatterbot.trainers import ListTrainer from image_recognition import PredictionThread import wikipedia import logging import os execution_path = os.getcwd() wikipedia.set_lang("pt") # Enable ...
[ "arthur.mirandag@gmail.com" ]
arthur.mirandag@gmail.com
bd47e77a4d7318b7365b45e8afb112bc3b04155b
1332790228c2fc88c19846a1d6d13db8274d01cb
/lab_3/__init__.py
ed8387b57cb3c63a1b0435b8fbdb23b51df5fafe
[]
no_license
pawelbubak/KCK
4a60b74d3cea8a04adaaed7fcc6e835c0ba10f3c
03736a3311e0b75978fdb67645916cd1d14a14c2
refs/heads/master
2020-03-31T02:47:40.322594
2018-11-05T23:42:03
2018-11-05T23:42:03
151,839,920
0
0
null
null
null
null
UTF-8
Python
false
false
23
py
from .lab_3 import run
[ "pawelbubak97@gmail.com" ]
pawelbubak97@gmail.com
ec2472bd4dab4e5bf77b2f95018bb11b43bc09d2
a528509d32e45dce63efcd45d57eb79eed1a1aa2
/apitest/abcmeta.py
d9f7159938c14d051638549f3eddaef9161a70f0
[]
no_license
Rex-Du/redis-
10853ad55cf06bcfa7c9f9fa1d0a8a0b17186e3f
9fcecc9628969bf207f2da8435d15c606622d9cf
refs/heads/master
2022-06-14T19:41:44.325124
2020-05-05T15:36:55
2020-05-05T15:36:55
261,512,203
0
0
null
null
null
null
UTF-8
Python
false
false
5,145
py
from _weakrefset import WeakSet class ABCMeta(type): _abc_invalidation_counter = 0 def __new__(mcls, name, bases, namespace, **kwargs): cls = super().__new__(mcls, name, bases, namespace, **kwargs) # Compute set of abstract method names abstracts = {name for name,...
[ "860435288@qq.com" ]
860435288@qq.com
33928601def468cab1a90517544dac9fff4e0f60
d088f067d441d69efea110c8e9fea3ccc5094367
/distance.py
630b78f1364744d6805c6a9e99cab0a5f39b82e1
[]
no_license
hemanth9516/pythonlab
b6eb53235e3f806c2ef5e61f0db2c41b933b9cf8
0ec2a34ecb97cbcfe9c7aa9248f688426533476f
refs/heads/master
2022-05-21T12:48:10.961616
2022-04-01T18:28:04
2022-04-01T18:28:04
172,656,310
0
0
null
null
null
null
UTF-8
Python
false
false
1,377
py
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 #Libraries import RPi.GPIO as GPIO import time #GPIO Mode (BOARD / BCM) GPIO.setmode(GPIO.BCM) #set GPIO Pins GPIO_TRIGGER = 18 GPIO_ECHO = 24 #set GPIO direction (IN...
[ "noreply@github.com" ]
hemanth9516.noreply@github.com
a0e1134d1d99ab8ae5a2419cc619d5f1639b5b52
e7eafa9e62f6df05452099c7bc3bbefc325684d9
/planeswalkers/planeswalkers/migrations/0002_auto_20150330_0328.py
188eca29cb20c2458eeae666a3de898091424856
[]
no_license
mekhami/planeswalkers-of-denton
4945097f4c9a2cc47c708278804cd35652a587f6
b132a65dd85e4c431b6e6feff80515660cd88e45
refs/heads/master
2016-09-05T18:41:49.570059
2015-03-30T03:36:52
2015-03-30T03:36:52
33,052,965
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('planeswalkers', '0001_initial'), ] operations = [ migrations.AddField( model_name='match', name='pla...
[ "lawrence.vanderpool@gmail.com" ]
lawrence.vanderpool@gmail.com
6f88b6e6753e5a969b188f9669df7aae3df620ef
1389024bb2f8a4a80846a1d7c205646d8b75373a
/Clas.py
873b4843fc6b412068edf705d25fce20e9e4384e
[]
no_license
diegoscr/Desafio2id3450
8a52f95a85f7b0d9117e6bdcc2ca446b1581f79e
52fb3b9663b16f16e16d760fe0685bbb75b19456
refs/heads/master
2020-09-20T09:38:32.458382
2016-08-28T00:50:52
2016-08-28T00:50:52
66,742,383
0
0
null
null
null
null
UTF-8
Python
false
false
2,829
py
#Classificação de sinais utilizando matriz euclidiana #autor Diego Silva Caldeira Rocha import numpy as np a= np.array([[1, 3, 5], [7, 9, 11], [13, 15, 17]]) #c= np.array([[5,2,9]]) c=np.zeros((3)) #print(a) #print (c) #np.insert(a,c) #a=np.vstack((a,c)) #a=np.concatenate((a, c),axis=0) #print(a) AtSig=np.zeros((...
[ "sddiegorocha@gmail.com" ]
sddiegorocha@gmail.com
9dbb60b6eadba133b5ac9e024654e41453f4c5eb
e83f3d46517270a65dc678056351a255479ee761
/examen/colegio/views/users.py
17538e2d4d76426ae7ee69bb4ffed078841ddc84
[]
no_license
albertdepaz/examen
41627bdfe2628855b2a85bee258d9a2763018f56
f7102914ea58dfc839b4c4bb16f3fe3110bb7f23
refs/heads/master
2021-03-02T14:51:41.477403
2020-03-08T19:42:03
2020-03-08T19:42:03
245,876,364
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
from rest_framework import mixins, status, viewsets from rest_framework.decorators import action from rest_framework.response import Response from rest_framework.permissions import ( AllowAny, IsAuthenticated ) from colegio.serializers.users import ( UserModelSerializer, UserLoginSerializer, User...
[ "albertcompu5@gmail.com" ]
albertcompu5@gmail.com
00256e1c2a75d6e2643d1a889bf9b296376e09eb
6be845bf70a8efaf390da28c811c52b35bf9e475
/windows/Resources/Dsz/PyScripts/Lib/dsz/mca/file/cmd/put/type_Params.py
7be73ef22b4325cbd9bcac9c3611c066cc82f983
[]
no_license
kyeremalprime/ms
228194910bf2ed314d0492bc423cc687144bb459
47eea098ec735b2173ff0d4e5c493cb8f04e705d
refs/heads/master
2020-12-30T15:54:17.843982
2017-05-14T07:32:01
2017-05-14T07:32:01
91,180,709
2
2
null
null
null
null
UTF-8
Python
false
false
4,221
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: type_Params.py from types import * import array PARAMS_CREATE_FLAG_PERMANENT = 1 class CreateParams: def __init__(self): self.__dict__[...
[ "kyeremalprime@gmail.com" ]
kyeremalprime@gmail.com
728e8a2674cf18ba93482cd096615755580e35f0
c499bf9accc0cf02e025ca8ef524db5c3766c25b
/SN_Fitness/settings.py
291049bf6a50a751e60233debd94a486666c1879
[]
no_license
shadman25/SN_FItness
c5819706f60c398b32d607d7dce8324e0a4c64ad
69bdccedb1665deabb4f2e1ec4f85ea0ba8af8ae
refs/heads/master
2022-12-11T05:20:23.668358
2020-09-02T16:58:25
2020-09-02T16:58:25
292,338,928
0
0
null
null
null
null
UTF-8
Python
false
false
3,116
py
""" Django settings for SN_Fitness project. Generated by 'django-admin startproject' using Django 3.0.5. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os...
[ "shadman21178@gmail.com" ]
shadman21178@gmail.com
4d74cde1dc9d7086b62bd8f6906126a67188d9c9
63271db556e4de0b2b8c3782ca6e083290e9c01d
/SHgold/SHgold/middlewares.py
e3bdb4a0c7a4ed6708b3caf3f8b2efb3bdbbf7c7
[]
no_license
nuoyi-618/scrapy
09068b37b77a3528f229c8ba368d3c652f651401
e40f486a6fddbebd27ee1de97c7ff5a4c550f8ce
refs/heads/master
2020-05-03T14:59:32.492113
2019-03-31T13:49:32
2019-03-31T13:49:32
178,693,656
0
0
null
null
null
null
UTF-8
Python
false
false
2,878
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # http://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals import random class ShgoldSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, ...
[ "noreply@github.com" ]
nuoyi-618.noreply@github.com
2d4409a3fedab8973a82770461cb460e061902fa
61be51575c0e4a49ca03d12c70b6b616baa934f3
/Kopanev_Roman_DZ-2/d_z_2_2.py
93726fe729894b1a0f1bd9d56fb0bbfbad21412a
[]
no_license
RombosK/GB_1824
03ebbd6a0ff7f28e6a1fd275d4882c71ccbcbed2
502cae8ab75b76183060b9482c7107970983fb34
refs/heads/main
2023-09-05T16:12:15.809378
2021-11-08T17:55:27
2021-11-08T17:55:27
417,275,469
0
0
null
2021-11-08T17:57:40
2021-10-14T20:37:58
Python
UTF-8
Python
false
false
2,028
py
# Дан список: # ['в', '5', 'часов', '17', 'минут', 'температура', 'воздуха', 'была', '+5', 'градусов'] # Необходимо его обработать — обособить каждое целое число (вещественные не трогаем) кавычками # (добавить кавычку до и кавычку после элемента списка, являющегося числом) и дополнить нулём до двух целочисленных разряд...
[ "rombos1978@gmail.com" ]
rombos1978@gmail.com
c81cc8893ba9e4b702c53c3aaab0befb9e7ddad8
13ec4cf9351ba12ff51e4c7b35aa0fef6efb2413
/transform_command.py
878576d770a16b67534644791e9e239cb23acd0a
[]
no_license
chriswycoff/image_transformer
a43fa274894dc7b01476d27571b505b128770813
011dba3584c7dd44dd45fc1d3de750062997d30d
refs/heads/main
2023-07-14T14:35:50.543125
2021-08-18T01:34:36
2021-08-18T01:34:36
370,458,812
1
0
null
null
null
null
UTF-8
Python
false
false
4,412
py
# import subprocess import uuid from numpy import invert import moviefy import makestl import add_effects import uuid import os import sys import shutil import time from PIL import Image def transform_image(image_path,double=False,frames=10, cleanup=True, make_mov=True): # print("hello world") unique_id = u...
[ "wycoffc@air-weigh.com" ]
wycoffc@air-weigh.com
b40cba513f23b058e0c54a3aead569ab2266b80f
f411224bf83c7b8c372bd693b61f6baa5a8cc121
/chapter09/simple_button.py
3ca0ce8327f985523f7994ffc7a13b90952fb829
[ "MIT" ]
permissive
SpinStabilized/bbb-primer
c34da0bcbb06e16247e1690d66644c7d3cf061b7
c8af2c488e2b0923f1fcce9010f82b5feefd926a
refs/heads/master
2021-01-10T15:45:38.942615
2015-11-16T17:20:05
2015-11-16T17:20:05
46,019,191
3
2
null
null
null
null
UTF-8
Python
false
false
1,015
py
import Adafruit_BBIO.GPIO as GPIO import time # Define program constants BUTTON_PIN = 'P9_11' OFF = 0 ON = 1 # Configure the GPIO pin and set the initial state of variables to track the # state of the button. GPIO.setup(BUTTON_PIN, GPIO.IN) button_state_old = OFF button_state_new = OFF # print out a ...
[ "bjmclaughlin@gmail.com" ]
bjmclaughlin@gmail.com
80bc187797f793f00432aa1bc05b7ebc6ccac457
84caa57bf6068e5077a303d4f80a26db50bfdfdd
/app.py
40e21978a6ac18c96623faa338cf55d225b33551
[]
no_license
akhilliker/HW15_BellyButtonBio_Hilliker
037608579cd3cd3140b8e446747a56d1d67f6993
b704cd1cea1bfa546dfbd7205a6d69bf098afcab
refs/heads/master
2020-05-22T01:02:13.120225
2019-05-13T00:54:48
2019-05-13T00:54:48
186,184,814
0
0
null
null
null
null
UTF-8
Python
false
false
2,901
py
import os import pandas as pd import numpy as np import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine from flask import Flask, jsonify, render_template from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) ###############...
[ "ahillike@richmond.edu" ]
ahillike@richmond.edu
6140b4c90f7393bc23a66c9441590e412679a9c9
50039604efee0eb882b11ad67f8e92282d4d684d
/geomet/geopackage.py
1346375fb80441085058cf68092b877c1d45fe87
[ "Apache-2.0" ]
permissive
tomplex/geomet
0074f8c15073730638326f116ecf7b0a8a541ede
f57a2302d738ef8af694c8dde09e95d419457d9e
refs/heads/master
2021-07-14T08:31:22.586384
2020-06-27T09:30:28
2020-06-27T09:30:28
158,293,097
0
0
Apache-2.0
2020-03-10T00:59:33
2018-11-19T21:35:40
Python
UTF-8
Python
false
false
12,041
py
# Copyright 2020 Tom Caruso & individual contributors # # 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 applicabl...
[ "carusot42@gmail.com" ]
carusot42@gmail.com
637cbf3861b3eca01ecc60be273a349a2a1888c1
038df75bcb74d2118cf7b22f348239847045824f
/geometryCalculatorTest.py
04ab01b187656f3a1673a416d55d8015fbfaa3f0
[]
no_license
keegangunkel/SoftwareTestingLab2
bbf22feae2ec0da415ed6be6636d031a8413d103
45e2284061c6d07916360724f664f10326053f4a
refs/heads/master
2023-08-04T19:47:08.622823
2021-10-04T14:51:37
2021-10-04T14:51:37
413,226,946
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
import unittest import geometryCalculator class geometryCalculatorTest(unittest.TestCase): #passing tests def test_volume1(self): assert(geometryCalculator.pick(8)) if __name__ == '__main__': unittest.main()
[ "gunkeec@dunwoody.edu" ]
gunkeec@dunwoody.edu
13915155f7c20e488e358ce9a8fc7c78b8049d80
299fe2ca879e509798e95c00b7ba33914031f4a7
/eruditio/shared_apps/django_userhistory/userhistory.py
10aad86e7ff44123a9ea653ae8ca81813915a013
[ "MIT" ]
permissive
genghisu/eruditio
dcf2390c98d5d1a7c1044a9221bf319cb7d1f0f6
5f8f3b682ac28fd3f464e7a993c3988c1a49eb02
refs/heads/master
2021-01-10T11:15:28.230527
2010-04-23T21:13:01
2010-04-23T21:13:01
50,865,100
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
from django_userhistory.models import UserTrackedContent class UserHistoryRegistry(object): """ Registry for UserHistory handlers. Necessary so that only one receiver is registered for each UserTrackedContent object. """ def __init__(self): self._registry = {} self._handlers = {} ...
[ "genghisu@6a795458-236b-11df-a5e4-cb4ff25536bb" ]
genghisu@6a795458-236b-11df-a5e4-cb4ff25536bb
0faf97e1dd08feeca7040dd8255d1e5a40957c76
0fe4e9e590177a9ea3cd87b58cd1a49b38563695
/recursion/two_number_product.py
a465f9628beb83cacbaf192b7ef1d844ac04788f
[]
no_license
Neveon/python-algorithms
55423404982b4e6410906c677ab823407f311062
2a5722cebc84fb96793eb87e1d84bbe18a9da171
refs/heads/master
2020-07-15T13:26:28.391543
2019-09-04T18:32:12
2019-09-04T18:32:12
205,572,124
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
# Given two numbers, find their product using recursion y = 3000 x = 500 def product_recursion(x, y): # Cut down on total number of recursive calls if x < y: return product_recursion(y,x) if y == 0: return 0 else: return x + product_recursion(x, y-1) print(product_recursion(y,x))
[ "neil.tellez@gmail.com" ]
neil.tellez@gmail.com
cf7594d16439bef485cf4bb9c072a01bf8bafede
3ccd609f68016aad24829b8dd3cdbb535fb0ff6d
/python/bpy/types/LineStyleColorModifier_Curvature_3D.py
92d99c6cbf2195f90c35af6beed12322fa7454ae
[]
no_license
katharostech/blender_externs
79b2eed064fd927e3555aced3e2eb8a45840508e
fdf7f019a460de0fe7e62375c1c94f7ab0e9f68d
refs/heads/master
2020-04-11T14:00:29.393478
2018-10-01T00:40:51
2018-10-01T00:40:51
161,838,212
1
1
null
2018-12-14T20:41:32
2018-12-14T20:41:32
null
UTF-8
Python
false
false
50
py
LineStyleColorModifier_Curvature_3D.type = None
[ "troyedwardsjr@gmail.com" ]
troyedwardsjr@gmail.com
e589e9b8d3a9feebdb918b5bc6c69646e2a2bba0
911d3ffa7f6687b7b2d5609f4d7bb1f907f1703a
/Conditional Statements - More Exercises/06. Pets.py
d518cc7b89d6286ab3fc57f9402ad4d4aa37db01
[]
no_license
ivan-yosifov88/python_basics
923e5ba5dcdc5f2288f012eeb544176d1eb964e9
ee02f1b7566e49566f15c4285d92b04f8fa6a986
refs/heads/master
2023-03-05T21:49:24.191904
2021-02-24T12:36:03
2021-02-24T12:36:03
341,581,532
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
from math import floor, ceil number_of_days = int(input()) left_food = int(input()) dog_food = float(input()) cat_food = float(input()) turtle_food = float(input()) kilogram_food_eaten = number_of_days * (dog_food + cat_food + turtle_food / 1000) difference = abs(left_food - kilogram_food_eaten) if left_food >= kilogra...
[ "ivan.yosifov88gmail.com" ]
ivan.yosifov88gmail.com
4f1b561082a6ab9c1a9ce424e98e3692546d12a0
1bec07c5175cc8011245c09b9db619423b0cc295
/main.py
43d48b62a1680b351f7e18ea127ecf102b1c977c
[]
no_license
saferq/fill_docs
2d858df00af9ebd82785e378303a7b9713c6f94d
989de69cc4c24da5e8bc9277023be112e3c145dc
refs/heads/main
2023-05-05T23:10:32.182954
2021-05-20T16:19:21
2021-05-20T16:19:21
366,701,121
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
# import os from pprint import pprint from backend import afd_json, afd_ggl, afd_pandas, afd_docx, afd_helps class Main(): def __init__(self): # os.system("mode con cols=80 lines=30") print("0 - для выхода") # Получение конфигурации из json файла self.config = afd_json.WorkWithJson...
[ "safer88q@gmail.com" ]
safer88q@gmail.com
0b198859239f6fee3b3ed973552e4df2c76aa7fb
2de1b7395c59a3b3fdc65fe4b3cb2c52c5e7ecb9
/Arcade/Intro/isLucky.py
133c3163afbe666761d12d79318dd9f845ba9e65
[]
no_license
sree-varma/CodeSignal
1a5fbcfd8aa0a37d909838b4eba40143921ebc92
6cf84d3749e09d132ce93ae9bb675d9882017521
refs/heads/master
2023-07-29T19:46:57.385738
2021-09-17T11:57:22
2021-09-17T11:57:22
403,336,411
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
""" Ticket numbers usually consist of an even number of digits. A ticket number is considered lucky if the sum of the first half of the digits is equal to the sum of the second half. Given a ticket number n, determine if it's lucky or not. """ def isLucky(n): num=[int(i) for i in str(n)] if len(num)%2!=0: ...
[ "noreply@github.com" ]
sree-varma.noreply@github.com
1a746154d6b61411fc15a455190d549aa0d207bb
14ac71c2e0028e21c8930ec3d4186535f41b31c5
/bid_tender/bid_tender/provinces/base/task_schedule.py
39562055f0e4478bcab2bc0e5e7afb8d2880f60e
[]
no_license
gaoming-123/myspiders
042aaa7a5058324c23720237147803606f84db69
e3c31729f43a7f4aff2e57f588d9de31fa694ee2
refs/heads/master
2020-06-14T00:16:48.424610
2019-10-16T15:04:55
2019-10-16T15:04:55
194,833,320
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
__all__=['province_weight'] from bid_tender.task.task_config import PROVINCES_DICT # ======全量爬取的开关参数====== # 从全局配置文件中读取,没有将配置为全量爬取,用于开发测试 try: from bid_tender.task.task_config import base_FIRST_CRAWL except: base_FIRST_CRAWL=True #===================== # 省份缩写及请求权重 try: province_name,province_weight=PROVINC...
[ "451574449@qq.com" ]
451574449@qq.com
fff3ef323fc12270990af0fd90b8270c1f829fdd
3f77f513a9dd7072b4d03b29bfbee882e4c5fdbe
/面向对象.py
f62867810d27b31fda60ceab0b0424149affced2
[]
no_license
zhongyusheng/store
1a39c12bd69641206fee02460f1bbf5fb317ff41
153dee71687df770bcfb24243065e98236fdd363
refs/heads/main
2023-08-24T05:45:56.587624
2021-10-22T01:13:50
2021-10-22T01:13:50
405,902,078
0
0
null
null
null
null
UTF-8
Python
false
false
3,894
py
import time # class cup(): # high=0 # colour="" # volume=0 # texture="" # # def run(self) -> None: # print("高度为:",self.high,"厘米的",self.colour,self.texture,"杯能够装",self.volume,"升的液体") # # c1=cup() # c1.high=66 # c1.colour="红色" # c1.volume="88" # c1.texture="玻璃" # c1.run() # # ...
[ "noreply@github.com" ]
zhongyusheng.noreply@github.com
01f1570f9e4bcdc4f3aed77c516a9705bfea0924
efc99c0c8c51a43ec33ebc0995de55bc7dd7336d
/BinarySearch/solution.py
813d6092d95b5f053833f31a105db6b344c2bf25
[]
no_license
hukkelas/CrackingTheCodingInterview
ad398a8dd71ae03b68dd5e75a4744faf9ad5f927
4b5be46ff98b46940c88edf49476a3e6e7bcf111
refs/heads/master
2021-01-23T20:30:19.365631
2017-09-08T13:23:27
2017-09-08T13:25:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
#!/bin/python3 # pylint: skip-file # https://www.hackerrank.com/challenges/ctci-ice-cream-parlor/problem def binary_search(elements, x): low = 0 high = len(elements) -1 while low <= high: mid = (low + high) // 2 if elements[mid] == x: return mid if x < elements[mid]: high = mid - 1 el...
[ "haak-hu@hotmail.com" ]
haak-hu@hotmail.com
507bb5c1686964fa97d8c7f16f97c1cd50618106
f6c6ca7ecf61f0e588d39857e7e4fcea54253710
/venv/bin/django-admin
431a293ae347bc322453f86b1a045b7505c7d479
[]
no_license
azizkarimi67/portfolio_app
0ab062cf1c2d65ed7cbf818950332073df9d68e4
dd825df72883c2258c9745f60d9e583c913243a2
refs/heads/master
2021-05-20T20:06:08.805801
2020-04-02T08:37:16
2020-04-02T08:37:16
252,400,895
0
0
null
null
null
null
UTF-8
Python
false
false
306
#!/home/pamir/Documents/personal_portfolio/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())
[ "azizullah.karimy91@gmail.com" ]
azizullah.karimy91@gmail.com
41d1fec108b439c016bb2d337c5dba092c547b90
f8005ef646f6d0eb1fb1588434f5a0e03c3446ba
/MainGame.py
54207b0ea9ea956c599d18382d8bb11ff3ae63bd
[]
no_license
Raymundo1999/Final-Project-CSS-225
13918ef241ad45deaf0dda8251c551ee894e8c5b
a7d3ec9aef7b9aae670a1d2b1c1a3e2a0cdddbaf
refs/heads/main
2023-01-28T10:21:36.906256
2020-12-09T21:54:51
2020-12-09T21:54:51
320,088,757
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
#Raymundo Sanchez #Nov 1,2020 import mainCharacter as MC import section1 import section2 import section3 #Main Character will go here player = MC.mainCharacter() #this will show the intro to the game #the empty imput was included to be able to click a button to go forward print("Hey I see your awake!") input() prin...
[ "noreply@github.com" ]
Raymundo1999.noreply@github.com