blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
69ca0c8da13ad6bf070afc74b5c3967a6a1dff38
f29a90f22565d52a5c6376e96d45697cedf90506
/snakes_graphic.py
21e52880749d7ae0b10fdd8803bba7af7f03f4dc
[]
no_license
jczapiew/hexadecimal-snake
e2d0ca1566d70bcb7e57b126e7cdabd8a55d3572
cb1e36eda559c683d4261cbe26eac745bc67ee04
refs/heads/main
2023-02-24T00:18:43.082402
2021-02-03T11:55:43
2021-02-03T11:55:43
324,958,519
0
0
null
null
null
null
UTF-8
Python
false
false
6,884
py
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'snakes_GUI.ui' ## ## Created by: Qt User Interface Compiler version 5.14.2 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! #######...
[ "noreply@github.com" ]
jczapiew.noreply@github.com
55d630b6adfebc10d5918651f00a55fd63835aa9
6b1356bd758b656d2afa119f0c2d0f399d157a0b
/model.py
3e713292b834e18f3f7c4444f039dd6151ab326f
[]
no_license
Ai-Light/2020-zhihuihaiyang
87f22b8e94a0424b090e2f15be2047912fbdd7ce
0d775d8611339299a5eea2b94d4efe8ef3996977
refs/heads/master
2022-08-10T02:22:35.457007
2020-05-18T13:55:01
2020-05-18T13:55:01
253,509,618
37
12
null
null
null
null
UTF-8
Python
false
false
18,125
py
#!/usr/bin/env python # coding: utf-8 import gc import pandas as pd import numpy as np import os import time import lightgbm as lgb from copy import deepcopy from sklearn.model_selection import StratifiedKFold from sklearn.metrics import f1_score from sklearn import metrics from sklearn.metrics import precision_recall...
[ "noreply@github.com" ]
Ai-Light.noreply@github.com
c5e15319375d53d408d835b740d2eddf5d4338d0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03943/s886039184.py
47e4a54633be998205df0d5ac0a15eb3b2b0a5f8
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
import sys def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) #空白あり A = LI() A.sort() if A[0]+A[1] == A[2]: print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
eba509e44d06b1eb0943933b603132d04b06598a
acd7c5edd5e56e813d5c54c1aa1f894126fdbd01
/URLStatusChecker/asgi.py
da15c6d089184e3b55a141fd2b6ce1add8246345
[]
no_license
Iron-Cow/URL-Status-Checker
1c8814bf057eb5bb9f3e31e812ef238267bcc997
b3ef5084b817768acf51dcfaeac1432d758a76d9
refs/heads/master
2022-04-17T01:10:17.581087
2020-04-11T18:18:28
2020-04-11T18:18:28
254,927,537
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" ASGI config for URLStatusChecker project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJA...
[ "uangeji@gmail.com" ]
uangeji@gmail.com
b793faa9165095235e90f66c5a02acc7c6138f08
65b421d994a14d26ed906d35d563d4de010ec99e
/game/factories/__init__.py
014e7b8f9404a38846c12df7c7bec09b72be95b2
[]
no_license
ManickYoj/Ludus
a7c4b7371cb6b8b459ade950c50c5ec3f4d3b056
6b57f787aaa8bd72044e6632d28acfed1c4a1903
refs/heads/master
2021-01-01T20:21:40.484854
2017-08-27T05:37:14
2017-08-27T05:37:14
98,823,596
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
""" Factory Loader This gnarly script walks through the factory directory and loads each factory into the factory module namespace so that we can eg. `from factory import PlayerFactory` rather than the more verbose `from factory.player import PlayerFactory`. """ import pkgutil import inspect __all__ = [] for loade...
[ "nickfrancisci@gmail.com" ]
nickfrancisci@gmail.com
1f03e2319d271e48b8e3dfebfaa31c9bf70a2cfd
be7f74cb434d1e1de9fb4c9417fec473db101844
/lecturer/admin.py
a65de3345090043f9d2c7b0b42e74860276da569
[]
no_license
belloshehu/academics
acd1bb690376debdc4309a12d5195f2e34713361
aff02861204cfa4580a59dc11a8d28154216710e
refs/heads/master
2023-07-20T13:55:53.588174
2021-08-22T10:02:11
2021-08-22T10:02:11
326,049,728
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
from django.contrib import admin from .models import Lecturer admin.site.register(Lecturer)
[ "belloshehu1@gmail.com" ]
belloshehu1@gmail.com
42b078cdb0424dff4b849e9f742b188755830fbb
8e0b9b63771dfc0e9dcef35d86da5c750f1d1dc6
/tests/arp/test_arpall.py
bc67c2f500872517725f37628243628e428c8b21
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
status110/sonic-mgmt
95f73502c602902c01c985f0639a2dcad2826d03
ffb090240cfbffdaa2079ee8d5a564902e21858a
refs/heads/master
2023-01-13T10:12:52.177961
2020-11-12T04:18:38
2020-11-12T04:18:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,099
py
import logging import pytest import time from datetime import datetime from tests.ptf_runner import ptf_runner from tests.common.helpers.assertions import pytest_assert from tests.common import config_reload pytestmark = [ pytest.mark.topology('t1') ] logger = logging.getLogger(__name__) def collect_info(dutho...
[ "noreply@github.com" ]
status110.noreply@github.com
707a213f89027967bfe6dc6de5d54cf13c27992e
8d0af4af7a9b746c7fb81ef800965437c1c6cf1c
/nets/ResCNN.py
3b95e1b8141645a681214fe4e007506300b6337d
[]
no_license
1069066484/NInRow
abcee034b81d6f2526ab6b4fa99a8f7726fd805f
863902fbb47e507a6c7ebdebb19376ebc80daf8d
refs/heads/master
2022-08-26T13:46:55.211522
2022-08-03T02:21:17
2022-08-03T02:21:17
190,905,699
0
0
null
null
null
null
UTF-8
Python
false
false
10,773
py
""" @Author: Zhixin Ling @Description: A general and flexible CNN model. """ import tensorflow as tf import tensorflow.contrib.slim as slim from tensorflow.python.ops import control_flow_ops from tensorflow.python import debug as tf_debug import numpy as np from sklearn.metrics import * from data_utils import * from g...
[ "1069066484@qq.com" ]
1069066484@qq.com
100a8d656e1a683ea0523ab5c362765c2fc4dabc
0de6c4d7492d69304e71887c50890f35a55acbf0
/ORF-0.99.py
2a28fe3fad3ecf550ded586c9f998b5ea98aad67
[]
no_license
Omaramin81297/ORF-finder-translator
8539fc9ec883e8c2815f94deb94a7dee7ded23f9
4bb5e873f843dd6eb5f415f99c2c11dffed9f043
refs/heads/master
2020-09-21T06:15:49.936958
2019-11-28T18:57:07
2019-11-28T18:57:07
224,706,933
1
0
null
null
null
null
UTF-8
Python
false
false
30,175
py
import re # We print a welcome message, explaining the usage of this tool and its outcome and how do we choose from the choices given. print('''Welcome to the ORF finder & DNA translator tool. this will help you find all possible open reading frames and predicting their protein sequence. The result of this progra...
[ "noreply@github.com" ]
Omaramin81297.noreply@github.com
cf77b87e3e07bb149533bb8be1fcbed9593f35ef
552976e9ff2d7836c5ec7965950fb80ad78ba831
/firstpygame.py
293fb9c727a65bfb2274d5b6de3ffccdcd6b5965
[]
no_license
mickey2798/pygame
4312ab8975a2787814e1ca969190535d63ca038f
ffacb3a07e72e3a9c6ea9f1c6a159c5247c81718
refs/heads/master
2020-06-29T18:05:22.522241
2019-08-05T05:31:55
2019-08-05T05:31:55
200,587,202
0
1
null
2019-10-21T20:17:51
2019-08-05T05:20:17
Python
UTF-8
Python
false
false
6,861
py
import pygame import time import random pygame.init() #Instantiate all the module in pygame. crash_sound = pygame.mixer.Sound("Crash.wav") pygame.mixer.music.load("Race_Car.wav") display_width = 800 #width of the window display_height = 500 #height of the window black = (0,0,0) white = (255,255,255)...
[ "noreply@github.com" ]
mickey2798.noreply@github.com
1990d0596ab619757836e2881680fcfddc198492
f441d86d1de8e1d75057f5c8c92ae012c2e35b92
/GEOS_Util/coupled_diagnostics/verification/HadISST/enso_plots.py
289e5c5a87261cc0ff512d2e37a3b92c8396b323
[]
no_license
ddlddl58/GMAO_Shared
95f992e12b926cf9ec98163d6c62bac78e754efa
e16ddde5c8fab83429d312f5cff43643d9f84c94
refs/heads/master
2021-05-20T20:46:26.035810
2020-04-01T20:32:10
2020-04-01T20:32:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
import os, pickle import matplotlib.pyplot as pl import matplotlib.dates as mdates import scipy as sp from mpl_toolkits.basemap.cm import sstanom from my_lib import plotters dsetname='HadISST' varname='sst' path=os.environ['NOBACKUP']+'/verification/'+dsetname indfile=path+'/data/'+varname+'_pc1.dat' indpic=path+'/pic...
[ "yury.v.vikhliaev@nasa.gov" ]
yury.v.vikhliaev@nasa.gov
a4250f787cf24fcae3b3e2b83b946e3b4e12fff5
d77104b7bf6c1f955710cd432d1c3f3088763180
/Term2/Session 18/1-regex.py
82d12492c20476f4e7a348f852282101fbd47dcb
[ "MIT" ]
permissive
theseana/apondaone
51d3f6887f029535ec6cb71afcab1a876c3655ba
7cbf3572a86c73220329804fee1f3d03842ae902
refs/heads/main
2023-03-17T22:32:45.546061
2021-03-08T15:34:40
2021-03-08T15:34:40
303,436,958
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
import re import requests from myFUnction import download_image url = "https://bama.ir/car/ssang-yong/actyon" site_data = requests.get(url) images_link = re.findall('<img src=\"(.+\.png)"', site_data.text) for link in images_link: download_image(link)
[ "info@poulstar.com" ]
info@poulstar.com
6459dde0ebd78814634cd97b178ebb5603a4fdca
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02911/s420554588.py
6c9a8426c8167fb4419c378a6a8f264c8e0fad7f
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
import math import collections import itertools def resolve(): N,K,Q=map(int,input().split()) A=[0]*Q Aans=[0]*N for i in range(Q): A[i]=int(input()) Aans[A[i]-1]+=1 for i in range(N): if(0>=K-Q+(Aans[i])): print("No") else: print("Yes"...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
bdd3c7e8e6514e559516ca85c27d3d7345152a4a
9c41041b4946b90164f27fee532dfca228f947dd
/script/local_get.py
9951527129e28c79a63daf5bcb549697ea614dff
[]
no_license
qiwei94/tcp_wan_test
164aaf33ab0130a30c2c251fea99243e266a8616
fd7354fa77d45be78d0510bc88ddb64a8e3dbf86
refs/heads/master
2020-03-14T10:11:49.309348
2018-05-05T06:04:13
2018-05-05T06:04:13
131,561,000
0
1
null
null
null
null
UTF-8
Python
false
false
340
py
#!/usr/bin/env python # TCP-Client import socket import sys import threading import time from multiprocessing import Process sk_obj=socket.socket(socket.AF_INET,socket.SOCK_STREAM) sk_obj.connect(('127.0.0.1',8001)) while True: data = sk_obj.recv(8096) print 'Server send information : %s' % data.decode('utf-...
[ "qiweizhang8523@gmail.com" ]
qiweizhang8523@gmail.com
c74ae9036ab04c6041e27b5582f39fdd95f30a36
43fa11ba35c2df0c7a144e282fa9cdf105153c1e
/rgw/v1/utils/utils.py
d6f4dd1fe0c9e87e7f09bb93a599faac36f672e0
[]
no_license
sidhant-agrawal/ceph-qe-scripts
d11451c771617d8776a075fcac8dd3a25f8319d6
729541d1d9f996015d9374178836cfca366e906c
refs/heads/master
2020-05-30T20:12:28.090434
2019-03-06T05:44:13
2019-03-06T05:44:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,414
py
import os import hashlib import subprocess import log import json from random import randint import ConfigParser import yaml def exec_shell_cmd(command): try: print('executing command: %s' % command) variable = subprocess.Popen(command, stdout=subprocess.PIPE, shell=True) v = variable.st...
[ "rgowdege@redhat.com" ]
rgowdege@redhat.com
4165714b6915a4d0588888e11735294fe601d2ab
899d17821348c0dad9ef98a25828df0edeabbccc
/b64_to_raw.py
e1459cd841c2391375212a47684a6e5030cd8045
[ "BSD-3-Clause" ]
permissive
tstellanova/px4flow_bsp
35302ebf9a62a26c6e4cf66586e66f9b9a7b3285
751151cb0c826148013b0709e7a246a9d9ca774d
refs/heads/trunk
2022-12-18T11:57:50.922431
2020-09-30T23:11:38
2020-09-30T23:11:38
276,243,760
5
0
BSD-3-Clause
2020-09-16T16:32:16
2020-07-01T01:06:37
Rust
UTF-8
Python
false
false
409
py
#!/usr/bin/env python import base64 # this simple python script converts base64-encoded # pixel values to raw binary values in order to create a RAW image file. # This was used for verifying pixel transfer from the camera sensor with open('sessions/out18.b64', 'r') as input: data = input.read() decoded = base...
[ "tstellanova@users.noreply.github.com" ]
tstellanova@users.noreply.github.com
0d69e287559d424fa5af284dac9aa10f43cfe0e6
ae48c2a1fa0c4776ec2cc79281cd3ebb9ade0c4d
/site/solutions/DMOJ/cco15p2.py
fd2d3a98ceb050b352540d4251cf518de9537edc
[]
no_license
shunr/cbcs-docs
c9cac20de9624fcfaed7a753a28c91993909d830
42b065fa6f8d80c50ae9d724d8d777b2a41df7d6
refs/heads/master
2021-01-23T00:56:44.540801
2017-09-23T01:48:32
2017-09-23T01:48:32
92,857,947
1
2
null
2017-09-23T01:48:33
2017-05-30T17:19:43
HTML
UTF-8
Python
false
false
664
py
import sys from collections import defaultdict input = sys.stdin.readline n, m = (int(i) for i in input().split()) graph = defaultdict(list) weights = {} dp = [[0 for i in range(300000)] for j in range(18)] for i in range(m): a, b, c = (int(i) for i in input().split()) graph[b].append(a) weights[(a,b)] = c d...
[ "shunyu.rao@gmail.com" ]
shunyu.rao@gmail.com
e0f7c9c4ff181962b241cec1ff3ce7014bc8570c
b04aa637ae8a53276eed9f4d40b17f41101d9c7f
/Scripts/plot_ProfileVar_Monthly_100yrPeriods.py
02d599d64023bc68467e98c53064020719153a4e
[ "MIT" ]
permissive
zmlabe/StratoVari
a442adef7eef3a4ade0fa87e5d49ac382287307f
c5549f54482a2b05e89bded3e3b0b3c9faa686f3
refs/heads/master
2021-06-18T06:21:04.291186
2021-04-01T16:37:24
2021-04-01T16:37:24
193,129,384
5
2
null
null
null
null
UTF-8
Python
false
false
10,727
py
""" Plot vertical plots of PAMIP data for each month from November to April using the ensemble mean (300) Notes ----- Author : Zachary Labe Date : 26 June 2019 """ ### Import modules import numpy as np import matplotlib.pyplot as plt import datetime import read_MonthlyData as MO import calc_Utilities as UT ...
[ "zlabe@uci.edu" ]
zlabe@uci.edu
4063bad361a03430b9a15ee1a4e4821c7c13571b
6126167b27ebde0f967b275f9910ba6df0c136b3
/Bulk_Data/Model38/model38_fit.py
6a0b47a4193e3667cef98440a727c2f747844172
[]
no_license
giannamars/Effective-Soil-Biogeochemial-Modeling
e8651edfbee42a05199ffe64c2155c4c085095a4
e1b81639b8d6ce6f5f869b04d93bcbada8d0f96f
refs/heads/master
2020-04-05T11:53:11.235389
2019-06-14T00:53:20
2019-06-14T00:53:20
156,848,787
3
0
null
null
null
null
UTF-8
Python
false
false
3,787
py
from SloppyCell.ReactionNetworks import * import PECCAT_experiment import numpy as np import scipy ## Read model from SBML file model_net = IO.from_SBML_file('PECCAT38.xml', 'base') ## define bulk measurements model_net.add_species('cmic', 'compartmentOne') model_net.add_assignment_rule('cmic', 'x_1 + x_2 + x_3') # m...
[ "noreply@github.com" ]
giannamars.noreply@github.com
da5f19cab45a1557ca472a71e56dff461cc74bb2
335e342ee2b1f3518adbe3db2c102dab9c78fe54
/test_grasshopper.py
00695a63522ad2cc9f69592af12b69faf99c6935
[ "MIT" ]
permissive
akarnoski/code-katas
070d877a196e82655ed385a447b64d3f49e9ec52
c90c51780174110d6292b57248b77723db6ad6ac
refs/heads/master
2021-09-03T05:22:11.298649
2018-01-05T23:24:01
2018-01-05T23:24:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
"""Test the damage function.""" import pytest def test_combat(): """test the nth_even function.""" from grasshopper import combat test_value = combat(100, 5) assert test_value == 95
[ "adrienne.j.karnoski@gmail.com" ]
adrienne.j.karnoski@gmail.com
bdad9e2df78fc3a6cd7db2113cebb1c2f1d82c73
161e10d2d45e32b4066ef3c76dbb473a6b967191
/realtors/models.py
3934a4cc5a393d429f275b7de5ab1dfa216c1e61
[]
no_license
ben-muhindi/Real-Estate
0603544c1b8ec365464da02d9cb65ba3d7be1993
3232023fbc9b549148d1be4f5a369342bc2ed9bf
refs/heads/master
2023-03-12T14:06:43.619336
2021-03-05T07:55:09
2021-03-05T07:55:09
287,584,923
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
from django.db import models from datetime import datetime class Realtor(models.Model): name=models.CharField(max_length=200) photo =models.ImageField(upload_to='photos/%Y/%m/%d/') description=models.TextField(blank=True) phone=models.CharField(max_length=200) email=models.CharField(max_length=50) ...
[ "skyriters@gmail.com" ]
skyriters@gmail.com
4da065e4715df88040221f0545d1cada489aae59
8fd5dadf6545ab7ea69ec1d36f0b84baaa340563
/Model/decoder.py
619726eee0d3052b3cc15bdfe51d71db7bdbddd0
[]
no_license
MistQue/Adversarial-Autoencoder
45b386e2984500e990a5ed4295f7bcbffb089354
a66cd030e7169d31a8742ca20cac444b19c8e83a
refs/heads/master
2021-01-19T07:18:10.524417
2017-06-04T00:04:11
2017-06-04T00:04:11
87,534,766
1
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
import os import sys import numpy as np import tensorflow as tf from util import linear_layer, batch_norm, lrelu class Decoder(object): def __init__(self, layer_list): self.layer_list = layer_list self.name_scope = 'decoder' def get_variables(self): return tf.get_collection(tf.GraphKeys...
[ "krnpcs@hotmail.com" ]
krnpcs@hotmail.com
20d1eaa3378722645077004bdb9aa04769ed0a65
bb589dd3c74a8ba92e8bf79ce6e5c44a739f2236
/Week2/gcd_iter.py
e638f80f97eb1cf806caf3874983723c628501e2
[]
no_license
matyh/MITx_6.00.1x
e49dfe2eed4948ea109ce6382564a6bfcc0fae67
d98645e90bb3c5380523ea2316692879ac4dd280
refs/heads/master
2022-11-23T16:50:42.236950
2020-07-27T12:46:45
2020-07-27T12:46:45
230,529,326
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
def gcdIter(a, b): """ a, b: positive integers returns: a positive integer, the greatest common divisor of a & b. """ for i in range(min(a, b), 0, -1): if a % i == 0 and b % i == 0: return i print(gcdIter(17, 12)) print(gcdIter(9, 12))
[ "martin.hora11gmail.com" ]
martin.hora11gmail.com
30b7aa92d5f6fb49fcd342a56d4100e11b24a88a
f1eeea3dbcf6d001028a36f332609339b1e86b78
/transit_to_gif_handlers.py
dd80bb3f4b0c85943b57e8b290e98ad2a3dcb344
[]
no_license
Jungle-Bus/accra_transit_gif
f6762fd503a547cd0831c7799f31783320d9dbd8
95d5698a256f8594b5e3ff805d72a2603eed7ae2
refs/heads/master
2021-07-24T09:42:30.181886
2021-03-23T15:05:43
2021-03-23T15:05:43
108,272,294
0
1
null
2021-06-08T19:02:59
2017-10-25T13:13:25
Python
UTF-8
Python
false
false
5,330
py
# coding: utf-8 import osmium import datetime import shapely.wkb as wkblib wkbfab = osmium.geom.WKBFactory() class StopsHandler(osmium.SimpleHandler): def __init__(self): osmium.SimpleHandler.__init__(self) self.start_date = datetime.datetime.strptime("01/07/2017", "%d/%m/%Y").replace(tzinfo=dat...
[ "pascal.rhod@canaltp.fr" ]
pascal.rhod@canaltp.fr
a957cbb7dd30928e559ce8db5eff734935e055f5
68ec8d3140755c8b2d420f2bef660b75c6391cb2
/balance/urls.py
560c4485a8dd00b876f42de0de628252b028a52c
[]
no_license
omfsakib/mealmanager
69fd569e95a56f322e6e8c59b9c4fc4d542a4876
cf2a3e317d3ad89407ac94928e947afbae7d27a2
refs/heads/main
2023-05-10T03:08:29.564272
2021-05-31T14:44:49
2021-05-31T14:44:49
365,000,104
2
0
null
null
null
null
UTF-8
Python
false
false
178
py
from django.urls import path from balance.views import balance from . import views app_name = 'balance' urlpatterns = [ path('',balance.as_view(),name='balance'), ]
[ "noreply@github.com" ]
omfsakib.noreply@github.com
601cd6fe069e3927ca1d0a53cc388d309ad53182
f27522a329695fae74508b374186ba9081adb863
/ArtificialNeuralNetwork.py
669656ba1db1a960f59c733ceb6fcc5f4780ec12
[]
no_license
kennethng555/DecisionTree
242a6b7469d5d2d5b8f4cf59ada3b64172979b14
69d2a67d2d7f09e3df3e70e8c972bcf6559f0848
refs/heads/main
2023-01-20T07:03:55.840814
2020-11-28T22:48:05
2020-11-28T22:48:05
316,822,746
0
0
null
null
null
null
UTF-8
Python
false
false
2,148
py
# -*- coding: utf-8 -*- import tensorflow as tf import numpy as np import pandas as pd from sklearn.preprocessing import StandardScaler import keras from keras.models import Sequential from keras.layers import Dense from sklearn.model_selection import train_test_split def get_metrics(y, y_pred): tp,tn...
[ "noreply@github.com" ]
kennethng555.noreply@github.com
ea2c6ab46d0624a5e7a2f87f5ac7640169f8fe13
ca2f18ee97d16afe450b1ed193006757779d0ac6
/多线程处理/main2.py
ee08cb0e518c5a48e2fe749fed0e25aa1005ca93
[]
no_license
penpen456/pyqt5_test
db6cc8e1ad058d7caeb2df73b05c255a7a1ba115
57c8273ebef77988c6637cdc93440a6f500553ac
refs/heads/master
2020-06-29T09:56:48.249971
2020-01-13T10:26:33
2020-01-13T10:26:33
200,505,334
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
import sys import time import threading from PyQt5.QtWidgets import QApplication, QMainWindow from PyQt5.QtCore import QThread, pyqtSignal from usetimesleep import Ui_MainWindow class MyWindow(QMainWindow, Ui_MainWindow): def __init__(self, parent=None): super().__init__(parent) self.setupUi(self)...
[ "1553821308@qq.com" ]
1553821308@qq.com
689fb824309a4ab2169c0a15a96b15566519b11e
9c436a0361e265f22f3221d93c33340255cb1bda
/Medclapp_Final/Admin_Section/apps.py
e2a828de7ededa191f386872845b2a2393f5b3e9
[]
no_license
suryarajps/medclappCustomerAPI
b6787f339a2b996817193c093809c0d96b4e0fcf
ad1e92e36aa76651cb941a5f0a3d015b5464d5fd
refs/heads/main
2023-02-28T04:47:18.396500
2021-02-09T04:02:31
2021-02-09T04:02:31
336,484,960
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from django.apps import AppConfig class AdminSectionConfig(AppConfig): name = 'Admin_Section'
[ "surya@vozinno.com" ]
surya@vozinno.com
c0c140eb3a317927b21bec466849ee3c444182a8
7e1c2b653b8e91228579015d15266116fd2d5c12
/CV_analysis.py
90ac02d69fbfabc299947a5298926b08b07d1c10
[]
no_license
Eloviyo/Semiconductor-detector-lab-analysis
f1e7505c305ee1e02c43017fa91711c13afcf518
bf165ac68f5f3e30d330c58a451b530ddf98c03d
refs/heads/master
2022-04-24T04:34:31.601928
2020-04-27T22:39:22
2020-04-27T22:39:22
259,122,271
1
1
null
null
null
null
UTF-8
Python
false
false
3,230
py
'''This code plots the CV measurement figures from files located in the 'data' folder''' __author__ = "Shirajum Monira" import matplotlib.pyplot as plt from scipy.optimize import curve_fit import numpy as np import math import glob def straight_lines(x,a,b): #defines straight line first = a*x + b re...
[ "shirajum.monira@helsinki.fi" ]
shirajum.monira@helsinki.fi
6e0adea63df3926229b270673ba36e756fba28fd
a2e58b24f99191c209a5c5dfdc94ca44612e11af
/objective_func/tf_models/setup_cifar.py
999ae910edf867e43688c29898654642d2301bd7
[ "MIT" ]
permissive
happyxzw/BayesOpt_Attack
a74d624c89fe2cb0d1dcb9435c769a197086cb3d
cec6c4dfede2f3492d1e5cb8dd4cdacee4059f33
refs/heads/master
2022-10-19T08:55:51.653820
2020-06-14T05:14:46
2020-06-14T05:14:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,044
py
## setup_cifar.py -- cifar data and model loading code ## ## Copyright (C) 2016, Nicholas Carlini <nicholas@carlini.com>. ## ## Original copyright license follows. import tensorflow as tf import numpy as np import os import pickle import gzip import pickle import urllib.request from tensorflow.contrib.keras.api.kera...
[ "robin@robots.ox.ac.uk" ]
robin@robots.ox.ac.uk
1711c46f73e2f5cfe6d3138100ac46ed49c83bdc
22672390a8040077200f766ac3ad0bb11d78b5b3
/stuff/arp_spoof.py
4ccd3752524cff0f62d2d007c4c57e22b12b77ed
[]
no_license
shadowsax/NetworkOpen
2f469dfdf43b5f2ee039566a24c56973a6027a5a
a44bd6bf88cab9880ec2df5eaec8d3e3d7173be3
refs/heads/master
2020-05-04T19:29:29.107654
2019-04-04T20:50:34
2019-04-04T20:50:34
179,396,111
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
import scapy.all as scapy packet = scapy.ARP(op=2, pdst="192.168.2.173", hwdst="80:d6:05:1d:3f:6d", psrc="192.168.2.1")
[ "shadowsax@protonmail.com" ]
shadowsax@protonmail.com
dfefa586f24a0d17af8b85ac68f93b93cde62f5b
cec57a923feaea6de6750dab0e76fbdca6ee7349
/forelse.py
d53a4809d5424f3fa970ce970b325529b85df41d
[]
no_license
FlorentRu/Python-Programming-Developement-
ba712ea19bb572fb0490c247898a76e38442b57e
039c8942d92fbca5927ebc812c1d634bac18f35e
refs/heads/master
2021-06-27T09:07:48.073928
2020-11-17T00:44:42
2020-11-17T00:44:42
186,523,079
1
0
null
null
null
null
UTF-8
Python
false
false
428
py
for num in range(10,20): #to iterate between 10 to 20 for i in range(2,num): #to iterate on the factors of the number if num%i == 0: #to determine the first factor j=num/i #to calculate the second factor print ('%d equals %d * %d' % (num,i,j)) break #to move to the n...
[ "noreply@github.com" ]
FlorentRu.noreply@github.com
0e0d5fc4dc4af295ea7ee55998e88442fbf2274f
8c4b11d129754f4b792862abfc451f2fb598bdac
/2week.py
3567ec6587d5e3c1f339111d8a3c409046343013
[]
no_license
cpti372/Python
2b523ba655d6cf8819c1302c34c9057934313df4
5dffaf441e1c1620746806ea4122b4fd89b2ee99
refs/heads/master
2023-01-24T02:51:53.802184
2020-11-18T06:23:07
2020-11-18T06:23:07
144,700,191
0
0
null
null
null
null
UTF-8
Python
false
false
3,651
py
#107 myTup=(1,2,3) print(myTup) myTup=('this is tuple',23.21,(1,2,3)) print(myTup) myTup='소괄호 없이도 튜플',1.22,'을 만들수 잇음' print(myTup) memoryview #108 my=('a','b','c','d') print(my) print(my[1]) Tu_1=(1,2,3) print(Tu_1*2) Tu_2=(10,20,[1,2,3]) Tu_2[2][1]=4 print(Tu_2) #109 Tu_3=(1,2,3,4,5,6,7,8,9,10) tot=0 for i in Tu_...
[ "noreply@github.com" ]
cpti372.noreply@github.com
7f7882026eb8f9eccdacaed98be5b29d94c8538c
6a61ebf5eaa7731384faf62b804b715ea9f6d594
/conditional_statements_the_challenge.py
4764d2a073b9d3e981e3afb92741a8ccf2b556bf
[]
no_license
neonblueflame/wwcode-python
1afb3532fa9cdbf4a3984aa558c85abee99c808c
301789bff003c3e29b8280a3041b39e8b934e3d8
refs/heads/master
2020-06-28T03:37:39.801791
2019-08-14T11:14:28
2019-08-14T11:14:28
200,133,757
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
""" Challenge Author: Description: Aling Nena stores her soft drink stock on two refrigerators. She stores Coke, Sprite and Royal on her Sari-sari store's refrigerator while RC and 7UP can be found on her house's refrigerator. Help Aling Nena to properly respond to her customer when buying softdrinks. The reply will ...
[ "4207002+neonblueflame@users.noreply.github.com" ]
4207002+neonblueflame@users.noreply.github.com
fce993d8920b28df3ac58d79bdd0e33f3a657784
38038eef797c36cfc5a1a8514f7befbf0258a6b3
/agents/LAG/8400/lag_health_monitor.2.0.py
ccdbfc955b156801e7817cb7f7ac4c206da1f144
[ "Apache-2.0" ]
permissive
nishanthprakash-hpe/nae-scripts
7dcb20c44cfa600fc55918d27345a26c7af0c553
bf14e5155308683d59e7a95d21436a767d9132a8
refs/heads/master
2020-03-23T20:40:14.851409
2018-07-24T02:07:14
2018-07-24T02:07:14
142,054,671
0
0
Apache-2.0
2018-07-23T18:40:13
2018-07-23T18:40:12
null
UTF-8
Python
false
false
7,953
py
# -*- coding: utf-8 -*- # # Copyright (c) 2018 Hewlett Packard Enterprise Development LP # # 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 # # Unl...
[ "nishanth.prakash@hpe.com" ]
nishanth.prakash@hpe.com
27c3f2d7d17692197f2710282816e3a9c39e727d
1082cee55e32fa76859666aa011428bf979182ea
/pose/configs/animal/hrnet/horse10/hrnet_w32_horse10_256x256-split2.py
5de3a1afca5c8fe0426d03c24c6ee4857fc01faf
[ "Apache-2.0", "MIT" ]
permissive
cvsch/HRFormer
f7a96d8620f87986cf10c74fe4f47d5b7106d732
9e6ce958ba502354dff748846d6d98f682f5f9d1
refs/heads/main
2023-08-20T21:29:51.448485
2021-10-19T01:20:02
2021-10-19T01:20:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,689
py
log_level = 'INFO' load_from = None resume_from = None dist_params = dict(backend='nccl') workflow = [('train', 1)] checkpoint_config = dict(interval=5, create_symlink=False) evaluation = dict(interval=10, metric='PCK', key_indicator='PCK') optimizer = dict( type='Adam', lr=5e-4, ) optimizer_config = dict(grad...
[ "yhyuan@pku.edu.cn" ]
yhyuan@pku.edu.cn
2e0211444ca61afc307df3356ddf5852e08e9341
62c9415d11605c6b4b5fb5b527138a3c693f4cd4
/code.py
d9e5d76da570fe49be9e7d79b1e346c7fe24f4ca
[ "MIT" ]
permissive
Azharuddin14/domain-classification-text
30e212186f79a47d390fd7eedbda6e052ed27895
7cac3f8031781439f3e749f12ec0fd041ba4704a
refs/heads/master
2022-12-07T18:03:56.990663
2020-09-07T06:50:45
2020-09-07T06:50:45
293,445,735
0
0
null
null
null
null
UTF-8
Python
false
false
7,065
py
# -------------- import pandas as pd import os import numpy as np import warnings warnings.filterwarnings("ignore") # path_train : location of test file # Code starts here #Loading data df = pd.read_csv(path_train) print(df.head()) #Function to create new column def label_race (row): if row['foo...
[ "Azharuddin14@users.noreply.github.com" ]
Azharuddin14@users.noreply.github.com
f92ed0c62fdc28da985503e7660f91196db17a1b
5fa0d9913d02e3712c60614a581c4d979b92d6f4
/esp32_wroom/fastLED/fastLED_7.py
d4ab1adae33ddad5914bdda57eb8139a0c57abab
[]
no_license
bvhest/IoT-01_Playground
865c15b8221c717761a07c34944231c70cf4990c
8ef29f577f90e97af740ad0a7040948e8d617050
refs/heads/master
2020-05-19T21:48:38.689177
2019-06-25T20:12:12
2019-06-25T20:12:12
185,233,822
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
import machine, time, stm # (blue) on-board LED: led = machine.Pin(2, machine.Pin.OUT) N = 100000 # LED direct aan en uit zetten obv functie # mét voorgeladen functie-aanroepen # én 'uitgeschreven' loop # én compiler directive om native machine code te genereren. @micropython.native def blink_preload_unrolled8...
[ "hestbv@gmail.com" ]
hestbv@gmail.com
c269d84d1b1f238b273350a6705d59ed13399793
ae2812cd2824383705c3132e10db37ab453d0ce9
/src/agazebo/scripts/pan_and_tilt_turn.py
dfa6a935778a488caa7745ea406b89bf66ca7938
[]
no_license
RBaldanzini/TiltRoboPan
fa978d0eb33677061b8f7159a1195dde91bfad2c
6df0bc415e5ff5f04aa540408dab88cb29553901
refs/heads/main
2023-05-28T03:30:43.874285
2021-06-18T21:47:45
2021-06-18T21:47:45
378,255,180
0
0
null
2021-06-18T21:47:45
2021-06-18T20:10:05
Python
UTF-8
Python
false
false
5,196
py
#!/usr/bin/python import rospy import math import time from std_msgs.msg import Float64 from geometry_msgs.msg import Point from geometry_msgs.msg import Twist from std_msgs.msg import Bool r_wheel = 0.06 # # def pan_and_tilt_search(self): # # """ # Topic Publisher # """ # while not rospy.is_shutdow...
[ "baldanzinirenato@gmail.com" ]
baldanzinirenato@gmail.com
7f60cafb6d78687117fb140a44791d72b45d5b8a
d2b51467e5dcfe9eeabbf2aa6c450baa0301ca9d
/usertracking/urls.py
89dd70e5bf02c856af9de3b8ca0e51456a6f3bc9
[]
no_license
humbhenri/usertracking_django
bc95ddbb52cd60c5949c623c7858876d338b0237
e883955dcc4594a6e02b98cc834a411db4770f7d
refs/heads/master
2021-01-23T07:03:31.989728
2014-12-23T01:15:39
2014-12-23T01:15:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', # Examples: # url(r'^$', 'usertracking.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)), url(r'^userapp/', include('userapp.ur...
[ "humbhenri@gmail.com" ]
humbhenri@gmail.com
fcb36c510c8b2b34d0e1b7a9bd455d161fdc4d7d
51f68500c156042b8dc900e5e574cb0ae03bafd8
/jaso_hello.py
4a73260a273746b2ad0d58178d3fd3854b5951bf
[]
no_license
JSoyinka/GithubAzureGuide
4e4ae9b9c19d1928621dbabe85148f2750020069
c7604f02841e5ac7a2de46bce0c93e231a97f8a3
refs/heads/master
2021-06-20T18:27:34.281723
2019-08-16T23:51:18
2019-08-16T23:51:18
194,110,847
0
1
null
2021-06-10T23:36:38
2019-06-27T14:30:55
JavaScript
UTF-8
Python
false
false
278
py
import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 20, 100) # Create a list of evenly-spaced numbers over the range plt.plot(x, np.sin(x)) # Plot the sine of each x point plt.show() # Display the plot msg = "Hello world" print(msg)
[ "t-jaso@microsoft.com" ]
t-jaso@microsoft.com
05d4acaf0415301b70a2b2281ba345868861f33c
632dcb4e37cadd87cb7ff8715b0048df5cd0d11b
/CompuCell3D/core/Demos/BookChapterDemos_ComputationalMethodsInCellBiology/cellsorting/Simulation/cellsortingSteppables.py
1552917cd841bd0d99c7773c8f864b12590c4435
[ "MIT" ]
permissive
CompuCell3D/CompuCell3D
df638e3bdc96f84b273978fb479842d071de4a83
65a65eaa693a6d2b3aab303f9b41e71819f4eed4
refs/heads/master
2023-08-26T05:22:52.183485
2023-08-19T17:13:19
2023-08-19T17:13:19
12,253,945
51
41
null
2023-08-27T16:36:14
2013-08-20T20:53:07
C++
UTF-8
Python
false
false
524
py
from cc3d.core.PySteppables import * class CellSortingSteppable(SteppableBasePy): def __init__(self, frequency=10): SteppableBasePy.__init__(self, frequency) def start(self): # any code in the start function runs before MCS=0 pass def step(self, mcs): # type here the cod...
[ "maciekswat@gmail.com" ]
maciekswat@gmail.com
b70c06650c879742828e6579365f7880481ebc1d
71892c14e8029130056b7cb33c4d5edba85c4ba7
/2019/2/part2.py
05f63f2b33f900ad61f79dd5384599629eebc8bd
[]
no_license
Clearyoi/adventofcode
960902d1c1a7ee4894b64273dc7d27a35d3461f6
0959f66df0cdfbcd31498ff4ac036298aa63b332
refs/heads/master
2021-07-12T01:41:32.188061
2020-12-14T13:04:14
2020-12-14T13:04:14
225,496,204
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
import sys def run_comp(noun, verb): mem = [int(x) for x in open("input.txt").read().strip().split(',')] mem[1] = noun mem[2] = verb i = 0 while mem[i]: if mem[i] == 99: return mem[0] elif mem[i] == 1: mem[mem[i+3]] = mem[mem[i+1]] + mem[mem[i+2]] elif mem[i] == 2: mem[mem[i+3]] = mem[mem[i+1]] * ...
[ "clearyoi@tcd.ie" ]
clearyoi@tcd.ie
f96566b7f51d80a388074bf74e5f9a0d52dfe150
3d25b307a56f9cb437a81615e3bd0e6fde195005
/app/app/settings.py
237c13baad0f8f0fd4bb00437c53dcfd0d3d0e28
[ "MIT" ]
permissive
abu271/drf_recipe
ae6c9a115f4da23dd2e01573d2af73f5e5e109d5
4902572e59ecc8c7de1e58e263213ba2e4c996bd
refs/heads/master
2023-02-28T13:02:10.291428
2021-02-04T00:18:51
2021-02-04T00:18:51
287,782,841
0
0
null
null
null
null
UTF-8
Python
false
false
3,479
py
""" Django settings for app project. Generated by 'django-admin startproject' using Django 3.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib impor...
[ "abudarda166@gmail.com" ]
abudarda166@gmail.com
23dccdc3c63a1b7f21c7f9809367669ea45dd9b7
51c5c7c9250d8bff33d3b775c29fe2ec2e653438
/GameTickTack.py
c392bfa933537cf8ae0777c430e0aab625c2842a
[]
no_license
rohitbansal83/Python3
cbfe8f987d2b6f27a788fffdf0be5a6c865c4110
002cf74d176c9a410803dfd58f24f4e8eeb9d6ac
refs/heads/master
2020-03-19T09:01:23.017858
2018-06-06T02:03:42
2018-06-06T02:03:42
136,253,887
0
0
null
null
null
null
UTF-8
Python
false
false
2,241
py
def selectplayer(): symbol = input("Please Select X or O for Player 1: ") global d if (symbol =='X' ): d = {'X':'P1','O':'P2','P1':'X','P2':'O'} else: d = {'X':'P2','O':'P1','P1':'O','P2':'X'} def isgamewon(): global b global d for x in range(3): if b[0][x] == b[1][x] == b[2][x] and b[0][x]!='E': retu...
[ "rohitbansal83@gmail.com" ]
rohitbansal83@gmail.com
abbfffaaa576afa02143457a207b4667225aa4ac
066e503dec4934d6a528a3e80fbf842663af2b9f
/algorithms/shortest_paths/beam.py
d94911fa4e3614856753a04a0682b35aa337e034
[]
no_license
rirolli/Homework
3559212d12f69be8541a0f169bc94de7f9156911
c021fcc617ada0a0cc461c9e6c317d9bd6afb1af
refs/heads/master
2021-05-26T04:05:23.120032
2020-04-10T21:24:33
2020-04-10T21:24:33
254,045,765
0
0
null
null
null
null
UTF-8
Python
false
false
3,596
py
# beamsearch.py - breadth-first search with limited queueing # # Copyright 2016-2019 NetworkX developers. # # This file is part of NetworkX. # # NetworkX is distributed under a BSD license; see LICENSE.txt for more # information. """Basic algorithms for breadth-first searching the nodes of a graph.""" import networkx ...
[ "riccardo.ung@outlook.it" ]
riccardo.ung@outlook.it
425f7013d61631a6802b53c0435d6554e5d5152d
df620e718bfdf78497c9bddcbdcbc290dc6e13f1
/chassis/hptr_freecad.py
31291f44ad168b43e9a953ec554e9670270e31ae
[ "MIT" ]
permissive
UAF-SuperDARN-OPS/SuperDARN_Transmitter
156ff3854f45304c68cfbcbcc4be9f1ba1cf9d58
9f84401ca4723f55f4b7568e4d191f6ffcef3c09
refs/heads/master
2018-12-20T18:32:08.228770
2018-09-18T17:49:37
2018-09-18T17:49:37
15,055,287
0
1
null
null
null
null
UTF-8
Python
false
false
2,661
py
# python script to generate transmitter plate # using freecad scripting import sys sys.path.append('/usr/lib/freecad') from FreeCAD import Base import Part import pdb XIDX = 0 YIDX = 1 ZIDX = 2 # units in inches.. #origin at lower left corner of plate # / height # |-----| # | |width # X-----| # length I...
[ "jtklein@alaska.edu" ]
jtklein@alaska.edu
9fda1a33b05de313c29b969f23ddb11187a608ef
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/ETFMM_K/YW_ETFMM_SHXJ_037_K.py
6cafe2a50769ad870d3f93965281ee3afa7ef5a5
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from log import * sys.path.append("/home/yhl2/workspace/xtp_test/mys...
[ "418033945@qq.com" ]
418033945@qq.com
54521e4ec1133558c781759b21b0d92694377dd1
815a3dd3d3c84c6baf9f49b9a9fb5c125584d5e7
/2nd year/IA/lab6-EVAL-ML/main.py
b521d38687beeaa986ef43ad34e1ab5219ee5453
[]
no_license
Tonissonn/college-ubb-labs
c97bbbe48adbcbfe9b8a0bbfc77149c0535411d6
87b05fc4033868d1e9d3553e001f0ef821016b1f
refs/heads/main
2023-08-01T01:49:03.656923
2021-09-13T11:48:46
2021-09-13T11:48:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,243
py
from math import log def prediction_error(real_outputs, computed_outputs): from math import sqrt return sqrt(sum([x ** 2 for x in [sqrt(sum((real - computed) ** 2 for real, computed in zip(real_outputs[i], computed_outputs[i])) / len(real_outputs[i])) for i in ...
[ "radu_vintila20@yahoo.com" ]
radu_vintila20@yahoo.com
ad7b3f0e40711a9ff2d2a74e6224f2657ac0416a
8a3fa4fc5bcf61b107db9c9de25f7e41f261cc05
/pwn/blacklist/soln/sploit.py
f8bf79fbfb6cb55d33e726533b93b6ea705b6559
[ "CC-BY-4.0", "MIT" ]
permissive
nghialuffy/pbctf-2020-challs
bde7ea47de1488b0509a64f7b0fff2297ced7e04
a2bea96ee80c256ed4a0a8d2dad263b346ddbf0a
refs/heads/master
2023-01-31T02:38:50.242870
2020-12-16T17:27:46
2020-12-16T17:27:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,306
py
# CTF: playtesting for theKidOfAcrania # Task: Hard ROP # Exploit-By: braindead <braindeaded@protonmail.com> from pwn import * import gadgets as g import linux from collections import defaultdict, namedtuple import shlex sc = linux.syscalls(mode='_32') deflabel = namedtuple('deflabel', ['name']) pad_to = namedtuple(...
[ "sampritipanda@outlook.com" ]
sampritipanda@outlook.com
4e2d4d03f74582bc290b043e3f4267c4fa3cc589
1b38e2a313204b757496eaf6bf28770db8dd39db
/app/views.py
16a7676882d0aba0023b9d6ba833d7fa03ea5d1a
[]
no_license
araujooj/transaction-api-django
4b10a3184f3c1f8a82a0500a142ac036f09abe7d
de40c1328223fc01b4028b4219ac831acc82a08b
refs/heads/master
2023-02-21T16:29:31.194071
2021-01-27T12:30:20
2021-01-27T12:30:20
333,413,770
0
0
null
null
null
null
UTF-8
Python
false
false
2,140
py
from rest_framework.response import Response from rest_framework import status from rest_framework.views import APIView from rest_framework.exceptions import NotFound from app.models import Transaction from app.serializers import TransactionSerializer from functools import reduce class TransactionListAndCreate(APIVie...
[ "gabriel@kenzie.com.br" ]
gabriel@kenzie.com.br
57f2d53fece733ed42ba3a2d06d8663a6e9019ed
e3013ce104d6c3188d51e7da5c14f455d0de8825
/algorithms/sort/02_QuickSort.py
b2f6c2fe6b746126686177583a7848381bdaf421
[]
no_license
whztt07/LearningNotes
73c9ea22a3d4efee0b2f1b508a2b5a5589aa5c22
250a5e1d094e57e7fd36fa244d0fdd985083ea28
refs/heads/master
2020-05-31T14:51:25.672031
2018-09-18T08:10:50
2018-09-18T08:10:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
def quicksort(seq): if len(seq)<=1: return seq pivot = seq[0] lseq = [seq[i] for i in xrange(1,len(seq)) if seq[i]<pivot] rseq = [seq[i] for i in xrange(1,len(seq)) if seq[i]>=pivot] lseq = quicksort(lseq) rseq = quicksort(rseq) seq = lseq+[pivot]+rseq return seq seq = [2,7,1,0,8,4,6] print quicksort(seq)
[ "yucicheung@gmail.com" ]
yucicheung@gmail.com
0026db84ebcfa42870b8b26a69006d371809c47b
83c630867d539e33d770e2a0b31e9c5094965ee4
/py/AllBoxxProduct.py
7089e545dad7c6b557b580b3cae95344e30a8a2d
[]
no_license
max-toth/allboxx-crawler
7a805f01ef45dfa572ac4cd760d0371a815c2a5e
effc1b069d204e64ad9a46b8260bbf1718041da2
refs/heads/master
2021-05-27T13:38:29.584139
2014-08-12T10:40:36
2014-08-12T10:40:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
import threading import time import AllBoxxParser import AllBoxxSingleton import OnlyOne exitFlag = 0 rows = 17865 class bcolors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' class myThread (threading.Thread): def __...
[ "maxim.v.tolstyh@gmail.com" ]
maxim.v.tolstyh@gmail.com
40d3c003cfd438165197d7f4ef2e0e96c543d6e1
a62eea622d7fa0486e30155020fa77addc8cec64
/e-nose-cnn/cnndw.py
e310e0b1f8adc7581ca7ca569897dfdb6305d5b6
[]
no_license
19120332843/learning_python
42004a1921101dc6bb4c1fee2f0455c9f0ceea7e
5f26942ccafb49cc08d348e2360711e842bfa8e6
refs/heads/master
2022-11-07T06:38:36.296724
2020-06-29T14:06:23
2020-06-29T14:06:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,545
py
# -*- coding:utf-8 -*- import pandas as pd import torch import numpy as np import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torch.nn.init as init from torch.autograd import Variable import os import sklearn from sklearn.model_selection import train_test_split def Normlize(Z): ...
[ "1345238761@qq.com" ]
1345238761@qq.com
45fd8141325bc59f611d12b4c37c99c4121032cd
bc5fb02217c23cf169537dd8c64b096d2c0a972f
/test/practise_python/test_TicTakToe.py
09620e432f81ec84087fd5cd597bd1ea42d8b977
[]
no_license
BasilBibi/PY-scratch
c554b60f900b8e28968c06183739e51af1a92c18
cb176a284eef8b0db5ac291130fd9fb91d4537d1
refs/heads/develop
2021-04-15T07:15:29.894804
2020-04-08T12:01:12
2020-04-08T12:01:12
126,475,452
1
1
null
2019-10-23T12:47:44
2018-03-23T11:21:30
Python
UTF-8
Python
false
false
4,393
py
import unittest from py_scratch.practise_python.GameBoard import TicTakToe, RowPopulation, ColPopulation, DiagPopulation def make_board(size, init_char): b = [] for i in range(size): b.append([init_char] * size) return b class TicTakToeTests(unittest.TestCase): def test_cons(self): ...
[ "basilbibi@hotmail.com" ]
basilbibi@hotmail.com
0304c5bfcd97ee77e26583fa65be39ff4d649d93
742c8ac2b1e5283b8a9a073b2bf01407c7a07e6d
/Lesson_8.py
8ed30c165856d8885c5cfa040510ba80fa5a58de
[]
no_license
MORVf/Lessons_python_part2
993c24a2664e5e552f61a7dcc766700d16557abb
721292862254019dad95a28e2a0a2765d711d4fb
refs/heads/main
2023-03-07T15:50:05.288100
2021-02-24T17:23:05
2021-02-24T17:23:05
318,802,528
0
0
null
null
null
null
UTF-8
Python
false
false
2,123
py
''' Реализуйте структуру данных, представляющую собой расширенную структуру стек. Необходимо поддерживать добавление элемента на вершину стека, удаление с вершины стека, и необходимо поддерживать операции сложения, вычитания, умножения и целочисленного деления. Операция сложения на стеке определяется следующим образом...
[ "noreply@github.com" ]
MORVf.noreply@github.com
732f3c012d3c55f5169589f6bf9402b43988c1e0
735571ceed8be69d4b182561ba597fa5ff66c10e
/Par. 1/codes/eSquared.py
dd2321784c602aea5da9f04db935ac8fc67f127e
[]
no_license
Kaladin12/numerical_methods_winterTerm_2020
1dd7a355a2cb0ce01c7c783cf29664863d355670
7685aa5f0db7218bb95b91b94a7e100bbb3e7d40
refs/heads/master
2023-02-17T22:26:10.896907
2021-01-20T04:35:34
2021-01-20T04:35:34
304,725,568
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
import math x = 1 n = 1000 S = 0 for k in range(n): S += ((2*x)**(k))/(math.factorial(k)) print('Valor real: ', (math.e)**2) print('Itearciones :', n) print('Aprocimación: ', S, 'con un error de ', (math.e)**2 - S)
[ "eliancruz998@gmail.com" ]
eliancruz998@gmail.com
eac348a53210fd8d9c0982f727958bca046b69ca
b1b7e9427874de5d7b1f949a85d7fa047b160433
/jobApp/form.py
46005a5ab61d519b1e44e86436a063b8d9049c2b
[]
no_license
sirox548/ICIMS_JOBAPP
0d6d1d425585aa3799bcbb9c8eede5a61b66fa8e
b1a7d2915c6d5f76f1e722b68498959b5f005a72
refs/heads/main
2023-02-22T13:44:32.552325
2021-01-24T16:11:58
2021-01-24T16:11:58
326,033,122
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
from django.forms import ModelForm from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django import forms from .models import Employer, Candidate class CreateUserForm(UserCreationForm): class Meta: model = User fields = ['first_name', 'last_name...
[ "55093250+sirox548@users.noreply.github.com" ]
55093250+sirox548@users.noreply.github.com
4165bc48b340d4d2f4bc37bbefc8be9e8c6c2c7e
4c1084cbad23aab949ad733dc0f686ec0e62a37d
/MotionStuff/keyboard.py
75aa956d084d90a5868a08ec9ee5cdf4a9af23a9
[]
no_license
avarchy/Leap-Motion-Experiments
1c31675f0640429a268d50a580bb47e11a72fc35
869b7e68d4b3e77dc26508ed4226745bc3bbb86c
refs/heads/master
2016-09-05T11:21:30.368073
2015-01-10T00:03:21
2015-01-10T00:03:21
26,896,309
0
0
null
null
null
null
UTF-8
Python
false
false
7,153
py
# Adithya Venkatesan # # keyboard # need to work on getting key presses to work # from Tkinter import * from sys import exit import math import Leap, sys from Leap import CircleGesture, KeyTapGesture, ScreenTapGesture, SwipeGesture w,h= 975,400 x,y,dx,dy=100,100,199,199 fingdisplist = [] scaling = 3.0 def quit(evnt...
[ "avarchy@gmail.com" ]
avarchy@gmail.com
0f5ac101c37ad80b6a39382e13fbe8f1b43422d3
2332aa3eddd8b0acada5197b98afa5068a653dfd
/test/utils/test_crud.py
5bea2484670a32d7a996610eddeab43f8bb3c021
[]
no_license
Rottab/currency-converter-cli
a60b92d7cd9a355db0630c8cf56d1414c9e0638b
2391f58da9e134c583faef49c94ac492bfef4095
refs/heads/main
2022-12-24T06:36:45.603672
2020-10-04T10:00:20
2020-10-04T10:00:20
300,434,280
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
from currency_converter_cli.utils.crud import * import pytest def test_rates_from_json(): pass
[ "mr.rottab@gmail.com" ]
mr.rottab@gmail.com
1cd730dbcf05a7be95382c869bcd5b92c37a75b1
ab6a40ac8e136a9ee2cbf214bc29f864507f42ad
/BIOAuthMedicare/util.py
595d5f2c6b8d1c12d672227521acf1d7147e0e37
[]
no_license
SnehitReddy/BIOAuthMedicare
d6ecf069ce843d657d8c1705c00d0e86decd73fd
4b96caa1403aad291dfb48fb62129aaee358017e
refs/heads/master
2022-12-02T06:38:03.338205
2020-03-19T12:07:33
2020-03-19T12:07:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
import hashlib import pickle import numpy import reedsolo from memory_profiler import profile rsc = reedsolo.RSCodec(12) def load(file): try: fin = open(file, "rb") return pickle.load(fin) except FileNotFoundError: return [] def store(obj, file): fout = open(file, "wb") pic...
[ "30975835+Chirag3345@users.noreply.github.com" ]
30975835+Chirag3345@users.noreply.github.com
dff24bd2b7e3f74e2b44425b4fa1060f68b2f312
ea5d18e78ef9fffca5edc27959c348d3534093c2
/db.py
67898f21f3456fcdd2301578754477c2c16d87b4
[]
no_license
Letaldiran/Human-Resources-Department-App
27d8f53f01ae15e7759c91e587c53e519defa8e0
41f6dbee6b9dc70c0cdfc6d314618a897131ce13
refs/heads/main
2023-05-29T11:33:18.079038
2021-06-17T09:32:58
2021-06-17T09:32:58
377,773,249
0
0
null
null
null
null
UTF-8
Python
false
false
8,620
py
import sqlite3 import datetime def initialize_tables(cur): conn = cur.cursor() try: conn.execute(''' DROP TABLE WORKERS; ''') except: pass try: conn.execute(''' DROP TABLE SUBDIVISIONS; ''') except: pass try: conn.e...
[ "aaaa@gmail.com" ]
aaaa@gmail.com
58572991de8aab3ba45ad300f82a833fe8aab483
16dba5fc0cdd15627eaf00ec489be2c3b3e09956
/page/web/base_page.py
1dab868d22a93b9182712313f1632fff7438a837
[]
no_license
lucy1-22/omg_auto
894184bb5d97ad605f15eed0c4eee557fb43309e
4a1202eaa7c26a79e7ce234bcefad5166550dc01
refs/heads/master
2022-11-28T20:45:44.094615
2020-08-12T05:58:59
2020-08-12T05:58:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
# coding=utf-8 from selenium.webdriver.common.by import By class BasePage: next_button = (By.CSS_SELECTOR, 'input[value="Next"]') sign_button = (By.CSS_SELECTOR, 'span[class="submit"]') simple_button = (By.CSS_SELECTOR, 'span.fxs-button-text') yes_button = (By.CSS_SELECTOR, 'input[value="Yes"]') ...
[ "v-avliu@microsoft.com" ]
v-avliu@microsoft.com
30ecdf4611a27598b6fe6657a56fac8231062d53
1bc74aea75a10e87ae6e195691c99a98e54da395
/venv/bin/python/bin/flask
be6d6a39df565acc9c5a8f8f5113164c43993c34
[]
no_license
omrozh/inads
e550a82c6677324e0c983808e8c76017d1bb5c5c
a3bcf78949852c359a814e83d102507d1b908de1
refs/heads/main
2023-06-10T12:59:49.147956
2021-07-08T11:31:54
2021-07-08T11:31:54
384,066,478
0
0
null
null
null
null
UTF-8
Python
false
false
260
#!/Users/omerozhan/PycharmProjects/InAdsWeb/venv/bin/python/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "omrozh@hotmail.com" ]
omrozh@hotmail.com
7d8c1cb9db1f31867436ae29567686b448acd023
ac7b02f4e7aa751ee24ed8933276990c801e1e64
/src/mapreduce/interpreter/python/reducer.py
010d238aa4e506c4ccec731f395d038c90905277
[]
no_license
emilia-sokol/gae_interpreter
563ff02008229679933412ef7defe4f10f1bf02f
f1ba7feb46e6e072844859622b30e30a1cf0694a
refs/heads/master
2022-12-18T16:49:49.339302
2020-09-16T17:55:17
2020-09-16T17:55:17
260,986,753
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
from mapreduce import context from google.appengine.ext import blobstore def py_reducer_interpreter(key, values): ctx = context.get() file_blob_key = ctx.mapreduce_spec.mapper.params['output_writer']['reducer'] reader = blobstore.BlobReader(file_blob_key) output = [] exec (reader.read...
[ "emilia.sokol94@gmail.com" ]
emilia.sokol94@gmail.com
2f734a23bf67cd3cc91a9c971e8bfe20bac6a727
0ed22fdbc7716d7a6c6547a0c0b28184409f0ac5
/secTools/general_loader.py
a49f9f4b21a992a527d18bda817632bc5a5f1e36
[]
no_license
yetiminer/dis
7dba9b4cba2ab21110e348c2464593b1b09904e0
0a781caf2de1d27e2e5109948225ca17ea40965c
refs/heads/master
2020-03-07T00:45:25.137774
2018-08-03T18:24:34
2018-08-03T18:24:34
127,165,246
1
0
null
null
null
null
UTF-8
Python
false
false
994
py
from secTools import yamlLoad, load_from_db, streamline, load_from_pickle from load_data1 import SecTable, SECdataset from sqlalchemy import create_engine, MetaData def ds_from_db(**kwargs): if 'pickle_file' in kwargs: pickle_file=kwargs['pickle_file'] ds=load_from_pickle(pickle_file) elif...
[ "github@yetiminer.com" ]
github@yetiminer.com
8b981edc4cd60588dc181c76b776ce8ad0575668
955d26b505e1997aeee308e2f27a45fcd30eea8b
/reverse.py
378bbae40af2892eeff0b59946063779fd46a03a
[]
no_license
radzirazak/reverseString
9c0e3cdf37bb3dab799057311f2a2541cb9f3235
c130da817e3703fc2af3225636c5e6ff1f59dcfb
refs/heads/master
2021-01-17T17:39:36.794695
2017-06-27T06:44:51
2017-06-27T06:44:51
95,526,320
0
1
null
null
null
null
UTF-8
Python
false
false
123
py
def reverseStr(string): print ('Reverse: ' + string[::-1]) string = input('Enter anything: ') reverseStr(string)
[ "noreply@github.com" ]
radzirazak.noreply@github.com
19cfbbe5fcae30c1301b87cb5938c5e2c0a4f947
4a63c700f4e4159dd4089a8488d9c32dbefab471
/rgc/views/validation/views.py
50aa13bbc6dd86ec8c284e96f3b3c622804afd4c
[]
no_license
kaikai136/remote-center
4d2072c27d34fda6cf46360a2ef53b7533025287
bd002acf7972a96d00f0615a883dca9313a75a5e
refs/heads/master
2022-09-26T05:22:38.683985
2019-09-01T12:17:58
2019-09-01T12:17:58
205,656,782
0
0
null
2022-09-16T18:09:23
2019-09-01T09:43:22
Python
UTF-8
Python
false
false
4,053
py
# -*- coding:utf8 -*- # @Project : remote-center # @Author : qxq # @Time : 2019/7/2 9:50 AM from flask import request, current_app from rgc import PlatformInfo, AppInfo, CarInfo from rgc.views.validation import validation_blue @validation_blue.route("/platisonline/", methods=["POST"]) def plat_is_online(): ip = r...
[ "jienkai136@sina.com" ]
jienkai136@sina.com
3cfee67d95641ce0b56dcb491a6964041a26afe8
56cce3fee2e3d69d60958eb2aacc4f65fc3d2230
/src/pybgl/topological_sort.py
a5c38f65d24d6156a3f6c3a46852d6cdc5478b42
[ "BSD-3-Clause" ]
permissive
nokia/PyBGL
52c2f175d1dbccb15519f8a16de141845d0abaf3
707f2df32ede7d9a992ea217a4791da34f13e138
refs/heads/master
2023-08-08T04:46:24.931627
2023-08-03T16:31:35
2023-08-03T16:31:35
148,536,169
12
3
BSD-3-Clause
2023-08-03T16:31:36
2018-09-12T20:11:36
Python
UTF-8
Python
false
false
1,762
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # This file is part of the pybgl project. # https://github.com/nokia/pybgl from collections import defaultdict, deque from .graph import DirectedGraph, EdgeDescriptor from .depth_first_search import DefaultDepthFirstSearchVisitor, depth_first_search_graph from .property...
[ "marc-olivier.buob@nokia-bell-labs.com" ]
marc-olivier.buob@nokia-bell-labs.com
3467ba1d9f5e15adfb4e7c5ce88988f04e602cab
997471990dc68ec45b33b080109756bbe4468cc9
/.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/syntax_error/test_error_using_eval_and_print/test.py
285b4627460ebc3a30a5e81e0c87b9000bf021ad
[]
no_license
fipachu/Zookeeper
3f593628156711fc870dbf5ad2825502594fd2ce
28ec4f3fd914f14da9051b15c95b4907adf237b9
refs/heads/master
2023-04-09T16:46:39.806978
2021-04-23T02:00:25
2021-04-23T02:00:25
360,734,552
2
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
import unittest from typing import List from hstest.stage_test import StageTest from hstest.test_case import TestCase class TestEmptyEval(StageTest): def generate(self) -> List[TestCase]: return [ TestCase() ] class Test(unittest.TestCase): def test(self): status, feedb...
[ "80906036+fipachu@users.noreply.github.com" ]
80906036+fipachu@users.noreply.github.com
5ff96b617b7fe456fd632aaaed8a722b91e8b6ae
90f15d8f0090d4dcc7550f9d22e7b60c283d2e16
/og/dopamine/dopamine/recon_env/val_recon_env.py
de92aa55e63f021ec73c9d813343eab41f759988
[ "Apache-2.0" ]
permissive
lugrace/OptimizeMRIScanTimes
3ee84938b706330fb2319907470e7ae1ab8eb73c
fb5bda3b8b5c5258eadbacc9fd4731a3d345a53f
refs/heads/master
2020-07-08T12:33:48.476391
2019-08-22T23:26:37
2019-08-22T23:26:37
203,673,389
0
0
null
null
null
null
UTF-8
Python
false
false
8,853
py
import os, sys import h5py as h5 import numpy as np import matplotlib.pyplot as plt import torch from torch import autograd import gym.spaces sys.path.append('/home/davidyzeng/machinelearning/cones/python/packages/mrirecon') sys.path.append('/home/davidyzeng/recon_pytorch') import class_gan_unrolled import bartwrap i...
[ "2018glu@tjhsst.edu" ]
2018glu@tjhsst.edu
d87794e59d904a6d3668c7599663d45fdb747333
866e3821ad7ffca81a0ea17ba88889c505501f03
/Kyb_prog/basement_measures/basement_monday/ancien_plot_square.py
b66ec97ee5e6003d3c01bc8cd7be449f0d4a7fba
[]
no_license
Deastan/small_softwares
fb3e9f845500cec8eb134e604829cfe943036a03
8d45ca538f7796eefab7cf94f2a673aee2ca7fc1
refs/heads/master
2020-03-31T09:38:27.382945
2018-11-12T08:23:29
2018-11-12T08:23:29
152,104,291
0
0
null
null
null
null
UTF-8
Python
false
false
4,855
py
import matplotlib.pyplot as plt import numpy as np import csv # Initialize and Read data from CSV base_link_x_odom_camera = [] base_link_y_odom_camera = [] def function(file_name_arg): #******************************************************************************* # Parameters #*********************...
[ "jonathanburkhard@gmail.com" ]
jonathanburkhard@gmail.com
919750486a16f8c3cf80e42b43fd1e58be908f63
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/3985/codes/1573_2896.py
a9348aa62d031277329e3677d5ab5bd9214ac882
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
128
py
# Use este codigo como ponto de partida # Leitura de valores de entrada var = input("Ronald") # Impressao de saidas print(var)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
0fba8a518aa68231f1284ad13a489d5bd29a862d
b24b7dd81d50aa3e60dba3322df75a333b974546
/1.13.0/easyblock/easyblocks/a/abaqus.py
e592705ab5a7be957bef8285898b631d2461cce4
[]
no_license
lsuhpchelp/easybuild_smic
8d51b8a7244265a0faa2f4713654a503c9736779
3c5434f9a4193fbe4cf8107327faadda83d798ae
refs/heads/master
2020-12-24T14:46:04.652060
2020-09-08T17:01:46
2020-09-08T17:01:46
19,581,280
0
0
null
null
null
null
UTF-8
Python
false
false
3,892
py
## # Copyright 2009-2013 Ghent University # # This file is part of EasyBuild, # originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), # with support of Ghent University (http://ugent.be/hpc), # the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en), # the Hercules foundation (htt...
[ "lyan1@tigers.lsu.edu" ]
lyan1@tigers.lsu.edu
09f09bdd5c739d846d270d56dd77407bac6647a8
3dcb21b4d9d1862fcee8ad7186128e8efe64feff
/createSingleSyntheticTensors.py
0c2d20c89647d4ad0947216f61250b8286bdd09c
[ "BSD-2-Clause" ]
permissive
kaggour/CPD-MWU
db27f4c4ec06da4193c03813e089763c98623805
123efa828d07b5aceea6d7cb9920c1ea290216f9
refs/heads/master
2020-04-01T00:11:51.652296
2019-03-15T12:28:55
2019-03-15T12:28:55
152,686,324
3
0
null
null
null
null
UTF-8
Python
false
false
6,474
py
##################################################################### ##################################################################### # # Create synthetic tensors with K slices, each of dimension I x J x Ki # and save to HDFS. Use R as the number of components in each tensor. # Tensors can have different levels ...
[ "aggour@ge.com" ]
aggour@ge.com
7d3a17ab252f86c2831baf7b3e954a54fef6b79f
17db646bd3588a879cede520066c4f86b0488244
/画像の表示,縮小拡大,回転,二値化/画像回転.py
d3de24dd671434f49ade6f12fce0fe9edc33cd41
[]
no_license
masaya-ueda/Masayagithub
7766671f41fa5f52fa3deb1d937319d8063507f6
018c1182eeb721d3269dc46a6c97dcc2da641e7f
refs/heads/master
2022-11-15T23:18:11.113722
2020-06-28T17:56:32
2020-06-28T17:56:32
254,563,146
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
import numpy as np import cv2 img = cv2.imread(r'C:\Users\mueda\Documents\blog-thumb18.jpg') height = img.shape[0] width = img.shape[1] center = (int(width/2), int(height/2)) angle = 90 scale = 1 trans = cv2.getRotationMatrix2D(center, angle , scale) img2 = cv2.warpAffine(img, trans, (width,height)) cv2.imsho...
[ "noreply@github.com" ]
masaya-ueda.noreply@github.com
ee121fbd882866a933ea6f75a1ec2f90006ff419
b2973ee8f444e3abb0b62351007ede511ef45442
/screen_8.py
a8fddf2cde6dfc82e22ddd9b2b4fa5d77ab0bf3e
[]
no_license
098anu/E-commerce-Kivy-App
2d664808be0389d4e4fca1eb9de4f34a70b3b96c
f38b5c7492fb9194e1ea6058801949635faf97cf
refs/heads/master
2020-04-26T17:13:22.744325
2019-03-04T08:46:46
2019-03-04T08:46:46
173,706,216
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
import kivy from kivy.app import App from kivy.uix.screenmanager import ScreenManager,Screen class Screen8(Screen): def chg_scr(self): self.a = App.get_running_app() self.a.root.current='screen_4'
[ "noreply@github.com" ]
098anu.noreply@github.com
672214eecc6699295c10c3fce25663c3edf99bd8
0419ab96804792c2b10bd1f7a99cdba8484d18c3
/main/admin.py
10cabd00c1b2ade9a6b5d1219b1b036681205a51
[]
no_license
bjorndonald/staff
84c71fe8a33f8391056872cac1600a2a18934580
116cd7b9b468924d984ded4a792c1da77f9336c7
refs/heads/master
2023-04-07T14:33:41.776989
2021-04-13T08:57:08
2021-04-13T08:57:08
342,188,467
0
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
from django.contrib import admin from .models import * from django.contrib.auth.models import User, Group # if not Group.objects.filter(name="Hod"): # hod = Group() # hod.name = "HOD" # hod.save() # elif not Group.objects.filter(name="Staff"): # staff = Group() # staff.name = "Staff" # staff.save() # elif not G...
[ "bjorndonaldb@yahoo.com" ]
bjorndonaldb@yahoo.com
8bb48ad2868ae1c6e66f051695a91618adc63fe3
bcf04651f923182084934effc9ea0105b4a51dd1
/notes_app/notes_app/settings.py
29f7803fb00137c1d5d5ef641a288079b10b7feb
[]
no_license
BilyanaRumenova/Python-Web-Basics
99b3e6e1dc8a8f766507b24730dee6ba9897602a
4439182a13dde3d0fb4d38eca4c5249515c25e77
refs/heads/main
2023-07-30T10:26:10.056985
2021-10-01T17:43:52
2021-10-01T17:43:52
384,038,931
1
0
null
null
null
null
UTF-8
Python
false
false
3,663
py
""" Django settings for notes_app project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from os.pat...
[ "bil.konstantinova@gmail.com" ]
bil.konstantinova@gmail.com
a6ac867022374a7d5749606fe3f71e08c439b829
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_interface_endpoints_operations.py
77566c1a64c8b6fb8a612e5b37a03493495d778a
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
22,801
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
paultaiton.noreply@github.com
feaedb644bd6aafe5e8f22d83f249aa852909466
5864e86954a221d52d4fa83a607c71bacf201c5a
/carbon/common/lib/cherrypy/test/test_auth_basic.py
bdf0d7e1d1c0cd2d6f050c93047528626ed88b7e
[]
no_license
connoryang/1v1dec
e9a2303a01e5a26bf14159112b112be81a6560fd
404f2cebf13b311e754d45206008918881496370
refs/heads/master
2021-05-04T02:34:59.627529
2016-10-19T08:56:26
2016-10-19T08:56:26
71,334,417
0
0
null
null
null
null
UTF-8
Python
false
false
2,806
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\carbon\common\lib\cherrypy\test\test_auth_basic.py import cherrypy from cherrypy._cpcompat import md5, ntob from cherrypy.lib import auth_basic from cherrypy.test import helper class BasicAuthTest(helper.CPWebCase): def setup_serv...
[ "le02005@163.com" ]
le02005@163.com
f6744796ed340e7e048f4d8220c81eef3d8372a7
abcbaa89dcfb2ca1dd611a7bdac0b3e2b128fa19
/btre_project/urls.py
70e4808b547064a9c216ca94385e6f650fa64078
[]
no_license
gaylonalfano/DjangoBTRealEstate
95994fd24fcbc011ee587f050b65ff738f7e92f4
e98d31530de1b634aedca3682e8bdc46ea118811
refs/heads/master
2020-04-01T22:53:02.835080
2018-11-19T08:28:04
2018-11-19T08:28:04
153,731,449
0
0
null
null
null
null
UTF-8
Python
false
false
4,802
py
"""btre_project 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-...
[ "gaylon.alfano@gmail.com" ]
gaylon.alfano@gmail.com
921a24a58fdec22a688db14ecfd1318b1a710cf3
7ec7ec203b91f389d66a457a2ceda5768653925e
/assig10/texttable.py
55192e1aa3f3fdf8145f68f4f4b7f82275b2e0ab
[]
no_license
BogdanDumbravean/Fundamentals-of-Programming-FP
5fb8c2980ca6e133d9850826795f71682becd57e
6bada4bdb2e526a758642b7c947f958c58d32d04
refs/heads/master
2022-04-11T03:38:11.945899
2020-03-18T14:07:03
2020-03-18T14:07:03
245,674,541
0
0
null
null
null
null
UTF-8
Python
false
false
23,261
py
# texttable - module for creating simple ASCII tables # Copyright (C) 2003-2018 Gerome Fournier <jef(at)foutaise.org> """module for creating simple ASCII tables Example: table = Texttable() table.set_cols_align(["l", "r", "c"]) table.set_cols_valign(["t", "m", "b"]) table.add_rows([["Name...
[ "noreply@github.com" ]
BogdanDumbravean.noreply@github.com
c315a859c67d982c211b1cc6a911fac71aa21def
7bf5d17cd67df4f29e7aca2601d1c4a3d20826dc
/BattleShip_War.py
1e28f3408ba7b7ff0eb051a44ad50fa472318e13
[]
no_license
Fasto84/Battleship_war
d7d9661b13be8722b9218fa8e735b2a94ec4bafb
f252642f9175741b49af7e182a862a4a1f40d8f6
refs/heads/master
2023-05-07T12:51:38.260236
2021-05-31T18:31:37
2021-05-31T18:31:37
372,573,411
0
0
null
null
null
null
UTF-8
Python
false
false
7,006
py
from random import randint class Dot: #класс точка def __init__(self, x, y): self.x = x self.y = y def __eq__(self, other): return self.x == other.x and self.y == other.y def __repr__(self): return f"({self.x}, {self.y})" class Error(Exception): #класс исключений pa...
[ "email@example.ru" ]
email@example.ru
d4b166d403d26f0ae688d9697bd1ff6f749166e3
5a3acab867bc5c67ffe1792b2159d72a041cfe1c
/datetime/src/datetime-pytz.py
b7b4be1e6097b036102662d83fd8d82aa06fdd55
[ "MIT" ]
permissive
WoodenBackpack/book-python
4adb5078c4f4557e690feebd827d3d409c67b266
c4ed9ff322277be1432ee5e624c249b8e69fd594
refs/heads/master
2020-03-22T13:11:24.356768
2018-07-07T13:47:30
2018-07-07T13:47:30
140,089,666
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
import pytz utc = pytz.utc print(utc.zone) #'UTC' eastern = pytz.timezone('US/Eastern') print(eastern.zone) # 'US/Eastern' amsterdam = pytz.timezone('Europe/Warsaw') print(amsterdam.zone) # 'Europe/Warsaw'
[ "matt@astrotech.io" ]
matt@astrotech.io
891bf1124c3f58f352cb380c666eac1259fc66f8
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2601/60749/243951.py
bf17d6881be56a15b5a1bfed49e86a7a0e227c88
[]
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
197
py
row=int(input()) col=int(input()) k=int(input()) res=[] for i in range(1,row+1): for j in range(1, col+1): res.append(i*j) result=list(set(res)) result=sorted(result) print(result[k-1])
[ "1069583789@qq.com" ]
1069583789@qq.com
beea2bf331c9369881069c2908c758b4ffc41cdb
22be44dce81f6c0ac9f891e1661118299e4feaf1
/labs/src/A.1.HelloSetup/complete/show-png.py
3447dbebff1d4e074de7624a99b82885f3f90c76
[]
no_license
KathiW/python_foundations
18a1b24a140e8f3e482a1581986c9bafd64565ff
02b6d5b2532fb9c71a497ab1fe506a7d70bc13e1
refs/heads/main
2023-02-19T10:47:02.391016
2021-01-20T13:00:51
2021-01-20T13:00:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
import os import time from sys import exit try: from PIL import Image except ImportError: exit('This script requires the pillow module\nInstall with: sudo pip install pillow') import unicornhathd print("""Unicorn HAT HD: Show a PNG image! This basic example shows use of the Python Pillow library. The tiny...
[ "you@example.com" ]
you@example.com
fd3eca812ddae876ca3d95e67b572793f2390c59
4fe440d600ba46a9133b06c3f9f0bd867734b24b
/source/netdicom/fsm.py
7cf74c368ead35a28485b93769f2881321e4c461
[ "MIT" ]
permissive
stultus/pynetdicom-forked-from-official
921a365551d796201cd1b023e87ec4b82896de71
f6e9d670b339523fb6e77298289e865e8ad6530e
refs/heads/master
2020-04-09T10:19:01.967976
2014-11-19T08:42:05
2014-11-19T08:42:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,678
py
# # Copyright (c) 2012 Patrice Munger # This file is part of pynetdicom, released under a modified MIT license. # See the file license.txt included with this distribution, also # available at http://pynetdicom.googlecode.com # # Implementation of the OSI Upper Layer Services # DICOM, Part 8, Section 7 import soc...
[ "hrishi.kb@gmail.com" ]
hrishi.kb@gmail.com
86ceac536ce6d9ab5f58bc68e69c28ecf2be5b99
9676e901d4d81e963206ce292a8823e774a4273a
/my_app/urls.py
7c33b5b09b32c5e5e2280abc4e03a3efe425f9a1
[]
no_license
zhoumo753/ttdjg
273a41bc6e1ec8611f089dc1362eb9e1af134694
5ad53c456e8fafbec92837669629798a2e36dbe0
refs/heads/master
2022-12-08T18:29:44.892142
2020-09-11T07:15:28
2020-09-11T07:15:28
294,616,504
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
from django.urls import path,include from . import views urlpatterns = [ path('grades/',views.grades), path('students/',views.students), path('geturl1',views.geturl1), path('showregister/', views.showregist), path('showregister/register/', views.regist), path('redirect1/', views.re...
[ "1152081647@qq.com" ]
1152081647@qq.com
87449d04887b5c41d56c5bb0801dda692a8c3d63
927a63ad2a514c9aea72e641634907d6f88121d6
/app/racing/tests/test_ratings_api.py
45f23086bf6c8762b8d1adfbea412ffecb5532f6
[ "MIT" ]
permissive
bartisrichard/formula-one
ecc2534c3d8250048893fee9a76be79a37d7a1f4
de14da6b1dcbd09d3ed5685d3a4f2f4f7934d908
refs/heads/main
2023-07-19T03:59:29.098308
2021-08-22T13:03:54
2021-08-22T13:03:54
398,193,892
0
0
null
null
null
null
UTF-8
Python
false
false
2,599
py
from django.contrib.auth import get_user_model from django.urls import reverse from django.test import TestCase from rest_framework import status from rest_framework.test import APIClient from core.models import Rating from racing.serializers import RatingSerializer RATINGS_URL = reverse('racing:rating-list') cl...
[ "88649875+bartisrichard@users.noreply.github.com" ]
88649875+bartisrichard@users.noreply.github.com
8220824c53567575e26f018ed0478e637a696b5d
e196ace4119ad3eb71d75856763cfa90c0576ace
/task_driven_data_augmentation/f1_utils.py
591cc836c1d3db41a1767850ed40d9a463779c17
[]
no_license
dpaolella/restoration-mapper
ba1304832aa2001514506f3a1cd79834030ba721
622e23d93216e577d3583f034c8ff7366394599a
refs/heads/master
2023-07-25T05:04:50.422122
2020-05-11T19:49:54
2020-05-11T19:49:54
250,290,582
0
5
null
2023-07-06T21:27:41
2020-03-26T15:04:43
Jupyter Notebook
UTF-8
Python
false
false
19,533
py
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np from sklearn.metrics import f1_score import nibabel as nib #to make directories import pathlib from skimage import transform from scipy.ndimage import morphology from array2gif import write_gif class f1_utilsObj: def __in...
[ "LucienSwetschinski@gmail.com" ]
LucienSwetschinski@gmail.com
c4d77d1c78321871c1ca9fb5d7f87495dac2e3e6
a4890feb7504837210f8b187f14499382789c2e9
/Week 8/Django/mysite/settings.py
f4f846ed946e49189768bc05a9dfc964bc5ed798
[]
no_license
ExaltedA/Web
9cc898d5b85ee0a634958eba0097034ae9bcbce0
869a0fe17dbfea023b0bb326367a2472914f51ea
refs/heads/master
2021-08-09T14:00:23.307171
2020-09-11T16:47:54
2020-09-11T16:47:54
239,846,939
0
0
null
2021-07-14T11:52:23
2020-02-11T19:30:31
null
UTF-8
Python
false
false
3,190
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.11. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os #...
[ "aldie1741@gmail.com" ]
aldie1741@gmail.com
999d447baa7c7fb35500a3e889ad6dcca56dec97
2c991e1eb2e81783081e0d788c3ce56205395fe3
/armory/scenarios/dapricot_scenario.py
3b4b93ab4909a031d48c984af56441b0bfef2c9f
[ "MIT" ]
permissive
yusong-tan/armory
b086d31a2a2c632766d0e93c7e8483ae2b007826
388edde7d85f96dac6a96c13854b955f1bb5c3c3
refs/heads/master
2023-08-11T05:08:07.126434
2022-01-26T18:49:26
2022-01-26T18:49:26
247,883,491
0
0
MIT
2020-03-17T05:02:57
2020-03-17T05:02:57
null
UTF-8
Python
false
false
5,317
py
""" D-APRICOT scenario for object detection in the presence of targeted adversarial patches. """ import copy import logging from armory.scenarios.scenario import Scenario from armory.utils import metrics logger = logging.getLogger(__name__) class ObjectDetectionTask(Scenario): def __init__(self, *args, skip_be...
[ "noreply@github.com" ]
yusong-tan.noreply@github.com
e5e814d1049d7599a0c0d9f091966876fda523d5
c40030f09958f8d85530e7e6044df926169b48fd
/autoload/GenerateShowStructFunction.py
188aef1ce22ecd7e3ce3be2b07a0801cc8b21521
[ "MIT" ]
permissive
AtsushiSakai/comfortablecpp.vim
3232d736a1d3ca09fe4302029b2d887adf7b454f
6755133ee52dc21a64eb56ad09db6aa6c91440be
refs/heads/master
2016-09-16T02:22:53.702201
2015-07-31T13:48:38
2015-07-31T13:48:38
39,666,019
0
0
null
null
null
null
UTF-8
Python
false
false
3,317
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys def GenerateShowStructFunction(structstr, separater="\\n"): structname, memberlist=GenerateStructMetaData(structstr) #print structname #print memberlist showCode=[] showCode.append("void Show"+structname+"struct(const "+structname+" &obj){")...
[ "asakai.amsl+github@gmail.com" ]
asakai.amsl+github@gmail.com
b1affac836aea862a8bbbcad81e417c5a613c7a1
50ae3a513028299e3c306d31c7dc43c8e428c335
/Submissions/Hebah_Qatanany/for loops.py
e8ad1dc623c0e5b4d7a1c9f22e9cbdc3b9841736
[ "Apache-2.0" ]
permissive
Sinayy/Programming_with_python_2021
2022a7d3c906684203b8a4be79fffd662dd2becf
0e25caeea3888d89c832d8536ac34e0cf962e371
refs/heads/master
2022-12-18T11:40:45.142872
2020-09-28T14:56:53
2020-09-28T14:56:53
297,172,986
0
0
Apache-2.0
2020-09-28T19:21:00
2020-09-20T22:14:16
Python
UTF-8
Python
false
false
318
py
print('................................') print('You can also create some shapes: ') character = '@' for i in range(1, 10): print(character) print('................................') print('You can also create some shapes: ') text = '' character = '@' for i in range(1, 10): text += character print(text)
[ "70976104+hebahq@users.noreply.github.com" ]
70976104+hebahq@users.noreply.github.com
acc09bc88495d5850e4a0886285923a84999db1a
d47ff28f502ca52e41537dc1dab54b6ca1916afc
/day13.py
8ad1be8f75826fee7ac573ad34895bb31cc1240c
[ "MIT" ]
permissive
rho2/30DaysOfCode
01dc4ee42093e66e185307f7262897c04f4a6040
56fe3c584d0b6ae537e3ab3cfcf2387c5455dbea
refs/heads/master
2020-04-10T22:12:00.146981
2017-03-20T16:12:50
2017-03-20T16:12:50
65,723,691
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from abc import ABCMeta, abstractmethod class Book(object, metaclass=ABCMeta): def __init__(self,title,author): self.title=title self.author=author @abstractmethod def display(): pass #Write MyBook class class MyBook(Book): def __init__(self, title, author, price): super(...
[ "noreply@github.com" ]
rho2.noreply@github.com
2b9535cd7a594fb123bf3b4d10816b52b0158868
0ee0d4294f6b95a283f1aa86460a496ac903637b
/bin/easy_install-3.6
740967bc663b261b6be50597973fd28c57a96fdb
[]
no_license
IvanChai1995/DisplayLink-switch
f309a5dc09e2f72b205808d4539ffe716fe49082
3bda99d8b192b21c1d57020703068477ee9df6ca
refs/heads/master
2021-04-18T07:16:57.548152
2020-03-29T16:51:03
2020-03-29T16:51:03
249,515,979
0
0
null
null
null
null
UTF-8
Python
false
false
251
6
#!/mnt/c/myproject/venv/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())
[ "andrushin-sport@mail.ru" ]
andrushin-sport@mail.ru
856aaa5c79a92a8bc4c14be5f933ebfdfff9812f
67d0f6bfe81bae6aa32d179de1a3a5f8e14b11d1
/extranet/models/student_group.py
b60b4d4a1f9422027a91164be1bcbb6e2c1e2fa4
[]
no_license
jakubmisiak/wsb-programowanie-obiektowe
386e1d36679d2c65cdd3f344a8b9a681e34a3b19
5eb46b738fb5c2d72f056dd47721cc7fe7909b65
refs/heads/main
2023-03-25T20:19:45.577350
2020-12-16T21:22:02
2020-12-16T21:22:02
352,344,593
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
from django.db import models class StudentGroup(models.Model): name = models.CharField(max_length=30) def __str__(self): return self.name
[ "noreply@github.com" ]
jakubmisiak.noreply@github.com
3520556196c6cd0ca5946b1f05cfde549638be00
6377cb6658e4f7e4fc702eca93bc308c77cb8dfd
/realtorModels.py
666247eaf866b12163ecf91f3055c72faf81912c
[]
no_license
zhaohonggang/smalldata
07f0a2c6e7008f16b8244c43ed6d87ddebc090bc
ea981f17ab775534c03310300a1b82c65e0898e2
refs/heads/master
2021-01-20T03:22:08.717147
2018-03-28T13:43:33
2018-03-28T13:43:33
89,531,443
0
0
null
null
null
null
UTF-8
Python
false
false
8,613
py
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` lines if ...
[ "zhaohonggang@yahoo.com" ]
zhaohonggang@yahoo.com
8a61dfaf9fdc2a7c8a75310bc6c02de1f7d6da31
2099a076de21d5d08e07d1675fad1184ee46c2fb
/archstart/hello.py
8e5a11a909cc10695d6e2bb56e4dee75e1e944fe
[ "MIT" ]
permissive
jacobjhansen/archstart
6db98cd715ad934f13426882a663707202d197c2
959301b71dbbe534c736e133dcd60199494819af
refs/heads/master
2023-04-12T15:13:27.980744
2021-04-30T14:46:53
2021-04-30T14:46:53
345,779,846
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
import getpass def say_hello(): print("Hello, {} =)".format(getpass.getuser()))
[ "jjhansen1999@gmail.com" ]
jjhansen1999@gmail.com