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
4f57e86ebf5519b9db20e98fde471633fc6e4b12
488d56a0a2c100777dfe55ea9ea75f461256f8bc
/allmax/wsgi.py
2b7f6384c59140cb1829569dfa88061aaedfa8c4
[]
no_license
namor-katz/allmax
e2214e31082e7c9472f99632b1b0a34e386d0ca3
14f4c887daced8d548fed62b47d895f3ba8712b2
refs/heads/master
2020-07-01T22:38:43.287530
2019-08-08T19:46:53
2019-08-08T19:46:53
201,326,297
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for allmax 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "namor925@gmail.com" ]
namor925@gmail.com
1cd64aeac36e0dc10aa204505f3bf8ccab4a83ad
8cb27c172442021165fa386106bf733959c8be71
/src/Splunkmath/mathinsplunk.py
a6a387dd07621475fd5cb9d4c34616b2a92e2abd
[]
no_license
dbreddyAI/SplunkML
15da618bdd33368fec022f10e286ff570037a8e4
d0147caf0f666b9c87c4c17f275ba52d4ec32e8c
refs/heads/master
2020-12-07T17:28:34.691184
2014-09-06T17:47:31
2014-09-06T17:47:31
232,760,661
1
0
null
2020-01-09T08:33:11
2020-01-09T08:33:10
null
UTF-8
Python
false
false
5,392
py
''' mathinsplunk module: functions to pull math out of splunk (i.e, after one of these functions are called, no more splunkvector operations can be done) uses things like stats avg,count,etc. Meant to be numpy-like. ''' import splunklib.client as client import splunklib.results as results import numpy as np # from .....
[ "ankitk@stanford.edu" ]
ankitk@stanford.edu
6eb49e8db32d4611726004ff87a58fdd4e774e68
f2a625cefb799e08bb984cb131e98c3ea2920ec8
/OctoPrintHttpClient.py
5f6346ad12d471ef7c8b119dd6d325a2964d0b3f
[ "Apache-2.0" ]
permissive
AllenMcAfee/octoprint-printer-connection-plugin-for-cura
f576c78978b719ef8c5efab8ff3f9328bc68944a
5212d1153615aa608ac0a763ceb955e3e2bb25bf
refs/heads/master
2020-12-29T03:07:49.115524
2015-03-04T06:28:35
2015-03-04T06:28:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,065
py
# Copyright 2015 Scott Hraban # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "scotthraban@gmail.com" ]
scotthraban@gmail.com
43762e6631bb0431b80bd2656e2d2522d44b3bed
3d228d5eac44b31d460dd81767b43309b7356577
/extra/graph/company_tree.py
f1637b2f1a04bcbe1902f64e15364798ff383c47
[ "BSD-3-Clause" ]
permissive
lsbardel/mathfun
da65a6f09faacdb4815111dae287c9b974acf928
98e7c210409c2b5777e91059c3651cef4f3045dd
refs/heads/master
2021-05-02T08:56:05.565539
2020-07-30T09:14:04
2020-07-30T09:14:04
26,242,622
0
0
null
null
null
null
UTF-8
Python
false
false
41
py
from mathfun.graph.template import Graph
[ "luca@quantmind.com" ]
luca@quantmind.com
f058f908a45f09325dc4edc777257215ab53d73b
f6dd0381ea30cacb9555ecee772dcca721a04310
/python/src/cintegrallib/algo/nn/opt.py
bba45245492f0974c5d7ca3d1723bc4b794604c4
[]
no_license
careychou/cintegral
4b305afde1e1569496b0d238bac3653280bac156
ede6a5bdd93c7509ce9e13f673e2eef5c8db21dc
refs/heads/master
2023-04-08T22:29:00.522208
2021-04-16T11:48:00
2021-04-16T11:48:00
343,204,656
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
import tensorflow as tf import numpy as np ### # utility functions for differential optimization from tensorflow # website # # newton root finding # Param: # grads1: dy/dx # grads2: hessian matrix d2y/dx2 def newton_root(grads1, grads2): gshape = grads1.shape nparam = tf.reduce_prod(gshape) grads1 = ...
[ "carey.h.chou@gmail.com" ]
carey.h.chou@gmail.com
88fe37658f8407f12b873c62b2a21869341c3261
d282be07f3ef398817be3878510b67dd5845b249
/bin/redditerm
30cf5858b44045add2dd109a817c1072cbf7febd
[]
no_license
videah/dotfiles
c15e5d6ca999e11d68c43378fb849c5db21fb85d
8c6c7631d3856cf0a90224e2e20052105a4e84a2
refs/heads/master
2021-06-01T02:03:59.417210
2016-06-22T22:40:57
2016-06-22T22:40:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,558
#!/usr/bin/env python3 # # redditerm Version 0.2 # # This code is licensed under the MIT Open Source License. # # Copyright (c) 2015 Ruairidh Carmichael - ruairidhcarmichael@live.co.uk # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files ...
[ "ruairidhcarmichael@live.co.uk" ]
ruairidhcarmichael@live.co.uk
3da8f7b040ba3e4364324d6671fd5826cd2494b7
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/odo-0.4.2-py27_0/lib/python2.7/site-packages/odo/backends/sparksql.py
80e27ad318d1981f6194e3e20d84b782da1089e7
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
9,639
py
from __future__ import division, print_function, absolute_import import os import glob import itertools import tempfile import shutil from functools import partial from collections import Iterator from datetime import datetime, date import pandas as pd import toolz from toolz.curried import get, map, memoize from t...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
6e3180bc027c26aa13a8dc0a405036ae94a748b9
a2220e9509e3a0ed1b5435aeac0130eb09377aae
/tools/repostats/stats.py
8aa8815a039581f8e7c90a89cfc2c23b182ad198
[]
no_license
librefonts/collection
fe1f3ec9064c5b01137732fdc543dff977be4119
817817628b388b621a699c1d4623201583836438
refs/heads/master
2016-09-05T21:46:04.909016
2015-01-27T19:51:34
2015-01-27T19:51:34
13,711,616
6
0
null
null
null
null
UTF-8
Python
false
false
984
py
# stats - get stats on the given repo # From # http://www.selenic.com/repo/python-hglib/file/tip/examples/stats.py # # Copyright (c) Matt Mackall <mpm@selenic.com> # Copyright (c) Dave Crossland <dave@understandinglimited.com> # MIT license @ http://www.selenic.com/repo/python-hglib/file/tip/LICENSE import sys import ...
[ "m@xen.ru" ]
m@xen.ru
7e718881b9c46f43e2cc9329438179cd7fbc6988
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/CISCO-CDSTV-FSI-MIB.py
cb16a25f5a07fa321bae26f7dbc8039adcc9a510
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
6,231
py
# # PySNMP MIB module CISCO-CDSTV-FSI-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-CDSTV-FSI-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:35:42 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
1eaab63b4751bf14ca331840769f850341508d9f
92a8591afa785eba467e0f31d825b3f588d4d7f6
/rendezvous/env/Scripts/django-admin.py
1c2717319af41d31bb3a2d44faa3ab959f68a5c9
[ "MIT" ]
permissive
gazh1987/Rendezvous
1c9c44d5146961d2cfae918c9377f2b041a0e711
4e58a18b6599f9255252f86cb2c36338d39e9780
refs/heads/master
2020-12-26T01:01:48.461903
2016-09-12T15:54:28
2016-09-12T15:54:28
47,191,831
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
#!C:\Users\G\Documents\GitHub\Rendezvous\rendezvous\env\Scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "gary.hely2@student.dit.ie" ]
gary.hely2@student.dit.ie
2e9c01aa40d1ab7c497942dbffcc0fa4a3ba2b26
4b73dc6b31bd2e25957c70677dc6fd0135a1a43b
/03_Avanzado/Unidad_06/test/add2_register_peewe.py.py
39ca7af97f070da147425d5db3d1a2fdd422c67a
[]
no_license
stick2yourmind/Python
557aae4b8422104ec244dcd45123b1c0b4ed2d7a
9629add21493bea0173fa6ed548bedb18e73fa32
refs/heads/master
2022-11-17T10:00:53.622658
2020-07-13T01:21:49
2020-07-13T01:21:49
272,263,927
0
0
null
null
null
null
UTF-8
Python
false
false
3,466
py
import random from peewee import * import datetime import mysql.connector my_sql_host_default = "localhost" my_sql_user_default = "root" my_sql_pass_default = "" my_sql_db_default = "catalogueDB" my_sql_table_default = "producto" columns_name_list = ["titulo", "fecha", "descripcion", "estado", "objeto"] my_sql_db = m...
[ "saravia.jonathan.m@gmail.com" ]
saravia.jonathan.m@gmail.com
81ff78d1540f5df07d51f5caa5b6559fe46bde09
7e0da49bbe69e3924828bb269e69307e0f41913d
/accounting_scrap.py
02d421242146999d9fbd097d4176f071fe2b903d
[]
no_license
mjaleman/social_network_py
2c06ffcc3f6a7c78e6146d659242ad2571ca9caa
691aacef77b2468f844c6258e6100f28fd94b774
refs/heads/main
2022-12-27T02:09:27.136538
2020-10-09T05:03:21
2020-10-09T05:03:21
302,537,287
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
#filename = sys[1] open_file = open('/Users/marlonaleman/Desktop/Work/GitHub/bookkeeping/business/inbox/todo/fireman_checking/149575-S12.CSV', 'r') print(open_file.readlines())
[ "mjaleman1997@gmail.com" ]
mjaleman1997@gmail.com
56749342e68294136dbbbacb342a3d9b2f01f30b
18b3ad3b0e1f7f10969738251e1201d01dfbc6bf
/backup_files/samplepy/passbyvalue.py
26689727f2944f32dee1688daef3ff1dc4632725
[]
no_license
sahthi/backup2
11d509b980e731c73733b1399a8143780779e75a
16bed38f0867fd7c766c2a008c8d43b0660f0cb0
refs/heads/master
2020-03-21T12:39:56.890129
2018-07-09T08:12:46
2018-07-09T08:12:46
138,565,151
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
def changeme(mylist): mylist = [1,2,3,4 ] print "values inside the function",mylist return mylist = [10,20,30] changeme(mylist) print"values outside the function ",mylist
[ "siddamsetty.sahithi@votarytech.com" ]
siddamsetty.sahithi@votarytech.com
057695d4910d814affa1cef49fbca93b9b520c88
df690ac0484ff04cb63f71f528a9d0a0e557d6a3
/.history/ws_20210608130810.py
59216ed4c38672800e718b0909e4e451e853a45b
[]
no_license
khanhdk0000/Mqtt-Web-Socket
437777c740c68d4197353e334f6fe6a629094afd
4f9e49a3817baa9ebc4e4f8dcffc21b6ea9d0134
refs/heads/master
2023-06-20T17:08:09.447381
2021-06-08T17:42:37
2021-06-08T17:42:37
375,090,458
0
0
null
null
null
null
UTF-8
Python
false
false
3,612
py
from flask import Flask, jsonify, request from flask_sock import Sock import time app = Flask(__name__) sock = Sock(app) import threading BROKER = 'io.adafruit.com' USER = 'khanhdk0000' PASSWORD = 'aio_FfID10QWNVSKUC2j15nLtOSeckin' TOPIC = 'khanhdk0000/feeds/' LIGHT = 'light' SOUND = 'sound' TEMP = 'temp' LCD = '...
[ "khanhtran28092000@gmail.com" ]
khanhtran28092000@gmail.com
b16eae335b0a0379a9d997a92554ec34481cb9c4
27076e3ab905ff9494c159fb53d5ad5e8ecd29c8
/笔记代码/python/test/test3.py
a10aee82a95f7c3878c5b3ea1126180052a40392
[]
no_license
windkidtrh/learn_text
598fee4a29382098d578a1dd616ca5da0f269f42
fda65095be8c9c5d81beb8513d479b6f6846701d
refs/heads/master
2020-03-10T17:04:25.005353
2018-12-12T12:10:26
2018-12-12T12:10:26
129,490,658
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
#coding:utf -8 import os def alter(file,old_str,new_str): """ 将替换的字符串写到一个新的文件中,然后将原文件删除,新文件改为原来文件的名字 :param file: 文件路径 :param old_str: 需要替换的字符串 :param new_str: 替换的字符串 :return: None """ with open(file, "r+") as f1,open("%s.doc" % file, "w") as f2: for x in f1: line = x...
[ "1442983474@qq.com" ]
1442983474@qq.com
e5b76034e7c6036b7c81ca4e1246520c552d8e69
4232db80ce44e91aa249c5f640a4e8fe4b75a471
/bushy/_pivotal.py
c6bc07ab7f8cbc13131780417b23e8dd5ced1f55
[]
no_license
junkafarian/bushy
97a8d215501b2424722ba37c3e6fe8a1b3d1ed5b
3d50bee8c6d6fc64939ae4e19f1e62ab17ad6154
refs/heads/master
2021-01-23T15:57:27.352579
2011-07-08T17:07:48
2011-07-08T17:07:48
1,221,588
1
1
null
null
null
null
UTF-8
Python
false
false
11,205
py
""" Utilities for interfacing with a Pivotal Tracker project """ import sys import optparse import httplib2 from datetime import datetime from commands import getoutput from pivotal import Pivotal, anyetree from bushy.base import Base __all__ = ['Bug', 'Feature', 'Finish', ] class Pi...
[ "fergus.doyle@largeblue.com" ]
fergus.doyle@largeblue.com
3e975642797d10a8c17cd8f6be381c06081d0be0
6ff5e37147419b5ed5ee43a6654bf2bc8d6f5779
/maximum subarray.py
12ac9e4f14710a4a0d248c29fc80aa7f5d9fc197
[]
no_license
ashageorgesj/LeetCode
982fcdf5265ce98c02a27a7b55ff4273c4875dcd
afb8c8fbfa3f3a08d70c4fa12ab82bcb601bbb2d
refs/heads/master
2021-05-21T04:19:45.314378
2021-02-05T07:13:58
2021-02-05T07:13:58
252,539,269
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Using Kadane's algorithm class Solution: def maxSubArray(self, nums: List[int]) -> int: total = 0 maxVal = 0 if all([num < 0 for num in nums]): return max(nums) for i in range(0,len(nums)): total += nums[i] if total <= 0: total = ...
[ "ashageor@gmail.com" ]
ashageor@gmail.com
1a8961c8a1590e97a75c83f4bdef0ec6c3a48893
4abda661304ee18724e28a0243ccbb7c9e359871
/gasoline/models/comment.py
f476c6a625e222dc9a71e9738fc0f51f443d5e79
[]
no_license
sfirmery/gasoline
62ee0c6a4c6c36db64abecbac2f6702b141e6d80
7ff5410cb677ecf213280dc4752c9a2e61a513f9
refs/heads/master
2020-04-21T04:20:08.523056
2014-04-01T22:13:10
2014-04-01T22:13:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# -*- coding: utf-8 -*- from datetime import datetime import markdown2 from gasoline.core.extensions import db from gasoline.core.signals import event, activity from .user import User class Comment(db.EmbeddedDocument): author = db.ReferenceField(User) date = db.DateTimeField(default=datetime.utcnow) co...
[ "sylvain@firmery.fr" ]
sylvain@firmery.fr
3ffc5f6b56cf38ad702bf0fbbf6902e8b656686c
aec5c21025e849ca85c60130ee027dc76d04d8ba
/hola.py
1107ff1a1f1a61fef442614613429a6e02c9df6e
[]
no_license
chacar3/curso
2d7f3ac0578bd20cdfae1cbed57317ace54ecc5b
61f45cc5710152083368ae341cee9fc55723fd96
refs/heads/main
2023-08-22T22:08:53.802558
2021-10-19T21:46:43
2021-10-19T21:46:43
418,994,809
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
print("Hola Mundo") def fib(n): a, b = 0, 1 while a < n: print(a, end=' ') a, b = b, a+b fib(100)
[ "noreply@github.com" ]
chacar3.noreply@github.com
f8fd9391978c42645ffab97a26b62801717c3913
c4cb645799539089f89b3203a7ce88ba85cde199
/src/development/vortex/development/utils/data/loader/pytorch_loader.py
f970047939254b08d5fea11996c34433d50b6e90
[]
no_license
jesslynsepthiaa/vortex
2533d245f3003c649205af51f7692d6022d6638f
1532db8447d03e75d5ec26f93111270a4ccb7a7e
refs/heads/master
2023-01-10T19:20:25.190350
2020-11-13T07:20:39
2020-11-13T07:20:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
from torch.utils.data.dataloader import DataLoader supported_loaders = [('PytorchDataLoader','default')] # (Supported data loader, Supported dataset wrapper format) def create_loader(*args,**kwargs): return DataLoader(*args,**kwargs)
[ "alvinprayuda@nodeflux.io" ]
alvinprayuda@nodeflux.io
1f83f2fd3f72b375690b8c90d78f0eae7f16cfe2
8507fe7cecb7db369fee27451109fa0c6d885d4c
/Classes/carrs.py
4ef83e9bb84233e9e01a9a1593c71244090f7086
[]
no_license
savanmin/pythonfreq
e7e781b2e4fb2f5d434bf9274ee02df1b35deec7
e3eeb0b15b24ce59a49a534e5760cf8dff7761b0
refs/heads/master
2021-09-04T03:48:51.318040
2018-01-15T13:58:09
2018-01-15T13:58:09
114,525,629
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
class Car: def __init__(self, year, price): self.year = year self.price = price def about(self): print("Year of the car is %d and price is %d " % (self.year, self.price), end=" ") class Honda(Car): def __init__(self, year, price, model): Car.__init__(self, year, price) ...
[ "savanminsariya18@gmail.com" ]
savanminsariya18@gmail.com
db9c4a3e84a6f07991c42aaf777fce3637f14486
4f1923a2b4e42e806a2b29709b9aad2464f8831f
/dataloaders/dataset_mnist.py
077cf549bc1a1b27bbfb6b3bf638ecf7a69ddc80
[ "MIT" ]
permissive
ParkLabML/Dirichlet_Pruning
5b6f92d71d671da3b3a4a49c64e9541ef1bdd96e
0cc0406b7034e865dfb63188452fce3d67a0b881
refs/heads/master
2023-04-12T21:45:49.637771
2023-03-30T20:16:54
2023-03-30T20:16:54
340,360,892
2
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
from torchvision import datasets, transforms import torch def load_mnist(BATCH_SIZE, trainval_perc=1): trainval_dataset = datasets.MNIST('data/MNIST', train=True, download=True, # transform=transforms.Compose([transforms.ToTensor(), ...
[ "kamil.m.adamczewski@gmail.com" ]
kamil.m.adamczewski@gmail.com
8926982881ac5435534f5f4f05f69881544cfdf3
6412ca05fa4efc7dac8de48a2b48783bacadd31b
/RUNTriggerStudies/test/crab3_TrigVal.py
f872abe510b33fda522da1167aef687e2247741b
[]
no_license
davidsheffield/RUNA
9f218261d022ec6ef4e22d673e3e519edb7b8cdb
f2ac360844b67777c689a226b92bbe7eb1cb0f6c
refs/heads/master
2021-01-18T10:56:44.233289
2015-11-04T09:24:38
2015-11-04T09:24:38
32,084,290
0
0
null
2015-03-12T15:22:26
2015-03-12T15:22:26
null
UTF-8
Python
false
false
1,960
py
################################################################## ######## TO RUN THIS: python crab3_QCD.py ######## DO NOT DO: crab submit crab3_QCD.py ################################################################## from CRABClient.UserUtilities import config from CRABAPI.RawCommand import crabCommand from ht...
[ "gomez@physics.rutgers.edu" ]
gomez@physics.rutgers.edu
bee05cd03c18b9bfb9bd86c0782b1244d48c34aa
df0ac2efe2037c03f47e8f5b0352d2072e49c315
/paytrek/client.py
eaa42551a8974b9716be3d473ad27832a43c4a04
[ "MIT" ]
permissive
erkanay/paytrek-python-client
59f2b155597ed6f4b1313bbdc10946f62d24abe3
ab02f0c1843647e590667acf161dba7f51c82622
refs/heads/master
2021-05-14T11:13:09.846087
2018-01-05T10:57:30
2018-01-05T10:57:30
116,364,748
0
0
null
null
null
null
UTF-8
Python
false
false
6,232
py
import requests from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarning) class Paytrek(object): BASE_URLS = { 'sandbox': 'https://sandbox.paytrek.com', 'worldwide_live': 'https://secure.paytrek.com', 'turkey...
[ "ytu-erkan-aydin@ytu-erkan-ay.local" ]
ytu-erkan-aydin@ytu-erkan-ay.local
c7462e99e7ed1e7b6c8e80a420ef23d76c534ce7
684007b4f55c6e967bbd36ec6982342950c4e8b9
/user_story/Homework05_Zhonghua_Bao.py
d9967616ee1ae12666d881c005c94f6a621f1f1a
[]
no_license
cyberKnight17/SSW-555-GEDCOM
93066de08bd48de0f562e1d8b9996ff50e33c44d
07a5aa0a79d5fa3df0e2f4f1d1d1eef93c1a9788
refs/heads/master
2021-10-28T08:10:17.499895
2019-04-23T00:15:43
2019-04-23T00:15:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,014
py
from datetime import datetime import unittest def periodCompare(dt1, dt2, dt3, dt4): """Compare two time period dt1 to dt2, dt3 to dt4 whether they have any intersection, include the condition where some date is not given """ result = None # convert string date into the date object if dt1 ...
[ "dingtongwang@outlook.com" ]
dingtongwang@outlook.com
c879960cd4dc775c8db1ba284199a7d0b0825f72
d2d33fe343707afcfdc18c06547e16f7eb166983
/pretopologyx/__init__.py
058ea4059b8b017a99cdb835b4f28a6c0333a8a1
[]
no_license
jalabord/pretopologyx
4db2c8732cc51322f4001b444a33246ea585e8da
03cf8d3d2086773be2e1c1086e71d6cb97a4e528
refs/heads/master
2020-05-14T17:40:17.621699
2019-04-17T13:27:38
2019-04-17T13:27:38
181,896,219
2
0
null
null
null
null
UTF-8
Python
false
false
22
py
name = "pretopologyx"
[ "jlabordebar@gmail.com" ]
jlabordebar@gmail.com
09f47ffa874febc1dd80bb23531d909ac281739b
694c187c8a00bee8c670c1690170099bad9b16b3
/hindex.py
edded2784cbd958ce569e1997c2a49c5589810d0
[]
no_license
ajayvenkat10/Competitive
301f220b6d296f7e34328f192c43c4d7ef208cb1
14f2ecebe10eb19f72cc412dd0c414b3b1de9b4d
refs/heads/master
2022-11-20T14:31:33.590099
2020-07-23T15:39:14
2020-07-23T15:39:14
281,599,951
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
t = int(input()) for _ in range(t): n = int(input()) arr = list(map(int, input().split())) final = [1] val = 2 for i in range(1,len(arr)): count = 0 for j in range(i+1): if(arr[j] >= val): count += 1 if(count>=val): final.append(val...
[ "37923623+ajayvenkat10@users.noreply.github.com" ]
37923623+ajayvenkat10@users.noreply.github.com
18bc999bf22341e382cdddb4ddac6fa6549a0a16
e265e25633c583c5b0b1381238dd0e880d469f22
/blog/models.py
015260753321b75aa80dc91a3fa1eb53ede439dc
[ "MIT" ]
permissive
samuira/TutionMastor
ba59b8b963a761b55d8fedfc2b4d881beef812d3
5b6d89efc90a9ebb54766530554d7dc9d5ee8298
refs/heads/master
2023-01-12T12:26:35.935698
2020-01-04T13:17:18
2020-01-04T13:17:18
205,794,187
1
1
MIT
2023-01-07T09:18:05
2019-09-02T06:50:04
CSS
UTF-8
Python
false
false
633
py
from django.db import models from custom_admin.models import User class BlogPost(models.Model): published_on = models.DateTimeField(auto_now_add=False, blank=True, null=True) created_on = models.DateTimeField(auto_now_add=True, blank=True, null=True) created_by = models.ForeignKey(User, on_delete=models.C...
[ "rajesh.samui@digitalaptech.com" ]
rajesh.samui@digitalaptech.com
0f455d7b176d86b7bb8f1da032242070f9f64c87
c57286a76d184f6b67dfba7faa111ad89e18963c
/backend/website/migrations/0001_initial.py
372cc7e2f389bd23cb665100690acd025ea78b35
[]
no_license
aabele/kartona-strops.lv
3f1b7cde387ad23a40716de7380beac3f4802dba
b56e4b28ed4b9866329922afa4b117a6411ae73f
refs/heads/master
2022-05-05T18:42:42.731670
2019-12-09T19:13:49
2019-12-09T19:13:49
125,759,279
0
0
null
2022-04-22T20:51:48
2018-03-18T19:19:18
Python
UTF-8
Python
false
false
764
py
# Generated by Django 2.0.3 on 2018-03-23 18:13 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Feature', fields=[ ('id', models.AutoField(...
[ "aabele@gmail.com" ]
aabele@gmail.com
6452090ca100845c839848f14ac2d04f85352f4d
934235f70a390a3ba0d7b464cddd10872f31cda3
/rango/server/.history/tango_with_django/rango/admin_20210103130028.py
361f6ca167ae05dc1771706293718383039c718e
[]
no_license
deji100/Projects
6919041ba23e77a5c74e5ab7692bfcee38ececcb
17e64d954d1d7805be57ec5d8d4344e4944889e6
refs/heads/master
2023-04-30T05:25:03.143303
2021-05-20T15:00:43
2021-05-20T15:00:43
338,844,691
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
from django.contrib import admin from .models import Category, Page, User # Register your models here. class PageInline(admin.StackedInline): list_display = ('title', 'category', 'url') # fields = ('title', 'url', 'category') model class CategoryAdmin(admin.ModelAdmin): list_display = ('name', ...
[ "68882568+deji100@users.noreply.github.com" ]
68882568+deji100@users.noreply.github.com
c3e9ab55ca6831d12241535c587607e835858b78
e46a08579915bf098395a0629c237b8de8c21d7a
/migrations/versions/5992dfad25e9_.py
0aef95005ee1a17648dbbb627d8037987a69a774
[]
no_license
arashbzz/asqari
3080b4ee8bf0038ba7298e36ad8fcc125ff5e596
c7b2a3bf10519c3490eaeaf013781449d59e1c71
refs/heads/master
2023-07-10T10:26:28.255035
2021-08-17T12:46:19
2021-08-17T12:46:19
390,408,168
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
"""empty message Revision ID: 5992dfad25e9 Revises: 3a373e361543 Create Date: 2021-07-28 15:59:16.782493 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '5992dfad25e9' down_revision = '3a373e361543' branch_labels = None depends_on = None def upgrade(): # ...
[ "Bazaz.Arash@zistab.net" ]
Bazaz.Arash@zistab.net
9c85786dbab95966ceed294a1c09e09cff8ab036
dda2a2318238440ec424fd566a01e7b6434a55e1
/hello.py
cbdb0de971176a3f22b9f9760dd419f632cc14a2
[]
no_license
sun-ck/learn-pythongit
0004012c955d5c66365ce2ba3710d33e80d3566f
3b92705481625aef030b8e6ec2601622e70a0166
refs/heads/master
2020-04-06T19:33:52.369131
2018-11-18T15:01:13
2018-11-18T15:01:13
157,741,270
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
#! python3 #这个程序用来向用户问好并登记用户的名字 print('尊敬的用户,您好!') print('请输入您的姓名或昵称:') #询问用户姓名或昵称 user_name = input() print('欢迎您加入本社区'+user_name) print('请输入您的年龄:') user_age = input() print('您快要'+str(int(user_age)+1)+'呢了')
[ "sun123scc@163.com" ]
sun123scc@163.com
14c625f012bd3934c0d225cf3b8a13d4edd5e01b
03aaee1451f921f37a3e59801f169086465a3788
/core/urls/v1.py
3f4f8a8fdd75c6390aba3d73aa5cf4bcdd5b79c2
[]
no_license
ChristianCastilloPY/backend_newsletter
197e1e93dad893edfa9a190fb97a08fcb5ba1c8a
43c3055b612a243746930a6d2d9537275870045d
refs/heads/master
2020-11-25T04:58:27.899484
2019-12-17T01:58:25
2019-12-17T01:58:25
228,511,366
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
from django.urls import include, path from rest_framework import routers from core.views import UserViewSet from newsletters.views import NewsletterViewSets, TagsViewSets router = routers.DefaultRouter() router.register(r'users', UserViewSet) router.register(r'newsletters', NewsletterViewSets) router.register(r'tag', ...
[ "cdcb91@hotmail.com" ]
cdcb91@hotmail.com
3d40546c359e6df7d0b2d8d22227284dda05fc65
a826d39ef808eb79b25723fe20caf029d2f4d6b8
/ex1.py
24c1c77191482c05d8d4b7389b460eafa347ef42
[]
no_license
paulvstheworld/functional_programming_exercises
e6f5bc12a17afbbb52249d87478840b8a8a550fa
70d97e90deb38ce6ab60989f6d6ac53351e2256c
refs/heads/master
2020-05-17T03:24:03.350354
2013-11-15T20:11:45
2013-11-15T20:11:45
14,433,478
1
0
null
null
null
null
UTF-8
Python
false
false
485
py
# Unfunctional version: names = ['Mary', 'Isla', 'Sam'] names = map(lambda x: hash(x), names) print names ''' for i in range(len(names)): names[i] = hash(names[i]) print names # => [6306819796133686941, 8135353348168144921, -1228887169324443034] ''' # Rewrite the code above as a map # Expected answer: [63...
[ "paulvstheworld@gmail.com" ]
paulvstheworld@gmail.com
ae6b3ab92e623b9b4eb6f6b440f136d3376dda32
c50a814aace937205c925b44b57cf3078d2416af
/face_detector.py
07c32bfbb992542f88636c7e9f70c252ace9bb18
[]
no_license
JamiKazmi/face_detection
f02bc018e7dbad405f5825093e06ee937c18b52a
434c7dfa6937aa2439922e0520d7fc3b26043026
refs/heads/master
2020-12-18T14:45:03.397862
2020-01-21T19:38:14
2020-01-21T19:38:14
235,424,437
0
0
null
null
null
null
UTF-8
Python
false
false
1,881
py
# import the necessary packages import cv2 as cv import numpy as np # load our serialized model from disk print('[INFO] loading model...') net = cv.dnn.readNetFromCaffe( 'files/deploy.prototxt.txt', 'files/res10_300x300_ssd_iter_140000.caffemodel' ) # load the input image and construct an input blo...
[ "noreply@github.com" ]
JamiKazmi.noreply@github.com
53d4ead111e0079f93a23edb345237fecbed5bb6
ffe599794f7b90997b9721fca9a4ca860ea6e55e
/jionlp/algorithm/ner/ner_data_converter.py
3a62a90f9bed458f6a143984c7ab8c3b4ed5bfcf
[ "Apache-2.0" ]
permissive
XrosLiang/JioNLP
828434fa41440509b0eba84278a432d00f74fc74
63ec32d6c409849d38f275a513b1c02493d85f86
refs/heads/master
2022-11-10T21:37:43.271403
2020-06-24T04:04:26
2020-06-24T04:04:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,477
py
# -*- coding=utf-8 -*- # # NER 数据集有两种存储格式 # 默认采用的标注标准为 BIOES import json from typing import Dict, Any, Tuple, Optional, List from jionlp import logging __all__ = ['entity2tag', 'tag2entity'] def entity2tag(token_list: List[str], entities: List[Dict[str, Any]], formater='BIOES'): ''' 将实体 enti...
[ "dongrixinyu.89@163.com" ]
dongrixinyu.89@163.com
0ea09ec878674f42ce2fb633727af303b0ff9662
830398bc5ae951b153ff695a40be7239742bc73e
/exercises/parse_dhcp_snooping.py
27114f9e94d30bcea5c6296a1383f9c2e461987f
[]
no_license
dmikos/pyneng
ff67f1d617a97d73103a7785a7bf86140e7baa82
543fb0d9fc63a2afee45d2465af3a4c3966e4a86
refs/heads/master
2021-01-25T14:56:44.181140
2018-04-23T04:31:00
2018-04-23T04:31:00
123,739,447
0
1
null
null
null
null
UTF-8
Python
false
false
669
py
# -*- coding: utf-8 -*- import re #'00:09:BB:3D:D6:58 10.1.10.2 86250 dhcp-snooping 10 FastEthernet0/1' regex = re.compile('(?P<mac>\S+) +(?P<ip>\S+) +\d+ +\S+ +(?P<vlan>\d+) +(?P<port>\S+)') result = [] with open('dhcp_snooping.txt') as data: for line in data: match = regex.search(lin...
[ "dkostinov@gmail.com" ]
dkostinov@gmail.com
89e743033bdaf9bc5884b7c64680abb041b596a8
202c8826e2a32f9414b653e1ea12ebc09c7a8039
/mysql_db.py
d730e2b3bc3debf008d7e337dbc21a58b241cfea
[]
no_license
alexsumsher/mysql_connector_pooler
22727ac4bd9f9667c9b02152851abad0d8215fbe
f92f549ea14d58a86a668d2c3b26f4fb3527450f
refs/heads/master
2022-10-23T18:28:49.832336
2022-10-12T02:43:02
2022-10-12T02:43:02
145,304,551
1
0
null
null
null
null
UTF-8
Python
false
false
28,820
py
# -*- coding:utf-8 """ MySQL Database Connection. change to fit for poolo class. last update: 20171229. update: com_con,增加flexiable模式的pool 20180103: com_con, __enter__ with elock(thread.Lock) for thread safe 201803:new arg for execute_db: get_ins_id(false), weather return last insert id """ import MySQLdb import loggi...
[ "ersummer@126.com" ]
ersummer@126.com
5bbdcda6e08ba418163a20d725764c3c934c7ae2
ba9d6e33133709eb8ef9c643e50646596f8ab98b
/utils/tools.py
5d777f1c3521baca1b75c38a1b54257f5527b79d
[]
no_license
otniel/computer-vision
2eb5588d7662ada0999001083e5562e3c3e69fd1
82430fd60c21d3f6c6609b429b051b25526b0102
refs/heads/master
2021-01-25T07:07:51.592712
2015-05-18T17:29:10
2015-05-18T17:29:10
29,542,857
1
0
null
null
null
null
UTF-8
Python
false
false
7,169
py
__author__ = 'otniel' import Image import numpy as np import random import matplotlib.pyplot as plt from math import sqrt, floor MAX_PIXEL_INTENSITY = 255 HALF_PIXEL_INTENSITY = 127 MIN_PIXEL_INTENSITY = 0 def invert_rgb_image(image): pixels = image.load() inverted_image = Image.new(image.mode, image.size)...
[ "otnieel.aguilar@gmail.com" ]
otnieel.aguilar@gmail.com
44b98e1c1ec0e2b236ab9eaf250583dc65a3c145
8a69bc0f671d19213d22d42e193ad9aaf157a060
/server/apps/products/urls.py
40b3826a41d05320c5757b3616f5a3353b52bc7b
[]
no_license
seanli9018/ecommerce_site
1d11741caad7f7f183b7df18d6920f9302790f73
bbe20afea850eaf44f2eec3a2b5fa5a6c4a0d82b
refs/heads/master
2023-03-07T22:56:32.514787
2021-02-19T05:15:16
2021-02-19T05:15:16
340,264,502
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from django.urls import path from .views import ProductCategoryView app_name = 'products' urlpatterns = [ path('product-categories/<int:parent_category_id>/', ProductCategoryView.as_view(), name='product-categories'), ]
[ "seanli9018@gmail.com" ]
seanli9018@gmail.com
4e9a441e005deba519bdcadeb7ea62dcdca17ba3
6c491c91b9d99a7b0a8d39bbc1a7c785cf9bba1d
/erehwon/profiles/forms.py
319004e783acd54776ba941df175729fd4e43072
[]
no_license
lucyrose93/Erehwon
7daa4e7a5c1bc5b395de54df9b6cdd86496b4f3f
4afc65305b8e4ff1e069fa444d3012ffeaa54e03
refs/heads/master
2020-05-29T08:50:53.152262
2016-10-06T18:36:10
2016-10-06T18:36:10
70,182,174
0
0
null
2016-10-06T18:56:46
2016-10-06T18:37:43
JavaScript
UTF-8
Python
false
false
380
py
from django import forms from profiles.models import Project, ErehwonUser from registration.forms import RegistrationForm class ProjectForm(forms.ModelForm): class Meta: model = Project fields = ('title','synopsis') class ErehwonUserSignUpForm(RegistrationForm): model = ErehwonUser ...
[ "marizadima@yahoo.com" ]
marizadima@yahoo.com
6c28b314b4dcc23be0144989a21fad8e4a426699
792bf6c694f519ac4fd7a3ac343d4c3e17e55d9d
/a6_merge_sort.py
e2b4dbc0405a76801bd7d5c2ecee338906687597
[]
no_license
atm1992/algorithm_interview
fb96b65f5ed2d0f3d6b6c5b430e9d33476d38aa2
ac1c2b041595e9689d775c69af373ec743299e3b
refs/heads/master
2022-12-13T06:56:02.056105
2020-08-18T15:58:11
2020-08-18T15:58:11
275,198,470
0
1
null
2020-08-31T13:10:09
2020-06-26T16:18:40
Python
UTF-8
Python
false
false
1,313
py
# -*- coding: UTF-8 -*- """ 归并排序。 核心思想也是分治法,先递归分解数组,然后再合并数组 """ def merge_sort(alist): if not alist or len(alist) < 2: return alist n = len(alist) mid = int(n / 2) # left_li是对原列表左半部分进行归并排序后,返回的有序新列表 left_li = merge_sort(alist[:mid]) # right_li是对原列表右半部分进行归并排序后,返回的有序新列表 right_li = me...
[ "atm1992@126.com" ]
atm1992@126.com
737e1ba8f65b27a875696795e43eca53b3814c61
566d1c7e6fcf1ec0bf9a196feb3537ed1fec2408
/index/urls.py
c382e05be35d2701260074d334efcc5f42df2118
[]
no_license
fduecnkbc/damir-django
99398d2de81a741bd78b42a5a7b6dfbbdfc6afc5
13ec3592a486e17640952e4ac207bc3aaa9913a7
refs/heads/master
2021-01-17T21:01:36.931939
2017-03-21T04:57:59
2017-03-21T04:57:59
84,156,805
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ # Examples: # url(r'^$', 'index.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)), url(r'', include('news.urls')), url(r'^about/', include('...
[ "fduecnkbc@gmail.com" ]
fduecnkbc@gmail.com
bb53c9e191f0e6ad1a21914ca66f769ef49f3c88
ac8c31b5971161adf0b7e66d85effd0ec8f5b7dd
/Day 033/kanye/main.py
a023e6eb5e6d84c625ee4856c063de221ad7422a
[]
no_license
satuhyva/100daysOfPython
5f7e7e1959358bcb370f73abe0e5b9627acf01a2
bdd93c290434aa05bcd52cd96d602bd72acc4a41
refs/heads/master
2023-08-17T01:10:35.218447
2021-09-20T05:59:15
2021-09-20T05:59:15
394,317,321
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
from tkinter import * import requests KANYE_URL = "https://api.kanye.rest" def get_quote(): response = requests.get(url=KANYE_URL) quote = response.json()["quote"] canvas.itemconfig(quote_text, text=quote) window = Tk() window.title("Kanye Says...") window.config(padx=50, pady=50) canvas = Canvas(wi...
[ "hyvarinen.satu.i@gmail.com" ]
hyvarinen.satu.i@gmail.com
d0e7fe53fe08e74620f08cc5d9b706d7ef3555b0
055a4195d5761784742014a1b365eab2708aa9c0
/v3.py
e5b530774c9d980c71e6139c5bc38f6f68e0a596
[]
no_license
gandharv42/versions
90bf1a1aab95d3f9bdb739edfb8ca40755923404
beb5fb581b387af4bded48269c5c4767fdb8baa2
refs/heads/master
2020-03-23T12:17:59.917246
2018-07-19T11:19:38
2018-07-19T11:19:38
141,550,244
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
print ("version 3")
[ "noreply@github.com" ]
gandharv42.noreply@github.com
27c40c41352325b166a5a71d7ac5b3512c460b63
58df77a3bf48213326872a878a15a737c56fad0d
/lists/migrations/0004_auto_20191120_2237.py
3b4a2a57e34f84ec53972489585bbef61566fb8f
[]
no_license
samnoh/airbnb-clone
7d84e3a09f7ca40cf2673bf8abe7d6820f18a4df
f5d9fdc096b4c40c27b391381686d4067f263894
refs/heads/master
2023-01-24T05:50:16.922036
2019-11-25T09:18:22
2019-11-25T09:18:22
211,789,729
0
0
null
2023-01-05T00:08:24
2019-09-30T06:22:55
Python
UTF-8
Python
false
false
530
py
# Generated by Django 2.2.5 on 2019-11-20 09:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('lists', '0003_auto_20191120_2216'), ] operations = [ migrations.AlterField...
[ "samnoh21@outlook.com" ]
samnoh21@outlook.com
6ecbe9483dab0157b3744392d025a5dedadd6fb3
945f32b99fd1fb2a37dcdca3d0c8d2a434fc898d
/chap01/print_stars2.py
0063d53a065799752c49bd8d784801294865a83e
[]
no_license
MadJangE00/Algoritom_py
aa80084d21b9d6d7bcdfbc648e484d3170cbe262
890197acd5f727a6122f44e70b029e59d21a05ab
refs/heads/master
2023-08-24T19:53:28.993443
2021-09-28T08:00:49
2021-09-28T08:00:49
401,956,136
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
# *를 n개 출력하되 w개마다 줄바꿈하기 2 print('*를 출력합니다.') n = int(input('몇 개를 출력할까요?: ')) w = int(input('몇 개마다 줄바꿈할까요?: ')) for _ in range(n // w): print('*' * w) rest = n % w if rest: print('*' * rest)
[ "jiniixz@naver.com" ]
jiniixz@naver.com
86c3d10160790fc3aac4e804d5ec45920a02f446
380181172d9ccfaf373de5d5622ddf828b9a4d65
/make-sense-of-census-with-appending,slicing,mean,indexing/code.py
357385407051d0fedc514d23bfc08619328ebd63
[ "MIT" ]
permissive
ELAYARANI-MURUGESAN/greyatom-python-for-data-science
859df4ae4c4afefeb8a9cca9d420f6c9bbe6481d
67b0ad011eee86bb0dff0ee704575293809301f4
refs/heads/master
2022-10-05T12:36:56.413231
2020-06-06T12:45:14
2020-06-06T12:45:14
262,404,847
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
# -------------- # Importing header files import numpy as np import warnings warnings.filterwarnings('ignore') #New record new_record=[[50, 9, 4, 1, 0, 0, 40, 0]] #Reading file data = np.genfromtxt(path, delimiter=",", skip_header=1) #Code starts here new_record=np.array(new_record) #print(new...
[ "ELAYARANI-MURUGESAN@users.noreply.github.com" ]
ELAYARANI-MURUGESAN@users.noreply.github.com
626c1f1516f5ea6e5a6e6d929b05d0d694b71eac
82f2d0c99b8f8d0b3a404b82ce69acf44d88aace
/application/factory.py
b7d317d188af5f39e1ac43d05cf13f205b972970
[]
no_license
digital-land/register-editing-tool
aedf4af00f64000194d1b1d9cf82c2d87a31c38e
a0b2b1ca2fca9f6840993e98891026063dbb672b
refs/heads/master
2022-12-23T01:12:44.303887
2019-07-01T07:56:14
2019-07-01T07:56:14
192,899,362
0
1
null
2022-12-08T05:16:47
2019-06-20T10:23:39
CSS
UTF-8
Python
false
false
568
py
from flask import Flask def create_app(config_filename): app = Flask(__name__) app.config.from_object(config_filename) register_blueprints(app) register_extensions(app) # register_errorhandlers(app) # register_extensions(app) # register_commands(app) # register_filters(app) # register_cont...
[ "splogy2001@hotmail.com" ]
splogy2001@hotmail.com
5582f91bf1c3cfa75269b84d834ed3f9e08e0ee2
5ef96b278a419451ea1715b37c0cca6ee7ff6ca2
/ms-labor/simpleled.py
eb45cc4c047a39eece077f5cebf81cafc92abb4a
[]
no_license
tedeler/SS17_ITSMOSY
a144715f8e7edf323286237275ccce75be0ff41e
d568ffb24bd429a7c5d3187137ab09213ced2a7f
refs/heads/master
2021-01-22T22:57:55.508159
2017-04-18T14:02:08
2017-04-18T14:02:08
85,598,353
1
0
null
null
null
null
UTF-8
Python
false
false
396
py
import RPi.GPIO as GPIO # GPIO Bibliothek importieren import time # Modul time importieren GPIO.setmode(GPIO.BOARD) # Verwende Board-Pinnummern GPIO.setup(26, GPIO.OUT) # Setze Pin 26 (GPIO7) als Ausg GPIO.output(26, True) # Lege 3.3V auf Pin 26 time.sleep(0.5) # Warte 500ms GPIO.out...
[ "torsten@localhost.localdomain" ]
torsten@localhost.localdomain
401fca7adffd5ba9509dd1df0b1cbe1c58dd4a61
ed4b355a76406afd7ae6e428f4a13b5989bc1f1a
/flow_control.py
980f2e3220f58ed341fa1d05f4403b54403621c6
[]
no_license
aymanesarrar/baby-python-steps
79ba86e11f1101440ddb6b0d208d303221416c6e
b317ac0d30338ed02669df3955d90f234f859b2a
refs/heads/main
2023-03-15T09:37:56.450743
2021-03-18T00:23:53
2021-03-18T00:23:53
343,595,237
2
0
null
null
null
null
UTF-8
Python
false
false
312
py
print('enter your age'); myAge = input() # idk man fuck python # writing some if check and learning some python syntax d zb wtf # ta chnahua hadchi azebiiiiiiiiiiiiiiiiiiiii if myAge >= 18 and myAge <= 50 : print('kbir') elif myAge > 50 and myAge <= 90 : print('kbir chuia hh') else : print('ta sir t9awd')
[ "aymensarrar1@gmail.com" ]
aymensarrar1@gmail.com
b8059810cfb4b4b8f554743338573e95cf4247f5
e31c411b82bee8d1ce1d45887e979fd95a4bb814
/venv/test.py
42e66d2150d310e879a63798cbc51bc05f9b6422
[]
no_license
ZTianle/reselm
9c1994e4b7907bdd4a304a4f64df00a4f956b59f
94e2732bfd3a62218ba247f41a495f0686f4239a
refs/heads/master
2020-05-03T23:18:44.398788
2019-04-02T14:13:07
2019-04-02T14:13:07
178,862,728
3
0
null
null
null
null
UTF-8
Python
false
false
783
py
import pandas as pd import numpy as np import matplotlib import matplotlib.pyplot as plt from elm_confidence import HiddenLayer import math #准备数据 y=sin(x) x = np.arange(0, 2*np.pi, 2*np.pi/100) y = np.sin(x) x = x.reshape(100, 1) y = y.reshape(100, 1) y_real = y + np.random.randn(100, 1)/5 plt.plot(x, y) plt.scatter(x,...
[ "tianlecsu@126.com" ]
tianlecsu@126.com
0939786d769d6a46962a9bc61dc23f0e581d5056
b0a049c1170ea9cab31af77f4007085bfd27b2bc
/ros_basics/src/actions_quiz/src/my_script.py
cc36cf4540da212ec33200f5e922567c374b7c51
[]
no_license
nikh1508/ros_course_ws
edddfcbe0b7f1fc28cc019d1304ec2b65139481e
a1169ae7cc5ea6d15d35d19a670207f38148a1c9
refs/heads/master
2022-11-16T04:04:18.145933
2020-07-12T18:24:52
2020-07-12T18:24:52
275,440,694
0
1
null
null
null
null
UTF-8
Python
false
false
1,543
py
#! /usr/bin/env python import rospy import actionlib from actions_quiz.msg import CustomActionMsgAction, CustomActionMsgFeedback, CustomActionMsgResult from std_msgs.msg import Empty class CustomActionClass(object): _feedback = CustomActionMsgFeedback() _result = CustomActionMsgResult() _empty_msg = Empty...
[ "nikh150897@gmail.com" ]
nikh150897@gmail.com
a4c1cf9e7c876efc67b76ab08038a1496f959d60
5b21ba23e00c7c9c0596be99c45fb6c02339fe5b
/ex15.py
acfc10aa9a25b6bf9f679fa6b48911fae30217e4
[]
no_license
yuanzizi/py104
b1869da749e82a2931fe6dad861ee53ee254465a
013edb63a2f4d2c177dd41cffac6f7d343818e71
refs/heads/master
2021-01-09T23:40:27.866373
2017-08-10T07:04:02
2017-08-10T07:04:02
98,857,079
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
# ---- ex15 文件操作---------------- from sys import argv script,filename = argv txt = open(filename) # txt 文件指针的值 # <_io.TextIOWrapper name='ex15_sample.txt' mode='r' encoding='cp936'> # print(txt.read()) # 中文的文件要改编码,要不运行结果会报错 # UnicodeDecodeError: 'gbk' codec can't decode # byte 0xaf in position 113: illegal multi...
[ "eric_chi@139.com" ]
eric_chi@139.com
8435baa0b8beaab331ff8904a8889f896a8d23c0
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v9/services/services/third_party_app_analytics_link_service/transports/__init__.py
502d5cf2169f355fb53779b340f3900e0e913770
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
1,141
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
ce7050ab38a7683c7b476a80901ac6beac9d0799
4fbd844113ec9d8c526d5f186274b40ad5502aa3
/algorithms/python3/maximize_distance_to_closest_person.py
37e744aa546a7f515c70e1f156bc63f0f499ee8d
[]
no_license
capric8416/leetcode
51f9bdc3fa26b010e8a1e8203a7e1bcd70ace9e1
503b2e303b10a455be9596c31975ee7973819a3c
refs/heads/master
2022-07-16T21:41:07.492706
2020-04-22T06:18:16
2020-04-22T06:18:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
# !/usr/bin/env python # -*- coding: utf-8 -*- """ In a row of seats, 1 represents a person sitting in that seat, and 0 represents that the seat is empty.  There is at least one empty seat, and at least one person sitting. Alex wants to sit in the seat such that the distance between him and the closest person to him...
[ "capric8416@gmail.com" ]
capric8416@gmail.com
d86e1749616a76d2d38d3047025c8bd2f53d42fd
53438732c6bc70b0d15eea99d961d6036f8839df
/Auth1/venv/bin/pip3.7
7e7d4a7ec99e985fd6466a5c34625337413e6453
[]
no_license
Amarjeet2629/MyPycharmProjects
6e07c972dce8ef12453ae0246bcbfcfd03cba1fb
179a87f327d7c036a6192d0c6e372f2f1e3588ff
refs/heads/master
2023-05-07T20:32:22.091132
2021-04-20T17:06:15
2021-04-20T17:06:15
224,671,445
0
0
null
2023-04-21T20:51:29
2019-11-28T14:32:13
Python
UTF-8
Python
false
false
410
7
#!/home/amarjeet-pc/PycharmProjects/Auth1/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "amarjeet.sinha.mec17@itbhu.ac.in" ]
amarjeet.sinha.mec17@itbhu.ac.in
7d8d38cff56abaccc46b4bc63af8baaa72e792f3
36ccb119c5a6bb1eb0f40ac34441bc78ae929fc4
/i3/blocks/imap
374a33535dfe4a4b0fb2682f1cae044d2a8017cb
[]
no_license
saraiva132/mydotfiles
dc6b3535af4a84ecf3d53a69a0a1db5820baa8e5
a09d2becfd47a21bb67e5575c2e85c27aa495378
refs/heads/master
2021-01-22T03:57:53.563105
2015-08-24T10:43:04
2015-08-24T10:43:04
35,304,697
0
0
null
null
null
null
UTF-8
Python
false
false
615
#!/usr/bin/env python import imaplib cache_timeout = 60 criterion = 'UNSEEN' imap_server = 'imap' mailbox = 'INBOX' name = 'unread' password = 'password' port = '993' user = 'user' def _get_mail_count(): try: connection = imaplib.IMAP4_SSL(imap_server, port) connection.login(user, password) ...
[ "rafael.saraiva@ua.pt" ]
rafael.saraiva@ua.pt
d7c149230b5773e89538397e73a63aabde5f11dc
274f13f5e1a2a440f262fb289edd035589cc1b89
/main.py
ceff8c6964352822efb5c35c4fe2ca367d12daeb
[]
no_license
brendanjhays/CavernRL
ba97cf010e5f43cd12efc4b6f905b5b47b6f2276
d4be7bd390b6c7333412baa64dc04f44b9b395ad
refs/heads/master
2023-06-30T14:34:44.526360
2021-07-31T00:28:26
2021-07-31T00:28:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
from typing import Set import tcod from const import Settings, Colors from engine import Engine from dungeon_procgen import generate_dungeon import copy import entity_factories import traceback def main() -> None: tileset = tcod.tileset.load_tilesheet( "sampleRoguelikeGraphic.png", 32, 8, tcod.tileset.CHA...
[ "brendan@luggle.com" ]
brendan@luggle.com
dd59dfa1017f3a432517f488d3749ce29cdab955
be116b3c2d9f1ecf8e1abf7e9916505a6c2b9359
/secondDay/TwoColorsBolls.py
18dcf20315bce1388053222ddc70b5702ec666a2
[]
no_license
littleyellowbicycle/MyPython100Days
eee13a2ccbcc2aa76c4e327beed3bae3550273bb
106d96feb020a9e40dc47a2d9d59f67eb9a6af11
refs/heads/master
2020-06-02T03:28:30.883872
2019-07-16T15:32:28
2019-07-16T15:32:28
191,020,746
1
0
null
null
null
null
UTF-8
Python
false
false
720
py
from random import randrange, randint, sample def display(balls): ''' for index, ball in enumerate(balls): if index == len(balls) - 1: print('|', end='\n') print('%2d' % ball, end=' ') ''' for index in range(len(balls)): if index == len(balls) - 1: print...
[ "33934765+littleyellowbicycle@users.noreply.github.com" ]
33934765+littleyellowbicycle@users.noreply.github.com
b1f6c26aa06da29d31a9474eab24f85605527cdd
1c6fa623a4d84a1d40a6c9a511932fcb429dc573
/game_agent.py
3e2d18f838b7545b37e5eda1ae53c8fa40aab036
[]
no_license
paumartinez/AIND-Isolation
c43a238f96ff521629d949115ac3513a618a61d8
3dc6e4845aa7963c26b4ac656b6d4acef9452205
refs/heads/master
2021-01-13T13:05:02.918337
2017-06-22T01:44:18
2017-06-22T01:44:18
95,062,605
0
0
null
null
null
null
UTF-8
Python
false
false
16,632
py
"""This file contains all the classes you must complete for this project. You can use the test cases in agent_test.py to help during development, and augment the test suite with your own test cases to further test your code. You must test your agent's strength against a set of agents with known relative strength usin...
[ "paulamartinez86@gmail.com" ]
paulamartinez86@gmail.com
77cfa477b7c2922f9a2391fe201ca9abb75d5870
42d62352448b65d7890dbcef4f1a278b78ff12c8
/tox.ini
20bd31455aeff16031c69fa852822995ed6d1cd9
[]
no_license
bboalimoe/avos
76d4396ccdc8ebf655e18c193cb696bac74ede85
9722d4757ef004f368de825f45e7490905a0b6ed
refs/heads/master
2020-12-11T03:52:31.081813
2014-08-24T09:55:47
2014-08-24T09:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
326
ini
#!/usr/bin/python # -*- coding: utf-8 -*- # This file is part of avos. # https://github.com/wumaogit/avos # Licensed under the MIT license: # http://www.opensource.org/licenses/MIT-license # Copyright (c) 2014 wumaogit actor2019@gmail.com [tox] envlist = py27, py34, pypy [testenv] commands = make setup make...
[ "actor2019@gmail.com" ]
actor2019@gmail.com
ff4c06f31536caffeed006b0bbb64555379489a6
96c3bd445497314c6aa72941e2bbee7a452f0ac4
/fabfile.py
25784f79c98c4b765d99c882a5be23187b3b4845
[]
no_license
L00J/LJblog
c729640845f180afa5bdb3c0c183f19148b82226
44361cbd801a03ae4196bf3e25f2374ee23e1ee3
refs/heads/master
2020-05-22T13:51:29.235362
2019-05-13T08:07:56
2019-05-13T08:07:56
186,367,261
0
0
null
null
null
null
UTF-8
Python
true
false
2,506
py
from fabric.api import env,run,cd,local,task,abort from fabric.colors import green,yellow,red from fabric.context_managers import settings,hide from fabric.contrib.console import confirm import datetime nowTime=datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S') env.user = 'root' env.port = '55555' env.hosts = 'op...
[ "admin@attacker.club" ]
admin@attacker.club
6facf6cbf0378817c10bb92998c839f580db38b2
6fb294c9433cd8e829f325c70ac49cde0e3f8b62
/day3/ex14.py
39bbf46dd4cb42d07e35ed76e09357c8828c8e6d
[ "MIT" ]
permissive
dsky1990/python_30days
52fd479027b9f7ec9f9cc868a9b170b025aa3a7a
3a9d8a29bd32979be1f4ef01be44999073dab5c4
refs/heads/master
2020-04-01T23:50:12.806760
2018-11-07T15:16:27
2018-11-07T15:16:27
153,775,207
1
0
null
null
null
null
UTF-8
Python
false
false
509
py
from sys import argv script, user_name = argv prompt = '>' print("Hi %s, I'm the %s script" %(user_name, script)) print("I'd like to ask you a few questions") print("Do you like me, %s?" %user_name) likes = input(prompt) print("Where do you live %s" %user_name) lives = input(prompt) print("What kind of computer do yo...
[ "dutian1990@gmail.com" ]
dutian1990@gmail.com
a4a27e3eb0c39273105293f96a89dc9b05e6f10a
b6a84594f8c29d968014faaddd49abeb7537a5fc
/python/1040.moving-stones-until-consecutive-ii.py
799deed3b361b4636ffa827b1e859308649b708d
[]
no_license
nickyfoto/lc
8a6af3df114e693e265d0ede03f4d4e1283e010e
3633b4df3e24968057c7d684689b931c5a8032d3
refs/heads/master
2020-09-16T19:23:07.765917
2020-06-07T17:18:06
2020-06-07T17:18:06
223,866,098
0
0
null
null
null
null
UTF-8
Python
false
false
1,913
py
# # @lc app=leetcode id=1040 lang=python3 # # [1040] Moving Stones Until Consecutive II # # https://leetcode.com/problems/moving-stones-until-consecutive-ii/description/ # # algorithms # Medium (52.07%) # Likes: 152 # Dislikes: 231 # Total Accepted: 4.5K # Total Submissions: 8.7K # Testcase Example: '[7,4,9]' # ...
[ "nickyfoto@gmail.com" ]
nickyfoto@gmail.com
ff07c2b3a2221434ea44dabaa054aad91240ca18
5b50f00bd39791aa264128c352c78004b6252d43
/fav_books/urls.py
2a55820ffa1dd7d6dc273e8b30efa60a28ad8f43
[]
no_license
DaThresh/Favorite-Books
49612b71cbdf8aceec75ab28fca3729d82636f58
4f4682c7240e671469aaad4f820ed511261f9db9
refs/heads/master
2020-08-17T11:32:17.623293
2019-10-16T23:01:57
2019-10-16T23:01:57
215,659,563
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
"""fav_books URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-...
[ "thresh3@me.com" ]
thresh3@me.com
f3057fbc1b612e77ddaea8db1695d3c1244a8059
1d925c3989e80d4cc9d635bf928318646621f722
/PythonClassData/P4-P5/School_Assignment/school_ease/manage.py
3de13f640b7a5add6311137596620bafd4c7ce6d
[]
no_license
mukeshbhoria/PythonClassData
0af81db1c9635d4a08db92bd36d1bbf1db251212
e2378b7ddb0acc5123e0c7227ce617fb63c701ff
refs/heads/master
2022-04-22T05:14:15.285934
2020-04-15T07:07:57
2020-04-15T07:07:57
255,844,437
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'school_ease.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "mukesh.bhoria555@gmail.com" ]
mukesh.bhoria555@gmail.com
9adf50d27141869fb0693ddeb11ca31431191545
bd93fa910151c278be8249055bc084e5a5c35a6a
/Python/DjangoTest2/booktest/models.py
3735ebb85498b072da8a92f26cec7a80e612790c
[]
no_license
ahojcn/practice-code
bd81595b80239cd2550183093566bd536a83ed3f
b65f4e76271479269463e92fd3fd41585c2ac792
refs/heads/master
2021-07-10T14:15:08.036592
2020-07-09T11:32:16
2020-07-09T11:32:16
153,059,349
2
2
null
null
null
null
UTF-8
Python
false
false
704
py
from django.db import models # Create your models here. # 创建模型 class BookInfo(models.Model): """图书模型类""" # 图书名 btitle = models.CharField(max_length=20) # 出版日期 bpub_date = models.DateField() def __str__(self): return self.btitle class HeroInfo(models.Model): """书中的英雄人物类""" # ...
[ "hanoi_ahoj@icloud.com" ]
hanoi_ahoj@icloud.com
bda4e649a366f06ac199f0d86b0577ac277b22a9
7a5d867c9f80661900ee711389e272dc2bfb47ab
/PubSub/gcp_pubsub_client.py
53fa5eedffe5e45010c2b1d1ac4b809dad81ea3a
[]
no_license
AliAbdelaal/pubsub-lib
20478b75fa436402f966415db0a5c3da09e4a40c
a3a079abfe7164ecee9044e162897bf1301d3e13
refs/heads/master
2023-03-11T00:52:31.351791
2021-02-21T21:49:07
2021-02-21T21:49:07
340,931,014
1
0
null
2021-02-21T20:23:29
2021-02-21T15:13:26
Python
UTF-8
Python
false
false
1,832
py
import os import json from typing import Callable, Tuple from google.auth import jwt from google.cloud import pubsub_v1 from PubSub.broker import BrokerClient PUBLISHER_AUDIENCE = "https://pubsub.googleapis.com/google.pubsub.v1.Publisher" AUDIENCE = "https://pubsub.googleapis.com/google.pubsub.v1.Subscriber" def ack...
[ "aliabdelaal369@gmail.com" ]
aliabdelaal369@gmail.com
2dd164c21f51f254b46bd69ad2fcaba6affe1449
4564271e589df65d62a0d1c9d26a3d66342991cf
/Missions_to_Mars/scrape_mars.py
617e3331c6314bcdb5da970ac8d3b7e9f59eaf70
[]
no_license
katshamai/web-scraping-challenge
bc5aefe2b33882b41ddc49ec090200f402295c8b
9b4be5027891705f7650d3d97c7be2da32c93813
refs/heads/master
2022-12-03T06:18:41.108178
2020-08-22T15:57:25
2020-08-22T15:57:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,416
py
# Dependencies from splinter import Browser from bs4 import BeautifulSoup as bs import time from webdriver_manager.chrome import ChromeDriverManager import pandas as pd import requests from IPython.display import HTML def init_browser(): executable_path = {'executable_path': ChromeDriverManager().install()} br...
[ "64203831+katshamai@users.noreply.github.com" ]
64203831+katshamai@users.noreply.github.com
8d1a3522d4cfd4b873a8f1089516307ab89e8605
d0281cecabd070c399d18612bbb3ba11913c0ab1
/venv/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py
2f6941ef65e3378a7104657698538b9f1db55d8d
[ "MIT" ]
permissive
yuxuan1995liu/darkflowyolo_detection
f0b7aa0a667591da9736fb2860d6080b2fc41577
a7807e9b85833e3f877d46bb60e8fa7d0596a10b
refs/heads/master
2022-11-03T04:00:42.996414
2019-05-10T01:58:59
2019-05-10T01:58:59
185,880,108
0
1
MIT
2022-10-30T16:38:49
2019-05-09T22:28:01
Python
UTF-8
Python
false
false
514,131
py
"""Python wrappers around TensorFlow ops. This file is MACHINE GENERATED! Do not edit. Original C++ source file: array_ops.cc """ import collections as _collections import six as _six from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow from tensorflow.python.eager import context as _context from te...
[ "yuxuan@mit.edu" ]
yuxuan@mit.edu
bdc5ced79424f14b50fb5c169992cc1ff2600102
d066177b3ab0a6b95542012a6d7ec5ad0ea5c8a7
/routes.py
0f232b861daa1eaacbe886e6ff9fbee0fdc33ce4
[]
no_license
kat-temp/wildfire-app
9e3cb099c06e9bb2f2d3cdb3b86816f45a1a5802
750cd2cac6d7650cfe70aab04628c399ae1195a5
refs/heads/master
2020-07-16T06:09:16.768637
2019-11-18T17:54:37
2019-11-18T17:54:37
205,735,798
0
0
null
null
null
null
UTF-8
Python
false
false
10,761
py
from app import app, db from flask import render_template, flash, redirect, url_for, request from app.forms import LoginForm, RegistrationForm, DeviceForm from app.models import User, Device, Temperature_Sensor, Humidity_Sensor, Rainfall_Sensor, Soil_Moisture_Sensor, Smoke_Sensor, Fire_Sensor, GPS_Module, Image from fl...
[ "noreply@github.com" ]
kat-temp.noreply@github.com
e4bc7b6b121c3119273fd3ba6f036e1f1642683d
85be14600f251c09e364d712e629a4c2bb6082de
/CIS_211_CS_II/BlackJack/Deck.py
d37ed70b599adbe2570d07b7fcaac1ddf33bb6b1
[]
no_license
MrCQuinn/Homework-2014-15
04afc94d1ffc63919a48fbe66910457a9f8d05c7
cbaae190a3f086b7786cf391998f57b74217f72a
refs/heads/master
2020-07-03T06:22:51.718106
2016-11-19T07:35:30
2016-11-19T07:35:30
74,193,022
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
#Charlie Quinn #Deck class from sys import argv from Card import * import random class Deck(list): """ deck class, inherits from list class and constructor builds a list of 52 card objects. shuffle randomizes list, deal returns first n items, and restore adds card items back into the list """ ...
[ "cquinn@uoregon.edu" ]
cquinn@uoregon.edu
bc204ab56e855fa8c56fd746ff56d047dc26ef49
4d115936b966158d28ebcbc0c8a6eaf1134b7b09
/problems/0020-valid-parentheses.py
f44c7b857c772989c61f4af6fb8a3f64c55801d5
[ "MIT" ]
permissive
tzxyz/leetcode
14f96db680e0b5f45dcbbc8e7f29e93edecc02b6
d599e223bed1b957a1283face7606cb651b28ec4
refs/heads/master
2020-05-27T06:22:48.406946
2019-11-14T14:04:21
2019-11-14T14:04:21
188,520,416
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
class Solution: """ 给定一个只包括 '(',')','{','}','[',']' 的字符串,判断字符串是否有效。 有效字符串需满足: 左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 注意空字符串可被认为是有效字符串。 示例 1: 输入: "()" 输出: true 示例 2: 输入: "()[]{}" 输出: true 示例 3: 输入: "(]" 输出: false 示例 4: ...
[ "tz.zhuo@protonmail.com" ]
tz.zhuo@protonmail.com
3e39303e74df429285427f7db29619d28902ae04
9165eeb69b43fbc200f6dfb895bd50137424de5a
/爬虫脚本/分布式招聘/demos/settings.py
2ae85ebfb9d92dab649563298a569d7b7dd95cbe
[]
no_license
a605226760/jybian.github.com
65ff9831d2bad01d98a72cfff4f9f39b3c5086d1
7e72ecb3bdbd9ce7dde64b6db74ec9b108d52312
refs/heads/master
2020-04-26T11:33:24.563686
2019-03-05T11:32:11
2019-03-05T11:32:11
173,520,838
1
0
null
null
null
null
UTF-8
Python
false
false
3,998
py
# -*- coding: utf-8 -*- # Scrapy settings for demos project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics/...
[ "noreply@github.com" ]
a605226760.noreply@github.com
6cab586c5fe18fc1b1339548aefc8d5ae4987248
77191e8a70c99048e319c35446f8538cb2242618
/train_val.py
d7bac05ead774ccb5c5d03bf3e8e93d806ab3c8d
[]
no_license
alexander-rakhlin/embl_project
d5a19ff25dc53ce82b48bb107c379b5ad9a49cd5
de3b1accf888ce4ecbb3f060182d39b095e42f65
refs/heads/master
2020-07-23T19:27:15.422250
2019-12-04T16:18:08
2019-12-04T16:18:08
137,078,576
0
0
null
null
null
null
UTF-8
Python
false
false
5,396
py
from datagen import Iterator from models import m46c, r34, xcpt import numpy as np import pandas as pd import pickle from pathlib import Path from keras.callbacks import ModelCheckpoint, CSVLogger from utils import double_division_tracks, curated_tracks ROOT = Path('data/Timelapse_2019') INTENSITY_COLS = ['GFP_20', '...
[ "rakhlin@gmx.net" ]
rakhlin@gmx.net
564d81d0051cf261ea8cf3a8060afb2cc81c2406
718f4a6f53da14dbd79031928900a26c4de65ccb
/optimize_NMDA_KIN2.py
bf70c8a044f4ff48aa4d86895cd5e68a6e41e55f
[]
no_license
neurosutras/CA1Sim
ff37e5ae96cc00d923bbcf333d75842c34156b5b
9a5796e5de9b9be477d61837c164fcbccbe3c8ce
refs/heads/master
2023-04-08T01:39:09.559475
2022-01-13T20:20:45
2022-01-13T20:20:45
29,497,263
4
3
null
null
null
null
UTF-8
Python
false
false
7,046
py
__author__ = 'Aaron D. Milstein' from specify_cells import * from plot_results import * import scipy.optimize as optimize import random """ This simulation uses scipy.optimize to iterate through NMDA_KIN mechanism parameters to fit target EPSP kinetics. """ #morph_filename = 'EB1-early-bifurcation.swc' morph_filename =...
[ "neurosutras@gmail.com" ]
neurosutras@gmail.com
da748d34cb6a27059cecf0ee84bd84376e2809bf
d5ad13232e3f1ced55f6956bc4cbda87925c8085
/cc_mcc_seq/SNVINDEL/tmp/3.1_tumor_minus_normal_exome_somatic_number/1_tumor_minus_normal_somatic.py
fb9fd44707bd9d72ef21d0edd8631473db5d86f3
[]
no_license
arvin580/SIBS
c0ba9a8a41f59cb333517c286f7d80300b9501a2
0cc2378bf62359ec068336ea4de16d081d0f58a4
refs/heads/master
2021-01-23T21:57:35.658443
2015-04-09T23:11:34
2015-04-09T23:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
def tumor_minus_normal_to_somatic(tumorFile,normalFile,oFile) : dict_Normal=dict() ouFile=open(oFile,'w') inFile=open(normalFile) for line in inFile : line=line.strip() fields=line.split('\t') k='\t'.join(fields[1:-1]) dict_Normal[k]=1 inFile.close() inFile=open(...
[ "sunhanice@gmail.com" ]
sunhanice@gmail.com
75fa745ec0847cfc72aa911151a27c4d373a3c39
0e76739a359df29cd8e89096e07054430edb36d7
/fileScanner.py
ff890a3e5f409b628d5ba1ac4adc53cbfd668f80
[]
no_license
Fjolnirr/FileScanner
c52ed19201c92f20fdc5d270bcb85f43683ccbfb
28379baf0578c8962ae7b203ced1418d6de42646
refs/heads/master
2023-06-18T16:04:27.834923
2021-07-17T10:35:50
2021-07-17T10:35:50
386,906,624
1
0
null
null
null
null
UTF-8
Python
false
false
2,574
py
import cv2 import numpy as np #Constants imHeight = 640 imWidth = 480 kernel = np.ones((5,5)) def preProcessing(src): imGray = cv2.cvtColor(src, cv2.COLOR_BGR2GRAY) imBlur = cv2.GaussianBlur(imGray, (5,5),1) imCanny = cv2.Canny(imBlur, 120, 200) imDilation = cv2.dilate(imCanny, kerne...
[ "yusufcan2617@gmail.com" ]
yusufcan2617@gmail.com
d22b6020a2b3d2bfacf12fcb9cb93b0bc3d641d9
a30362e51cb3291daf26d0c62e56c42caeec837f
/python/codeup/solved/_1068.py
87813e822e0529ad4c300ab4f9c21997748b240f
[]
no_license
TERADA-DANTE/algorithm
03bf52764c6fcdb93d7c8a0ed7a672834f488412
20bdfa1a5a6b9c378e588b17073e77a0126f7339
refs/heads/master
2023-04-14T21:40:11.250022
2023-04-12T13:00:37
2023-04-12T13:00:37
288,335,057
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
n = int(input()) if 90 <= n: print('A') elif 70 <= n: print('B') elif 40 <= n: print('C') elif 0 <= n: print('D')
[ "55175301+TERADA-DANTE@users.noreply.github.com" ]
55175301+TERADA-DANTE@users.noreply.github.com
b3faa68ddf38c6d15ad43fc82a48744cdae5c15b
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY2JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7C-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_225/run_cfg.py
c1d2c055a93f6f5950d43132a49f5e864889fafd
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY2JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7C-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
e75ee1e9861da0acd45b3bc85f7e44d490151f8b
a7d248260c2209b2acae5f182a850badef01882a
/helloworld/tddtests/migrations/0003_sentiments_goodbad.py
e5699e977c7e375a90b95365618fe5ce1fead555
[]
no_license
pepea23/GIT-TEST-101
95c9bdc8c61d426a9afbdc0554f3b76b678bfb2c
43949032248d6dfabc24944451c56b7cb6ba230d
refs/heads/master
2020-06-05T04:10:03.005334
2019-06-17T09:08:35
2019-06-17T09:08:35
192,308,762
0
1
null
2019-10-18T08:59:09
2019-06-17T08:43:43
Python
UTF-8
Python
false
false
398
py
# Generated by Django 2.2.1 on 2019-06-14 01:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tddtests', '0002_sentiments_word'), ] operations = [ migrations.AddField( model_name='sentiments', name='goodbad', ...
[ "pepea.23@live.com" ]
pepea.23@live.com
89b9f9f0e3926f6078121dbcf6dd64da9e22f77a
4543983bdc58ab1edfaddb7092433cc50f993399
/abstract_factory.py
2e234debdb9d5e8576dd7f38e51d5b21de50b797
[]
no_license
lchojnacki/python_design_patterns
68c78d430163021cab148c45d60105f33216cab2
06b2e155f22f1fd27d380885c8c7d44202cca548
refs/heads/master
2020-08-01T16:47:46.659319
2019-09-26T09:32:19
2019-09-26T09:32:19
211,051,769
0
0
null
null
null
null
UTF-8
Python
false
false
3,079
py
from abc import ABC, abstractmethod # moduł Abstract Base Class class Konfiguracja: def __init__(self): self.niska_rozdzielczosc = FabrykaNisRozdz() self.wysoka_rozdzielczosc = FabrykaWysRozdz() def poierz_sterownik_niskiej_rozdzielczosci(self): return self.niska_rozdzielczosc ...
[ "lukaszchojnacki2@gmail.com" ]
lukaszchojnacki2@gmail.com
31f2b8745f0c05efbfdc00f2a5baeca03f082f32
5115944414e0baa824008d33b715f66ccf7c3926
/mysite/settings.py
59b21c70ed35e19d2236040ee185bf03d518d1a1
[]
no_license
Dezhikov/my-first-blog
17de57d5fcd51f106ff6b4da399b7a7756013797
1835c9798443ef5b0fc79e525714f7119379693b
refs/heads/master
2020-04-18T02:22:29.421580
2019-01-23T15:20:44
2019-01-23T15:20:44
167,054,962
0
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.11.18. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "vladislav.dezhikov@mail.ru" ]
vladislav.dezhikov@mail.ru
fc8f7fd662fe988e7f5f65c94869efdafc5af3eb
7f0548b7191b7589712af19baebafddae1d0505f
/dojoassignments/python/django/full_stack_django/login_and_registration/apps/login_registration_app/migrations/0001_initial.py
2e5994f927a8fa2ce9b4a5d96fd6c594f3453aa5
[]
no_license
mtjhartley/codingdojo
dd8eab1bd61fb847e44766e89fe3db2340468102
65dc558d19adbe62f85ad61c32cb1c392b56567c
refs/heads/master
2022-12-14T23:06:11.927445
2017-08-16T21:08:35
2017-08-16T21:08:35
92,218,728
1
5
null
2022-12-07T23:59:48
2017-05-23T20:46:03
Python
UTF-8
Python
false
false
884
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-06-20 19:02 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', ...
[ "mtjhartley@gmail.com" ]
mtjhartley@gmail.com
f3d0ad0a8d1c4d551aee77afba5afdf9bf6873a3
222760b72cf00f618655a57cf3fec411dd3e4e66
/project/migrations/0001_initial.py
bc2777a171bcb73f857314db4afd6f28e052f305
[]
no_license
Nieaunder7/cms
cd8affbc8cb2172335090d71555f554fa6018fe3
86572985ab30f3750c7603ecc8bbe752a14dfa60
refs/heads/master
2021-07-22T06:58:53.203359
2017-10-31T01:03:31
2017-10-31T01:03:31
107,638,245
0
0
null
2017-10-30T07:33:45
2017-10-20T06:05:10
JavaScript
UTF-8
Python
false
false
1,681
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-10-23 07:23 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('member', '0001_initial'), ('dev...
[ "sieging@gmail.com" ]
sieging@gmail.com
f966fbe0f466c6922f12b7a2b81e15aaa0d47821
75257a35a3359c10e3633c469215fd1666293098
/nexmoverify/nexmo_verify.py
5d3cd8c4427e4290def9a0f60015755c8267f3b7
[]
no_license
kpnn/mezzanine-nexmoverify
83e77f19094dbb7b419529efac9135b6c0cb2ac5
c89fec04a03de4b80b86046687b8578d76ffb244
refs/heads/master
2021-01-23T13:29:14.780456
2015-04-27T12:26:57
2015-04-27T12:26:57
34,574,771
1
0
null
null
null
null
UTF-8
Python
false
false
2,814
py
import requests NEXMO_ERRORS = { '1': 'Throttled', '2': 'A parameter is missing', '3': 'Invalid value for parameter', '4': 'Invalid credentials were provided', '5': 'Internal Error', '6': 'Un-routable request', '7': 'The number is blacklisted for verification', '8': 'The api_key you sup...
[ "ppp1@w-station.site" ]
ppp1@w-station.site
40decd2f4d8e3de4229e22f1e7dbb250b25cccf8
a281e3b74e0b29a317dcac75b65f25c74faeba98
/code/models/hedwig/models/kim_cnn/args.py
d14e45b6e13bb2a7f9e8302ae6f0a37d35d2470f
[ "Apache-2.0" ]
permissive
elisaF/subjective_discourse
44b507a8e7fd3e66a0edbb00869d14a67d5191ea
a0fd62e089b9adf843a8e1a094c48fd9d1beb400
refs/heads/master
2023-06-22T18:30:29.803378
2021-04-12T15:25:30
2021-04-12T15:25:30
279,589,934
3
1
null
2023-06-12T21:29:07
2020-07-14T13:16:57
Jupyter Notebook
UTF-8
Python
false
false
1,267
py
import os import models.args def get_args(): parser = models.args.get_args() parser.add_argument('--dataset', type=str, default='CongressionalHearing', choices=['CongressionalHearing']) parser.add_argument('--mode', type=str, default='multichannel', choices=['rand', 'static', 'non-static', 'multichannel...
[ "elisa@ferracane.com" ]
elisa@ferracane.com
ddbc0c95647448fd2b5ee0f7983a9b7eda1fc03c
7b054cd92eece331d2494b1ecbd6ebae76deed55
/ecommerce/urls.py
748d4606d02d80bf738204eb134afca866a6623b
[]
no_license
Tanmoy-Sarkar/Django-Ecommerce-Website
f23ec5a60b64f6b3f614bb9dd7aced2c694d1d75
24810153dcb51ae1d57c1b182b59cb40fbb8a3d2
refs/heads/master
2023-07-03T17:23:58.746887
2021-07-31T08:21:35
2021-07-31T08:21:35
389,021,036
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
"""ecommerce URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "tanmoy9920@gmail.com" ]
tanmoy9920@gmail.com
6aaf178780774e4f6235b5b93d0111edfc538729
e4807e683e5fcb913f86715f216159e1d9d35ece
/erc_plot_sqlite_Updated_OnlinemapSupport.py
ef974fe3db29d00ba66149995f3735759583a23a
[]
no_license
PeterTFS/ERC
cc2c128a9ce644c951de834428213a0557630a24
99b5dcb1f2254f9afe840544d2ae07c8fb9cecad
refs/heads/master
2023-03-29T06:28:32.914084
2021-03-29T20:55:01
2021-03-29T20:55:01
109,144,472
0
0
null
null
null
null
UTF-8
Python
false
false
12,159
py
#------------------------------------------------------------------------------- # Name: erc_plot_sqlite_Updated_OnlinemapSupport.py # Purpose: Retrive archived erc from database for climtology plotting # Author: pyang # Created: 21/01/2016 # Updated: 06/14/2016 for creating png as well as pdf f...
[ "pyang@TFS-24834.tfs.tamu.edu" ]
pyang@TFS-24834.tfs.tamu.edu
0e9eb1dc9ccde3353f68563e2b328daf405bed95
8ee9ce243beb31c876c79edbfd04155ae1466f97
/products/views.py
8abb60cfdcdf2657fe51afcb5d03959c67d821c8
[]
no_license
Code-Institute-Submissions/ms-4-kuk-marketing
1d23a519300c5b5b1883d2b830df80f5775bc896
a159587e1877cd5adc00cff5d42ce27beece0488
refs/heads/master
2022-12-20T09:23:41.165437
2020-10-01T18:38:25
2020-10-01T18:38:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,629
py
from django.shortcuts import render, redirect, reverse, get_object_or_404 from django.contrib import messages from django.contrib.auth.decorators import login_required from django.db.models import Q from django.db.models.functions import Lower from .models import Product, Category from .forms import ProductForm # Cre...
[ "s.oliver1@icloud.com" ]
s.oliver1@icloud.com
63d551ef4891915d2717ca602c39ab55c4d0e968
56b817cae5fdace44692046a3e2615dba611bb56
/WebcamSekilAlgilama.py
ae74a95b14e9cc6c333878733a123b0afa0af746
[]
no_license
ozgurnrttn/OpenCV
b2b29239502780df882626fc37e5c8ddc3d90f7f
c161bf7cbbcfc2ab996a85a1660a8e3c727c0e73
refs/heads/master
2023-05-04T08:12:21.474066
2021-05-20T13:10:07
2021-05-20T13:10:07
369,151,138
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
import cv2 import numpy as np def nothing(x): pass cap = cv2.VideoCapture(0) cv2.namedWindow("Settings") cv2.createTrackbar("Lower-Hue","Settings",0,180,nothing) cv2.createTrackbar("Lower-Saturation","Settings",0,255,nothing) cv2.createTrackbar("Lower-Value","Settings",0,255,nothing) cv2.createTrackbar("Upper-Hu...
[ "ozturk96.zrzr@gmail.com" ]
ozturk96.zrzr@gmail.com
9115d8c3b4724daa74540af198ec9ad1e57212b8
c1ae4278dfee5f2a2a9d899d308488095c70df1d
/projects/ex46-AProjectSkeleton/tests/nose_tests.py
a00e2661244e4a2be3e1751d42a64cd84b74e23c
[]
no_license
BeatsBassBoom/LP3THW
be2b0a48a21b5ee0476b59e8f2b55401888e4a7d
37b170817d874de37b22f59c33ddadfd780377cd
refs/heads/master
2020-04-02T08:19:40.383456
2019-11-11T01:51:28
2019-11-11T01:51:28
145,632,501
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
# First test skeleton from nose.tools import * import nose_runner def setup(): print("SETUP!") def teardown(): print("TEAR DOWN!") def test_basic(): print("I RAN!", end='') def test_nose_runner_first_try(): name = nose_runner.nose_runner.first_try() assert name.first_try() == 1
[ "28370491+BeatsBassBoom@users.noreply.github.com" ]
28370491+BeatsBassBoom@users.noreply.github.com
0ee61681b51f1c92da7226b74c1bb7a15fcd4fdb
8cec98d8ac9a55bc4176cd83286ef95c149fa98f
/Cases to Events [Python]/comprehend.py
0f2b2deb91ae81f4c194252abab19d5f4b938083
[]
no_license
MinMat/Hudoc-to-Eventlogs
0c917a7c4cc9919d3f3fb1b45d29aaf8d36a7f47
1f9af65a6cbe51763207fcf872276b43acab43b8
refs/heads/master
2021-05-05T12:21:31.740399
2018-01-09T21:07:54
2018-01-09T21:07:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,636
py
import json import sys import os import boto3 # reads in a case file, breaks it up into pieces of under 5000 bytes # runs it through aws comprehend # produces a json including the casetext and all detected entities class ComprehendCaseEntities(): def __init__(self, fileName, caseName, awsregion, langCode)...
[ "georg.prohaska@gmail.com" ]
georg.prohaska@gmail.com
1bc2bad1c8d403cdc99de557444a6e0a0f503eb2
fe3759747f709a41e5ff3acf78872dd6b74f772a
/samples/openapi3/client/petstore/python-experimental/petstore_api/model/animal.py
81432c292c6459b54e18f5be8a654084c4f140d5
[ "Apache-2.0" ]
permissive
Januson/openapi-generator
c50e3b52765e41adba9712d745918cea39dfa490
5b6b4c9d4829b57716741dc35b3f1033e5483784
refs/heads/master
2022-10-19T04:16:38.042495
2022-04-23T08:42:21
2022-04-23T08:42:21
238,659,737
0
0
Apache-2.0
2023-09-05T01:01:23
2020-02-06T10:12:38
Java
UTF-8
Python
false
false
2,359
py
# coding: utf-8 """ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ ...
[ "noreply@github.com" ]
Januson.noreply@github.com
ee68f3378e82fc55e7c7efd7a2f2cfd008a4b3bf
83c42b05d59abcfaa7ccc079543a2ddadd2b1393
/dictionary.py
58aef8b743ef2589019cd70214393b44d6b692b4
[]
no_license
MrLibro/e_health_application_prj
6d3f9306402f082e2631e807f0bea5033606ee1c
7478f1db05b4721a414b0354b45faaee930491c9
refs/heads/master
2023-02-04T09:17:01.017607
2020-12-19T16:50:37
2020-12-19T16:50:37
322,739,143
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
import text_processing as txt def creat_dictionary(pubmed): abstract = txt.txt_prepration(pubmed.abstract) abstract = list(str(abstract).split(" ")) print(abstract) return abstract
[ "akaalirezaketabdari@gmail.com" ]
akaalirezaketabdari@gmail.com
833980c8158fa0f25d3ae7485542f3655bc24ef9
18e48f22f88fe80ce54d12fdbf9d05a7ca5bd65a
/0x04-python-more_data_structures/3-common_elements.py
bdcdc3ae779109657e7ebde98aeb7e93558c88ae
[]
no_license
SantiagoHerreG/holbertonschool-higher_level_programming
426c4bc9bc080a81b72d2f740c8ed2eb365023eb
ca2612ef3be92a60764d584cf39de3a2ba310f84
refs/heads/master
2020-07-22T19:33:48.507287
2020-02-14T04:34:00
2020-02-14T04:34:00
207,305,022
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
#!/usr/bin/python3 def common_elements(set_1, set_2): new_set = set_1 & set_2 return (new_set)
[ "888@holbertonschool.com" ]
888@holbertonschool.com
7c90c47186ac7a9a198dd4e1dcb44cefa65e5230
d00cebec4173f9e57b3f23342fe3260ecbc90fc9
/code wars/challenges.py
3948e4e455925bf8627d23d275d1b508e75bf627
[]
no_license
crispad/algorthims_pratice
22cb45bdf149f100ad69f6fbafe3f694b7ccf95a
f968617e53700e1965f5b0f8ae99b8481a4b410c
refs/heads/master
2022-11-13T14:23:51.303678
2020-06-16T21:29:51
2020-06-16T21:29:51
255,792,067
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
# Create fibonacci sequence with n elements and output it in a list. If n == 0 return empty list. # 0 1 1 2 3 5 8 11 19 ...etc # [0, 1, 1, 2, 3, 5, 8, 11, 19] def fib_sequence(n): base = [0, 1] if n == 0: return None if n == 1: return base[0] if n == 2: return base if n >...
[ "crispad06@gmail.com" ]
crispad06@gmail.com
ee0624df8353edb64e16e66fcc0fffd8ecd0aa7a
d235eaf56abb8dc8e253d6f705efae407e11f01f
/wheel_maker.py
f2ccd2461b1a92c92cc66072f414a6cf230bd751
[]
no_license
griffgudge/Griffin-Casino
8b708fe3c6d0757b5192f12c16e5da70e4235ace
50c748885bcbb7bb41d33d469b7f1186484d6184
refs/heads/master
2022-11-07T21:42:59.897871
2020-06-22T13:18:27
2020-06-22T13:18:27
273,698,195
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
def wheel_maker(): wheel_nums = [] wheel_colors = [] num_type = [] for i in range(37): wheel_nums.append(i) for i in range(37): if i == 0: num_type.append("0") elif i % 2 != 0: num_type.append("Odd") else: num_type.append("Even") ...
[ "67191383+griffgudge@users.noreply.github.com" ]
67191383+griffgudge@users.noreply.github.com
ab36bce5acedddf55bb70f404d5acbce4d262f7c
ad5e88b23c8599400184a364c4c7efedadd5b7dc
/manage.py
8cf1c1a4208251828bb326d711c94deb5be8d6d3
[]
no_license
jy-yuan/edu-satellite-platform
3cb8f77df79ef79bc88e7b42aea4ec969c113d33
89e7d19cd5814602a4faa2423a2df91ce5511e2d
refs/heads/master
2021-07-03T10:33:58.692047
2021-05-10T08:04:43
2021-05-10T08:04:43
229,178,255
2
1
null
2021-05-10T07:59:42
2019-12-20T02:52:35
JavaScript
UTF-8
Python
false
false
617
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'dbtest.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportE...
[ "1462936118@qq.com" ]
1462936118@qq.com