blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
03e064a0bce0dd00a223a41938dc5d68dd20b8ce
6437a3a4a31ab9ad233d6b2d985beb50ed50de23
/PythonistaAppTemplate/PythonistaKit.framework/pylib/site-packages/reportlab/rl_config.py
14438fb24175d622317b26fc4539590edf37a674
[]
no_license
sreyemnayr/jss-lost-mode-app
03ddc472decde3c17a11294d8ee48b02f83b71e7
3ff4ba6fb13f4f3a4a98bfc824eace137f6aabaa
refs/heads/master
2021-05-02T08:50:10.580091
2018-02-08T20:32:29
2018-02-08T20:32:29
120,813,623
1
0
null
null
null
null
UTF-8
Python
false
false
8,725
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "ryanmeyersweb@gmail.com" ]
ryanmeyersweb@gmail.com
0587480993283923fc28a800af3f56fc5d43a1d5
34e3147447875b491bd1b50c915f8848ead80792
/uncertainty/constants.py
f19f8cdc91913b47521873fbed92985edbf59ce3
[ "MIT" ]
permissive
meyersbs/uncertainty
680f275ded6aad63012a7ca781d1cf455c66f226
c12842cda7bea2d604bb9227a6c0baba9830b6fe
refs/heads/master
2023-07-20T09:00:25.876780
2023-07-07T18:17:07
2023-07-07T18:17:07
87,837,406
19
5
MIT
2023-07-07T18:17:09
2017-04-10T17:16:51
Python
UTF-8
Python
false
false
510
py
from pkg_resources import resource_filename BCLASS_CLASSIFIER_PATH = resource_filename('uncertainty', 'models/bclass.p') MCLASS_CLASSIFIER_PATH = resource_filename('uncertainty', 'models/mclass.p') VECTORIZER_PATH = resource_filename('uncertainty', 'vectorizers/vectorizer.p') UNCERTAINTY_CLASS_MAP = { 'specul...
[ "nuthan.munaiah@live.com" ]
nuthan.munaiah@live.com
5865cee0434fa771b0ffd1e3c9bcb56df6e08c4a
3967e42abb6f497ede6d342e8f74bd8150f9c52d
/src/spiders/qidiancom.py
b70dc6414c2c1f6637e2011d657997aa17ae923f
[ "Apache-2.0" ]
permissive
varunprashar5/lightnovel-crawler
4886862115c5c3e15a9137e698e14253e14b7423
4ca387f3c8f17771befad1d48d417bbc7b9f8bfd
refs/heads/master
2020-12-01T22:27:33.699798
2019-12-29T05:25:09
2019-12-29T05:25:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,465
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import logging from ..utils.crawler import Crawler logger = logging.getLogger('QIDIAN_COM') chapter_list_url = 'https://book.qidian.com/ajax/book/category?_csrfToken=%s&bookId=%s' chapter_details_url = 'https://read.qidian.com/chapter/%s' class QidianComCrawler(Crawler)...
[ "dipu.sudipta@gmail.com" ]
dipu.sudipta@gmail.com
8e7ea66678d6525ed22d3dd5952486d8e44cd520
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Fluid_Engine_Development_Doyub_Kim/external/src/pystring/SConscript
b6e8c9660762838555a40f518621f6873e7cf39a
[ "MIT" ]
permissive
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
320
""" Copyright (c) 2016 Doyub Kim """ Import('env', 'os', 'utils') script_dir = os.path.dirname(File('SConscript').rfile().abspath) lib_env = env.Clone() lib_env.Append(CPPPATH = [os.path.join(script_dir, 'pystring'), script_dir]) lib = lib_env.Library('pystring', 'pystring/pystring.cpp') Return('lib_env', 'lib')
[ "me@yomama.com" ]
me@yomama.com
1d443fcd8a68dc9c0124dcbff16c16d020b695ab
9e549ee54faa8b037f90eac8ecb36f853e460e5e
/venv/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py
10f2f222d46d9d3c3a69f254940903cb2be1c86b
[ "MIT" ]
permissive
aitoehigie/britecore_flask
e8df68e71dd0eac980a7de8c0f20b5a5a16979fe
eef1873dbe6b2cc21f770bc6dec783007ae4493b
refs/heads/master
2022-12-09T22:07:45.930238
2019-05-15T04:10:37
2019-05-15T04:10:37
177,354,667
0
0
MIT
2022-12-08T04:54:09
2019-03-24T00:38:20
Python
UTF-8
Python
false
false
4,176
py
import hashlib import os from textwrap import dedent from ..cache import BaseCache from ..controller import CacheController try: FileNotFoundError except NameError: # py2.X FileNotFoundError = (IOError, OSError) def _secure_open_write(filename, fmode): # We only want to write to this file, so open i...
[ "aitoehigie@gmail.com" ]
aitoehigie@gmail.com
6757f60ad54e92de598316caec907e610dd16c53
e01c5d1ee81cc4104b248be375e93ae29c4b3572
/Sequence4/DS/Week5/submission/sub-range-4.py
585c33c2a3133ca7749fcb1568e035d6b909e7e3
[]
no_license
lalitzz/DS
7de54281a34814601f26ee826c722d123ee8bd99
66272a7a8c20c0c3e85aa5f9d19f29e0a3e11db1
refs/heads/master
2021-10-14T09:47:08.754570
2018-12-29T11:00:25
2018-12-29T11:00:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,351
py
# python3 from sys import stdin import sys, threading sys.setrecursionlimit(10**6) # max depth of recursion threading.stack_size(2**27) # new thread will get stack of such size # Splay tree implementation # Vertex of a splay tree class Vertex: def __init__(self, key, sum, left, right, parent): (self.key, sel...
[ "lalit.slg007@gmail.com" ]
lalit.slg007@gmail.com
871f3e48a561c6d3a0a81e78fb26e52f6fa2eb7c
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2/gavicharla/codejam1.py
25da9175da664053709c8d25e93ab4bca77cade7
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
515
py
def flip(s,l): str1 = [] for i in range(l): if(s[i] == '-'): str1.append('+') else: str1.append('-') return "".join(str1) test_cases = int(raw_input()) for test in range(test_cases): s = raw_input() l = len(s) count = l let =0 while (...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
f039f11f1012417d425afe36144602e290845663
dc182e5b4597bdd104d6695c03744a12ebfe2533
/PythonScripts/cache_decorator.py
13a86e3faccaa6620f606d3880ecb8559d34a2e1
[]
no_license
srinaveendesu/Programs
06fb4a4b452445e4260f9691fe632c732078d54d
f6dbd8db444678b7ae7658126b59b381b3ab0bab
refs/heads/master
2023-01-27T14:42:40.989127
2023-01-18T22:36:14
2023-01-18T22:36:14
129,948,488
1
0
null
2022-09-13T23:06:04
2018-04-17T18:30:13
Python
UTF-8
Python
false
false
404
py
def cache(func): """Keep a cache of previous function calls""" @functools.wraps(func) def wrapper_cache(*args, **kwargs): cache_key = args + tuple(kwargs.items()) if cache_key not in wrapper_cache.cache: wrapper_cache.cache[cache_key] = func(*args, **kwargs) return wrapp...
[ "srinaveen.desu@gmail.com" ]
srinaveen.desu@gmail.com
4a37455d9a0b65a8c4aec6586528fc1fcda1e472
085d3f2f8de5442d69962a65b8acd79478599022
/2.Dictionaries - the root of Python/Safely finding by key.py
e66f37889bfe6d285916f26ea00f6830005db3ba
[]
no_license
Mat4wrk/Data-Types-for-Data-Science-in-Python-Datacamp
bfe8f8c4d4bc3998ef612f0d3137b15e662209d0
c2eb30d3c500f69486921d26071a2ef2244e0402
refs/heads/main
2023-03-13T10:06:10.748044
2021-03-07T14:43:25
2021-03-07T14:43:25
331,574,648
3
0
null
null
null
null
UTF-8
Python
false
false
260
py
# Safely print rank 7 from the names dictionary print(names.get(7)) # Safely print the type of rank 100 from the names dictionary print(type(names.get(100))) # Safely print rank 105 from the names dictionary or 'Not Found' print(names.get(105, 'Not Found'))
[ "noreply@github.com" ]
Mat4wrk.noreply@github.com
368da12078ad24bb8c1403761b573a5acd4f731c
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/1-Python-Basics/4-bind()-complex_20200412164915.py
3951d6e1beff4faa4c6fcf2e2f7923a3bcedeff0
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
#complex z = complex(2, -3) print(z) z = complex(1) print(z) z = complex() print(z) z = complex('5-9j') print(z) # output # (2-3j) # (1+0j) # 0j # (5-9j) #binary print(bin(5)) # binary output 0b101 #binary with letter b with python #non-python binary number of 5 is 101 #convert from binary into an integer print()...
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
782de249b46f09546dcf741a0fc5f71b7f5aca5e
a03303e46f21697c9da87d0bb0f7b0a3077aba5c
/siswa_keu_ocb11/models/biaya_ta_jenjang.py
8c0710c7ba375eaad0378bdde9362af08f91cddd
[]
no_license
butirpadi/flectra_app_sek
fccd3e47ef261e116478e6da7f0cc544ee67f127
00fa36d9176511f8ffe3c7636a8434ee2ed8c756
refs/heads/master
2020-04-06T10:26:37.053024
2018-11-19T23:59:34
2018-11-20T00:17:02
157,380,460
0
0
null
null
null
null
UTF-8
Python
false
false
6,290
py
# -*- coding: utf-8 -*- from flectra import models, fields, api, _ from pprint import pprint from datetime import datetime, date import calendar class biaya_ta_jenjang(models.Model): _name = 'siswa_keu_ocb11.biaya_ta_jenjang' name = fields.Char('Name', related="biaya_id.name") tahunajaran_jenjang_id = f...
[ "butirpadi@gmail.com" ]
butirpadi@gmail.com
53bd002833d9a292adb9fc9597fcf51a13a3e702
ff7d3116024c9df01b94191ddfa334e4a6782ae6
/mandal/asgi.py
b5b92dc813812b64f6029c072cbb314048f69a23
[ "MIT" ]
permissive
jhnnsrs/arbeider
f5f708ee1026a9e9573a6f8a87c3b9e2fd6b5e33
4c5637913331c998a262ae0deca516b236845200
refs/heads/master
2021-05-26T10:31:16.279628
2020-04-08T13:40:26
2020-04-08T13:40:26
254,095,863
0
0
MIT
2020-04-08T13:40:28
2020-04-08T13:29:31
null
UTF-8
Python
false
false
318
py
""" ASGI entrypoint. Configures Django and then runs the application defined in the ASGI_APPLICATION setting. """ import os import django from channels.routing import get_default_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mandal.settings") django.setup() application = get_default_application()
[ "jhnnsrs@gmail..com" ]
jhnnsrs@gmail..com
16573c15b3817ed9f64b13f466428536b50da9d6
5b4312ddc24f29538dce0444b7be81e17191c005
/autoware.ai/1.12.0_cuda/build/waypoint_follower/catkin_generated/generate_cached_setup.py
01cfc657005e5167ef4e8abd08b42b76f522be17
[ "MIT" ]
permissive
muyangren907/autoware
b842f1aeb2bfe7913fb2be002ea4fc426b4e9be2
5ae70f0cdaf5fc70b91cd727cf5b5f90bc399d38
refs/heads/master
2020-09-22T13:08:14.237380
2019-12-03T07:12:49
2019-12-03T07:12:49
225,167,473
0
0
null
null
null
null
UTF-8
Python
false
false
1,929
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "907097904@qq.com" ]
907097904@qq.com
4ff946b307a86955672b905e0806efb85572c652
198f759dc334df0431cbc25ed4243e86b93571eb
/drop/wsgi.py
0dbf4b2caf4a9cd90fadce8e2d1d88950fcb3cfe
[]
no_license
miladhzz/django-muliple-db
ec2074b14dd67a547c982f20b2586f435e7e0d6c
56ff2555e498d9105cad215daf4c3d4da59d7d9a
refs/heads/master
2022-12-25T08:08:05.761226
2020-10-06T06:38:30
2020-10-06T06:38:30
301,636,910
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" WSGI config for drop 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "miladhzz@gmail.com" ]
miladhzz@gmail.com
0a8b93c86f1f59ac957d675eef30b726dc06c777
52a4d869976a97498bdf56a8d0ff92cac138a136
/Algorithmic Heights/rosalind_3_degarray.py
1ed82de8791f3769afe522fe22c1bee1abb2a87e
[]
no_license
aakibinesar/Rosalind
d726369a787d848cc378976b886189978a60a3a5
375bbdbfb16bf11b2f980701bbd0ba74a1605cdb
refs/heads/master
2022-08-18T09:36:00.941080
2020-05-24T18:49:38
2020-05-24T18:49:38
264,722,651
0
0
null
2020-05-17T17:51:03
2020-05-17T17:40:59
null
UTF-8
Python
false
false
380
py
file = open('rosalind_deg.txt','r').readlines() vertices, edges = (int(val) for val in file[0].split()) my_data = [[int(val) for val in line.split()] for line in file[1:]] count = 0 L = [] for k in range(1,vertices+1): count = 0 for i in range(2): for j in range(0,edges): if my_data[j][i] == k: count+=...
[ "noreply@github.com" ]
aakibinesar.noreply@github.com
3e677c83fd12cc5c2661147aa8b3dca9d0b689e4
15c4278a1a70ad3c842b72cba344f96fca43f991
/newpro/newapp/admin.py
37dac0ac21c8bfb1c6e0d008a060f3977faa28a0
[]
no_license
nivyashri05/Task1
d9914cf5bb8947ef00e54f77480c6f5f375c76ad
9e9b03961eb1144d1b1a936159082ad80d32ce31
refs/heads/master
2023-01-06T01:04:17.321503
2020-11-10T15:31:02
2020-11-10T15:31:02
311,691,678
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from newapp.models import User class UserAdmin(BaseUserAdmin): list_display = ('email','username','phone','is_admin','is_staff','timestamp') search_fields = ('email','username',) readonly_fields=('date_joined', 'las...
[ "nivyainventateq@gmail.com" ]
nivyainventateq@gmail.com
16d4ac62c0efe8567434b83a272a3035cd8c8990
d75371f629cf881de3c49b53533879a5b862da2e
/python/search-a-2d-matrix.py
3ce6ce1d52b91816fccec4a1e5592f5c548b2cf5
[]
no_license
michaelrbock/leet-code
7352a1e56429bb03842b588ba6bda2a90315a2f4
070db59d4e0ded3fb168c89c3d73cb09b3c4fe86
refs/heads/master
2020-04-01T05:40:49.262575
2019-10-10T22:03:10
2019-10-10T22:03:10
152,914,631
0
1
null
null
null
null
UTF-8
Python
false
false
2,614
py
def binary_row(rows, target): if len(rows) == 1: return 0, None if len(rows) == 2: return (1, None) if target >= rows[1] else (0, None) lo = 0 hi = len(rows) while lo < hi: mid = (lo + hi) // 2 if rows[mid] == target: return mid, True if mid == len(rows) - 1: return len(rows) -...
[ "mykel.bock@gmail.com" ]
mykel.bock@gmail.com
8f9842cabc131fddc1025c2ab9121b0af86a3297
d9a65120e6b8d20d3b568acde8ceb66f908d1ffc
/django1/src/vote/urls.py
68755a03d624470c3b5e239836982709943bda16
[]
no_license
omniverse186/django1
aba57d705bd7b3a142f627e566853811038d6d6c
f257c34c9d09467170a5f3bd24598d97dcf64f4f
refs/heads/master
2020-04-21T23:11:17.677609
2019-02-10T03:20:47
2019-02-10T03:20:47
169,938,176
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
''' Created on 2019. 1. 20. @author: user ''' #하위 URLConf #app_name : 하위 URLConf 파일의 등록된 URL들의 그룹명 #urlpatterns : URL과 뷰함수를 리스트 형태로 등록하는 변수 from django.urls import path from .views import * app_name = 'vote' urlpatterns = [ #name : 해당 URL, 뷰함수 등록에 대해서 별칭을 지정 path('', index, name= 'index'), ...
[ "user@DESKTOP-37GULAI" ]
user@DESKTOP-37GULAI
1c98f010be779b0df3ae626d838b4e5e5e86525c
d24e06a9fb04ada28de067be1b6be50a7a92f294
/Assignment1/svm_test.py
c916d079fcf86ddccff119130ecb3486e4f6dee4
[]
no_license
sentientmachine/CS7641
3960b3e216f1eddc9a782318a9bf3ae38fed1959
a9a1369acfdd3e846e311c64498a38c8afd8fcc2
refs/heads/master
2020-12-25T03:11:46.621886
2017-12-24T12:24:14
2017-12-24T12:24:14
51,779,034
0
0
null
2016-02-15T19:17:10
2016-02-15T19:17:10
null
UTF-8
Python
false
false
4,649
py
import io import pydotplus import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.svm import SVC from sklearn.model_selection import StratifiedKFold from sklearn.pipeline import Pipeline from sklearn.preprocessing import MinMaxScaler, StandardScaler, OneHotEncoder, Imputer #from sklearn.m...
[ "=" ]
=
a688ca2e222977722e0df277f47979059d2e8e1b
99eb4013a12ddac44042d3305a16edac1c9e2d67
/test/test_raw_shape_map.py
1a6b72fc298a5b35beaa25426e64cdf336fc34fa
[ "Apache-2.0" ]
permissive
DaniFdezAlvarez/shexer
cd4816991ec630a81fd9dd58a291a78af7aee491
7ab457b6fa4b30f9e0e8b0aaf25f9b4f4fcbf6d9
refs/heads/master
2023-05-24T18:46:26.209094
2023-05-09T18:25:27
2023-05-09T18:25:27
132,451,334
24
2
Apache-2.0
2023-05-03T18:39:57
2018-05-07T11:32:26
Python
UTF-8
Python
false
false
4,212
py
import unittest from shexer.shaper import Shaper from test.const import G1, BASE_FILES, default_namespaces from test.t_utils import file_vs_str_tunned_comparison import os.path as pth from shexer.consts import TURTLE _BASE_DIR = BASE_FILES + "shape_map" + pth.sep class TestRawShapeMap(unittest.TestCase): def tes...
[ "danifdezalvarez@gmail.com" ]
danifdezalvarez@gmail.com
3e034a11bde11aa6a40bca38c774c9dba4dc8ef4
9b422078f4ae22fe16610f2ebc54b8c7d905ccad
/xlsxwriter/test/comparison/test_chart_format07.py
45e9369b2bac7462c137134173b1cda4559f1696
[ "BSD-2-Clause-Views" ]
permissive
projectsmahendra/XlsxWriter
73d8c73ea648a911deea63cb46b9069fb4116b60
9b9d6fb283c89af8b6c89ad20f72b8208c2aeb45
refs/heads/master
2023-07-21T19:40:41.103336
2023-07-08T16:54:37
2023-07-08T16:54:37
353,636,960
0
0
NOASSERTION
2021-04-01T08:57:21
2021-04-01T08:57:20
null
UTF-8
Python
false
false
1,582
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
35eada1e6e31e47d1156a2dd8c85c2aada530ebe
4fbd844113ec9d8c526d5f186274b40ad5502aa3
/algorithms/python3/pacific_atlantic_water_flow.py
6a5e0384ee2afe8a2dd84a801719431deeaa3b09
[]
no_license
capric8416/leetcode
51f9bdc3fa26b010e8a1e8203a7e1bcd70ace9e1
503b2e303b10a455be9596c31975ee7973819a3c
refs/heads/master
2022-07-16T21:41:07.492706
2020-04-22T06:18:16
2020-04-22T06:18:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,244
py
# !/usr/bin/env python # -*- coding: utf-8 -*- """ Given an m x n matrix of non-negative integers representing the height of each unit cell in a continent, the "Pacific ocean" touches the left and top edges of the matrix and the "Atlantic ocean" touches the right and bottom edges. Water can only flow in four directio...
[ "capric8416@gmail.com" ]
capric8416@gmail.com
93117ac33ad6602c755054bba6d85d4308a19d77
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/L7NK7McEQ9yEpTXRE_16.py
d1817c7d7db4293f1356e203513e2932567c3783
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
def XOR(a, b): a = a ^ b b = a ^ b a = a ^ b return [a,b]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
39f51b8befba9f505afddabff3d6d21823fa7df5
adb759899204e61042225fabb64f6c1a55dac8ce
/1900~1999/1904.py
8a490e0cc71ac769e26193e2bc6f97c4d01e51cb
[]
no_license
geneeol/baekjoon-online-judge
21cdffc7067481b29b18c09c9152135efc82c40d
2b359aa3f1c90f178d0c86ce71a0580b18adad6f
refs/heads/master
2023-03-28T23:25:12.219487
2021-04-01T09:19:06
2021-04-01T09:19:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
# 문제 # 지원이에게 2진 수열을 가르쳐 주기 위해, 지원이 아버지는 그에게 타일들을 선물해주셨다. # 그리고 이 각각의 타일들은 0 또는 1이 쓰여 있는 낱장의 타일들이다. # 어느 날 짓궂은 동주가 지원이의 공부를 방해하기 위해 0이 쓰여진 낱장의 타일들을 붙여서 한 쌍으로 이루어진 00 타일들을 만들었다. # 결국 현재 1 하나만으로 이루어진 타일 또는 0타일을 두 개 붙인 한 쌍의 00타일들만이 남게 되었다. # 그러므로 지원이는 타일로 더 이상 크기가 N인 모든 2진 수열을 만들 수 없게 되었다. # 예를 들어, N=1일 때 1만 만들 수 있고, N=2일 ...
[ "alstn2468_@naver.com" ]
alstn2468_@naver.com
bd0aee949be51e9122bd5c53c9a3f1bed2200067
1865a8508bed279961abaef324b434c0e3caa815
/setup.py
261fb583f89174f98ea47d3f5b9b3cadf5e81b6b
[ "MIT" ]
permissive
zidarsk8/simple_wbd
de68cbefe94fda52ed5330ff55b97b4a73aedfb4
6c2d1611ffd70d3bf4468862b0b569131ef12d94
refs/heads/master
2021-01-19T10:54:38.824763
2016-08-16T03:58:42
2016-08-16T03:58:42
59,942,658
3
1
null
null
null
null
UTF-8
Python
false
false
1,866
py
#!/usr/bin/env python3 """Simplo wbd setup file. This is the main setup for simple wbd. To manually install this module run: $ pip install . For development to keep track of the changes in the module and to include development and test dependecies run: $ pip install --editable .[dev,test] """ from setupto...
[ "zidarsk8@gmail.com" ]
zidarsk8@gmail.com
88ae046695faa97023e4952c85ae2915a6475290
b1480f77540258ec08c9c35866138bfec839d7d0
/src/drostedraw/__init__.py
926f411cf29c3ff970f86b4bedac15a10a608353
[ "MIT" ]
permissive
asweigart/drostedraw
1fd69cac3659eaeebf8179f8015989b5d572c55b
d2a3620a4d2bda6fb76321883a3c9587abf6cec4
refs/heads/main
2023-08-04T18:23:21.586862
2021-09-14T17:35:00
2021-09-14T17:35:00
397,367,988
6
0
null
null
null
null
UTF-8
Python
false
false
10,584
py
"""Droste Draw By Al Sweigart al@inventwithpython.com A Python module for making recursive drawings (aka Droste effect) with the built-in turtle module.""" __version__ = '0.2.1' import turtle, math MAX_FUNCTION_CALLS = 10000 # Stop recursion after this many function calls. MAX_ITERATION = 400 # Stop recursion af...
[ "asweigart@gmail.com" ]
asweigart@gmail.com
e0d852a289aa3a8e3aca62072d98ba4f2cf26939
33524b5c049f934ce27fbf046db95799ac003385
/2018/Other/Urok_10_0_классы_объекты/teoriya_class_0.py
68f7a2ba67558f66e7e39854b191bc7d8ef21224
[]
no_license
mgbo/My_Exercise
07b5f696d383b3b160262c5978ad645b46244b70
53fb175836717493e2c813ecb45c5d5e9d28dd23
refs/heads/master
2022-12-24T14:11:02.271443
2020-10-04T04:44:38
2020-10-04T04:44:38
291,413,440
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
from math import pi class Circle: def __init__(self, x=0, y=0, r=0): self.x = x self.y = y self.r = r def __str__(self): return "({},{},{})".format(self.x,self.y,self.r) def read(self): self.x,self.y,self.r = map(int,input().split()) def area(self): a = pi*self.r * self.r return a def perimetr(s...
[ "mgbo433@gmail.com" ]
mgbo433@gmail.com
bbf5068fcd5c3270cf2448fddc69044e5fb04048
ddac7346ca9f1c1d61dfd7b3c70dc6cd076a9b49
/tests/test_calculators.py
ea4ae7c9ee767f607d8382ac221cc57272a8fee0
[ "MIT" ]
permissive
gvenus/dftfit
f8cf5e9bef5a173ff0aa7202bacbfee0df61bd14
a00354f8f0d611bf57c6925f920c749d8628cf98
refs/heads/master
2023-03-17T18:58:52.287217
2019-10-20T04:07:44
2019-10-20T04:07:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,979
py
import asyncio import shutil import pymatgen as pmg import numpy as np import pytest from dftfit.io.lammps import LammpsLocalDFTFITCalculator from dftfit.io.lammps_cython import LammpsCythonDFTFITCalculator from dftfit.cli.utils import load_filename from dftfit.potential import Potential @pytest.mark.pymatgen_lammp...
[ "chris.ostrouchov@gmail.com" ]
chris.ostrouchov@gmail.com
bde27465e5215f809b247a635fd24f3186193786
0698be34413debeb570e2560072c5696433acd81
/ForkTube/celeryconfig.py
1a437d56f6e0390a359e88338fe971e211e45e34
[]
no_license
Miserlou/ForkTube
90a057c459fda4b8d92d94f89c9d86bf786549ca
848fdf4ff81c1d70b03c30a6382c8464dd4f25fe
refs/heads/master
2020-05-19T07:47:44.130888
2012-04-09T19:53:24
2012-04-09T19:53:24
2,363,212
1
0
null
null
null
null
UTF-8
Python
false
false
184
py
BROKER_HOST = "localhost" BROKER_PORT = 5672 BROKER_USER = "myuser" BROKER_PASSWORD = "mypassword" BROKER_VHOST = "myvhost" CELERY_RESULT_BACKEND = "amqp" CELERY_IMPORTS = ("tasks", )
[ "rich@anomos.info" ]
rich@anomos.info
38bae379c04d24789026484a687ef0293b07e1f4
d346c1e694e376c303f1b55808d90429a1ad3c3a
/medium/61.rotate_list.py
86f5af201842b8ba886e5132edcc3439263c61a5
[]
no_license
littleliona/leetcode
3d06bc27c0ef59b863a2119cd5222dc94ed57b56
789d8d5c9cfd90b872be4a4c35a34a766d95f282
refs/heads/master
2021-01-19T11:52:11.938391
2018-02-19T03:01:47
2018-02-19T03:01:47
88,000,832
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def rotateRight(self, head, k): """ :type head: ListNode :type k: int :rtype: ListNode """ # current = head ...
[ "aria@Arias-MacBook-Pro.local" ]
aria@Arias-MacBook-Pro.local
3610918d2b73d9d7fb9529196d9121b89800d8c4
03901933adfaa9130979b36f1e42fb67b1e9f850
/iotapy/storage/providers/rocksdb.py
a1b6d630c97ebda8f54229ab370820ab8f9b63f1
[ "MIT" ]
permissive
aliciawyy/iota-python
03418a451b0153a1c55b3951d18d4cb533c7ff28
b8d421acf94ccd9e7374f799fbe496f6d23e3cf3
refs/heads/master
2020-03-19T04:15:54.594313
2018-06-04T18:26:52
2018-06-04T18:26:52
135,811,581
0
0
null
null
null
null
UTF-8
Python
false
false
7,363
py
# -*- coding: utf-8 -*- import struct import iota import rocksdb_iota import iotapy.storage.providers.types from rocksdb_iota.merge_operators import StringAppendOperator from iotapy.storage import converter KB = 1024 MB = KB * 1024 MERGED = ['tag', 'bundle', 'approvee', 'address', 'state_diff'] class RocksDBProvid...
[ "git@louie.lu" ]
git@louie.lu
710f90e901aebc0be4d31eed525c04c01665c3e0
3ad6d731c994813a10801829c45f56c58ff9021d
/src/teleop_bot/src/keys_to_twist_with_ramps.py
f8bf0f492753a4cd8e20f5fa2477366b8f82f090
[]
no_license
bladesaber/ROS_tutorial
9b4ae5a9a1bd773ae48d836a87d08bde8a757a5d
63486048786ebc864bc731eb1b524a72e9267738
refs/heads/master
2022-11-16T07:36:15.938433
2020-07-07T02:47:50
2020-07-07T02:47:50
277,693,692
0
0
null
null
null
null
UTF-8
Python
false
false
2,584
py
#!/usr/bin/env python import rospy import math from std_msgs.msg import String from geometry_msgs.msg import Twist key_mapping = { 'w': [ 0, 1], 'x': [ 0, -1], 'a': [ 1, 0], 'd': [-1, 0], 's': [ 0, 0] } g_twist_pub = None g_target_twist = None g_last_twist = None g_last_send_time = No...
[ "2510294705@qq.com" ]
2510294705@qq.com
73fe66859a65e73496b91d800a11f82a54258308
a85419f08198548eb6ba4d3df0d181769f810358
/C_Carray/split_for_singlechannel_tests.py
4887feeda442f244c49cc385774a1b017c5a6ddf
[]
no_license
keflavich/w51evlareductionscripts
cd0287d750d938bab96f1a7d335b3b84c27a987f
00cb8085e8fe5c047f53852c8057a1f7457863f6
refs/heads/master
2021-01-17T07:26:01.574220
2016-07-07T09:02:26
2016-07-07T09:02:26
8,590,805
0
1
null
null
null
null
UTF-8
Python
false
false
650
py
# June 29, 2015 # Instead, use h2co_cvel_split in ../C_AC # outputvis_A = 'h2co11_Cband_Aarray_nocal_20to100kms.ms' # split(vis=outputvis_A, outputvis='h2co11_Cband_Aarray_nocal_20kms_onechan.ms', # spw='0:0', width=1) # split(vis=outputvis_A, outputvis='h2co11_Cband_Aarray_nocal_57kms_onechan.ms', # spw='0...
[ "keflavich@gmail.com" ]
keflavich@gmail.com
2e5daa13e1b08a262d40a179079d7d11029e9af2
5a0d6fff86846117420a776e19ca79649d1748e1
/rllib_exercises/serving/do_rollouts.py
d2dff98d01aa7e23c66a2e98eb958ee472389934
[]
no_license
ray-project/tutorial
d823bafa579fca7eeb3050b0a13c01a542b6994e
08f4f01fc3e918c997c971f7b2421551f054c851
refs/heads/master
2023-08-29T08:46:38.473513
2022-03-21T20:43:22
2022-03-21T20:43:22
89,322,668
838
247
null
2022-03-21T20:43:22
2017-04-25T05:55:26
Jupyter Notebook
UTF-8
Python
false
false
1,596
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import json import argparse import gym from ray.rllib.utils.policy_client import PolicyClient parser = argparse.ArgumentParser() parser.add_argument( "--no-train", action="store_true", help="Whether to di...
[ "noreply@github.com" ]
ray-project.noreply@github.com
15701489ab41edd41261b2b31779b163a468529e
44a2741832c8ca67c8e42c17a82dbe23a283428d
/cmssw/HeavyIonsAnalysis/JetAnalysis/python/jets/akVs3CaloJetSequence_pPb_mix_cff.py
3d77c27baa5beb48450caf86750981f27c601170
[]
no_license
yenjie/HIGenerator
9ff00b3f98b245f375fbd1b565560fba50749344
28622c10395af795b2b5b1fecf42e9f6d4e26f2a
refs/heads/master
2021-01-19T01:59:57.508354
2016-06-01T08:06:07
2016-06-01T08:06:07
22,097,752
0
0
null
null
null
null
UTF-8
Python
false
false
4,519
py
import FWCore.ParameterSet.Config as cms from PhysicsTools.PatAlgos.patHeavyIonSequences_cff import * from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * akVs3Calomatch = patJetGenJetMatch.clone( src = cms.InputTag("akVs3CaloJets"), matched = cms.InputTag("ak3HiGenJetsCleaned") ) akVs3C...
[ "dgulhan@cern.ch" ]
dgulhan@cern.ch
8f8199b6e1f6dfc54c783f31a9ee7c30b7a68a8b
86c082438a001ba48617aa756439b34423387b40
/src/the_tale/the_tale/accounts/jinjaglobals.py
a2404ff781af031fd621d00f6e3091150a03094c
[ "BSD-3-Clause" ]
permissive
lustfullyCake/the-tale
a6c02e01ac9c72a48759716dcbff42da07a154ab
128885ade38c392535f714e0a82fb5a96e760f6d
refs/heads/master
2020-03-27T21:50:56.668093
2018-06-10T17:39:48
2018-06-10T17:39:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,295
py
# coding: utf-8 from dext.common.utils import jinja2 from the_tale.accounts import logic from the_tale.accounts import conf @jinja2.jinjaglobal def login_page_url(next_url='/'): return jinja2.Markup(logic.login_page_url(next_url)) @jinja2.jinjaglobal def login_url(next_url='/'): return jinja2.Markup(logic....
[ "a.eletsky@gmail.com" ]
a.eletsky@gmail.com
3f0d333958350a92ac434aa6a8017a17d263453d
2d929ed82d53e7d70db999753c60816ed00af171
/Python/http/http_proxy.py
413b48f03f8f201e702d427e39d87f53adca2682
[]
no_license
nyannko/socket-example
b058e68e8d41a8a9f5b6a29108f7de394751c904
934e9791b1ee92f0dd3092bb07541f1e833b4105
refs/heads/master
2021-09-10T19:19:24.590441
2018-03-14T22:13:49
2018-03-14T22:13:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,577
py
# HTTP proxy from http.server import BaseHTTPRequestHandler, HTTPServer from urlpath import URL import socket import urllib HOST = "127.0.0.1" PORT = 8000 # Run `curl -x http://127.0.0.1:8000 http://www.moe.edu.cn' to test proxy class ProxyHandler(BaseHTTPRequestHandler): # GET method def do_GET(self): ...
[ "9638293+nyannko@users.noreply.github.com" ]
9638293+nyannko@users.noreply.github.com
c5ecd02296aa16caffcde786d3ab77fae28405d1
28c598bf75f3ab287697c7f0ff1fb13bebb7cf75
/build/bdist.win32/winexe/temp/OpenSSL.crypto.py
6acfec583072680d7cf8126acf30df4957600e19
[]
no_license
keaysma/solinia_depreciated
4cb8811df4427261960af375cf749903d0ca6bd1
4c265449a5e9ca91f7acf7ac05cd9ff2949214ac
refs/heads/master
2020-03-25T13:08:33.913231
2014-09-12T08:23:26
2014-09-12T08:23:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
def __load(): import imp, os, sys try: dirname = os.path.dirname(__loader__.archive) except NameError: dirname = sys.prefix path = os.path.join(dirname, 'crypto.pyd') #print "py2exe extension module", __name__, "->", path mod = imp.load_dynamic(__name__, path) ## mod.frozen =...
[ "mixxit@soliniaonline.com" ]
mixxit@soliniaonline.com
16e0739edad97ed1235596b5089565cd8efa8f70
5b314502919bd7e12521ad126752d279912cd33d
/prodcons.py
d5e07a09cc1bdc3dcf283f36db18ea8f09ee3142
[ "Apache-2.0" ]
permissive
xshi0001/base_function
68576d484418b4cda8576f729d0b48a90d0258a1
77ed58289151084cc20bfc3328d3ca83e6a19366
refs/heads/master
2020-12-03T02:24:14.694973
2017-06-27T10:51:16
2017-06-27T10:51:16
95,935,169
1
0
null
2017-07-01T01:39:11
2017-07-01T01:39:11
null
UTF-8
Python
false
false
1,533
py
# -*-coding=utf-8 from Queue import Queue from random import randint from MyThread import MyThread from time import sleep def queue_test(q): #q=Queue(10); for i in range(10): temp = randint(1, 10) print temp q.put("number:", temp) print "size of queue is %d" % q.qsize() def w...
[ "jinweizsu@gmail.com" ]
jinweizsu@gmail.com
b4494671f38f7126a6d2398e2a96b7c336e7f55d
2a34a824e1a2d3bac7b99edcf19926a477a157a0
/src/cr/vision/io/videowriter.py
7277eb9220a2e28a1d27d3f2748e3fc3a6ce7fee
[ "Apache-2.0" ]
permissive
carnotresearch/cr-vision
a7cb07157dbf470ed3fe560ef85d6e5194c660ae
317fbf70c558e8f9563c3d0ba3bebbc5f84af622
refs/heads/master
2023-04-10T22:34:34.833043
2021-04-25T13:32:14
2021-04-25T13:32:14
142,256,002
2
0
null
null
null
null
UTF-8
Python
false
false
1,323
py
''' Wrapper for OpenCV video writer ''' import cv2 class VideoWriter: '''Wrapper class for OpenCV video writer''' def __init__(self, filepath, fourcc='XVID', fps=15, frame_size=(640, 480), is_color=True): '''Constructor''' self.filepath = filepath if isinstance(fourcc, str): ...
[ "shailesh@indigits.com" ]
shailesh@indigits.com
a618bd2571db03d8262b8233c0af56287cb540db
50dcaae873badd727e8416302a88f9c0bff0a438
/bookstore/migrations/0002_auto_20170101_0049.py
d3e6f7c0947c25e5f8687afb88146674f49c0239
[]
no_license
jattoabdul/albaitulilm
4ae0dc857509012e8aa5d775cda64305de562251
c5586edaed045fec925a6c0bb1be5e220cbd8d15
refs/heads/master
2021-01-13T00:00:01.397037
2017-02-12T23:32:42
2017-02-12T23:32:42
81,761,579
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-12-31 23:49 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bookstore', '0001_initial'), ] operations = [ migrations.AlterModelOptions(...
[ "jattoade@gmail.com" ]
jattoade@gmail.com
00f65ca762f76f54444ea65692ecde4774dbdecc
d2c88caf05eed0c16db0f592bc876845232e1370
/tccli/services/cr/__init__.py
5c384eca0cc18a816ea88260a5faa51d5439a8be
[ "Apache-2.0" ]
permissive
jaschadub/tencentcloud-cli
f3549a2eea93a596b3ff50abf674ff56f708a3fc
70f47d3c847b4c6197789853c73a50105abd0d35
refs/heads/master
2023-09-01T11:25:53.278666
2022-11-10T00:11:41
2022-11-10T00:11:41
179,168,651
0
0
Apache-2.0
2022-11-11T06:35:51
2019-04-02T22:32:21
Python
UTF-8
Python
false
false
83
py
# -*- coding: utf-8 -*- from tccli.services.cr.cr_client import action_caller
[ "tencentcloudapi@tencent.com" ]
tencentcloudapi@tencent.com
fd5c1bace80b13e13c1a052dd0dcd6ce9afea215
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_340/ch4_2020_03_23_19_22_41_022512.py
4f38805b970b740b4a241620cdc59197c4c64017
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
def idade(x): x=int(input('digite sua idade')) return idade if (idade=<11): print('crianca') if (12<=idade<=17): print('adolescente') if (idade>=18): print ('adulto')
[ "you@example.com" ]
you@example.com
e2db064b4c559a481a1ab0ba635a84b59bd259e2
3e19d4f20060e9818ad129a0813ee758eb4b99c6
/conftest.py
1b0f10a63a7f6eddd9bf25df6187cc5b35adee18
[ "MIT" ]
permissive
ReyvanZA/bitfinex_ohlc_import
07bf85f4de8b0be3dc6838e188160d2b4963f284
6d6d548187c52bcd7e7327f411fab515c83faef1
refs/heads/master
2020-08-11T14:22:15.832186
2019-10-31T17:51:21
2019-11-11T11:33:28
214,579,369
0
0
MIT
2019-11-11T11:33:29
2019-10-12T04:48:12
null
UTF-8
Python
false
false
546
py
import pytest @pytest.fixture def symbols_fixture(): # symbols for testing return [ "btcusd", "ltcbtc", "ethusd" ] def candles_fixture(): return [[ 1518272040000, 8791, 8782.1, 8795.8, 8775.8, 20.01209543 ], [ 1518...
[ "arthur@arthurkoziel.com" ]
arthur@arthurkoziel.com
3943484a0d61c50b4405bc497457b811c4b22f96
8adead984d1e2fd4f36ae4088a0363597fbca8a3
/venv/lib/python3.7/site-packages/gevent/testing/patched_tests_setup.py
3fdef75043869db42b012f8ad15407c4d116d9e0
[]
no_license
ravisjoshi/python_snippets
2590650c673763d46c16c9f9b8908997530070d6
f37ed822b5863a5a11b09550dd32a73d68e7070b
refs/heads/master
2022-11-05T03:48:10.842858
2020-06-14T09:19:46
2020-06-14T09:19:46
256,961,137
1
0
null
null
null
null
UTF-8
Python
false
false
59,511
py
# pylint:disable=missing-docstring,invalid-name,too-many-lines from __future__ import print_function, absolute_import, division import collections import contextlib import functools import sys import os # At least on 3.6+, importing platform # imports subprocess, which imports selectors. That # can expose issues with ...
[ "ravishankar.joshi@centurylink.com" ]
ravishankar.joshi@centurylink.com
5790747bf3bb59cf374317ac2044970705d035fb
3213373f90f10c60667c26a56d30a9202e1b9ae3
/language/orqa/predict/orqa_eval.py
1fe260eb6edd190f0e5df545f0ad78f7fc8a06b0
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
Mistobaan/language
59a481b3ff6a7c7beada2361aef7173fbfd355a4
394675a831ae45ea434abb50655e7975c68a7121
refs/heads/master
2022-11-29T14:10:37.590205
2020-08-13T22:28:13
2020-08-13T22:31:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,448
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors. # # 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 ...
[ "kentonl@google.com" ]
kentonl@google.com
81dbc6da5a67a3c9d1cf4e3e4013b93416329c60
aef08a7c30c80d24a1ba5708f316153541b841d9
/Leetcode 0071. Simplify Path.py
7f9fbb46989a724cd62a68c8396c195fbacddb48
[]
no_license
Chaoran-sjsu/leetcode
65b8f9ba44c074f415a25989be13ad94505d925f
6ff1941ff213a843013100ac7033e2d4f90fbd6a
refs/heads/master
2023-03-19T02:43:29.022300
2020-11-03T02:33:25
2020-11-03T02:33:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,539
py
""" 71. Simplify Path Given an absolute path for a file (Unix-style), simplify it. Or in other words, convert it to the canonical path. In a UNIX-style file system, a period . refers to the current directory. Furthermore, a double period .. moves the directory up a level. Note that the returned canonical path must a...
[ "wangpeng4515@gmail.com" ]
wangpeng4515@gmail.com
631e33fe35bf9b382cc076142b56410f9f925c6f
e60a342f322273d3db5f4ab66f0e1ffffe39de29
/parts/zodiac/pyramid/tests/pkgs/fixtureapp/views.py
a42b58217f01e42d42c80a658be0d1bc8c543933
[]
no_license
Xoting/GAExotZodiac
6b1b1f5356a4a4732da4c122db0f60b3f08ff6c1
f60b2b77b47f6181752a98399f6724b1cb47ddaf
refs/heads/master
2021-01-15T21:45:20.494358
2014-01-13T15:29:22
2014-01-13T15:29:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
/home/alex/myenv/zodiac/eggs/pyramid-1.4-py2.7.egg/pyramid/tests/pkgs/fixtureapp/views.py
[ "alex.palacioslopez@gmail.com" ]
alex.palacioslopez@gmail.com
40d415f635b35add767833905aef591e6990c7bb
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/bgp/bgprtprefixcounthist1year.py
71ca4307f2d3906eb50252edabe8f510d7043377
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
26,082
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
f46600e041a9e3fa1eb90c0961f25917ad284329
e95fc8c562c050f47ecb6fb2639ce3024271a06d
/medium/46.全排列.py
60bd223afd3aaf74a76e0693f8cd590cbe521c1d
[]
no_license
w940853815/my_leetcode
3fb56745b95fbcb4086465ff42ea377c1d9fc764
6d39fa76c0def4f1d57840c40ffb360678caa96e
refs/heads/master
2023-05-25T03:39:32.304242
2023-05-22T01:46:43
2023-05-22T01:46:43
179,017,338
1
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
# # @lc app=leetcode.cn id=46 lang=python3 # # [46] 全排列 # # @lc code=start from typing import List """ result = [] def backtrack(路径, 选择列表): if 满足结束条件: result.add(路径) return for 选择 in 选择列表: 做选择 backtrack(路径, 选择列表) 撤销选择 """ class Solution: def permute(self, num...
[ "ruidong.wang@tsingdata.com" ]
ruidong.wang@tsingdata.com
696b87b0bff7a5bcf494441ef9ff10dbad893cd4
8fd07ea363ba4263bafe25d213c72cc9a93e2b3e
/devops/Day4_json_requests_zabbix-api/zabbix/dingtalk.py
2112181a91ce4aaf534cba9d5b2bc2035ec13296
[]
no_license
ml758392/python_tedu
82e12ae014f0fc81230386fab07f901510fc8837
9f20798604db0ac8cd7b69d8c7a52ee361ebc7a7
refs/heads/master
2020-04-12T08:30:42.354663
2019-03-29T11:55:30
2019-03-29T11:55:30
162,386,878
1
1
null
null
null
null
UTF-8
Python
false
false
821
py
# -*-coding:utf-8-*- import json import requests import sys def send_msg(url, reminders, msg): headers = {'Content-Type': 'application/json;charset=utf-8'} data = { "msgtype": "text", # 发送消息类型为文本 "at": { "atMobiles": reminders, "isAtAll": False, # 不@所有人 }, ...
[ "yy.tedu.cn" ]
yy.tedu.cn
616469de1aec009732d1ae11d1d7737bda848a16
75a2d464d10c144a6226cb5941c86423a1f769cf
/users/views.py
21cc73b926aab722ac47e1f4965cdb0561c47aff
[]
no_license
Swiftkind/invoice
f5543cbe81b6d42e9938470265d7affb56ab83dd
17615ea9bfb1edebe41d60dbf2e977f0018d5339
refs/heads/master
2021-09-07T18:16:01.647083
2018-02-08T08:13:18
2018-02-08T08:13:18
115,474,697
0
3
null
2018-02-27T06:58:42
2017-12-27T02:55:40
Python
UTF-8
Python
false
false
5,494
py
from django.contrib.auth import authenticate, login, logout from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib import messages from django.http import Http404 from django.shortcuts import get_object_or_404, render, redirect from django.views.generic import TemplateView from django.views impor...
[ "michaelpsy71095@gmail.com" ]
michaelpsy71095@gmail.com
df7db5f6cf855b9e25fa5feb01494b88573aacf4
c5458f2d53d02cb2967434122183ed064e1929f9
/sdks/python/test/test_contains_asset_predicate.py
4fe42254ff5b1cf16affd36b2f5c261675e7f2ab
[]
no_license
ross-weir/ergo-node-api-sdks
fd7a32f79784dbd336ef6ddb9702b9dd9a964e75
9935ef703b14760854b24045c1307602b282c4fb
refs/heads/main
2023-08-24T05:12:30.761145
2021-11-08T10:28:10
2021-11-08T10:28:10
425,785,912
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
""" Ergo Node API API docs for Ergo Node. Models are shared between all Ergo products # noqa: E501 The version of the OpenAPI document: 4.0.15 Contact: ergoplatform@protonmail.com Generated by: https://openapi-generator.tech """ import sys import unittest import openapi_client from openapi_cli...
[ "29697678+ross-weir@users.noreply.github.com" ]
29697678+ross-weir@users.noreply.github.com
0c77dbbd8fb08d26e300e02084f0f0fbd2f1fcfe
80c3546d525a05a31d30cc318a44e053efaeb1f1
/tensorpack/dataflow/imgaug/misc.py
7fc983d4c9de61f53efc05459cca5493fcaca5a5
[ "Apache-2.0" ]
permissive
yaroslavvb/tensorpack
0f326bef95699f84376465609b631981dc5b68bf
271ffad1816132c57baebe8a1aa95479e79f4ef9
refs/heads/master
2021-05-03T11:02:22.170689
2018-02-06T08:18:48
2018-02-06T08:18:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,419
py
# -*- coding: UTF-8 -*- # File: misc.py import numpy as np import cv2 from .base import ImageAugmentor from ...utils import logger from ...utils.argtools import shape2d from .transform import ResizeTransform, TransformAugmentorBase __all__ = ['Flip', 'Resize', 'RandomResize', 'ResizeShortestEdge', 'Transpose'] cl...
[ "ppwwyyxxc@gmail.com" ]
ppwwyyxxc@gmail.com
92572d40e11aaec728a9177ec310fa9eb822e9f5
b6f4e527154b82f4e3fa48f06ca53fc15bf08283
/Day02/circle.py
020bf65e82244b1110af1fb98f7a1eaca88e783e
[]
no_license
Light-City/Python-100-Days
74118e36c658db6c897f847e7e554311af036b9d
1fe049a1fe1e64082752d2d32cb75c1a4349cded
refs/heads/master
2020-03-18T12:44:53.191512
2018-05-24T09:49:22
2018-05-24T09:49:22
134,741,794
3
1
null
2018-05-24T16:29:02
2018-05-24T16:29:02
null
UTF-8
Python
false
false
288
py
""" 输入半径计算圆的周长和面积 Version: 0.1 Author: 骆昊 Date: 2018-02-27 """ import math radius = float(input('请输入圆的半径: ')) perimeter = 2 * math.pi * radius area = math.pi * radius * radius print('周长: %.2f' % perimeter) print('面积: %.2f' % area)
[ "jackfrued@126.com" ]
jackfrued@126.com
6df0e64800da4c8a788cf625ac191169d6db205a
5c4852f02b20c5c400c58ff61702a4f35358d78c
/editor_orig.py
6a4e667273bf50ee0537555a81df701903e3eec4
[]
no_license
anovacap/daily_coding_problem
6e11f338ad8afc99a702baa6d75ede0c15f02853
e64a0e76555addbe3a31fd0ca0bb81e2715766d2
refs/heads/master
2023-02-23T11:04:30.041455
2021-01-29T18:10:36
2021-01-29T18:10:36
302,237,546
0
0
null
null
null
null
UTF-8
Python
false
false
2,992
py
class SimpleEditor: def __init__(self, document): self.document = document self.dictionary = set() # On windows, the dictionary can often be found at: # C:/Users/{username}/AppData/Roaming/Microsoft/Spelling/en-US/default.dic with open("/usr/share/dict/words") as input_dictio...
[ "vagrant@localhost.localdomain" ]
vagrant@localhost.localdomain
6b5be029fd1626d37c9b7f3db3aa07efd58e1011
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_123/627.py
28c02feb9a393af2190da5d1cd6130c71872869c
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
__author__ = 'jeff' from collections import deque base = "A-small-attempt2" #base = "A1_test" f = open(base+'.in','r') fout = open(base+'.out','w') t = int(f.readline()) def proc( a, motes): while( len( motes ) and motes[0] < a ): a += motes.popleft() return a max_lev = 100000 for case in range(...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
459e8127e4b5cb873a598644dc79c3d2708b3db1
a9c0a8d815b6453aca945849f3b402f75684bfcb
/project/api/services.py
95d316eb964a262ab8aa954303e31d09a23b1d26
[]
no_license
harrywang/my-flask-tdd-docker
4035b666a3366cd059a3a65c68c7c9ad9b637da3
362c33e7caa3bf35a62cff71f3c567c5e8de1fd2
refs/heads/master
2022-04-13T23:12:04.725775
2020-03-21T18:14:00
2020-03-21T18:14:00
248,801,429
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
# project/api/services.py from project import db from project.api.models import User def get_all_users(): return User.query.all() def get_user_by_id(user_id): return User.query.filter_by(id=user_id).first() def get_user_by_email(email): return User.query.filter_by(email=email).first() def add_user...
[ "harryjwang@gmail.com" ]
harryjwang@gmail.com
5a60d55d408bfb0329da3b0de1b835b729d6aea1
be81eadfe934f3bc12a214e833e375520679b4ca
/src/lib/envs/envGym.py
254f455d9a821bd035c15718f4e986c5a5aba1d2
[ "MIT" ]
permissive
sankhaMukherjee/RLalgos
2bbbabef68ad3bba2d21bc5e5c537db39dbca967
80d19a39af29947db2fc73b0443b9c3bb66d6fc0
refs/heads/master
2022-12-11T14:44:53.946306
2019-06-05T10:10:38
2019-06-05T10:10:38
164,218,142
0
0
MIT
2022-12-08T04:50:46
2019-01-05T13:38:03
Jupyter Notebook
UTF-8
Python
false
false
15,876
py
import gym, sys import numpy as np from collections import deque import itertools as it class Env: '''A convinience function for generating episodes and memories This convinience class generates a context manager that can be used for generating a Gym environment. This is supposed to be a drop-in ...
[ "sankha.mukherjee@gmail.com" ]
sankha.mukherjee@gmail.com
e23633a5a9b66be7ed21624a319c2ac19699c898
81a1c5db1f24a7daf4fe51de499e1aea81d8ea05
/fabfile.py
94155b79ffeb1d48061ee035c7bbca818b7c3f36
[]
no_license
Beomi/azure-django-test
cf0d1fe323a63d9ba2672b8ebea2fc3e170980ce
a811afb62501f2fe245226f9bb94cd51bebc6866
refs/heads/master
2021-06-19T15:53:18.932591
2017-06-08T12:20:34
2017-06-08T12:20:34
null
0
0
null
null
null
null
UTF-8
Python
true
false
6,241
py
from fabric.contrib.files import append, exists, sed, put from fabric.api import env, local, run, sudo import random import os import json PROJECT_DIR = os.path.dirname(os.path.abspath(__file__)) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # deploy.json파일을 불러와 envs변수에 저장합니다. with open(os.pa...
[ "latheledusjp@gmail.com" ]
latheledusjp@gmail.com
5edb0c8e55ee71407031f5baea3676bd34bf5368
28ae42f6a83fd7c56b2bf51e59250a31e68917ca
/tracpro/polls/migrations/0015_issue_region.py
ff1c2937af89c2c8ce646673002fd58356fd1f04
[ "BSD-3-Clause" ]
permissive
rapidpro/tracpro
0c68443d208cb60cbb3b2077977786f7e81ce742
a68a782a7ff9bb0ccee85368132d8847c280fea3
refs/heads/develop
2021-01-19T10:29:48.381533
2018-03-13T12:17:11
2018-03-13T12:17:11
29,589,268
5
10
BSD-3-Clause
2018-02-23T14:43:12
2015-01-21T12:51:24
Python
UTF-8
Python
false
false
575
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('groups', '0004_auto_20150123_0909'), ('polls', '0014_remove_response_is_complete'), ] operations = [ migrations.AddF...
[ "rowanseymour@gmail.com" ]
rowanseymour@gmail.com
6b10d9a5295db113b96722c8b92c968c83079333
ef821468b081ef2a0b81bf08596a2c81e1c1ef1a
/Python OOP/Decorators-Exercise/Cache.py
3630fbd6868ddb28d50316c5fea622d51b440ae5
[]
no_license
Ivaylo-Atanasov93/The-Learning-Process
71db22cd79f6d961b9852f140f4285ef7820dd80
354844e2c686335345f6a54b3af86b78541ed3f3
refs/heads/master
2023-03-30T20:59:34.304207
2021-03-29T15:23:05
2021-03-29T15:23:05
294,181,544
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
def cache(func): def wrapper(n): result = func(n) wrapper.log[n] = result return result wrapper.log = {} return wrapper @cache def fibonacci(n): if n < 2: return n else: return fibonacci(n - 1) + fibonacci(n - 2) fibonacci(3) print(fibonacci.log) fibonacc...
[ "ivailo.atanasov93@gmail.com" ]
ivailo.atanasov93@gmail.com
b8fac3e471ae450389961aa1cb49b4834ce1d6cb
5b565e331073a8b29f997c30b58d383806f7d5a8
/pizzeria/11_env/bin/easy_install-3.7
242566d7d779997c369a8ea2a01c7db939a5250b
[]
no_license
jeongwook/python_work
f403d5be9da6744e49dd7aedeb666a64047b248d
bba188f47e464060d5c3cd1f245d367da37827ec
refs/heads/master
2022-04-02T23:16:57.597664
2020-01-21T08:29:48
2020-01-21T08:29:48
227,506,961
0
0
null
null
null
null
UTF-8
Python
false
false
288
7
#!/Users/jeongwook/Desktop/python/python_work/pizzeria/11_env/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())
[ "jeongwook.yu@utexas.edu" ]
jeongwook.yu@utexas.edu
7d75a5e69d0aeff702d6fe53686e32f47cd01b4e
f1614f3531701a29a33d90c31ab9dd6211c60c6b
/test/menu_sun_integration/handlers/test_status_synchronizer_service.py
207c451856241312424ce76fdbb72a3f98062b7d
[]
no_license
pfpacheco/menu-sun-api
8a1e11543b65db91d606b2f3098847e3cc5f2092
9bf2885f219b8f75d39e26fd61bebcaddcd2528b
refs/heads/master
2022-12-29T13:59:11.644409
2020-10-16T03:41:54
2020-10-16T03:41:54
304,511,679
0
0
null
null
null
null
UTF-8
Python
false
false
3,110
py
import json import os import responses import pytest from menu_sun_api.domain.model.customer.customer import Customer from menu_sun_api.domain.model.order.order import OrderStatusType from menu_sun_api.domain.model.order.order_repository import OrderRepository from menu_sun_api.domain.model.seller.seller import Integ...
[ "pfpacheco@gmail.com" ]
pfpacheco@gmail.com
faf55dcced2172399d37e25d66e39d89868333d0
280049c5d363df840e5a2184002e59625f0af61b
/datastructure11-balancedparanthesischeck.py
26c752c9dfffff64c23a2cf8d5095ae37812d617
[]
no_license
deesaw/DataSPython
853c1b36f7185752613d6038e706b06fbf25c84e
c69a23dff3b3852310f145d1051f2ad1dda6b7b5
refs/heads/main
2023-02-19T13:36:01.547293
2021-01-16T13:15:56
2021-01-16T13:15:56
330,166,053
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 6 12:17:58 2021 @author: deesaw """ def balance_check(s): # Check is even number of brackets if len(s)%2 != 0: return False # Set of opening brackets opening = set('([{') # Matching Pairs matches = set([ ('(',')'), ('[','...
[ "69420960+deesaw@users.noreply.github.com" ]
69420960+deesaw@users.noreply.github.com
adec15e7f10d62c6d1a6c1bca83ce174883b2551
69f47a6e77fc2a1363fc8713ed83d36209e7cf32
/deframed/default.py
997b289bd34920ff3704dc3d241fa7fbc6f6c50e
[]
no_license
smurfix/deframed
f1c4611c597809b53a138b70665430ed080a989d
9c1d4db2991cef55725ac6ecae44af60a96ff4f2
refs/heads/master
2022-07-20T14:08:35.938667
2022-07-14T07:05:43
2022-07-14T07:05:43
259,882,446
24
1
null
null
null
null
UTF-8
Python
false
false
2,184
py
""" This module contains the default values for configuring DeFramed. """ from .util import attrdict __all__ = ["CFG"] CFG = attrdict( logging=attrdict( # a magic incantation version=1, loggers=attrdict( #"asyncari": {"level":"INFO"}, ), root=attrdict( hand...
[ "matthias@urlichs.de" ]
matthias@urlichs.de
e2165c7579217230237b68c6b491e3e20486e06b
c4ea97ae471cd222378684b8dc6be1047836dc85
/src/dedt/dedalusParser.py
9ba5de3d8b1778559ec87925a329aaff254cb7aa
[ "MIT" ]
permissive
KDahlgren/iapyx
b3de26da34ffd7dcc255afd9b70fe58de543711b
260a265f79cd66bf4ea72b0a4837517d460dc257
refs/heads/master
2018-10-01T06:45:15.986558
2018-06-22T01:38:22
2018-06-22T01:38:22
109,737,208
0
1
null
null
null
null
UTF-8
Python
false
false
26,697
py
#!/usr/bin/env python ''' dedalusParser.py Define the functionality for parsing Dedalus files. ''' import inspect, logging, os, re, string, sys, traceback from pyparsing import * import ConfigParser # ------------------------------------------------------ # # import sibling packages HERE!!! if not os.path.abspath...
[ "kdahlgren15@gmail.com" ]
kdahlgren15@gmail.com
f794cd1dae5cb4ed8da0fc22286c5a047b86c2fa
d8a541a2953c9729311059585bb0fca9003bd6ef
/Lists as stack ques/cups_and_bottles.py
efc8af013cd606d663a6539b7b98d2807e6c28fc
[]
no_license
grigor-stoyanov/PythonAdvanced
ef7d628d2b81ff683ed8dd47ee307c41b2276dd4
0a6bccc7faf1acaa01979d1e23cfee8ec29745b2
refs/heads/main
2023-06-10T09:58:04.790197
2021-07-03T02:52:20
2021-07-03T02:52:20
332,509,767
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
from collections import deque cups = deque(map(int, input().split())) bottles = list(map(int, input().split())) wasted_water = 0 while cups and bottles: current_cup = cups.popleft() while current_cup > 0 and bottles: current_bottle = bottles.pop() current_cup -= current_bottle if current_cu...
[ "76039296+codelocks7@users.noreply.github.com" ]
76039296+codelocks7@users.noreply.github.com
1c6ff28e26ea56bf58d2d64410f7f7ccc128b1c3
a51854991671a4389902945578288da34845f8d9
/libs/Utility/__init__.py
413df21a5385589d95b5c2ec9bf735a694a5e504
[]
no_license
wuyou1102/DFM_B2
9210b4b8d47977c50d92ea77791f477fa77e5f83
69ace461b9b1b18a2269568110cb324c04ad4266
refs/heads/master
2020-04-13T18:54:20.045734
2019-06-17T12:46:23
2019-06-17T12:46:23
163,387,873
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
# -*- encoding:UTF-8 -*- from libs.Utility import Logger import Alert as Alert import Random as Random from ThreadManager import append_thread from ThreadManager import is_alive from ThreadManager import query_thread from Common import * import ParseConfig as ParseConfig from Serial import Serial
[ "jotey@qq.com" ]
jotey@qq.com
b9f5b0e85ced88524ab8f2e59229df6b0f93c821
e60a342f322273d3db5f4ab66f0e1ffffe39de29
/parts/zodiac/chameleon/__init__.py
60fbbb344ac3c226ff2ca2148893e72d3fc26add
[]
no_license
Xoting/GAExotZodiac
6b1b1f5356a4a4732da4c122db0f60b3f08ff6c1
f60b2b77b47f6181752a98399f6724b1cb47ddaf
refs/heads/master
2021-01-15T21:45:20.494358
2014-01-13T15:29:22
2014-01-13T15:29:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
/home/alex/myenv/zodiac/eggs/Chameleon-2.13-py2.7.egg/chameleon/__init__.py
[ "alex.palacioslopez@gmail.com" ]
alex.palacioslopez@gmail.com
580dbd15bf43272f28e3f9bd42413a905510cd76
bef304291f5fe599f7a5b713d19544dc0cecd914
/todoapp/todo_list/forms.py
9fe1a617dd0f429fc6c8b3c1fa6885fee975c262
[]
no_license
coderj001/django-todo-and-air-quality
9ca847143ea86677a0d54026c060638fabf8c042
012ee15fa3cfbf1aa08ae4513c3bf4fa828b3ba3
refs/heads/master
2020-12-14T20:20:49.845722
2020-01-19T15:06:42
2020-01-19T15:06:42
234,855,834
0
1
null
null
null
null
UTF-8
Python
false
false
147
py
from django import forms from .models import ToDoList class ListForm(forms.ModelForm): class Meta: model=ToDoList fields=['item','completed']
[ "amirajubolchi001@gmail.com" ]
amirajubolchi001@gmail.com
6b2843c0a678ffe8be10b0d147adee1740dc58da
a5f8eb72e680a906f74ae53d2b6428fbb008320c
/31-zip.py
a48620bb23a58f1ecfdebf53d239f9cf71d077e5
[]
no_license
arn1992/Basic-Python
0588858aed632ac9e65e5618d5b57bcbe71c45bc
09b9bf2364ddd2341f95445e18868e2e0904604d
refs/heads/master
2020-06-28T18:35:32.394730
2016-12-15T07:21:33
2016-12-15T07:21:33
74,483,622
1
0
null
null
null
null
UTF-8
Python
false
false
127
py
first=['ratul','aminur','arn'] last=['tasneem','ishrar'] names=zip(first,last) for a,b in names: print(a,b)
[ "noreply@github.com" ]
arn1992.noreply@github.com
9b500090e5537a2b729caa78d0590d8753bbca89
b92adbd59161b701be466b3dbeab34e2b2aaf488
/.c9/metadata/environment/fb_post_learning/fb_post_clean_arch/views/delete_post/api_wrapper.py
34ca1ee1bb0f47da7e80c5643b393f16129c97b8
[]
no_license
R151865/cloud_9_files
7486fede7af4db4572f1b8033990a0f07f8749e8
a468c44e9aee4a37dea3c8c9188c6c06e91cc0c4
refs/heads/master
2022-11-22T10:45:39.439033
2020-07-23T09:31:52
2020-07-23T09:31:52
281,904,416
0
1
null
2022-11-20T00:47:10
2020-07-23T09:08:48
Python
UTF-8
Python
false
false
480
py
{"filter":false,"title":"api_wrapper.py","tooltip":"/fb_post_learning/fb_post_clean_arch/views/delete_post/api_wrapper.py","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":17,"column":17},"end":{"row":17,"column":75},"isBackwards":true},"optio...
[ "r151865@rguktrkv.ac.in" ]
r151865@rguktrkv.ac.in
90352a180e75d18219b8cba394d4d2b8f03de187
aa0270b351402e421631ebc8b51e528448302fab
/sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/operations/_spark_configuration_operations.py
9d5b1194a4b1cae79ac490bbe3402239b826e729
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
33,298
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
d1877db7913e58c396ec934ebb1dc1c993bcbbb5
892dd32ee0be7135cd33c875b06dcc66307dcc99
/automation/MPTS/verifyIqn.py
b82a09a932deb898ea00bc911d3867e80a4c52da
[]
no_license
cloudbytestorage/devops
6d21ed0afd752bdde8cefa448d4433b435493ffa
b18193b08ba3d6538277ba48253c29d6a96b0b4a
refs/heads/master
2020-05-29T08:48:34.489204
2018-01-03T09:28:53
2018-01-03T09:28:53
68,889,307
4
8
null
2017-11-30T08:11:39
2016-09-22T05:53:44
Python
UTF-8
Python
false
false
5,429
py
import json import sys import time from time import ctime from cbrequest import configFile, executeCmd, executeCmdNegative, resultCollection, getoutput config = configFile(sys.argv); stdurl = 'https://%s/client/api?apikey=%s&response=%s&' %(config['host'], config['apikey'], config['response']) negativeFlag = 0 if len...
[ "karthik.s@cloudbyte.com" ]
karthik.s@cloudbyte.com
3fccf4fa9600a4a3e7b07d4b28660e603bcef30e
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/triangle/0296cbe043e446b8b9365e20fb75c136.py
18e84ab880631f7510539ae77e9524b0eda2b632
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
621
py
# represents a triangle class Triangle(object): _kinds=["equilateral","isosceles","scalene"] def __init__(self,a,b,c): if a<=0 or b<=0 or c<=0: raise TriangleError("Triangles cannot have zero or negative side length.") if a+b<=c or a+c<=b or b+c<=a: raise TriangleError("Triangles must satisfy the t...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
748f97751e80a2258b78d59ce4a378db9a54d1b5
b743a6b89e3e7628963fd06d2928b8d1cdc3243c
/bpl_client/Client.py
c9143098c648f30df369d458d22b99d0e6d61a3a
[ "MIT" ]
permissive
DuneRoot/bpl-cli
847248d36449181856e6cf34a18119cd9fc1b045
3272de85dd5e4b12ac5b2ad98bf1e971f3bf5c28
refs/heads/master
2020-03-25T17:42:06.339501
2019-02-20T19:20:26
2019-02-20T19:20:26
143,990,801
3
0
null
null
null
null
UTF-8
Python
false
false
1,781
py
""" BPL Client Usage: bpl-cli network config new bpl-cli network config use bpl-cli network config show bpl-cli network peers bpl-cli network status bpl-cli account create bpl-cli account status <address> bpl-cli account transactions <address> bpl-cli account send <amount> <recipient> bpl-cli accou...
[ "johnyob132@gmail.com" ]
johnyob132@gmail.com
aa43f40b58364ba1f55d60b52c75f3e4b4bbfeb9
7136e5242793b620fa12e9bd15bf4d8aeb0bfe7a
/examples/adspygoogle/dfp/v201101/get_licas_by_statement.py
9086f2f5d7006a77c1a7b578138725bf4db3479b
[ "Apache-2.0" ]
permissive
hockeyprincess/google-api-dfp-python
534519695ffd26341204eedda7a8b50648f12ea9
efa82a8d85cbdc90f030db9d168790c55bd8b12a
refs/heads/master
2021-01-10T10:01:09.445419
2011-04-14T18:25:38
2011-04-14T18:25:38
52,676,942
0
0
null
null
null
null
UTF-8
Python
false
false
2,266
py
#!/usr/bin/python # # Copyright 2011 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 b...
[ "api.sgrinberg@7990c6e4-1bfd-11df-85e6-9b4bd7dd5138" ]
api.sgrinberg@7990c6e4-1bfd-11df-85e6-9b4bd7dd5138
405974db9681a1efc9bb65d55fa0ae64ee33d230
94470cf07f402b1c7824e92a852cd3203f94ac4a
/polls/apiviews.py
6f6ca88b9da4638cbf0f4888e4305f24fa9ffee5
[]
no_license
jbeltranleon/pollsapi_django_rest
c509bf0b0c1e2db870ed8a4aaa1647bf74c5f8cd
0855820541064ffd77dbd1c6e77f695d4f18e517
refs/heads/master
2020-04-14T17:55:02.364183
2019-01-04T16:01:46
2019-01-04T16:01:46
163,999,126
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
from rest_framework import generics from rest_framework.views import APIView from rest_framework import status from rest_framework.response import Response from .models import Poll, Choice from .serializers import PollSerializer, ChoiceSerializer,\ VoteSerializer class PollList(generics.ListCreateAPIView): q...
[ "jbeltranleon@gmail.com" ]
jbeltranleon@gmail.com
cdf669514aaf2c1d7c33248746135d7b0232f29f
184ab7b1f5d6c4a4382cf4ffcf50bbad0f157ef1
/library/aht10/aht10_example.py
46df77a8a71666025fda1409a3c5b7ebdbed9497
[]
no_license
RT-Thread/mpy-snippets
fdd257bb9f44cdc92e52cd39cdc88a57d736fb26
9296d559da275f51845cb9c2f8e2010f66f72cc1
refs/heads/master
2023-06-14T02:20:05.449559
2020-06-03T02:34:47
2020-06-03T02:35:19
198,854,793
28
18
null
2020-05-06T11:32:46
2019-07-25T15:14:56
Python
UTF-8
Python
false
false
517
py
from machine import I2C, Pin from aht10 import AHT10 PIN_CLK = 54 # PD6, get the pin number from get_pin_number.py PIN_SDA = 33 # PC1 clk = Pin(("clk", PIN_CLK), Pin.OUT_OD) # Select the PIN_CLK as the clock sda = Pin(("sda", PIN_SDA), Pin.OUT_OD) # Select the PIN_SDA as the data line i2c = I2C(-1, clk, sda,...
[ "SummerGift@qq.com" ]
SummerGift@qq.com
e2e44ffd1b8897513aaba446dd704ac14b2c5945
35dbd536a17d7127a1dd1c70a2903ea0a94a84c2
/src/sentry_plugins/sessionstack/client.py
2c50f1bafe960bbe0331c77cff05e234168642de
[ "Apache-2.0", "BUSL-1.1" ]
permissive
nagyist/sentry
efb3ef642bd0431990ca08c8296217dabf86a3bf
d9dd4f382f96b5c4576b64cbf015db651556c18b
refs/heads/master
2023-09-04T02:55:37.223029
2023-01-09T15:09:44
2023-01-09T15:09:44
48,165,782
0
0
BSD-3-Clause
2022-12-16T19:13:54
2015-12-17T09:42:42
Python
UTF-8
Python
false
false
4,683
py
import requests from sentry.http import safe_urlopen from sentry.utils import json from .utils import add_query_params, get_basic_auth, remove_trailing_slashes ACCESS_TOKEN_NAME = "Sentry" DEFAULT_SENTRY_SOURCE = "sentry" API_URL = "https://api.sessionstack.com" PLAYER_URL = "https://app.sessionstack.com/player" W...
[ "noreply@github.com" ]
nagyist.noreply@github.com
3a4928e43a8d2eb7a9e58b5e4c3c04eee176b3f5
0798277f2706998ab80442ac931579eb47f676e5
/bin/metric-markdown
ed615b4e0809a60c37d486fe5df8f258f20d47d9
[ "Apache-2.0" ]
permissive
isabella232/pulse-api-cli
49ed38b0694ab289802f69ee6df4911cf3378e3f
b01ca65b442eed19faac309c9d62bbc3cb2c098f
refs/heads/master
2023-03-18T00:23:15.295727
2016-05-13T15:44:08
2016-05-13T15:44:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
817
#!/usr/bin/env python # # Copyright 2015 BMC Software, Inc. # # 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 applicabl...
[ "davidg@boundary.com" ]
davidg@boundary.com
95d38eb622dd57ea6cf2bba55e5202edeb6e0e3b
43ff15a7989576712d0e51f0ed32e3a4510273c0
/tools/pocs/bugscan/exp_679.py
798104fb95f83ba1ff04752dfd711df064cc3623
[]
no_license
v1cker/kekescan
f2b51d91a9d6496e2cdc767eb6a600171f513449
3daa1775648439ba9e0003a376f90b601820290e
refs/heads/master
2020-09-19T16:26:56.522453
2017-06-15T02:55:24
2017-06-15T02:55:24
94,495,007
6
3
null
null
null
null
UTF-8
Python
false
false
1,954
py
# -*- coding: utf-8 -*- from dummy import * from miniCurl import Curl curl = Curl() # !/usr/bin/dev python # -*- coding:utf-8 -*- """ reference: http://www.wooyun.org/bugs/wooyun-2015-0104157 http://www.beebeeto.com/pdb/poc-2015-0086/ """ import re import urllib import urllib2 import base64 import r...
[ "liyueke@huobi.com" ]
liyueke@huobi.com
4aff36fdb71b2bbc4fd29e2773506848f06a1fd6
8a7d5d67052892dd5d2a748282958f6244d963c6
/google-cloud-sdk/lib/surface/app/domain_mappings/delete.py
32842caf145b27ecec1a4e5410e7656b9643a037
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KisleK/capstone
7d1d622bd5ca4cd355302778a02dc6d32ed00c88
fcef874f4fcef4b74ca016ca7bff92677673fded
refs/heads/master
2021-07-04T03:29:44.888340
2017-07-24T16:16:33
2017-07-24T16:16:33
93,699,673
0
2
null
2020-07-24T22:44:28
2017-06-08T02:34:17
Python
UTF-8
Python
false
false
1,812
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "kisle.kuhn1@gmail.com" ]
kisle.kuhn1@gmail.com
7f7bc5dacb84f4e18c258d76fd91a9bb8cc3af3b
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/12/23/12.py
da0396d4cf15e8267cd6d9041247bc41bc9c3b63
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
1,511
py
# -*- coding:utf-8 -*- import os, itertools curr_dir = os.path.dirname(os.path.abspath(__file__)) srcfilename = os.path.join(curr_dir, 'C-large.in') dstfilename = os.path.join(curr_dir, 'output.txt') def solve(numbers_): numbers = sorted(numbers_) memory = dict((k, [k]) for k in numbers) for r in xrange(2...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
0716ae0a297c478efb4cabc07dd95d1ade9b0765
0c85cba348e9abace4f16dfb70531c70175dac68
/cloudroast/networking/networks/api/security_groups/test_security_groups_quotas.py
711c5f5a1d12b995b33e7c5f496a7e31ad6fa4c0
[ "Apache-2.0" ]
permissive
RULCSoft/cloudroast
31157e228d1fa265f981ec82150255d4b7876af2
30f0e64672676c3f90b4a582fe90fac6621475b3
refs/heads/master
2020-04-04T12:20:59.388355
2018-11-02T21:32:27
2018-11-02T21:32:27
155,923,262
1
0
null
null
null
null
UTF-8
Python
false
false
7,301
py
""" Copyright 2015 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dist...
[ "leonardo.maycotte@rackspace.com" ]
leonardo.maycotte@rackspace.com
d9f0bd32c021cff6d85d2b4c86f7c6a119a3be14
0912be54934d2ac5022c85151479a1460afcd570
/Ch07_Code/GUI_MySQL.py
cf54d12400d1045cffa7dcdeaa05f864343ff849
[ "MIT" ]
permissive
actuarial-tools/Python-GUI-Programming-Cookbook-Third-Edition
6d9d155663dda4450d0b180f43bab46c24d18d09
8c9fc4b3bff8eeeda7f18381faf33c19e98a14fe
refs/heads/master
2023-01-31T13:11:34.315477
2020-12-15T08:21:06
2020-12-15T08:21:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,876
py
''' Created on May 29, 2019 @author: Burkhard ''' #====================== # imports #====================== import tkinter as tk from tkinter import ttk from tkinter import scrolledtext from tkinter import Menu from tkinter import Spinbox from Ch07_Code.ToolTip import ToolTip from threading import Thread...
[ "noreply@github.com" ]
actuarial-tools.noreply@github.com
47b06042aeb032ae4e939d3b48da59ba5b47905c
ce083128fa87ca86c65059893aa8882d088461f5
/python/flask-webservices-labs/flask-spyne-fc20-labs/examples-fc20-labs/.venv/bin/pserve
aa6ac24579b1b2bb05f169edd556d6441a8b4c09
[]
no_license
marcosptf/fedora
581a446e7f81d8ae9a260eafb92814bc486ee077
359db63ff1fa79696b7bc803bcfa0042bff8ab44
refs/heads/master
2023-04-06T14:53:40.378260
2023-03-26T00:47:52
2023-03-26T00:47:52
26,059,824
6
5
null
2022-12-08T00:43:21
2014-11-01T18:48:56
null
UTF-8
Python
false
false
325
#!/root/NetBeansProjects/fedora/python/flask-webservices-labs/flask-spyne-fc20-labs/examples-fc20-labs/.venv/bin/python # -*- coding: utf-8 -*- import re import sys from pyramid.scripts.pserve import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(mai...
[ "marcosptf@yahoo.com.br" ]
marcosptf@yahoo.com.br
0fdeff39871fc700ab63276af189ae59086ca209
9025fc04844a202f00e691728c87eb10906e87c3
/Python/3/hue.py
47ddef65c29489500d3964a4d7a381559351461c
[]
no_license
felipemarinho97/online-judge-exercices
e046e3fd951f4943c43e199f557d96f82d8ed286
28cff9b31431e1c1edeeba0b66689e871491ac0a
refs/heads/master
2021-01-20T00:33:09.782364
2017-04-23T15:19:04
2017-04-23T15:19:04
89,148,286
0
0
null
2017-04-23T15:21:01
2017-04-23T14:34:29
Python
UTF-8
Python
false
false
580
py
# coding: utf-8 # Melhor Ataque # Felipe Marinho (C) | 116110223 | <felipe.marinho@ccc.ufcg.edu.br> times = int(raw_input()) lista_times = [] lista_gols = [] total_gols = 0 maior = -1 for i in range(times) : time = raw_input() lista_times.append(time) gols = int(raw_input()) lista_gols.append(gols) total_gols += ...
[ "felipevm97@gmail.com" ]
felipevm97@gmail.com
0d68ac6e207b37d788e51c89ec289b18727b302d
c22c83592571b64c3da4a3f3c4d1bbaaee50a318
/encryption.py
ea49016c24dde788787f3a42249522bd0f17076a
[]
no_license
tt-n-walters/thebridge-week1
eaef2887122dd4f778ab94ab3c819f1e63a1985f
8598125af12b21794e93f09407984009c36aaf25
refs/heads/master
2023-06-16T14:31:45.955254
2021-07-09T12:14:40
2021-07-09T12:14:40
382,301,941
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
import hashlib password = "password1" encoded_password = password.encode() encrypted = hashlib.sha256(encoded_password).hexdigest() # https://resources.nicowalters.repl.co/hash
[ "nico.walters@techtalents.es" ]
nico.walters@techtalents.es
ccfd104c316ff6d373be371b1562c7625f50c37c
41f09c4f9990f8d2ce57aef92be1580f8a541656
/show_lbiflist.py
69778715a9ac37d8e3b06516f36e4ea83cfb6002
[]
no_license
jebpublic/pybvccmds
d3111efe6f449c3565d3d7f1c358bdd36bc1a01a
997eead4faebf3705a83ce63b82d853730b23fbf
refs/heads/master
2016-09-05T18:56:52.509806
2015-02-25T17:41:47
2015-02-25T17:41:47
31,315,416
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
#!/usr/bin/python import sys import json import pybvc from pybvc.netconfdev.vrouter.vrouter5600 import VRouter5600 from pybvc.common.status import STATUS from pybvc.controller.controller import Controller from pybvc.common.utils import load_dict_from_file if __name__ == "__main__": f = "cfg.yml" d = {} ...
[ "jeb@elbrys.com" ]
jeb@elbrys.com
17aec2e9e4241eb7c8589ae7042a57c2077d973f
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/xpu/test_reduce_max_op_xpu.py
9256b135ba8d04c2c3984633b176dd0a68c66765
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
2,573
py
# Copyright (c) 2020 PaddlePaddle Authors. 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 app...
[ "noreply@github.com" ]
Qengineering.noreply@github.com
95f07028ed1317b33c687e3f152ed408d54accea
0d2f636592dc12458254d793f342857298c26f12
/11-2(tag).py
1baa801108cd7920160b82b12b955e92548f7030
[]
no_license
chenpc1214/test
c6b545dbe13e672f11c58464405e024394fc755b
8610320686c499be2f5fa36ba9f11935aa6d657b
refs/heads/master
2022-12-13T22:44:41.256315
2020-09-08T16:25:49
2020-09-08T16:25:49
255,796,035
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
def mymax(n1,n2): if n1 > n2: print("較大值是 : ", n1) else: print("較大值是 : ", n2) x1,x2 = eval(input("請輸入2個數值:")) mymax(x1,x2) """自己做的 def mymax(n1,n2): print("最大值為:",max(n1,n2)) a = input("請輸入2個數值:") mymax(a,b)"""
[ "kkbuger1523@gmail.com" ]
kkbuger1523@gmail.com
b8fd4f4290f8a0877f2b1b3efb49106e25a3f001
43ab33b2f50e47f5dbe322daa03c86a99e5ee77c
/rcc/models/od_mcomplex_type_definition_method_def.py
07a0da5592495c471d676699b1ab4f6c2e885f62
[]
no_license
Sage-Bionetworks/rcc-client
c770432de2d2950e00f7c7bd2bac22f3a81c2061
57c4a621aecd3a2f3f9faaa94f53b2727992a01a
refs/heads/main
2023-02-23T05:55:39.279352
2021-01-21T02:06:08
2021-01-21T02:06:08
331,486,099
0
0
null
null
null
null
UTF-8
Python
false
false
7,896
py
# coding: utf-8 """ nPhase REST Resource REDCap REST API v.2 # noqa: E501 The version of the OpenAPI document: 2.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from rcc.configuration import Configuration class ODMcomplexTypeDefinitionMethodD...
[ "thomas.yu@sagebase.org" ]
thomas.yu@sagebase.org
95edf831f37b676ba3fb2731a59d15664766b478
3c099a78896ca4b775d28fccf38c2bfdf6a1a555
/zMiscellaneous/WebScraping/ScrapingEcommerce.py
91e6ae08778622a1632ba801532cb50101916bff
[]
no_license
anmolparida/selenium_python
db21215837592dbafca5cced7aecb1421395ed41
78aec8bf34d53b19fb723a124ad13342c6ce641c
refs/heads/master
2022-12-03T23:52:32.848674
2020-08-30T19:26:30
2020-08-30T19:26:30
282,207,788
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
import requests from bs4 import BeautifulSoup # Getting Value from the First Page url = 'https://scrapingclub.com/exercise/list_basic/?page=1' response = requests.get(url) soup = BeautifulSoup(response.text, 'lxml') items = soup.find_all('div', class_='col-lg-4 col-md-6 mb-4') count = 0 for i in items: ...
[ "anmolparida@gmail.com" ]
anmolparida@gmail.com
6bdee705a979426573bc0d836de6cc21f8c69502
a14dd601cde67f67d0ba38dfd1362f7c0109cef1
/graphs/past/perfect-friends.py
84d3237c7bc95823da7474a6ccbd297330ad8192
[]
no_license
Meaha7/dsa
d5ea1615f05dae32671af1f1c112f0c759056473
fa80219ff8a6f4429fcf104310f4169d007af712
refs/heads/main
2023-09-03T18:52:41.950294
2021-11-05T09:14:42
2021-11-05T09:14:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
from collections import defaultdict from graphs.util import build def dfs(graph, src, vis): vis.add(src) count = 1 for nbr in graph[src]: if nbr not in vis: count += dfs(graph, nbr, vis) return count def main(edges): graph, vis = build(edges), set() csl = [] for src i...
[ "nikhilgoyal104ah4@gmail.com" ]
nikhilgoyal104ah4@gmail.com
d47d43472d31e0e542659aeb3cc520cb97087223
1643a5a0d1acd3bdc851718c223ba0b14bbec1c3
/backend/rn_push_notificatio_27417/settings.py
0f648a30594df5a74b623cf3269344d5cfcda383
[]
no_license
crowdbotics-apps/rn-push-notificatio-27417
90c614ad558b2810e2b2cfe55e2dae7b97f1359e
ea9c37615be4e9e872a63d226562e4ca7bc2b6c5
refs/heads/master
2023-05-23T06:29:28.261563
2021-05-27T12:29:04
2021-05-27T12:29:04
370,993,920
0
1
null
null
null
null
UTF-8
Python
false
false
7,141
py
""" Django settings for rn_push_notificatio_27417 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
919204b02732c69b3cdce838f4f06670d71c72c5
5c5e7b03c3373e6217665842f542ca89491290ff
/2015/day25.py
cb3f0bf727f854fd9f2f893b07c4884439f6ee3e
[]
no_license
incnone/AdventOfCode
9c35214e338e176b6252e52a25a0141a01e290c8
29eac5d42403141fccef3c3ddbb986e01c89a593
refs/heads/master
2022-12-21T21:54:02.058024
2022-12-15T17:33:58
2022-12-15T17:33:58
229,338,789
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from getinput import get_input from util import ncr def get_idx(row, col): if row == col == 1: return 1 return ncr(row+col-1, 2) + col def get_val(row, col): mod = 33554393 rat = 252533 startval = 20151125 return startval*pow(rat, get_idx(row, col)-1, mod) % mod def parse_input(s):...
[ "incohatus.none+git@gmail.com" ]
incohatus.none+git@gmail.com
5bb05fab43f5353a702c4e9a5694f8f08030eda9
c74f234dc478b49f367106b414df2473ac35b93c
/mysite/polls/urls.py
5c7dd5797f18fd2607e2b916de5c2ac36d13007c
[]
no_license
Richiewong07/Django
05994f552cea2cb612c6c1957a0a9a39605fdf5c
09ac06a60c623d79bb8ecafd014ac7dbc74e8535
refs/heads/master
2021-04-15T14:00:00.394201
2018-03-24T00:34:15
2018-03-24T00:34:15
126,238,394
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
from django.conf.urls import url from . import views urlpatterns = [ # r^$ MEANS DON'T ADD ANYTHING TO OUR URL # views.index IS WHAT YOU WANT TO DISPLAY # 127.0.0.1/polls/ url(r'^$', views.index, name="index"), # SET QUESTION_ID TO A NUMBER # 127.0.0.1/polls/1 url(r'^(?P<question_id>[0-9...
[ "richiewong07@yahoo.com" ]
richiewong07@yahoo.com
7b76e148b73b644e42f7a1abb259e77dad11fdcc
4f4c2e5a8a71a2058069b90eb75e11b1ec80efa9
/euler/Problem_38-Pandigital_multiples.py
3b25e4c08a2411b5567f23fe50c40e8e254addf0
[]
no_license
mingyyy/dataquest_projects
20e234f1d0d3dd8be1f0202b7ed3bce172474e38
885ffe4338300cb9c295f37f6140c50ff3b72186
refs/heads/master
2022-12-11T17:25:44.053404
2020-01-10T09:24:28
2020-01-10T09:24:28
190,170,724
0
0
null
2022-12-08T05:55:21
2019-06-04T09:29:53
Jupyter Notebook
UTF-8
Python
false
false
525
py
""" Take the number 192 and multiply it by each of 1, 2, and 3: By concatenating each product we get the 1 to 9 pandigital, 192384576. We will call 192384576 the concatenated product of 192 and (1,2,3) The same can be achieved by starting with 9 and multiplying by 1, 2, 3, 4, and 5, giving the pandigital, 918273645, w...
[ "j.yanming@gmail.com" ]
j.yanming@gmail.com