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
65140a8ee5c355af403fc04efce30b8bbd016c5f
809404d52d805dc8540729e67fec64d9b0327a38
/eknowint/wsgi.py
831e53f03d988d551278c3b6cd19e30528ce6e29
[]
no_license
insadolll/what-the-fun
1a7b9207b7966106785eb0e942ff3c95e5cdd317
b8216334fd24de96815e5133a59c4f0b7ed8b3ef
refs/heads/master
2023-06-10T06:22:06.142469
2023-06-01T04:42:55
2023-06-01T04:45:39
240,148,200
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for eknowint 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/4.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
[ "insadolll@gmail.com" ]
insadolll@gmail.com
e67b5fb7b87600d4ea88e9844189b19dc73ba4f2
e0aa0f3608babba37efd2fa1e9e3c43a55d02aec
/manage.py
ebbdbf3ac310d4fcb5a2582a79719acc1c51e043
[]
no_license
AadamBari/WorldHealthStatus
602ff57ba8b90ffa93c63573f0d90995076fdc32
4227ebf0a7ed25be59ad8674f449f22a5dcf68ce
refs/heads/master
2020-03-23T15:28:22.921990
2018-09-02T21:56:51
2018-09-02T21:56:51
141,750,537
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "world_health_status.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import ...
[ "aadambari@msn.com" ]
aadambari@msn.com
3bea8cbc82e927f833943d15a64c44cf20fdf883
2922452546949b20bea34408e3bdc01ef808cbf4
/recipebox-api-python/config.py
a29cf74bd543dc963cc79af4285b024e68a0ce46
[]
no_license
andrewpickett/recipebox
79da4cff5e4fa43a1de6d3e3ddc2cf62ce58c08c
3a13067c3bafd9eedf6a7451494974349c4805c3
refs/heads/master
2021-07-09T08:20:12.173889
2019-11-29T15:18:09
2019-11-29T15:18:09
222,189,266
0
0
null
2021-01-05T17:06:19
2019-11-17T03:00:26
JavaScript
UTF-8
Python
false
false
270
py
config = { 'database': { 'username': 'root', 'password': 'abcd.1234', 'host': 'localhost', 'port': 3306, 'schema': 'recipebox', 'pool_name': 'recipebox_pool', 'pool_size': 3, 'autocommit': True } }
[ "picketta@gmail.com" ]
picketta@gmail.com
e80fe98866b2f941c97f22856430a914e2d0f0da
2ea75073b85398cb5b02ea450b389da370b07ef4
/flymad_jaaba/utilities.py
3f35b8ed81a35fc8d0bdd94dac22cd5dbc17f2d9
[]
no_license
dbath/wahnsinn
34538f95838c1b01bd29e4e6fc326e5a2dec34a2
6b4586a1bf8e73eb0a4daf8219c57aae9284b1af
refs/heads/master
2020-04-12T01:34:25.661654
2018-03-28T19:50:53
2018-03-28T19:50:53
20,540,037
0
0
null
null
null
null
UTF-8
Python
false
false
10,511
py
import os, fnmatch import pandas as pd import scipy.stats as ss from pandas import DataFrame import numpy as np import glob import rosbag import matplotlib.pyplot as plt from scipy.signal import argrelextrema import math import subprocess import sh import shutil def find_files(directory, pattern): for root, dirs...
[ "danbath@gmail.com" ]
danbath@gmail.com
ac5afc52b02e6ce750a503d85063c5e8a77cfe4e
cdcf553815405208d620cad0adc45f408724c9b0
/setup.py
1f6725459c83ef2c6f9460dd1964c69dda0ee26a
[]
no_license
mlorantdourte/mateo_project
dffdec8be8de93e6ac8ea9a72962429eb9e576e9
5f1e9d5bb4e35d157c4cce93cd5696dda73bb476
refs/heads/master
2023-06-23T09:46:52.674600
2021-07-30T11:25:34
2021-07-30T11:25:34
391,038,591
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
from setuptools import find_packages from setuptools import setup with open('requirements.txt') as f: content = f.readlines() requirements = [x.strip() for x in content if 'git+' not in x] setup(name='mateo_project', version="1.0", description="Project Description", packages=find_packages(), ...
[ "mateo.lorant@gmail.com" ]
mateo.lorant@gmail.com
7c70d30f3f40830485de9f09a9c2e9f194bac780
3c72e5da8c681b08dc0309f2b43f39b338df5d20
/OLD/dynamic2flat.py
3d8fc03991ab2f61cb9ec3babd39a56aa25b6250
[]
no_license
ksingh7/data-show
929daf95cf4bbe1786aae9b2227485ab65ac4814
f4c0aa80f34999eed51227a954d3b86937a2ff6a
refs/heads/master
2020-03-09T17:11:13.505601
2019-03-17T01:34:30
2019-03-17T01:34:30
128,903,452
1
3
null
2018-06-22T17:32:10
2018-04-10T08:55:07
HTML
UTF-8
Python
false
false
2,564
py
#!/usr/bin/env python ''' Grabbed from: https://gist.github.com/zkendall/5c58ac81a9f152de2b851360df6539cb This script converts the output of Ansible's dynamic ec2.py to a flatly formmated static inventory file. Before running this script run `python ./ec2.py --refresh-cache > ec2-dynamic.json` See: http://docs.ansibl...
[ "karan.singh731987@gmail.com" ]
karan.singh731987@gmail.com
0b802a6bf15d37b29f65026979a35e857f65b674
3edb8e25f34b67361bc1010cedff3d79e34e5be0
/wtorch/data/datapipes/iter/batch.py
61109556bbd4b5eb11944ad661d3a25ce2547802
[ "MIT" ]
permissive
vghost2008/wml
9180a81ddfd1b5d5cc7dc616c7cbe058da168744
b1c72a9387de44c05d0a1325c9033a0716d410f8
refs/heads/main
2023-09-01T18:10:45.407657
2023-08-23T06:49:02
2023-08-23T06:49:02
164,764,670
8
2
MIT
2023-03-24T23:12:34
2019-01-09T01:43:00
Python
UTF-8
Python
false
false
4,946
py
import warnings from torch.utils.data import IterDataPipe from typing import TypeVar, Optional, Iterator, List, Sized, Callable T_co = TypeVar('T_co', covariant=True) class BatchIterDataPipe(IterDataPipe[List[T_co]]): r""" :class:`BatchIterDataPipe`. Iterable DataPipe to create mini-batches of data. An oute...
[ "bluetornado@zju.edu.cn" ]
bluetornado@zju.edu.cn
c901d0898001ebbe91cb1e3a51cc08279de8ec9b
f210a0034af487b5b86a833a3477751e00a19ba6
/OpenCV/video.py/Fream_Cut.py
d42f58252ee3afb9fcc99ce190972abb21737704
[]
no_license
HojiCha3171/pycharmproject
34b2212a311e093ca697c3ec7c9ee4def8a2f399
b15eb698f1c15c8073b574702c62df276234393d
refs/heads/main
2023-05-03T19:09:29.459458
2021-05-23T12:49:50
2021-05-23T12:49:50
368,645,307
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
import numpy as np import cv2 cap = cv2.VideoCapture("C:\\Users\\tuzuk\\Desktop\\CIMG5572.MOV") width = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH)) height = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT)) fps = cap.get(cv2.CAP_PROP_FPS) fourcc = cv2.VideoWriter_fourcc(*'DIVX') writer = cv2.VideoWriter("C:\\Users\\tuzuk\\...
[ "noreply@github.com" ]
HojiCha3171.noreply@github.com
f04aad501a4c93eeee5ef50b4c8b0854377c628d
50230af8070c3719606065c8826a29e5a01487d2
/QuickSort_full.py
908178bd9a07ec6c3751921e207c6f034ee7b859
[]
no_license
shinequasar/QuickSort
98fd533d3fd18b900fa955767b7dfaad5bbcdc92
913f9b2aa77ceb7e8c3ca51fdc77bbb127c38962
refs/heads/master
2022-12-04T13:36:51.664676
2020-08-14T19:48:41
2020-08-14T19:48:41
286,558,521
0
0
null
null
null
null
UTF-8
Python
false
false
3,229
py
import csv import random import time import sys def writeFile(file): f = open(file, "w") # 파일쓰기 wr = csv.writer(f) num_arr=[] for i in range(0,1000000): # 백만개의 임의정수 num_arr.append(i) mixArr(num_arr) #순서 무작위로 섞기 wr.writerow(num_arr) #print(">> 생성된 임의의 정수 개수 : ",len(num_arr)) f.cl...
[ "shinequasar@gmail.com" ]
shinequasar@gmail.com
957a1815ad2ada3a29c9eb24eec13cc9620429df
981762c42d0bd38410b3e9bc5ad61830492fa776
/quiz_3/q7.py
814e7a5d4d3d83e7a5b6e461ea74b69e78e396f9
[]
no_license
Crispyfries345/COSC264
855ba66b33afe02e72235db28634d34cc97a1c96
6708be8fc858b9c69ef55763e112be74df2b6f20
refs/heads/master
2023-07-11T01:31:47.949297
2021-08-24T23:17:18
2021-08-24T23:17:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
def packet_transfer_time( linkLength_km, speedOfLight_kms, processingDelay_s, dataRate_bps, maxUserDataBitsPerPacket_b, overheadBitsPerPacket_b, ): L = linkLength_km C = speedOfLight_kms P = processingDelay_s R = dataRate_bps S = maxUserDataBitsPerPacket_b O = overheadBit...
[ "lissington4@gmail.com" ]
lissington4@gmail.com
27c456bb190924f3117dc53002f8af05a9addc2b
46643f7d73a270b8080ac9f2f570edc4b90a8b63
/Backorder/trainingModel.py
1a85dde3a2c919f570b402f53df3c3550b440052
[]
no_license
khangdong89/Stock-out-Prediction
16533de9d983048cda12f726cf8d0a09a8ea8d79
62719448e86600ff8f068802db4ff87504b0e28a
refs/heads/main
2023-05-03T08:47:51.891938
2021-05-14T13:33:11
2021-05-14T13:33:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,718
py
""" This is the Entry point for Training the Machine Learning Model. """ # Doing the necessary imports from sklearn.model_selection import train_test_split from data_ingestion import data_loader from data_preprocessing import preprocessing from data_preprocessing import clustering from best_model_finder import tuner ...
[ "injarapusrisharanya@gmail.com" ]
injarapusrisharanya@gmail.com
3b3394be7b0f7c6c13b2006438556a5f0c7303ff
7848e1b778ca0f3921aeeb0aeee44b398711b1f0
/funtesting/mock/__init__.py
495f052105769c8dfec9019cc49217d5fe565c55
[]
no_license
fatelei/funtesting
a3a292ddfa30d9fbad47ee293768558b9e45fe8d
748f4b5767cc16929408b19a5b62a812b48a0dd5
refs/heads/master
2021-01-10T12:09:38.809451
2016-02-21T03:59:15
2016-02-21T03:59:15
51,986,949
1
0
null
null
null
null
UTF-8
Python
false
false
158
py
# -*- coding: utf8 -*- """ funtesting.mock ~~~~~~~~~~~~~~~ Mock modules. """ from .mock_redis import mock_redis __all__ = [ "mock_redis" ]
[ "fatelei@gmail.com" ]
fatelei@gmail.com
46d54d3715c9aa7412a782c36b610842b28640e2
c955d0f241e1b10ebb1a9ca851580b09f47fbd26
/venv/Scripts/pip-script.py
0fc9d0f7eea1cb49fa428a1c78bef712cc34d54e
[]
no_license
Nightichen/Myproject
dbb1d3231503a0179e0c84bae9f76af254a278c2
5fdfd6be283a3ea9b5bfce0f73f99737c7f485bc
refs/heads/master
2020-06-14T04:23:51.102361
2019-07-02T16:57:32
2019-07-02T16:57:32
194,897,789
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
#!D:\project\work\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "1290337913@qq.com" ]
1290337913@qq.com
620624227555341d918d2c14af35a2be32a22968
4bd9953e0ec435796712b58fb1ec1ed167544994
/longest-consecutive-sequence.py
d7e0ce6492b9904aee825e8e422f5d3ee257b0a9
[]
no_license
kyungwoh/leetcode
1a2d82276650f7d31c90ac6b9dccf166606cc219
88d48f177274dc388572b6fc3703cf12f76a59ec
refs/heads/master
2021-06-02T18:08:49.587617
2020-10-04T22:03:42
2020-10-04T22:03:42
140,018,560
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
# https://leetcode.com/problems/longest-consecutive-sequence/description/ # Save nums to set() & save start num # Then, start from start # Time: O(n), Space: O(n) class Solution: def longestConsecutive(self, nums): """ :type nums: List[int] :rtype: int """ if not nums: ...
[ "noreply@github.com" ]
kyungwoh.noreply@github.com
21aad8e9ae07cd132867853df8f27e5ab9e4c0c9
8a707aacc9ecd999cb2a996f91a718ce02f6205c
/leetcode/LowestCommonAncestorBinaryTree.py
243cd8f4bd64ddf865bf3865d960f6f69388241d
[]
no_license
seeyarh/interview-prep
e074f68f1c1c05b9ab0911f30b13dad69c7bbfb8
1af5f79ed9dcf334d2758e14a9c08e7880246a4f
refs/heads/master
2022-03-13T12:26:59.441211
2019-11-14T19:35:31
2019-11-14T19:35:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,766
py
''' Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes p and q as the lowest node in T that has both p and q as descendants (where we allow a node to be a descendant of its...
[ "collinsrhuffiii@gmail.com" ]
collinsrhuffiii@gmail.com
2eee39cad1933cd2f4b4756ab75b38eae5b338f7
c4763d9df5ee8b665b28c15e60135aafb6c1351f
/revdig.py
79671820e34bcb362ce753392896b61631fc5ab7
[]
no_license
Kalaiselvan1503/Guvi
b3ed5ca62b801abaedb35a6fb190620d32eee664
368517ad00140e8db99bde07bddd3e958a316e80
refs/heads/master
2020-04-15T04:57:53.139946
2019-05-13T08:53:10
2019-05-13T08:53:10
164,403,733
1
0
null
null
null
null
UTF-8
Python
false
false
32
py
#oifdj a=input() print(a[::-1])
[ "noreply@github.com" ]
Kalaiselvan1503.noreply@github.com
7dab67b1eb5922fbc537347904378fbe8a0986af
f84c3885fcff3e1ed5532a3af5f588122f2303dc
/main.py
c1637614d7a0f2e15c85010d6e05b8cbe6f101fe
[]
no_license
tommy-cheng/maqueen_ble
523837cf7aa990164217de66b5561f641d54eba2
7a0debbe28253987d960d702b3358fc04e65b0cd
refs/heads/master
2022-11-23T02:32:04.307894
2020-07-13T01:58:51
2020-07-13T01:58:51
279,184,644
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
bluetooth.start_uart_service() basic.show_leds(""" . . . . . . . # . . . # # # . . . # . . . . . . . """) def on_forever(): pass basic.forever(on_forever)
[ "tommy.cfc.cheng@gmail.com" ]
tommy.cfc.cheng@gmail.com
2b5bf12ab158d05efd089d721d894c8c774075be
3754a0270271ef174947cca9e14d79f5fd86b0c6
/src/db/__init__.py
5db20a3937e5f1e0e87a6b59010a2ee6edd35076
[]
no_license
skapin/lol-simulator
4dc026ddfeb917bd788691d55d62d0c34eb3f8af
e3a7af2febd2297ee760b918d6b800de93768de1
refs/heads/master
2022-12-21T22:26:16.788491
2020-01-19T23:48:05
2020-01-19T23:48:05
233,236,136
0
0
null
2022-12-11T21:15:27
2020-01-11T13:29:01
Python
UTF-8
Python
false
false
190
py
from .kanban_card import KanbanCard from .scan_kanban_card import ScanKanbanCard from .kanban_reference import KanbanReference __all__ = ['KanbanCard', 'ScanKanbanCard', 'KanbanReference']
[ "skapinthefourb@gmail.com" ]
skapinthefourb@gmail.com
45de4cd95439627837ca10655abc903d328c3ca9
e6ebedc843f643c492ed64871f5285255818749b
/jni-build/jni/include/tensorflow/python/ops/control_flow_ops.py
1367cc822afbfc27b6b6c803dd5d3fa31c1322b3
[]
no_license
thetonrifles/android-tensorflow
b7a3deb389b04892e3670ed9b4a3d0774a7552c8
aef805df8139b46c81f440d38be78990a3b07c1c
refs/heads/master
2022-12-21T08:53:16.655344
2016-03-01T21:55:28
2016-03-01T21:55:28
51,915,596
2
1
null
2022-12-11T20:44:02
2016-02-17T10:48:48
C++
UTF-8
Python
false
false
75,149
py
# Copyright 2015 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...
[ "andrea.petreri@gmail.com" ]
andrea.petreri@gmail.com
92ee97e35fa267ae04d198981bc954d229c3c6fc
49e6dde1b339dc537a9dabbdf418c2515590c24f
/camera_opencv.py
83cca3e39ea861969600a67a1f49c101cd499710
[]
no_license
elaa0505/CartoonNetwork
bcea7c8b5fd3e74fb1c43b669a391b0597f51c54
3e03313d0e5410229ed3680d366f6d69083b3079
refs/heads/master
2020-09-13T08:08:10.159961
2019-08-26T20:06:12
2019-08-26T20:06:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,143
py
import cv2 from base_camera import BaseCamera class Camera(BaseCamera): video_source = 0 @staticmethod def set_video_source(source): Camera.video_source = source @staticmethod def frames(): camera = cv2.VideoCapture(Camera.video_source) if not camera.isOpened(): ...
[ "spoduval@mit.edu" ]
spoduval@mit.edu
e0538fc000765ecc496569b961d807556d4a6d3e
3261af1e333e0a1df79e345ba7d79a0586b770b4
/Generate data set.py
631fff6ee059659f75c4d6d60c3ca291767301cb
[]
no_license
gopinal/ML-Karoake
54edfdcef1c8601c5b1d7104bd29755c1109239d
495a5204e5319b6d3dc4b43fcd13cdbf3bbabcee
refs/heads/master
2021-01-26T13:41:41.983737
2020-03-22T05:10:17
2020-03-22T05:10:17
243,444,546
2
0
null
2020-03-13T18:29:45
2020-02-27T06:09:03
HTML
UTF-8
Python
false
false
1,771
py
# coding: utf-8 # In[ ]: ###How to use this script### #You need spectrogram.py to use this script. For the variable DIR, you will specify the directory where your #music files are. #The end product of the script is a text file containing an array/matrix [X Y] of unrolled STFTs of 500ms segments of these songs. ...
[ "noreply@github.com" ]
gopinal.noreply@github.com
140f01a599093240c627fc66b51a3682f093eb8a
df916fbff07accc3e11b3597fcfc0079e6ad1e97
/django/mysite/polls/urls.py
183f036166ca1bee2e2842feff59b1ebb96dfad7
[]
no_license
kamdow/tkinter
c7bd174188b9d6922b1efec7dbb94b65b131333e
be0011cf34c6c6deb031903ebeecda5f123c490d
refs/heads/master
2021-01-24T03:03:59.589500
2018-03-18T13:18:13
2018-03-18T14:26:23
122,874,979
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
from django.conf.urls import url from polls import views urlpatterns = [ url(r'^$',views.index,name='index'), ]
[ "kamil@capitalit.pl" ]
kamil@capitalit.pl
bda7335b73251e8eb8ff1c425b385b4411daaf4f
f7506b6c25ccf33abb55fa2a428efd3c8f2eaf54
/TkinterGUI.py
1f924cfd419f76ac0d6d7a7dd200ad171c6eb2ec
[]
no_license
Jaynil1611/CountTheBalls
d6e54d1aee1556aca7ffcbf44508486ba545ef28
d0d416363ee4c484d609af2209d94a4ce7318119
refs/heads/master
2020-08-03T08:36:46.930626
2019-09-29T15:46:55
2019-09-29T15:46:55
211,686,242
1
1
null
null
null
null
UTF-8
Python
false
false
1,172
py
# -*- coding: utf-8 -*- """ Created on Sun Sep 29 08:18:43 2019 @author: Jaynil Gaglani """ from tkinter import Tk,Label,Button,messagebox def login_verify(): answer = messagebox.askyesno(title="your response",message = "Do you want to continue ?") # the above functon will return true for 'yes' response , else wi...
[ "g.jaynil2401@gmail.com" ]
g.jaynil2401@gmail.com
22c9b2072eee710b0af8c948145defea4346aa03
4aa7a4d0525095725eb99843c83827ba4806ceb1
/keras/keras110_5_LeakyReLU.py
213ecbe46b4073d61f4b984af0b9f92698fdaafd
[]
no_license
seonukim/Study
65a70f5bdfad68f643abc3086d5c7484bb2439d4
a5f2538f9ae8b5fc93b5149dd51704e8881f0a80
refs/heads/master
2022-12-04T17:04:31.489771
2020-08-21T00:35:15
2020-08-21T00:35:15
260,144,755
2
0
null
null
null
null
UTF-8
Python
false
false
283
py
# activation - LeakyReLU import numpy as np import matplotlib.pyplot as plt x = np.arange(-6, 6, 0.01) def leakyrelu(x): # Leaky ReLU(Rectified Linear Unit) return np.maximum(0.1 * x, x) #same plt.plot(x, leakyrelu(x), linestyle = '--', label = 'Leaky ReLU') plt.show()
[ "92.seoonooo@gmail.com" ]
92.seoonooo@gmail.com
626ccb2e51e4602bed82ff9ee6f72b36dc9f0add
0e647273cffc1fb6cbd589fa3c7c277b221ba247
/configs/hpt-pretrain/bdd/byol_r50_bs2048_accmulate2_ep200/500-iters.py
215d809fb24ebc2a34d497fc2f4750a359313eda
[ "Apache-2.0" ]
permissive
Berkeley-Data/OpenSelfSup
e9976bf011b69ebf918506ba184f464b1073ec13
221191b88d891de57725b149caf237ffef72e529
refs/heads/master
2023-05-12T07:34:52.268476
2021-04-08T00:58:37
2021-04-08T00:58:37
343,654,823
0
1
Apache-2.0
2021-04-08T00:58:37
2021-03-02T05:20:27
Python
UTF-8
Python
false
false
237
py
_base_="../byol-base-bdd-config.py" # this will merge with the parent model=dict(pretrained='data/basetrain_chkpts/byol_r50_bs2048_accmulate2_ep200.pth') # epoch related total_iters=500*2 checkpoint_config = dict(interval=total_iters)
[ "taeil.goh@gmail.com" ]
taeil.goh@gmail.com
8e0ed00e073de8a5bccb6b2d7fe1eef2ede522de
9e4df2b26e899f2d3e044e71bc4193958b02314b
/app/migrations/0027_auto_20200930_0118.py
bb05747fde99e2ecc6d9acb7db6fe524b26b1a36
[ "MIT" ]
permissive
hosseinmoghimi/phoenix
afea0a73cdf257fcf89c75d85c5ab1890d957a83
43fc49421a50563acc1884981d391b0d6a5d5d72
refs/heads/master
2023-01-11T11:12:30.308822
2020-11-15T13:52:21
2020-11-15T13:52:21
295,109,751
1
5
MIT
2020-11-15T13:50:12
2020-09-13T08:31:01
HTML
UTF-8
Python
false
false
701
py
# Generated by Django 3.1 on 2020-09-29 21:48 from django.db import migrations import tinymce.models class Migration(migrations.Migration): dependencies = [ ('app', '0026_auto_20200930_0117'), ] operations = [ migrations.AlterField( model_name='jumbotron', name='...
[ "hossein.moghimi.ce@gmail.com" ]
hossein.moghimi.ce@gmail.com
6ca6507d8739a5a097fe4a4f074030b932c97cac
4db643b908cd648e7c5abf60b9e87b837b1cf953
/mysql/test_delete.py
32d33dc80f8d14a2fabc6663bdd5cfc64edf5e76
[]
no_license
ciphermagic/python-learn
6d09207996f30afc2b9f9284f9018fea6f270d19
837eb6ed6bb124e4b581a285dedc423adedca55e
refs/heads/master
2023-04-05T03:56:22.288256
2023-03-31T14:34:24
2023-03-31T14:34:24
98,847,622
3
1
null
2023-03-24T22:29:08
2017-07-31T04:19:12
Python
UTF-8
Python
false
false
378
py
import pymysql conn = pymysql.connect(host="192.168.199.245", port=3306, user="root", passwd="root", db="test", charset="utf8") conn.autocommit(False) cur = conn.cursor() sql = "delete from user where name = 'test'" try: cur.execute(sql) conn.commit() except Exception as e: conn.rollback() print(e) ...
[ "ciphermagic@yeah.net" ]
ciphermagic@yeah.net
0180991f5de6838806543f0af00e4bb397839b33
ef42fa903820055b9b0a8b4ebb1863a16d386171
/contact/forms.py
ee057df7c2a82d279ab2da12b60a6da4f9beac72
[]
no_license
sinjorjob/django-simple-capture-inquery-form
2537c8e03bc2c0118f772b69a59866ffb34d7cac
8bd2900a6bdf97b97ddca7b7240b42f478e14884
refs/heads/master
2023-07-02T14:40:43.840669
2021-08-10T21:24:24
2021-08-10T21:24:24
394,784,208
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
from django import forms from captcha.fields import CaptchaField, CaptchaTextInput from django.core.mail import send_mail #追加 from config import settings #追加 from django.urls import reverse #追加 import smtplib #追加 class ContactForm(forms.Form): name = forms.CharField(label="氏名") email = forms.E...
[ "sinforjob@gmail.com" ]
sinforjob@gmail.com
6248744912b7244e7fe7c4a642bb338ce2d833f1
35cc9b6b42ec55707a0e92cf7c0d7545b5d553a4
/Pancake Problem Algorithm/SearchStrategy.py
1694f94d63d8d37101f2eac326c895e55a7298ab
[ "MIT" ]
permissive
MrTee99/Pancake-Problem-Algorithm
6d11cb1ac0238dfd94e9d6834f884638e4d794b8
eb2474d070aa875323b174b3dadc51c68de3af82
refs/heads/main
2023-03-02T17:01:33.819341
2021-02-16T19:02:48
2021-02-16T19:02:48
339,476,846
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
# -*- coding: utf-8 -*- """ Created on Mon Oct 28 00:10:56 2019 @author: MrTee """ from abc import abstractmethod; class SearchStrategy(object): @abstractmethod def __init__(self): pass @abstractmethod def IsEmpty(self): pass # This will be used to check weather the frin...
[ "noreply@github.com" ]
MrTee99.noreply@github.com
2527d268820449444eac5831b8e75750f7df3a50
61ecf9a14ac978d4d1241a7f4f453c9274e0a057
/Question8.py
5b9ac32cf545fd7de56cb1fa000ba790c2f4c8f4
[]
no_license
nikuthapa/Python-AssignmentII
578f53379ce6fcc69ce7a16c23eec62da5f0ae39
fd46abf7801f1b408f35fa77d5d3ac7caf76a5a7
refs/heads/master
2022-11-10T21:52:42.941359
2020-07-05T08:33:58
2020-07-05T08:33:58
277,256,897
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
""" Write a function, is_prime, that takes an integer and returns True if the number is prime and False if the number is not prime. """ def is_prime(num1): if num1 == 1: return False elif num1 == 2: return True else: if num1>1: for x in range(2, num1): i...
[ "thapaniku12@gmail.com" ]
thapaniku12@gmail.com
766e72cd7af1a808d5ee8a27a7407db0fe8b8f6f
f267aa117cadb0a19cdedf81ef7376424181ad73
/wrappers.py
5721bdb9b7ce3cf05a25f75995975f9538374c2b
[]
no_license
mweiss17/aido-submission
7709a0820b82772effd2800f8f10e92353272d26
4a063b0e695717b7193d965cd655fdada77ed915
refs/heads/master
2020-04-06T07:47:29.194298
2018-11-14T22:45:22
2018-11-14T22:45:22
157,285,451
1
0
null
null
null
null
UTF-8
Python
false
false
4,037
py
import gym from gym import spaces import numpy as np class ResizeWrapper(gym.ObservationWrapper): def __init__(self, env=None, shape=(120, 160, 3)): super(ResizeWrapper, self).__init__(env) self.observation_space.shape = shape self.observation_space = spaces.Box( self.observati...
[ "martin.weiss@mail.mcgill.ca" ]
martin.weiss@mail.mcgill.ca
62be29a83225382074ef88884da70792ec0067e6
00ce0f4d0c380d60cb336484200153636b249120
/tests/agents/trade/test_case_mixin.py
271f41ecbbe4a1c7723057a2e8fabc60c2e0e0c9
[ "MIT" ]
permissive
tezheng/hearthbreaker
21784aeba11f557703e22a23af54886c496d3fec
169ad0d00e62300054e7cbaf5562d750f28730a8
refs/heads/master
2021-01-15T14:30:05.542012
2014-09-24T20:03:12
2014-09-24T20:03:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,925
py
import random from tests.agents.trade.test_helpers import TestHelpers from hearthbreaker.agents.trade.trade import Trades class TestCaseMixin: def setUp(self): TestHelpers.fix_create_minion() random.seed(1857) def add_minions(self, game, player_index, *minions): player = game.players[...
[ "daniel.yule@gmail.com" ]
daniel.yule@gmail.com
a0f48aa1e721a490f58b60f44852d126f5951745
6988f71087bc30aecd7c23a1688623c7227a1986
/src/brats_preprocess.py
1027ccb9b97748df7f030b0cdbd3abd5e8d7a8ca
[ "BSD-3-Clause", "Python-2.0", "Apache-2.0", "MIT" ]
permissive
MICLab-Unicamp/BTRSeg
da181a5473726f32eb1cb89563fc0027d8fe4090
03078ac591fe95cf6cf3efaeb00ebf3e509181dc
refs/heads/master
2023-08-15T02:40:02.761544
2020-07-04T20:09:34
2020-07-04T20:09:34
262,440,219
0
0
NOASSERTION
2023-07-23T15:48:00
2020-05-08T22:20:31
Jupyter Notebook
UTF-8
Python
false
false
5,463
py
''' This module reads the original BratS 2020 data and saves preprocessed .npz files, to be used by the BRATS Dataset class. Performs the same pre-processing done by Isensee Et Al. Mean STD with clips for outliers in [-5, 5] and subsequent normalization to [0, 1] Nothing is done with targets, only permutation of chann...
[ "carmodiedre@outlook.com" ]
carmodiedre@outlook.com
b31f2e087a126b2a9b582dd32e0bb4f40cfde091
eb68003893970fd5cedb684e45e8a5357907efda
/CIFAR100/prune80.py
1d110432338f048d54b53678863336d5df911d67
[]
no_license
byh1321/machine-learning-hardware-simulation
7ffc6dbb7483119ace39694055892378caf19da5
165ae42e01877b49d4ebc3656782dc6c70ee16d2
refs/heads/master
2021-09-03T20:03:48.770465
2018-01-11T15:46:02
2018-01-11T15:46:02
110,343,218
1
0
null
null
null
null
UTF-8
Python
false
false
23,951
py
""" some parts of code are extracted from "https://github.com/kuangliu/pytorch-cifar" I modified some parts for our experiment """ from __future__ import print_function import numpy as np import torch import torch.nn as nn import torch.optim as optim import torchvision.datasets as dset import torch.backends.cudnn as...
[ "byh1321@naver.com" ]
byh1321@naver.com
5898c1034a4038ecddbfd07e7567ec2b0facdbee
03c9bb7e3cc687afecd57c6c6e3d5c1d54ed7ab0
/smilejakdu/3week/3day/MaximumSubarray.py
745fb6d684c6125416fb3fa0eafd62e8a9348e99
[]
no_license
smilejakdu/python_algorithm_study
541aa3de77e9f432d41b5627790a6f3e10f5a07d
5119b31b6ae781e12bf97134ca6f10fec662abd8
refs/heads/master
2023-04-06T15:41:41.156021
2020-08-10T08:58:34
2020-08-10T08:58:34
282,879,639
0
0
null
2020-08-01T07:04:38
2020-07-27T11:36:31
Python
UTF-8
Python
false
false
897
py
''':arg Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Input: [-2,1,-3,4,-1,2,1,-5,4], Output: 6 Explanation: [4,-1,2,1] has the largest sum = 6. ''' nums = [-2, 1, -3, 4, -1, 2, 1, -5, 4] ''':arg maxcurr = nums[0] max...
[ "ash982416@gmail.com" ]
ash982416@gmail.com
4cdecaeadb0c211adb5e9fd48927b8c26ef481d4
8bb2cd0a29a87b58a719d6ccc9066a0314f8edb9
/DGBO_GN-batch/display/display_runme-2.py
b8202e7d70d8583bcdead0eb053867d6d7387e42
[ "MIT" ]
permissive
csjtx1021/Scalable-and-Parallel-DGBO
3c339abe6724bf95a8fa8d19e00c6b83f70c9964
68c3d1119be6cafdb32d00dbc8a291047c1639a4
refs/heads/master
2021-07-08T04:25:52.423873
2020-10-16T02:42:31
2020-10-16T02:42:31
193,045,623
6
0
null
null
null
null
UTF-8
Python
false
false
4,662
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Wed Dec 20 12:06:21 2017 @author: cuijiaxu """ import numpy as np import scipy.io import scipy.stats import pylab as pl from plotshadedErrorBar import plotshadedErrorBar from matplotlib.ticker import FuncFormatter import load_data_from_result_file import ...
[ "774197840@qq.com; jxcui16@mails.jlu.edu.cn" ]
774197840@qq.com; jxcui16@mails.jlu.edu.cn
89e353022fef9fffa9f5835f74ae7501b8c1d990
3960fa9721ff97c8da99d010e27118ab0bc1201d
/tests/storage/fake_storage.py
c1437e781c494d82c715effbb93b4b9fafedaf40
[ "Apache-2.0" ]
permissive
iamjoshbinder/plaso
d3ebbc216b4d89c8f8f6ab50f059b6db7bcca599
762aa1d1eb17760ef5e2708a48dff2acad7001ea
refs/heads/master
2021-08-08T13:23:10.146862
2017-11-09T10:44:09
2017-11-09T10:44:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,362
py
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the fake storage.""" import unittest from plaso.containers import errors from plaso.containers import event_sources from plaso.containers import reports from plaso.containers import sessions from plaso.containers import tasks from plaso.lib import definitions fro...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
4a14238ab6b800f0cc73e526e8139c895d15f7b4
ea3bf64156bbb79544bfd6b42bbcd3eda453ac31
/extra-credit/Testing Room Locking System in Hotels/incorrect_impl_testkeycard_second_key_returns_second_key.py
cacf95a3697cc0bbbb510a65b0a6e8e07b6dec7f
[ "CC-BY-4.0" ]
permissive
Jackiexiong/software-testing-course
563ffc8543fdcff9500f64944fd76e7c0c8e1144
3803851dcf9f7bbd0f0b89fca6c9c5e3a48f22e0
refs/heads/master
2021-07-08T02:10:25.915964
2017-10-04T20:50:51
2017-10-04T20:50:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,847
py
import re class Key(object): "Key used in keycards and locks" pass class KeyCard(object): "Keycard used to open a lock" def __init__(self, first_key, second_key): """ Constructs a KeyCard with the given keys Args: first_key: in the keycard to be created ...
[ "rvprasad@ksu.edu" ]
rvprasad@ksu.edu
96568d5b7e0d8b7c45731111f658cc000e273b1a
8885b07ee5fd98bbd9d0d9232f6539816879faca
/reinforcement/widgets/tests/agents/random/test_random_agent.py
def506e5da3ff27fc4055ff3772f4ba98783e3bd
[]
no_license
gbaptista/orange3-reinforcement
d66db1eefd9914fb33b54f0f014a7d359c501be5
e08910899d110b75afa99f25e01ced87ff94a30b
refs/heads/master
2020-03-28T21:11:55.181459
2018-10-05T23:11:35
2018-10-05T23:11:35
149,137,134
5
0
null
2018-10-06T00:37:26
2018-09-17T14:21:52
Python
UTF-8
Python
false
false
414
py
from ....agents.random.random_agent import RandomAgent def test_train_episode(): environment_id = 'FrozenLake-v0' random_agent = RandomAgent(environment_id) assert random_agent.name == 'Random Agent' result_keys = list(random_agent.train_episode().keys()) assert result_keys == ['steps_to_finis...
[ "guilhermebaptistasilva@gmail.com" ]
guilhermebaptistasilva@gmail.com
85cb80c6b44a3d07bee31bad87c5d4102559bde4
5cb98473ea9972d0a9a0278cde9b6ee8264f9bac
/01. Jump to python/chap05/mod3_driver.py
5994fc46b1cc9b334106b3ade0789c1d901e08d6
[]
no_license
libus1204/bigdata2019
fd85dbcd8c89db991ab5c3efa11ff85466a823f8
5e9a6fa2c340c1fcd2840889ba40c7b805926558
refs/heads/master
2020-04-21T10:56:33.519490
2019-04-15T05:28:19
2019-04-15T05:28:19
169,503,607
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
from mod2 import mod3 print(mod3.sum2(1, 2))
[ "libus1204@naver.com" ]
libus1204@naver.com
f321eff3790154e88daceca1efd17d5dacafe2dc
354b04e57b4db00d0046f77a1d3f6c89bdd7cfab
/CariesRobot/ProcesoAutomatico.py
b588bac1a01216a9e365b25325ffbf13410bdd28
[]
no_license
RolandoCM/robotLaser
c9a55e86fd5ace81e443f08245f85f07d128309c
5551caf122d7a4cd456046417dc345108bb2abac
refs/heads/master
2021-08-23T18:13:25.044773
2017-12-06T01:34:43
2017-12-06T01:34:43
105,234,552
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
import datetime import cv2 import os from comunicacion.TransformarCoordenadas import TransformarCoordenadas from procesarImagen.Coordenadas import Coordenadas from procesarImagen.RemoverFondo import RemoverFondo from procesarImagen.kmeansImage import kmeans class IniciarProceso: def procesar(self): # modu...
[ "castillor493@gmail.com" ]
castillor493@gmail.com
90ad81a8add0ce7a814e2dcef7127af1c6b70464
7b9161359e24f396481599e48e72ad3ff4ff3d6c
/mqttSamples/mqttShadowForProject.py
6fda3e299cd7e7a93b595c25ebda6fc5a35ef91a
[]
no_license
cedriclec/postureFixer
9471b93583074f3648fde7fa9bad2dc3fcc4baa2
4e345d32a90dfe914191ecec401d63f7c9867e62
refs/heads/master
2021-08-30T01:27:57.023903
2017-12-15T14:05:05
2017-12-15T14:05:05
110,058,545
0
1
null
null
null
null
UTF-8
Python
false
false
5,002
py
''' /* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "...
[ "cedric.lecuyer580@gmail.com" ]
cedric.lecuyer580@gmail.com
eec15a244a210eb9b3b7d760622b3484a6e73f16
6e723d5620c6320d3fae1ca7f5d6bbd3413f8953
/chap14/calc2.py
1c295ecf29ea0b1d80ee4408c17eadff6ff0497c
[]
no_license
ericprogram/python
73d55375e931fb0b421d70e85e5dc7ecdf4ab6cd
e992153838a8b7d37e11b225027f394b4fae127f
refs/heads/main
2023-04-02T21:37:20.350760
2021-04-07T13:10:55
2021-04-07T13:10:55
332,361,722
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
# --*--coding:utf-8--*-- # author : hmchen # email : hmchen@cenboomh.com # date : 2021/1/27 15:17 """ 自定义计算器 被导包引用测试 """ def add(num1, num2): return num1 + num2 if __name__ == '__main__': # 只有当点击允许calc2时,才会执行运算 print(add(10,20))
[ "hmchen@cenboomh.com" ]
hmchen@cenboomh.com
46f66ea1ef0c9ea86b3ae4df90278bea74ad0a67
d98ec15b4b1201fd4fd065c5cd83dd7b45221fac
/main20181214.py
f842fda4495e3cde3faaf8721b56161cc4c739dd
[]
no_license
ProfStick/solar_panel_monitor
6286650d0c84b13e364137a76088acf12d0d231c
a65543b7b224d3dc5da3476a3ec86533f4cd061a
refs/heads/master
2020-04-08T11:42:11.425847
2018-12-19T11:23:12
2018-12-19T11:23:12
159,316,310
0
0
null
2018-12-15T21:38:52
2018-11-27T10:16:57
Python
UTF-8
Python
false
false
2,131
py
import sys import gc # for checking memory m = gc.mem_free() print("\n{} memory".format(m)) import analogio from digitalio import DigitalInOut, Direction, Pull import time import board import busio # from adafruit_featherwing import shared m = gc.mem_free() print("\n{} memory".format(m)) import adafruit_ina219 # cur...
[ "geoff.goldrick@det.nsw.edu.au" ]
geoff.goldrick@det.nsw.edu.au
67db908fcf4ac7295182923fcb904759672d6542
7fc1a2dc206f32974610c316f3d35eeea08fd669
/AIEngine/transformation/medi_mapping.py
708a3bffad11071d6bc7bcb57324a84d4c0d0f0b
[]
no_license
WendellTeam/AICoreEngine
8ab30e2eca9e1ca34daceb5683203bfc8efb0520
2a61b6a41177ca4197614cdaeda86d5decbf85dc
refs/heads/master
2023-05-10T03:27:56.678992
2021-05-28T13:17:03
2021-05-28T13:17:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,818
py
from transformation.medi_file_manipulation import file_manipulation,all_excel_move_to_archive,create_path,createfolder,move_file,get_all_File from transformation.medi_medi import Medi_Mos from transformation.medi_bdx_manipulation import bdx_automation from transformation.medi_update_dcm import update_to_dcm from transf...
[ "helo.aizek@gmail.com" ]
helo.aizek@gmail.com
7e728d7994113daafef1148f03a337e9e3b52537
5c9454cf9f9a5bf8f0239326fd54684de9cc391a
/kinetic_modelling/figure_3_volcano/query/query_energies.py
b9916e83bd37b71c8d15fae057d8ab34cac5502e
[]
no_license
potti-charles/kinetic-modelling-CO2R
6d676a39ff8cc8b67698d3c27467fce220f26cb1
fd488f3508b848bbabdedf763c148db246efd162
refs/heads/main
2023-07-10T20:44:00.939951
2021-08-18T15:13:35
2021-08-18T15:13:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:ab1eef8e871ed402a707590c4551d6132c5c11a2dc8a1a5dd7726f6d9ab51d59 size 697
[ "vijays@fysik.dtu.dk" ]
vijays@fysik.dtu.dk
9f6df83ef0c85235a7b23d535ab01164ba9d8afa
3c437c9ad69317115d5fa9dfc72d22b2e415c0ac
/extra/py/setup.py
6accd7fbf2dd525abf3a5b7b2ade65a41b66bcb8
[ "MIT" ]
permissive
SpartanJ/bmpanel2
e2bcda8eac8385f718fbaa51aa078ac816a46aee
9d67757d915c7b707cc48a50c8cf97aa7c7a3513
refs/heads/master
2021-07-25T19:30:36.182477
2021-01-12T15:02:43
2021-01-12T15:02:43
11,990,899
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
from distutils.core import setup setup(name='bmpanel2cfg', version='1.0', description='Bmpanel2 Config', author='nsf', author_email='no.smile.face@gmail.com', scripts=['bmpanel2cfg'], py_modules=['bmpanel2'] )
[ "no.smile.face@gmail.com" ]
no.smile.face@gmail.com
30ede00e9d10dd52241df086f9b16f32c6aa467a
6b01a1743bb58d079f957971d83209896ba45369
/budgets/migrations/0003_auto_20190624_2108.py
f4b30283890df33fbbeb0c350028a1898c53d289
[ "MIT" ]
permissive
saraxboyd/BalancedBudget
a0bf0645bfebd8414f5655751c153df4177cda20
b5509ef1ee482c9e766dd5749bf19b39e23b6e78
refs/heads/master
2020-06-10T21:53:35.772910
2019-07-10T02:00:25
2019-07-10T02:00:25
193,762,348
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
# Generated by Django 2.1.7 on 2019-06-24 21:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('budgets', '0002_budget_current'), ] operations = [ migrations.RenameField( model_name='category', old_name='category', ...
[ "saraxboyd@gmail.com" ]
saraxboyd@gmail.com
c5e6565284afe0245f00a0f1092a9ca3943fd09d
5ad4d4ff6060f67e262e42f0d6a24496efa87235
/7_10_dream_vacation.py
c71f940d6bea95d15bc43aca76eae0a503133f57
[]
no_license
silasfelinus/PythonProjects
779bba4b508e2110510a1607e44c3edbf8a232ea
4474e03c9e21e35c100bfb524a86a35d1b59820d
refs/heads/master
2022-12-08T12:34:42.987932
2020-08-27T21:10:30
2020-08-27T21:10:30
290,848,514
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
responses = {} polling_active = True while polling_active: name = input ("\nWhat is your name? ") response = input("Where is your dream vacation? ") responses[name] = response repeat = input("Would you like to let another person respond? (yes/no) ") if repeat == 'no': polling_active = False #Polling do...
[ "silasfelinus@gmail.com" ]
silasfelinus@gmail.com
4ac2070081bd649a4703983d4b5dd9f1a05f510b
1964d5bbb0cf82e24c485ffffe1b692033e500b5
/vpg.py
27ab60814a920af526ecdf06eae267e869d399f1
[]
no_license
rashmi-iyer/RISE
264dc4a4736a85d9d38f5c0a3f37b325061cd69c
5ffff3559fd2c9d5e5306312b441cb6c8ab9286a
refs/heads/master
2020-06-28T00:51:26.959856
2019-08-03T21:37:08
2019-08-03T21:37:08
200,098,583
0
0
null
null
null
null
UTF-8
Python
false
false
19,196
py
import numpy as np import tensorflow as tf import gym import gym_maze import time import spinup.algos.vpg.core as core from spinup.utils.logx import EpochLogger from spinup.utils.mpi_tf import MpiAdamOptimizer, sync_all_params from spinup.utils.mpi_tools import mpi_fork, mpi_avg, proc_id, mpi_statistics_scalar,...
[ "noreply@github.com" ]
rashmi-iyer.noreply@github.com
f18208cbe2c56461d40b39d71cffbfaf1b0fee2b
6af6a6fb7d0759be524f2592a470d91947e0e2bc
/RandomForest/src/dataset/sp_010_1e2.py
699dc20994db4aa94c5f33202f7ef75e147f7653
[]
no_license
wasit7/ImageSearch
5094e56db46af0d05cf76e5b5110c5b92d5198fd
3cd7ab3fa3c89873c0b49b1311ed5e7c5f4b8939
refs/heads/master
2020-05-17T01:12:24.616821
2015-08-10T07:26:44
2015-08-10T07:26:44
22,672,379
0
0
null
null
null
null
UTF-8
Python
false
false
2,887
py
""" Contain class that provide spiral dataset to random forest. @author: Krerkkiat updated by Wasit """ import numpy as np class SpiralDataset: ''' Provide Spiral Dataset to Random Forest ''' def __init__(self, clmax, spc): ''' Initial routine. Parameter(s): clma...
[ "wasit7@gmail.com" ]
wasit7@gmail.com
09260fd8d838c70817614bb78ecb29b4e3fa11f3
57fb2f548e594b1ac0fe56d04f7efdf9f48c86ff
/Projects/feature_selection/find_signature.py
2a61c7487162db1e7d93f1c5c1afb0d7d86ed733
[]
no_license
altrome/UD120
63d68640ff83b180b25084b65f1078239713faa9
9c6696d59729804a8b3e392fff2eba9a0e9787cc
refs/heads/master
2021-01-10T14:28:25.337822
2016-01-21T10:21:54
2016-01-21T10:21:54
49,486,883
0
0
null
null
null
null
UTF-8
Python
false
false
1,907
py
#!/usr/bin/python import pickle import numpy numpy.random.seed(42) ### The words (features) and authors (labels), already largely processed. ### These files should have been created from the previous (Lesson 10) ### mini-project. words_file = "../text_learning/your_word_data.pkl" authors_file = "../text_learning/yo...
[ "alextrejo@onsanity.com" ]
alextrejo@onsanity.com
87d413d7af90828f2782af0f4e847016caecc553
b403c7fe56209472855dff451f0b6283d5471008
/Supplemental_Material/PythonProjects/myFunctions/isItOdd.py
14037a63dbb500f808f9316903acca319e7bc678
[]
no_license
Sandbox4KidsTM/Python_Basics
842bde52796896e913fdb5cc349034c52092555f
68c95547ec1567958fc8069e6a4bb119e436211a
refs/heads/master
2020-03-23T01:06:29.363196
2018-08-10T04:32:58
2018-08-10T04:32:58
140,901,128
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
#checks if a user-entered number if odd a = int(input("enter a num: ")) if a % 2 == 0: #% modulus rep print("number is EVEN") else: print("number is ODDDDD")
[ "mitchslabrenz@gmail.com" ]
mitchslabrenz@gmail.com
651cce70a1b9079a9d3c2ff36e374e7e07518a62
aa1b99de303ae4c092f77dab0c928e4962d14f3e
/project/models.py
7f0fefacc983dffec833e44816e98ce87fc9b00f
[]
no_license
dionissqq/test
980dd260c70ea69463a31265b77f2d6661f9d05f
3c547a0ef6a8d96cbe6af862dfcdc7e372ef60dd
refs/heads/main
2023-03-12T21:52:51.720926
2021-02-11T10:36:46
2021-02-11T10:36:46
338,022,911
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
from . import db # class User(): # email = db.StringField() # password = db.StringField() # name = db.StringField() # class Token(db.Document): # value = db.StringField() # userID = db.StringField()
[ "dendenysyk@gmail.com" ]
dendenysyk@gmail.com
43d5673a4d29d135e5649d6880fe12ba92999459
58442c17f5b0be577258b519be7dc6cefa9b9a8a
/exercises/for-statement.py
9b68e74cce49ba7b9faed0088901cdfb23707606
[]
no_license
LucasMonteiroi/python-course
ef4af5ffb53502cfdbfcb6f6e9f9e6022689823e
49bbea2cc41320baa1d756dd7605419249ac160b
refs/heads/master
2022-11-18T19:07:28.336186
2020-07-14T18:18:32
2020-07-14T18:18:32
277,085,859
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
print('My name is ') for i in range(0, 5) : print('Machine nº' + str(i))
[ "lmsupport@outlook.com" ]
lmsupport@outlook.com
4ad61973e9a63ca5158e9c049f29b04ecff7bd8c
fd198117c4f7fb9f0634c6241defb4278ff1fb00
/ali_recommend/tianchi_liyumeng/util/3expandfeature.py
7957f338c0e41e33539a3f3ee336795d8f13c375
[]
no_license
ajoeajoe/dut_tianchi_mobile_recommend_train
acf08d2065cc13514c86db983b49d0370a0925e4
ddf529bacf9530c94d1c75afc0ac326bc1f22175
refs/heads/master
2021-01-19T12:04:08.968171
2017-04-19T06:01:31
2017-04-19T06:01:31
88,015,889
0
0
null
2017-04-12T06:08:53
2017-04-12T06:08:53
null
UTF-8
Python
false
false
2,198
py
# coding=utf-8 """ 本脚本用于扩展出除法特征 """ import sys # 配置项 # 输入文件路径,需要是未进行归一化的文件 filename = ur'..\dutir_tianchi_recommend_data.csv.mysql.samp.csv' #配置项结束 if len(sys.argv) > 1: src = sys.argv[1] else: src = filename #输出文件 dst = src.rstrip('.csv') + '.expand.csv' #ui 在4~39,u在44~79,i在111~146,c在151~186,uc在218~253 ui...
[ "noreply@github.com" ]
ajoeajoe.noreply@github.com
87b430e954513c448fbbdd1e6e42af70c656a460
328d20201ba9b4080c107781994281a2f05e3dba
/AI/similarity/Similarity.py
3a069679b615f0aa2a8893442e830214e1eab91a
[]
no_license
zzpp2333/BUAA-SoftwareEngineing-Feedback
08c4687b79089cf58103fb6124482f2fc17e787a
d8fdb71e86c716e455e1fd395bd7a165380577b1
refs/heads/master
2022-05-18T09:51:55.469865
2019-06-02T19:39:27
2019-06-02T19:39:27
189,846,423
0
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
from sklearn.feature_extraction.text import TfidfVectorizer import numpy as np from scipy.linalg import norm from jieba import analyse import json tfidf = analyse.extract_tags class Similarity_function: def __init__(self, stopwords_file, questions): self.stf = stopwords_file self.ques = questions...
[ "1132066026@qq.com" ]
1132066026@qq.com
c7ffad90b31577fe2d51742bfeff3c95081eaeb5
b875a17848ab0a604c54556e2afe18a83650c4b0
/api/views.py
13faed2eff31b5d8363ac0dae1e51ad9015a1df0
[]
no_license
isaacampah222/alma_server
2cd62e32fd2700cc7d5af64f1abfd3960f947234
3b7acb2b48291a9528e62bbf1204e14b718891be
refs/heads/master
2022-11-24T09:45:52.767773
2020-07-30T18:53:12
2020-07-30T18:53:12
283,631,620
0
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
from rest_framework.generics import GenericAPIView from rest_framework import mixins, permissions from rest_framework.response import Response from knox.models import AuthToken from django.contrib.auth import login from rest_framework.authtoken.serializers import AuthTokenSerializer from .models import SingleOrder from...
[ "ijampah@localhost.localdomain" ]
ijampah@localhost.localdomain
067fa51eb4fa0e09a6621a97ebe17ee42860681d
6b9851216acc29a63fba94a633c9370ed48006ad
/product/migrations/0009_auto_20210501_2216.py
a47acdf6beda36c035bf5093d83079ee96e302ed
[]
no_license
mustafabayarr/Django-E-Commerce
dc07ecc7b417decf6de0cd92b915be9c2e7a9b7a
de2e46f0793f445ca546ed7b2a484092b4a8e024
refs/heads/main
2023-05-30T20:01:44.250290
2021-06-30T19:05:15
2021-06-30T19:05:15
347,505,444
2
0
null
null
null
null
UTF-8
Python
false
false
373
py
# Generated by Django 3.1.7 on 2021-05-01 19:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0008_comment'), ] operations = [ migrations.AlterField( model_name='category', name='slug', f...
[ "bayarmustafa151@gmail.com" ]
bayarmustafa151@gmail.com
e8187f4393ff43fc5d05a2a836249ecab831a4e3
2ad1b46515e07561fc45a724e0c890e073bd4553
/my_max.py
995b5a761346509e17bb47f38be67cc35510e452
[]
no_license
MariaKrepko/my_python
4b96910de31b43ab3f0d55de69735cbab5b5ff9d
36663a6608deaa57dd513d1da34c4dad1d109198
refs/heads/master
2020-04-23T22:47:57.191051
2019-05-28T22:22:34
2019-05-28T22:22:34
171,514,159
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
num1=input() num2=input() if num1 > num2: print(num1) else: print(num2)
[ "noreply@github.com" ]
MariaKrepko.noreply@github.com
4fd9bed4328f8591ad62960574eed263df888ec7
f618cb7a1b1f49c02396a2bb969cc7518fd163ab
/doc/_gallery/1_3_1_noisy_chirp_wv.py
ba10a534a72d30bbb4a32f5780d048b7422177fb
[]
no_license
kingjr/pytftb
b968b8e2fc294a19cec8bf63e7d289f368ddf194
0bcacf5eef46bd173d90a23c00a7f4b8ee284b22
refs/heads/master
2021-01-16T22:27:05.587174
2015-06-25T05:16:02
2015-06-25T05:16:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2015 jaidev <jaidev@newton> # # Distributed under terms of the MIT license. """ """ from tftb.generators import fmlin, sigmerge, noisecg from tftb.processing.cohen import WignerVilleDistribution # Generate a chirp signal n_points = 128...
[ "deshpande.jaidev@gmail.com" ]
deshpande.jaidev@gmail.com
9109cf92a3874f5187986e1ec9f78049378ebeb5
273ab7fc98ef8a299daf56d9ce7a0d917453be6a
/BlueStakesETL_Old.py
819054d2145cf6c06d81f022744008513a3d89eb
[]
no_license
Zee-Bee/tester
c5e6aa385ae62c80b2b1f00d051ac99346cc22ba
5793f97e2c0f108ea61842117a966bb1de81f185
refs/heads/master
2020-04-07T00:18:44.949542
2018-11-16T17:57:20
2018-11-16T17:57:20
157,898,351
0
0
null
null
null
null
UTF-8
Python
false
false
58,163
py
import arcpy, datetime, time from arcpy import env from arcpy import da #sgid10 = r'C:\ZBECK\BlueStakes\stagingBS.gdb\SGID10_GEOGRAPHIC' #sgid10 = r'Database Connections\dc_agrc@SGID10@gdb10.agrc.utah.gov.sde' sgid10 = r'C:\ZBECK\BlueStakes\testDB.gdb' sgid10_GEO = r'C:\ZBECK\BlueStakes\stagingBS.gdb\SGID10_GEOGRAPHIC...
[ "zachybeck" ]
zachybeck
55312306f0b0073a60e7739ef1e8dcfcfae8c28c
b7fdc9df049029ab043073b06648375da0693737
/accounts/api/urls.py
10dd92abd9b34d381cc753cb4f45cadc0d924160
[]
no_license
karn21/task-manager
c640a6209e20b429ffa4f2307273509184f8396f
77cacd1e6f83de5eba83ec6b350ba71160fc161c
refs/heads/master
2023-08-01T13:42:41.747043
2020-06-06T09:58:17
2020-06-06T09:58:17
263,887,690
0
0
null
2021-09-22T19:01:03
2020-05-14T10:45:29
JavaScript
UTF-8
Python
false
false
381
py
from django.urls import path, include from knox.views import LogoutView from .views import UserAPIView, RegisterAPIView,LoginAPIView urlpatterns = [ path('', include('knox.urls')), path('user', UserAPIView.as_view()), path('register', RegisterAPIView.as_view()), path('login', LoginAPIView.as_view()), ...
[ "karn212000@gmail.com" ]
karn212000@gmail.com
5595eba708e5354b7677d7ac6638394192648dee
6322fcae7302c4fe60b14c36a2dfbc5ba7432d8b
/profiles_project/profiles_api/migrations/0002_profilefeeditem.py
8e2bf057cda238c513914d1d003d70ca9b7b03c2
[ "MIT" ]
permissive
Ali1995Askar/profiles-rest-api
abb2b580c6ab451159f3164acc3377a62597da3a
3e1cd11dfc2cd1fc879b3f1adbe720c0ad38999c
refs/heads/master
2023-06-12T13:14:32.028640
2021-07-08T15:22:06
2021-07-08T15:22:06
320,111,987
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
# Generated by Django 3.2.4 on 2021-07-08 14:57 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('profiles_api', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "ali1995askar@gmail.com" ]
ali1995askar@gmail.com
6e4be48ebd16b05af14ae97508e703148073511e
24b43b336689530ccb9e3b07ff74d21f124c9ebe
/Testing/plot_bound.py
a0a8178372a74a9f40b5ade861aaf06307a0ef5c
[]
no_license
kemalmahmuljin/Pear_Project
3f04a429fd14dfd479a3351d139914dbfbed5cd9
97b34d2f85b47046028a405cb7cc047d12745fca
refs/heads/master
2022-04-19T18:18:13.809935
2020-04-22T08:23:04
2020-04-22T08:23:04
240,002,420
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
import matplotlib.pyplot as plt import numpy as np from io import StringIO coords_file = open("coords", 'r') coords_str = coords_file.read() coords_str = coords_str[coords_str.find('\n') + 1:] coords_stream = StringIO(coords_str) coords = np.loadtxt(coords_stream) boundaries_file = open("boundaries", 'r') bound_str ...
[ "gcapittini@localhost.localdomain" ]
gcapittini@localhost.localdomain
9f2b66930fa1680db4ac6e886f4ab820898c1c59
5e97883ffb0baf1aa837050245afb253d4ad97b1
/backend/blog/models.py
da9f90ea7b43ccf7eec727478bd0ea01c3a41ea6
[ "ISC" ]
permissive
DamQuangKhoa/interview-home-work
1d421710da3bf29c3da3cc3ca54babca8222b792
39bdfa20aba77af2946cc3e796b92fb343584c66
refs/heads/master
2020-12-05T14:32:42.258884
2020-01-08T15:40:40
2020-01-09T19:52:22
232,140,207
0
0
null
2020-01-06T16:26:55
2020-01-06T16:26:54
null
UTF-8
Python
false
false
3,592
py
from django.db import models from django.utils import timezone from django.contrib.auth.models import User from django.urls import reverse from taggit.managers import TaggableManager from django.contrib.postgres.fields import ArrayField class PublishedManager(models.Manager): def get_queryset(self): ...
[ "damquangkhoa02@gmail.com" ]
damquangkhoa02@gmail.com
7ed4ad3d5e2ca344f1887ae726701a3e87e4c6ae
41615e2198cd99fdf0c8e473918138cedd05dde4
/flamingoTest/settings.py
d60f4c3f4df0dc035ea6ba3cce3b299b814274ba
[]
no_license
mansi02/flamingoTestBackend
3b08c7d2e0de40a21e1f584663b73dc91d89ccbc
0ffeb7624d174789e2f3975d1bde89a21386b466
refs/heads/main
2023-06-18T20:58:54.357352
2021-06-29T09:57:01
2021-06-29T09:57:01
381,314,255
0
0
null
null
null
null
UTF-8
Python
false
false
3,565
py
""" Django settings for flamingoTest project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import o...
[ "mansi0201@gmail.com" ]
mansi0201@gmail.com
f23a0c46bc7f06f519c46dda30322d02e934272d
9ec431f50fd0e8f3949ea792aa14b11ad1712144
/Modulo 01/exercicos/d008.py
5694b1497cd605daec992565afbbfb0a9f916636
[ "MIT" ]
permissive
euyag/python-cursoemvideo
c3d42ae332e81a9fc9dfc66743df4acee439bff3
d2f684854d926e38ea193816a6c7d2c48d25aa3d
refs/heads/main
2023-08-02T14:32:02.266366
2021-10-01T03:47:40
2021-10-01T03:47:40
379,093,140
2
0
null
null
null
null
UTF-8
Python
false
false
200
py
print('===== DESAFIO 08 =====') m = int(input('digite um valor em metros: ')) cm = m * 100 mi = m * 1000 print(f'{m}m em centimetros equivale a {cm}cm') print(f'{m}m em milimetros equivale a {mi}mm')
[ "clancysla@gmail.com" ]
clancysla@gmail.com
531ed097cb48be9a70ee62b910a57f827acfa168
5209b4ad1f64b41886ab2f53595185eea1fe3dab
/laba 6/13_2.py
24692784933843814f255c0fea9801b841282376
[]
no_license
elochka99/LAbs
74b8b7a68bcdbc8ad7a2de3d9e9eab848564410e
6d7745a298f0dee055d95839b1f979fa14ca219f
refs/heads/master
2021-01-09T06:27:50.622635
2018-04-03T09:32:22
2018-04-03T09:32:22
80,990,384
0
2
null
null
null
null
UTF-8
Python
false
false
1,523
py
# Горохова Елена КНИТ 16-А # Дан текстовый файл f. Записать в файл g компоненты файла f # в обратном порядке, без повторяющихся компонентов. import random while True: try: b = int(input("Введите количество элементов в файле: ")) file_f = open('f.txt', 'w') h = list() for i in range(1...
[ "elochka150899@gmail.com" ]
elochka150899@gmail.com
8a163c061b4c1c372383efd313451dd7bc59d983
0f0440c398ce75044c0e54b12d6c0bc5d1e7a167
/sitepr/votacao/migrations/0001_initial.py
f6ce911ba968c07fa36a303a8f23ddb43814cd6b
[]
no_license
ElSulphur/DIAM
8511b15681861c5198479bfdf18455656a5b60ba
726f4df785ee5b7b6c58d961b4bb6621de55052f
refs/heads/master
2023-03-31T20:23:38.345012
2021-04-10T22:57:46
2021-04-10T22:57:46
356,336,623
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
# Generated by Django 3.1.7 on 2021-03-18 10:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Questao', fields=[ ...
[ "nascimento1188@gmail.com" ]
nascimento1188@gmail.com
678ecff1e87f853037d4016cce7439c1431d7128
b0e31216fcf986eaaa51adb973404c766e8042db
/build/search_and_rescue_sim/catkin_generated/pkg.develspace.context.pc.py
916300b574a077774f2edf0e962f289fd546643f
[]
no_license
mateoguaman/RAPDR
8a3f56cc68de17b44e292262e18b3bf204d3dd97
431e2d59b062c900163f55e0cf68d55f927feebf
refs/heads/master
2020-03-28T19:51:30.447935
2018-09-16T14:36:08
2018-09-16T14:36:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "search_and_rescue_sim" PROJECT_SPACE_...
[ "Evana13G@gmail.com" ]
Evana13G@gmail.com
2655406fbba0bc1f5d4ec29aaa0d0d04a1e907b4
bd0d510a9117c65552c9e813fdfcc115dc36d752
/app/__init__.py
3e56b439bba39e686c211fdcd571392e348a4fdd
[]
no_license
grigorevma/test
81a42b1e9f84d0860b915402ef264efef20cc2a8
d1342d909b5359f865df2390611ccc95eacf5143
refs/heads/master
2022-12-21T12:28:16.709713
2019-07-18T16:09:45
2019-07-18T16:09:45
197,398,989
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
from flask import Flask from flask_bootstrap import Bootstrap from flask_sqlalchemy import SQLAlchemy from app.config import config bootstrap = Bootstrap() db = SQLAlchemy() def create_app(config_name): from app.main import main as main_blueprint app = Flask(__name__) app.config.from_object(config[confi...
[ "grigorevma@bk.ru" ]
grigorevma@bk.ru
872d338f6ea05a63f4fdf3aa24e2179ae2df3125
0e039e8aacd1e89b122ae0d5aa0b58da04ae13af
/Python2/matrix_addition1.py
a268fa45c0560cdcda10921358e81e3358326fac
[]
no_license
jaredStevens/python-exercises
0e4013667dd4409c734219558e444bfbf1eb3f06
f5aba9c9db2219a258218457960f841ba58a4f6b
refs/heads/master
2021-09-10T08:29:40.268170
2018-03-22T23:20:44
2018-03-22T23:20:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
arr1 = [1, 3, 2, 4] arr2 = [5, 2, 1, 0] def addVectors(arr1, arr2): addList = [] for i in range(0, len(arr1)): addList.append(arr1[i] + arr2[i]) return addList print(addVectors(arr1, arr2))
[ "jared.b.stevens@gmail.com" ]
jared.b.stevens@gmail.com
e365f14b049d2372740d1366505b2ea8cab392c1
aa520d389a91e68fa61170caeb4ec8f76fad40d3
/testCases/conftest.py
05895d257f4acd64a7f20400fa6650496457a1c2
[]
no_license
arumugam85/Selenium_Python_Allure
5703046b98fcd350b90a50f7ad4a5e5c1b513026
9ec65e79c910daec75d51fb7c96fc52a1c309cef
refs/heads/master
2023-09-04T02:05:00.446419
2021-11-01T02:41:34
2021-11-01T02:41:34
423,153,205
0
0
null
null
null
null
UTF-8
Python
false
false
1,370
py
import datetime import pytest from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager class BaseClass: def __init__(self, driver): self.driver = driver @pytest.fixture() def test_setup(self): global driver self.driver.implicitly_wai...
[ "rarumugambe@gmail.com" ]
rarumugambe@gmail.com
3c78c0879f7c9609622997bcf931015ec8e28650
245bb90e89d479b27927a06fb3d0fbae29ce6d08
/JLS731/JLS731/LoadRawData.py
2e047eae6c3241c61e360743a2ddd2c45eb62013
[]
no_license
jls731/final_project
5745b79648f4ac922a702c8797d4f34d48fcb58f
4e895bd0d15bfdbad58ed39e8c972d544e7b8164
refs/heads/master
2020-12-03T02:13:47.576953
2015-05-12T01:49:44
2015-05-12T01:49:44
35,075,441
0
0
null
2015-05-05T03:23:17
2015-05-05T03:23:17
null
UTF-8
Python
false
false
1,008
py
''' Created by: Joseph Song Last version on: 5/11/2015 Description: Has the functions needed to load csv, xls, and FRED data. ''' import pandas.io.data as web import pandas as pd import datetime def loadfreddata(ticker): '''Loads the FRED Data from the St. Louis Fed Website as a dataframe''' start = datetime...
[ "jls731@nyu.edu" ]
jls731@nyu.edu
685bb881ba505735cab4af01cfd4fd30bc4c0bbd
3592225aaddee6265cb7170e0bea9dc606ee6a7e
/Documents/UCSB_classes/loadtest/bin/rstpep2html.py
6a2a4a3aec25464fb92d7fe7b599b8cc417b3c52
[]
no_license
larssbr/AI_ovinger
d9c059762b1ffa2c7ebe174ebc0298a677507cec
3d2e16c0f291ac0ec2df23cffeb6ef57dd042f56
refs/heads/master
2021-01-20T05:31:45.768631
2015-10-11T16:47:18
2015-10-11T16:47:18
13,295,085
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
#!/Users/larsbrusletto/Documents/UCSB_classes/loadtest/bin/python # $Id: rstpep2html.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML from PEP (Python Enh...
[ "larsbrusletto@gmail.com" ]
larsbrusletto@gmail.com
8b26447125e32014c72172e771be247c148428e0
4e5ddba389409b4b62444a4eac9903635b57e230
/rastervision/backend/fastai_utils.py
1df6d269c2d6389ed6483fbf20a6dceac6cbdc25
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
blessings-h/raster-vision
cc4804e09f8396f861e1fff8bff3e0a4c4f3d048
65647c710e668ba59951081faa5f379397185d67
refs/heads/master
2021-06-29T18:59:23.823567
2021-01-27T02:05:01
2021-01-27T02:05:01
210,014,893
0
0
null
2019-09-21T16:09:08
2019-09-21T16:09:07
null
UTF-8
Python
false
false
10,285
py
import os from os.path import join import zipfile from typing import Any import warnings from fastai.callbacks import CSVLogger, Callback, SaveModelCallback, TrackerCallback from fastai.metrics import add_metrics from fastai.torch_core import dataclass, torch, Tensor, Optional, warn from fastai.basic_train import Lear...
[ "lewfish@gmail.com" ]
lewfish@gmail.com
68669534022a93c0233112c770390a258c0a4e33
7802a0f4753c0e40075613ba51da680a61bcaf57
/first_half/4main.py
605940334833a2134f07726555f0e82e30bf54ba
[]
no_license
SHOGO0727/NTTcom_MobProgramming_1215
cd65052b762aeba76c7aa96197cbb4eac160e096
6862ceb6e4cd616b181ffbddf2758914988ae25e
refs/heads/master
2020-11-24T14:06:17.875744
2019-12-15T13:01:59
2019-12-15T13:01:59
228,184,336
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
import csv #16,16 #32,128 CPU_host = [] Mem_host = [] with open("./hv_list.csv") as f: reader = csv.reader(f) for r in reader: CPU_host.append(int(r[0])) Mem_host.append(int(r[1])) print("CPU_host", CPU_host) print("Mem_host", Mem_host) while True: CPU_vm,Mem_vm = map(int,input().split(...
[ "noreply@github.com" ]
SHOGO0727.noreply@github.com
c0dd503b1a9ab64668c1bd73cb9fac6abcc20aaf
9c20f53c155a487b2af0110a7388f7b1ae8d6ac0
/JQKA/JQKA/spiders/myselector.py
13a243c755006de1367c0d53a52fc93853ace3af
[]
no_license
xfzhu2003/github
b9f2f2c37b571b7019a2faf02deb5f8d1d5fafc9
2f135849023a89d1514dec236d086e4783aad3df
refs/heads/master
2020-08-08T14:59:03.860049
2018-03-20T01:52:37
2018-03-20T01:52:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,810
py
#-*- coding:utf-8 -*- import re import urllib.parse #from itertools import chain import datetime #import random from user_agent import generate_user_agent from pdfminer.pdfparser import PDFParser,PDFDocument from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.converter import PDFPageAg...
[ "luopx@hffss.com" ]
luopx@hffss.com
e8cff7eef8976183de24a8c81236fe19a69fbaa1
56b7bef4ff86fb30289807d6ac80feb7580fd972
/replay_buffer.py
f351533f56527a36624df1994b976c2d521f065a
[]
no_license
Akshai/rl_collaboration_and_competition
9f80cb51e5eab816e89b585efdc59d6a34a06485
38e818d9a6401ca2e3fdb3d5b451efdd9129d2fb
refs/heads/main
2023-01-13T14:07:53.733535
2020-11-14T03:59:40
2020-11-14T03:59:40
310,808,829
0
0
null
null
null
null
UTF-8
Python
false
false
2,028
py
from collections import namedtuple, deque import numpy as np import torch import random device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") class ReplayBuffer(): """Fixed-size buffer to store experience tuples.""" def __init__(self, action_size, buffer_size, batch_size, seed): """...
[ "akshai@AKSHAIs-MacBook-Pro.local" ]
akshai@AKSHAIs-MacBook-Pro.local
3f5c239ed4dab8d99cfb4a67e61997dd3bdeab99
1020e655f91b5f3ae5056f3a3006858ddaa92d3a
/modelo2/Script_LoadFiles.py
8c58f59627bb177295813873948282f0b48f04b6
[]
no_license
ivomota/Olho-Passarinho
578200e3c12a4c94c399b0455ef33ed61ca7619c
5b531aebac3c4914f90586f4f163b42773a5b31d
refs/heads/master
2021-01-18T11:25:50.284361
2014-06-28T13:24:19
2014-06-28T13:24:19
15,495,323
1
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
import pickle import numpy as np from bson import json_util import json import itertools def load(filename, verbose=False): # Open file if verbose : print("Loading %s" % filename) pkl_file = open(filename, 'rb') # Load from Pickle file. data = pickle.load(pkl_file) pkl_file.close() return...
[ "ifvmota@gmail.com" ]
ifvmota@gmail.com
6e55fa66ccf8d5e6285a3c09ed9d349ae202f5b5
e8e72708f435459d60fe38bdaf528b8c8be1c10e
/ACDNE_codes/ACDNE_test_citation.py
9d2e4441ac77e8ca3c342772226dcd12cdf5fca7
[]
no_license
shenxiaocam/ACDNE
2842710360aef172505a7d9dc1cfe152c87f9729
b3cafed35a75c5c087d5b1ad5667a6bfaee19992
refs/heads/master
2023-08-25T04:37:39.084778
2021-10-31T12:57:57
2021-10-31T12:57:57
278,086,067
16
2
null
null
null
null
UTF-8
Python
false
false
2,974
py
# -*- coding: utf-8 -*- """ Created on Mon May 27 18:16:14 2019 @author: SHEN xiao Please cite our paper as: "Xiao Shen, Quanyu Dai, Fu-lai Chung, Wei Lu, and Kup-Sze Choi. Adversarial Deep Network Embedding for Cross-Network Node Classification. In Proceedings of AAAI Conference on Artificial Intelligence (AA...
[ "noreply@github.com" ]
shenxiaocam.noreply@github.com
7c9dbe37ca506ea5cece40cc3421204f71a0c55f
a9c5d348a96fa960ce17f7c7e8b61062ff1e5a85
/Day5/Day5Activities.py
41570900630c99eb627c24027162983f375201cb
[ "BSD-3-Clause" ]
permissive
cdcox/PythonClassScripts
f094155bb25f7bd065b01002203989eafb58db36
77c1c22d68f342a0bb380fbda3abb7a903b2e1f7
refs/heads/master
2020-05-17T14:38:35.430980
2013-07-24T19:58:59
2013-07-24T19:58:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,414
py
# -*- coding: utf-8 -*- """ Making pretty python: 0. To get use to the def function return thing, write a program that asks a user for a number. Then make function called add_fifty have it take the number as an input and return the number as an output. print the number. remember to have a if __name__=='__main__': ...
[ "cdcox1@gmail.com" ]
cdcox1@gmail.com
9ec1e3c261193a232d7e2a9c5348f74283e9ee2d
679d4a8966fb516f09b4fd53ffb481159836178a
/Linux/python/bases/BlockList/malwareblacklist/malwareblacklist.py
40b7caf5974f8997f8aba2fc01ad20cc2e9f0d35
[]
no_license
dmitry-demin/docus
b72f58becbca0f8e1fb0fd35328f7176dd87705e
4e64f54ec5b61511cf3130550ca5769b1ab14825
refs/heads/master
2021-09-15T02:20:20.505399
2018-05-24T09:59:09
2018-05-24T09:59:09
104,602,839
0
0
null
null
null
null
UTF-8
Python
false
false
1,880
py
import os import requests from bs4 import BeautifulSoup from datetime import datetime RESULT = [] def geturltext(url): try: r = requests.get(url) except: return '' else: return r.text def process(text): soup = BeautifulSoup(text, 'lxml') table = soup.find(...
[ "d.demin@avsw.ru" ]
d.demin@avsw.ru
2f60ba606f3f3ff16f6ce61b7441c7944a9a3939
15f365dc711f2230073391687642498305286321
/Figure plotting/FIG_3.9c)_maximal allowable radial offset.py
d3495aa3b0b50f74b8be071296dbfa7a96ad2f13
[]
no_license
Isabelliuqin/Optical_Levitation_Master_project_final
16d177ee0852361745286d4a5af8eea84aad5845
0ebe133a08a84e3c8521b06c6e9eec2584e0b3cc
refs/heads/master
2023-01-03T13:35:05.753240
2020-11-01T10:13:59
2020-11-01T10:13:59
309,067,970
1
0
null
null
null
null
UTF-8
Python
false
false
2,693
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 1 16:31:57 2020 @author: liuqi """ import scipy as sp import numpy as np from mpl_toolkits.mplot3d import axes3d import matplotlib.pylab as plt import scipy.integrate as spi from scipy.integrate import quad import seaborn from scipy.integrate import odei...
[ "qin.liu16@imperial.ac.uk" ]
qin.liu16@imperial.ac.uk
d3dfcbccc7a497b25c9e010e916922ef1d20cdbe
2aecf1aa50078047b27589f56fbbff42b483b05b
/magico/juego.py
ee8ddd5cc2220ee0ca6b9df389fd10518d278fe1
[]
no_license
tabris2015/intro_python_blumbit
e49f2ce760feaa8c2cbf170b78f91807acdb972b
33def8ddc9b308fa5461af801dd0aef74d8b233a
refs/heads/master
2022-10-28T00:36:00.706326
2020-06-13T22:30:17
2020-06-13T22:30:17
269,220,872
0
0
null
null
null
null
UTF-8
Python
false
false
2,662
py
from dado import Dado # juego de dados tiene las siguientes <<reglas>> # 2-4 jugadores # en cada turno: # el jugador lanza los dados # el juego, termina cuando un jugador llega a 100 puntos # funcion para verificar el fin del juego def hay_ganador(dic_jugadores): for jugador, puntos in dic_jugadores.items(): ...
[ "eduardo.laruta@gmail.com" ]
eduardo.laruta@gmail.com
7213a6bdcd1534875dc8bcf1f6be7e772b3ff2a7
11c331eca50308526ab603bc8ae7ec92f79f2527
/05/script.py
b611ff79b1b15a6b08e10538c56f39de21f82cb1
[]
no_license
ascheets/barba12stepModule
929e5dbe023c9c118fffbe9310f3473583004e1e
f145b6a423ed0ceb0f218622112ea6714cd96583
refs/heads/master
2021-01-10T13:58:19.501494
2016-03-08T06:36:19
2016-03-08T06:36:19
52,310,441
0
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
import numpy as np import sympy #from sympy import init_printing #include these when working with a notebook #init_print(use_latex=True) from sympy.utilities.lambdify import lambdify import matplotlib.pyplot as plt #setting up intial conditions, little more complicated this time... #setting up symbolic variables x, ...
[ "ascheets@carthage.edu" ]
ascheets@carthage.edu
88c3528812a6cced3d9be4f57629574a5bd8e20a
e501c170759e929742eb366a65b1bc5a1d3cb915
/automan/api/projects/storages/models.py
bda66593e4bfe533f40fe03ba4706d9e7745cbac
[]
no_license
tier4/AutomanTools
75e8062d6ac2cd7c6cfc530ad7d079a9d65f9ca1
8053e9a2c2dffc1f444088a3ff7c156f12fe8152
refs/heads/master
2023-01-24T12:52:35.286041
2021-01-05T08:07:25
2021-01-05T08:07:25
192,694,079
65
31
null
2023-01-16T17:01:17
2019-06-19T08:45:18
JavaScript
UTF-8
Python
false
false
449
py
# -*- coding: utf-8 -*- from django.db import models from django.utils import timezone from projects.models import Projects class Storage(models.Model): storage_type = models.CharField(max_length=45) storage_config = models.CharField(max_length=511) created_at = models.DateTimeField(default=timezone.now)...
[ "eiji.sekiya.0326@gmail.com" ]
eiji.sekiya.0326@gmail.com
ddc582e23efc50fe80bbdbcbe3f5ee3bd6e77b02
e9a7b9815e217759e2ff23a0abd8384d571f322f
/pyenlone/tasks/__init__.py
e4c6462a242397d4bcdbe96743f7af9996a840ed
[ "MIT" ]
permissive
QPotato/pyenlone
7a1ca0150d474acf092666ac1f29df51289e7512
b3bb9cc708e1ff247243e9ae48fb62ee284e4b94
refs/heads/master
2020-04-28T01:41:39.820679
2019-03-10T18:59:39
2019-03-10T18:59:39
174,867,027
0
0
null
null
null
null
UTF-8
Python
false
false
4,473
py
""" Implements Tasks API methods. More info on: https://wiki.enl.one/doku.php?id=t_basic_documentation """ from typing import List, Optional from .operation import Operation, OpID, OpType, _fix_op_params from .task import Task, TaskID, TaskType, TaskStatus, PortalID, \ _fix_task_params from .._proxy ...
[ "federicobadaloni@hotmail.com" ]
federicobadaloni@hotmail.com
f7ab33d7427455b944e63de21bfa2223d505df3c
edde86a5daa8c91d33e0c79854b476213eb7d2ab
/NeuralNetwork/NN.py
e9545983759855283bb3402c5d14f4e49f3fcad6
[]
no_license
tsaxena/DataMining
98d732ba5f8307248af355caed096454ed533b6c
062653419edb9f6e6741ab856943b04f67736ad2
refs/heads/master
2021-01-22T09:32:24.329194
2014-03-24T10:31:17
2014-03-24T10:31:17
17,099,349
1
0
null
null
null
null
UTF-8
Python
false
false
4,787
py
# Back-Propagation Neural Networks # # Written in Python. See http://www.python.org/ import math import random import string random.seed(0) # calculate a random number where: a <= rand < b def rand(a, b): return (b-a)*random.random() + a # Make a matrix (we could use NumPy to speed this up) def makeMatrix(I,...
[ "tripti.saxena@gmail.com" ]
tripti.saxena@gmail.com
f84fe04b1883d8c93b41284be4d6b8b5d5034602
ca739add7863f923013e7b6e1cf7b8bfbc8d8c0c
/source/complementos.py
043adc447b192e8c79bf9ad7c1e45a1d12489a56
[]
no_license
PibeDx/plants-vs-zombies-clon
51992edd6239ecf305528ee64368818b07828097
7118a34f286573c0224ed2f15cdcb13bf27493f7
refs/heads/master
2021-01-18T08:52:19.661411
2012-07-05T06:58:17
2012-07-05T06:58:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,846
py
from pygame import locals from engine import pytweener import sqlite3 from datetime import datetime from personal import Usuario from unidades.defensores import * class MenuPausa(object): def __init__(self): self.imagen = engine.cargar_imagen("pausa.png", True) self.boton_sal = Boton(260, 586, engi...
[ "eyscode@gmail.com" ]
eyscode@gmail.com
a23e2e8bc24dcfdc8da9c27890d774c829e57699
4494d8b45191f4e323d35ea5e1a65533db41a3b8
/booking/management/commands/startbot.py
658f66b586f6394f49c117e5ff6dbedfe6c7c91a
[]
no_license
AVKashtanov/chatbot
18dd104cd3a477a91befc1306adab6dc6a5a1875
e111e54e6c4129ab08558b410b11e1c3cd74edd2
refs/heads/master
2023-08-16T20:31:34.713813
2021-08-23T01:14:15
2021-08-23T01:14:15
397,475,252
0
0
null
null
null
null
UTF-8
Python
false
false
4,304
py
from django.core.management.base import BaseCommand import telebot from telebot import types from chatbot.settings import TELEGRAM_TOKEN from booking.enums import BookingStages, SocialNetworks from booking.bot import AbstractBot class TelegramBot(AbstractBot): def do_bot(self, **kwargs): bot = telebot.Tel...
[ "tema.nkkav@mail.ru" ]
tema.nkkav@mail.ru
a0558eff96171575b90ef92a7b59d2a7abd7f87f
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/a8ab1a0b200881f52f564d28db90f10730c1f0b5-<latest>-fix.py
34987d8922650e14b77fd72b4e1557dd3181ede0
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,811
py
def latest(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos, update_only, installroot='/'): res = { } res['results'] = [] res['msg'] = '' res['changed'] = False res['rc'] = 0 pkgs = { } pkgs['update'] = [] pkgs['install'] = [] updates = { ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
a7e0820a5a2af18ff40dff28e75c2e8cf876f08e
94fe6bd54ba15f44569641acf5f3655d8eda1783
/src/run_regressor.py
91b5d444406a4867d9736f7930cc5091a76c28eb
[ "MIT" ]
permissive
grey-eye/gpt-2
e94915bff8badf9e188fd67745c3b5ab4bdbce8d
40030059768719eca0c700ab521adf70b9d0656c
refs/heads/master
2022-01-18T00:55:27.344689
2019-07-18T00:03:24
2019-07-18T00:03:24
192,074,933
0
0
null
2019-06-15T12:15:06
2019-06-15T12:15:06
null
UTF-8
Python
false
false
5,164
py
import functools import argparse import json import tensorflow as tf import os import model import encoder import pandas as pd import numpy as np def generate_data(mode): def pad(encoding): padlen = args.len_seq-len(encoding) encoding.extend([220]*padlen) return encoding enc = encoder....
[ "niels@grey-eye.net" ]
niels@grey-eye.net
44f66ca709805c87ece0f5ff08c1d8643e76dc1f
87736a69e11ce7e5750d91e9891169090180ba18
/virtual/bin/epylint
e3fa4286e1d555ec29e1a75c7f2664337196e555
[]
no_license
MutumaMutuma/soccer-scout
16e8cf98f435868b2cb28838fcd7376caa91cc57
299b4cb9b8473b94562b5b287e8dbadf5c035034
refs/heads/master
2020-03-28T22:36:53.552396
2018-09-20T12:48:45
2018-09-20T12:48:45
149,244,840
0
0
null
2018-09-18T07:15:12
2018-09-18T07:15:12
null
UTF-8
Python
false
false
261
#!/home/zamzam/Documents/soccer-scout/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_epylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_epylint())
[ "lewismutuma1000@gmail.com" ]
lewismutuma1000@gmail.com
4d60520fd2eac336a9b98ec30e875ee9fa9e75f8
74e75430e4ca2bf422017c7035580ae973c2c42e
/test/functional/p2p_time_offset.py
00912448b5da04489c15731b40645ded3020428e
[ "MIT" ]
permissive
j00v/Lightcoin
9e55bad2d3e38f4c3781f62f915828cde0e51bc9
a8555320bebbf95545bc8c2841f1fadc38f5bd53
refs/heads/main
2023-05-09T07:13:28.031313
2021-06-08T22:11:45
2021-06-08T22:11:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,966
py
#!/usr/bin/env python3 # Copyright (c) 2019-2020 The Lightcoin developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import time from test_framework.test_framework import LightcoinTestFramework from test_framework.util impor...
[ "Lightcoindev@gmail.com" ]
Lightcoindev@gmail.com
188e8503cdd257dd7cab3babad6f8510a254137d
633944f913050debf0764c2a29cf3e88f912670e
/v8/depot_tools/bootstrap-3.8.0b1.chromium.1_bin/python3/lib/python3.8/email/mime/base.py
132e6913d660b6b7b332267152dbc43c4eddb1af
[ "BSD-3-Clause", "bzip2-1.0.6", "SunPro", "Apache-2.0" ]
permissive
bopopescu/V8-lgtm
0474c2ff39baf754f556ef57619ceae93e7320fd
da307e2f7abfca5fa0e860a809de6cd07fd1b72b
refs/heads/master
2022-02-16T19:10:54.008520
2019-09-25T07:51:13
2019-09-25T07:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
../../../../../.cipd/pkgs/2/_current/lib/python3.8/email/mime/base.py
[ "jundong.xjd@antfin.com" ]
jundong.xjd@antfin.com
cf242458a24aa0e1d728ab2e04b7dd8fd4423492
29c823ca7aad7122a3ee4dd04360b1118928e34d
/raspberry/samples/feature_extration.py
ebe37ad883590365fe690bb04d7a6a9ce03efc5d
[]
no_license
sdk115/CarAccidentDetect
9f405761e06cda25ab115b12fed17cdedb2937f0
bf0bc7794b584bc5333b230958b818e309ddd911
refs/heads/master
2021-08-26T08:39:16.800398
2017-11-22T17:26:14
2017-11-22T17:26:14
111,210,917
1
1
null
2017-11-18T16:21:50
2017-11-18T14:12:13
Arduino
UTF-8
Python
false
false
386
py
def average_pooling(sensor_list, window_size, stride): ret = [] for i in range(len(sensor_list)-window_size+1): col_len = len(sensor_list[i]) temp = [0] * col_len for j in range(col_len): for k in range(window_size): temp[j]+=sensor_list[i+k][j] temp...
[ "sdk11594@gmail.com" ]
sdk11594@gmail.com
cf7c57e1e50ca9d690c84f42ae3f0258e355854a
3e2593161915670c5586bd600e7e076bbe1a0758
/dalaoyuanma.py
3b5d58af9bfc1da703aa11f8a91675643ef93cb4
[]
no_license
qzylalala/WebSpider
19f0691b3b05b8650f2f152d36eaaa17e08a0712
b2d7f143dba6e54322f401251633488b9406fde4
refs/heads/master
2020-04-11T01:22:27.457676
2019-01-14T12:07:07
2019-01-14T12:07:07
161,413,126
1
0
null
null
null
null
UTF-8
Python
false
false
1,496
py
import json import requests from requests.exceptions import RequestException import re import time def get_one_page(url): try: headers = {'Users-Agent': 'Mozilla/5.0(Macintosh;Intel Mac OS X\ 10_13_3) AppleWebKit/537.36 (KHTML,like Gecko)\ Chrome/65.0.3325.162 safari/537.36'} re...
[ "304228244@qq.com" ]
304228244@qq.com
a8cf597841bdc78c1f56b1e0b73d9efdcca7b554
c55bca491632ef98dfd0e39e9e197f86d4ce94f0
/wcoa/migrations/0019_auto_20200922_1837.py
6a1b7fb208ec5b9d7b5906ffb04ffb52f40aa3af
[ "MIT" ]
permissive
Ecotrust/wcoa
420b2e9f03219a72f79e435c1001b87a76233a8b
f6ad1e42fa93560d57043ebeb8464a320befef14
refs/heads/main
2023-08-03T21:02:01.013970
2023-07-28T22:56:03
2023-07-28T22:56:03
196,878,615
1
1
MIT
2021-12-09T19:29:37
2019-07-14T20:07:39
Python
UTF-8
Python
false
false
395
py
# Generated by Django 2.2.9 on 2020-09-22 18:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('wcoa', '0018_delete_masonrypage'), ] operations = [ migrations.AlterField( model_name='catalogiframepage', name='sou...
[ "ryan.d.hodges@gmail.com" ]
ryan.d.hodges@gmail.com