blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
40484b276eb071a2f28ec506dbd524e024bc27ec
2587aad5d43426acd65f6809ef12530398604feb
/Codes_for_cnc/Codes_for_cnc/expose_check.py
19d6a7b1895b39a665547463c1e8ba4523df1af4
[]
no_license
eYSIP-2018/CNC-for-GrowBox
2d48542bc1f0b1fdf0a242a371f83a5b087c574f
6f41f8919048d3ec5eb53837ef05a53c31930b8d
refs/heads/master
2020-03-18T08:40:30.873281
2018-07-03T07:41:21
2018-07-03T07:41:21
134,522,286
0
1
null
2018-07-03T07:41:22
2018-05-23T06:14:59
null
UTF-8
Python
false
false
213
py
import cv2 import numpy as np cap = cv2.VideoCapture(0) cap.set(3,1280) cap.set(4,1024) cap.set(15,1.9) ret, frame=cap.read() ret, frame = cap.read() roi = cv2.resize(frame,(800,800)) cv2.imwrite("frame.jpg",roi)
[ "harshlunia7@gmail.com" ]
harshlunia7@gmail.com
9058507aee8063fda48865ed37cb06f5eeafa18a
85a3727eaeb3f41b01a6db08b2bb7568374ebd5e
/test/test_key_value_item.py
513f714534624fa00729bdb9be49ae0b6bf0bda7
[]
no_license
donthor/python-client-generated
a737284764e38f8b0b17e2683e820e23b2e0556b
d521e83cad91f293098b6d006f783142cde2ec92
refs/heads/master
2023-08-05T08:34:25.118564
2021-09-24T19:40:39
2021-09-24T19:40:39
410,082,817
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
# coding: utf-8 """ IMDb-API The IMDb-API Documentation. You need a <a href='/Identity/Account/Manage' target='_blank'><code>API Key</code></a> for testing APIs.<br/><a class='link' href='/API'>Back to API Tester</a> # noqa: E501 OpenAPI spec version: 1.5 Contact: support@imdb-api.com Generated ...
[ "parockho@cisco.com" ]
parockho@cisco.com
4e204107afaea8f043c56aca25f88a45e024f16b
839ffe8aa2f9b53152a87ae7a6069f5e361e5a6a
/bimmer_connected/remote_services.py
cdfb09ed701df1a275b5d08b995c2ed693752583
[ "Apache-2.0" ]
permissive
lawtancool/bimmer_connected
5fae09f27d8a30dd5ca003825e9c3420d8623a11
fd05aca6ada19260bc77bb55b0258178e3604aac
refs/heads/master
2021-04-26T23:17:15.726492
2018-03-03T10:18:19
2018-03-03T10:18:19
123,963,370
1
0
Apache-2.0
2018-03-13T13:56:35
2018-03-05T18:49:10
Python
UTF-8
Python
false
false
6,914
py
"""Trigger remote services on a vehicle.""" from enum import Enum import datetime import logging import time import requests from bimmer_connected.const import REMOTE_SERVICE_URL TIME_FORMAT = '%Y-%m-%dT%H:%M:%S.%f' _LOGGER = logging.getLogger(__name__) #: time in seconds between polling updates on the status of a...
[ "christian.kuehnel@gmail.com" ]
christian.kuehnel@gmail.com
852c620fb2dad2d857281fc606a568ecd50ddcb0
ba541e03d028984d8021d44e5a4c412ba1840654
/tests/testLWWGraph.py
2c5e7df77d9e701e1a7462291eb763a30ce17d51
[]
no_license
ra312/replicated-data-structures
7d81d34ca217840e6acd4c21faf6e983e467e4d2
b651931f3a03ef4f5f48a4b6de5d3ab8675b6cbe
refs/heads/main
2023-04-21T00:22:22.810281
2021-05-10T04:52:43
2021-05-10T04:52:43
364,539,429
0
0
null
null
null
null
UTF-8
Python
false
false
1,525
py
import unittest from LWW.Graph import Graph as lww_graph class Test_LWW_Graph(unittest.TestCase): def test_graph_init(self): ''' test lww-graph init ''' exception_received = False try: t = lww_graph() except: exception_received = Tr...
[ "rauan.akylzhanov@kcell.kz" ]
rauan.akylzhanov@kcell.kz
f43afaa4f0016dfe69be9baf4880dfa31bc9e26b
85e50dc8487701f0c15c72141681c849021d9826
/news/scripts/indiatoday.py
0dc1c52a98c0c909ed68bcbfa7521e59391e3c62
[]
no_license
sadakchap/news-aggregator
4c46a9b3ab18cf4c693dff2c71c9c7fc58f1ee1c
dbd7e031d783f9cc9cf9e652be8b70d73d53d9cb
refs/heads/master
2022-12-09T12:34:43.929043
2021-06-02T01:46:30
2021-06-02T01:46:30
199,251,857
0
0
null
null
null
null
UTF-8
Python
false
false
880
py
from bs4 import BeautifulSoup import requests from news.models import NewsBox requests.packages.urllib3.disable_warnings() url = 'https://www.indiatoday.in/' source = requests.get(url).text soup = BeautifulSoup(source, "lxml") news_box = soup.find('ul', class_='itg-listing') # print(news_box.prettify()) def indiat...
[ "aliceprerna@gmail.com" ]
aliceprerna@gmail.com
41a6800d3bb1fc9d9ac3be25bf186988e0f5b7f6
b3ef0abaaeb063b42b32fb207ee8f2b170dfdb1d
/PythonNote/43_Inheritance/InheritanceDemo.py
49cec8e248817b78e424e6f0d4182f92e6d68c53
[]
no_license
VisualAcademy/PythonNote
417a2b8e17be14b3530daca0d529b5660cfc677a
3f340da501048d0c3a30b056abcd303f5a770f51
refs/heads/master
2023-05-28T14:21:23.271306
2023-05-15T14:00:12
2023-05-15T14:00:12
185,853,356
7
4
null
2019-05-09T19:30:17
2019-05-09T18:40:42
Python
UTF-8
Python
false
false
412
py
# [?] 상속(Inheritance): 부모 클래스의 기능을 자식 클래스에서 물려받아 사용 # 부모: Base class Parent(): def Say(self): print("부모 말하다.") # 자식: Derived class Child(Parent): #pass def Say(self): Parent.Say(self) print("자식 말하다.") # 자식 클래스의 인스턴스 생성 child = Child() child.Say() # 부모로부터 상속
[ "redplus@redplus.net" ]
redplus@redplus.net
53f066b9b58f4908fa80f7b05ad0314541a78b2f
d83120a187421256f4a59e7dec582657b8b8bb88
/starter/.history/backend/flaskr/__init___20210711040044.py
96f30636e696400be6d39026aec94776b5b72129
[]
no_license
saraalmuraytib/Trivia
2dc382cf0c124d673cad699cb01563ca87389d38
f88e21ac04681f4131c737f1674dcde32731071c
refs/heads/main
2023-06-30T04:52:08.612654
2021-08-03T15:33:50
2021-08-03T15:33:50
384,743,716
0
0
null
null
null
null
UTF-8
Python
false
false
5,468
py
import os from flask import Flask, request, abort, jsonify from flask_sqlalchemy import SQLAlchemy from flask_cors import CORS import random from models import setup_db, Question, Category QUESTIONS_PER_PAGE = 10 def paginate_questions(request, selection): page = request.args.get('page', 1, type=int) start =...
[ "sara.almuraytib@gmail.com" ]
sara.almuraytib@gmail.com
3c63c3dbe3f2c3a76a0186bc5ef7d42890ea6fb6
eafced651cb83c6d325b146dfc4e7ecde236cb24
/實用代碼/反轉串列.py
ec57837c14652f74f59483dab63862f065382e0a
[]
no_license
zxc83147759/pythonObject
7bb1bc3888c730dd4c84e338a085be037511e3db
4e8bbcceb41d3d17168ef8efa8c789fdbabe4d1d
refs/heads/master
2020-11-29T21:58:04.139765
2020-04-19T14:25:15
2020-04-19T14:25:15
230,224,915
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
a = [5, 4, 3, 2, 1] print(a[::-1]) for ele in reversed(a): print(ele, end='')
[ "32771813+zxc83147759@users.noreply.github.com" ]
32771813+zxc83147759@users.noreply.github.com
b8b719bfa0c3cad3415aa801e99f1b92b64a229e
9f463398b10e7182be90d0ff0feda1a8c5c1a0b6
/timing_inv_caso_3_longdouble.py
96028bc5db5847da3eb742bf6559c45359ff2519
[]
no_license
Felobrat/MCOC2020-P0
e96b154532b0a7969d7fd851d364742d6ad5db19
d47a393dc4c6b05f539e9191ddbf6b25aa35ea5d
refs/heads/master
2022-12-06T22:59:20.799265
2020-08-24T11:18:18
2020-08-24T11:18:18
284,769,082
0
1
null
null
null
null
UTF-8
Python
false
false
2,390
py
# -*- coding: utf-8 -*- """ Created on Wed Aug 12 15:20:02 2020 @author: Felipe Bravo """ from time import perf_counter from scipy.linalg import inv import numpy as np NP = [2, 5, 10, 12, 15, 20, 30, 40, 45, 50, 55, 60, 75, 100, 125, 160, 200, 250, 350, 500, 600, 8...
[ "noreply@github.com" ]
Felobrat.noreply@github.com
ef3d8382444a8442f31cd305561d3477ba1a01b4
4ff8676136167cdd81d7a983272102fff86360e8
/python/258. 各位相加.py
138d139307262136c271371b5e43d5a1c038538f
[]
no_license
geniuscynic/leetcode
0ec256af2377d19fee22ce736462a7e95e3f4e67
379a8f27f8213951ee8be41bd56598036995d267
refs/heads/master
2023-07-19T07:22:20.001770
2021-09-07T14:50:40
2021-09-07T14:50:40
297,277,833
0
0
null
null
null
null
UTF-8
Python
false
false
1,290
py
import sys from collections import defaultdict from collections import Counter from collections import deque # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def add...
[ "350810375@qq.com" ]
350810375@qq.com
83568e7bbee45bdec6b45b63ccf9be19ef66b4b9
541b446ed1c81ef9594d28c08265e5af1aca08f8
/app/app/settings.py
c9f1bd4ceff38ff49eae1281f9acfd235326d8bf
[ "MIT" ]
permissive
kushalbhalla/recipe-app-api
2041a987f8eda42027807921d1d780a369015f27
1c6a4cec2cd225ef2ab62af24d4749f5a85bf25d
refs/heads/master
2022-12-18T18:21:14.904357
2020-09-11T13:10:56
2020-09-11T13:10:56
289,422,304
0
0
null
null
null
null
UTF-8
Python
false
false
3,421
py
""" Django settings for app project. Generated by 'django-admin startproject' using Django 3.0.8. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # Bui...
[ "kushalbhalla14@gmail.com" ]
kushalbhalla14@gmail.com
6dd9210d2c0622b486978089a2a5c0b072f88f00
9a107e91cd01d015eb48040560875bf7dc173a62
/blog/migrations/0002_post_email.py
16110fb165d34b65d5a95c9fda5a0c1dd30464e5
[]
no_license
katariny/my-first-blog
7b5fff23a671f35bc5e01e962f80e5401a81fead
b2bdeb905a5521cd53e7cd7046827892b238d33b
refs/heads/master
2023-02-27T07:37:13.399975
2021-02-01T20:11:00
2021-02-01T20:11:00
333,527,211
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
# Generated by Django 3.1.5 on 2021-02-01 16:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.AddField( model_name='post', name='email', field=mod...
[ "kat@exemplo.com" ]
kat@exemplo.com
e4191ee8faa9cae6b500b0cb05622c3f63276b3e
31efa445ae49cf6830270bb6ccf15425a97ad08d
/self-crossing.py
579f47a8ef7e80e2a4a42f231ae98d84f0356805
[]
no_license
odremaer/some-exercises
812a0d4ea592e00509bde3aa93c03aa3a96bbad6
0bc33d8b968a431e3023d0253e8760d215c14833
refs/heads/master
2022-12-28T17:44:17.058699
2020-10-16T01:44:17
2020-10-16T01:44:17
297,093,430
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
class Solution: def isSelfCrossing(self, x): cordx, cordy = 0, 0 everymove = {} Solution().isSelfCrossing([])
[ "mr.jeka0104@gmail.com" ]
mr.jeka0104@gmail.com
dbdca5bf52f7cb3e29adca6edbc4f9148cb0981b
ce67887d8b5abf79bcfe6d79d107802823e233fa
/ZabbixTool/lib_zabbix/w_lib/terminaltables/terminal_io.py
a1b7b545d0869def13f205bc63c4d7d33c8eca67
[ "Apache-2.0" ]
permissive
cathywife/zabbix_manager
b933efd6a7b49620a9ce60f73937270b2898e5b4
7cab94e7efbaac0e13b604d18038150ddc95b2cb
refs/heads/master
2020-06-19T04:29:04.151388
2017-06-10T12:56:57
2017-06-10T12:56:57
94,177,465
0
2
null
2017-06-13T06:28:02
2017-06-13T06:28:02
null
UTF-8
Python
false
false
1,809
py
"""Get info about the current terminal window/screen buffer.""" import ctypes import struct import sys try: import fcntl import termios except ImportError: fcntl = None termios = None DEFAULT_HEIGHT = 24 DEFAULT_WIDTH = 80 def terminal_size(): """Get the width and height of the terminal. h...
[ "wangbin139967@163.com" ]
wangbin139967@163.com
c4eed199172881acd25a5d986044c3aded598837
52b5773617a1b972a905de4d692540d26ff74926
/.history/2D_20200722174654.py
d47af0911f58fcf03a29cbe21f4c5d543a6f60ef
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
def array(n,m): # where n is row size and m is column size array = [[0 for x in range(n)] for x in range(m)] print(array) a = [[2, 4, 6, 8, 10], [3, 6, 9, 12, 15], [4, 8, 12, 16, 20]] # where the first arguement reps the row and second arguement reps the column print(a[0][3]) def hourGlass(...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
c41b0444df94178605dabcb7a228a1b78f8f2c39
459ddc777a037827cec3576c1b28cf4334b554b5
/external-traffic-signs/willdelete.py
a5e954bcc7e633ad5ce86449629988109c3304e0
[]
no_license
eoguzinci/traffic_sign_classification
2f45721a9a7928fd48ad5c8742a7b10b5cba3bdc
639f0aaa7238ace98fb358d583fd4e4563abeb95
refs/heads/master
2020-04-05T12:11:57.177337
2017-08-05T01:00:20
2017-08-05T01:00:20
81,028,380
0
0
null
null
null
null
UTF-8
Python
false
false
1,685
py
### Load the images and plot them here. ### Feel free to use as many code cells as needed. import cv2 import matplotlib.pyplot as plt import matplotlib.image as mpimg import numpy as np import os import glob # size_images = 10 # images = np.zeros((size_images,32,32,3), dtype = np.int32) # for i in range(size_images): ...
[ "eoguzinci@gmail.com" ]
eoguzinci@gmail.com
1d6f4c562826712511423d8ada03854d2b476c4f
60aad3810be3ddac41c13f63c4f060f6ae0285b5
/dd_app/django_codec.py
9ae0d2bc7df750b28b17ece24ecb9e59d1c5b8e4
[ "Artistic-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
AAB-Manifesto/dd_app
8d7bb697f28ca56095c622541601ba56eae1bb67
3806b9b9df165a49f0fca8a249170b4ccd4d0177
refs/heads/master
2021-12-03T20:36:01.948101
2014-11-12T16:12:31
2014-11-12T16:12:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
""" Helpers to decode/encode session data """ import base64 import cPickle as pickle from django.utils.crypto import salted_hmac, constant_time_compare class InvalidHash(Exception): """Exception raised when hash signature in session cookie fails to verify""" pass class DjangoSessionCodec(object): """Enco...
[ "dev@datadealer.net" ]
dev@datadealer.net
937856c9a6ece0da8d5de01cfd2683abc9d3e14b
62822dca093ae6b1487aa3d2ad3b3875b62f8682
/LetsMakeAGroup/forms.py
db1b3a61b4a4aae96b6236d707b8073d57814c8b
[]
no_license
muyangy/LetsMakeAGroup
de2800be733da1d20f3bf5299b964d803f0f2a92
a5aff5d6e5b98d97069bd39fd2134b5c52a5aa5d
refs/heads/master
2021-01-01T16:39:11.315224
2014-01-17T20:41:02
2014-01-17T20:41:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,805
py
from django import forms from django.contrib.auth.models import User from LetsMakeAGroup.models import * class RegistrationForm(forms.Form): username = forms.EmailField(max_length = 200, label =' Email') password1 = forms.CharField(max_length = 200, label =' Password',widget = forms.PasswordInput()) pass...
[ "muyangy@andrew.cmu.edu" ]
muyangy@andrew.cmu.edu
74f652c82ed09864bfc29d35dfe58397eefec789
613d8e4af67407c8e95effb1759b9ffca5246cd3
/oc_stats/common.py
c9028eedcbcc4e889573a69a6a85ae4c9a630def
[]
no_license
old-castle-fansubs/stats
c0286af1c66d82165a526b4a307c79235da6807a
dd814252918d1d5f08af90ec0d39b008249639a1
refs/heads/master
2021-07-21T15:14:22.622202
2021-07-18T15:02:35
2021-07-18T15:02:35
189,878,638
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
import dataclasses import typing as T from datetime import date, datetime, timedelta from pathlib import Path PROJ_DIR = Path(__file__).parent ROOT_DIR = PROJ_DIR.parent DATA_DIR = ROOT_DIR / "data" CACHE_DIR = DATA_DIR / "cache" STATIC_DIR = PROJ_DIR / "static" def json_default(obj: T.Any) -> T.Any: if dataclas...
[ "rr-@sakuya.pl" ]
rr-@sakuya.pl
bc9829b87cfdd895c786f11b24e6aff615ddf15b
4a869982cc4cc99d83df18465f545e51c97aeb37
/.history/Baseline/ma-course-subjectivity-mining/pynlp/ml_pipeline/experiment_20201020181444.py
272c380903f12fbe5e7c0bc22ccf713c02668ee2
[]
no_license
SorenKF/emotional_sm
09d367421782d8c83987fb99be258b1b30c4ce8d
63d51103f7511b19a83dec668327fcc7ea4a7f39
refs/heads/main
2023-02-03T14:12:14.572581
2023-01-24T18:06:52
2023-01-24T18:06:52
301,679,032
0
0
null
null
null
null
UTF-8
Python
false
false
3,291
py
import logging import sys from tasks import vua_format as vf from ml_pipeline import utils, cnn, preprocessing, pipeline_with_lexicon from ml_pipeline import pipelines from ml_pipeline.cnn import CNN, evaluate logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) handler = logging.StreamHandler(sys.stdou...
[ "60227515+SorenKF@users.noreply.github.com" ]
60227515+SorenKF@users.noreply.github.com
f71d0c192d1285d54474ea904ea26261a6914e66
6e12b7bb4fd2001c6327da0e16161d730809249d
/conditionals.py
c99ae12eb8428120ce208ecb6d1bb836b766d358
[]
no_license
shruthi-jay/python-microdegree
bb7e4f53f54e53ac486ef496a743906bb52a66f0
bc8264ac893196de26db5e2784ba073ce028d6a2
refs/heads/main
2023-08-07T04:27:58.648861
2021-09-08T03:47:39
2021-09-08T03:47:39
371,587,709
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
mylist = [12, 32, 34, 2, 4] mydictinry = {"one": 32, "two": 322, "three": 32, "four": 4} def avg(n): if type(n) == dict: print("its a dictionary") avg = sum(n.values()) / len(n) print("average is ", avg) else: print("its a list") avg = sum(mylist) / len(mylist) ...
[ "noreply@github.com" ]
shruthi-jay.noreply@github.com
472f728bfdf96cd0449f7321354f095d713f0a98
08e9445864626b063093b68f3b2350e3bdc41f2b
/smt.py
711e43b6da517989cda83bacb9c50b5ace5a2652
[ "MIT" ]
permissive
L4ventures/plasma-cash
b66b6c55b366a8bf1b1b92be552dbfabe836cfe5
1a6cc76e048f4ee7a85f0188cb3d4a4e9d8f9359
refs/heads/master
2020-03-31T02:10:34.002164
2018-10-26T12:09:13
2018-10-26T12:09:13
151,811,789
1
1
null
null
null
null
UTF-8
Python
false
false
257
py
import sha3 def short_keccak256(x): k = sha3.keccak_256() k.update(x) return k.digest()[0:1] def bl(x): k = short_keccak256(x) k = int.from_bytes(k, 'big') return "{0:b}".format(k) print(bl(b'')) print(bl(b'a')) # def smt(depth, elems)
[ "xuanji@gmail.com" ]
xuanji@gmail.com
1afc24adfe7a79c184a08009fa6d8f3031d965d5
b02a759c59a9d469f5fee00b3775703c5405e1b2
/16.RecommenderSystems/test_evaluation_model.py
0697d622f761ff08d2ef829abbb01ea9d92d7d8e
[]
no_license
asdlei99/MachineLearningCombat
a18672e11306d26cc59b9bb16ee90db06af24df5
57e8dafcef849eb407bc79a0b0724abc9931bd27
refs/heads/master
2021-09-15T12:50:24.531567
2018-06-02T01:30:27
2018-06-02T01:30:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,754
py
import random import math def SplitData(data, M, k, seed): test = [] train = [] random.seed(seed) for user, item in data: if random.randint(0, M) == k: test.append([user, item]) else: train.append([user, item]) return train, test # 准确率 def Precision(train, t...
[ "wnma3mz@163.com" ]
wnma3mz@163.com
924614ca77686fbed9c16d7c46a7bc9e6c37e0a0
6471dcdf07fc0bdcde9797914857d154d85e3c07
/pie_app/bSerial.py
8f5c20566aaf7756b96301008a6c2c9f609a675b
[]
no_license
cudmore/pie
e43ec3c4c95acb5a051a25a8d5549071908ed5c8
b74b105bc101a8504453d20a066fcd764864731f
refs/heads/master
2023-05-15T01:51:54.326274
2023-05-09T02:17:11
2023-05-09T02:17:11
139,335,434
0
0
null
null
null
null
UTF-8
Python
false
false
2,915
py
""" Author: Robert H Cudmore Date: 20180808 """ import time, threading, serial, queue import logging logger = logging.getLogger('flask.app') ######################################################################### class mySerialThread(threading.Thread): """ background thread which monitors inSerialQueue and sends...
[ "robert.cudmore@gmail.com" ]
robert.cudmore@gmail.com
94a07ff0b6b63ad755a82045a5463b43c343005b
30fef5018756f8036b6c754a056f0a27450b215c
/desafios/DESAFIO 4.py
575c8f4749beff4750ac3190835d33587b90ad3a
[]
no_license
JMass1/curso_python
b1dd2b2b01019898bdf58486c8c6d38a71cb6e83
7c2a64401bb34b445e71ee28a3903587de669c05
refs/heads/master
2022-11-21T19:10:53.810525
2020-07-19T19:54:33
2020-07-19T19:54:33
272,292,122
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
print('========== DESAFIO #4 ==========') var: str = input('Digite algo') print('Você digitou: {}'.format(var)) print('O tipo primitivo do que você digitou é {}'.format(type(var))) if var.isnumeric(): print('O que você digitou é numérico') if var.isalpha(): print('O que você digitou é alfabético')
[ "juliano.massanetto@gmail.com" ]
juliano.massanetto@gmail.com
3802507496894d4653a42e21e7b67071fb3f637a
d5e8610ad12b6733e5b014abba5cf356cb658a44
/network/client.py
cbcce48537f16c421516b99c718c8210d6b6b600
[ "WTFPL" ]
permissive
EliasFarhan/GBJam
494c4bfcff1e2246001d489c3e60a6e9ddb6ae62
156a003378b8db994d4bd1f9c3a12415ceac7c01
refs/heads/master
2016-09-05T11:41:50.329113
2014-08-10T20:14:31
2014-08-10T20:14:31
22,541,009
1
0
null
null
null
null
UTF-8
Python
false
false
4,869
py
import copy import socket from threading import Lock, Thread from engine.const import log, CONST from engine.vector import Vector2 players = {} players_lock = Lock() player_pos = Vector2() player_anim_state = "" player_anim_counter = 0 client_player_lock = Lock() PORT = CONST.port HOST = CONST.host update_thread...
[ "elias.farhan@gmail.com" ]
elias.farhan@gmail.com
432ca0ebc4743de7f870d71fc907a5319f21044b
ced40a3c765266da4c8567baa57b302d7f18708c
/ug_data.py
43d7ca7863e72bae8bd0b13a385e50cbd1018ea6
[]
no_license
vojtapolasek/united_guards
ed661e819a89376566920124f06520e644ebf2c1
629909f8fcd2f92fb3e40c3ddc21d499c40dff47
refs/heads/master
2016-09-06T11:57:35.542211
2012-12-30T22:12:00
2012-12-30T22:12:00
5,668,337
1
0
null
2013-01-03T16:04:49
2012-09-04T06:21:38
Python
UTF-8
Python
false
false
1,298
py
#!/usr/bin/env python #data for the game united guards import pygame, os.path, menu, game pygame.mixer.init() #initialisation of sounds plane = [] planecount = 8 for i in range(1, planecount + 1): plane.append (pygame.mixer.Sound(os.path.normpath("sounds/plane"+str(i)+".ogg"))) mg = [] mgcount = 9 for i in range(...
[ "krecoun@gmail.com" ]
krecoun@gmail.com
48aa0744a9a5193d71a379dbdc5c37fb9c8decf9
61e6a917253d67c8d26442cd32c913eee3817af4
/app/src/main/cpp/NNPACK/src/x86_64-fma/blas/s4c6gemm.py
0b3792c924be50f27cd1c52ba59c66c66ac18106
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
hjimce/android-image
c1e0a90a28ee2e85a8b493ffb5e332d98c37116c
4f3b570253ed11ddca58d263771820589443848e
refs/heads/master
2021-01-24T11:39:25.820256
2017-04-21T03:33:35
2017-04-21T03:33:35
70,216,265
1
1
null
null
null
null
UTF-8
Python
false
false
8,142
py
mr, nr = 2, 2 for conjugate_b, transpose_c in [(False, False), (True, False), (True, True)]: arg_k = Argument(size_t, "k") arg_update = Argument(size_t, "update") arg_a = Argument(ptr(const_float_), "a") arg_b = Argument(ptr(const_float_), "b") arg_c = Argument(ptr(float_), "c") arg_row_stride = Argument(size_t,...
[ "hjimce.huang@avatarworks.com" ]
hjimce.huang@avatarworks.com
25468c8b5d80c06fdabcbc7e5fb4b79db9ae0c10
3eee6120ded9defbc9c9582d8cbac364b3359586
/__init__.py
fd1b664b7cae2a94005333e7c16ecf58c317e58d
[]
no_license
noahbraunf/ysopy
18aa10636d90ecb58e2a253f18476a1541804f68
6a7ec2ad20a9abe513a9b87dd14982a2925793ac
refs/heads/main
2023-03-30T07:30:39.704791
2021-04-05T13:03:38
2021-04-05T13:03:38
322,464,988
2
0
null
null
null
null
UTF-8
Python
false
false
11
py
alksdjlakj
[ "Braunfeld" ]
Braunfeld
670e3279efdafed42ae531d9129bbbdd829e0b5a
b472c692ac9efc39e508d2709fe14e2b4e844fd7
/Python/test.py
818eb63debb2c34cbca6a32dc628f5e91c3de1f1
[]
no_license
enningxie/Interview
75ac734873282dc67503815019718a6e1b27c512
becdd40463c01551f2c8a53abc9d2281979f2bc1
refs/heads/master
2020-03-18T08:13:00.049201
2018-12-25T01:02:45
2018-12-25T01:02:45
134,496,872
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
from collections import defaultdict if __name__ == '__main__': d_dict = defaultdict() nums1 = [1, 2, 2, 1] nums2 = [2, 2] for i, value in enumerate(nums1): d_dict[i] = value d_dict.pop()
[ "enningxie@163.com" ]
enningxie@163.com
c4435eea970f7de45ee8535fe10e0a6cd287b9b2
55df73cfcf0e898196038b35584bde9ea0635bd7
/src/shops/migrations/0002_auto_20180707_1205.py
d0823f353b2310a7551701eeb33999fe21fe4453
[]
no_license
PatrykJanMatlak/ype-app
deeb85100e59268450b226f94aef3052ef23faa4
429d1144495e10c70c9d95613004496850b752a3
refs/heads/master
2020-03-22T01:56:56.248901
2018-07-07T10:55:29
2018-07-07T10:55:29
139,332,418
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-07-07 10:05 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shops', '0001_initial'), ] operations = [ migrations.RemoveField( ...
[ "patrykjan.matlak@gmail.com" ]
patrykjan.matlak@gmail.com
68e645b36a8b348a8e63c0b8a5812c9a920e8704
bda385488a7e20655c06a02b81abedfa131464d2
/cvpods/cvpods/data/datasets/imagenetlt.py
828264c668a9f5a6b92e80a7a229d1a8dec9987c
[ "Apache-2.0" ]
permissive
attilab97/DeFCN
a52c40a5c0ed39777ef3948d888699922e0ce42b
811335665f62624d63fa28c6f13edd53ce5cc395
refs/heads/main
2023-07-31T12:32:56.927705
2021-10-07T08:03:12
2021-10-07T08:03:12
397,968,657
0
0
Apache-2.0
2021-08-19T14:18:48
2021-08-19T14:18:48
null
UTF-8
Python
false
false
4,369
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (c) BaseDetection, Inc. and its affiliates. All Rights Reserved import logging import os import os.path as osp from copy import deepcopy import numpy as np import torch from cvpods.utils import Timer from ..base_dataset import BaseDataset from ..registry i...
[ "attilab97@gmail.com" ]
attilab97@gmail.com
ef5cedf36af3d5382bcecb579ae28b374f22bd7d
7bd5ca970fbbe4a3ed0c7dadcf43ba8681a737f3
/atcoder/arc/arc006/c.py
cb6d240266da7927722159dc9328cf026bb5874f
[]
no_license
roiti46/Contest
c0c35478cd80f675965d10b1a371e44084f9b6ee
c4b850d76796c5388d2e0d2234f90dc8acfaadfa
refs/heads/master
2021-01-17T13:23:30.551754
2017-12-10T13:06:42
2017-12-10T13:06:42
27,001,893
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll N = int(raw_input()) a = [] for i in xrange(N): w = int(raw_input()) for j in xrange(len(a)): if a[j] >= w: a[j] = w break else: a.append(w) a = sorted(a) p...
[ "roiti46@gmail.com" ]
roiti46@gmail.com
9f917f45e6c9b1456878ff5582c67a2029ec932a
44bce4a2b7c7b2ace313ba7b18a697d0da135192
/news/migrations/0004_article_tags.py
8e971cef4865dc648a2bd648b6b489ca589bf93c
[]
no_license
Tuitoek/The-Moringa-Tribune
b5637f71cea7bfb9fd7c4d3db469587d64ba2baf
6d69abef6048f9d4205fa37f4999c7fcfdcdf17d
refs/heads/master
2020-04-27T09:33:10.990718
2019-03-07T05:18:37
2019-03-07T05:18:37
174,219,430
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-03-06 11:33 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('news', '0003_article'), ] operations = [ migrations.AddField( mod...
[ "sjtoek@gmail.com" ]
sjtoek@gmail.com
784fa6abdaea42679c74b37c9104130a6c8ab49a
ee7e42417d9d1e76b0e84e44dc6eb037adc3ebad
/.history/manage_20190703133205.py
97195c48fcefe2c35d0dc6fce4c318d0b570fa33
[]
no_license
web3-qa/pets-api
4632127ee84a299f207d95754f409fc1e4c0013d
ee4a04e7291740ac8eb6147c305b41d27d5be29c
refs/heads/master
2023-05-12T09:09:47.509063
2019-07-18T15:07:13
2019-07-18T15:07:13
197,611,701
0
0
null
2023-05-01T19:42:17
2019-07-18T15:19:59
Python
UTF-8
Python
false
false
429
py
import os import sys from os import path from xmlrpc.client import Server from virtualenv import create_bootstrap_script from application import create_bootstrap_script from flask_script import Manager, Server sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'..'))) app = create_app() manager ...
[ "dcolmer@statestreet.com" ]
dcolmer@statestreet.com
287cf4242619df964ea93c253d77dd595ecfb795
eea1d64c544de63733a1953d8378fccfa7f65ce0
/docs/conf.py
c35099da27fc93fb4aaa2180a2e59033b18ef9c8
[]
no_license
lxsmd1/docs
588cbd935d22843d282e268680cdd8da9d0d5496
21d1530d661322cdfc7e723c5326e3d2fc45fa88
refs/heads/master
2020-03-30T07:02:31.384737
2018-09-29T23:20:50
2018-09-29T23:20:50
150,910,513
0
0
null
null
null
null
UTF-8
Python
false
false
6,049
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "lexac1@gmail.com" ]
lexac1@gmail.com
6a931f060c2887b219f056e42a472d1d1183b493
9a104b460fdaf3eb46caa1553b3e9ff3f66412b0
/lab2/settings.py
00afb261df4abfe67925d32a684c7d627a9dd861
[]
no_license
RakhmetovKuanysh/drf-api
57ff7f3f4f872fc847b3265ea74c7e2e2217913b
309b0eabf0b9db188fd8e0af7164b4db346e3cc4
refs/heads/master
2020-03-08T02:54:34.897252
2018-04-11T13:38:48
2018-04-11T13:38:48
127,874,259
0
0
null
null
null
null
UTF-8
Python
false
false
3,132
py
""" Django settings for lab2 project. Generated by 'django-admin startproject' using Django 2.0.3. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # Bu...
[ "kuanyshrakhmetov@gmail.com" ]
kuanyshrakhmetov@gmail.com
447599fa5f89e64b14c04b5958cf029d5b240d5b
628470e06dd335f88413285ae34c978a0db22877
/.config/.config/sublime-text-3/Backup/20190911075358/sublime_lib/st3/sublime_lib/encodings.py
310f6b421dd24d98db13ebe9f82eeca4a89ba968
[ "MIT" ]
permissive
tblain/dotfiles
3811a5903ac0c44dbbc2fec6e7e07ba68681161a
343796edea44c62fb128eac157b34f4917a5b1db
refs/heads/master
2022-02-26T23:07:29.952074
2020-12-15T20:00:02
2020-12-15T20:00:02
168,537,217
1
0
null
2022-02-13T11:37:09
2019-01-31T14:20:52
Python
UTF-8
Python
false
false
2,698
py
from codecs import lookup __all__ = ['from_sublime', 'to_sublime'] def from_sublime(name): """Translate `name` from a Sublime encoding name to a standard Python encoding name. :raise ValueError: if `name` is not a Sublime encoding. .. code-block:: python >>> from_sublime("Western (Windows 1252)...
[ "tblain@pm.me" ]
tblain@pm.me
a60d9c6c7be0100fafe478b6ec339d494eeebbe0
3a6e0924b238c5146f37536170d5e14b9e4371ef
/challenges/05-Best Time to Buy and Sell Stock II/tests.py
3ef30e6b2c804b9b9db7d5349dd04ff856e84d9d
[]
no_license
dcordero/Leetcode_30_day_challenge_April_2020
d8de23c7943dcc14f065cc81670a530bec2d2a50
815594b574c2b154fa4b8ed24635537dec1354f9
refs/heads/master
2021-05-20T10:43:07.714819
2020-04-05T17:43:52
2020-04-05T17:43:52
252,255,816
1
0
null
null
null
null
UTF-8
Python
false
false
581
py
import unittest from challenge import Solution class TestSingleNumber(unittest.TestCase): def setUp(self): self.sut = Solution() def test_a(self): input = [1, 2, 3, 4, 5] expected_output = 4 actual_output = self.sut.maxProfit(input) self.assertEqual(actual_output, ex...
[ "david@corderoramirez.com" ]
david@corderoramirez.com
7adc533ac355fd55ced129cc62a36e61832872be
bfe411f80806732bf537f73aed51f6f77c59776b
/academy/__manifest__.py
8d425998d88ac89b7a80f1c77a5f6161eb818ef4
[]
no_license
jgarciaodowd/odooSSH
3192dbde33155dd2a40109e1b98bb62f109307fd
70caee84c0293128f52835d34b9602f5c035773d
refs/heads/master
2023-03-14T18:44:26.549497
2021-03-16T08:28:45
2021-03-16T08:28:45
347,403,248
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
# -*- coding: utf-8 -*- { 'name': "academy", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "My Company", 'website'...
[ "jgarciaodowd@danielcastelao.org" ]
jgarciaodowd@danielcastelao.org
653215bb812cd32d782ea1ad92f4d09fa0a163bb
a2419e48f7a8ea87f71a96775eff2faa087e1603
/TSIS 3/1.py
c845af3b363bb692b9d86b9bd869f3ef8c7db31b
[]
no_license
muhlik20033/muhlik20033
6bc7211074a97aed25229a22e8e729b29df494c6
60bcdda9eeb360de6c233ed45597e48a874c349f
refs/heads/main
2023-06-24T01:43:44.032740
2021-07-29T08:45:04
2021-07-29T08:45:04
380,452,848
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
a = list(input().split()) for i in range(len(a)): x = int(a[i]) if x % 2 == 1: print(x)
[ "noreply@github.com" ]
muhlik20033.noreply@github.com
3e0f44d691a846473e3bd241080b059dfc70b086
8fd56e9b9dbc49c16b4a8afe1007f824183bb0ab
/Python_Stack/django/django_fundamentals/django_intro/dojo_and_ninjas/dojo_and_ninjas/settings.py
f0d9e05a39974011a73b5ec3195f1ab742aa2ea1
[]
no_license
DiyarBarham/CodingDojo
b1cc7d7355f5fb139cb640168f78d6b7f91e372a
0891e2c41ddbb9004eadfd2d54fe7f34d6d4ef58
refs/heads/main
2023-07-08T12:12:33.227932
2021-08-07T13:55:33
2021-08-07T13:55:33
363,878,740
0
2
null
null
null
null
UTF-8
Python
false
false
3,293
py
""" Django settings for dojo_and_ninjas project. Generated by 'django-admin startproject' using Django 3.2.3. 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...
[ "diyarbarham@gmail.com" ]
diyarbarham@gmail.com
7731f5ccff17adc9926ec0deb2306373aaaccfa2
ce92f28dd084c53d053098dfe46131b233b2512b
/cake/parsing/equation.py
d9e5b4b421f19a2fe3678c068833004e155eb88d
[ "MIT" ]
permissive
TheGenocides/Cake
defc3a82699313b5652f766b2948602ef01a939f
01a6339b8ac34735651498446308891ecbcc6139
refs/heads/main
2023-08-25T00:52:52.205036
2021-10-09T14:01:22
2021-10-09T14:01:22
415,329,135
1
0
MIT
2021-10-09T14:17:16
2021-10-09T14:17:15
null
UTF-8
Python
false
false
89
py
class Equation(object): def __init__(self): raise NotImplementedError()
[ "riotinghorse@Gmail.com" ]
riotinghorse@Gmail.com
bff8c1e537389300427596e9c36f71fadaf71296
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/mirumee-django-messages/allPythonContent.py
9918ddf59a580b2c2fb4f59768881fac6fa2cc3f
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,475
py
__FILENAME__ = admin from django import forms from django.conf import settings from django.utils.translation import gettext_lazy as _ from django.contrib import admin from django.contrib.auth.models import User, Group if "notification" in settings.INSTALLED_APPS: from notification import models as notifica...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
8f629fd50ba1ec120f55b90d665fc66b65f77590
07a783c06bb4bb059e8c38589fe3f9bfc5a14b22
/tests/builtins/test_iter.py
b06f6fbbe28a6ac4114a49d71dc32bf850c37594
[ "BSD-3-Clause", "MIT" ]
permissive
vishalsodani/batavia
a3c79b0342069fe6387eb3d7cc3ac3f4947d1842
690e5093da6653456381466e5fb9c153c295cb6b
refs/heads/master
2021-01-22T08:10:07.777012
2016-09-03T15:14:52
2016-09-03T15:14:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from .. utils import TranspileTestCase, BuiltinFunctionTestCase class IterTests(TranspileTestCase): pass class BuiltinIterFunctionTests(BuiltinFunctionTestCase, TranspileTestCase): functions = ["iter"] not_implemented = [ 'test_bytearray', 'test_bytes', 'test_complex', '...
[ "russell@keith-magee.com" ]
russell@keith-magee.com
23c91c56f0fc9c4870d7e4c085d6e4f2840e365c
945dc4d044065020eaca2ef81be407964681fcdc
/file1.py
d27435f233ae5fe7b9ea8243facbdc95e581694e
[]
no_license
jannusandeep/kernelproject
f36d0b075ef881a20e38f0769975ff150360e935
cdffc9255fcb628013b1654739f3bdf3038b3547
refs/heads/master
2020-03-18T06:24:09.640797
2018-05-22T09:34:26
2018-05-22T09:34:26
134,393,184
0
0
null
null
null
null
UTF-8
Python
false
false
30
py
I am new to git, learning git
[ "windows@gmail.com" ]
windows@gmail.com
c2cd8ebb3aa2e587826eb4e5bc59ed28adcf2863
78158f942bd0e223f11016457a494c76b7a689b4
/Supybot-plugins-20060723/Debian/test.py
8fc0b5c08ea397d4e540c7300527f79cec23560a
[]
no_license
frumiousbandersnatch/supybot-plugins
ad607dd22529372d72c7dc0083100b5b5cdb719b
8c7f16c0584bdf393a56dccff6b35a83142e5ece
refs/heads/master
2021-01-17T05:46:10.917776
2020-03-12T11:42:20
2020-03-12T11:42:20
6,639,759
0
1
null
2020-03-12T11:42:22
2012-11-11T15:21:36
Python
UTF-8
Python
false
false
3,848
py
### # Copyright (c) 2003-2005, James Vega # 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 copyright notice, # this list of conditio...
[ "gsf747@gmail.com" ]
gsf747@gmail.com
dbfee9b9af6cb812be348a4573cc993fd8d52d08
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/gtk/_gtk/TreeSortable.py
37cf02c4e1bb9f31abf693a5bf90d28a3cd5e6da
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,309
py
# encoding: utf-8 # module gtk._gtk # from /usr/lib64/python2.6/site-packages/gtk-2.0/gtk/_gtk.so # by generator 1.136 # no doc # imports import atk as __atk import gio as __gio import gobject as __gobject import gobject._gobject as __gobject__gobject class TreeSortable(__gobject.GInterface): # no doc @class...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
7be3d8ec2df095d1c6a98a5253b133840087eb33
0a0df65e7efee5a48a6b83fa83f84e3588c89a69
/blog/api/views.py
6c556b2a8db422b2999e7ecab4fb8bc9ea7016a1
[]
no_license
dunfred/MegaTv-Web-App
a39abf125f8035ec1422652718bf70cb5c397b09
7064cb7455893a8f932ce6cd466c670a3339ba26
refs/heads/master
2022-12-11T08:47:22.914662
2021-07-29T08:52:09
2021-07-29T08:52:09
237,991,656
3
0
null
2022-12-08T07:03:59
2020-02-03T15:01:23
JavaScript
UTF-8
Python
false
false
1,292
py
from rest_framework.response import Response from rest_framework.generics import ListCreateAPIView, ListAPIView from rest_framework.views import APIView from django.http import JsonResponse from .serializer import CommentSerializer from blog.models import Post, Comment, Author from django.shortcuts import get_object_o...
[ "donklenam2@gmail.com" ]
donklenam2@gmail.com
31a19fe8af08abd87b739ef20aafc4f44fe5f260
97c5fe6a54636de9b056719ea62ac1de4e76ebdc
/src/newsletter/views.py
04f05109ae7071108c1fdf1cfd58ac97df81bd14
[ "MIT" ]
permissive
EdwardBetts/matchmaker
937ece7acbfd1fcb57ab59cd13b16c3cd67d54f3
ec56d18c6af8ca904325deca3be56484d3415c70
refs/heads/master
2020-12-11T01:50:10.773983
2016-01-26T16:53:29
2016-01-26T16:53:29
56,478,725
0
0
null
2016-04-18T05:11:12
2016-04-18T05:11:12
null
UTF-8
Python
false
false
3,301
py
from django.conf import settings from django.core.mail import send_mail from django.shortcuts import render, get_object_or_404 from django.views.generic.base import TemplateView from django.views.generic.detail import DetailView from django.views.generic.edit import ModelFormMixin from likes.models import Like from ...
[ "eddie.valv@gmail.com" ]
eddie.valv@gmail.com
f41ef0801111314ead7d07efb93cd9336de689ed
c63629e0e0477aeb6ff2e8751d00d9985500e7cd
/Mmani/__init__.py
de7539b6d20d2871550662c0a7e3757fabc33446
[ "BSD-2-Clause" ]
permissive
Jerryzcn/Mmani
1389016e68eeac05d0d735aa153320913467d2a4
732d3c7581fddb762390699216b724a1e0890508
refs/heads/master
2020-12-28T22:46:17.515828
2016-01-26T00:40:13
2016-01-26T00:40:13
49,289,748
0
0
null
2016-01-26T00:44:02
2016-01-08T18:41:59
Python
UTF-8
Python
false
false
66
py
"""Mmani: Scalable Manifold Learning""" __version__ = "0.1.dev0"
[ "jakevdp@gmail.com" ]
jakevdp@gmail.com
db48c0c93edddecd96744893ce7b03645ca4f5b2
4b79b37003b6fdf236857cef3e6c8304ea30b0f3
/timerbot.py
7229ca8de49416741c49cafeb0f34b31a2827c6e
[]
no_license
SinyTim/TelegramBot
d69815104ec43e351f3aecc1163c2572a44f85c0
0605d9a4ea3eb4d7b97d664bbee072cb788ae608
refs/heads/master
2020-03-26T05:22:33.279776
2018-08-13T08:51:45
2018-08-13T08:51:45
144,332,948
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
from telegram.ext import CommandHandler def get_commands(): commands = "Timer commands:\n/timer <seconds>\n/stoptimer\n" return commands def add_handlers(dispatcher): timer_handler = CommandHandler("timer", timer, pass_args=True, pass_job_queue=True, pass_user_data=True) dispatcher.add_handler(timer...
[ "SinyTim@mail.ru" ]
SinyTim@mail.ru
176126b9efcae477ed9a23b33396a77d90f3bbca
8889e97b82d76cbdfb1aee3096ad9c6348f7eb7a
/actions/md.py
b83c9fdb6ec28dba054f97472134825105c517be
[ "MIT" ]
permissive
Mymineplays/ExtendedKawaii-DiscordBot
8ac631b5b76f81b5bc38dbfb7915a0015df6d41d
4f9304e45414a9cb99492f7aafa31c9bd6730486
refs/heads/master
2022-12-11T09:46:54.301465
2020-08-06T09:44:41
2020-08-06T09:44:41
294,209,980
0
0
MIT
2020-09-09T19:29:55
2020-09-09T19:29:54
null
UTF-8
Python
false
false
482
py
commands = ["md", "markdown"] requires_mention = False accepts_mention = False description = "How to MD" async def execute(message): msg = "" msg += "__**Markdown**__\n\n" msg += "``*Nachricht*`` => *Nachricht*\n" msg += "``**Nachricht**`` => **Nachricht**\n" msg += "``__Nachricht__`` => __Nachric...
[ "vincentscode@gmail.com" ]
vincentscode@gmail.com
d9ba184c15bf42e9d66972ef3f3696ecbb251ac5
166e502744521a566c30ade97cb9ac4113d0d5f2
/test/browser_test_implicit.py
6599200ec402b1430d8e0c22278090d2e0a00b92
[]
no_license
bellkev/docker-webdriver
2e5030908e7f97e47e31e8c34f7787119d31f30d
839dd805ba7139b53b25273eb657d4e4400597ed
refs/heads/master
2016-08-11T21:41:42.109992
2015-12-10T04:08:58
2015-12-10T04:08:58
46,310,011
8
4
null
2016-02-03T00:28:09
2015-11-16T23:34:09
Python
UTF-8
Python
false
false
112
py
from selenium import webdriver def magic_browser_framework(): driver = webdriver.Chrome() driver.foo()
[ "kevin.a.bell@gmail.com" ]
kevin.a.bell@gmail.com
398f920fea3197e7331d12b015ea69d1d67a1f7b
f50f60d45ddca6ac9e2d409d926282fa9703d14e
/shop/mainapp/models.py
585b9d6f082265655345665a76f255d545d40cc2
[]
no_license
Dudichevis/Django_online_store
89742ba6eb505b5b6d52bf4ae1d4c968c2e015e0
d2b0435e3d85f62c6194620f2cec6f4d366dace6
refs/heads/master
2023-02-14T19:39:50.298140
2021-01-11T12:19:22
2021-01-11T12:19:22
328,347,556
0
0
null
null
null
null
UTF-8
Python
false
false
8,945
py
from django.db import models import sys from PIL import Image from io import BytesIO from django.contrib.auth import get_user_model from django.contrib.contenttypes.models import ContentType from django.core.files.uploadedfile import InMemoryUploadedFile from django.urls import reverse from django.utils import timezon...
[ "igordudichev@gmail.com" ]
igordudichev@gmail.com
f2a8228648d6df6d7ab605f993bb91c991aca628
ae0351eea1f35a521ceb136ebf1fd3dd56ff715a
/activity_predictor/classifiertrain.py
e049324c28bd74659ee22637c6dca4b787d81ff6
[]
no_license
Ridhanya/PepGAN
eea833da88c48835e94154410453670b5d66e4d2
1f11e9f6fe571f8b2fd8b5f3e07ee06ce67bd1d8
refs/heads/master
2022-11-20T06:31:51.657891
2020-07-15T01:45:39
2020-07-15T01:45:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,121
py
import numpy as np import os import sys import multiprocessing as mp from keras.models import Sequential from keras.layers import Dense, Activation,TimeDistributed,MaxPooling1D from keras.layers import LSTM,GRU from keras.layers.embeddings import Embedding from keras.optimizers import RMSprop, Adam from keras.utils.dat...
[ "noreply@github.com" ]
Ridhanya.noreply@github.com
8fb11db047f674207152035c36dabffce36646da
a77630a21bc23100133836e101616f069e5fa051
/venv/bin/easy_install-3.7
436c4ebc8e5fcf2edeba229bed554d68a8257d7e
[]
no_license
vityakril/flask_alarm
f20ac0056ca75c70e6a4a1ac51f848bcf0a56aa4
26b52809c232bf8dfa9268e02982c15eba9935aa
refs/heads/master
2020-07-08T21:28:26.895516
2019-08-22T11:49:47
2019-08-22T11:49:47
203,646,714
0
0
null
null
null
null
UTF-8
Python
false
false
259
7
#!/home/vkril/test_capensis/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "vkril@scalair.fr" ]
vkril@scalair.fr
84aaf4120a0a6a01012a2a5dcf06b0d75f9c3de5
8afb5afd38548c631f6f9536846039ef6cb297b9
/_MY_ORGS/Web-Dev-Collaborative/blog-research/Data-Structures/1-Python/strings/contain_string.py
67056fed67317b8f05ae54f52aee5108734c2c45
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
651
py
""" Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Example 1: Input: haystack = "hello", needle = "ll" Output: 2 Example 2: Input: haystack = "aaaaa", needle = "bba" Output: -1 Reference: https://leetcode.com/problems/implement-strstr/desc...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
1b0838c37fc5ca4472ea147a4533d07d6fae4cb0
835528e5d723b4e33c7bea7e0382388c0d60be08
/bin/haxerenderer.py
d1634cdca7ef00ce218908e8e9beb08491ca0e8e
[ "BSD-2-Clause" ]
permissive
aduros/Browser.hx
0307a14390017bf2c0e03e43be1756e274a1d2cd
c43be016fe4865a713150af63bdbb43a6e84b28a
refs/heads/master
2021-01-01T20:05:23.206192
2014-02-21T22:37:45
2014-02-21T22:37:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,656
py
# # Renders a single IDL file into Haxe import itertools import re from idlnode import * haxe_idl_types = { "boolean": "Bool", "byte": "Int", "signed byte": "Int", "unsigned byte": "Int", "char": "Int", "signed char": "Int", "unsigned char": "Int", "octet": "Int", "short": "Int", ...
[ "b@aduros.com" ]
b@aduros.com
e816fd541e13285f5cf59d5f3ff75b8c79ee5fa5
ae629344805025350f412c43a1281ac2034fd24d
/july5_CV_DL/hands_on/solutions/cnn_cifar10.py
7d9058b93aef70f454de48a1d669f5ab5dadee83
[]
no_license
m-and-ms/visum-2019
f78cc76afd7b7f937c1bfdd00ae9638d18b7a7f0
54a21a5e49698266cea396842f3e715ec913c6d2
refs/heads/master
2020-08-04T17:15:16.003125
2019-07-11T19:46:31
2019-07-11T19:46:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,208
py
# # Perform CNN classification on CIFAR-10. # import os import sys import numpy as np import argparse import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torchvision import datasets, transforms import resnet # # Load the CIFAR 10 dataset. # def load_cifar10(basedir, ...
[ "diogo.pernes.cunha@gmail.com" ]
diogo.pernes.cunha@gmail.com
b4ad6ef2f4856234dc3df9216d876d61614e4356
aca3beed4a07ca4ae0b29ce5564da4c97d799c76
/blog/blog/urls.py
661c7ef24600d6344d8e25a63d9e05bb66ec0311
[]
no_license
keenson/DRF
75e260f5163353318be3df9c97242ea83e10231b
d1d785b90e905f3a7f81119d5f7a015333571f0e
refs/heads/main
2023-04-11T16:34:33.864983
2021-05-10T19:50:33
2021-05-10T19:50:33
364,716,781
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
"""blog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "keensono@gmail.com" ]
keensono@gmail.com
d9d6cd5d0b3e3c817e498b3cb5d6e428f87e86be
50fe188cd5640f99f020b2fc019d3a1172116d22
/iftrial.py
62816db9dd6e65647c22de65630dddcd8130194d
[]
no_license
khatere/unb-sample
db9a896394a1926531a05897674ed3ded26b8d24
2dafe621df3373330f4cb8ddc502130812785981
refs/heads/master
2021-01-22T09:47:39.406091
2014-10-03T16:54:13
2014-10-03T16:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
dave = 23 jeff = 23 if jeff>dave: print 'jeff is older than dave' elif jeff<dave: print 'jeff is younger than dave' else: print'jeff and dave are the same age'
[ "Khatere@Khatere-PC.ad.unb.ca" ]
Khatere@Khatere-PC.ad.unb.ca
b3aed492fb0c9d66a56f8865e3b79bd60ba12445
48a3f99dae4dca3d2dfce15127b00b7953fb9662
/Module5/Training.py
79432f59b0d94117fe2099a6bb756d566d8fa633
[]
no_license
Chetank003/Rainfall-prediction-using-ANN-and-SVM
139f8daa841d5192baf2b920b6e7e406a26eb100
1cf703890835db4af8eeff3f5c69d9f8ee1720e2
refs/heads/master
2022-11-29T00:35:28.670279
2020-08-09T08:13:21
2020-08-09T08:13:21
286,194,739
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
import pandas as pd from sklearn.model_selection import train_test_split import matplotlib.pyplot as plt from sklearn import metrics from sklearn.svm import SVR from joblib import dump,load df=pd.read_csv('data1modify.csv') df=df.dropna() a=list(df.columns) X=df[[a[0],a[1],a[2],a[3],a[4],a[5]]] Y = df[a[6]] svm = clf...
[ "noreply@github.com" ]
Chetank003.noreply@github.com
675ae4611cdb22f5676993b3c7c77fdad3196c7b
e638e9fda0e672fa9a414515d0c05a24ab55ad38
/FindPeakElement.py
8ff51d79a507758cc2e9a7895bd046e1d669a131
[]
no_license
zjuzpz/Algorithms
8d1c7d50429aa5540eb817dc5495a20fc3f11125
2df1a58aa9474f2ecec2ee7c45ebf12466181391
refs/heads/master
2021-01-21T05:55:48.768728
2020-08-04T22:44:08
2020-08-04T22:44:08
44,586,024
2
0
null
null
null
null
UTF-8
Python
false
false
1,221
py
""" 162. Find Peak Element A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return its index. The array may contain multiple peaks, in that case return the index to any one of the peaks is fine. You may imagine that num[-1] = num[...
[ "zjuzpz@gmail.com" ]
zjuzpz@gmail.com
77eb8378416b048b90b0d5fabdbc0bd20a66ffe7
c2d815908243b6bcb91d1e54ff532cb30e891ad8
/messenger_bot/settings.py
87b29c141331c3db856df958fde6afd17b28eefe
[]
no_license
mashrikt/fb-bot
73f36d957410fbece42dcb22d5e52b401976468e
497fe0c5d87ee4c1372b691fbe01b20bf9ce4433
refs/heads/master
2021-04-15T10:00:10.878134
2018-03-26T22:15:49
2018-03-26T22:15:49
126,896,195
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
""" Django settings for messenger_bot project. Generated by 'django-admin startproject' using Django 1.9.13. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ impor...
[ "mashrikt@gmail.com" ]
mashrikt@gmail.com
2d36f7508061e9fbfb03504ec3e5c8fe1382e954
ecb2885d161ad7295cbf39b43388c5a62ced975a
/Modulo 3/Proyectos/Proyecto1/Proyecto_fantasia/proyecto-fantasia.py
4cf42606cbe83e02b243a8da1fadad4114127323
[]
no_license
galigaribaldi/Python-Turtle
ee8709a677f00b5b31242321a889319d9cd8f91b
9ea378293d520605b673fceb080a12d7ccb642eb
refs/heads/master
2021-07-14T16:10:20.171960
2021-06-08T20:54:37
2021-06-08T20:54:37
126,338,064
0
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
import turtle ##Pantalla ws = turtle.Screen() #ws.bgcolor("black") ws.title("Sharingan") ws.setup(width=900, height=900) #geometry of the GUI ##Tortuga frank = turtle.Turtle() frank.speed(0) frank.shape("turtle") def circulo_interno(tam): frank.rt(180) frank.begin_fill() frank.circle(tam) frank.end_fil...
[ "galigaribaldi@live.com" ]
galigaribaldi@live.com
84e04268feae1b1a5487fcbd2eaeda1fadbcb044
978248bf0f275ae688f194593aa32c267832b2b6
/xlsxwriter/test/table/test_table04.py
b4fda1d6dc147b5f25e5321e06cd322bd6883955
[ "BSD-2-Clause-Views" ]
permissive
satish1337/XlsxWriter
b0c216b91be1b74d6cac017a152023aa1d581de2
0ab9bdded4f750246c41a439f6a6cecaf9179030
refs/heads/master
2021-01-22T02:35:13.158752
2015-03-31T20:32:28
2015-03-31T20:32:28
33,300,989
1
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2015, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ..helperfunctions import _xml_to_list from ...table import Table from ...worksheet impor...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
5e0a1ff00ad1855c0bdc3be2344ec1dc35745ce0
cc773e68159ab90ea0a8f2c5c89b1cafa27090e6
/blong/spiders/crawler.py
61699d09f9537da7cb25569729c1a148d5209f92
[]
no_license
imlifeilong/OnLeopard
a724a83f7b5a00e6bdc3e11e4b3f9c23cf4b412f
fd2cbe1400c47446581e50f6ce80545da353c07b
refs/heads/master
2020-04-30T07:19:59.301475
2020-02-26T04:39:14
2020-02-26T04:39:14
176,681,060
0
0
null
null
null
null
UTF-8
Python
false
false
1,668
py
# import scrapy # from scrapy_redis.spiders import RedisSpider # # from Leopard.items import LeopardItem # from Leopard.spiders.loader import LeopardItemLoader # # class Crawler(scrapy.Spider): # name = 'crawler' # start_urls = [ # 'http://sousuo.gov.cn/column/30469/0.htm' # ] # # def start_requ...
[ "13772032410@163.com" ]
13772032410@163.com
61aa7599d8cc5d642c8f394964d58d2753b8d5b2
ff3e10beec9279cc11c523006efa8ace9120ef75
/src/inception/__init__.py
17422a65cf12e103357c4e5779750d72d2d4e266
[ "MIT" ]
permissive
jercytryn/inception
07b7e90b0c0e7d7ab56eb4081bba676ecdde17fd
f7489cccdd308b5bb2d6ea04588dc67113e995b5
refs/heads/master
2020-04-13T23:44:38.253281
2015-09-18T02:37:48
2015-09-18T02:37:48
30,546,890
6
2
null
2016-07-06T13:29:58
2015-02-09T16:58:52
C++
UTF-8
Python
false
false
555
py
""" Inception api for semi-automaed 2D object insertion into indoor scenery >>> import inception >>> inception.magic_insert('http://my/awesome/foreground.jpg', '/Users/mrayder/background.png', (30, 40, 300, 500)) """ # expose the top level api methods up the very top level of the package # e.g. so that can just do #...
[ "jercytryn@gmail.com" ]
jercytryn@gmail.com
b9da67d441c8a8ea04914a68e4e11e3566b32dde
9ca55981d3245d87d45debce8e9825b60db43046
/chemicals/thermal_conductivity.pyi
75e0492a449dc884cb25dbc4ed2080c24b0a1a97
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
CalebBell/chemicals
c6b1ebd409c32e0e1053c4f97668a8ebcc92b969
37e32a7c7f819e0cb8e2a8784f8448f68b9a4215
refs/heads/master
2023-07-25T23:34:17.754310
2023-07-25T02:00:14
2023-07-25T02:00:14
264,697,738
137
33
MIT
2022-06-05T18:21:02
2020-05-17T15:27:11
Python
UTF-8
Python
false
false
2,921
pyi
# DO NOT EDIT - AUTOMATICALLY GENERATED BY tests/make_test_stubs.py! from typing import List from pandas.core.frame import DataFrame from typing import ( List, Optional, Union, ) def Bahadori_gas(T: float, MW: int) -> float: ... def Bahadori_liquid(T: float, M: int) -> float: ... def Chung(T: float, M...
[ "Caleb.Andrew.Bell@gmail.com" ]
Caleb.Andrew.Bell@gmail.com
03ac8c891da817f67d9b5c8e05d36778c398ff8e
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba3483.pngMap.py
11a26fda8cd8a7ca0878fb5776a770da9bee2f06
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba3483.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
a2d3191890cbeec635cdf2151309c60a1abb1802
b3b4ff12c3c95601c32067fb28004a0ab02b7f83
/alien_invasion.py
31ec1b078e9e0468f7be544ea23d4fa4faa0a88d
[]
no_license
eemmiillyy/AlienInvasion
1967f68a2f223f7bf1ad6f1f8f70b9736b0a4eb8
bf528db3940786a600eb1c79ab55daa53f00a345
refs/heads/master
2020-08-06T02:05:02.123351
2019-10-07T12:29:51
2019-10-07T12:29:51
212,793,767
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
import pygame from pygame.sprite import Group from settings import Settings from ship import Ship from bullet import Bullet import game_functions as gf from game_stats import GameStats from button import Button from scoreboard import Scoreboard def run_game(): # Initialize game, setttings and create a screen objec...
[ "emily.morgan@code.berlin" ]
emily.morgan@code.berlin
43f29fd533adf49583c860a5559461d733a08362
05e5ac0bdf5eb5a28d86a0a9da15115e2db798a6
/vlad/validators/networks_create.py
57aa21636999462daa3c3df09eb3e851b8e6d578
[ "MIT" ]
permissive
stevommmm/vlad
b7065e3f897b9c61aaf4d59697b689a88ae52451
249bc0dc007db91cb549ee128d417ff2c5f703e2
refs/heads/master
2020-07-31T04:27:21.815783
2020-07-13T03:56:44
2020-07-13T03:56:44
210,484,670
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
# handles: /networks/create:post from vlad.validators import handles @handles.post('networks', 'create') async def validate_request(req): '''Allow creation of networks in our OU''' if not req.req_body['Name'].startswith(req.OU_prefix): return f'That network is outside your OU prefix. {req.OU_prefix}'...
[ "s.mcgregor@griffith.edu.au" ]
s.mcgregor@griffith.edu.au
21e56e6d53d2cac2aa95a6acb832376f4738e889
1fffc557e1d02e6c6396bf1b3ca5f6471836fb0f
/title.py
99398ec172c4d9f8c44f86ed97141c42dd039b71
[]
no_license
sundharparamasivam/playerset1
5afc2e90b392301a4b9c9b8d39a3b0095a2a5eb7
4e135becc94f7f69e7db4f4c5900ebd188c135b6
refs/heads/master
2020-06-17T05:17:57.613846
2019-08-09T05:43:11
2019-08-09T05:43:11
195,809,892
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
su=list(input().split()) print("".join(su.title()))
[ "noreply@github.com" ]
sundharparamasivam.noreply@github.com
ae1e7ec5825d2a6fc3ae116e2bacde48835b0c45
f12ca917e17c180458f64c149431374252eef1aa
/test/4_test/websoc/server.py
671f6868b9b6419ae6a5e6fedd38a81e16ff3a60
[]
no_license
vipulgpt10/eid-fall2018
47b0d50fe40728a987c65cd2cc5942dad844693e
8db7be7a9c7b3124bf500caabff7307177fa66a3
refs/heads/master
2020-03-28T20:37:14.249249
2018-12-10T22:29:24
2018-12-10T22:29:24
149,087,963
0
0
null
2018-09-17T07:45:06
2018-09-17T07:45:06
null
UTF-8
Python
false
false
1,137
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import tornado.web import tornado.websocket import tornado.ioloop import tornado.options import tornado.httpserver import time from tornado.options import define, options define("port", default=3000 , help="run on the given port", type=int) global n n = 0 class Applic...
[ "vipul.gupta@colorado.edu" ]
vipul.gupta@colorado.edu
47c2d02951db7604b35e5da5d690abc1744355f0
5cb8b2e8496a2e6d0cfa7f2bae26d43bce263632
/example2.py
820d5006d40bf4e7f280e7882c49bd00a38c06f4
[]
no_license
Malak-Abdallah/Intro_to_python
3745786e499c8d6a95c414d3e5d87d27e5332039
9dbd8fa6e52b3056ef5406ab1337291feefad8da
refs/heads/master
2023-06-25T09:09:16.709645
2021-07-28T12:26:18
2021-07-28T12:26:18
383,780,163
0
1
null
2021-07-26T13:02:32
2021-07-07T11:48:29
Python
UTF-8
Python
false
false
306
py
if __name__ == '__main__': x=list(map(int,input().split(" "))) lists={} for i in range(x[0]): lists[i]=list(map(int,input().split(" "))) lists[i].sort(reverse=True) num=0 for i in range(x[0]): num = num+ lists[i][0] ** 2 if num <x[1]: print(num)
[ "malkobeidallah@gmail.com" ]
malkobeidallah@gmail.com
7e28e8e2b39ff6c199ff679c531e0392c8edd814
447cf5b4c23033306e0880e4b9ab8df2c7ffb633
/src/neutralisers/seq2seq/train.py
4ff5dda4a2b4276b6b1e3b38ed94aec04a2d8750
[]
no_license
PaulB99/MABEL
1658129a2c5554b3ac4ebae484c9a2f98ceff602
3a909a47bc2c52f63101d33958b4d12fccf8f658
refs/heads/master
2023-07-02T06:24:10.682942
2021-08-12T11:28:10
2021-08-12T11:28:10
383,640,247
0
0
null
null
null
null
UTF-8
Python
false
false
2,873
py
import torch import torch.nn as nn import model as md import torch.optim as optim import pandas as pd import tokeniser from transformers import BertTokenizer import time import matplotlib.pyplot as plt # Device device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu') def train_step(model, input_tensor,...
[ "paulbyrne99@rocketmail.com" ]
paulbyrne99@rocketmail.com
1600f351dbbca8f6da3f35d1a196503aafe8b954
647c290c6fd5b2e39ac1e546635c9c46d5477418
/mysite1/settings.py
303672ce28e2752d6eb5442903933e65f209f45c
[]
no_license
zeeshan3534/textutlis.in
d8e0b359f06c914d1917b0701117051859ca641c
ddd322ad8912884f5b4a469bd785129a5fa15e6e
refs/heads/master
2022-12-18T14:27:27.011385
2020-09-23T14:42:00
2020-09-23T14:42:00
297,999,541
0
0
null
null
null
null
UTF-8
Python
false
false
3,196
py
""" Django settings for mysite1 project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ ...
[ "noreply@github.com" ]
zeeshan3534.noreply@github.com
28ebcfe613a2a075aea560cfdadf3958e4417f1d
c4c472cd291dfb8829616e8e4a2a4878bf0f3390
/fibonachi.py
029cb413c070597d5d639de2b3e6a898ec500aa3
[]
no_license
DanisAvko/algoritmy
39c376f1fe375d7bf938647ffed723cff23b92c5
b85b45353f8b0fc2cdc573f874098827c6d980d3
refs/heads/master
2020-04-26T10:29:35.983438
2019-05-05T13:21:50
2019-05-05T13:21:50
173,487,961
0
1
null
2019-03-02T19:30:48
2019-03-02T19:07:26
null
UTF-8
Python
false
false
333
py
"""без рекурсии""" def fib(n): fib1=fib2=1 i = 2 while i < n: fib_next = fib2 + fib1 fib1 = fib2 fib2 = fib_next i += 1 return fib_next; print (fib(30)) """с рекурсией""" def fib(n): if n in(1,2): return 1 return fib(n-1)+fib(n-2) print (fib(30))
[ "valievdanis@bk.ru" ]
valievdanis@bk.ru
2a1ed1e43f9e463149478c027499a2d168d8a840
0d2fedc7f567963c6e80fa7b37a9c618ea8dc597
/pages/urls.py
6764a0487fc896d9a366114091b251cb904cd706
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
akashdraut/btre_project
7edbdc5cc91622af350629c52ca787c2a2224673
baacab2b9903825904f6fa39d50934c8fb4f5dee
refs/heads/master
2022-05-02T21:43:40.119656
2020-06-03T12:56:32
2020-06-03T12:56:32
256,933,633
0
0
MIT
2022-04-22T23:15:05
2020-04-19T06:49:27
CSS
UTF-8
Python
false
false
166
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('about', views.about, name='about'), ]
[ "adraut93@gmail.com" ]
adraut93@gmail.com
efde0bd1158f2af6861f6ccd43d34cadf581acf1
c0e7f3e1801bfd99c5fc86067ea552a8436c47dd
/junk_drawer/store.py
91bbab4f943ccdcd3bb220b99dccdc8e8a27896d
[]
no_license
Opentrons/junk-drawer
27a463053dbb45e56902f3d8286f57f931631f59
32ca381f754489b476e26fbf18001bbf98881ea9
refs/heads/main
2023-08-29T06:11:09.028658
2021-10-08T18:03:20
2021-10-08T18:03:20
298,059,402
0
0
null
2023-05-23T16:17:06
2020-09-23T18:26:53
Python
UTF-8
Python
false
false
5,183
py
"""Store module for junk_drawer.""" from __future__ import annotations from logging import getLogger from typing import Optional from .read_store import SCHEMA_VERSION_KEY, ReadStore, ModelT from .filesystem import ( PathNotFoundError, RemoveFileError, FileEncodeError, FileWriteError, ) log = getLogg...
[ "noreply@github.com" ]
Opentrons.noreply@github.com
3b92b8f60bbeca7d4bab2c4a990b932bcb2c54bf
c02ed8f12fe1d838acdc12ab02514eece1941fde
/carshop/wsgi.py
fe7f95465bcd820646e0a68aff6baf95cf44bbed
[]
no_license
Serik310/carmarket
b1333e95915b6a5b0d3d1fd90c8822fcce7695ca
7adb8e28e5476071d012e82718715c386f585fde
refs/heads/master
2023-01-22T16:38:06.549436
2020-12-08T16:10:35
2020-12-08T16:10:35
303,439,545
0
0
null
2020-12-08T16:10:36
2020-10-12T15:48:08
Python
UTF-8
Python
false
false
391
py
""" WSGI config for carshop 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "serik31000@gmail.com" ]
serik31000@gmail.com
31f1f3cf2bad88a53e42e9b081d1803a77815b46
b4e6c39c01db5c59832b810c1a72ccfe427ea87a
/compareList.py
2f436b876b0b5c4c3c82247be7b9ba19626c3e6c
[]
no_license
plpla/Scripts
3df19422fd262115a9c0c9d456d42a16ec069da5
661637c6a438891af03f646fe481ffe8b4c08f99
refs/heads/master
2021-01-20T12:00:53.904242
2013-01-16T15:27:02
2013-01-16T15:27:02
7,648,105
1
0
null
null
null
null
ISO-8859-1
Python
false
false
602
py
#! /usr/bin/env python # -*- coding:Utf-8 -*- #Author: Pier-Luc Plante #License:GPL """ This script compare 2 list of entry and output a list of the ones that are only in the second file How to use: python compareList file1 file2 """ import sys if len(sys.argv) != 3: print(__doc__) sys.exit(1); li...
[ "pier-luc.plante.1@ulaval.ca" ]
pier-luc.plante.1@ulaval.ca
5ec219db8c8838935154f8cebad0789540c0d348
94ce54fb099265c40939fb63b9935410742d446f
/_prog/_python/_aulas/_aida/_aulas/dict.py
db3e6b54a837c6cc493428f41906ea8d7c3cb17a
[]
no_license
habraino/meus-scripts
f98d0780563d3228fa1451978adacf69a27e43e7
158fc463cbf3d2d99f0d5f584b11c777133a4279
refs/heads/master
2023-04-09T09:27:05.643106
2021-04-14T12:13:34
2021-04-14T12:13:34
357,892,446
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
a = {"livro":"romance", "nome":"Gesiney","morada":"Cadão"} for b in a.keys(): print(b) print('-------------') for c in a.values(): print(c)
[ "habraino12@gmail.com" ]
habraino12@gmail.com
375dc7a9f08e87def6b9d83af33b3624c9f7ab69
56df6683865fd9319b389afd6dd4a922299da593
/source/scripts/python/host/source/host.py.in
0e4829aa2a05b70be869733b69853d892d4ff567
[ "Python-2.0", "GPL-2.0-or-later", "MPL-1.1", "NCSA", "LicenseRef-scancode-proprietary-license", "GPL-1.0-or-later", "BSD-3-Clause", "MPL-2.0", "Ruby", "BSD-2-Clause", "MIT", "Apache-2.0" ]
permissive
metacall/core
4f36fe0b13924853aab6d0f053285b649398cc1d
419ffb573b17501c91662f0f161032bb19ea1ab3
refs/heads/develop
2023-08-23T10:19:30.898387
2023-08-10T18:39:08
2023-08-10T18:39:08
163,221,062
1,391
167
Apache-2.0
2023-09-13T23:49:43
2018-12-26T22:02:57
C
UTF-8
Python
false
false
957
in
#!/usr/bin/env python3 import sys # Insert Python Port folder first in the system path list sys.path.insert(0, '@PROJECT_METACALL_PORTS_DIRECTORY@') from metacall import metacall, metacall_load_from_memory script = '''#!/usr/bin/env node 'use strict'; const path = require('path'); /* Load MetaCall addon */ const...
[ "vic798@gmail.com" ]
vic798@gmail.com
1da8e69eee5613a50da1c487c248b17fc70d2da6
9bc15f431ab84c26ad7d6810f9a25d045bfe9b4f
/do_OPTICS.py
1e5b89eb16da1496f281a77902c572cad528fbfe
[]
no_license
genomexyz/punya_orang
8fbd9ca253f01577c5e8e506f40a410888043035
0bfbea9f6d835d82ec1b26d7181b864f92bfea42
refs/heads/master
2020-09-28T13:59:52.357483
2019-12-09T05:33:05
2019-12-09T05:33:05
226,791,798
0
0
null
null
null
null
UTF-8
Python
false
false
4,186
py
#!/usr/bin/python3 from sklearn.cluster import DBSCAN, OPTICS from sklearn import metrics #import tkinter as tk import numpy as np import pymongo import sys import matplotlib.gridspec as gridspec import matplotlib.pyplot as plt import pandas as pd import json #setting tahun = 2019 bulan = 6 hari = 5 jam = 3 menit = 0...
[ "nayrhum4code@gmail.com" ]
nayrhum4code@gmail.com
53d2fbfd9f3c99ec42a32fc5ee87f71345a8cd07
14e7058adf766352a0b90b66b7dcf887105a481c
/djangoappengine/settings_base.py
b62b7cbd0c0dfb09d8af41eeb26eecfd9cb6af34
[ "BSD-2-Clause" ]
permissive
brunogamacatao/portalsaladeaula
2b7f07f07c2518dd359f043483fbb27417f62aaf
9429e485aa37ffea3208339a807032e9230a3c84
refs/heads/master
2020-12-29T01:42:18.594281
2012-06-22T12:24:44
2012-06-22T12:24:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
# Initialize App Engine SDK if necessary try: from google.appengine.api import api_proxy_stub_map except ImportError: from .boot import setup_env setup_env() from djangoappengine.utils import on_production_server, have_appserver DEBUG = not on_production_server TEMPLATE_DEBUG = DEBUG ROOT_URLCONF = 'urls...
[ "brunogamacatao@gmail.com" ]
brunogamacatao@gmail.com
080bcf39abb2b1192174b56c122775222dc094e5
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Pygame/pygame_widgets/widgets/holder.py
96b94e5e4579dd18844513a989799935872a599d
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:72853c292faeedcdb3d5218c2cef2738641f5b2b222c1b069415a537cc49181f size 7770
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
b754c81abae1b1e5debc3af1df9c99ecc7c13ff7
5ec5bfebdaa69d86594bbe41cccecdd66749d481
/tests/integration/engine_objects/test_engine_objects_integration.py
98944ace5d616b7d7088dd77de1b9dc0a680fd52
[ "MIT" ]
permissive
dutradda/myreco
7ae64fe485d1f78b0b920a0a5a5333520c4f1072
bbc3ff8f734a68c4b9650348fdcf6a7605673b61
refs/heads/master
2020-04-18T05:25:56.489964
2018-10-09T21:17:26
2018-10-09T21:17:42
67,266,853
8
2
null
null
null
null
UTF-8
Python
false
false
27,200
py
# MIT License # Copyright (c) 2016 Diogo Dutra <dutradda@gmail.com> # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, co...
[ "dutradda@gmail.com" ]
dutradda@gmail.com
e2165522c3bb4459305797ac81bd3f7b39820945
335ad4f2f024f4d3aa528447a40fe7cc7ea838d5
/src/merge-patch.py
9d914b3f25982c038a0d7f0deef2aff13308560b
[]
no_license
SnakeHunt2012/text-classification
2e1c19e2b045d47de8dc61e337271137fe6898f3
b5511bb6edce176deda9a2356c2da8bc3e2179d3
refs/heads/master
2020-04-12T08:56:16.968575
2017-02-17T04:05:58
2017-02-17T04:05:58
62,780,080
0
0
null
null
null
null
UTF-8
Python
false
false
1,924
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from codecs import open from argparse import ArgumentParser def load_patch_dict(patch_file): patch_dict = {} new_category_set = set() with open(patch_file, 'r') as fd: for line in fd: splited_line = line.strip("\n").strip("\r").split("\t")...
[ "SnakeHunt2012@gmail.com" ]
SnakeHunt2012@gmail.com
af1a0b1e3fbc5532f301616c7de79889ed3c1f13
338298474c517e28d9a214c3525b9709625fa438
/YouWeesh/Controllers/RegisterController.py
e1c6418416713ae4a61fcdd2a707f2d628d8db50
[]
no_license
vincehar/Backend
f5a8f0e264de2ba7ccadba3bce015f3a30e9c478
fb143c6c70cb65018d0436bf5b891cb72620208d
refs/heads/master
2023-07-06T10:37:50.057555
2023-06-28T13:04:36
2023-06-28T13:04:36
73,698,999
0
0
null
null
null
null
UTF-8
Python
false
false
2,284
py
from base64 import b64decode from django.core.files.base import ContentFile from django.http import Http404 from mongoengine.django.auth import User from rest_framework.decorators import api_view, renderer_classes, permission_classes from rest_framework.permissions import AllowAny from rest_framework.renderers import ...
[ "you@example.com" ]
you@example.com
95a9b99b23d9c3361f738b051a584a36d3f1b9e5
6e35052e119652419ed7d2291d9c3f2fbac8db14
/cm_ext_lib/make_manifest.py
a03f86c52ec408e474d34d4e67e323f8f3da3c07
[]
no_license
khirodpatra/mk_cdh_parcel
191f5735bd04f25f4639ea844f121fba1fa9b826
3de93c50427d43373e0af33230be7fef82e65b43
refs/heads/master
2021-06-05T13:06:29.745230
2016-10-26T05:59:36
2016-10-26T05:59:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,814
py
#!/usr/bin/env python # # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ...
[ "khirodpatra@gmail.com" ]
khirodpatra@gmail.com
c4f8b602455159c96bfee7d9af8b244c0fb7e10d
8056fb11a606a59c0e11e23c54f53aa48d184631
/djangoCMS/sensoriumSite/migrations/0014_aboutus_bioplaceholdermodel2.py
88fab3149dd824088b84aed0e53837f0aa343ec1
[]
no_license
Mark2208/Sensorium_Website_Group
f3785403cd7f44e3e1ae17ca6935f2458fb50937
3a6b6282238b8cd2580edaa48e311b1065072ff1
refs/heads/master
2020-04-22T16:09:42.873493
2019-05-08T17:24:26
2019-05-08T17:24:26
170,499,346
1
0
null
null
null
null
UTF-8
Python
false
false
830
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-04-28 21:23 from __future__ import unicode_literals import cms.models.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('cms', '0022_auto_20180620_1551'),...
[ "markpereira2208@gmail.com" ]
markpereira2208@gmail.com
251cea80fc221b29db818fc6b6ea2ee0e662fbcc
4b1638310dcf0188aadb2ff5d61bf48306ae282f
/e_shop/order/serializers.py
1ea72e60a772f5529ff98269b6a550ce4a88e055
[]
no_license
LexxLuey/vue-django-shop
95bb2d6b7e64277578982391f2d0a603f9d651ea
e9ad17c245627b4e13c7785926cdca7f31602450
refs/heads/main
2023-08-30T08:00:53.265764
2021-10-14T16:31:24
2021-10-14T16:31:24
417,199,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,790
py
from rest_framework import serializers from .models import Order, OrderItem from product.serializers import ProductSerializer class MyOrderItemSerializer(serializers.ModelSerializer): product = ProductSerializer() class Meta: model = OrderItem fields = ( "price", ...
[ "biggestluey@gmail.com" ]
biggestluey@gmail.com
f2dd5ac8b68469e874aa5f39d5908a14de7ffc04
97024a97c877d3874a055146141ac7106a976e43
/src/layers.py
26e03b8ce8e7671684a4e1e71831c620fc8588a1
[]
no_license
colinclement/snnp
ff8f3f64f400d65e425dfba37cc690e19192b973
69f554a0f394c49142358e0c0be19ab6a420a834
refs/heads/master
2021-05-06T07:22:37.487577
2017-12-11T22:43:34
2017-12-11T22:43:34
113,916,313
0
0
null
null
null
null
UTF-8
Python
false
false
7,964
py
""" SNNP - Simple Neural Networks with Python author: Colin Clement date: 2015-03-13 Neural network layer classes based on torch nn module """ import numpy as np from scipy.linalg import inv, sqrtm from scipy.special import expit from scipy.misc import logsumexp def orthogonalize(m): """Make columns orthogonal,...
[ "colin.clement@gmail.com" ]
colin.clement@gmail.com
e23484f389705ca89a122d6106d3e1c4709ca68e
89b3c2230405ffbe3ffea223b06e9a6f9d229317
/Selenium/test_with_unittest.py
bdb961aaba65130ee3eb329d78d37302abcaa561
[]
no_license
skate-moss/Stepik-Homework
7666612b7560f6527ab28f139b28bc7ecbae4907
759ad3f369c4a4988907de2f1a5c814adec9e5ef
refs/heads/master
2020-07-31T10:44:33.807034
2019-09-24T13:40:52
2019-09-24T13:40:52
210,577,953
0
0
null
null
null
null
UTF-8
Python
false
false
3,816
py
from selenium import webdriver import time import unittest class Test(unittest.TestCase): def test_1_test(self): try: link = "http://suninjuly.github.io/registration1.html" browser = webdriver.Chrome() browser.get(link) # Ваш код, который заполняет обязатель...
[ "gooseftwx@yandex.ru" ]
gooseftwx@yandex.ru
5833e6dc30d2c6ebaec174a55b4d82ecc71d3cac
817a6685fc27bb024ecaea40d95dceaf2c824c31
/validation/validate_poi.py
cfce493107f43e80c92a0c4eb886c86e71f88e84
[]
no_license
saraswathykrk/Udacity_ML
105f134465a1e019be76153942b9caefe4715783
b781742d75ce45c6afe7ae6b7ca398fe3bb2f495
refs/heads/master
2020-04-03T06:26:42.328386
2018-10-28T14:16:04
2018-10-28T14:16:04
155,074,886
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
#!/usr/bin/python """ Starter code for the validation mini-project. The first step toward building your POI identifier! Start by loading/formatting the data After that, it's not our code anymore--it's yours! """ import pickle import sys from time import time sys.path.append("../tools/") from featur...
[ "noreply@github.com" ]
saraswathykrk.noreply@github.com
80e78c403085d8c221c35fb9e8bbcf9fca10ca5e
e770ac1b69bfbcefb58a289c3409203eab1ffe55
/analysis/migrations/0011_auto_20200617_1740.py
806c64994b85422202b83efc4ffd496d7994d344
[]
no_license
Saihgax/SBSPS-Challenge-4206-Sentimental-Analysis-of-COVID-19-tweets
f4bad71e8cec25ca1c813ab172a1e0e043152c89
1b9b2793a656f1c842b67a4a5fd599fc805a21e6
refs/heads/master
2022-11-14T05:58:50.794760
2020-07-14T19:07:28
2020-07-14T19:07:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# Generated by Django 3.0.7 on 2020-06-17 12:10 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('analysis', '0010_auto_20200617_1652'), ] operations = [ migrations.AlterField( model_name='analysis', ...
[ "pranavsaihgal911@gmail.com" ]
pranavsaihgal911@gmail.com
a7ba62674bde540766b0c1c66bafddae4b446c94
cec125d7a04cf63809cc3eb47bc8e778d11e8abb
/example/Reproducible.py
91bd8db6e8124afbd3431b68c3e4c09dd0a3b25c
[ "Apache-2.0" ]
permissive
emerrf/MIDAS.Python
24a4cfda400c2fb432a31d8279dac41bd0348b67
264df6c6bf03d126f3f1784ced27fd7276ef0ae4
refs/heads/master
2022-12-20T03:35:39.702394
2020-10-14T18:05:13
2020-10-14T18:05:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,934
py
# ------------------------------------------------------------------------------ # Copyright 2020 Rui LIU (@liurui39660) # # 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.apac...
[ "xxliuruiabc@gmail.com" ]
xxliuruiabc@gmail.com
508ff2b6d6d352b25f08f40f8685987a07f0a9f1
d511eeb3baaafc5e5c83918f10b018a38174d3ad
/test_selenium/test_Baidu/test_baidu_base.py
ff3d02cb3eaded24f811da36d52d0b8ad9a7ce4a
[]
no_license
cheng2020-G/20200507_hogwarts
2389fb1b4bd625771753c912feb84a4fcdb94747
5b7ba5bff63389dbd563a6059f3877c11489a393
refs/heads/master
2022-11-23T20:34:36.935755
2020-07-30T10:05:01
2020-07-30T10:05:01
262,307,405
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
from selenium import webdriver class TestBaiduBase(): def setup(self): self.driver = webdriver.Chrome() self.driver.get("https://www.baidu.com/") self.driver.maximize_window() self.driver.implicitly_wait(3) def teardown(self): self.driver.quit()
[ "myautotest123698745" ]
myautotest123698745