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
51fbd3042c1ab812d5c5f8d4532d7226469186bd
d0d845cc5c77ec62cb5f5268527efadc5ff68e12
/tests/linsys_test.py
01b8acbc61b5dff2c53bf5ee4ce03f50f6297486
[ "MIT" ]
permissive
madhavajay/ud953
2134a267ccf15ff95d717b9d76633bfd83ea5e40
6c101ae15adefa98ad4950275b52ef03419a0f40
refs/heads/master
2021-01-21T04:44:51.628018
2016-06-18T08:58:20
2016-06-18T08:58:20
50,235,584
2
6
null
2016-06-18T09:02:22
2016-01-23T11:29:14
Python
UTF-8
Python
false
false
6,192
py
# -*- coding: utf-8 -*- # Author: github.com/madhavajay """This is a test for the Linear System Class""" from decimal import Decimal, getcontext from vector import Vector from line import Line from plane import Plane from linsys import LinearSystem # set the decimal precision getcontext().prec = 30 def test_linsys_...
[ "me@madhavajay.com" ]
me@madhavajay.com
b102bf04f8e4c9b68a9fdf1a1ebe79d2b472e02c
ac58676ef85ba33c1b50ba48af55412565a16e17
/Day20.py
2ce96a0d8d4cd763f3498bd719685427d1de714a
[]
no_license
Rupam-Shil/30_days_of_competative_python
51e4bd66c8704169cdb6aa65c49cca99a664e853
6bf7f25020be1bec871729362e24b48e18e9dfa3
refs/heads/main
2023-03-30T02:46:04.744683
2021-03-28T06:20:48
2021-03-28T06:20:48
336,993,444
3
0
null
null
null
null
UTF-8
Python
false
false
264
py
'''Find a square of number without using multiplication and division operator''' def calcSquare(num): sum = 0 for i in range(num): sum += num return sum num = int(input("Please enter a no:")) print("the square of {} is {}".format(num, calcSquare(num)))
[ "noreply@github.com" ]
Rupam-Shil.noreply@github.com
48a03867f4833bc8161bc39682ab3974887a8612
d0fe1112743cc36b2089b695fb7c527a3b8bb9f7
/LifeCycleAnalyzer/Simulators/__init__.py
da272a632315bffa45e44941c0af211cb81b23f6
[ "MIT" ]
permissive
vd1371/GIAMS
bfff465c69f02a5dd1a2544bfe7170087a8e181d
cf8b7cb028b6cc6cd7facd6f45dd288067e9ff65
refs/heads/master
2023-04-14T07:09:00.801898
2022-08-01T01:16:06
2022-08-01T01:16:06
278,012,609
2
1
null
null
null
null
UTF-8
Python
false
false
128
py
from .MainSimulator import MainSimulator from .DummyRiskAnalyzer import DummyRiskAnalyzer from .EnvSimulator import EnvSimulator
[ "vd1371@gmail.com" ]
vd1371@gmail.com
f421a6af40ae5171cceff2d4962cb7c99889310d
fe87192240c3d5ffe7deb5c9f2b7f02f347a2c00
/peptide-permable/analyze_result.py
69ef531b3d8aa7f477fdaf44fe9133b385513008
[]
no_license
leexa90/dl_dev_course
ccfae0bbef4790b0b75fc9da0679f23c1da3bcf5
10a9e826cd7e752ce607deadc63826b313de39d2
refs/heads/master
2022-08-17T05:07:35.280305
2017-12-07T09:04:14
2017-12-07T09:04:14
105,847,852
1
2
null
null
null
null
UTF-8
Python
false
false
5,368
py
import pandas as pd import os files = sorted([x for x in os.listdir('results') if ('.csv' in x and 'results5' in x)]) dict_files = {} data = pd.read_csv('results/'+files[0]) data['diff'] = 0 dict_files[0] = files[0] counter =1 for i in files[1:]: print i counter += 1 dict_files[counter] = i temp = pd....
[ "lee.x.a90@gmail.com" ]
lee.x.a90@gmail.com
f7c55e0e1f70031e5e6cb304b08ede6bb0e96d1e
42209d0278c429d4b8c22b23109b577e10665570
/rgb2flow_script.py
1f44b08f1970135093c108836c2d2090e75c53d0
[]
no_license
YunwenHuang/Single-shot-Spatio-temporal-action-detection
342520ec4bbc88ba7df94df71f9dbee7afa6fb86
959f811b12ca5583b602765e5968f32ebad92ce0
refs/heads/master
2020-03-18T21:11:25.955033
2017-10-24T16:19:38
2017-10-24T16:19:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,258
py
# Imports from glob import glob from utils import ImageUtils import os import yaml import h5py import io import numpy as np import multiprocessing from PIL import Image import cv2 from scipy.io import loadmat from joblib import Parallel, delayed import pdb import argparse # Global Vars PARALLEL = False parser = argpar...
[ "alaaelnouby@gmail.com" ]
alaaelnouby@gmail.com
0370c61edcc25acc8cac391cd63b6b9f324944bc
877e4821c6c62eb4017f7652c25a03342c8c4884
/cbs_whitelist/white_list_sort.py
41ebbdf34f445ccb664540d4a7c01a4fdcc8225e
[ "MIT" ]
permissive
ForrestLi/py_strategy
f1380dda26174220584744b5b47b014ecd3f6e1c
dab2b8afb9d9577219d4571cb36b408a5d82fee8
refs/heads/main
2023-01-19T19:43:06.931568
2020-11-22T04:08:07
2020-11-22T04:08:07
314,944,080
0
0
null
null
null
null
UTF-8
Python
false
false
8,105
py
''' Created on Nov 15, 2020 @author: Forrest Li ''' import statistics import operator cbs_ch_d={'XHKG:02233': 'NAN', '000048': ['23.16', '33.14'], 'XHKG:00613': 'NAN', '600570': ['21.16', '56.91'], '300122': ['41.66', '69.49'], '600031': ['23.93', '35.12'], '600764': ['47.9', '66.7'], 'XHKG:00119': 'NAN', '600516': [...
[ "willpowerli@163.com" ]
willpowerli@163.com
00432f0cdfde323754f5d5b31594e5f419a4260f
26bd2d94a849fff0d5428c752b132a4780b96577
/lib/PvGithubFormat.py
15e78f500512fa5d028ac9964c64453deaee47a5
[]
no_license
kaosdg/pivotalreleased
f3ec70d059e458d0a5f4854a2209906ad7dc9785
55039665cfcabf91a17793bd69c40be3fc396948
refs/heads/master
2021-01-22T14:15:49.823569
2014-02-21T15:35:30
2014-02-21T15:35:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,579
py
from PvFormat import PvFormat from datetime import datetime from cStringIO import StringIO class PvGithubFormat(PvFormat): def format_project_details(self, project): file_pointer = StringIO() file_pointer.write('# %s\n' % project.get('header')) file_pointer.write('### %s\n' % project.get(...
[ "karl.catigbe@viacom.com" ]
karl.catigbe@viacom.com
082444ad271b4e2d34e2eed2760bd53b0c01a64b
5a45b19e36b8bf2f524676b5255827d6c69ec614
/cvdaTA.py
1649b867d290a2d52152e67872ead03c9d4b21ea
[]
no_license
Ipsitbhatt/C-sharp-
806db3e90cb2321e1ba32c29dd9035ca3d53e346
acc6da84e0db4592902378e1c9be96ed499aedc4
refs/heads/master
2020-04-16T17:48:36.280318
2019-03-28T05:16:32
2019-03-28T05:16:32
165,789,738
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
# -*- coding: utf-8 -*- """ Created on Thu Mar 28 09:46:14 2019 @author: dit """ import cv2 import numpy as np import matplotlib.pyplot as plt image = cv2.imread('C:\\Users\\dit\\Pictures\\cat.jpeg') image1 = cv2.cvtColor(image,cv2.COLOR_RGB2GRAY) plt.imshow(image)
[ "noreply@github.com" ]
Ipsitbhatt.noreply@github.com
ecfb22a1f524765000e6d2826f9a05fc2854cefb
d818cbfba933f65e26ac6abe3865ed3f956eba5e
/user_group/tests.py
0c374cf55703d59f04e1e3c82c5e098ca0e64d81
[]
no_license
gwachhamit/MyProject
27798c95c776cbb35a72c6c8b70492e1663474da
e499852a411aa9791740b207394625b66b3c2175
refs/heads/master
2020-04-25T16:03:31.579961
2019-02-27T10:55:11
2019-02-27T10:55:11
172,897,636
0
0
null
null
null
null
UTF-8
Python
false
false
1,842
py
from django.test import TestCase from django.urls import reverse from django.contrib.auth.models import User, Group from rest_framework import status from rest_framework.test import APITestCase from rest_framework.test import APIClient from rest_framework.test import force_authenticate import json # Create your tests ...
[ "genuineaametax@gmail.com" ]
genuineaametax@gmail.com
855f7cf66e2f45a2fe4d5bc6c25db3575a14ec1d
a00ed711e3e08b50ad6e91cc07a2cddc4a1de5ea
/airflow/providers/amazon/aws/example_dags/example_redshift_to_s3.py
8116e02dc165ce82f017a21ede850dece6254ec9
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ishiis/airflow
4305794e36b611d01f49e3f2401be3dc49782670
292440d54f4db84aaf0c5a98cf5fcf34303f2fa8
refs/heads/master
2022-07-30T00:51:28.806940
2022-07-14T12:07:11
2022-07-14T12:07:11
209,801,072
1
0
Apache-2.0
2019-09-20T13:47:26
2019-09-20T13:47:26
null
UTF-8
Python
false
false
1,575
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
ishiis.noreply@github.com
6a592e70e7ba4b842e80cb01828081e643c30039
1022d1db3f02fd9f780c3234daa9954203859d38
/DBcontroller/clientdbController.py
9d198caadc446dfad058e25897f5b9563a0d399c
[]
no_license
riyajoe/Gym-Project
8db42d65396f957929ffab4804293dd1bb27a9da
9fea3d1a03bbad3b21af800873af937bb8609c79
refs/heads/main
2023-06-07T02:51:19.286935
2021-06-20T14:14:52
2021-06-20T14:14:52
354,658,995
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
from models.Client import Client from app import db class clientdbController: def __init__(self): self=self def addClient(self,Client): db.create_all() db.session.add(Client) db.session.commit() def getClients(self): return db.session.query(Client).all() def getC...
[ "joeriyamary@outlook.com" ]
joeriyamary@outlook.com
33a71d0a1b09888ba5713b6614017fcbeb58681d
e2ee8df2cde2fb40e1b136a01cde7d4f10ed1a11
/2019/6/solution.py
a51a36f123bd52999d82ee558d86046a582ced1a
[]
no_license
yaodingyd/AdventOfCode
e2b160ec2c0d3aaaf3bea0955d197696f414439f
49c592b3c75c73d4f845c992ef06961410255f05
refs/heads/master
2020-09-27T01:29:26.460108
2020-01-03T15:23:45
2020-01-03T16:28:46
226,390,684
0
0
null
null
null
null
UTF-8
Python
false
false
1,375
py
def main(): l = [] with open('input.txt') as file: for line in file: l.append(line.strip('\n').split(')')) #print(part_one(l)) print(part_two(l)-2) def part_one(l): d = {} for orbit in l: if orbit[0] in d: d[orbit[0]].append(orbit[1]) else: d[orbit[0]] = [orbit[1]] cur...
[ "yao.ding@compass.com" ]
yao.ding@compass.com
e209526ee9554ff6548df32367dd10813a5f4f0c
f90987f8084f984fbafef11322eeeeeeb9277b3c
/dfpipe/pipe.py
87b48a3794e6ec8123d6c581fb4f5e009192ea69
[ "Apache-2.0" ]
permissive
bw4sz/gae-dataflow
ad04a11bc04adfbeef2b5bf6248d8dce41e5d017
b26b296f8cae30c67d5e5a85bb45ad8e56ede14f
refs/heads/master
2021-01-01T16:57:45.743717
2017-05-04T16:54:42
2017-05-04T16:54:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,500
py
# Copyright 2017 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "amyu@google.com" ]
amyu@google.com
2f38302532a1db3c972e4413e332da4c2144cc11
f7cb41fe0859d80574e412f51280376c8e3c9e0f
/yard/skills/66-python/cookbook/yvhai/demo/std/collections/dict.py
f4194347689f807351b82b4ba8185b92fb9885ed
[ "Apache-2.0" ]
permissive
bbxyard/bbxyard
7ca771af10237ae9a6d758baf26d78d110e8c296
5bf32150fa5cade9e4d9063037e5a03e587f9577
refs/heads/master
2023-01-14T17:39:04.191739
2020-08-18T06:56:36
2020-08-18T06:56:36
11,716,364
1
2
Apache-2.0
2022-12-30T01:25:47
2013-07-28T06:48:59
C
UTF-8
Python
false
false
2,910
py
# 实现multdict from collections import defaultdict, OrderedDict, Counter from yvhai.demo.base import YHDemo class OrderedDictDemo(YHDemo): """OrderedDict""" def __init__(self): super(OrderedDictDemo, self).__init__("OrderDict") @staticmethod def demo(args=[]): od = OrderedDict() ...
[ "bbxyard@gmail.com" ]
bbxyard@gmail.com
5ae06310b3013350540c1be6333d058b349c1008
22a5d022ee3abeb4d6d8ef439bf5ada22c9eb686
/ssmode/bar_chart.py
8e32470e92756ad42883342dfee6934735519870
[ "MIT" ]
permissive
skyselect/ssmode
269d297c981bbc49769db8c088af10e8671bf8ff
95da748bc62779db8308bfd05470292948040410
refs/heads/master
2021-03-23T20:08:54.487573
2020-03-31T15:34:25
2020-03-31T15:34:25
247,480,707
1
0
null
null
null
null
UTF-8
Python
false
false
857
py
from .constants import colors def style_bar_chart(ptl_fig, ytitle=''): # Add axis title and style the legend ptl_fig.layout.yaxis = {"title": ytitle, "titlefont": {"size": 12}} ptl_fig.layout.legend = {"xanchor":"center", "yanchor":"top", "x":0.5,"y":-0.15, "orientation":"h"} ptl_fig.layout.font = dict(family=...
[ "rasmuskisel@Rasmuss-MacBook-Pro.local" ]
rasmuskisel@Rasmuss-MacBook-Pro.local
5cb834ff5d5f2ab8c49ef50d3374996233a78f63
d30d0778a7a37408bed757c6bfd26dbee7b18d66
/movies/urls.py
0fa57be7c5d173f5d921125c8ca1df83246110b0
[ "MIT" ]
permissive
AliAxghar/DjangoRestSimpleJwt
8a6f33b46106a54fb93ac50edb8d9869aba65e59
f64e6c5506185da19b90d5301938e016907925ac
refs/heads/main
2023-06-24T01:21:47.104979
2021-07-29T19:26:35
2021-07-29T19:26:35
390,830,374
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
from django.contrib import admin from django.urls import path, include from django.conf.urls import url from rest_framework_simplejwt.views import ( TokenObtainPairView, TokenRefreshView, ) urlpatterns = [ path('admin/', admin.site.urls), path('', include('api.urls')), url(r'^health_check/', includ...
[ "d.ali679asghar@gmail.com" ]
d.ali679asghar@gmail.com
b16642c37a87340c9129682da5a7cdc83f42cf28
09d8ededcaea85350aaa35ea240063f40cb82308
/test/functional/rpc_users.py
816b11734136e1a13c535e846c05ab29fa0e9bc3
[ "MIT" ]
permissive
XaviFortes/PipoCoin
89886c42490c3c0adbc95a0c60f9391192f7e5b5
0755b00fa600adb0ffa4de0b2746a66f3d0fefb7
refs/heads/main
2023-04-25T12:16:54.200733
2021-05-14T17:52:30
2021-05-14T17:52:30
367,409,612
1
0
null
null
null
null
UTF-8
Python
false
false
5,985
py
#!/usr/bin/env python3 # Copyright (c) 2015-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test multiple RPC users.""" from test_framework.test_framework import BitcoinTestFramework from test_f...
[ "itsfortes@gmail.com" ]
itsfortes@gmail.com
a41a1d0985e9c6ccd90ab996db6283cf92386ea4
26c909d5ccf36193a72e9034707b69edbfd67789
/138_copy_list_with_random_pointer.py
f36b458b137745a6c6b3243e2c6aa71783fc7325
[]
no_license
zeroohub/leetcode
39a835476eedea5bf8f434a15efb5e73495209f9
cfefa073d6c6f664a835b87369dbba0203b91e58
refs/heads/master
2020-03-22T03:51:22.247932
2019-02-21T11:07:13
2019-02-21T11:07:13
139,456,288
0
0
null
null
null
null
UTF-8
Python
false
false
1,957
py
# -*- coding: utf-8 -*- from data_structure import * from collections import defaultdict class Solution(object): def copyRandomList(self, head): cache = defaultdict(list) result_head = new_head = RandomListNode(0) temp_head = head while head: new_node = RandomListNode(he...
[ "spamzero@yeah.net" ]
spamzero@yeah.net
0e12cb4aaa4ad20db8b1aa3d191e74e7f3cb902b
6d683f971154d319c5e32a20c2a3ac87c21bf7b5
/OOPbase64/base64.py
1d00282d9771f80ba76f0ef5055a92373c6051ac
[]
no_license
DevinMcF/csc200
c52c66b20c038e1c3429a1e9a84648ee676f5358
5209357404d02470a86f345297957d664d9198d2
refs/heads/master
2020-12-21T17:12:41.803688
2020-02-13T16:11:08
2020-02-13T16:11:08
236,499,505
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
class Base64Converter: def __init__(self): """ Create a string containing the Base64 digits for encoding and a dictionary containing the numerical value of each digit character for decoding. """ self.digits = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz012345...
[ "devin.ryan.mcfarlane@gmail.com" ]
devin.ryan.mcfarlane@gmail.com
469e579b0a396a30e46ed93bc267b76bed2218c9
b088d5dc4321f9f145c7bceb20a0b9479b374c65
/level1&2/42883.py
8169482655042d081bd9380cf7217e0935b0e85c
[]
no_license
heojungeun/codingtestPractice
55bfc2b13791f5cb3133b0815991a0c696f8482c
65d668bf6df82967f89d4ec4eb3a1e11de603729
refs/heads/master
2022-09-17T00:34:05.887237
2020-05-30T06:45:30
2020-05-30T06:45:30
261,093,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
def solution(number, k): # import itertools # dig = [] # for i in range(0,len(number)): # dig.append(i) # dig = list(itertools.combinations(dig,k)) # lenn = len(number) # arr = [] # for x in dig: # tmp = '' # for i in range(lenn): # if i in x: # ...
[ "heocube@naver.com" ]
heocube@naver.com
a395c82a89fc6e3b2e18e384f6d821681a2b2481
6c38e5f5e43e47f83b34581b0f3a785ee5b5768b
/old_version/src_server/handler/care_handler.py
76abda847be279c69728bf1dd5f353e49d16bc03
[]
no_license
340StarObserver/deepnote
bd3a8765222e550bec4cd05e894b3fa8ba6f1303
643a5252ceeb6e5d633ae1b0691121136135fbbe
refs/heads/master
2021-01-17T01:50:02.731339
2017-03-23T08:49:12
2017-03-23T08:49:12
63,515,784
1
4
null
null
null
null
UTF-8
Python
false
false
2,363
py
#!/usr/bin/python # -*- coding:utf-8 -*- # Author : Lv Yang # Created : 05 October 2016 # Modified : 22 October 2016 # Version : 1.0 """ This script used to care somebody or cancel care """ import time import sys sys.path.append("../model") from base_handler import BaseHandler from mongoconn_model impor...
[ "lvyang@ippclub.org" ]
lvyang@ippclub.org
79a88831525618e5295eaf8ea636b39e46629ee8
7f5e2326fbf378ec5e9657f4ad22bbcede3f7f93
/search/searchAgents.py
d06f12cf61ba98a0d4deb896c1ab65ed94fe40eb
[]
no_license
EmmmaHan/CS188
b30cf2a587b464aa201b75f15fee119abd7fde9e
125504812d3f75a4bbf1ae0ed138db9192052d21
refs/heads/master
2022-01-11T12:15:49.905561
2019-06-06T03:16:43
2019-06-06T03:16:43
190,487,730
0
0
null
null
null
null
UTF-8
Python
false
false
22,559
py
# searchAgents.py # --------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley...
[ "emmahan@Emmas-MacBook-Pro-2.local" ]
emmahan@Emmas-MacBook-Pro-2.local
c36eed7135bf3ee45450a5e984b86bfbba0868c1
cfbbf8406ca014f27b1467ac359e1b14560c67ba
/routes/admin.py
aeaec483a36234fc519e88e80219d5f975a8be5d
[]
no_license
Sajad321/Alamjad_api
abe035c29f8f65b31dff29026a7ce123b15c04a0
bc44fa6a83a51205f7a00b28605a220f2b6949a1
refs/heads/master
2023-02-24T22:22:38.789663
2021-01-22T11:24:24
2021-01-22T11:24:24
287,375,723
0
1
null
2020-09-02T16:14:44
2020-08-13T20:39:19
Python
UTF-8
Python
false
false
24,486
py
from flask import jsonify, abort, Blueprint, request import json from .auth import requires_auth from models import user, report, history_of_pharmacy, history_of_user_activity, doctor, zone, pharmacy, doctor_pharmacies, company, item, acceptance_of_item, order, availability_of_item, notification, item_order from math i...
[ "saj99h@hotmail.com" ]
saj99h@hotmail.com
3abf0e9fd120a67af60e15d7712ed088d34fffcd
fda573d072a89359486b16b4e7145d2b2843c576
/src/models/pseudonet_focal.py
f72ec03ad52c42547251113501b9503ff15f39f6
[]
no_license
jessekim-ck/Oregon-wildlife
1117ec8decc4fbcb9356d105cac1c3d46904d983
ca8e837a8c483495514f9bcc6c781659ab6aa9c7
refs/heads/master
2022-12-01T10:21:59.526677
2020-08-20T05:10:25
2020-08-20T05:10:25
286,944,354
0
0
null
null
null
null
UTF-8
Python
false
false
2,244
py
import numpy as np import torch import torch.nn as nn from torch.utils.data import DataLoader from torchvision import transforms from .utils import multi_focal_loss from src.models import BaseModel from src.backbones import EfficientNet from src.datasets import BaseDataset from src.datasets import PseudoDataset cl...
[ "jessekim.ck.94@gmail.com" ]
jessekim.ck.94@gmail.com
d91e62fc90665328bcd80d2dec48265a00a287c2
dbeeb70d1f6dc4522ec69c54fad5a455f32649eb
/jadrn023/login.cgi
552d43acd529496a9a64140868b14cab50e5584d
[]
no_license
gsivakumar608/Web-Application
294cc8f45a92b94596212ce6d122d9e251b6090a
ea8c6ff93d28e1c60adb42116a7adda3546e5b36
refs/heads/master
2021-01-09T09:39:02.716133
2016-07-13T20:16:51
2016-07-13T20:16:51
63,276,378
0
0
null
null
null
null
UTF-8
Python
false
false
5,696
cgi
#!/usr/bin/perl use CGI; use CGI::Session; use CGI::Carp qw (fatalsToBrowser); use Crypt::SaltedHash; ##---------------------------- MAIN --------------------------------------- my $q; if(authenticate_user()) { send_to_main(); } else { send_to_login_error(); } #################################...
[ "gsivakumar.608@gmail.com" ]
gsivakumar.608@gmail.com
64bc3026ee1dc94c42227f42402230d18c9dd555
53708ab28946feb229c6dda31dda053139b543af
/api/serializers.py
b714607d26c6ba8c2cf8815838e70aa25fafd5bb
[]
no_license
KzmMthr/foodgram-project
26d82fb5036600185316b16e6452ef71288e55aa
420d3ba8170bc40b43987bb4a30ade5f128b12b9
refs/heads/master
2023-04-25T21:37:27.133756
2021-05-25T06:04:04
2021-05-25T06:04:04
346,710,246
0
0
null
null
null
null
UTF-8
Python
false
false
2,051
py
from django.contrib.auth import get_user_model from rest_framework import serializers from api.models import Favorite, Purchase, Subscribe from recipes.models import Ingredient, Recipe User = get_user_model() class IngredientSerializer(serializers.ModelSerializer): class Meta: fields = '__all__' ...
[ "gurkinnn@yandex.ru" ]
gurkinnn@yandex.ru
7c890c6f90d89e38a402fe7197ee5d893f440d9e
a174ff975f1cb1bcea094e64ece15c080bf9dcb9
/libtorch/v1.7.0/arm64/src/libtorch-1.7/torch/version.py
f014665d30998adf28e2054d34f6d86d25172565
[]
no_license
sugarme/gotch-docker
d4006c98c593fd126c0d84bcb5d0dd16a609046a
a4e28d5377016b2b4034e03ae39b30a8549feec6
refs/heads/master
2023-04-09T04:59:24.646331
2021-04-22T05:42:14
2021-04-22T05:42:14
355,382,320
1
0
null
null
null
null
UTF-8
Python
false
false
125
py
__version__ = '1.7.0a0+6394982' debug = True cuda = None git_version = '6394982d1389f9ce2e488ae4c9b4e3c0321ca978' hip = None
[ "thangtran@hotmail.com" ]
thangtran@hotmail.com
e97d3591d81411fa559ed7e6451f00eadeff503d
7ee8abf70257e885215a1abd4838845ffce0a626
/hello.py
04c61710ba08d106ff3895cc62b2c2843a31686a
[]
no_license
diorich/firstapp
b52610118d3eabe752ab7fee4860f91cf5a9be22
62dddc6863b2b6c258b4536567a43a5dafd8ca12
refs/heads/master
2021-01-17T18:08:15.500815
2016-10-17T18:42:15
2016-10-17T18:42:15
71,169,385
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
from flask import Flask app = Flask(__name__) @app.route("/") def index(): return "Hello World!" if __name__=='__main__': app.run(port=5000, debug=True)
[ "d.rich@live.co.uk" ]
d.rich@live.co.uk
42fcf0dd82fc975c09922d023f79af57d7249813
5aa26394708ecad0210706c9f5e12ddf72c3e238
/tests/backend/test_decorators.py
a7edb392f9f3349dd5a796deda45b1a997256a68
[ "MIT" ]
permissive
ZaxR/busy-beaver
59ac99c48ddb2f71572a9e454af7ae1a0621c844
ffe1250d0156f71d1053f37c8070ca0dd888348f
refs/heads/master
2020-04-20T17:01:06.953568
2019-01-31T18:19:25
2019-01-31T18:19:25
168,976,872
0
0
MIT
2019-02-03T18:13:31
2019-02-03T18:13:30
null
UTF-8
Python
false
false
1,869
py
import pytest import responder from busy_beaver import db from busy_beaver.backend.decorators import authentication_required from busy_beaver.models import ApiUser TOKEN = "test_token_to_insert" AUTH_HEADER = {"Authorization": f"token {TOKEN}"} @pytest.fixture(scope="module") def api(): api = responder.API() ...
[ "noreply@github.com" ]
ZaxR.noreply@github.com
6d9ad99200ba4e3cdf7b88a7da2787de0df12c8b
afde521f50b6be4be9e5c3071ed6459419fb5edb
/env/lib/python3.6/site-packages/pyecharts/charts/scatter3D.py
35198ac9849fd58ec18641bff9956994438195d7
[]
no_license
guhongcheng/myblog
ddef4aa0888dedfb70933b34bfd0c5da5bb5d5cd
b11f5ee26125b9551b1f27814b96a845dd4e6a76
refs/heads/master
2022-12-18T20:26:46.596014
2018-07-26T02:46:07
2018-07-26T02:46:07
134,683,127
0
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
# coding=utf-8 from pyecharts.chart import Chart import pyecharts.constants as constants class Scatter3D(Chart): """ <<< 3D 散点图 >>> """ def __init__(self, title="", subtitle="", **kwargs): kwargs["renderer"] = constants.CANVAS_RENDERER super(Scatter3D, self).__init__(tit...
[ "1051712303@qq.com" ]
1051712303@qq.com
2aa1f7f97663abbd042a034c1570074ff9f985b1
d496e9b71a9cdc226c8005b7d1be53a0c9154a36
/guessNumber.py
8be67a889479f08dae7d291e69ea215d59321b7b
[]
no_license
Shubham-S-Yadav/Python
1f83e4a28e304679e16829613d845e8eae6f3921
830537dd02b60bb9f00a9079556a0c9323a26c17
refs/heads/master
2021-07-03T06:39:06.150795
2017-09-22T14:05:01
2017-09-22T14:05:01
104,320,745
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
''' Generate a random number between 1 and 9 (including 1 and 9). Ask the user to guess the number, then tell them whether they guessed too low, too high, or exactly right. ''' import random while True: number = int(input("Enter a number between 1 to 10: ")) rand = random.randrange(1, 10) if (number == rand...
[ "31968975+Shubham-S-Yadav@users.noreply.github.com" ]
31968975+Shubham-S-Yadav@users.noreply.github.com
b6909e37a238b47e2e8dba721836e7fc248f5a2f
af4024de1e85735b88de94392934c75295e4bfb6
/aula04/conta_digitos.py
ba7b5cb7571f5389e2154ec64a0d09d3e86fd4e6
[]
no_license
felipenatividade/curso-python
82f26e82e27377392684a6ece0e446eb4ee73e8c
63820cd76471492f4d3742beafc78818273f0430
refs/heads/master
2020-04-05T01:42:13.393989
2018-11-28T00:00:49
2018-11-28T00:00:49
156,445,877
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
n = int(input('Digite um numero')) d = int(input('Digite um digito')) versaoStr = str(n) def conta_digitos(versaoStr): for i<
[ "felipecmro@hotmail.com" ]
felipecmro@hotmail.com
997203f940c4b6476c12df8f5e3f8b791bb4cc9b
39d183b0a113148a6bbc7cbd5ac6fa522f06f700
/5手写数字识别/mnist_test.py
264524a799b6c2799e7040855cf2cf3b95ce7332
[]
no_license
gdgf/MoocTF
0311ddab6f69bf9e570e43f3395f43b013fd47d6
8cfdfcd0b6397967f7346f7db898cc19bac19a81
refs/heads/master
2022-04-17T00:54:56.896890
2020-02-16T02:52:17
2020-02-16T02:52:17
240,673,709
0
0
null
null
null
null
UTF-8
Python
false
false
1,954
py
# coding:utf-8 # 去掉警告 import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' # 测试浮现了 import time # 为了延迟 import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data import mnist_forward import mnist_backward TEST_INTERVAL_SECS = 5 # 程序循环的额时间 def test(mnist): with tf.Graph().as_default() as g...
[ "794428738@qq.com" ]
794428738@qq.com
74bc608d4b97f1b7c0df621bcabed6cd361d7dbc
dd0b0df88a08a4f4ab249c76cf0ea82482ff37bb
/sfepy/terms/terms.py
41157ad7b967a814fae63a5692dccc27c5c414df
[ "BSD-3-Clause" ]
permissive
mfkiwl/sfepy
43e3a2cbed240b8ef387a8ab9037c1f6fd19e0fe
67275845da49e772b2f8faaa48df165893f2be16
refs/heads/master
2021-01-18T07:59:19.289053
2013-10-31T09:54:55
2013-10-31T09:54:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
48,287
py
import re from copy import copy import numpy as nm from sfepy.base.base import (as_float_or_complex, get_default, assert_, Container, Struct, basestr, goptions) from sfepy.base.compat import in1d # Used for imports in term files. from sfepy.terms.extmods import terms from sfepy.linalg i...
[ "cimrman3@ntc.zcu.cz" ]
cimrman3@ntc.zcu.cz
08580dffeacca70d2adf0088f5b03bd8a89be49a
115e96b9de17f0040333c6d375b45b6c4df8765e
/even_odd.py
f805324ec9be827edd335c3b5b65a41b0189131c
[]
no_license
NdunguGP/pythonApps
e4deab3db2c7dcec58a1f3bf5ed228df4724c963
98cb3150e66d66622e8be8f0ebb99a4e076bacc8
refs/heads/master
2021-07-23T16:37:11.543607
2017-10-29T19:33:10
2017-10-29T19:33:10
104,220,266
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
import random def even_odd(num): # If % 2 is 0, the number is even. # Since 0 is falsey, we have to invert it with not. return not num % 2 start = 5 while start: number = random.randint(1, 99) if even_odd(number): print("{} is even".format(number)) else: prin...
[ "noreply@github.com" ]
NdunguGP.noreply@github.com
49ada2472ec71775a9376b00c9ae37ee34f38b0a
15e3bdc0af8247f8f4f6d4932336e8fcba94e239
/string/format.py
bb537793cf27719c4358d7183adc6edfa377f444
[]
no_license
yuii-code/_workshop02
e3b38c53ffa130d9a0fb2947af53708dbeca2264
7cdd901ec0728b442a37ffaaa4df0b29f019e027
refs/heads/master
2023-03-23T02:24:35.477521
2021-03-13T10:41:43
2021-03-13T10:41:43
328,414,150
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
age = 20 txt = "My name is yui, and I am {}" result = txt.format(age) print("result", result)
[ "onthicha.s@ku.th" ]
onthicha.s@ku.th
33864e4c4e10988ab56cdf4ba1f15fbbd344f0e0
d2f50124ff3bec70b9b3139ecb063b06e526781d
/despachos_mercancias/migrations/0012_auto_20170113_1639.py
17429c15b3153edf6a6c8081aaad3e0199999d20
[]
no_license
odecsarrollo/odecopack-componentes
e8d993f089bf53bbf3c53d1265e70ac5c06b59b8
b583a115fb30205d358d97644c38d66636b573ff
refs/heads/master
2022-12-12T00:33:02.874268
2020-08-13T18:45:01
2020-08-13T18:45:01
189,262,705
0
0
null
2022-12-08T11:23:46
2019-05-29T16:37:21
Python
UTF-8
Python
false
false
618
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-01-13 21:39 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('despachos_mercancias', '0011_enviotransportadoratcc_ciudad'...
[ "fabio.garcia.sanchez@gmail.com" ]
fabio.garcia.sanchez@gmail.com
5c4f2ddf4459e23dcfd43b94dcfb8c19ba95d495
2518db90aeef9130856081ec6600ab261be25741
/Test/stats_python/stats.py
8107c1874b760fcb1b3ecc6914108c32db1bf894
[]
no_license
MalcolmMielle/RSI
aec03084da4326fdab111773dd8e83242ff50f8a
5a1eec8d749ac71060e5814e9b51ed823550b09f
refs/heads/master
2020-09-17T05:25:52.439905
2019-11-25T17:34:40
2019-11-25T17:34:40
224,004,604
1
1
null
null
null
null
UTF-8
Python
false
false
923
py
import numpy import scipy.stats import matplotlib.pyplot as plt def mean(list): sum = 0 for element in list: sum = sum + element sum = sum / len(list) return sum def variance(list, mean): sum_el = 0 for element in list: temp_el = element - mean temp_el = temp_el * temp_el sum_el = sum_el + temp_el su...
[ "malcolm.mielle@protonmail.com" ]
malcolm.mielle@protonmail.com
ce37c43e76430750154401851a00fca84140d317
abd9537f8b90a990e195ded5f9fafdcc108d2a48
/swea/d4/1486/1486_shelf_powerset.py
487056a865e5b4c70509b2d17d0851b107ba7e2c
[]
no_license
ohdnf/algorithms
127171744631406c1d08cc2583aa569a094fa2cd
6f286753dab827facc436af4f2130f11dad2d44f
refs/heads/master
2023-08-09T11:19:56.445351
2021-08-31T13:11:46
2021-08-31T13:11:46
236,180,615
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
import sys sys.stdin = open('input.txt') t = int(input()) for test_case in range(1, t+1): n, b = map(int, input().split()) # 점원 수, 선반 높이 clerks = list(map(int, input().split())) # clerks.sort(reverse=True) heights = list() for i in range(1<<n): tmp = 0 for j in range(n+1): ...
[ "jupyohong7@gmail.com" ]
jupyohong7@gmail.com
dba87a9b580d39b7e8694daed7b9a5cb06a8db56
998a180e5c974d89c9ad33532d4fd33298c806a4
/chapter1_arrays_and_strings/palindrome_permutation_1_4.py
9fff45e7b07a41cdbf04a5422ddc172fcfa0d501
[]
no_license
Taycode/cracking-the-coding-interview-solutions
c542a047a37b5af406469ba3f912b4bbdc326b05
0c2dcc4d4558dc4766b5ddcce470a60986eb39a6
refs/heads/master
2023-02-08T16:31:59.683541
2020-12-27T16:59:12
2020-12-27T16:59:12
324,807,557
1
1
null
null
null
null
UTF-8
Python
false
false
957
py
""" Given a string, write a function to check if it is a permutation of a palin­ drome. A palindrome is a word or phrase that is the same forwards and backwards. A permutation is a rearrangement of letters. The palindrome does not need to be limited to just dictionary words. EXAMPLE Input: Tact Coa Output: True (permut...
[ "tay2druh@gmail.com" ]
tay2druh@gmail.com
a095922b84d873ba110a5c151c41ad135874eb8c
c370c85aaa470a9dcfef38de2356083ce1b41b41
/src/main.py
da4494bdd58941e0265ad7a602b47ae31e8c602e
[]
no_license
mlytle4218/pod-kast
cd51979d16c322fddab2b2638922d9ebb5eded82
e519add9cf4b2e5eeca53485c5431a9988bb1466
refs/heads/main
2023-08-24T05:00:52.949984
2021-10-09T06:49:36
2021-10-09T06:49:36
411,491,310
0
0
null
null
null
null
UTF-8
Python
false
false
6,053
py
# python imports import os, subprocess # local imports import utils from data_accessor import DataAccessor from menu import Menu from sqlite_database_creation import Category, Podcast from sql_category import CategoryControls from sql_podcast import PodcastControls import config from log import logging as log clas...
[ "mlytle4218@gmail.com" ]
mlytle4218@gmail.com
809cb39be1c498b2dc3381f28cb369e0fa000dd1
d404fb72dee51f8c2791bf21cc5d9ee91d2d6a45
/ch03_if/0118_grade.py
994ed4ab4c6a92af05a7cb316a7605ce19cac7b7
[]
no_license
kangwonlee/18pf_welcome_template
6c5c997e7aac08d8a7d94d4a146037c2d3b4a813
9279559c7cde37a18b8e1d5e596f161087493218
refs/heads/master
2021-04-12T07:52:29.577562
2018-03-18T21:29:28
2018-03-18T21:29:28
125,769,393
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
score = int(input("성적을 입력하시오: ")) if score >= 90: print("학점 A") elif score >= 80: print("학점 B") elif score >= 70: print("학점 C") elif score >= 60: print("학점 D") else: print("학점 F")
[ "kangwon.lee@kpu.ac.kr" ]
kangwon.lee@kpu.ac.kr
0f715b9465ba1a0dcc750d969a70815c72610331
c5ea70bb1337b9c9c72a5dd80cebac8f1ba52a4d
/articleapp/migrations/0001_initial.py
af823e9e2455f6c04a5a7bb967af3293be69d4cd
[]
no_license
leesh9069/Django_Project_LSH
8466f0a8e6670e3357f23e64437ec9452ae23c33
9fb647cc2586f3244a80f65ed31d4d646a4cac6f
refs/heads/master
2023-07-19T16:29:54.855919
2021-09-23T06:41:58
2021-09-23T06:41:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
# Generated by Django 3.2.5 on 2021-08-01 15:38 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "shlee9069@naver.com" ]
shlee9069@naver.com
c757bd9966acd9a987e30e914ce32a7e7481d6da
9ee9d0aa7d924e7d0500f88f2d5a566a31857360
/stylegan-encoder-master/encode_images_fk.py
361ee0eacd88487356f25f28066cc64cd8dc42fa
[]
no_license
Fenkail/py-torch
044302f71b3254cca9da3308697d14c048253675
91e5eedb8df124753bcd13081416cafdd1ee2f48
refs/heads/master
2020-06-29T14:17:19.206952
2019-10-12T08:20:23
2019-10-12T08:20:23
200,559,248
1
0
null
null
null
null
UTF-8
Python
false
false
5,975
py
import os import argparse import pickle from tqdm import tqdm import PIL.Image import numpy as np import dnnlib import dnnlib.tflib as tflib import config from encoder.generator_model import Generator from encoder.perceptual_model import PerceptualModel, load_images from keras.models import load_model import time impor...
[ "fengkai1996@foxmail.com" ]
fengkai1996@foxmail.com
c0c8b5cd76ab1211715caf9c7860677b20a6a49e
dfadee3252841bae4f1065919d794557832245a9
/exercise-3/ex3.py
b6994faa4de7370b7f4aaa52829e708297765462
[ "MIT" ]
permissive
Queky/advent-code-2020
7c74b4e91f62fd7ab2475c96d8e5f4799c9c9bd7
1a1dbc208464b28e813f4743423c7fbacd5a4d0d
refs/heads/main
2023-02-01T14:38:04.023310
2020-12-13T18:51:47
2020-12-13T18:51:47
320,059,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
class Map: maxWidth = 0 maxHeight = 0 positions = [] def __init__(self, lines): self.maxWidth = len(lines[0]) self.maxHeight = len(lines) for line in lines: if line: self.positions.append(list(line)) def is_tree(self, x, y): return self...
[ "inakisanchez_92@hotmail.com" ]
inakisanchez_92@hotmail.com
523ebba8af98a2d50fc0e4ed662799dd8673bccc
59020ea258d38e876b39a4a5d79a85ad4d014084
/rpi/withImgReg/testCamera.py
fae929747cdd4b24b55abfae99836b64bdc18abf
[ "MIT" ]
permissive
Joash-JW/CZ3004-MDP-Image-Recognition
eb4db054cf6a74b9269a6b5b4af271d311ef7f86
75a12aa7b44ace049ac8885fb832135083b26c9b
refs/heads/master
2022-12-28T10:35:16.947227
2020-09-28T16:28:07
2020-09-28T16:28:07
246,212,331
0
0
MIT
2020-09-28T16:28:08
2020-03-10T05:01:00
Jupyter Notebook
UTF-8
Python
false
false
53
py
from sendImg import * obj = sendImg() obj.takePic()
[ "32333304+Joash-JW@users.noreply.github.com" ]
32333304+Joash-JW@users.noreply.github.com
12e01a17bd141b1e82d95006b641e5bb0343d272
484c462c29e3c2f8ac280b79c11db6982c6a8ca6
/neurolab-0.2.3/neurolab/__init__.py
1c9445506114073da6f75ac4c16ca8634f996e27
[]
no_license
thelma1944/Python_Stuff
b5fa53bf008bb5e865204201b144fe20e7f87565
077131a2c9f247396dca86fdf18933d38ae8d501
refs/heads/master
2021-06-05T12:25:35.779070
2020-10-03T18:20:16
2020-10-03T18:20:16
16,077,931
0
1
null
2021-03-26T00:30:14
2014-01-20T17:36:16
Python
UTF-8
Python
false
false
1,754
py
# -*- coding: utf-8 -*- """ Neurolab is a simple and powerful Neural Network Library for Python. Contains based neural networks, train algorithms and flexible framework to create and explore other neural network types. :Features: - Pure python + numpy - API like Neural Network Toolbox (NNT) from MATLAB ...
[ "thelma1944@gmail.com" ]
thelma1944@gmail.com
aa416bdfc7a7201c4451bbc32abf96628417d47f
67e1c52432a4d6a35ad1609a072b1d0c19b9f24b
/osi_django_app/manage.py
604a4509ef9904cd98b5258bbca348a45d6b0529
[ "MIT", "LicenseRef-scancode-free-unknown" ]
permissive
tapaswenipathak/Open-Source-Programs
d7c017b70e89e81e19054e4c1f503deb325678db
ab31f6307338905a76635656ed2dc4dffb789bac
refs/heads/master
2023-08-24T07:39:42.232907
2023-01-28T15:11:56
2023-01-28T15:11:56
46,958,040
2,527
569
MIT
2023-08-14T10:48:14
2015-11-27T03:37:32
JavaScript
UTF-8
Python
false
false
634
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', 'osi_django_app.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "tapaswenipathak@gmail.com" ]
tapaswenipathak@gmail.com
e5a492b919dd3469c6ccf1a0e1b91198ebd9a81a
b3ad87a5556c4cb46953db552517090163c79f4b
/extract_feat.py
a38d5c9497da1bf6d87ff7f76a4fe026f3e03e3c
[]
no_license
martinhoang11/Image-classification-with-cnn-and-svm-model
c9b8e0222c2472b16d8239c0c46c9aebc4308ff1
1ed4e6e2130d8771f0f7122697f202c5b85ce4ef
refs/heads/master
2020-07-01T15:33:41.092036
2019-08-08T08:43:37
2019-08-08T08:43:37
201,212,042
1
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
import numpy as np import tensorflow as tf import vgg16 import cv2 import os # Change this path DATASET_DIR = './Images/run/' if not os.path.exists('./npydataset'): os.mkdir('./npydataset') def load_image(PATH): batch = [] folder_name = [] img = [cv2.imread(PATH + file) for file in os.listdir(PATH)] ...
[ "39638263+martinhoang11@users.noreply.github.com" ]
39638263+martinhoang11@users.noreply.github.com
600a302ed2fe494a20e8295bf50c9fec01ba19fb
b857397e77f2804b80a5e7a39c1434230889986b
/orders/migrations/0016_auto_20180614_1907.py
58c4f6e5dc62487230bf19ecdd3ad5dd110652ab
[]
no_license
Gxrjan/OnlineOrder-on-Django
38af12489ab95ca705b5e8a32f6bd886cbbdf718
7a2901cbd613b378505dc22a2522f5e5d20bcbf5
refs/heads/master
2020-03-22T17:11:18.958217
2018-07-10T05:02:22
2018-07-10T05:02:22
140,379,290
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# Generated by Django 2.0.5 on 2018-06-14 16:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0015_auto_20180614_1457'), ] operations = [ migrations.AlterField( model_name='template', name='name', ...
[ "Gxrjan@gmail.com" ]
Gxrjan@gmail.com
a5cfcab1ab85afbc722c0382948b7d599a5f384b
6ee14bd6b0f7c71d7d81249f24b2472b7af58dad
/scripts/page_utils.py
f5e6cccd218fdae6bafcbee38f2611707e71aa24
[]
no_license
matplo/lmdweb
ae7124d508f3630647457c77e4791d15f44172ab
d95a40dd61a3862d301cbbf5d4ba613759e5081c
refs/heads/master
2020-04-30T12:40:57.709765
2019-06-11T18:49:28
2019-06-11T18:49:28
176,832,688
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
def safe_meta_get(page, what_meta, default_val=True): retval = default_val try: retval = page.meta.get(what_meta) except: retval = default_val page.meta = { what_meta : default_val} if retval is None: retval = default_val page.meta[what_meta] = default_val return retval
[ "mploskon@lbl.gov" ]
mploskon@lbl.gov
84183f7c48cf28f0fa8308a8d63844f013db01fe
27158575cad2b13ba578f0864172dd667dca3daa
/proj1.py
1e2378b137cb94c44b0dee3501a24e3ec414c153
[]
no_license
pcuste1/cmsc441-c9-repo
6b6aad35dff35fc9d61a467ba01d4133e39bfbe9
522bb4a49985e14031ad54093890441188f56624
refs/heads/master
2020-06-12T22:03:06.785767
2016-12-03T21:24:56
2016-12-03T21:24:56
75,501,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
from __future__ import print_function import sys import time sys.setrecursionlimit(1500) matches = {'H':'G', 'G':'H', 'W':'T','T':'W'} r = [] line = [] def OPT(i,j): if not i < j-4: return 0 if r[i][j] != '-': return r[i][j] q = -1 for x in range(i, j-4): temp = OPT(i,x-1...
[ "pcuste1@umbc.edu" ]
pcuste1@umbc.edu
d49b8dd94000b3cb7de0d0de656972db01f76896
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba0150.pngMap.py
12eae37b66b5a10110de9f226bbdc8418a2818d0
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba0150.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
7f2df471b94bb54376e154486267ebd828d91fe3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_deepens.py
5ee1f3387e1e9e28ab6fb75803b9751b7df84712
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
#calss header class _DEEPENS(): def __init__(self,): self.name = "DEEPENS" self.definitions = deepen self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['deepen']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
488cf30ffd994fadeab06641083eb00fa3b153e5
4eff9d232c5dcae30232de53e7de2d7a7902b9fd
/authapp/forms.py
9af4ac083b66639cb24a899a5698fa19c64c42d9
[]
no_license
Volhen/geekshop
56728b195797de18c25061f0a5bb4881eff15a08
c9226486fb9c9b13faea434e3fba2b7e6a0dd4f9
refs/heads/master
2020-05-23T08:31:32.562412
2019-05-20T10:41:22
2019-05-20T10:41:22
184,905,346
0
0
null
null
null
null
UTF-8
Python
false
false
2,566
py
import random import hashlib from django.contrib.auth.forms import AuthenticationForm, UserChangeForm, UserCreationForm from authapp.models import GeekUser from django import forms from .models import GeekUserProfile class GeekUserLoginForm(AuthenticationForm): class Meta: model = GeekUser ...
[ "zver2485@mail.ru" ]
zver2485@mail.ru
78bce8b6106795876ff11fd8725ce110034391de
7dce2aa5fbbf74dedb51d2a4792a9ccbf29a7430
/pybin/cpu.py
91de011c898c5ed3800ffbc1926d2a0f9c6b6239
[]
no_license
robert-e-roy/spork
4e4e1fec3d056fc33d5c42f77bd87bbfa3c3885d
bbc475ffe86cee9b6131365857365acf62314fe9
refs/heads/master
2023-02-02T08:49:48.114545
2020-12-20T21:45:54
2020-12-20T21:45:54
45,711,672
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
#!/usr/bin/env python import os import sys import pdb import time import array def main(): '''What wll we do!''' tsize=10000000 print "cpu speed test\n" # pdb.set_trace() myArray=[0] start=time.time() msize=0 while (msize < tsize): msize += 1 myArray.append(1) now=time.t...
[ "me@robert-e-roy.com" ]
me@robert-e-roy.com
dbaa16ecbdad9bbf872d8aacc6e0c934db1fa839
dd34d98b9301a1bea1daaa85f567310b5663847e
/chapter06/6-7.py
9e4a777d2d537cd70c7bbed2365705c18c69962b
[]
no_license
wngq/PythonCrashCourse
a4d4b34c3380b2ea3d5773331b5bf79a7e1b0abd
f6679319cd560ef336ba452eb28eebf272584b62
refs/heads/master
2023-04-03T19:56:29.995690
2021-04-14T03:07:01
2021-04-14T03:07:01
349,893,908
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
person_1 = { 'first_name': 'bin', 'last_name': 'huang', 'age': 29, 'city': 'nanjing', } person_2 = { 'first_name': 'ziyu', 'last_name': 'zhang', 'age': 28, 'city': 'shenzhen', } person_3 = { 'first_name': 'chao', 'last_name': 'sun', 'age': 27, 'city': 'shandong', } peopl...
[ "wqi1203@gmail.com" ]
wqi1203@gmail.com
84178264efd8e2f1fc7382e20d6fb767bbb79b3d
70205375cd8d98c6f7f7a214fc7f9db8abab75f5
/WEEK-9/1-Money-In-The-Bank/The-Alchemy-Way/base.py
78fc905756046d9a3ffe2c88dbfcab01d946fc5b
[]
no_license
presianbg/HackBG-Programming101
81f006b938663f982e182cdfef312cd7f9f33263
1a16953d4ac12766828daaf62a6290a68043a7bc
refs/heads/master
2021-01-18T22:33:27.515738
2016-05-26T04:54:47
2016-05-26T04:54:47
32,878,278
1
1
null
null
null
null
UTF-8
Python
false
false
128
py
''' Share Base to other files - main idea ''' from sqlalchemy.ext.declarative import declarative_base Base = declarative_base()
[ "presianbg@gmail.com" ]
presianbg@gmail.com
05f8987371f5ddb15e977ff76f10a537b712f7bd
4703810393f666b8f6abd9658d1a8903ee554fe8
/images360/spiders/images.py
8f78ec0faca3514e3788514c6ec7042ff1c00fe4
[]
no_license
wangch230/360Picture
0ec8a6012c54c43eab2d0ca8a1bf5a6aa08285e2
27e90c6dc14cff44faa4310d0ca0f0b213b67426
refs/heads/master
2020-04-18T21:22:44.905200
2019-01-27T03:02:23
2019-01-27T03:02:23
167,763,715
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
# -*- coding: utf-8 -*- from scrapy import Request, Spider from urllib.parse import urlencode import json from images360.items import Images360Item class ImagesSpider(Spider): name = 'images' allowed_domains = ['images.so.com'] start_urls = ['http://images.so.com/'] def parse(self, response): ...
[ "wangch30@qq.com" ]
wangch30@qq.com
f9412f6cc667dfbdacaae362e4edfd002c3afe40
5e8ad98800aeffd7a63f3469ac27b6bd46bb7be4
/prime.py
29d6e8087139b5651c8d01b64aba2496b667c37a
[]
no_license
V-Kiruthika/GuviBeginner
4d41f35074f290a90559974fdd4b70904cd858a5
da43fbb7cfac1ea3c56f3cb35dbbe983f9e9e1f6
refs/heads/master
2020-06-29T20:44:33.936875
2019-08-15T10:29:22
2019-08-15T10:29:22
200,619,691
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
d=int(input()) for i in range(2,d): if d%i!=0: print("yes") break; else: print("no") break;
[ "noreply@github.com" ]
V-Kiruthika.noreply@github.com
14575f006fa799ab2f3698289711bf9ad024a62a
86813bf514f3e0257f92207f40a68443f08ee44b
/0338 比特位计数/0338 比特位计数.py
96ff96f4ec3d4463f1b79f1a90552912d3e21da3
[]
no_license
Aurora-yuan/Leetcode_Python3
4ce56679b48862c87addc8cd870cdd525c9d926c
720bb530850febc2aa67a56a7a0b3a85ab37f415
refs/heads/master
2021-07-12T13:23:19.399155
2020-10-21T03:14:36
2020-10-21T03:14:36
212,998,500
4
1
null
null
null
null
UTF-8
Python
false
false
1,031
py
#label: math/dynamic programming difficulty: medium """ 思路一: 麻瓜思想,每个数转成二进制计数 """ class Solution: def countBits(self, num: int) -> List[int]: res = list() for i in range(num+1): res.append(bin(i).count('1')) return res “”“ 思路二: 《剑指Offer》里提到的结论:如果一个数 i 和 i - 1 做与运算,那...
[ "noreply@github.com" ]
Aurora-yuan.noreply@github.com
974fac91bb980b5ccc2df0d561cd18c2080e6149
5c22a1b4af40a008681eb2a6b7829a3c135b7d78
/Coding_and_Evaluation/detection/vgg/cal_comp_rate.py
b5ee3e9a698cafe80874b41eae55353e40b2bd50
[]
no_license
ZoomChen/DeepFeatureCoding
67c595a54859b8262d6397fe8ebef6d7c813a7b9
93dab42cfbfe9a579ae5f7d88e34e2c612d66b80
refs/heads/master
2020-08-20T09:16:34.107215
2019-11-05T01:31:21
2019-11-05T01:31:21
216,005,759
13
1
null
null
null
null
UTF-8
Python
false
false
1,918
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import os import sys import pickle quant_feat_dir = '/abs_path/coding/detection/vgg' Qp_list = [12, 22, 32, 42] feat_list = ['conv1', 'pool1', 'conv2', 'pool2', 'conv3', 'pool3', 'conv4', '...
[ "chenzhuo.zoom@gmail.com" ]
chenzhuo.zoom@gmail.com
aa46e0d853383325897465db18e112db394bcc2d
27ee4952728504e85d37d47d1c3cba87b550c12f
/htmlsession.py
57b9ae4d349bb430294af93cb7e15846aa3d6790
[]
no_license
Minux13/testVerbs
43bc30eb177a1f85a0c11b638d117e406a3373fd
d79dc4ac428681eb9b5e91880492d5903fa2460a
refs/heads/master
2021-06-27T15:58:17.745450
2019-04-17T16:50:47
2019-04-17T16:50:47
133,498,556
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
#!/usr/bin/env python from requests_html import HTMLSession session = HTMLSession() r = session.get('https://python.org/')
[ "neurona13@gmail.com" ]
neurona13@gmail.com
666833e38405142de2789716d45b14fc5149cbc6
53451bc76fea13b592fbe3d885123d002ea8da14
/run.py
4244c8c2101e90d75bd2e8c245813d872224a886
[]
no_license
jicius/fake_proxy
a640476ad3d6cdcbd3d81741bd66bcaf9083ecec
882c25b7da6657793bd32963aa2509f99d10cda9
refs/heads/master
2021-01-23T01:40:28.358157
2017-09-10T03:03:37
2017-09-10T03:03:37
85,923,975
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2017 Jicius # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) ...
[ "bq_ji@yahoo.com" ]
bq_ji@yahoo.com
0eefce36ea159a3ee01e3a8648d44a932052a570
679e31fe16e92e1d0bc3448c25845103f19a622f
/web_flask/3-python_route.py
96ec3a910bab88bd161ba28e53c1573167ff9a05
[]
no_license
Gikaro/AirBnB_clone_v2
ab7d63ce3e942253ded54d30d68c631eb055308c
5744e747f2fdb722d7e6843bd1e4a67abf9c8243
refs/heads/master
2023-03-20T01:34:49.172584
2020-09-02T23:22:39
2020-09-02T23:22:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
#!/usr/bin/python3 """WebFlask module""" from flask import Flask from os import environ app = Flask(__name__) @app.route('/', strict_slashes=False) def hello_route(): """Display Hello HBNB""" return 'Hello HBNB!' @app.route('/hbnb', strict_slashes=False) def hbnb_route(): """Display HBNB""" return '...
[ "sebri.issam@gmail.com" ]
sebri.issam@gmail.com
b74a713408aefee074e4a9a91ccb1e88510edabe
38c753e495cd362086777d3e78330325580cb5a3
/q10.py
ddc209bcdf18eff788f55bb82962785d86a2db3f
[]
no_license
Sandesh-Thapa/Assignment-II-Control-Structure
578d6841f1e186f1700d3abe8185089d35ace76b
a1c7e7b66a95e38ba7267180970c56f047b114c2
refs/heads/master
2023-01-30T08:06:50.304445
2020-12-13T15:12:07
2020-12-13T15:12:07
321,084,232
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
# Write a function that takes camel-cased strings (i.e. ThisIsCamelCased), and converts them to snake case (i.e. this_is_camel_cased). Modify the function by adding an argument, separator, so it will also convert to the kebab case (i.e.this-is-camel-case) as well. def convertStringCase(camel, separator): output = ...
[ "sandeshthapa426@gmail.com" ]
sandeshthapa426@gmail.com
4c682a791c45a4e6ed232c2a6b448d06c18f76d6
094115d2aaaa02f738e5a57d7b443d3f030a8c13
/pki/__init__.py
1b88213288cf3d87f8303d7453ef63d34157ecd0
[ "Apache-2.0" ]
permissive
245754954/pki-1
034af83f0dd796b9994888142c01bab61d9078dd
8e6c17b8719f11a7def15ea66ea39092d9397635
refs/heads/master
2023-03-23T05:21:35.718203
2021-02-18T14:53:32
2021-02-18T14:53:32
353,202,531
1
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
import os import logging.config from flask import Flask, redirect from flask_bootstrap import Bootstrap from mongoengine import connect logging.root.setLevel(logging.DEBUG) logging.config.fileConfig(os.path.abspath(os.path.join(os.path.dirname(__file__), 'logging.conf'))) logger = logging.getLogger(__name__) def cr...
[ "wyvernnot@gmail.com" ]
wyvernnot@gmail.com
ff7a3fc726a311d22688ac9d93394bb9217d0333
c61876227baed49f79332dfc4549744dafaf1e44
/bot.py
8df2c1b84e733b4144106e766e60e156dbc33d60
[]
no_license
TheTrueShell/QueueBot
5c8ff4e143cdf937884eda4406435440514d9b53
033848527e71fc27a718b8585ef6b65874d2ff96
refs/heads/master
2023-03-09T19:20:43.287528
2021-02-17T18:19:24
2021-02-17T18:19:24
338,392,359
0
0
null
null
null
null
UTF-8
Python
false
false
5,501
py
from logging import warning import discord from discord import channel from discord import guild from discord.ext import commands import asyncio class MyClient(discord.Client): waitingQueue = [] #Holds all members waiting in the queue roomIDs = [809454410543530014, 809454540504039424, 809454553790545950] #The...
[ "1906816@swansea.ac.uk" ]
1906816@swansea.ac.uk
799f27d7bd6278066b4a0c11259c76d826704d80
48e9d0e84238daf0de290551e3588e9ff3f49549
/calculadora.py
43fadb96364fb7c2a09a91ee806895c89e916e0c
[]
no_license
celord/PythonGreencore
9606af569738703b66d80bce6e423c9a313fa539
259aadcc346203f8092f6c6d286e3fca2e9fc550
refs/heads/master
2020-05-30T23:18:15.542876
2019-06-19T14:39:59
2019-06-19T14:39:59
190,014,113
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
def Menu(): print("""***************** Calculadora ************ Menu 1) Suma 2) Resta 3) Multiplicacion 4) Division """) def Calculadora(): "Funcion para calcular Operaciones Aritmeticas" Menu() opc = int(input("Seleccion Opcion \n")) while (opc > 0 and opc <5): ...
[ "celord@gmail.com" ]
celord@gmail.com
d342732ac3b6fe72d50a5b8e94fc6365d7766d2f
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/network/v20200301/route_table.py
0f7b2c604bdb6750a43a91e17b7ebf103a368267
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,631
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
48022a7ebdfbe5fa95fc2ddeea52e546eebfab4b
6daba5f780eb4e0a10b92da5838eda97925cd649
/lesson6_step5.py
75a7f6cc85827d6abc14b99986d3f63b7817f2d1
[]
no_license
infinity71/test_repository_stepik
48d05d9e5692d474fb99cf2c7c6b1958917a3594
4fcc8f2ed42375a37a1edc058a6f257f838b506e
refs/heads/master
2022-12-20T08:12:47.267905
2020-10-01T18:20:16
2020-10-01T18:20:16
299,732,205
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
from selenium import webdriver import time import math link = "http://suninjuly.github.io/find_link_text" try: browser = webdriver.Chrome() browser.get(link) text = str(math.ceil(math.pow(math.pi, math.e) * 10000)) print(text) buttonlink = browser.find_element_by_link_text(text) buttonlink.cl...
[ "m.devlikamova@gmail.com" ]
m.devlikamova@gmail.com
1e80f050379c3620ecae456eef6480ff547b77d4
13f5c66af02a64aa8c5d988e9560b82bcf058fd0
/learning_sql/views.py
8cec81152d26fe1d92d386c49f799cf9269d320b
[]
no_license
heitorchang/reading-list
a1090b969d0f16cbc7c0e371671e85dca0bde201
3dcfd68cb02179e75216ff459fda693ec1fb8684
refs/heads/master
2023-04-27T03:04:28.122341
2023-04-21T14:04:20
2023-04-21T14:04:20
67,825,952
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
# p. 249 def create_totals_vw(): cursor = cnx.cursor() cursor.execute(""" CREATE VIEW customer_totals_vw (cust_id, cust_type_cd, cust_name, num_accounts, tot_deposits ) AS SELECT cst.cust_id, cst.cust_type_cd, CASE WHEN cst.cust_type_cd = 'B' THEN (SELECT bus.nam...
[ "heitorchang@gmail.com" ]
heitorchang@gmail.com
1c6412b50843364b2655f72d593b23b9af5b1d5d
2c556a8907579f05e8ab91a4939868d3c4693c2b
/apps/tasks/migrations/0027_auto_20200705_1710.py
8c73f7d01cf8b2c8e42d9bacc32d9a8abaa13a75
[]
no_license
TaoHuangNa/YinProject
a6d5e86b080192bef855d31c60201193158e3b1d
facb86596dc6ba0be6d09bec5de3dcdf50cb2a1e
refs/heads/master
2022-11-18T11:03:00.263466
2020-07-13T13:46:30
2020-07-13T13:46:30
279,313,984
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
# Generated by Django 2.1.1 on 2020-07-05 17:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0026_delete_taskstype'), ] operations = [ migrations.AlterField( model_name='tasks', name='state', ...
[ "1416501312@qq.com" ]
1416501312@qq.com
4d4579bfc8296b07953246830efeaecae7e6e0ef
c5d15be7f68e8120c7c710b090df21d6f50bf48e
/First Partial/Ejer/Ej2_A01630738.py
117270a27a76bf54dce99c99ec1610b492222ad1
[]
no_license
arath11/Fundamentos_programacion_PYTHON
13f2fa15f3f854ab880ab463f865c656c02384a0
4f426f4e29a1d101005e0a038290f9a2e98b7306
refs/heads/master
2020-04-23T22:24:28.149248
2019-02-19T16:18:52
2019-02-19T16:18:52
171,500,588
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
#Julio Arath Rosales Oliden #A01630738 import math #Se piden los datos lado_l=float(input("Inserta la medida del lado L \n")) lado_h=float(input("Inserta la altura del prisma \n")) #Se saca el area, sumando las areas de los triangulos y los rectangulos area_base=(math.sqrt(3)/4)*(lado_l**2) area_lado=(lado_h*...
[ "noreply@github.com" ]
arath11.noreply@github.com
77c1a1e2a26adc6671d02a8748df8ead36fdde04
60ff6aa653ba0b68e362152268a5fa8e27ddc20a
/recommenders/Exploratory_data_analysis.py
f19637a1a574866a7505cfa0a550860f64e613bd
[]
no_license
Ndu3000/unsupervised-predict-streamlit-template
9ce03635849c680f887439ac4b575392b5a4ca2a
ddde14972164164ef651806253061db1a34118fd
refs/heads/master
2022-11-19T20:49:02.995279
2020-07-28T10:37:48
2020-07-28T10:37:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,304
py
import pandas as pd # To create plots import matplotlib.pyplot as plt # data visualization library import seaborn as sns sns.set_style('whitegrid') from wordcloud import WordCloud, STOPWORDS #used to generate world cloud #define a function that counts the number of times each genre appear: def count_word(df, ref_...
[ "menzi639@gmail.com" ]
menzi639@gmail.com
f0bc2d2a2876743d3b1f731be6382a0665dacae3
6a16e5e56f38ff4ed1fc02b5a6497a8ac28e51f0
/__files archives/_helena_final_script-3.py
bf602bbfbbeb4bd872c44b2aeabd780e54252058
[]
no_license
aslinurtaskin/SHEDIO
32a3e9a927432e376e8ec38e279dd61bbc5050ce
659a768ed985843d8499340bfbbb06474945dc69
refs/heads/master
2023-03-23T04:49:13.914458
2021-03-20T13:02:08
2021-03-20T13:02:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,359
py
import csv import sys import cv2 as cv import numpy as np import argparse import random as rng import math import matplotlib.pyplot as plt import turtle from PIL import Image from numpy import savetxt rng.seed(12345) # Define functions ___________________________________________________ img_path = ('/Users/helenaho...
[ "helenahomsi17@gmail.com" ]
helenahomsi17@gmail.com
ac59204e9abd021cf11fc1a250525dc4f0c141d8
2be1efe0bc2d4e0a3a98936ad203a1d7080b5136
/internal software/test/test.py
c3bf5baf43199d9d1a38f7c0152a5c8b235c944e
[]
no_license
LC-Sat/internal-software
06433bf58a27dca7613c01df3ae0419a18eb2542
2e74914be1b1fd3fccdffc60adc9b4cdf7247095
refs/heads/main
2023-08-13T13:15:25.307593
2021-10-16T13:51:46
2021-10-16T13:51:46
417,841,376
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
import unittest import os import sys from unittest.mock import patch import threading mock_dir = os.path.join(os.path.dirname(__file__), "mock_libs") assert(os.path.exists(mock_dir)) sys.path.insert(0, mock_dir) from src import cansat class FakeSat(threading.Thread): def __init__(self, mode=cans...
[ "noreply@github.com" ]
LC-Sat.noreply@github.com
8c49147cf82f3595fd7da33c4712b0584be9560e
d5ce1d654153baea4177e7bd5e6bb1ff5515ad79
/dadWeather.py
1cc63c0945682aea9e385f0cbab4f9cb062094fc
[]
no_license
dennis15926/DadWeather
177bc10156772c75983a633c89030788abaabcfd
3170d0e6642f0ef53b2ff2b8e4548345b5041ab3
refs/heads/master
2021-01-10T11:55:30.999334
2016-03-12T20:56:46
2016-03-12T20:56:46
53,753,048
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
#coding: utf-8 import webget import myFileIO from datetime import timezone,timedelta import datetime URL = 'http://www.cwb.gov.tw/V7/observe/rainfall/Rain_Hr/7.htm' rain_str = webget.split_text(webget.url_to_text(URL)) days_no_rain = myFileIO.get_days_no_rain() print (rain_str) current_time = datetime.datetime.now(tim...
[ "dennis15926@gmail.com" ]
dennis15926@gmail.com
cb1e240271c4c122a05c64729f1e9330f325aff6
aab0c5e931fa5c63a1e11ad107e785d8205e2adf
/lista7jordana/Ex052.py
948f562d066232eec9d714324bf76760f5d4ebaa
[]
no_license
AtilioA/Python-20191
0cba16de6dd5e637920677dfe59ce572ccbca4cc
c1ba4280fab9965ccf47fbf0271cd9efacb86da4
refs/heads/master
2020-04-28T16:54:34.641561
2019-06-27T15:03:53
2019-06-27T15:03:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
from Ex048 import * def printaMaisProxMedia(lista): mpm = maisProxMedia(lista) print("Valor mais próximo da média = {mpm}")
[ "atiliodadalto@hotmail.com" ]
atiliodadalto@hotmail.com
44b4fec55b74c691af090b8774c0c386e6cc5dc1
6effd19fb11796892b52a95c274eaa0dd13126bc
/Server Module/server/gettrafficlights/migrations/0004_auto_20170703_2109.py
89977b7804880e8f3177e14cc5b20fe446bc5fca
[]
no_license
NourhanEssam/graduation-project
759c79f63422b777ff5781ab71f3cade3a50f700
f3f11412a775ef49b63091605e334090b6a6341b
refs/heads/master
2021-06-21T07:50:07.918818
2017-07-14T12:41:08
2017-07-14T12:41:08
72,365,980
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-07-03 19:09 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('gettrafficlights', '0003_auto_20170703_2107'), ] operations = [ ]
[ "eslamsamir232@gmail.com" ]
eslamsamir232@gmail.com
34e03ed4d72971d6ba7816fbfd77917897ceb6db
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_103/ch81_2020_04_08_14_08_30_221505.py
3d1850c8883fa9998cbf766d0212133a37e9b36c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
def interseccao_valores(dicio1,dicio2): lista=[] for valor in dicio1.values(): for valor2 in dicio2.values(): if valor==valor2: lista.append(valor) return lista
[ "you@example.com" ]
you@example.com
25be5070981b8513e439d196c2468bff17d82ecc
053c59a8ef72644c5cf6c909450e1856ae3ea833
/pinocchio/vercomp.py
488bcbe90799846065ec9dcbf3f54b8c95254836
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Ethsnarks/ethsnarks-pinocchio
5576f29843736b918b0ab1d6897aecc32e2122d7
4001749cfd350a5e9ae1608dc06103bf0e384cd8
refs/heads/master
2020-04-04T06:41:00.997812
2018-11-01T23:37:23
2018-11-01T23:37:23
155,753,201
3
0
null
null
null
null
UTF-8
Python
false
false
40,534
py
#!/usr/bin/python from __future__ import print_function import pickle import json import argparse import sys import subprocess import os import tempfile import traceback from .ArithFactory import ArithFactory from .BooleanFactory import BooleanFactory from .Timing import Timing import pycparser from pycparser import ...
[ "HarryR@noreply.users.github.com" ]
HarryR@noreply.users.github.com
6aa411c0ab67854ce1c59337301b2e5b1d25c752
c918d30d0d026a35acae0253cc4c545cdea90e8e
/python_exercise_classification.py
ac58aeacc654208e33eef82a6d9d99c6d37df4b4
[]
no_license
zhangwen464/pytorch_studying
d1f397bb29cd2c2af55b1f64cdb37e9ecc668315
e56566e643222f74b86a212970143c68f0ae2b49
refs/heads/master
2020-03-30T00:18:08.446860
2018-09-27T02:14:27
2018-09-27T02:14:27
150,515,012
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
# author :momo #time :2018.09.20 # classification network #prepare training data import torch import matplotlib.pyplot as plt import torch.nn.functional as F from torch.autograd import Variable n_data=torch.ones(100,2) #数据基本形态 x0=torch.normal(2*n_data,1) #类型0 x data(tensor),shape=(1...
[ "noreply@github.com" ]
zhangwen464.noreply@github.com
cc8073a006724d4c3a463c9da8af11bbef0e2d5c
19136335b7e88324546fdfed45b4d0b22042202c
/rplugin/python3/deoplete/filter/converter_truncate_menu.py
90a331d0f918b01825f96575468fc8be3376b89e
[ "MIT" ]
permissive
nholik/deoplete.nvim
3074fa3cdd5a8a2df5f300d0ac74fedde6555fdf
614cd3ddf1f352c977f3405e809d967093571117
refs/heads/master
2020-05-27T18:05:59.540419
2019-05-26T22:26:41
2019-05-26T22:26:41
188,736,112
0
0
NOASSERTION
2019-05-26T22:06:01
2019-05-26T22:06:01
null
UTF-8
Python
false
false
1,034
py
# ============================================================================ # FILE: converter_truncate_menu.py # AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> # License: MIT license # ============================================================================ from deoplete.base.filter import Base from deop...
[ "Shougo.Matsu@gmail.com" ]
Shougo.Matsu@gmail.com
d874442d2b3aae643694eac7e754a09f39b2094b
c74d19de038a0ede9c91e3c357b5a8854e8698ad
/07-Dynamic Programming/coins.py
175eaf2519923f2d9cb5d90c104f534803dede37
[ "MIT" ]
permissive
sajjadm624/competitive-programmer-handbook-python
1e026824faaaed0f6dc1cbf05225f9d7b9e4cf7e
8b33f4cff7ce5cb20f69b5f1cb67ee8154826981
refs/heads/master
2022-06-17T08:37:00.217521
2020-05-08T10:33:35
2020-05-08T10:33:35
260,295,899
0
0
MIT
2020-04-30T19:06:24
2020-04-30T19:06:24
null
UTF-8
Python
false
false
1,442
py
import math coins = [1,3,4] #recursive solution to minimum number of coins problem def c_solve(x): if x < 0: return math.inf elif x == 0: return 0 best = math.inf for c in coins: best = min(best, c_solve(x-c)+1) return best print(c_solve(10)) #solves quickly print(c_solve(30)) #takes several seconds #print(c_...
[ "noreply@github.com" ]
sajjadm624.noreply@github.com
e923e894f298de0501742da399ba096237404c13
6aa9fdff566a2ca384ed1b1db6933a415581bc22
/backend/isasatec_23315/wsgi.py
0442c9c343131871e14516b7d974bda02284aece
[]
no_license
crowdbotics-apps/isasatec-23315
ae10c4ecde97b30cde72a627d65354b666ddb32c
6a0a3bfddbba71ac7ee6256ffd1de0f7b3e565e7
refs/heads/master
2023-01-28T16:38:25.528446
2020-12-11T15:56:50
2020-12-11T15:56:50
320,553,482
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for isasatec_23315 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANG...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
84d0c392bf79f9dc6b5aabeae0dcb651c2507545
18574df53001f3b6f717a15289495f4f94cb4389
/examples/run_ensemble_nowcast.py
3cc0f10cffa265c0b33d2b8d7c06683ff35e04b8
[ "BSD-3-Clause" ]
permissive
savelov/nowcast
6fa789b66724cc65b8d4e611cb6b7c98eb4756a0
9c1168b1ba642f15bc4ffb000bdbca6db27c29b1
refs/heads/gimet
2021-06-22T15:17:52.527381
2020-03-29T16:06:55
2020-03-29T16:06:55
157,089,594
6
2
BSD-3-Clause
2020-05-03T13:11:31
2018-11-11T14:49:03
Python
UTF-8
Python
false
false
7,249
py
#!/bin/env python """Stochastic ensemble precipitation nowcasting The script shows how to run a stochastic ensemble of precipitation nowcasts with pysteps. More info: https://pysteps.github.io/ """ import datetime import matplotlib.pylab as plt import numpy as np import pickle import os import pysteps as stp import...
[ "savelov@gmail.com" ]
savelov@gmail.com
102f709bebff12b32c93c321b66bd7327cd6e92b
b15d2787a1eeb56dfa700480364337216d2b1eb9
/accelbyte_py_sdk/api/matchmaking/models/models_query_mock_by.py
8e41cf6eec7f84d441d5c2d4e272a292a791f88e
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
3,879
py
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template file: ags_py_codegen # AccelByte Gaming Services Matchmaking Service (2.25.7) # pylint: disabl...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
6c542f2791ff8cf70bd64f3ba980fb51f4749655
3c383f520c80c97e215753efc76a83aa0a8ad7b1
/inventory/inventory/urls.py
baf70a45a65d5ccdf831ff3ed905b88fae1ad1f2
[]
no_license
vermamayank5455/stock_inventory
a75244098042b7148300e88075c884fa55878b88
e97ca7fee3126427db58de222aa57226c9855c30
refs/heads/main
2023-07-15T17:13:22.590562
2021-08-18T11:13:06
2021-08-18T11:13:06
337,970,177
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
"""inventory URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "vermamayank5455@gmail.com" ]
vermamayank5455@gmail.com
31ed4f5f60a390cfa304795d62ffcae162a4cedf
5eb953194b0dc0d95c9f557a6cc32ab70bf18a26
/calc2.py
ef03a6646529d3580b98c7a2a0051289aec41202
[ "MIT" ]
permissive
voodoopeople42/Vproject
786543460ebe298b0881dbec7b26db98699ee1d7
349e80a0d3cfd590cb9dbe667acfbdb7393308e3
refs/heads/master
2021-06-25T04:55:23.694415
2019-11-29T12:05:14
2019-11-29T12:05:14
217,142,513
0
0
MIT
2021-03-20T02:23:28
2019-10-23T19:58:37
Python
UTF-8
Python
false
false
404
py
import math what = input ( "what u want? (cos, sin, log, sqrt): " ) a = int(input("Input a number: ")) if what == "cos": a = math.cos (a) print ("result: " + str(a)) elif what == "sin": a = math.sin (a) print ("result: " + str(a)) elif what == "log": a = math.log (a) print("result: " + str(a)) elif what == "s...
[ "s1kwood2033@gmail.com" ]
s1kwood2033@gmail.com
59f257e74467edf2e02f1c12f63bef4bc528fd7e
085488720112922ff3aed15f99f3c93911425c4a
/vesper/signal/tests/test_s3_byte_sequence.py
c6f1f484a9b415154c8d517bf998a2ab6d8b4200
[ "MIT" ]
permissive
HaroldMills/Vesper
0b61d18bc241af22bfc251088fc87d72add6367b
ec92fe5231f54336499db189a3bbc6cb08a19e61
refs/heads/master
2023-07-05T22:45:27.316498
2023-07-04T11:58:14
2023-07-04T11:58:14
19,112,486
49
6
MIT
2023-02-14T16:09:19
2014-04-24T14:55:34
Python
UTF-8
Python
false
false
909
py
import unittest import warnings from vesper.signal.tests.byte_sequence_tests import ByteSequenceTests from vesper.signal.s3_byte_sequence import S3ByteSequence from vesper.tests.test_case import TestCase REGION_NAME = 'us-east-2' BUCKET_NAME = 'vesper-test' OBJECT_KEY = 'Bytes 00-FF.dat' OBJECT_LENGTH = 256 # TODO...
[ "harold.mills@gmail.com" ]
harold.mills@gmail.com
d572a7d14711cfe9547737215020f5f428c3d827
2e359b259d3071a97930a1944cb6b7ff336fc369
/account/views.py
5b89b2f62c061a1f92ec28b30b5bca035fce1d52
[]
no_license
skalizzo/Django_Social_Media_Project
bb4171ad3e7b1968361301d0c87cf4c0ac8e9f4e
18d3695cadb96fc54baeededa8e965e001d7f583
refs/heads/master
2023-02-20T18:15:19.199821
2021-01-27T20:19:59
2021-01-27T20:19:59
333,534,514
0
0
null
null
null
null
UTF-8
Python
false
false
3,131
py
from django.http import HttpResponse from django.shortcuts import render from django.contrib.auth import authenticate, login from .forms import LoginForm, UserRegistrationForm, UserEditForm, ProfileEditForm from django.contrib.auth.decorators import login_required from .models import Profile from django.contrib import ...
[ "christian00richter@gmail.com" ]
christian00richter@gmail.com
2a2d1d8830e835a1494087e94fb849e401876cc4
bf21cd0ef7a94fa106ccd9f91a4bbfdcda7f94ed
/python-basic/chapter04/ex01_2.py
2b0d435813f0cc5b511a07e9e93529dd676c29ef
[]
no_license
juneglee/Deep_Learning
fdf8cae1b962aaa0ce557cb53f78a22b6d5ae1e8
17a448cf6a7c5b61b967dd78af3d328d63378205
refs/heads/master
2023-07-15T03:02:55.739619
2021-08-19T14:04:55
2021-08-19T14:04:55
273,253,872
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
# 리스트 연선자 : 연결(+) , 반복(*), len() # 리스트 연산자 list_a = [1, 2, 3] list_b = [4, 5, 6] print("# 리스트") print("list_a = ", list_a) print("list_b = ", list_b) print() # 기본 연산자 : 연결(+) , 반복(*) print("# 리스트 기본 연산자") print("list_a + list_b =", list_a + list_b) print("list_a * 3 =", list_a * 3) print() # 길이 구하기 : len() print...
[ "klcpop1@gmail.com" ]
klcpop1@gmail.com
332b13da0a1f4b13b5645e39b38500507e8151e3
80f817608976451f032a0c1410cdfe34cd339d39
/encyclopedia_builder.py
1946247572660b3466e98eb33a2fca7d79ea0c51
[]
no_license
erik-roger-fuller/NLP-art-articles
413fd398b3685059178fd876e2b852cbcb2ceb40
616b5cfe8bda5ac52aa83e7111a4ae68cdcae9b5
refs/heads/main
2023-06-03T22:43:48.912717
2021-06-15T15:52:08
2021-06-15T15:52:08
346,487,773
0
0
null
null
null
null
UTF-8
Python
false
false
3,942
py
import pandas as pd import numpy as np import json import csv import os import re from spacy.kb import KnowledgeBase import spacy def museum_classify(desc1, desc2, name): if desc1 == "ART": desc1= ["Art Museum"] elif desc1 == "BOT": desc1= ["Arboretum", "Botanical Garden", "Nature Center"] ...
[ "erik.roger.fuller@gmail.com" ]
erik.roger.fuller@gmail.com
39a8bcf785f7ae33a4d0d62d9cb566110b1b5440
a0fc566d29d8429f9ecc765e59d8d3718f6b60a1
/Python Core/2-6.py
92840063b942019d67d2fe87ea25b90193049d7d
[]
no_license
muyicui/pylearn
0f3ca863cf2629ea246271f81ea2f43a9cbd4dff
1130bc57f629c31994709ba6bfe176ab220f30c1
refs/heads/master
2021-01-10T06:49:48.457891
2019-03-15T02:26:20
2019-03-15T02:26:20
54,449,883
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
#!/usr/bin/env python num = int(raw_input('please enter a number:')) if num > 0: print '%d is positive' % (num) elif num == 0: print '%d is zero' % (num) else: print '%d is negative' % (num)
[ "muyi.cui@outlook.com" ]
muyi.cui@outlook.com
e955c3e29e09ef198d1c10665adeac55d4a8f4db
337b532bad7432f9719735f2e3cd305cff6264b3
/sina/sina/spiders/sinaguider.py
c84f94835d5e7c6bbdddbd7909bf8d20a5056da1
[]
no_license
Mr-chen-Linker/douban
279e13fdb55f75f868bf4cf77f32af3c06f85f75
bfaba89fe0d8f03db222db019e28de776ca3cb3d
refs/heads/master
2020-03-18T14:18:45.907343
2018-05-25T10:36:33
2018-05-25T10:36:33
134,841,494
0
0
null
null
null
null
UTF-8
Python
false
false
4,490
py
# -*- coding: utf-8 -*- import scrapy import os from ..items import SinaItem class SinaguiderSpider(scrapy.Spider): name = 'sinaguider' allowed_domains = ['news.sina.com.cn'] start_urls = ['http://news.sina.com.cn/guide/'] def parse(self, response): # 用于暂时保存item的列表 items = [] ...
[ "39607153+Mr-chen-Linker@users.noreply.github.com" ]
39607153+Mr-chen-Linker@users.noreply.github.com
a19d147dc3ac0dc1389f80f703d9bfdb9880730f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/281/66059/submittedfiles/testes.py
4f5702282440b083bcb9303e18bb7339f798841e
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO print("Hello Word") print("olá Mundo")
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
150caba5e2ce7bbe0f2fac7228a73b1c48b130e8
35be15b1dc120a256750cf66305f169974c2e55c
/ecommerce/jan2020/blog/admin.py
2f847da382c95e6db6daed732a0c2fa22da850e2
[]
no_license
tejendrapatel/Ecommerce_Logics
2f10a5e216691add092f37a8186a9940b905f173
16ad13672c275e1be3ee6b3f5cd84d09f1600496
refs/heads/main
2023-08-27T00:53:10.438777
2021-10-23T11:50:36
2021-10-23T11:50:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
from django.contrib import admin from blog.models import * admin.site.register(college) admin.site.register(contact)
[ "info.prospectias@gmail.com" ]
info.prospectias@gmail.com
195f63b7fb6b96f891292d287a89d7dccdcbe323
0866c751f954ac0799dc1edf88c5294791a2c5a9
/order/urls.py
3c56ff433a1e3339c99a2a2748434cee65e83a07
[]
no_license
ChubakSopubekov/plovo
cd4b3bb3721b9460d32d0a093e69d6fb2d655abe
af103fe20c4e7dbebbc26cd06592163009c1d37a
refs/heads/main
2023-04-27T14:37:44.100420
2021-05-17T14:17:36
2021-05-17T14:17:36
361,718,720
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
from django.urls import path from .views import OrderListCreateView, OrderView urlpatterns = [ path('', OrderListCreateView.as_view(), name='order-list-create'), path('<int:pk>/', OrderView.as_view(), name='order'), ]
[ "sopubekov96@gmail.com" ]
sopubekov96@gmail.com
685eea7db453f95d3b09c7e014f28eeee0ba4439
a8123a86db99b9365b10ba76dd509d58caa7bc10
/python/practice/start_again/2021/05182021/Day18.3_Darw_a_spriograph.py
8814fcac3b147a6c0f49245cd49b4fbe21a8a16f
[]
no_license
smohapatra1/scripting
c0404081da8a10e92e7c7baa8b540acc16540e77
3628c9109204ad98231ae8ee92b6bfa6b27e93cd
refs/heads/master
2023-08-22T20:49:50.156979
2023-08-22T20:43:03
2023-08-22T20:43:03
147,619,016
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#Draw a Spirograph from turtle import Turtle, Screen import turtle as t import random tim = t.Turtle() t.colormode(255) tim.speed("fastest") #Random Color def random_color(): r = random.randint(0,255) g = random.randint(0,255) b = random.randint(0,255) color = (r, g, b) return color def draw_spiro...
[ "samarendra.mohapatra121@gmail.com" ]
samarendra.mohapatra121@gmail.com