blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
eb02dc1e6b7e567cad140a6e64b4ffcbd14c3557
44f3a3b7541c99554cbd94b015a8c25593f3e95e
/email/pyse_mail/public/login.py
d317bbd7ab8d43b189f8f4b3b87307630db4bbd1
[]
no_license
reblues/study
adc2d255c4c5990fcfcd4d8691625057c95357d8
7ea2854c778279d40d1dd3df362f463774f5971b
refs/heads/master
2020-12-31T05:24:13.440027
2016-06-01T06:28:33
2016-06-01T06:28:33
58,917,230
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
#!/user/bin/env python # -*- coding:utf-8 -*- from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.common.exceptions import NoSuchElementException import time,...
[ "534948651@qq.com" ]
534948651@qq.com
9514286077c40b1598552cdc24d2d2d31844d5fe
34ed92a9593746ccbcb1a02630be1370e8524f98
/lib/pints/pints/tests/test_mcmc_relativistic.py
1fb0e2abb531defd9c0d3b86dccf543b66d3e108
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
HOLL95/Cytochrome_SV
87b7a680ed59681230f79e1de617621680ea0fa0
d02b3469f3ee5a4c85d756053bc87651093abea1
refs/heads/master
2022-08-01T05:58:16.161510
2021-02-01T16:09:31
2021-02-01T16:09:31
249,424,867
0
0
null
2022-06-22T04:09:11
2020-03-23T12:29:29
Jupyter Notebook
UTF-8
Python
false
false
6,142
py
#!/usr/bin/env python3 # # Tests the basic methods of the Relativistic MCMC routine. # # This file is part of PINTS. # Copyright (c) 2017-2019, University of Oxford. # For licensing information, see the LICENSE file distributed with the PINTS # software package. # import unittest import numpy as np import pints imp...
[ "henney@localhost.localdomain" ]
henney@localhost.localdomain
030af696a1ebdd2d98a56cc9345bfe20f5099896
67ceb35320d3d02867350bc6d460ae391e0324e8
/practice/hard/0675-Cut_Trees_for_Golf_Event.py
e91dcd1441c759908435b4cb1b2766949823a97b
[]
no_license
mattjp/leetcode
fb11cf6016aef46843eaf0b55314e88ccd87c91a
88ccd910dfdb0e6ca6a70fa2d37906c31f4b3d70
refs/heads/master
2023-01-22T20:40:48.104388
2022-12-26T22:03:02
2022-12-26T22:03:02
184,347,356
0
0
null
null
null
null
UTF-8
Python
false
false
1,504
py
class Solution: def cutOffTree(self, forest: List[List[int]]) -> int: """ 0. while there are trees to cut down 1. walk to coordinates of next tree; cut down - do BFS dummy 2. if tree is unreachable - return """ from collections import deque from sortedcontainers import SortedDict def...
[ "noreply@github.com" ]
noreply@github.com
9bff11e3a8633333af71b3cc5a2bc2241e5e3ec0
68c182cbb167ec6870ec1a301958e71ce8f9bcbb
/test/functional/p2p_permissions.py
d59b0acadab68cf792b145888a6743bf9ce0b48e
[ "MIT" ]
permissive
megamcloud/umkoin
de10e9bbe0afbdc7210db56e41f823a0805283be
3e0d7a48f459ff09f0b9e02c3ed30563670009c8
refs/heads/master
2022-05-30T00:18:10.962521
2020-04-26T08:21:01
2020-04-26T08:21:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,694
py
#!/usr/bin/env python3 # Copyright (c) 2015-2020 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 p2p permission message. Test that permissions are correctly calculated and applied """ from test...
[ "vmta@yahoo.com" ]
vmta@yahoo.com
6e69cbf407d691845da736d0f0e4fe9b57e0019a
a65c77b44164b2c69dfe4bfa2772d18ae8e0cce2
/test/testgen.py
045d1ec03e086452f960b6967c1fd274939e737d
[]
no_license
dl8sd11/online-judge
553422b55080e49e6bd9b38834ccf1076fb95395
5ef8e3c5390e54381683f62f88d03629e1355d1d
refs/heads/master
2021-12-22T15:13:34.279988
2021-12-13T06:45:49
2021-12-13T06:45:49
111,268,306
1
6
null
null
null
null
UTF-8
Python
false
false
756
py
#!/usr/bin/env python3 from random import randint, shuffle import string import random def randomString(stringLength=10): """Generate a random string of fixed length """ letters = string.ascii_lowercase return ''.join(random.choice(letters) for i in range(stringLength)) def randomTree(sz): edg = [] ...
[ "tmd910607@gmail.com" ]
tmd910607@gmail.com
d2ec3022630495244009b0dfaad6ae6fb279abda
37dcb5cbe43eb2fd1ffe716e6bcf318dce10a275
/RLE/R8C.py
bb7bfec73a62d8bfdc2d2f2ab76e00969219e847
[ "MIT" ]
permissive
nesdoug/SNES_00
488f405d673927443dbbec05cfa5bfae6667d8c0
c5755eb3e8d01c017b962a8ad2b5ec1b7067f18a
refs/heads/master
2021-11-21T10:50:15.410248
2021-11-06T13:59:24
2021-11-06T13:59:24
237,279,311
12
0
null
null
null
null
UTF-8
Python
false
false
9,049
py
#!/usr/bin/python3 # 8 bit RLE compressor # written by Doug Fraker 2020 # for SNES background maps (and other things) # all 8 bit units, and 8-16 bit headers # non-planar and planar combined version # (planar = split all even and odd bytes) # it tests both and outputs only the smaller # eof byte (last of file) of F0...
[ "dougfraker@gmail.com" ]
dougfraker@gmail.com
e6a758972e70604e79582b0290a099ed73535f7d
0f880611b30941662cee4b37fb16e90b1227a3e4
/lib/utils/log.py
1a50c636269ed470cc8a80b1712004bcd313ad75
[]
no_license
ColdHumour/PortfolioMonitor
6cefa499aa6bec059e035fca7300926f84c840e9
d7da8a8c52e494bee30b1238521fc383b2489154
refs/heads/master
2020-04-06T05:13:51.245235
2016-11-02T07:01:34
2016-11-02T07:01:34
54,858,149
0
1
null
2016-08-24T07:08:16
2016-03-28T01:59:22
Python
UTF-8
Python
false
false
731
py
# -*- coding: utf-8 -*- """ log.py @author: yudi.wu """ import json import logging from . path import LOG_FILE, CONFIG_FILE open(LOG_FILE, 'w').close() def set_logger(name, level): logger = logging.Logger(name) logger.setLevel(level) # set handler handler = logging.FileHandler(LOG_FILE) handle...
[ "jasper.wuyd@gmail.com" ]
jasper.wuyd@gmail.com
e0164f076b0f134294981ab8b376febecefb227c
02f2e8b08231290656ffaea8fce5bf03b2150780
/mall/apps/areas/serializers.py
e74483ac5c6f3463545b6b8434d75d72ba22fb25
[ "MIT" ]
permissive
googleliyang/django-meiduo-teach
407aa08b65d29c914281a8b759db3b1cdd25defb
afb89767b77118f38dca6f1c2e3b98db0474e48f
refs/heads/master
2020-04-28T16:25:23.905191
2019-03-11T04:38:01
2019-03-11T04:38:01
175,409,991
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
from rest_framework import serializers from areas.models import Area # area # 省的信息 class AreaSerializer(serializers.ModelSerializer): # area_set = serializers.PrimaryKeyRelatedField(many=True,read_only=True) class Meta: model = Area fields = ['id','name'] # 市的序列化器 class SubsAreaSerializer(se...
[ "qiruihua@itcast.cn" ]
qiruihua@itcast.cn
414e11c2131f405f7fa99aba0b23eed0f5667a6f
e6a43cb50cd36ed8bc3f70a3cd830bffb3f03d5e
/set03/q23_sectionlv.py
4b077194b48d1e5b797178b986dcb9b80fcb16aa
[]
no_license
pizzaboi/nlp100_2_python
a74b4ab0aadffe6a5cd75cd205bca8777ebce8e5
b36a50442b581c6547ab6f02c7c2b18038a7b420
refs/heads/master
2016-09-05T09:31:40.081775
2015-12-17T05:53:29
2015-12-17T05:53:29
34,831,332
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
#! /usr/bin/python #-*- coding: utf-8 -*- """ USAGE: python q20_readjson.py < jawiki-country.json.gz | python q23_sectionlv.py """ import re import sys def section_lv(): for line in sys.stdin: if line.startswith('=='): print line.strip('= \n'), (line.count('=') / 2) - 1 if __name__ == '__main__': section_lv(...
[ "tophamhatt.crazy@gmail.com" ]
tophamhatt.crazy@gmail.com
80c5331bac48eab4818a62eed9690372b32be540
0fbc1c6f72a69f368c14f2ca9af8b03487140b6d
/contact/views.py
a057a95c4ae29a16f497435a13015110b9c9b17d
[]
no_license
ritusabu/Ecommerce-product
1c3e95d09438ab2ff8dfb83aaf3c2771f97e3440
b9e6f8f16c1dbf19a0f2624f5c9b1bbdd8b2d670
refs/heads/master
2023-03-05T05:18:02.065448
2021-02-16T10:30:10
2021-02-16T10:30:10
334,204,268
1
0
null
null
null
null
UTF-8
Python
false
false
664
py
from django.shortcuts import render from django.http import HttpResponse from contact.models import Contact from product.models import Offer, Category, Products # Create your views here. def contact(request): a= request.POST.get("name", "") b= request.POST.get("mail", "") c= request.POST.get("text", "") ...
[ "ritusabu12@gmail.com" ]
ritusabu12@gmail.com
fff66fda560450668aa9428a18225497f0cf09ee
cbb6ef5b109d262459167dc8cee8264e4b4b4487
/pollsapi/polls/migrations/0001_initial.py
e72942e34d8f5ed5363e047f78baa698c959b1a4
[]
no_license
TaTRaTa/Django_DRF
2b5541eec39fbc85fa71634f80efadf80ff15a36
232d36058073ee74e63e13cf9f69481b51d0a3b9
refs/heads/master
2021-03-13T12:38:16.164786
2020-03-17T21:56:32
2020-03-17T21:56:32
246,681,697
0
0
null
null
null
null
UTF-8
Python
false
false
1,910
py
# Generated by Django 3.0.4 on 2020-03-12 22:08 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...
[ "cvetomir.defyy@gmail.com" ]
cvetomir.defyy@gmail.com
2c4d4ae9918a8cfb4516783ec1911a72d0c2c3c0
ca51878f71e5b3e1958e42e45019f92c9045b02e
/ClubWebsite/settings.py
299f6528cb142d270cc7732323a0fb9ce4ec8ea1
[ "Apache-2.0" ]
permissive
pettta/ClubWebsite
07d1c828fa73f8d5b35fba99bfa910ba3a610b7c
83ed5e2c923d8c13aa1f76e564bb817e6ad81fb1
refs/heads/main
2023-07-16T10:43:55.841813
2021-07-01T20:32:46
2021-07-01T20:32:46
401,377,529
0
0
Apache-2.0
2021-08-30T14:41:02
2021-08-30T14:41:01
null
UTF-8
Python
false
false
3,280
py
""" Django settings for ClubWebsite project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pat...
[ "vivekkhimani07@gmail.com" ]
vivekkhimani07@gmail.com
efcef61de6ca47fda0549982e2032134ed07f440
f9be26f1a01aecda9f4ded28922e1490c450558d
/plc-2.0/lib/python2.7/site-packages/pyfits-3.5-py2.7-linux-x86_64.egg/pyfits/compression.py
8b72aebbd02c0324116a1c1f29b8765231a7a106
[]
no_license
NinaKate/CCR
7c71c5dc2a31af2bb76b2cc2d9e5a7c6193486ee
ba4c5ae159d97bcc78eb3570428ec33f87761ebe
refs/heads/master
2018-11-14T01:24:27.890646
2018-08-27T17:08:23
2018-08-27T17:08:23
105,586,700
0
0
null
2017-12-03T20:20:34
2017-10-02T21:24:35
C++
UTF-8
Python
false
false
281
py
def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, imp __file__ = pkg_resources.resource_filename(__name__,'compression.so') __loader__ = None; del __bootstrap__, __loader__ imp.load_dynamic(__name__,__file__) __bootstrap__()
[ "ninastei@buffalo.edu" ]
ninastei@buffalo.edu
21b6f5c9313bb2beb0284929069e54b107bf6ea9
1d7a6d74a9a906a96aa61ab94c1edee610ccd92b
/zip_build/rvt-qgis/qrvt_dialog.py
36b723c750e4f016c2627a61d72d8aac9017b43b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
IsaacMrSmile/rvt-qgis
350fc6283cfe17e021a22ec62ec98e000b2f0606
fac15ef95534483967be691a1dfacd5b0bd9a047
refs/heads/master
2023-02-21T00:32:30.917054
2021-01-22T07:12:22
2021-01-22T07:12:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,105
py
# -*- coding: utf-8 -*- """ /*************************************************************************** QRVTDialog A QGIS plugin RVT plugin lets you compute different visualizations from raster DEM. Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/ ...
[ "zm8597@student.uni-lj.si" ]
zm8597@student.uni-lj.si
5d03c3f6f21cf2a5cf29fc8907a7adfcc620d57f
2ad41c2a31618433568c86e63f68a3ef2918d55c
/tool/Modules/cfg_scripts.py
25ca07351b013433ffe1409fb953f7919d31d99b
[ "MIT" ]
permissive
Iemnur/megaman-zx-traducao-ptbr
7cad0b7f7bcfd6692fe850f3c6c4e26ab2b90f63
f2710a06052384cf93d423681e9875c6cd424f06
refs/heads/master
2021-12-14T20:13:48.206022
2020-05-26T01:53:10
2020-05-26T01:53:10
82,298,127
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
''' Created on 05/03/2013 @author: diego.hahn ''' import os.path import sys python_path = os.path.dirname( sys.executable ) packages_path = os.path.join( python_path , r"Lib\site-packages" ) scripts_path = os.path.dirname( os.path.abspath( __file__ ) ) libs = [r"" , r"rhCompression", r"rhImages", r"pytable"] with...
[ "hansen.hahn@gmail.com" ]
hansen.hahn@gmail.com
ac572ec20daedd8a6e8d42a53fc9d042e52f7602
24820f2df644263d6273e7de78f0733ca81511d9
/Robot_Simulator/pose_script.py
d28af4ff074b8220be03e92cd55a9d617ebc6258
[]
no_license
dwhisler/robotic_arm
1c0603d9a21710bd08d108b3397aa7147f789720
c8eef383e1401141f5a87f485798240cfd2ff8fb
refs/heads/master
2020-03-15T18:37:24.885097
2018-09-20T04:03:42
2018-09-20T04:03:42
132,288,033
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 19 23:18:15 2018 @author: David """ from ServoDriver import * from DTRobot import * COM = 4 serv = ServoDriver(COM) rob = DTRobot('config.ini') #serv.setPose([0, 0, 0, 0, 0, 0]) #input("Press Enter to continue...") serv.setPose(rob.robot.joints) input("Press Enter to...
[ "dwhis428@gmail.com" ]
dwhis428@gmail.com
f7fcb553c02ffff0e4816ffbb847e1c926470726
b55f70755712b26688b80a8ba3806a4124fbcd11
/BinaryTree/lowest_common_ancestor.py
c5fac7a034bae171afb4a6a2bb03b6ce00e81aa2
[]
no_license
Shanshan-IC/Algorithm_Python
a44703a0f33370c47e3e55af70aadeae08d5a1a5
ace23976d2f1f51141498c4c4ea6bca0039b233f
refs/heads/master
2021-09-08T07:16:59.576674
2018-03-08T09:24:01
2018-03-08T09:24:01
114,254,497
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
''' 两个值都在左边,则LCA在左边 两个值都在右边,则LCA在右边 一个在左一个在右,则说明LCA就是当前的root节点。 ''' """ Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param: root: The root of the binary search tree. @param: A: A TreeNode in...
[ "shanshan.fu15@imperial.ac.uk" ]
shanshan.fu15@imperial.ac.uk
f8041e3723b6c11795df50a6b0361b01f3581dbe
c81a507a4c76db54e9e29a2a457a017a8725a8c2
/scripts/data/CIFAR10.py
1b8661fae5a1a2e9020944f726264ac045937008
[]
no_license
CSWater/blitz
b8e5d1f5a69a64a9dc12be7252f95ed40f2178c5
cc5488f1623f5b3161fa334e6813d499918dcc5e
refs/heads/master
2020-06-11T00:27:52.466242
2016-12-27T07:49:22
2016-12-27T07:49:22
75,832,706
1
0
null
2016-12-07T12:11:00
2016-12-07T12:10:59
null
UTF-8
Python
false
false
3,580
py
import os import sys import cPickle import h5py import numpy as np def _valid_path_append(path, *args): full_path = os.path.expanduser(path) res = [] if not os.path.exists(full_path): os.makedirs(full_path) if not os.path.isdir(full_path): raise ValueError("path: {0} is not a valid dire...
[ "robinho364@gmail.com" ]
robinho364@gmail.com
be2c9c0203597021595d503e7f6d72164b2028eb
889b542e025a3f4857aa9faf7abcec6afebdce37
/init.spec
c2ada7cfd4de5d92f4af1c8ed130636b9c6554cb
[ "MIT" ]
permissive
mfneirae/Sara
c685bafe6bd69378cd81ada98d011d7f18564948
a4b4bcae05bf39e4f8ad49b47640ccf552abce03
refs/heads/master
2020-03-25T19:20:04.915517
2018-09-19T21:43:24
2018-09-19T21:43:24
144,077,388
0
0
null
null
null
null
UTF-8
Python
false
false
813
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['init.py'], pathex=['C:\\Users\\Ing_99\\Desktop\\Sara'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], win_no_prefer...
[ "mfneirae@unal.edu.co" ]
mfneirae@unal.edu.co
7fd98a807bdf12bc76653e933673247354cf7d49
692a43899841bf0569c4f44bf2bba435eea71bbe
/pycloud/pycloud/network/cloudlet_dns.py
3850491cebff1b2b95defae29992e92f2166ad82
[ "LicenseRef-scancode-warranty-disclaimer", "MIT", "BSD-2-Clause" ]
permissive
SEI-TAS/pycloud
52a4403cdbdb2eaeabf18c377a806089591aea31
beebe297b3ed35de0bc53b75f9f2b4a2e80d892a
refs/heads/master
2023-06-22T08:19:46.038367
2023-06-15T18:24:31
2023-06-15T18:24:31
30,374,770
5
4
NOASSERTION
2023-06-15T18:24:32
2015-02-05T19:46:50
Python
UTF-8
Python
false
false
3,913
py
# KVM-based Discoverable Cloudlet (KD-Cloudlet) # Copyright (c) 2015 Carnegie Mellon University. # All Rights Reserved. # # THIS SOFTWARE IS PROVIDED "AS IS," WITH NO WARRANTIES WHATSOEVER. CARNEGIE MELLON UNIVERSITY EXPRESSLY DISCLAIMS TO THE FULLEST EXTENT PERMITTEDBY LAW ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIE...
[ "sebastian.echeverria@gmail.com" ]
sebastian.echeverria@gmail.com
d080f213409dd5c85811969f8b2e789bd4d38370
78b165272ba2cb3719de3c27e83d9c5b3b6b0a85
/scripts/python/minheap.py
9e4ddae3174b98e471e0e7a2d94196a4efea0227
[]
no_license
SeaTalk/Funcodes
5fcd4727565d2ca99d226b04bd58385218bd2fbf
bd34b19fa99be42433e1305f2f8c6bef14a6bb3f
refs/heads/master
2021-10-11T22:11:18.898476
2021-09-30T07:26:34
2021-09-30T07:26:34
140,306,910
2
1
null
null
null
null
UTF-8
Python
false
false
2,082
py
#!/usr/bin/python import string class MinHeap(object): def __init__(self, cap): self.data=[] self.count=len(self.data) self.capacity=cap def size(self): return self.count def isEmpty(self): return self.count == 0 def getData(self): retu...
[ "tangjintao@jd.com" ]
tangjintao@jd.com
848df2db66999946ac0072ad26a7281ea8eebf06
7a110d64c3d1ca8a88623b6fb0453904011552ad
/weather_app/weather/views.py
75ca56cb64cdd7fbcaeccffc2ff30c9f06367b9b
[]
no_license
shubhamt10/weather-app-django
a93e15ce146fd8fcbd0aaaed7166eb418d97d244
539a4d087f88d78621f456aec5ef1a6f261ae4f0
refs/heads/master
2021-03-25T11:44:52.885816
2020-03-16T05:09:35
2020-03-16T05:09:35
247,614,554
0
0
null
null
null
null
UTF-8
Python
false
false
1,871
py
from django.shortcuts import render,redirect import requests from .models import City from .forms import CityForm # Create your views here. def index(request): url = 'http://api.openweathermap.org/data/2.5/find?q={}&units=metric&APPID=cc40415657293a697c8f80bd1e548a4b' err_msg = '' message = '' message...
[ "tripathi.shubham509@gmail.com" ]
tripathi.shubham509@gmail.com
fee35bcc21bb856c0b4260204cdaba7d991b37b3
8ead622826bc21b37eb6fd2048af91d510151356
/projects/alonememo/app.py
94e5e9ca5d90d447b61d5b72d5f09acf303d21a0
[]
no_license
smc5720/Sparta-Coding-Basic
5762a5e397c60fcbde5e9ea58fcb9449931d8031
ff4271ededa516ed5c44875509e4b916f04320c5
refs/heads/main
2023-05-14T19:21:53.848721
2021-06-11T09:32:00
2021-06-11T09:32:00
374,037,883
1
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
from flask import Flask, render_template, jsonify, request app = Flask(__name__) import requests from bs4 import BeautifulSoup from pymongo import MongoClient client = MongoClient('localhost', 27017) db = client.dbsparta ## HTML을 주는 부분 @app.route('/') def home(): return render_template('index.html') @app.ro...
[ "smc503@naver.com" ]
smc503@naver.com
d8ec9342e39bee550628a862353198ee5b37bcd4
cd2a90eb6df7361a2ed00312ff1be196bf686f0e
/homework/conftest.py
389e88c0dba10d7f481700966d7f3336333c57db
[]
no_license
Liuzicheng1994/auto
8006337b530b80fea39cd36a04bf103e2a3ba711
e9a4069f454d0be0e5be2dd79700944623dea153
refs/heads/master
2023-07-30T17:59:28.558035
2021-09-10T01:40:00
2021-09-10T01:40:00
356,810,977
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
import pytest from homework.calculator import Caculator @pytest.fixture() def calculate(): print("开始计算") cal =Caculator() yield cal print("结束计算")
[ "569974494@qq.com" ]
569974494@qq.com
f50377730a35ff7aa5b58fa06bcf47fcd71189ea
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/20. Introduction to Spark SQL in Python/Chapter/01. Pyspark SQL/02-Determine the column names of a table.py
a60646c8daa0abfe3fe390558fd3a17b52d8658c
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
''' Determine the column names of a table The video lesson showed how to run an SQL query. It also showed how to inspect the column names of a Spark table using SQL. This is important to know because in practice relational tables are typically provided without additional documentation giving the table schema. Don't ...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
0aa0ebe728e983713ebd5eb41983a47e04759129
d1f4ab60c5439c4e91025d96384acdedbcb47271
/DFS,BFS/5-6 미로 탈출.py
8d23a0a4c92327dfb359e8bd664531de2d099f1c
[]
no_license
ans4572/CodingTest-with-Python
8722f07967c76073485282c4eee7506a6d75edb6
ab5e559fd2b8bd73785435c60debd6d558b01ca7
refs/heads/main
2023-07-31T10:24:01.685112
2021-09-24T16:13:34
2021-09-24T16:13:34
372,752,459
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
from collections import deque N,M = map(int,input().split()) graph = [] for i in range(N): graph.append(list(map(int,input()))) dx = [-1,0,1,0] dy = [0,1,0,-1] def BFS(x,y): queue = deque() queue.append((x,y)) while queue: x, y = queue.popleft() for i in range(4): ...
[ "noreply@github.com" ]
noreply@github.com
69d495704dd2fc3552f5d20c65f2c842be179e23
164ebfa24817cd7d4c5dbf760c1600232aebee1c
/src/filer/observers/observer.py
086f2765aafd9ab0ef6d4cd8cfb8657ebcc293d2
[]
no_license
adarshtri/filer
bd3806e4d8b3859b5cc68a30ed4ee2e46178342d
985fcb9a9792ba18603771489bb6dbdae19d638d
refs/heads/master
2020-05-19T05:49:34.631133
2019-05-04T06:08:05
2019-05-04T06:08:05
184,858,317
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
from interface import Interface class Observer(Interface): """Interface to support observers for newly registered directories""" def update(self, updateinfo: dict): """ :param updateinfo: dictionary containing information regarding the updation. :return: None """ pas...
[ "adarsh.trivedi100@gmail.com" ]
adarsh.trivedi100@gmail.com
f8b10ec3dbc9c3b2d9a88a5d5b82dd518963aa1a
155b365fb459caff5f57f9e5eb55a26895a016cd
/evento_01/evento_01/wsgi.py
a69659105175ae9239e21c792c5af9e5efe7552a
[]
no_license
Claison/EVENTO
a43fa39eb3ea4fdd29c4c9ffd858b6e20be1c02b
61b97f980f7cd77b4de92088c6601378a520ea86
refs/heads/master
2021-06-25T18:55:51.229559
2017-09-12T00:59:17
2017-09-12T00:59:17
103,141,973
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
""" WSGI config for evento_01 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "30608657+Claison@users.noreply.github.com" ]
30608657+Claison@users.noreply.github.com
229ad85295f1114269334096a485f0e1a78646d3
17d7d9a35c617132965f331060e846d9fe12f129
/lessons/16/serialization2.py
f93ed3958b09fb964dae1bb369120a7ae61b2498
[]
no_license
loristissino/oopython
c46f3e07dc6c4829362efb43f5bbfb496053747b
0e3ab872f8c2736a0e2d189f7d9700997a3c857a
refs/heads/master
2016-09-05T11:33:54.287376
2011-12-14T17:01:45
2011-12-14T17:01:45
40,006,358
1
0
null
null
null
null
UTF-8
Python
false
false
233
py
#!/usr/bin/env python3.1 import pickle data=('foo', 'bar', 'baz') with open('mydata', 'wb') as f: pickle.dump(data, f, pickle.HIGHEST_PROTOCOL) data=() with open('mydata', 'rb') as f: data = pickle.load(f) print(data)
[ "loris.tissino@5be9ef65-fe4e-d553-c31d-209ad9341544" ]
loris.tissino@5be9ef65-fe4e-d553-c31d-209ad9341544
dd58b30a002ad28ef364d7b282cc7d5afacbd9da
2a115b2a0a4d3c87ae6d262ba97a673a6c9a748b
/web-py/myWeb/get_img.py
741b804d6dfce4281c843bbc639d1882cda926de
[]
no_license
GoldenZhu/classroom
935407db720ecdda2c0ad05973a36784a205d0ab
26672b20477d3ae1d5aac9713302f1d3a6d1d834
refs/heads/master
2021-01-21T10:19:40.625219
2017-11-17T09:00:39
2017-11-17T09:00:45
83,407,700
0
1
null
null
null
null
UTF-8
Python
false
false
408
py
import urllib import time import web def get_poster(id, url): pic = urllib.urlopen(url).read() file_name = 'poster/%s.jpg' % id f = file(file_name, "wb") f.write(pic) f.close() db = web.database(dbn='sqlite', db='MovieSite.db') movies = db.select('movie') count = 0 for movie in movies: get_pos...
[ "2451255133@qq.com" ]
2451255133@qq.com
35365a1db34207810102ae5b1c2ee05f251e40f1
93c1d86cfa6893063519a89e73a647f0c2b48257
/stronka/migrations/0033_auto_20190617_1916.py
8e7099f79b5e85ec7f89d6a13685914ca616f883
[]
no_license
panchrobry/ProjektSzkieletoweREPO
24629649989a2eefe6af199e31b84e0b8d88b9b8
a0eeb244cfa8fc829739932ce167802b54f62382
refs/heads/master
2022-12-10T04:51:03.773554
2019-06-20T11:13:09
2019-06-20T11:13:09
177,784,319
0
0
null
2022-11-21T21:31:28
2019-03-26T12:29:41
Python
UTF-8
Python
false
false
453
py
# Generated by Django 2.0.13 on 2019-06-17 17:16 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('stronka', '0032_auto_20190617_1737'), ] operations = [ migrations.AlterField( model_name='team', na...
[ "karolek9.10@o2.pl" ]
karolek9.10@o2.pl
a07db48cd66c17dc6ba5bed0065585a071c5c8a4
8f83fb0541a9b542de4f4456bd2c14d6ed188b95
/mysite/config/settings/local.py
d8c13717c8331dda3aae85834587525058f6ad0e
[]
no_license
klee2017/Deploy-EB-docker
fc3b8c7d577f141b0273290f6fd8716f2e423204
b78292d6ef2f38987a1b6ad816ffaa89c4698789
refs/heads/master
2021-07-24T12:23:02.248951
2017-11-03T08:01:02
2017-11-03T08:01:02
108,818,956
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
import random import string from .base import * ALLOWED_HOSTS = [ 'localhost', '127.0.0.1', '.elasticbeanstalk.com', '.locomoco.co.kr', ] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } SECRET_KEY = ''.join(...
[ "kaythechemist@gmail.com" ]
kaythechemist@gmail.com
e4902d2ddf6c8dfca1b465dcd01596243d1635fb
063a45f56dab2a1ae77aaa3a96539fe25512e15c
/gazebo_turtlebot3_dqlearn.py
1af1209067bfd6c2a3096ab19a6e0700c931d28e
[]
no_license
changpowei/ROS_Gazebo_SB
44fe7c4312faad6b095a956e5074c26dfed25328
229759fd13f98d36e3802f4e4ac3ced19d4dab14
refs/heads/master
2023-08-23T21:34:22.277892
2021-10-21T05:38:49
2021-10-21T05:38:49
419,157,585
0
0
null
null
null
null
UTF-8
Python
false
false
18,481
py
import rospy import roslaunch import time import numpy as np import math import random from gazebo_msgs.srv import SpawnModel, DeleteModel, SetModelState from gazebo_msgs.msg import ModelState from geometry_msgs.msg import Twist from geometry_msgs.msg import Pose from geometry_msgs.msg import Point from nav_msgs.ms...
[ "c95cpw@ncsist.org.tw" ]
c95cpw@ncsist.org.tw
bfc85210f3b259e11c7149a04537292c0612d22b
dfb193385a1d15f0aa0898ee67a7abd837666a5f
/RPi4B/dht22.py
eb036879e6ac282710090a6af7b1b70e8719d759
[]
no_license
OSHW-UHU-Group/SBA-IST
ed3a25e01c9efbc35262187c1b6f29f812138c9e
3c3a2cfafea0754f6aa51151db828401a7048ab6
refs/heads/master
2023-06-16T08:29:26.648085
2021-07-09T11:36:52
2021-07-09T11:36:52
379,353,309
1
0
null
null
null
null
UTF-8
Python
false
false
546
py
import time import board import adafruit_dht dht = adafruit_dht.DHT22(board.D26, use_pulseio=False) def humidity(): global dht i = 0 while i<10: try: temperature_c = dht.temperature humidity = dht.humidity return humidity, temperature_c except RuntimeEr...
[ "alvarez@uhu.es" ]
alvarez@uhu.es
9670e8c23fe063f1c2f789cdbab33cb5eb371392
543efc7b32ab55a44ba4b85029c322228ac207db
/scripts/fit_aves.py
80a60cb3346d348755ab51ba454b7a6467e7899a
[]
no_license
hmnaik/aves
2238627b0a73237e74479f67eb78ee198283aab1
92cb2c5a50fd65d7056f93f209931e721946e818
refs/heads/main
2023-05-05T13:20:37.315266
2021-05-19T17:56:55
2021-05-19T17:56:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,381
py
import os import argparse import numpy as np import matplotlib.pyplot as plt import torch import _init_paths from models import mesh_regressor, AVES from optimization import base_renderer, AVES_Fitter from utils.renderer import Renderer from utils.cub_dataset import CUB_Dataset parser = argparse.ArgumentParser() par...
[ "yufu@seas.upenn.edu" ]
yufu@seas.upenn.edu
9660216677c127738ccae93efffd11f88bb9cf9a
fa21ed4e665f00bd22236b6b224b247014ff2772
/nodes/speed_controller.py
a964d53f56b5d404997bc813aff01b95e3d68cdf
[]
no_license
klipfel/rosGoturn
87d77969102e22aff94ce83a07c77556d0e47062
2243259820a542791df5baed0eb97c16836dba46
refs/heads/master
2020-06-15T23:00:27.008175
2019-07-19T13:45:44
2019-07-19T13:45:44
195,414,798
0
0
null
null
null
null
UTF-8
Python
false
false
1,803
py
#!/usr/bin/env python3 import board import adafruit_pca9685 import busio import time import os class Servomotor: def __init__(self): i2c = busio.I2C(board.SCL, board.SDA) self.pwm = adafruit_pca9685.PCA9685(i2c) self.pwm.frequency = 50 # values self.leftMax = 100 self.rightMax = 0 self.straight = 50 ...
[ "arnaudklipfel@hotmail.com" ]
arnaudklipfel@hotmail.com
1b006e7f6b992e3c1dccc846fe3689745833841a
9c88bd2c194ccc19b4989bf844564c5857e2ea82
/Simple_Calculations/rectangle_area.py
379677136a28e027dd00a9629978df03cbd0f470
[]
no_license
ectky/PythonProjects
faa1d600f6b1e3aaee19b96a1cbf384ac0dc47a2
5920ee1752df729c178fe088b58ba17d8585b333
refs/heads/master
2021-08-11T09:31:38.562054
2017-11-13T13:59:04
2017-11-13T13:59:04
110,552,837
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
import math x1 = float(input()) y1 = float(input()) x2 = float(input()) y2 = float(input()) upper_side = math.fabs(x1 - x2) right_side = math.fabs(y2 - y1) area = upper_side * right_side perimeter = upper_side * 2 + right_side * 2 print(area) print(perimeter)
[ "noreply@github.com" ]
noreply@github.com
49db5b641d88aa13b1b34b6fcceea02798bae5a6
cf64c598ee8ace5eb72a3992ca214b8f05383177
/Tools/lib/cherrysoda.py
09e40be6062bab2616daef95af54740f9d9178ca
[ "MIT" ]
permissive
brucelevis/cherrysoda-engine
6c6efb9545a27ca8a612b56e6ffb61a8347a3923
64b2ff5a2a53831ded3e60ff2a28a101fa84f3fd
refs/heads/master
2023-02-01T15:57:38.809819
2020-12-17T02:35:01
2020-12-17T02:35:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,933
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import glob import os import pathlib import platform import shutil import subprocess import sys import zipfile if sys.version_info.major == 3: import urllib.request as urllib2 else: import urllib2 def is_windows_system(): return platform.system() == 'Windo...
[ "c.even@live.cn" ]
c.even@live.cn
0aac049c8263f7e956cea14027ed8e142b6344e5
0931696940fc79c4562c63db72c6cabfcb20884d
/Exercises/Regular_Expresions/furniture.py
8a02f7b386384bfbe0d6b9fe2cf832c3b0cd53d3
[]
no_license
ivklisurova/SoftUni_Fundamentals_module
f847b9de9955c8c5bcc057bb38d57162addd6ad8
69242f94977c72005f04da78243a5113e79d6c33
refs/heads/master
2021-12-01T01:56:22.067928
2021-11-08T17:07:31
2021-11-08T17:07:31
253,281,893
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
import re furniture = [] total_money = 0 while True: order = input() if order == 'Purchase': break pattern = r'>{2}([a-zA-z]+)<{2}(\d+[.]\d+|\d+)!(\d+)' matches = re.findall(pattern, order) for i in matches: if len(i) == 0: break furniture.append(i[0]) ...
[ "55747390+ivklisurova@users.noreply.github.com" ]
55747390+ivklisurova@users.noreply.github.com
f3c4d9fd7986ae013086ca33b92b7e7b2de6fac1
831b2c2d88d03ce366c091ebc851281a20b3c567
/clean_unsupervised/predictorUnsupervised.py
18398a5162c9cd84ea48ea8cc360a732834bfba4
[]
no_license
nathanieljblack/PriceRight
cb2d0ca0929f6b5791397bd1f72267da20ac0144
c4fb112ae27f3adbd75bb88603d23db35de29ff3
refs/heads/master
2020-04-19T11:24:56.683210
2015-05-01T14:05:33
2015-05-01T14:05:33
67,873,785
1
0
null
null
null
null
UTF-8
Python
false
false
13,011
py
import pandas as pd import re from unicodedata import category as cat from nltk.corpus import stopwords from gensim import corpora, models import operator from collections import OrderedDict import scipy from scipy.cluster.vq import kmeans, vq class Predictor(): # Note: This predictor trains the model and runs the mo...
[ "marguerite@oneto.us" ]
marguerite@oneto.us
7a5ddbcad3a15a9946b3546a3153387a9b875871
202e657b5c9bfcf3040146f779eafaf453d43d10
/number-of-people.py
cd46b5b272560c65fca28b84aae50f97b45be1bd
[]
no_license
derekmcauley7/star-wars-api-college-assignment
4695ff5c7393cefeb0d837a11c065431f3266998
1d080dbe7dc759de1f313fe727518e7e4feb8e6c
refs/heads/master
2020-05-09T17:05:50.835601
2019-04-14T11:08:44
2019-04-14T11:08:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
from urllib.request import Request, urlopen from json import loads import ssl # How many people are returned by the API? Show how you can solve this without using the results count attribute?s certsPath='/usr/local/lib/python3.7/site-packages/pip/_vendor/certifi/cacert.pem' context=ssl.SSLContext() context.load_verif...
[ "derekmcauley7@gmail.com" ]
derekmcauley7@gmail.com
03d97741b6759ae1f367e5a530b53d4f599f17f5
ec841eb43a9bdf840e227bed932900405a89fe95
/maze.py
0f037d255b655f43d76b449720d3ac77c2d3f91d
[]
no_license
130e/SnakeGame
e358c85a0f80eb1740d75e93857eba8828b91aa1
28166ea346b7aae9728fa3f12355a1bf35733ab6
refs/heads/master
2022-11-17T13:02:14.806785
2020-07-16T18:19:19
2020-07-16T18:19:19
139,757,630
0
0
null
null
null
null
UTF-8
Python
false
false
4,902
py
# fernival made # set certain macros KEY_EXIT = 27 # define macros KEY_SPACE = 32 KEY_UP = 119 # WASD KEY_DOWN = 115 KEY_LEFT = 97 KEY_RIGHT = 100 KEY_LOST = KEY_DOWN NO_ENTRY = float('-inf') ABSORB = 1.0 MIN_TOLERANCE = 0.0000000001 # 10^-11 class node(): def __init__(self, y, x, value=0.0): ...
[ "noreply@github.com" ]
noreply@github.com
e7f1ba699ec76f92212d50d4d70c0fb5f85ae38d
97228f81e03cebd8c250c267b4943bddb3640fd1
/gdksite/event/migrations/0011_auto_20181221_1244.py
e01af6b8008dd2e6ca92ca49f5c67484b84daf3c
[ "MIT" ]
permissive
vgrivtsov/moygdk
88e48e234d8737e044dc6bd9c4e1794c2a25fe32
74d63299c7326bcae92a17b61d978ad91f0d5552
refs/heads/master
2022-12-09T18:38:28.731819
2021-02-12T10:20:45
2021-02-12T10:20:45
164,198,744
0
0
MIT
2022-12-08T01:34:21
2019-01-05T09:02:21
JavaScript
UTF-8
Python
false
false
443
py
# Generated by Django 2.1.4 on 2018-12-21 12:44 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('event', '0010_auto_20181220_0821'), ] operations = [ migrations.RemoveField( model_name='eventpage', name='event_date', ...
[ "vgrivtsov@gmail.com" ]
vgrivtsov@gmail.com
61f623bb2311199c6f90a06eafc6177b8604e7b1
a38856315e9a35f5eb0905a10eae6840741c468a
/stix_edh/cyber_profile.py
a1b921a93c6da80b797c6892d9627ef92aadfe44
[ "BSD-3-Clause" ]
permissive
emmanvg/stix-edh
bbf4cebb908ad8a7c7dd8728ebfc67284f17365d
b426f9785339ab741bb9fb21d356b36193791afc
refs/heads/master
2020-04-11T23:35:44.934139
2018-08-01T16:16:15
2018-08-01T16:16:15
162,172,740
0
0
NOASSERTION
2018-12-17T18:22:40
2018-12-17T18:22:39
null
UTF-8
Python
false
false
4,224
py
# Copyright (c) 2017, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. # python-stix import stix from mixbox import fields # internal bindings from stix_edh.bindings import cyber_profile class AccessPrivilege(stix.Entity): _binding = cyber_profile _binding_class = _binding....
[ "gback@mitre.org" ]
gback@mitre.org
ff7fa112a3352d67dbc4074aac0cf24ea3e98617
7d35fcbcceb1ff4d458cef69a6eda3c5a3a5734b
/app/core/migrations/0001_initial.py
6a57eddf491c01619605b9ae2fe151f53636b5b4
[ "MIT" ]
permissive
hemant-mehra/UDEMY_REST_API_advance_course
4b1ea47037633090b06c037a8abc63eea73af8a7
c8c0298e3650e64d2fb35370fb5b8a1bae741937
refs/heads/main
2023-04-23T09:03:17.131445
2021-04-29T12:28:23
2021-04-29T12:28:23
361,781,723
0
0
null
null
null
null
UTF-8
Python
false
false
1,710
py
# Generated by Django 3.2 on 2021-04-27 15:24 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "hemantmehra.p@gmail.com" ]
hemantmehra.p@gmail.com
bdc06186b30b43623dc40611426d6798cf09e14e
08c3f4b38204609d9f398f4b0a7a1aa6457993f0
/archive/Decathlon-meta-deeplearning/meta.py
a88a9223b3f618d89077beeb4ad102798afaf8d7
[ "MIT" ]
permissive
tueimage/meta-segmentation-msc-2018
0cb9b25c75352ab023dc307f956fc0577fee119b
d497e6ea99b89fdb54e11568452894f022269043
refs/heads/master
2020-04-07T13:16:01.725093
2019-12-13T18:02:00
2019-12-13T18:02:00
158,400,064
3
1
null
null
null
null
UTF-8
Python
false
false
3,253
py
# from meta_network import meta_learner from data import Data, MetaData from utils import subset_index_to_address from utils import meta_pred_generator, historyPlot, create_data_subsets, dice_coef_loss, auc, mean_iou, dice_coef from keras.optimizers import Adam from meta_network import meta_learner from networks import...
[ "45205052+tjvsonsbeek@users.noreply.github.com" ]
45205052+tjvsonsbeek@users.noreply.github.com
595ee2d2c462822d03e02122bed94ccf834309c7
5ed917ada5766c0a028914f2c15549b6a9095b53
/pyt/bin/jupyter-labextension
03c9c79c4c5f4cbadfdd6106350523ec20a32373
[]
no_license
shreyanshu007/backup
eb53c3cc44b17e1bcaa42ff2f46ea9364f1bcdfc
5a0a4c9715375ae224db8c0f427f847022a9af02
refs/heads/master
2023-01-12T13:33:04.174671
2020-06-12T06:00:53
2020-06-12T06:00:53
201,099,769
0
0
null
2023-01-04T06:33:29
2019-08-07T17:46:24
Python
UTF-8
Python
false
false
250
#!/home/shreyanshu/sem_fir/pyt/bin/python3 # -*- coding: utf-8 -*- import re import sys from jupyterlab.labextensions import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "2016csb1060@iitrpr.ac.in" ]
2016csb1060@iitrpr.ac.in
23159149d8d9130887e04ea1d4f0fd74e9ad9bd7
4e8ae597e7f5010c4dd7208226c3cda99b11e561
/blog/models.py
eee192ab822d24d4e5c69c3761f3737ecc6181a8
[]
no_license
peckzl/django_bloggy
a50999c0f527854a5af5e655155c56c1e8e051b0
cf3e9d3b052f0504256c87c7fab8d1a199fe586a
refs/heads/master
2021-01-10T05:28:32.091423
2015-11-05T00:13:44
2015-11-05T00:13:44
45,576,036
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
from django.db import models from uuslug import uuslug class Post(models.Model): created_at = models.DateTimeField(auto_now_add=True) title = models.CharField(max_length=100) content = models.TextField() tag = models.CharField(max_length=20, blank=True, null=True) image = models.ImageField(upload_to="images", bla...
[ "peckzl@clarkson.edu" ]
peckzl@clarkson.edu
91e700c2b68497c13aa063de195ee61e65a3dc8e
2552b11e55ebeab1ceb16f43ac2117e67292616d
/corpus_health/spiders/spider_medlive.py
e8e18783254833aaa1ce4082915b8919205eb8f3
[]
no_license
bzqweiyi/corpus
7271fc93ad0c91dcff90de9c123cd9aa90222ff3
69793804161361bf79944043aa786e96d3c14c9d
refs/heads/master
2020-04-02T02:12:32.808658
2018-10-20T11:12:50
2018-10-20T11:12:50
153,897,293
0
0
null
null
null
null
UTF-8
Python
false
false
4,815
py
#!/usr/bin/env python3.6 # -*- coding: utf-8 -*- """ 中国好中医网:祛湿 James """ from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor from corpus_health.items import ArticlespiderItem from scrapy_redis.spiders import RedisCrawlSpider from scrapy_redis.spiders import Spider from scrapy.http import Re...
[ "bzqweiyi@163.com" ]
bzqweiyi@163.com
62ce19f3d0f04ce110c1dd241445d520cdfc6c0c
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/containerservice/v20210901/private_endpoint_connection.py
2c0b95aa60f3e4a88ea7d42d3e4f40430d813fb8
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,975
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" ]
noreply@github.com
396d3be1f2a5e259471ee0be5f9b6850177f96e3
b648a0ff402d23a6432643879b0b81ebe0bc9685
/benchmark/tslintbasic/thrift/run.py
6b63c1b1ffc1c7036f1224f0530a63f3d6a08ca5
[ "Apache-2.0" ]
permissive
jviotti/binary-json-size-benchmark
4712faca2724d47d23efef241983ce875dc71cee
165b577884ef366348bf48042fddf54aacfe647a
refs/heads/main
2023-04-18T01:40:26.141995
2022-12-19T13:25:35
2022-12-19T13:25:35
337,583,132
21
1
Apache-2.0
2022-12-17T21:53:56
2021-02-10T01:18:05
C++
UTF-8
Python
false
false
581
py
def encode(json, schema): payload = schema.Main() payload.rules = schema.Rules() payload.rules.orderedImports = schema.OrderedImports() payload.rules.orderedImports.options = schema.Options() payload.rules.orderedImports.options.groupedImports = \ json['rules']['ordered-imports']['options'][...
[ "jv@jviotti.com" ]
jv@jviotti.com
d37a57bf782e04065867f737dfe764d33b9abd38
da54e1256c8e66c78c069331af02a55a00f36faa
/new_python/day2/ch6_1.py
3abcbed2eba1d17b92141354232f795b56841de6
[]
no_license
tghyyhjuujki/Study2
5f7642d5c65176c46cf66b6341a9cdb8cd196400
fffa315ebbe6088cdba219515c8d5ce1b5a4b8a6
refs/heads/master
2023-02-10T15:51:36.757719
2021-01-01T19:34:54
2021-01-01T19:34:54
276,801,852
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
import math #a math.floor(-2.8) #b abs(round(-4.3)) #c math.ceil(math.sin(34.5))
[ "tghyyhju@gmail.com" ]
tghyyhju@gmail.com
9ca07e7be454f472e705453ea355ee2b9fe48e9d
f8cc2cbde9aafca45f1ecd7fe2e0296d536cf94f
/src/ls-files.py
933b6d6ea1a18eaf2f8f7293bfc7369a7ca957bc
[]
no_license
minekoa/mgit
aa6dbc9c971e77ce0f5005e99c4ebd00a5f8feee
de137829be2cd0098309a8dfdab8097f190f9b80
refs/heads/master
2021-01-23T15:41:57.708857
2015-05-13T14:30:31
2015-05-13T14:30:31
35,554,477
1
0
null
null
null
null
UTF-8
Python
false
false
340
py
#!/usr/bin/env python #-*- coding: shift_jis -*- from mgitlib import * import sys import os import os.path import struct if __name__ == '__main__': db = GitDB() index = GitIndex() with db.openIndexFile('rb') as rf: index.unpack(rf) for key, item in index.rows.items(): ...
[ "mineko.orange@gmail.com" ]
mineko.orange@gmail.com
84f9eee0a4ffea06d2accb83ecb72ac8b44d7b69
a1bd103181681e1ea0af8859585e3ce599801335
/musictagger/handlers/numbering.py
130631e398f3a784589e8b35021b0575309f7358
[]
no_license
Tbsc/musictagger
3ce82bf1cf6bd9b265d787014ce23cfb9fdd8103
c01a3ebdb573f6a3ec5957bb876170192ecb73b8
refs/heads/master
2021-12-22T19:18:46.876057
2021-12-18T12:05:54
2021-12-18T12:05:54
99,435,569
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
import re # ensure numbering always consists of at least 2 digits, adding zeros if needed def check(filename): # if numbering is correct, return function with current filename if check_correct(filename): return filename new_filename = filename # begin checks new_filename = check_single_d...
[ "danielben60@gmail.com" ]
danielben60@gmail.com
5eb3ad1011c8c6cf69038228cced51111ccd68ab
e6d24866b239362b84d4192ece761c9919f8f323
/HashCode 2018/main.py
386a27c316391568ed76b6639ecdaad6d858ee33
[]
no_license
CodiceLoco/code-challenges
ef6f9d2bd1770dea21d9a419ea10c47f5ff96d86
4fd265d86cdaa05eac756d8a07b02c98fe88e50f
refs/heads/master
2020-03-22T16:04:53.629023
2019-05-08T13:49:32
2019-05-08T13:49:32
140,301,446
1
0
null
null
null
null
UTF-8
Python
false
false
692
py
from solution import try_to_solve, read_file from scoring import JudgeSystem from os import listdir INPUT_FOLDER = 'input' OUTPUT_FOLDER = 'output' FILES = sorted(map(lambda f: f.split('.')[0], listdir(INPUT_FOLDER))) INPUT_FILES = list(map(lambda f: f'{INPUT_FOLDER}/{f}.in', FILES)) OUTPUT_FILES = list(map(lambda f:...
[ "marcon.niccolo@gmail.com" ]
marcon.niccolo@gmail.com
5de03e92e379b9d36dae4594c56cd3ed06ad61cc
8a60ed6b07bb361cea238462689f51ff2f220e0a
/Final Project/tags.py
e14052985b3bb540146a1554a48b96f0db7fb37f
[]
no_license
joshsee/P2-Data-Wrangling-with-MongoDB
3b4b9820e7e6d1ac58006570cf2ee3330766d759
658d084bfd7459349018cd1bdea11ef4b3acdd24
refs/heads/master
2016-09-06T00:21:19.961782
2015-03-25T15:34:14
2015-03-25T15:34:14
29,285,468
0
0
null
null
null
null
UTF-8
Python
false
false
2,427
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import xml.etree.ElementTree as ET import pprint import re """ Your task is to explore the data a bit more. Before you process the data and add it into MongoDB, you should check the "k" value for each "<tag>" and see if they can be valid keys in MongoDB, as well as see if t...
[ "ychian@gmail.com" ]
ychian@gmail.com
64e5d54acec6c968bbdc376004abbfcebe376ec6
a4fba2d2aecbf299d7c32741b5572ed8cca6600c
/scrapydeme/car_scrapy/car_scrapy/spiders/autohome_spider.py
23663243541210aee441e3f8eb8f52ace5b9fa98
[]
no_license
rookiexjl/scrapydemo
22a42565b1054d5f06512c7b286bb14858d0c141
dc1a373fb583d659898a50f9e6ddf0dc0bb4c69d
refs/heads/master
2021-01-23T06:01:15.220988
2017-06-12T03:18:13
2017-06-12T03:18:13
93,006,589
1
1
null
null
null
null
UTF-8
Python
false
false
3,020
py
# coding=utf-8 from scrapy import Request from scrapy import Spider from car_scrapy.items import CarScrapyItem class AutohomeSpider(Spider): name = "autohome.new" start_urls = [ "http://www.autohome.com.cn/grade/carhtml/A.html", "http://www.autohome.com.cn/grade/carhtml/B.html", "http...
[ "18252005734@163.com" ]
18252005734@163.com
2a7751d735e8753be513461b0ed0f324a9cfac53
c067c06fca7a6d371828b75200ed8862dd2977ec
/simple_exercises/profiti/02.av3.py
943796bf35155a2b269172b4af5042e20c864d15
[ "MIT" ]
permissive
ilante/programming_immanuela_englander
1e170ebbadf0de56c35529b0d02268ea96779178
45d51c99b09ae335a67e03ac5ea79fc775bdf0bd
refs/heads/master
2020-11-25T22:54:06.492425
2020-07-14T16:14:27
2020-07-14T16:14:27
228,879,626
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
def av3num(a, b, c): av = (a+b+c)/3 return av print(av3num(1,2,3))
[ "ila@Immanuelas-Air.station" ]
ila@Immanuelas-Air.station
a5dc301a477f897e6ebee27e6add64e1ac8c514c
173ccb51fbf21555a4bc3e7f3f1e28c02a6c3499
/apps/goods/views.py
dcb59e4890bee3e984309bedf473ed8fce8b1e1e
[]
no_license
lingyunds/myproject
ec9bcb9a5917bd73377ecedc112f48cac62fb246
d8bf8c784f434680b9584d84387f4a428b69ae1c
refs/heads/master
2023-04-22T17:45:07.249340
2021-05-04T09:13:34
2021-05-04T09:13:34
363,365,906
0
0
null
null
null
null
UTF-8
Python
false
false
5,484
py
from django.shortcuts import render,redirect from django.urls import reverse from django.views import View from django_redis import get_redis_connection from django.core.cache import cache from django.core.paginator import Paginator from apps.goods.models import GoodsSKU,IndexGoodsBanner,IndexPromotionBanner,Good...
[ "200826704@qq.com" ]
200826704@qq.com
41997f3f3425416215fddea8290ac8569a86bb75
6aec91d3d881ccefd167c55417fae9bb3dd80747
/myutils.py
7ca5a4244d5204e041ea308ef2d425923a44f8e9
[]
no_license
dxcv/spread_arbitrage
8d3be4a3207e0c35eb3232e7cac9f9bd7037eba1
855638515f73d5e56852030639eff2d1f04b36aa
refs/heads/master
2020-05-22T21:42:00.371973
2017-07-22T02:19:12
2017-07-22T02:19:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,955
py
# -*- coding:utf-8 -*- import logging import sys import json import time _MaZhaoYang = 0 _YangRui = 1 _NanHuaQiHuo = 2 _Instruments = { "IC": ["IC1707", "IC1708"], "IH": ["IH1707", "IH1708"], "IF": ["IF1707", "IF1708"] } def decode(text): return text.decode('gb2312').encode('utf-8') def get_logger(logger_name,...
[ "595403043@qq.com" ]
595403043@qq.com
6343515d83aa5cbb5afcc7c49c954ed62aa5cfbb
ef147caaf28199b7961ec40320df4ff080ff3146
/tsdownloaderv1.3.py
364353d72db960c53b5a5896b25f697354c677d3
[]
no_license
DicksonC96/TS-video-downloader
6891868ee42476d99413dd8cb4a563ab922512de
6917f7a32b5c9e0cbef8d587e24e075f940b20ed
refs/heads/main
2023-05-12T14:02:00.242037
2021-06-02T07:24:09
2021-06-02T07:24:09
362,239,382
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
import requests import sys def main(url, fname, mini=0, maxi=5000): with open(fname+".ts", 'wb') as f: if not mini==0: for i in range(mini): r = requests.get(url+str(i)+".ts", stream=True) sys.stdout.write("Downloading "+str(i)+".ts ...\n") sys.st...
[ "66625723+Dickson96@users.noreply.github.com" ]
66625723+Dickson96@users.noreply.github.com
df0b59323ca9a839dcf6b4c11f1da303ae237fac
ecd2aa3d12a5375498c88cfaf540e6e601b613b3
/Facebook/Pro105. Construct Binary Tree from Preorder and Inorder Traversal.py
a39da533bff18e1cca864459d11a600e0252ce83
[]
no_license
YoyinZyc/Leetcode_Python
abd5d90f874af5cd05dbed87f76885a1ca480173
9eb44afa4233fdedc2e5c72be0fdf54b25d1c45c
refs/heads/master
2021-09-05T17:08:31.937689
2018-01-29T21:57:44
2018-01-29T21:57:44
103,157,916
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def buildTree(self, preorder, inorder): """ :type preorder: List[int] :type inorder: List[int] :rtype: Tr...
[ "yoyinzyc@gmail.com" ]
yoyinzyc@gmail.com
7fed42466b7f96d16dc21e46e0c0f0514aeb6977
c199f949c04933205a25c71706c80a12d7ba20a6
/webapp/models.py
4b42c5d5b5c7dca25cc112842045a6af2d2bf9ac
[]
no_license
NepaliUtsab/NepaliUtsab.github.io
ea1909017782ba4da794b85b19ba41a9e41aa0ae
7bd91c9cffc116e3daa11d77aa8b4276ed9e77e0
refs/heads/master
2020-03-23T02:17:01.233240
2018-07-14T17:55:16
2018-07-14T17:55:16
140,605,326
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
from django.db import models # Create your models here. class Student(models.Model): firstName = models.CharField(max_length = 10) lastName = models.CharField(max_length = 10) stdId = models.IntegerField() def __str__(self): return self.firstName
[ "utsab@Utsab.local" ]
utsab@Utsab.local
f767561f0b3d9e8b78a4864603261931f59d4217
012c9396f6fd0c88769165b484f77c346b96cb56
/software/artyS7/cmdClass.py
be3bc532207ec15d1bda90d8a099b5f7857efe07
[]
no_license
atfienberg/artyS7
d770209dfddc9860a57626cc8b318b4e7aba3c7c
cd29d49f6d3811e425098715f969853cfdb4872c
refs/heads/master
2021-05-25T21:16:48.620081
2020-11-16T16:43:50
2020-11-16T16:43:50
253,920,188
0
0
null
null
null
null
UTF-8
Python
false
false
6,533
py
################################################################ # Tyler Anderson Thu 07/25/2019_ 9:24:16.32 # # A python script for parsing commands. ################################################################ import logging import string import binascii import sys import struct import crcmod class cmdClass: ...
[ "atfienberg@psu.edu" ]
atfienberg@psu.edu
c30096f5fdbe8afa9c1d25074d1d0eebbdc72540
c8414c48d7e2b21674be71aa2596d0df547d090a
/config.py
916379b9a47b5023b6913bb77c385c0bd4d1e18d
[]
no_license
Tyux/PRA_Detection_TF
8cd9882a42c7f02220c9812948f6df2fbd17ee4a
35157a915cca446796ba0d3971e2b162e03c10a9
refs/heads/master
2022-08-02T06:11:46.876012
2020-05-30T21:35:18
2020-05-30T21:35:18
267,481,417
0
0
null
null
null
null
UTF-8
Python
false
false
13,187
py
# -*- coding: utf-8 -*- # File: config.py import numpy as np import os import pprint import six from tensorpack.utils import logger from tensorpack.utils.gpu import get_num_gpu __all__ = ['config', 'finalize_configs'] class AttrDict(): _freezed = False """ Avoid accidental creation of new hierarchies. """...
[ "tong63377@163.com" ]
tong63377@163.com
c96c01d4f6fed322dc79eed64cbca2c8795827f6
d68eec2b77e934022695f8c396c2a597aa1c36be
/REST_API_v2/Users/create_user_contact_method.py
9f5acf27bf4dd7199325b57e5ed4581d3a72fca9
[]
no_license
drummerweed/API_Python_Examples
088570dbef5a7ba6c053cdf4081430d2d7d55417
641784c53628daeceb6f6735ad0de576413c35d8
refs/heads/master
2020-04-04T21:13:43.391354
2018-08-22T17:37:53
2018-08-22T17:37:53
156,279,682
1
0
null
2018-11-05T20:37:49
2018-11-05T20:37:49
null
UTF-8
Python
false
false
2,653
py
#!/usr/bin/env python # # Copyright (c) 2016, PagerDuty, Inc. <info@pagerduty.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copy...
[ "lucasfepp@gmail.com" ]
lucasfepp@gmail.com
1c732829737a797fd122d90ea40e90fd3a121ffd
3700ac98bb8f6faf5dbcf20be2f7f5270b3429b9
/server/test/helpers.py
a2da1815e88500c1751a8596d22b323a721663bb
[ "Apache-2.0" ]
permissive
NWCalvank/react-python-starter
47478df0e611a04f33d08ec64e623b3bdf9f7af1
8bee6129f425d6284aba0a9bf1ccce7b696b837c
refs/heads/master
2020-09-27T04:24:40.691221
2019-12-27T19:33:33
2019-12-27T19:33:33
226,389,820
0
0
Apache-2.0
2019-12-06T21:33:35
2019-12-06T18:47:41
Python
UTF-8
Python
false
false
282
py
from app import db from app.api.models.foo import Foo # Helper function to add a sample string to Foo def create_foo_string(foo_string): foo_table_element = Foo(string_field=foo_string) db.session.add(foo_table_element) db.session.commit() return foo_table_element
[ "noreply@github.com" ]
noreply@github.com
ad09f1178489249f0bbe1ac89b8c04992d14a89e
11d0cc8470722b737ac1d83610f227ffb98ea71a
/convert/ahf2csv.py
806bfe4ea9ced908b9a5b9164efc7b63a5b04e65
[]
no_license
EdoardoCarlesi/PyRCODIO
d86e5298877f08b597f92a07aac0c9b634dbfa39
d3f84efb7aeec0032ef6bde839fe9440ee82b392
refs/heads/master
2021-04-03T04:58:26.219884
2021-03-21T12:22:19
2021-03-21T12:22:19
125,036,704
148
0
null
null
null
null
UTF-8
Python
false
false
452
py
''' Python Routines for COsmology and Data I/ (PyRCODIO) v0.2 Edoardo Carlesi 2020 ecarlesi83@gmail.com ahf2csv.py: convert (and compress) AHF halo catalogs to csv files ''' import pandas as pd import sys sys.path.insert(1, '/home/edoardo/CLUES/PyRCODIO/') import read_files as rf this_ahf = sys.argv[...
[ "gatto@nanowar.it" ]
gatto@nanowar.it
3d6a8d3932e7842aed3095ee73c35260a9beb8c0
40021c7443c3b512fd77df1a77855a10c0afd6df
/src/controller/command/track.py
b9796406b68396d87a5f02e48dc2e35b43675ec0
[]
no_license
ginsm/punch
9062cc6a18352a9a6569d2cdd3383563f012bf75
be35587fffdb036f823b13e8df06d9509a348120
refs/heads/master
2021-04-10T01:39:04.296020
2020-03-24T23:59:08
2020-03-24T23:59:08
248,900,501
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
# SECTION IMPORTS - External and internal imports. # ===================================================== # External import re # Internal import view.commands.track as view import model.db as db # SECTION HANDLER - Job selection handlers. # ===================================================== def handler(command, ...
[ "matt@mgin.me" ]
matt@mgin.me
e128dcb7bacbd5c878d4d8dc67752ce9b8a0b7d1
dbd7be725a36b22a99f3785bcdf2e3866b6e3cc7
/tests/base.py
a2813c552c6c3d551bc6e9e5c9deea5c949d9492
[]
no_license
MatthewMcGonagle/TSP_PictureMaker
9aed2ddebfc8c36c5a835cd4fb3fd75a1650516c
b6df1b6e5ade27750e2974de1c46e46988fb16e9
refs/heads/master
2020-03-19T12:43:52.242516
2019-03-21T19:51:08
2019-03-21T19:51:08
136,536,415
0
0
null
null
null
null
UTF-8
Python
false
false
2,405
py
import unittest import numpy as np import sys import fake_random sys.path.append('..') import tsp_draw.base class TestAnnealerMethods(unittest.TestCase): def __init__(self, *args, **kwargs): unittest.TestCase.__init__(self, *args, **kwargs) angles = np.linspace(0, 2 * np.pi, 8)[:-1] self.v...
[ "mwmcgonagle@gmail.com" ]
mwmcgonagle@gmail.com
ad01571f6a61ceda4ceecc3b05110483c0b3596f
99172548909dfea0095f27d590277b87b61d8bac
/Programmers/Level1/직사각형 별찍기.py
4828430b91f5d67edafdd69237b146947bc2038e
[]
no_license
rheehot/Algorithm-53
3612e51aee15fa4bc6fecd6d2c18fa45f5572117
2651f95ca25645943a8c3fe40662092b4925f06b
refs/heads/master
2023-06-24T05:35:46.465422
2021-07-22T14:45:15
2021-07-22T14:45:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
a, b = map(int, input().strip().split(' ')) rect = ("*" * a + '\n') * b print(rect)
[ "59171154+HelloJihyoung@users.noreply.github.com" ]
59171154+HelloJihyoung@users.noreply.github.com
184e8e9933bf4850ac425bc2697124c4c5776379
03c9cd5bd96874d6117fb17c37ac4d7450c15933
/Opencv-Python/wechat/autojump.py
540e6d96cb2fd16283ba2e25403877731481716d
[]
no_license
atiger808/opencv-tutorial
603de35e97679d6beae104298ae355edfdd9036a
2ea9bb3818284fb75f85697e36fde37b6479d1c6
refs/heads/master
2020-05-29T23:16:30.462022
2019-11-05T10:08:20
2019-11-05T10:08:20
189,425,004
0
0
null
null
null
null
UTF-8
Python
false
false
3,751
py
# _*_ coding: utf-8 _*_ # @Time : 2019/4/3 16:45 # @Author : Ole211 # @Site : # @File : autojump.py # @Software : PyCharm import cv2 import numpy as np import os import time import subprocess import math # os.chdir('d:\\img\\') press_coefficient = 1.35 def get_center_coord(img): region_lower = ...
[ "atiger0614@163.com" ]
atiger0614@163.com
dae76b5a56cfbe512236e47e5b204fddff746a73
4e382ae46cf997ea2dbdfcfa463a57d3e0e9ad97
/sols/gray_code.py
490b72b7d1576b6786b190e757dfced57e83460c
[]
no_license
hayeonk/leetcode
5136824838eb17ed2e4b7004301ba5bb1037082f
6485f8f9b5aa198e96fbb800b058d9283a28e4e2
refs/heads/master
2020-04-28T03:37:16.800519
2019-06-01T14:34:45
2019-06-01T14:34:45
174,943,756
0
1
null
null
null
null
UTF-8
Python
false
false
381
py
class Solution(object): def grayCode(self, n): def getCode(n): if n == 0: return ["0"] rest = getCode(n-1) reverse = reversed(rest) ret = [x + "0" for x in rest] + [x + "1" for x in reverse] return ret ret = getCode...
[ "31617695+hayeonk@users.noreply.github.com" ]
31617695+hayeonk@users.noreply.github.com
7fb1bbcd1838101abf13096c7d71cc1156bf7060
e3f2a0acc79f1891b93553ee6a95396edeb6fd60
/setup.py
c9c0390cc3d9d040b7b7fc777d3544fa322b0332
[ "Apache-2.0" ]
permissive
imaginal/openprocurement.search_plugins
5bd23b7e17365abba9f7f33da7a5c3263c440453
a32a5e1b54c9b02fe24fae93e2e78632f77be82a
refs/heads/master
2020-04-11T23:30:41.704868
2018-12-17T18:31:07
2018-12-17T18:31:07
162,170,079
0
0
null
null
null
null
UTF-8
Python
false
false
906
py
from setuptools import setup, find_packages setup( name='openprocurement.search_plugins', version='0.1', # NOQA description="Plugin for OpenProcurement Search", long_description=open("README.md").read(), # Get more strings from # http://pypi.python.org/pypi?:action=list_classifiers classifi...
[ "flyonts@gmail.com" ]
flyonts@gmail.com
cac6679df85dec7cd9809210f80e1ddda0f67e88
1b2aeb34086ffd631e630008ffc73b6f1c458e8d
/kfold.py
4ed9cc4e0681f14208c53012d2e16279b953e4d0
[]
no_license
thunderboom/tecent_ad
bdde7af24aacce2cbe86d02e9defefa9378e3a3b
5c051ddd63848c767ecbc118841a953178b4111a
refs/heads/master
2022-09-08T02:31:49.090314
2020-05-26T08:41:48
2020-05-26T08:41:48
265,536,465
0
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
"""根据切分形式,进行训练并验证""" from torch.utils.data import DataLoader from utils import AdvData from sklearn.model_selection import train_test_split from train_eval import model_train, model_evaluate def cross_validation(config, model, train_data, test_data): if config.pattern == 'cross_validation': train_data, v...
[ "470810634@qq.com" ]
470810634@qq.com
19ebe52e3014d768bb3a0b4bde461281fb6ffc50
c04b004558beee584817c26aaf4809cb366f7fbb
/Course/Section-1/day12/2.作业.py
c45cc33e1a3d05734ee700af48c634dfd2609f76
[]
no_license
Wuzhibin05/python-course
4f3d3e39990a613d222b1e7bcb3bb1453b0541a0
50daa1405b873e9c6727598e6c752c115fe7843a
refs/heads/master
2023-07-14T07:17:19.054495
2021-08-26T01:22:13
2021-08-26T01:22:13
353,526,567
0
0
null
null
null
null
UTF-8
Python
false
false
2,575
py
# 1.编写装饰器,为多个函数加上认证的功能(用户的账号密码来源于文件), # 要求登录成功一次,后续的函数都无需再输入用户名和密码 # FLAG = False # def login(func): # def inner(*args,**kwargs): # global FLAG # '''登录程序''' # if FLAG: # ret = func(*args, **kwargs) # func是被装饰的函数 # return ret # else: # username = i...
[ "wuzb@szkingdom.com" ]
wuzb@szkingdom.com
f8fd22a6064e8366f38550ad3d3bfbd6d473f4c1
0f187b981948b7bb1739c22b7b1d38f6c0fd4bb5
/venv/bin/django-admin.py
a2eb0df4316c4287a519a1d266d93dd3836ecd12
[]
no_license
marcosdefina/django-studies
439680e619e50e872497c44e99d8d29e441a5741
1156c891954a13037efff776779ca86c0924c8de
refs/heads/master
2020-05-18T21:24:08.371284
2019-05-02T22:29:54
2019-05-02T22:29:54
184,661,514
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
#!/media/marcosdefina/WindowsBackup/Users/marki/Documents/Estonia/Python/rp-portifolio/venv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "marcosdefina@gmail.com" ]
marcosdefina@gmail.com
192d3de4d4523842cca9e342f1b2e292e06c8306
0a921dfd9e627153552b62170eba0f92a817ce5d
/tests/auger/test_configs.py
b0d656ecbe56dd70adff2abca21760be807d92de
[ "Apache-2.0" ]
permissive
mha23/a2ml
b7507729f3c54b71af8a1e4595c33563062d515e
8fbd1be7a81be5f41564debeecb61379097f6fb8
refs/heads/master
2021-01-02T21:25:59.063460
2019-12-11T10:04:48
2019-12-11T10:04:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,349
py
from .mock_rest_api import interceptor from auger.api.cloud.experiment import AugerExperimentApi EXPERIMENT = { 'data': { 'name': 'iris-1.csv-experiment', 'project_file_id': 1256, } } PROJECT_FILE = { 'data': { 'name': 'iris-1.csv', 'id': 1256, 'statistics': { ...
[ "vlad@dplrn.com" ]
vlad@dplrn.com
6ffd580688dd7af218faa5a26e83fabfce825f2a
300993f8ab336b19799ad10c7520514db6d56d2f
/aafield/aafieldapp/models.py
713013d3b46a057dd3b6beedefd197efd2d46880
[]
no_license
pratheebapalanisami/ParkReservationSystem
23ef1a42690f7697e8b804ab2ac1714128adcbd0
5bd436c1e3688b8bdcd4986135604250240c5f6e
refs/heads/master
2022-11-30T00:34:47.598881
2020-08-08T20:48:09
2020-08-08T20:48:09
286,116,956
0
0
null
null
null
null
UTF-8
Python
false
false
3,437
py
from django.contrib.auth.models import AbstractUser from django.db import models from django.utils import timezone from django.contrib.auth import get_user_model from django.urls import reverse from accounts.models import Profile from aafield import settings class Parks(models.Model): Park_Name = models.CharField(...
[ "54645809+pratheebapalanisami@users.noreply.github.com" ]
54645809+pratheebapalanisami@users.noreply.github.com
5b87225c7d50e4de10c2e589bdd51d172792eef9
e9b3842b3d2946bb6ddc07fcb8410732ca76f613
/mdl.py
67f802dd819229e1e48f72eebcab1278ee6efc6d
[]
no_license
aditihaiman/final-graphics
2187c48bf3516467996eb1264019b0d2ea393055
45ee0b9c2733677a45d787a56f9a0333de2ad0a7
refs/heads/master
2022-11-09T00:31:56.646702
2020-06-11T22:04:50
2020-06-11T22:04:50
265,695,784
0
1
null
null
null
null
UTF-8
Python
false
false
15,997
py
from ply import lex, yacc tokens = ( "STRING", "ID", "XYZ", "DOUBLE", "INT", "COMMENT", "LIGHT", "CONSTANTS", "SAVE_COORDS", "CAMERA", "AMBIENT", "CYLINDER", "PYRAMID", "PRISM", "TORUS", "SPHERE", "ELLIPSOID", "TUBE", "CONE", "BOX", "...
[ "ahaiman00@stuy.edu" ]
ahaiman00@stuy.edu
8beec3595266a31881890de7dda1c3111fee3c79
f0237dd96510765f1a8d4b61e5e6dca0d1142fba
/lib/tools/tools_ssh.py
f6155f4fca7f6f97a9800cfdbb16671dbf2a4638
[ "MIT" ]
permissive
galena503/SCR
d217782dd03f22f5524666f11ccd6c9e73bec223
d5b6581808b4f2fac775e7ff48b3eef548164ca1
refs/heads/master
2020-08-01T06:56:33.715559
2019-09-26T09:34:45
2019-09-26T09:34:45
210,895,454
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
class Tools_ssh: def get_other_scr_stats(self): # SCRfield内の他のSCRの情報を取得する def get_other_scr_stats(self):
[ "52788168+akatuki-hi@users.noreply.github.com" ]
52788168+akatuki-hi@users.noreply.github.com
fcd7b5300758601302ad4cce5f20949aca28de24
292a5ad7aa1031a00ae8b0f4b7514fd3480ab209
/data/get_csv.py
dee2c25febe9c506dcf0ad20300fc39ff7e50463
[]
no_license
bevarb/Autofocus-for-SPRM
d3e52140cf5bd6e5e0a4c856fa6e0449042875cc
49ab4632b0097cd42501110da84ce2fa0e0b6285
refs/heads/master
2022-12-29T10:17:28.986442
2020-10-16T07:21:12
2020-10-16T07:21:12
268,509,896
1
0
null
null
null
null
UTF-8
Python
false
false
2,635
py
import pandas as pd import numpy as np import os def get_csv(B_root, A_root, save_root, CENTER=100): '''获得A、B文件夹图片的序列信息,找到对焦帧,存入csv文件''' A_List = os.listdir(A_root) A_List = sorted(A_List, key=lambda x: int(x.split("_")[0])) B_List = os.listdir(B_root) B_List = sorted(B_List, key=lambda x: int(x.sp...
[ "49848629+bevarb@users.noreply.github.com" ]
49848629+bevarb@users.noreply.github.com
a9597573158cd06dab3973ee6e0512978f90458b
229d71da5bb9fcdc34ab9c3a4ff9f75ca7ea7a19
/bitly_app/urls.py
81c9ebb0845bfee3a27ec09d812bed36ced4f7b6
[]
no_license
Cunarefa/Convert
8fd1ba5aae46915b1cde31a682d6ddd1b83bbeef
93d366656c51affc2d17c685fcd6c93345180a49
refs/heads/master
2023-08-29T11:42:02.784981
2021-09-18T10:28:44
2021-09-18T10:28:44
407,829,331
0
0
null
2021-09-20T18:39:30
2021-09-18T10:30:09
Python
UTF-8
Python
false
false
133
py
from django.urls import path from .views import ConvertView urlpatterns = [ path('long', ConvertView.as_view(), name='long'), ]
[ "yevgen.yelik@gmail.com" ]
yevgen.yelik@gmail.com
8fd914c3d126ba141d422b9c77ea8058d4bed139
ffe606c85de9009d2c15356f82daa524c343b925
/11.28.cleanup/s2rarecats_prep.py
2f94abfa78be1fcaf7c2caf0858efeb8b810ee3c
[]
no_license
jbinkleyj/story_writer
d88ff7e3360fb8afd12445d1cb237788636b3083
dc5106a35f5fbce72f8cf0801c0ad4cbc0c9f12f
refs/heads/master
2020-07-09T15:54:02.492373
2017-12-16T07:26:59
2017-12-16T07:26:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from preprocess import * from arguments import s2s2catsrare as parseParams if __name__=="__main__": args = parseParams() DS = load_data(args) torch.save(DS,args.datafile)
[ "kedzior@uw.edu" ]
kedzior@uw.edu
e28d643bbf487ab16a8d7714dc8b7719cd5d4d27
8b677a1618a656a7544befb2a49b430b9e4bc236
/spriteSizeCheck.py
c241c5b1ccb0edd62cf845d486654e1f93ecbb6d
[]
no_license
charlottehill/snapshots
bb364e878e1ea3098f10dabbc9903f1d6aaf6e92
b4d12b3ef73c24bad04c47e66936ec1a0546f515
refs/heads/master
2016-08-04T13:16:41.341537
2014-04-14T09:11:28
2014-04-14T09:11:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
from __future__ import print_function from collections import Counter from kelp.kelpplugin import KelpPlugin from snapshotplugin import SnapshotPlugin import os import sys import kurt class SpriteSizeCheck(SnapshotPlugin): def __init__(self): super(SpriteSizeCheck, self) self._modulename = "Sprite...
[ "tmartinez@umail.ucsb.edu" ]
tmartinez@umail.ucsb.edu
4f05de413d1b0bc99e8d424f2680575e2250630a
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnoilier.py
e97e8bf74b3364175a1104be69b64e8c77151a39
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
449
py
ii = [('UnitAI.py', 4), ('LeakWTI3.py', 2), ('SeniNSP.py', 1), ('LyelCPG.py', 1), ('GilmCRS.py', 1), ('AinsWRR.py', 2), ('NewmJLP.py', 1), ('CoopJBT.py', 1), ('BachARE.py', 1), ('MereHHB3.py', 2), ('WilkJMC.py', 2), ('WestJIT.py', 1), ('LyttELD3.py', 1), ('SomeMMH.py', 1), ('HaliTBC.py', 1), ('AinsWRR2.py', 1), ('ClarG...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
ab30ab18ba8f3c1c08c46beca037f2dfd35c0f29
df6cca824ab8c71b8c054b0c5accc24d0593d2e4
/accounts/views.py
2291198fd5f6cb2d867b0b90884894dc6da6837e
[]
no_license
emanan94/django-mostudio
ba4fda2fb4cc4af39e92b46cae92aa6fc61d32da
9178346c01df1253b61a74be01418f956c7c55c4
refs/heads/main
2023-01-11T09:33:35.165511
2020-11-13T17:59:59
2020-11-13T17:59:59
304,308,342
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
from django.shortcuts import render, redirect from django.urls import reverse from .models import Profile from .forms import ProfileForm, UserForm,UserCreateForm from django.contrib.auth import authenticate, login #Create your views here. def signup(request): if request.method == 'POST': signup_form = Use...
[ "youngamer_@outlook.com" ]
youngamer_@outlook.com
eeff077ecf7d9470bde1d09731515339125cc0b0
41738ae30e82facd15b3b77ace6bd1a0013f5296
/analytics/routes/login/baseroutes.py
ada3b240c27e9de4420421bdf7fc06b485e6680d
[]
no_license
sreenathp20/technicolor_backend
4c3bf5489ce4516face53699da630935a97fb21f
10dd323512ef3a8bad058a93b17e5c6efc203bab
refs/heads/master
2021-01-10T19:41:30.427869
2015-07-12T08:23:21
2015-07-12T08:23:21
38,954,648
0
0
null
null
null
null
UTF-8
Python
false
false
3,091
py
from analytics import app, login_user, login_required, logout_user, login_manager, current_user from flask import render_template, redirect, request, session, jsonify import simplejson as json, sys from analytics.lib.user.user import User from analytics.lib.user.manageuser import ManageUser from analytics.routes.login....
[ "sreenathp20@gmail.com" ]
sreenathp20@gmail.com
e1a6fea9523512dd08abfb5291de92885def9a2a
eff81639c9fb318697b475f6d076021b9187b3eb
/bruna_vasconcelos_E11.py
29a034f3bb52e70f9ddf7e5c405382f68a8137f2
[]
no_license
bruna/lab-de-programacao
85813a420f190df7de69b2e78283b9b6a5f59e62
0324827780fe4b4a2a91bff47a19a32feeae60c1
refs/heads/master
2021-06-01T05:49:51.710461
2016-06-20T02:07:12
2016-06-20T02:07:12
45,427,922
2
0
null
null
null
null
UTF-8
Python
false
false
5,005
py
import sys from math import floor class Node: def __init__(self, valor): self.__valor=valor self.__prox=None def getValor(self): return self.__valor def setValor(self,valor): self.__valor=valor def getProx(self): return self.__prox def setProx(self...
[ "brunapvasconcelos@gmail.com" ]
brunapvasconcelos@gmail.com
2a5e7f5f38b91f42700324e71b0bfacd75169326
49c5c461c9805be68a318810e2ebb3381643ed59
/linkedlist/remove-loop.py
c5cee91e4abc8333b6e0eceee46a40a1b1d26633
[]
no_license
pkdism/must-do-coding
10a3ef756d24fec451d8ed09bfc22335635a6b13
ccff354eebd9b2434085528922eb3bc13715530e
refs/heads/master
2020-09-11T00:54:08.078087
2019-11-27T11:15:53
2019-11-27T11:15:53
221,886,105
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
def removeTheLoop(head): h = set() prev = None it = head while it is not None: if it in h: prev.next = None break h.add(it) prev = it it = it.next
[ "pawan.dwivedi94@gmail.com" ]
pawan.dwivedi94@gmail.com
b235b3c02e8d648817c86ed6338d36c616fdc7b1
459cbeccdd385335808d9dc4a47b6658ff58a2b3
/mysite/main/migrations/0002_auto_20210612_1356.py
7dcaeaf881cde619ed25d0b6343ea602092db8e1
[]
no_license
maribelceli347/Aplicacion
41fc66c944bfb683818be92a248de0b804675e0e
29f9750bca50d940dc17c38df1f2f36bf510f77e
refs/heads/main
2023-05-28T13:32:17.792045
2021-06-12T20:02:13
2021-06-12T20:02:13
376,374,524
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
# Generated by Django 3.2.4 on 2021-06-12 18:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.CreateModel( name='Veterinaria', fields=[ ('id',...
[ "79048421+maribelceli347@users.noreply.github.com" ]
79048421+maribelceli347@users.noreply.github.com
0c15c99b6035a3a37d9d9d85d732faa65f2a1760
a34a03ab7b79e772b62f344f6b3a52a784040a96
/bin/kanshin
dbe71370e51dcc616f8ca4276152a61796e9a4e0
[ "MIT" ]
permissive
basuke/kanshin-export
a413c1bb820cbdb861fb280dd66ff384075dc172
0235ce7ab570a94328524e63061830b0aa3ace74
refs/heads/master
2020-05-21T18:04:07.135221
2016-10-31T15:19:58
2016-10-31T15:19:58
64,376,495
0
0
null
null
null
null
UTF-8
Python
false
false
882
#!/usr/bin/env python import os.path import sys sys.path.insert(0, os.path.abspath('.')) import click from click import echo import kanshin.data class NativeParamType(click.ParamType): name = 'native' NATIVE = NativeParamType() # ---------------------------------------------------------- @click.group() def cl...
[ "basuke@kinoma.com" ]
basuke@kinoma.com
467cb510aa53960af2c189d8ceceb2e19665ba7a
c315e2623c0759afeb5e0390794e04b848e6df81
/fast_lemon_api.py
74c3f362d32d79a6e9623579de089e9c9d6cb668
[ "Unlicense" ]
permissive
a6502/fast_lemon_api
19b0c1f00461a697f9f4cc3ffd934f3cfe6580c2
09a5b6eec3e84d1d006f927e502a7071a28739cc
refs/heads/main
2023-03-28T11:12:51.753765
2021-03-29T23:54:31
2021-03-29T23:54:31
352,815,336
0
0
null
null
null
null
UTF-8
Python
false
false
2,481
py
#!/usr/bin/env python3 # or run as: uvicorn fast_lemon_api:app # std python-3.9 from datetime import datetime from enum import Enum from typing import List, Optional import time import uuid # python3-pydantic from pydantic import BaseModel, PositiveFloat, PositiveInt, UUID4, ValidationError, conint, constr, validato...
[ "wieger@Dublin.a6502.net" ]
wieger@Dublin.a6502.net
7cff65e982c2b32cab03f10e594c8aaa54be7c8a
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/634.find-the-derangement-of-an-array/634.find-the-derangement-of-an-array_108022165.py
4478461c59f6bddeee62b60691de01ec47975b2e
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
class Solution(object): def findDerangement(self, n): """ :type n: int :rtype: int """ if n == 1: return 0 if n == 2: return 1 OPT = [0] * (n+1) OPT[0] = 1 OPT[1] = 0 OPT[2] = 1 OPT[3] = 2 for i i...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
5fbe59973b26282635a73228a47461382edec61a
756cfeed032f7d206cdbe4409f2c052bf3e44fe1
/Tkinter/Lecture_4.py
0ce5a5c74a62fe228e5bc2c3eee2785792f67700
[]
no_license
Pyk017/Python
2e470a10f95aac8bb049edf13c6a825ceab68ea5
57fb48356921cc6766675620b32e4099ad371bc6
refs/heads/master
2021-07-05T00:16:22.365638
2020-12-27T08:25:10
2020-12-27T08:25:10
213,291,579
1
0
null
null
null
null
UTF-8
Python
false
false
453
py
from tkinter import * root = Tk() label1 = Label(root, text="Enter Your Name = ") label1.grid(row=0, column=0) # label1.pack() entry = Entry(root, width=25, borderwidth=5) entry.grid(row=0, column=1) # entry.pack() i = 0 def my_click(): global i label = Label(root, text="Hello " + entry.get()) i += 2 ...
[ "prakharkumar506978@gmail.com" ]
prakharkumar506978@gmail.com
0cefd1e9333d717207e4845c00ae84fb4478d05e
08a68e32dc80f99a37a30ddbbf943337546cc3d5
/.history/count/views_20200419210055.py
c0e0fbfb2b96a0104e0cd52bbfbce5cc12136149
[]
no_license
Space20001/word-count-project
dff1b4b44d2f7230070eef0d95dd968b655d92f7
795b5e8ad5c59109e96bf7a8e9192efaefa7770e
refs/heads/master
2022-04-20T17:54:05.511449
2020-04-20T15:25:46
2020-04-20T15:25:46
257,327,368
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
from django.shortcuts import render # Create your views here. def home(request): return render(request, 'count/home.html', {}) def counted(request): fulltext = request.GET['fulltext'] wordlist = fulltext.split() for word in wordlist: worddictionary for word in wordlist: i...
[ "steve.h@blueyonder.com" ]
steve.h@blueyonder.com
7f9dd1f1f7a9135eb1ac3be360d855691bec346d
e45f1f9f3777d625c7da773f8e55589ded528711
/pic_scrapy/pic/spiders/PhotoSpider.py
bfbdf2f3503102ed8587cee37b600d0b0a2d4301
[]
no_license
631068264/learn_crawler
da973d758001b52c61aa0bb4dfc78b59a88304e4
65ac2cef7b42b0dce5fb726daa819a6ebc8ffafa
refs/heads/master
2022-11-15T13:06:55.765849
2022-10-31T07:07:31
2022-10-31T07:07:31
77,364,616
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author = 'wyx' @time = 16/10/24 15:01 @annotation = '' """ from urlparse import urljoin import scrapy from pic.items import PhotoItem class PhotoSpider(scrapy.Spider): start_urls = ["https://www.610hu.com/htm/girl.htm"] name = "photo" domain = "https://...
[ "wyx@wuyuxideMacBook-Pro.local" ]
wyx@wuyuxideMacBook-Pro.local
0668482cec5cf3ee1d9fbb3ba9466c1dc9c9b89b
3ca67ed4d6ee727023e9342aca1fb6b2b03fac04
/coremlconverter.py
dfc9311c5cbf31381724f02600610e76b09a0d08
[]
no_license
poommomo/pokemon-classifier
17712679674361a85c5c0d986110820b11adee84
7b6724123bc2936399aed811b22c12c6d8217766
refs/heads/master
2020-03-29T04:43:43.379612
2018-08-09T08:53:12
2018-08-09T08:53:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun May 13 13:35:16 2018 @author: KaranJaisingh """ # import necessary packages from keras.models import load_model import coremltools import argparse import pickle # construct the argument parser and parse the arguments ap = argparse.ArgumentParser() ap...
[ "KaranJaisingh@karan-jaisingh.lan" ]
KaranJaisingh@karan-jaisingh.lan
8f3c48e2d207660e14f0af89a3b6c1e6fa76b6dc
a6d9710e312caf4ae96b43f0290f9135bffdf8e0
/Unit 45/45.4.1_4/calcpkg/geometry/vector.py
6c6892b72e03d1f068f29d7872f2b5b90fd9723f
[]
no_license
gilbutITbook/006936
5b245cf1c6d4580eb07344bdaa254e4615109697
b5cd6a57cdb5bb3c2ad5e3c9471a79b3fa82bc5d
refs/heads/master
2023-01-29T07:35:46.360283
2023-01-18T06:20:49
2023-01-18T06:20:49
154,229,702
19
19
null
null
null
null
UTF-8
Python
false
false
52
py
def product(a, b): pass def dot(a, b): pass
[ "user@localhost" ]
user@localhost
e71e9d4d92731adf5fc047eb7caced983c0abefb
e0ce2909a52221a0b4b6429fd6bd4f8a67826133
/draw.py
627d53957953f7e37fb4b347adf7b52cedec107e
[]
no_license
ecrystale/mks66-solids
8c7170f5f887d8b5081fa5a57985fd91694e46df
006f9e4618a342118698c74945bbf6edb61a95f8
refs/heads/master
2020-05-07T15:41:17.966936
2019-04-18T02:31:09
2019-04-18T02:31:09
180,648,426
0
0
null
null
null
null
UTF-8
Python
false
false
11,071
py
from display import * from matrix import * from gmath import * import random def scanline_convert(polygons, i, screen, zbuffer ): color=[random.randint(0,255),random.randint(0,255),random.randint(0,255)] points=polygons[i:i+3] points.sort(key=lambda x:x[1]) bot=points[0] mid=points[1] top=poin...
[ "elee19@stuy.edu" ]
elee19@stuy.edu