blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
13d7db7aaca6f9e6a63202ca06de69f98a608bf5
002c14cd622b4890cce1c243065cebe39e2302ec
/CodingInterview2/24_ReverseList/reverse_list.py
7299f43b46d7e486ee7a35d5b50c38ccae52c3da
[ "MIT" ]
permissive
hscspring/The-DataStructure-and-Algorithms
6200eba031eac51b13e320e1fc9f204644933e00
e704a92e091f2fdf5f27ec433e0e516ccc787ebb
refs/heads/master
2022-08-29T18:47:52.378884
2022-08-25T16:22:44
2022-08-25T16:22:44
201,743,910
11
3
MIT
2021-04-20T18:28:47
2019-08-11T09:26:34
Python
UTF-8
Python
false
false
1,502
py
""" 面试题 24:反转链表 题目:定义一个函数,输入一个链表的头结点,反转该链表并输出反转后链表的 头结点。 """ class Node: def __init__(self, val): self.val = val self.next = None def list2link(lst): root = Node(None) ptr = root for i in lst: ptr.next = Node(i) ptr = ptr.next return root.next def link2list(root: ...
[ "haoshaochun@gmail.com" ]
haoshaochun@gmail.com
9d003c26a99d9d7036d763b8aadcaa977689f9bc
fc24e89a0127acd8dac7d9357268e446cea66f59
/app/__init__.py
884fc9c3145181a34af1532607449ac33502e9e9
[]
no_license
JamesMusyoka/Watch-list
10e08d05a9ae5436629fcd8efcb320de8c943821
0070e66de152f77c828fc8eb08e25aa720cceac7
refs/heads/master
2022-12-24T02:04:02.825901
2020-10-06T20:17:55
2020-10-06T20:17:55
168,703,432
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
from flask import Flask from flask_bootstrap import Bootstrap from .config import DevConfig # Initializing application app = Flask(__name__,instance_relative_config = True) # Setting up configuration app.config.from_object(DevConfig) app.config.from_pyfile("config.py") # Initializing Flask Extensions bootstrap = Boo...
[ "jamesmu475@gmail.com" ]
jamesmu475@gmail.com
1a354b4773439ab02e2f24b309f7819104ba2030
795854ea2d73a5da0114694cd0a232d1f4589b5a
/users/migrations/0003_delete_profile.py
7d757713350d36a25ee1abccbecdb21f856c0a81
[]
no_license
JEENUMINI/recipeclassbasedview
fe0ec63af261f53eb765064ab9ec82bb40d5a969
ced076d71e6a7cbe9790270b7efa1cbc4a5390a8
refs/heads/master
2023-02-02T09:52:02.702351
2020-12-24T18:51:59
2020-12-24T18:51:59
323,711,461
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
# Generated by Django 3.1.3 on 2020-12-24 18:45 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0002_profilemodel'), ] operations = [ migrations.DeleteModel( name='Profile', ), ]
[ "mini13.1994@gmail.com" ]
mini13.1994@gmail.com
65ebf528c07a7855bcfc0136dcc061fdaf19a5fc
fa841ab3564e0e0fd6065201846fb6f305c43719
/installation/utils.py
c4c988bcfdf3973234bec2b36d1090821a0aadb1
[]
no_license
suipnice/Jalon
dc008232baba6c1295cb8a6d6001147e22e03c2a
bc003d10ed15d6ecc5f15fdb3809e9dd53b568bd
refs/heads/master
2021-01-08T05:46:55.757385
2016-06-13T11:58:31
2016-06-13T11:58:31
241,926,067
0
0
null
null
null
null
UTF-8
Python
false
false
3,950
py
from datetime import datetime from DateTime.DateTime import DateTime from dateutil.parser import parse as dateparse from Products.CMFCore.utils import getToolByName from Products.CMFPlone import PloneLocalesMessageFactory as _locales from Products.CMFPlone import PloneMessageFactory as _plone from Products.Ploneboard.i...
[ "bordonad@unice.fr" ]
bordonad@unice.fr
569a3d223c7cb6f6f0df86ab3966d52d3518a40a
159a2e75ff6cc7c0b58741c25636b83410e42bc7
/数据结构与算法/合并排序merge_sort.py
86619f34a4cd6b4984dd3097ff78ee7ec165ac3d
[]
no_license
articuly/python_study
e32ba6827e649773e5ccd953e35635aec92c2c15
b7f23cdf3b74431f245fe30c9d73b4c6910b1067
refs/heads/master
2020-11-24T04:20:35.131925
2020-09-10T08:21:06
2020-09-10T08:21:06
227,961,859
3
1
null
null
null
null
UTF-8
Python
false
false
859
py
# coding:utf-8 import random def merge_sort(lst): if len(lst) <= 1: return lst middle = len(lst) // 2 left_lst = [] right_lst = [] for i in lst[:middle]: if i <= lst[middle]: left_lst.append(i) else: right_lst.append(i) for i in lst[middle + 1:]:...
[ "articuly@gmail.com" ]
articuly@gmail.com
6a44cc3eece0be757f14a78b85ad67a7506e8ed1
e53ed2cc0babec5c52ad4b8691ff32c74a57f019
/prototype/wsgi/django.wsgi
959df017cf49fb95052a0e46d17db55149fdfbb8
[ "MIT", "CC-BY-4.0" ]
permissive
NYPL/gazetteer
bf28f12c53b896acc1f805175106ccb42a71cbe1
708035e8d2299e70a6d3cecce40970242673426c
refs/heads/master
2016-09-05T18:21:15.027147
2015-02-03T19:54:32
2015-02-03T19:54:32
18,560,844
5
1
null
null
null
null
UTF-8
Python
false
false
768
wsgi
# django.wsgi for gazetteer import os import sys import site project_module = 'prototype' root_dir = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__), '../..'))) #using virtualenv's activate_this.py to reorder sys.path activate_this = os.path.join(root_dir, 'bin', 'activate_this.py') execfile...
[ "b@pad.ma" ]
b@pad.ma
f2a7b25271e5666777304dc9ae8ea519aeea7e14
64ed77abebb2ebab52ac0668c1639bfd79ec05d1
/uploads/urls.py
00c90287a6fc76f22881bbffa111853e3ef6032e
[ "MIT" ]
permissive
tiagocordeiro/estudio-abc
731058582ee8d76366b9208687bbb906dcbca680
1f48d785063717ddc3b17b32df342b9eec7dbd32
refs/heads/master
2023-09-01T17:51:12.449297
2021-05-07T00:06:21
2021-05-13T17:16:15
140,905,450
0
0
MIT
2023-09-11T17:53:56
2018-07-14T01:08:22
HTML
UTF-8
Python
false
false
191
py
from django.urls import path from . import views urlpatterns = [ path('upload/', views.model_form_upload, name='uploads'), path('list-files/', views.arquivos, name='list_files'), ]
[ "tiago@mulhergorila.com" ]
tiago@mulhergorila.com
78e7cd590afac746961274a42957f2802356d876
9b2eb0d6b673ac4945f9698c31840b847f790a58
/pkg/apteco_api/models/version_details.py
1d091491980802ad0a985957a993b65b589cc0e1
[ "Apache-2.0" ]
permissive
Apteco/apteco-api
6d21c9f16e58357da9ce64bac52f1d2403b36b7c
e8cf50a9cb01b044897025c74d88c37ad1612d31
refs/heads/master
2023-07-10T23:25:59.000038
2023-07-07T14:52:29
2023-07-07T14:52:29
225,371,142
2
0
null
null
null
null
UTF-8
Python
false
false
3,558
py
# coding: utf-8 """ Apteco API An API to allow access to Apteco Marketing Suite resources # noqa: E501 The version of the OpenAPI document: v2 Contact: support@apteco.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from apteco_api.configu...
[ "tim.morris@apteco.com" ]
tim.morris@apteco.com
d0effd8a6732f9e7257665ad5ac55ee41da609ef
951a84f6fafa763ba74dc0ad6847aaf90f76023c
/P3/Solu5062__1167.py
edc270ced15fa3f1fbe7a74d67cd402e0023caf4
[]
no_license
SakuraGo/leetcodepython3
37258531f1994336151f8b5c8aec5139f1ba79f8
8cedddb997f4fb6048b53384ac014d933b6967ac
refs/heads/master
2020-09-27T15:55:28.353433
2020-02-15T12:00:02
2020-02-15T12:00:02
226,550,406
1
1
null
null
null
null
UTF-8
Python
false
false
657
py
from typing import List import heapq class Solution: def connectSticks(self, sticks: List[int]) -> int: if len(sticks) == 1: return sticks[0] sum = 0 heapq.heapify(sticks) while len(sticks)>1: # num0 = heapq.heappop(sticks) num1 = hea...
[ "452681917@qq.com" ]
452681917@qq.com
a6f2869dde01b317767cd8871554c14f5a4bf8a1
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/web/controllers/pivot.py
5ad07b67ca58fc54e4afa78116fb11a33198b10d
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
3,577
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. from collections import deque import json from odoo import http from odoo.http import request from odoo.tools import ustr from odoo.tools.misc import xlwt class TableExporter(http.Controller): @http.route('/web...
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
9a2c8288066e8396de41672a53e666d43d65a8bf
791da33d91836572ab0ffb9042468586d28527ef
/initiatives/migrations/0017_auto_20200308_1231.py
f32b1c902cb93516f84d32db058c20f3c1fee847
[]
no_license
Akash12740/nirmaan_bits
1de8a9b478e99c09c74f5f0b54d6b3b143a79800
95054e03e56a3a8a60fa3178c8cf4383df4611a2
refs/heads/master
2023-06-15T21:13:51.874238
2021-07-06T13:48:32
2021-07-06T13:48:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
# Generated by Django 2.2 on 2020-03-08 07:01 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('initiatives', '0016_auto_20200308_1157'), ] operations = [ migrations.AlterField( ...
[ "f20190029@pilani.bits-pilani.ac.in" ]
f20190029@pilani.bits-pilani.ac.in
b300aeadf3c9fa85e1db1e5b8c130ba3ae345d0d
974c5a4f101d0e6f4dfa5fc2f7c641c9d2bd8184
/sdk/cosmos/azure-cosmos/samples/access_cosmos_with_aad_async.py
a24498996df52805eec1b9b4ef8693957c9656bb
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
gaoyp830/azure-sdk-for-python
4816f04c554dcffb7510a6b7044b0c86a2dd32e1
1c66defa502b754abcc9e5afa444ca03c609342f
refs/heads/master
2022-10-20T21:33:44.281041
2022-09-29T17:03:13
2022-09-29T17:03:13
250,355,505
0
0
MIT
2020-03-26T19:42:13
2020-03-26T19:42:12
null
UTF-8
Python
false
false
5,282
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE.txt in the project root for # license information. # ------------------------------------------------------------------------- from azure....
[ "noreply@github.com" ]
gaoyp830.noreply@github.com
4c9919c44d46a3e676ed56ba016ce0d743f80c2d
bc87bfe38516877dcd2113281a39e2b3fad00229
/site/05.level2_lane_detection/to_inverse_perspective_mapping.py
f6718365efd0f6fe180b4b52b76e17d15a2b50d2
[ "Apache-2.0" ]
permissive
FaBoPlatform/RobotCarAI
7e8f9cf017e5380c1825f7397ee3de933efbc3f2
c89d3330a2beda0f253733d3252b2b035b153b6b
refs/heads/master
2021-07-05T06:49:33.414606
2020-07-07T05:04:31
2020-07-07T05:04:31
91,663,056
10
3
Apache-2.0
2019-04-02T06:54:24
2017-05-18T07:34:19
Python
UTF-8
Python
false
false
2,076
py
# coding: utf-8 # Inverse Perspective Mappingを確認する #%matplotlib inline import cv2 from matplotlib import pyplot as plt import numpy as np import time import os import sys import math from lib.functions import * def main(): FILE_DIR = './test_images' FILENAME = "frame_1" OUTPUT_DIR ='./output' mkdir(OUT...
[ "takanashi@gclue.jp" ]
takanashi@gclue.jp
ac6f275a64a93d3e16e4f17b0470b886fc2e22e6
a8d68074db5c2b2697650ed0281979d3e00cf5a8
/Nyspider/www.tjcn.org/patent.py
6e44e6e48df999043441310950c7f0bf89893d78
[]
no_license
15807857476/bogdata-2
9595609ea2ae5ae0a48c511f911df2498456467e
1934cdfa234b77ca91e349b84688db113ff39e8c
refs/heads/master
2023-05-26T19:10:18.439269
2019-05-24T02:50:41
2019-05-24T02:50:41
188,327,526
3
1
null
2023-05-22T21:37:27
2019-05-24T00:53:28
Python
UTF-8
Python
false
false
3,575
py
import requests from bs4 import BeautifulSoup import time import openpyxl headers = { "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Encoding": "gzip, deflate", "Accept-Language": "en-US,en;q=0.5", "Connection": "keep-alive", "User-Agent": "Mozilla/5.0 (X11; U...
[ "2397955090@qq.com" ]
2397955090@qq.com
98580de3e9f491636334ad285359f2716c1b9e93
56b39e46dfd2a54c72728974c13e8ea1f1486f04
/social_rss/tw.py
4d2fd31d786618d4ad0cea8841612dbe744530e6
[]
no_license
vlevit/social-rss
1f74e4c8306fb6fad75bbd84cb258d4e4321610c
65df4947c490f13ed6fe3c059883b00625e2ef04
refs/heads/master
2020-07-02T21:50:32.367241
2018-05-31T19:48:19
2018-05-31T19:48:19
201,677,586
1
0
null
2019-08-10T20:06:21
2019-08-10T20:06:21
null
UTF-8
Python
false
false
6,081
py
"""Twitter module.""" # Note: Twitter HTML-escapes all the data it sends by API. import calendar import json import logging import os import pprint from urllib.parse import urlencode import dateutil.parser from twitter import OAuth, Twitter from social_rss import config from social_rss.render import block as _bloc...
[ "konishchev@gmail.com" ]
konishchev@gmail.com
b8b4235644dd1246cd1a8963b60d826eba72dec9
f138be1e8e382c404cfe1ff6a35e90fc77fa9bff
/ABC/python/101/A.py
f945008b581214b3b341d4b92e8d9345a1f9a3df
[]
no_license
jackfrostwillbeking/atcoder_sample
8547d59ca2f66b34905f292191df6c474010fded
d5b2fe8f628fd56eaf23ee7e92938e8ac1b1fef9
refs/heads/master
2023-07-25T19:16:14.340414
2021-08-26T15:26:08
2021-08-26T15:26:08
273,857,286
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
import sys S = list(input()) if len(S) != 4: sys.exit() result = 0 for I in range(len(S)): if S[I] == '+': result += 1 else: result -= 1 print(result)
[ "jackfrostwillbeking@gmail.com" ]
jackfrostwillbeking@gmail.com
d91be1f01e5ef10aed2a7827f0ddced4fa214eb1
1b46da70028b6fd491df59381884c2acf35b20f4
/parcalar/WordCounter.py
fb29e174a9188d1f9ad7184972a5cd49838f7009
[]
no_license
ybgirgin3/beautifulSoup
28788e07eee7686129da82f529aa00cbf59bf3be
f65ca058c1178d41c1ccb799b9e765c01836bd14
refs/heads/main
2023-05-08T02:23:48.767751
2021-06-05T07:19:19
2021-06-05T07:19:19
374,047,699
1
0
null
null
null
null
UTF-8
Python
false
false
530
py
# bir url al onun içindeki kelimelerin sayılarını bul import requests from pprint import pprint from collections import Counter url = "https://ybgirgin3.github.io/" r = requests.get(url) # ret = r.content kaynak_kodu = r.text #print(ret) kelime_listesi = kaynak_kodu.split() kelime_freq = [] for kelime in kelime_l...
[ "ybgirgin3@gmail.com" ]
ybgirgin3@gmail.com
e13d5d8ca3e21ebe719a683ad5697b738451b274
73770ddb5441f589742dd600545c555dd9922ae8
/training/routes.py
66903cda1404b04fffee6619145157a5ce612665
[]
no_license
annndrey/trainingsite
c200a203c7a5fe832de70e9497a93df3745d63ef
6dce55dc25b2a6f5285a8cfba1fbd7d83dbbe96b
refs/heads/master
2020-03-29T16:11:06.336532
2018-09-24T12:53:55
2018-09-24T12:53:55
150,102,082
0
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
def includeme(config): config.add_static_view('static', 'static', cache_max_age=3600) config.add_route('home', '/') config.add_route('login', '/login') config.add_route('register', '/register') config.add_route('logout', '/logout') config.add_route('dashboard', '/dashboard') config.add_route...
[ "annndrey@trololo.info" ]
annndrey@trololo.info
995ec97bd13cb19bd5a5629c8ea7678f771f6b95
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_25508.py
156459636628d599fa8bca3d345d88685047bbaa
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# how do you read a pytables table into a pandas dataframe a = tb.open_file("FGBS.h5") table = a.root.quote.z4 c = pd.DataFrame.from_records(table.read())
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
69789791fe27d985d5b3a31c5fe6a5288951fcca
9a91dde7f08d081cdf1a9ed1b7357a49a9fec9d0
/erp/migrations/0084_auto_20160414_0411.py
c4aad3fb74f3418a16d69e3daf22fb1efcf65992
[]
no_license
fengxia41103/fashion
a8c812ae0534ed632c1d821b83817d2a830c9fc3
6834dcc523dcb1f1f8de0aa3e8779e6cac2ae126
refs/heads/master
2022-12-17T00:25:48.600435
2019-10-10T18:56:10
2019-10-10T18:56:10
52,611,714
0
0
null
2022-12-07T23:24:17
2016-02-26T14:59:48
Python
UTF-8
Python
false
false
766
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('erp', '0083_auto_20160402_0821'), ] operations = [ migrations.AddField( model_name='attachment', nam...
[ "feng_xia41103@hotmail.com" ]
feng_xia41103@hotmail.com
002f3acca24ddb7e607e9823a55f8c48a276f86e
9bc006e71393c5338bd77bbf12c2946dbfaf2d5b
/delete_node_in_a_linked_list.py
811b0304d54bfae9698560e40708caf6088c4c6b
[]
no_license
aroraakshit/coding_prep
2d883058ef81317fba0c101fac3da37cd6ecd9ca
aac41ddd2ec5f6e5c0f46659696ed5b67769bde2
refs/heads/master
2021-07-09T18:28:26.706576
2020-07-08T03:07:26
2020-07-08T03:07:26
163,704,385
8
7
null
null
null
null
UTF-8
Python
false
false
385
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: # 44ms def deleteNode(self, node): """ :type node: ListNode :rtype: void Do not return anything, modify node in-place instead. """ ...
[ "akshit.arora@colorado.edu" ]
akshit.arora@colorado.edu
dd1e9efcdbcd7e8dc8920c3a218397a4710e5004
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Diagnostics/__init___parts/InstanceData.py
e24830b8c778ede635342a22197cdebfd64feeef
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
913
py
class InstanceData(object): """ Holds instance data associated with a performance counter sample. InstanceData(instanceName: str,sample: CounterSample) """ @staticmethod def __new__(self,instanceName,sample): """ __new__(cls: type,instanceName: str,sample: CounterSample) """ pass InstanceName=property(la...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
3d0745040c59f150abe1510398a3005cbf6de8d4
aa54fd5cafc65d18ceac52097237482cec27f674
/planetary_system_stacker/Test_programs/argparser.py
34046c6c3c2e4e620b81b650a89b095fbc9e1b82
[]
no_license
Rolf-Hempel/PlanetarySystemStacker
84f6934e6748177fb1aca20b54392dee5c3f2e3c
304952a8ac8e991e111e3fe2dba95a6ca4304b4e
refs/heads/master
2023-07-20T04:11:06.663774
2023-07-17T15:20:15
2023-07-17T15:20:15
148,365,620
228
34
null
2023-09-01T16:33:05
2018-09-11T19:00:13
Python
UTF-8
Python
false
false
7,639
py
import argparse import sys print("The command was called with " + str(len(sys.argv)) + " arguments") if len(sys.argv) <= 1: print ("Running PSS in interactive mode, starting GUI.") exit() def noise_type(x): x = int(x) if not 0 <= x <= 11: raise argparse.ArgumentTypeError("Noise level must be ...
[ "rolf6419@gmx.de" ]
rolf6419@gmx.de
1c8ab1dfbea664ba773fc25381cb7b6812ce63c6
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_208/ch169_2020_06_22_16_29_40_113842.py
e3756cd075be6633bac009e64f5161497ba54e75
[]
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
567
py
def login_disponivel (login,lista): if login not in lista: return login else: for login1 in range(len(lista)): i = 1 while login in lista: login = login + str(i) if login in lista: login = login [:-1] i+=...
[ "you@example.com" ]
you@example.com
4b69f6d838ad7f89786e05b2358d7efdeee75012
81b20a9c51779c21b779ac0b1c5bf669359521ef
/py_object_detection/tf_api/object_detection/builders/losses_builder.py
6fea798572ee953d00fab78f2b82f3e9215c3c72
[]
no_license
thekindler/py-object-detection
bae1401f025458605c9244f9a763e17a0138d2ec
a8d13c496bab392ef5c8ad91a20fbfa9af1899bb
refs/heads/master
2023-06-23T02:42:08.180311
2021-07-17T18:40:46
2021-07-17T18:40:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,985
py
# Copyright 2017 The TensorFlow 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 applica...
[ "uniquetrij@gmail.com" ]
uniquetrij@gmail.com
87d375bbe50d0f9268ad0bf0297e41f7421d3d79
15581a76b36eab6062e71d4e5641cdfaf768b697
/LeetCode_30days_challenge/2021/June/Range Sum Query - Mutable.py
706b6b702cad1c3dea2e2ba9c84f32a5268dccbd
[]
no_license
MarianDanaila/Competitive-Programming
dd61298cc02ca3556ebc3394e8d635b57f58b4d2
3c5a662e931a5aa1934fba74b249bce65a5d75e2
refs/heads/master
2023-05-25T20:03:18.468713
2023-05-16T21:45:08
2023-05-16T21:45:08
254,296,597
0
0
null
null
null
null
UTF-8
Python
false
false
1,287
py
from math import sqrt, ceil from typing import List class NumArray: def __init__(self, nums: List[int]): self.nums = nums n = len(self.nums) bucket_length = sqrt(n) self.nr_buckets = ceil(n / bucket_length) self.buckets = [0] * int(self.nr_buckets) for i in range(n...
[ "mariandanaila01@gmail.com" ]
mariandanaila01@gmail.com
e24ab3fbb279a18b2d432b73ba6fdaf38bdadad2
4142b8c513d87361da196631f7edd82f11465abb
/python/round710/1506A.py
da3092ef9ff672dc4336fef5ebbc1e8262b7e825
[]
no_license
npkhanhh/codeforces
b52b66780426682ea1a3d72c66aedbe6dc71d7fe
107acd623b0e99ef0a635dfce3e87041347e36df
refs/heads/master
2022-02-08T17:01:01.731524
2022-02-07T10:29:52
2022-02-07T10:29:52
228,027,631
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
from sys import stdin for _ in range(int(stdin.readline())): n, m, x = list(map(int, stdin.readline().split())) c, r = divmod(x-1, n) res = r*m + c + 1 print(res)
[ "npkhanh93@gmail.com" ]
npkhanh93@gmail.com
8079f22284b0b8cc9f38a51756f95e1d311cbfdf
a6f1389c97705724e6b5cc40b0abd56c885b0335
/max_heap.py
413690f975be30b09a839f1f85a748181bfc5814
[]
no_license
iosmichael/interview-prep
c80854a05d5b6d2cfba4321bcea9b68c6649790c
1635890b6f3ed6c132b3bf6e87f752d85d3280e1
refs/heads/master
2020-04-01T18:36:21.316874
2018-11-05T23:44:18
2018-11-05T23:44:18
153,502,988
1
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
''' Coding challenges: build a max heap tree in 10 mins Michael Liu ''' class Heap(object): def __init__(self, data): #starting index is 1 self.data = [0] self.nums = 0 for dat in data: self.insert(dat) def heapify(self, start): if start >= len(self.data): return left_child_val = right_child_val = ...
[ "michaelliu@iresearch.com.cn" ]
michaelliu@iresearch.com.cn
9a97bca1fc8062bacb8ad8f8f52f2f5c5cee640e
181247a52877d8577b3d2bf96ee9b2683c0a2edc
/client-python/producer/hello_world_producer_synchronously_with_call_back.py
cd550a4f958abc82ca358abc9c5a1d29300fd92e
[ "Apache-2.0" ]
permissive
savadev/CCD-Apache-Kafka-Certification-Examination-Notes
65f9470510243a9ba328f0f3d8a2d7b2903ff1d9
2e35fdd0d289bd91ed618c7096d5fad7becfb928
refs/heads/master
2023-03-06T15:15:06.721867
2021-02-18T17:02:25
2021-02-18T17:02:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
import socket from confluent_kafka import Producer def call_back(err, msg): if err is not None: print("Failed to deliver message: %s: %s" % (str(msg), str(err))) else: print("Message produced: %s" % (str(msg))) print("Topic name : ", msg.topic) print("offset : ", msg.offset) ...
[ "balaji.chopparapu@gmail.com" ]
balaji.chopparapu@gmail.com
8aa95cbddef9faac1d7bf8cbdf032a87e54da017
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/u9mxp7LLxogAjAGDN_0.py
28bbdb4bb9a2a71820a11d6e89ebb428d9d40700
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
""" A numbers **factor length** is simply its total number of factors. For instance: 3: 1, 3 # 3's factor length = 2 8: 1, 2, 4, 8 # 8's factor length = 4 36 : 1, 2, 3, 4, 6, 9, 12, 18, 36 # 36's factor length = 9 Create a function that sorts a list by **factor length** in **desc...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
34fe0b333f0f6e513fed9b4ab3192ffcbd9fcbb6
c97b9ae1bf06757ba61f90905e4d9b9dd6498700
/venv/Lib/site-packages/tensorflow/python/keras/preprocessing/__init__.py
7f6e4c8ba1fbc5e8264cf8618a5d1dc362f84d8d
[]
no_license
Rahulk1p/image-processor
f7ceee2e3f66d10b2889b937cdfd66a118df8b5d
385f172f7444bdbf361901108552a54979318a2d
refs/heads/main
2023-03-27T10:09:46.080935
2021-03-16T13:04:02
2021-03-16T13:04:02
348,115,443
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:e1ff166defb534fc907c2cf431350e914660a6c2560baffc884c51b97960f923 size 1575
[ "rksc.k1p@gmail.com" ]
rksc.k1p@gmail.com
0b86ad91ba46470f01a77a8261beb4206834c864
2acf76ecc3ad14f5e0390df5db31ef17aecd91cb
/rookbook/server.py
0b0b1e320c2757bd07b2e2b819fe20de52671726
[]
no_license
zielmicha/rookbook
420b2717a5d3d8b7968c41ca8296e37e3ce6b5ec
a54d693a83db88d0f7aabfe58ee01513e531bdb1
refs/heads/master
2020-12-22T15:40:13.499835
2020-02-15T18:03:17
2020-02-15T18:03:17
220,621,406
0
0
null
null
null
null
UTF-8
Python
false
false
5,224
py
import asyncio, http, os, io, glob, websockets, json from lxml import etree from . import book def get_static(content_type, path): with open(path, 'rb') as f: return http.HTTPStatus.OK, [('content-type', content_type)], f.read() static_file_map = { '/static/index.js': ('text/javascript', 'client/dist/...
[ "michal@zielinscy.org.pl" ]
michal@zielinscy.org.pl
b6742a605d30a14b56ddc7e9c2752801f04823cb
078de01daa97d413ec91629fc553fd637404d4d1
/manage.py
d12027a6383577ddef48b217627464e888080be8
[]
no_license
crowdbotics-apps/test-user-1975
c6e91cf4b0940630a5906df6e5085a789be5493e
bff22c4c5c825c158f166303aa34d421a3572f97
refs/heads/master
2022-12-11T05:57:00.701120
2019-04-05T17:17:46
2019-04-05T17:17:46
179,724,618
0
0
null
2022-12-08T05:00:06
2019-04-05T17:17:14
Python
UTF-8
Python
false
false
812
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_user_1975.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure th...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
e9e91d9998570c5d120492877e7906cd0fd27a61
3c52eb24728edf054842c162153c92d2a77dac4a
/Q1/boy.py
aa5090666e6314fc8cb060dc6385b28d393466f7
[]
no_license
PPL-IIITA/ppl-assignment-shyam000
53afeacc94905e46713b710a9d162c364a08f896
8512c533ff3a0e43eb4913494238da10590101fb
refs/heads/master
2021-01-21T05:29:06.520958
2017-02-27T06:18:18
2017-02-27T06:18:18
83,195,331
0
1
null
null
null
null
UTF-8
Python
false
false
717
py
class Boy: def __init__ (self,name,attractiveness,reqAttractiveness,Type,intelligence,budget): self.name = name self.attractiveness = attractiveness self.reqAttractiveness = reqAttractiveness self.Type = Type self.intelligence = intelligence self.status = 'single' self.budget = budget self.gfName = '' ...
[ "noreply@github.com" ]
PPL-IIITA.noreply@github.com
cd4ca89e51565e52a8b8011f9f6f3158fa32f12c
7619aed8a311e2832634379762c373886f4354fb
/trace_floodlight_firewall-StarTopology4-steps200/openflow_replay_config.py
ab27d1ba43e9fb1c43662952cef93ba8dda5abba
[]
no_license
jmiserez/sdnracer-traces
b60f8588277c4dc2dad9fe270c05418c47d229b3
8991eee19103c8ebffd6ffe15d88dd8c25e1aad5
refs/heads/master
2021-01-21T18:21:32.040221
2015-12-15T14:34:46
2015-12-15T14:34:46
39,391,225
2
1
null
null
null
null
UTF-8
Python
false
false
1,095
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow.openflow_replayer import OpenFlowReplayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[Controll...
[ "jeremie@miserez.org" ]
jeremie@miserez.org
6d6f18f23f0bfa640e44315af45fd2070e03b6ba
d2e80a7f2d93e9a38f37e70e12ff564986e76ede
/Python-cookbook-2nd/cb2_03/cb2_3_3_sol_1.py
427c0a4f54818660fbf6defaa71b60562dcd4147
[]
no_license
mahavivo/Python
ceff3d173948df241b4a1de5249fd1c82637a765
42d2ade2d47917ece0759ad83153baba1119cfa1
refs/heads/master
2020-05-21T10:01:31.076383
2018-02-04T13:35:07
2018-02-04T13:35:07
54,322,949
5
0
null
null
null
null
UTF-8
Python
false
false
183
py
from dateutil import rrule import datetime def weeks_between(start_date, end_date): weeks = rrule.rrule(rrule.WEEKLY, dtstart=start_date, until=end_date) return weeks.count()
[ "mahavivo@126.com" ]
mahavivo@126.com
e249e15b4e945f227280d87a8fd0c22f5f5404fa
402ac64e93d36c2e4ea88f32f50d0b47b84dc16f
/TwitterClone/tweets/admin.py
5e5f25a495a07f134b9f7f0158356e3431f4e728
[]
no_license
akashgiricse/TwitterClone
e430e8eb7bfe7e60f3be5c2cf56138457bcb5028
8fb3edb36aa54aa81737284d0379112f457ce08f
refs/heads/master
2021-04-18T20:44:00.335872
2018-05-16T18:00:00
2018-05-16T18:00:00
126,720,678
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
from django.contrib import admin # Register your models here. from .forms import TweetModelForm from .models import Tweet # admin.site.register(Tweet) class TweetModelAdmin(admin.ModelAdmin): class Meta: model = Tweet admin.site.register(Tweet, TweetModelAdmin)
[ "akashgiricse@gmail.com" ]
akashgiricse@gmail.com
5b7d4eb4a9269304bd4ad33203096ae1001fdfe7
24a291e5eb298b7c2b4f1105d789ac488457b59c
/Python_Pandas_Basics/Pandas07_11_setIndex01_김민교.py
90f6885de1a89b2c7dc304d78b8b0afa18265359
[]
no_license
gmrdns03/Python-Introductory-Course_Minkyo
da3afff502ed44f178d5b3885fbb1b01249ad1de
ef0d4e16aee3dba6a4a10c422ef68b1465745833
refs/heads/main
2023-05-29T16:08:31.814542
2021-06-23T13:32:14
2021-06-23T13:32:14
379,300,979
1
0
null
null
null
null
UTF-8
Python
false
false
698
py
# coding: utf-8 # '''index / set_index / reindex / reset_index''' # In[2]: import pandas as pd exam_data = {'이름':['서준', '우현', '인아'], '수학' : [90,80,70], '영어' : [98,89,95], '음악': [85,95,100], '체육': [100,90,90]} df = pd.DataFrame(exam_data) print(df, '\n') # ...
[ "noreply@github.com" ]
gmrdns03.noreply@github.com
e14231b7aba338f8d2f8abff1314626b808ee9d9
5c724d6e03e4194680c793718a4f72a58ca66bb1
/app/migrations/0151_auto_20181026_0352.py
1a09b05d842c68193239fc5054aad9abce6d0427
[]
no_license
tigrezhito1/bat
26002de4540bb4eac2751a31171adc45687f4293
0ea6b9b85e130a201c21eb6cbf09bc21988d6443
refs/heads/master
2020-05-02T07:13:06.936015
2019-03-26T15:04:17
2019-03-26T15:04:17
177,812,144
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-10-26 08:52 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0150_auto_20181026_0346'), ] operations = [ migrations...
[ "you@example.com" ]
you@example.com
5bd58a8d3db1ba70468d22d0b32b71b4eea15847
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/scvmm/azure-mgmt-scvmm/azure/mgmt/scvmm/aio/_scvmm.py
1d467ccbda4e3a25f2e6b6fd7ba5f5ed89a4ec01
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
6,185
py
# 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) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
6124ae92af04400051ec38844b0db31b8b940b49
80fd6511bce02d3809d4d4fbb5d9879c09f9a535
/ui.py
27e0ab6b55b271bc9ad37f96f54b62344e44e300
[]
no_license
BennyKok/uv-align-distribute
bb5aa210d983bd9f97500dda8a8f05131d72ed5d
1aad31c487612f86bb42bc9d5d399636450b452e
refs/heads/master
2021-01-14T09:49:57.430336
2015-12-07T14:42:22
2015-12-07T14:42:22
66,824,994
0
0
null
2016-08-29T08:18:37
2016-08-29T08:18:37
null
UTF-8
Python
false
false
2,445
py
import bpy ############## # UI ############## class IMAGE_PT_align_distribute(bpy.types.Panel): bl_label = "Align\Distribute" bl_space_type = 'IMAGE_EDITOR' bl_region_type = 'TOOLS' bl_category = "Tools" @classmethod def poll(cls, context): sima = context.space_data ...
[ "none@none" ]
none@none
cf7adeaaa9a4b1b387a721fea95dcb84be70228d
ad1d46b4ec75ef1f00520ff246d0706c6bb7770e
/content/chapters/transform-strings/07.py
b419a5904a6ca3411f46ba81c537f890f9dc5da1
[]
no_license
roberto-arista/PythonForDesigners
036f69bae73095b6f49254255fc473a8ab7ee7bb
1a781ea7c7ee21e9c64771ba3bf5634ad550692c
refs/heads/master
2022-02-24T15:28:04.167558
2021-09-07T10:37:01
2021-09-07T10:37:01
168,937,263
103
37
null
2022-02-11T02:24:01
2019-02-03T11:17:51
Python
UTF-8
Python
false
false
209
py
# we import the euler constant from the math module from math import e # then we print the constant value print(f'euler: {e}') # euler: 2.718281828459045 # note the different amount of digits after the period
[ "arista.rob@gmail.com" ]
arista.rob@gmail.com
026ef60b487bbe9b43329cf88076dd339b18923a
e0df2bc703d0d02423ea68cf0b8c8f8d22d5c163
/ScientificComputing/ch18/simple_pendulum_period.py
960c0d2dad9265076e26a94ed236db5197dc8fd7
[]
no_license
socrates77-sh/learn
a5d459cb9847ba3b1bc4f9284ce35d4207d8aa8b
ae50978023f6b098b168b8cca82fba263af444aa
refs/heads/master
2022-12-16T16:53:50.231577
2019-07-13T13:52:42
2019-07-13T13:52:42
168,442,963
0
0
null
2022-12-08T05:18:37
2019-01-31T01:30:06
HTML
UTF-8
Python
false
false
980
py
# -*- coding: utf-8 -*- from math import sin, sqrt import numpy as np from scipy.integrate import odeint from scipy.optimize import fsolve import pylab as pl from scipy.special import ellipk g = 9.8 def pendulum_equations(w, t, l): th, v = w dth = v dv = - g/l * sin(th) return dth, dv def pendulum_...
[ "zhwenrong@sina.com" ]
zhwenrong@sina.com
1f43950d64ce5a38f3b7d2a3519a97f7f52bac9e
1141cd4aeffafe496bb7d8a1399ca7c8445edd6e
/tests/functional/test_yet_another_tests.py
a3516905a07d5a3c2a61ef4aa4ab70e912400f88
[ "Apache-2.0" ]
permissive
amleshkov/adcm
d338c3b7c51e38ffe9a0b2715c85e54bed0c4f46
e1c67e3041437ad9e17dccc6c95c5ac02184eddb
refs/heads/master
2020-11-30T15:35:57.456194
2019-12-16T20:27:06
2019-12-16T20:27:06
230,432,278
0
0
NOASSERTION
2019-12-27T11:30:23
2019-12-27T11:30:22
null
UTF-8
Python
false
false
1,543
py
# 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 # distributed under t...
[ "cab@arenadata.io" ]
cab@arenadata.io
d47af8dbdf1a77b0a251514121261421f9fa680b
7477ca97110f1a173b04029a4ad710cf15627b63
/prep.py
6d57d22a683d4e2e8e918b9ba7bb57661a68c339
[]
no_license
bkj/nbsgd
d51e64ad269c94b85f4b6397de66bc00066126d0
0cf58b28322e8a213ebbc00b6f9e878be092dad5
refs/heads/master
2021-09-19T10:18:36.946661
2018-07-26T17:48:35
2018-07-26T17:48:35
113,483,964
1
0
null
null
null
null
UTF-8
Python
false
false
2,655
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ nbsgd.py """ from __future__ import print_function, division import os import re import sys import string import argparse import numpy as np from scipy.sparse import coo_matrix, csr_matrix from sklearn.feature_extraction.text import CountVectorizer # -- # Help...
[ "bkj.322@gmail.com" ]
bkj.322@gmail.com
4990c1d685cea7f2caba13a5affda77fb5f63742
0bf6ecbdebc7424a8946b29127d55c5bc1e7442e
/wetLab/migrations/0018_auto_20161107_1627.py
8aaf712e6292ab09e4a16ebf06b67cda88e4bf56
[]
no_license
dekkerlab/cLIMS
2351a9c81f3e3ba982e073500a4a5cf2fd38ed51
e76731032a5707027b53746a8f2cc9b01ab7c04e
refs/heads/master
2021-03-27T06:28:49.718401
2017-10-10T19:22:33
2017-10-10T19:22:33
71,837,345
1
0
null
null
null
null
UTF-8
Python
false
false
483
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-11-07 16:27 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('wetLab', '0017_auto_20161107_1626'), ] operations = [ migrations.RenameField( ...
[ "nanda@ankitas-mbp.ad.umassmed.edu" ]
nanda@ankitas-mbp.ad.umassmed.edu
40550862ebcc5009dd432daf15c8a6c3f4ecfb55
e94c3e02b390b7c37214218083e4c5b2ad622f60
/算法与数据结构/LeetCode/逻辑与数学(Logic&Math)/679.24-点游戏.py
cf02b656c4d06bed7d5028e03cd98f9322998e85
[ "MIT" ]
permissive
nomore-ly/Job
1160e341d9c78c2f99846995893f0289f4e56cf6
ff4fd24447e30e2d17f15696842e214fba7ad61b
refs/heads/master
2023-06-21T00:23:47.594204
2021-07-23T07:29:47
2021-07-23T07:29:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
# # @lc app=leetcode.cn id=679 lang=python3 # # [679] 24 点游戏 # # @lc code=start class Solution: def judgePoint24(self, nums: List[int]) -> bool: if not nums: return False def helper(nums): if len(nums) == 1: return abs(nums[0]-24) < 1e-6 for i in range(len(nums)): ...
[ "xiaoqi25478@foxmail.com" ]
xiaoqi25478@foxmail.com
b914cb6d66206ebc1109e2bea312dded0e148325
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/nonpc_short/timed_feedback/job45.py
93e06ba131127884d7597be0b085b07ce2087fd4
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
6,902
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
e58c556098cbe8831eb24b68a3f714a0be5f5068
084c3246c44c2e5ae5a0dd38522cb19ac993fe35
/commands/cmd_inpart.py
452945864ed9a09ac3933101280315646afc25b9
[]
no_license
archivest/PythonWars-1996
5bafaca65764ca0d0999b063a5411c53cdbbb0eb
b2b301233d72334cfd9b4404b32a45ac22f0b248
refs/heads/master
2023-02-06T09:53:32.464771
2020-12-30T07:37:03
2020-12-30T07:37:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,137
py
# PythonWars copyright © 2020 by Paul Penner. All rights reserved. In order to # use this codebase you must comply with all licenses. # # Original Diku Mud copyright © 1990, 1991 by Sebastian Hammer, # Michael Seifert, Hans Henrik Stærfeldt, Tom Madsen, and Katja Nyboe. # # Merc Diku Mud improvements copyright © 1...
[ "jindrak@gmail.com" ]
jindrak@gmail.com
b92702a1b5b0504d907b5fcb0501caa038e81947
d8ea695288010f7496c8661bfc3a7675477dcba0
/django/nmq/nmq/wsgi.py
b82b5a963bfae62f596fb2edf68fab7627d0e166
[]
no_license
dabolau/demo
de9c593dabca26144ef8098c437369492797edd6
212f4c2ec6b49baef0ef5fcdee6f178fa21c5713
refs/heads/master
2021-01-17T16:09:48.381642
2018-10-08T10:12:45
2018-10-08T10:12:45
90,009,236
1
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for nmq project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_...
[ "dabolau@qq.com" ]
dabolau@qq.com
24e54a2ea97767851ac33f66c7cf051b025cca23
afd3ff42313acba5cd9c00b987441465606cf24e
/Chapter6-SetsDics/mySets.py
5dcf1cf909c06124ae077db3a199bb96de3a887a
[]
no_license
sweet23/oreillyPython1
a2978d26e620daeacfd6bb6e4bfd9b7042bd808f
81923c6c2597226ef420330a06385a030fb99bfa
refs/heads/master
2020-12-11T03:36:08.799756
2015-10-25T18:20:36
2015-10-25T18:20:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
''' Created on Jan 31, 2015 @author: jay wilner 3 ''' print ({1, 2, 3, 1, 2, 3, 1, 2, 3, 1}); languages = {"perl", "python", "c++", "ruby"} print(languages); languages.add('php') print(languages) print('is Perl in languages?') print('Perl' in languages) print(" is {'python', 'ruby'} < languages ?") print({'pytho...
[ "info@outofboundscommunications.com" ]
info@outofboundscommunications.com
06a3e9a59e86df3bfc73abeaf8421a85968339c6
5be58a04fbbafa83e366d6919df8673ae6897fca
/services/python_services/app.py
fb226279da5ae1b8f5eef8c1df2433cb5f6b5a3f
[]
no_license
EricSchles/domain-scan-orchestration
37d5b28d7f7f03e9bd46ce539dd98a288a5fccc1
802e473536aec97cb4fce73881277a9d4f82e1f3
refs/heads/master
2021-01-23T07:08:49.940954
2017-09-07T19:09:12
2017-09-07T19:09:12
102,497,544
0
0
null
2017-09-05T15:19:35
2017-09-05T15:19:35
null
UTF-8
Python
false
false
783
py
from flask import Flask, request import json import subprocess from web_design_standards_check import uswds_checker app = Flask(__name__) @app.route("/", methods=["GET","POST"]) def index(): return "whatever" @app.route("/services/web-design-standards", methods=["GET", "POST"]) def services(): domain = req...
[ "ericschles@gmail.com" ]
ericschles@gmail.com
c40feab46c498feab832014eeb2903169b874151
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/011eac1d9242903f4e2db5ccccc74d97ad1e7cb9-<update_subscriptions>-bug.py
4e65c2c1b62f17801bf04586a963ae137d2cf185
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
def update_subscriptions(): try: f = open(options.stream_file_path, 'r') public_streams = simplejson.loads(f.read()) f.close() except: logger.exception('Error reading public streams:') return classes_to_subscribe = set() for stream in public_streams: zep...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
f5c955619eac91433d16f01da67789e821c60523
5b37d86af518b90cb848233c7f5f53befc15a5ed
/training_xvector.py
9208238a0b168e05113d2f68ecb2aa7f345b1813
[ "MIT" ]
permissive
taalua/x-vector-pytorch
45fce3606eeb0b9a996179a1e0242d62e8393bcd
7d86f78a1a70974df490ef7d2629de2d71dd1558
refs/heads/master
2023-07-21T04:47:45.596582
2021-08-25T17:58:58
2021-08-25T17:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from x_vectors.trainer import Trainer, Args args=Args() args.get_args() args.loss_fun='AngleLoss' # args.loss_fun='CrossEntropyLoss' # args.loss_fun='AngularLoss' # args.loss_fun='AdMSoftmaxLoss' args.batch_size=3 trainer=Trainer(args) #train trainer.train(10)
[ "ristohinno@gmail.com" ]
ristohinno@gmail.com
81768dc5d05076cdf91074bb336ea3aa70e5612b
55a4d7ed3ad3bdf89e995eef2705719ecd989f25
/main/law/spark_part/spark_part_limai_and_wenshu_origin/spark_part_main_74_102_laws_doc_judgment2_keshihua.py
d13cf17bf5872bc4381c7c87c4960e72bad18244
[]
no_license
ichoukou/Bigdata
31c1169ca742de5ab8c5671d88198338b79ab901
537d90ad24eff4742689eeaeabe48c6ffd9fae16
refs/heads/master
2020-04-17T04:58:15.532811
2018-12-11T08:56:42
2018-12-11T08:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,921
py
# -*- coding: utf-8 -*- """ 对抓取的文书内容进行数据提取 """ import re from pyspark import SparkContext,SparkConf from pyspark.sql import SQLContext from pyspark.sql.types import * import json import pymysql from lxml import etree import HTMLParser import uuid as UUID import time if __name__ == "__main__": # PYSPARK_PYTHON =...
[ "985819225@qq.com" ]
985819225@qq.com
8760e551048186bc85514da491a6a322ad8c4336
e44ff4069f5b559954e7a66685c86b054a70de7a
/Practice Codes/CRDGAME2.py
05854a976dad0fa141abd93f375f7b9e5497db8c
[]
no_license
SayanDutta001/Competitive-Programming-Codes
2912985e037f83bcde8e7fcb0036f1e31fa626df
6dac061c0a4b1c5e82b99ec134e9e77606508e15
refs/heads/master
2023-03-17T04:25:47.507594
2021-03-05T16:23:09
2021-03-05T16:23:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
from math import pow def trumpcard(n, a): global mod maxi = max(a) turn = 1 cmaxi = a.count(maxi) res = int(pow(2, n))%mod if(cmaxi%2==0): mini = min(cmaxi//2, cmaxi-cmaxi//2) for i in range(mini): turn = int(((turn%mod)*(cmaxi-i)%mod))%mod turn = in...
[ "khanujabhupinder09@gmail.com" ]
khanujabhupinder09@gmail.com
368e1d63d8dc911340339dc2b8dd3dbdb2a87eed
40b42ccf2b6959d6fce74509201781be96f04475
/tools/data/textdet/ic11_converter.py
84f0099bad10425a4b6d5f8639b3a75a5cab47a0
[ "Apache-2.0" ]
permissive
xdxie/WordArt
2f1414d8e4edaa89333353d0b28e5096e1f87263
89bf8a218881b250d0ead7a0287526c69586c92a
refs/heads/main
2023-05-23T02:04:22.185386
2023-03-06T11:51:43
2023-03-06T11:51:43
515,485,694
106
12
null
null
null
null
UTF-8
Python
false
false
4,860
py
# Copyright (c) OpenMMLab. All rights reserved. import argparse import os import os.path as osp import mmcv from PIL import Image from mmocr.utils import convert_annotations def convert_gif(img_path): """Convert the gif image to png format. Args: img_path (str): The path to the gif image """ ...
[ "xudongxie77@gmail.com" ]
xudongxie77@gmail.com
01f5dde1701543d02a96075a4da8cbe8ec20d8aa
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03457/s520758102.py
5d402c644ef6ae585d4175be890b33171eb27682
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
N = int(input()) t = [list(map(int,input().split())) for _ in range(N)] x,k,y = 0,0,0 for i in range(N): if (abs(t[i][1] - x) + abs(t[i][2] - y) > t[i][0] - k or (abs(t[i][1] - x) + abs(t[i][2] - y))%2 != (t[i][0] - k)%2): print("No") exit() x = t[i][1] y = t[i][2] k = t[i][0] prin...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2c8b64938a70966035ad6d45f9492406d100d4df
f914e863f4eae0c6474f8b8150a40969fc8e1a86
/pyblast/blast/blast_parser.py
3e1dc1285381ce2dcd7ae4dd27266f19fd316c5e
[ "MIT" ]
permissive
jvrana/pyblast
0ff430f3f1f51d5b2118e1749f74e1dc8ff3b67f
0f7ee7575e97470bfd05a2373d9c68247ec4ead0
refs/heads/master
2021-06-03T23:04:03.734484
2020-09-11T22:46:31
2020-09-11T22:46:31
102,554,910
0
0
MIT
2020-09-11T20:15:01
2017-09-06T02:49:51
Python
UTF-8
Python
false
false
4,153
py
"""blast_parser.""" import re class BlastResultParser: """Parses blast results.""" @staticmethod def str_to_f_to_i(v): try: return int(v) except ValueError: try: return float(v) except ValueError: pass return v ...
[ "justin.vrana@gmail.com" ]
justin.vrana@gmail.com
9d18bc90a2fcc735b729a64bea157f50ea910245
d8fd66452f17be82b964f9a93577dbaa2fa23451
/ProxyPool/crawlers/BaseCrawler.py
5c4d2652c82ed3aec63fcf89a522c66eea07f0e0
[]
no_license
Dawinia/gp_DA_movie
8b7575a54502896f5658538563f3f1f8cfe38772
e0253cc8bc16daf1d32b9c861f7fcb03510937f6
refs/heads/master
2023-05-25T11:49:39.422657
2021-12-14T03:26:35
2021-12-14T03:26:35
233,504,205
3
0
null
2023-05-22T22:44:11
2020-01-13T03:33:48
Python
UTF-8
Python
false
false
868
py
# encoding: utf-8 """ @author: dawinia @time: 2020/4/21 上午1:13 @file: BaseCrawler.py @desc: """ import requests from lxml import etree from ProxyPool.settings import HEADER from retrying import retry class BaseCrawler: urls = [] def __init__(self): self.headers = HEADER @retry(stop_max_attempt_...
[ "dawinialo@163.com" ]
dawinialo@163.com
a63cb2d245bffaf953cf535d4278eb62d911c3b9
3c7057226c7bb01cd493cde5742b3979cf030f94
/tests/unit/cli/commands/test_config.py
f0925fbe071a7bfee708495483c65fb2ccab507a
[ "Apache-2.0" ]
permissive
sharadc2001/lmctl
2d047f776d1bbee811801ccc5454a097b1484841
a220a3abeef5fc1f7c0a9410524625c2ff895a0a
refs/heads/master
2023-05-27T06:14:49.425793
2021-04-29T20:08:52
2021-04-29T20:08:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,908
py
from .command_testing import CommandTestCase from lmctl.cli.entry import cli from lmctl.config import ConfigParser, Config from unittest.mock import patch import tempfile import os import shutil test_config = '''\ environments: default: tnco: address: http://example secure: True client_id: Tes...
[ "daniel.vaccaro-senna@ibm.com" ]
daniel.vaccaro-senna@ibm.com
45b0809ced71943fe3f93497370ba9b6d5210ffd
fd63eec60cb9386cae6e786565c64a590a077dfb
/planet_bot/bottieverse/natural_language_processor.py
48efd0639ff567a442241c6f7009bafb790e5c1c
[]
no_license
opemipoVRB/Planet-Bot
a8fd0b848331fdac675ffd38780ad93f9b83a356
ac46aaec3b05021d1185ad3248faebaebbffe471
refs/heads/master
2020-04-01T09:55:39.962697
2019-01-15T21:25:09
2019-01-15T21:25:09
153,095,324
1
0
null
null
null
null
UTF-8
Python
false
false
3,665
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$...........................................................................$$ $$..........................$$...
[ "opemipodurodola@gmail.com" ]
opemipodurodola@gmail.com
49928abcbf8e7654bb4b23c2267fac3bd0d1f900
221b2221703f9cddeee7054c5dc426b81a3f53bd
/venv/lib/python3.9/site-packages/pony/orm/tests/pony_test_config.py
e17371c536e0109962126cacbc698ed946a963f4
[]
no_license
ch3p4ll3/Royal-Racing-Bot
37c998a650078e4b5f5c3b34b8c081d52b018944
eab5baf61a9782fbedd42ddf35b7e11cbae9ec22
refs/heads/main
2023-06-26T03:34:58.104068
2021-07-30T17:36:14
2021-07-30T17:36:14
348,089,837
1
0
null
2021-03-20T11:32:46
2021-03-15T18:59:39
Python
UTF-8
Python
false
false
277
py
settings = dict( provider = 'sqlite', filename = ':memory:' # provider='postgres', user='pony', password='pony', host='localhost', port='5432', database='pony', # provider='cockroach', user='root', host='localhost', port=26257, sslmode='disable', database='test' )
[ "slinucs@gmail.com" ]
slinucs@gmail.com
5cba62895872e9e701325e7cebcfc0a76dd17ea5
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/gPJTSqmJ4qQPxRg5a_9.py
589335772716b843414d88eabf4a6847eb7b156a
[]
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
147
py
def func(num): a=(list(str(num))) b = len(a) count = 0 for i in a: count = count + (int(i)-b) return count
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
600e60daec5c92452a456f9c96b11e8c7a7a69b7
58f81a20e6a22d17af626d423c6e1a5b160f784c
/services/core-api/app/api/now_applications/resources/unit_type_resource.py
77fae773c5205096cf655c783f068ce023dbdfa0
[ "Apache-2.0" ]
permissive
cryptobuks1/mds
5e115c641dfa2d1a91097d49de9eeba1890f2b34
6e3f7006aeb5a93f061717e90846b2b0d620d616
refs/heads/master
2022-04-23T21:11:37.124243
2020-04-14T17:55:39
2020-04-14T17:55:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
from flask_restplus import Resource from app.extensions import api from app.api.utils.access_decorators import requires_role_view_all from app.api.utils.resources_mixins import UserMixin from app.api.now_applications.models.unit_type import UnitType from app.api.now_applications.response_models import UNIT_TYPES cl...
[ "bcgov-csnr-cd@gov.bc.ca" ]
bcgov-csnr-cd@gov.bc.ca
62d171c9fc4af70e1cf3e93ca45a9173eed86f05
05341db2b66b544f1241eac8d459f90505c20e37
/pyqt_distutils/__init__.py
c90267b7f0fee8e8fc5519470f35a931c4fb14a0
[ "MIT" ]
permissive
xushoucai/pyqt_distutils
4c9ee16113fcfa7d8f107933a6f99a4cc1e69554
83c95b6b7a37b612509f3caac98c715f10703724
refs/heads/master
2021-01-12T14:27:46.875463
2016-06-20T06:36:18
2016-06-20T06:36:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
""" A set of PyQt distutils extensions for build qt ui files in a pythonic way: - build_ui: build qt ui/qrc files """ __version__ = '0.7.2'
[ "colin.duquesnoy@gmail.com" ]
colin.duquesnoy@gmail.com
f60ead416927933ce228c614991c92f42be50ac9
bb2c530d891a95a5e93668ac3aa3bf71472c5909
/PracticeWithFunctionsTestCases/test_coin_flip.py
d3cbac9ebe999bba7903143430fb6fc641e13217
[]
no_license
http403/CS121
3e069805e53f2cda19427100225c3c4103f24f48
210fbd2d47fcdd63b7cb4c7b9ab1c9ef08c24b7a
refs/heads/master
2023-03-06T06:41:33.546807
2020-03-09T21:09:08
2020-03-09T21:09:08
235,925,919
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# YOU CAN IGNORE THIS FILE ENTIRELY from unittest import TestCase from unittest.mock import patch from functions import coin_flip class TestCoinFlip(TestCase): @patch('functions.print') def test_coin_flip(self, mock_print): coin_flip() try: mock_print.assert_called_with('Coin fli...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
6528c8298b100f2a4c7f9b7942fa43168ff41697
39632b273847febed4e7c4f70f804b3c1bb05eb8
/tpc/participate.py
f8bedf6c14c11299e48f3da31b0ba1413266e8fe
[]
no_license
MintYiqingchen/transaction-database
6172e067efb21119dd7e8542010e379f41b656d2
ffa73384693a5604cfc9c51a206570107beffebc
refs/heads/master
2022-04-09T17:33:21.897370
2020-03-31T23:05:00
2020-03-31T23:05:00
237,696,675
0
0
null
null
null
null
UTF-8
Python
false
false
7,631
py
from xmlrpc.server import SimpleXMLRPCServer from xmlrpc.client import ServerProxy, Error from threading import Thread, Lock import os import sys import argparse import time import socket import psycopg2 as pg2 import psycopg2.pool import asyncio import traceback from collections import defaultdict parser ...
[ "821244608@qq.com" ]
821244608@qq.com
6fc75f5b8dadbafbb0a244d38751341b91a114ee
a2ef47ae30bbf44175aa2f3398f9d3f7358870a6
/fnsservice/test4.py
03b8c2c22a835406770415aea4cbb1513c9c0300
[]
no_license
kmakeev/fnsservice
a1342f045441f0ee6683cfbbe1358d11bb3cf60e
66d677ce6cc298d7404fb4db5ffe1162a5f493a3
refs/heads/master
2021-06-17T18:09:15.894765
2021-02-10T07:39:35
2021-02-10T07:39:35
243,219,506
2
1
null
2021-02-10T07:22:23
2020-02-26T09:11:34
JavaScript
UTF-8
Python
false
false
221
py
# -*- coding: utf-8 -*- from bokeh.io import show, output_file from fnsservice.fns.views import DublicatedGraph g = DublicatedGraph(width=800, height=800, N=1500) p = g.get_graph() output_file("graph.html") show(p)
[ "kmakeev@arbitr.ru" ]
kmakeev@arbitr.ru
3f778c20399ecda6ea8109817fb7a9c9d796ad82
0190835675f591b159463e50e7d814bbe5303d8d
/django_confit/loaders.py
dc9bfac0338e7af071529d7e3461273f47944a10
[]
no_license
zebuline/django-confit
56b46dafbe0aa0b067e80086dfbc953bdc44250f
ad9fcd458d8d6409066acd110e385c24f2f0fe37
refs/heads/master
2021-01-18T08:44:11.729820
2014-06-30T13:42:41
2014-06-30T13:42:41
32,524,209
0
0
null
2015-03-19T13:52:25
2015-03-19T13:52:24
Python
UTF-8
Python
false
false
3,370
py
# -*- coding: utf-8 -*- """Utilities to load configuration from various sources: * from :attr:`os.environ` or similar dictionary: :func:`settings_from_string_mapping`; * from Python module: :func:`settings_from_module`; * from JSON or YAML file: :func:`settings_from_file`. """ import json import six import yaml ...
[ "benoit@marmelune.net" ]
benoit@marmelune.net
059cb11799e13b9f2b0d70c4c4df93b82a2fad6f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_bleaching.py
2f016290a8dda6c9ca2d17f70eb94990392f8f9d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
#calss header class _BLEACHING(): def __init__(self,): self.name = "BLEACHING" self.definitions = bleach self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['bleach']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e8a46ea11ce16518bff9bf364ce3f3ddbecfb4c9
153da69b35f032f5b83a06f17008ba41a1b336b4
/src/demo/calculator/core/enums/calc_operations.py
be7a79dd2dc2c43523ceea7e9ca10aca5c105aa2
[ "MIT" ]
permissive
TrendingTechnology/hspylib
6400cadf9dfe6ab5733712dcfeccf8022d61c589
c79a2c17e89fe21d00ccd9c1646a03407cd61839
refs/heads/master
2023-06-20T15:47:35.962661
2021-07-19T22:12:18
2021-07-19T23:45:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ TODO Purpose of the file @project: HSPyLib hspylib.demo.calculator.core.enum @file: calc_operations.py @created: Tue, 4 May 2021 @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior" @site: https://github.com/yorevs/hspylib @license: MIT ...
[ "yorevs@gmail.com" ]
yorevs@gmail.com
2bc8b8d2909fc34cf28f01487adfe67227bc5f8f
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Email/Reverse Email Address Lookup/buster/.eggs/twint-2.1.20-py3.9.egg/twint/storage/db.py
f15eb7a49b4a932756426874e2e973dd6935f7c1
[]
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
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:1bfee100772a62a8b82dc9142325b46126ad5a38e7090ebdd4c72c1a70a5cc92 size 10419
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
4a589351fa2393c773bb74d5a6069d589b1e9813
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/Test002/其他流程控制工具_20201204100832.py
731c162d1e5a7392659bf40e9605c24fcfa3c253
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
#if 语句 # x = int(input("请输入数字:")) # if x < 0: # x = 0 # print("Negative changed to zero") # elif x == 0: # print("Zero") # elif x ==1: # print("Single") # else: # print("More") # for语句 # words = ['cat', 'window', 'defenestrate'] # for i in words: # print(i,len(i)) # for i in range(5):...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
431a3d4d65b0f75ede18b9904310843857734faa
a4b81839fe6d7726eb6c9d2c9fd0d9a70cf3ef3f
/Code/LuanqibazaoExercise/20191123/01.py
d20c16f2cd24a38ecd39cdb9d6b9118d2fd98e65
[]
no_license
Python87-com/PythonExercise
3f84e0f194254d0f0a8b106348b214ccdeebf842
9bef64c6d3b143236bf06131e5f7a5aabcf6980b
refs/heads/master
2021-01-31T15:56:27.743718
2020-01-02T12:10:43
2020-01-02T12:10:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
""" 属性私有化 """ class Student: def __init__(self, name, sex): self.name = name self.__sex = sex def play(self): print(self.name, "性别是", self.__sex) # 创建对象 s1 = Student("Python87", "女") s1.play() # Python87 性别是 女 s1.__sex = "男" s1.play() # Python87 性别是 女
[ "10293665@qq.com" ]
10293665@qq.com
a35eab73e09286089b343c8b91fc0a7562c32b20
f8666599b83d34c861651861cc7db5b3c434fc87
/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_enabled.py
7738271280f1775097e8652e9c73659f9a88a3a9
[ "MIT" ]
permissive
mode/plotly.py
8b66806e88c9f1820d478bab726f0bea81884432
c5a9ac386a40df2816e6c13264dadf14299401e4
refs/heads/master
2022-08-26T00:07:35.376636
2018-09-26T19:08:54
2018-09-26T19:19:31
60,372,968
1
1
MIT
2019-11-13T23:03:22
2016-06-03T19:34:55
Python
UTF-8
Python
false
false
514
py
import _plotly_utils.basevalidators class EnabledValidator(_plotly_utils.basevalidators.BooleanValidator): def __init__( self, plotly_name='enabled', parent_name='scatter3d.marker.colorbar.tickformatstop', **kwargs ): super(EnabledValidator, self).__init__( ...
[ "noreply@github.com" ]
mode.noreply@github.com
bdf3194356fbcc1281fbaebb3743619a8406c1c7
c0da86779f7037d9fa50499c470f8dd91fb11093
/DjangoProject/报障系统/StandYourGround/StandYourGround/wsgi.py
490cdd0c653e5384cf689bd9b80cceb3a8ba7787
[]
no_license
SuoSuo-Rocky/HaiYan_left_Pro
9c96148a9fe9edc191b2aa1ba1a4caf55184d2e1
670aedee8b403141c5e81615dea89d28dfcd9ebb
refs/heads/master
2023-01-12T07:12:53.602217
2019-07-07T06:20:25
2019-07-07T06:20:25
195,602,247
0
0
null
2023-01-05T20:39:51
2019-07-07T02:39:33
JavaScript
UTF-8
Python
false
false
407
py
""" WSGI config for StandYourGround project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJAN...
[ "dt1930dgbomb@aliyun.com" ]
dt1930dgbomb@aliyun.com
ef1fb7e03ab2eaaddb3e5df941f24e1d597911b9
0ddb274058b7cf4dc4152b4167195ed322914795
/dxfwrite/algebra/base.py
bdf9002723cfebd13914c55d8162a76c3cd6c901
[ "MIT" ]
permissive
allartburns/dxfwrite
b920843426ebd8cac9c66b84d306655494208d90
2679407a4efc797a616ac26898312f0ba1a24041
refs/heads/master
2020-05-29T22:43:01.545611
2015-04-11T00:32:43
2015-04-11T00:32:43
33,616,670
2
1
null
null
null
null
UTF-8
Python
false
false
2,232
py
#!/usr/bin/env python #coding:utf-8 # Purpose: # Created: 27.03.2010 __author__ = "mozman <mozman@gmx.at>" import math HALF_PI = math.pi / 2. THREE_PI_HALF = 1.5 * math.pi DOUBLE_PI = math.pi * 2. def rotate_2d(point, angle): """ rotate point around origin point about angle """ x = point[0] *...
[ "mozman@gmx.at" ]
mozman@gmx.at
e67646d83b215b610ac774793c91227ab79589ca
2bcf18252fa9144ece3e824834ac0e117ad0bdf3
/Kraken/tags/0.2/release_the_kraken.py.example
d4a845fa0a3f49dc07d99e0751d2aa7fb8f4dee9
[ "Beerware" ]
permissive
chadwhitacre/public
32f65ba8e35d38c69ed4d0edd333283a239c5e1d
0c67fd7ec8bce1d8c56c7ff3506f31a99362b502
refs/heads/master
2021-05-10T14:32:03.016683
2010-05-13T18:24:20
2010-05-13T18:24:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
792
example
#!/usr/local/bin/python # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE": # <chad@zetaweb.com> wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can ...
[ "chad@zetaweb.com" ]
chad@zetaweb.com
7635aee8611720059e84cdb29ab3d3f1adff70a0
3afe7348e830a0c5139fb7cf393736e18b59ab4a
/src/clusterfuzz/_internal/platforms/linux/lkl/kernel_utils.py
7a30a1d4229158f8a6c2d24ce8a1809175c497ae
[ "Apache-2.0" ]
permissive
google/clusterfuzz
00845899e081dbbb89b70a75ce0b7eba3da73b02
6501a839b27a264500244f32bace8bee4d5cb9a2
refs/heads/master
2023-09-03T17:34:17.821599
2023-09-01T16:11:51
2023-09-01T16:11:51
168,060,021
5,420
639
Apache-2.0
2023-09-13T16:40:54
2019-01-29T00:19:40
Python
UTF-8
Python
false
false
2,768
py
# Copyright 2020 Google LLC # # 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, ...
[ "noreply@github.com" ]
google.noreply@github.com
4e25e31332ac40a4a1cd89fc7e30e4ff9596fc27
3b6b8223598de9ec75d827945a613f75c3c6f132
/03-Spider/6_my_ex_se_aio/lagou_se.py
bf6610509f18c30b22e6c8a365df3ec2082f4d61
[]
no_license
Flavio58it/grocery
32380a145d59fb5604c44cd1d7cfe50fedb1e0dd
23e35d4b67208542344985b5e4865b7d5d314be4
refs/heads/master
2022-10-01T17:26:26.409840
2018-11-20T11:05:31
2018-11-20T11:05:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,150
py
""" 使用自动化测试工具 selenium 和 BeautifulSoup 抓取 拉钩网的职位信息 """ import time import pymongo from selenium import webdriver from selenium.webdriver.chrome.options import Options from bs4 import BeautifulSoup def get_html(url, keywords): """ 获取 页面 返回获取的页面列表 :param url: 目标网站 这是是 拉钩网 :par...
[ "1367000465@qq.com" ]
1367000465@qq.com
3110e4e698a996e1e82b66366b19e9b17f240a2c
9da8d60ba0c37a8f5d1f4a7ea8f33f7996b9f1bf
/39.No_Idea!.py
831a88d5f728e99974a73893bab037b24c3ef517
[]
no_license
save6/HackerRank
b7e764200e813453fe6037512652f1c1df1fdff3
da7038b586399e599fdd9e96f7c3b599d928f6a7
refs/heads/master
2023-08-25T13:36:05.632435
2021-10-27T22:19:43
2021-10-27T22:19:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# Enter your code here. Read input from STDIN. Print output to STDOUT if __name__=='__main__': _ = input() answer = list(input().split()) list_A = set(input().split()) list_B = set(input().split()) happiness = 0 for a in answer: if a in list_A: happiness += 1 if a in ...
[ "save6green@gmail.com" ]
save6green@gmail.com
ed2fbd6f401e303eb8cc4479a60c8bd94a1b8e22
377cbbe140fd0faf1eb53ba3794de816ac307cde
/src/experiment/TrainModelExperiment.py
c8b657d6d4c6fbbf74afb4ddf14ee5a51f53cb48
[ "MIT" ]
permissive
dhruvtapasvi/implementation
fcbd7ab8e7b1368a0f07ee41dc5f0b6d6708c206
964980f431517f4548a87172a05107cdf700fb84
refs/heads/master
2021-09-16T01:47:50.601661
2018-05-17T19:22:44
2018-05-17T19:22:44
114,498,055
1
0
MIT
2018-05-05T02:17:35
2017-12-16T23:59:13
Python
UTF-8
Python
false
false
966
py
from experiment.Experiment import Experiment from model.VariationalAutoencoder import VariationalAutoencoder from dataset.loader.DatasetLoader import DatasetLoader class TrainModelExperiment(Experiment): def __init__(self, variationalAutoencoder: VariationalAutoencoder, datasetLoader: DatasetLoader, epochs, batch...
[ "dhruv.tapasvi1996@gmail.com" ]
dhruv.tapasvi1996@gmail.com
4cdf1fd5f6441560066c488889e7395009341605
c364fca8ae4c896dee2c8b0dc545f4d73c8c8314
/unsupervised_learning/0x01-clustering/8-main_2.py
bca71c105dad636e7f26d8135412abb0afb57834
[ "MIT" ]
permissive
ledbagholberton/holbertonschool-machine_learning
7672509d2dc1775bd6708430d244e8f4dd4cb169
eaf23423ec0f412f103f5931d6610fdd67bcc5be
refs/heads/master
2020-12-22T01:12:32.824436
2020-10-11T12:36:48
2020-10-11T12:36:48
236,623,497
1
2
null
null
null
null
UTF-8
Python
false
false
679
py
#!/usr/bin/env python3 import numpy as np EM = __import__('8-EM').expectation_maximization if __name__ == '__main__': np.random.seed(11) a = np.random.multivariate_normal([30, 40], [[75, 5], [5, 75]], size=10000) b = np.random.multivariate_normal([5, 25], [[16, 10], [10, 16]], size=750) c = n...
[ "789@holbertonschool.com" ]
789@holbertonschool.com
baba214cbfbc300cbbf3cfac8cea9aa9c1149d96
8f205d31e8e5555d69e0a7db086a3c93de6d2806
/task_scripts/merge_overlaps.py
7bb49e8383e4cfd29478c39d245d5a50face9f88
[ "MIT" ]
permissive
torms3/Synaptor
94e0f04478118399db91d79a8a8b478858fd4138
5de74aa61b3d04e88e6bc4c336d543f89d64b9a4
refs/heads/master
2021-05-21T19:08:43.625841
2020-06-19T23:10:47
2020-06-19T23:10:47
252,764,824
0
0
NOASSERTION
2020-04-03T15:03:17
2020-04-03T15:03:16
null
UTF-8
Python
false
false
384
py
""" Merge Edges Wrapper Script Merges overlap matrices together Writes the segments of max overlap """ import synaptor as s import argparse parser = argparse.ArgumentParser() # Inputs & Outputs parser.add_argument("storagestr") parser.add_argument("--timing_tag", default=None) args = parser.parse_args() print(va...
[ "nturner.stanford@gmail.com" ]
nturner.stanford@gmail.com
cd37b9253d5a541d3945acb4e29a7a6cc456b84b
f9a5e7233875989f994438ce267907d8210d60a1
/test/pump_sensor/metalearning/knn_ranking/RMSE/k=3/extra_trees/sensor_prediction_extraTrees_AUCPRC.py
c51bf8495532222f767c46f192a351e7ebb6c9e6
[]
no_license
renoslyssiotis/When-are-Machine-learning-models-required-and-when-is-Statistics-enough
da8d53d44a69f4620954a32af3aacca45e1ed641
6af1670a74345f509c86b7bdb4aa0761c5b058ff
refs/heads/master
2022-08-29T20:21:57.553737
2020-05-26T18:03:46
2020-05-26T18:03:46
256,439,921
0
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
import sys, os, pickle from pathlib import PurePath current_dir = os.path.realpath(__file__) p = PurePath(current_dir) sys.path.append(str(p.parents[7])+'/metalearners/knn_ranking_method/RMSE') from KNN_ranking_k_3_RMSE import KNN_ranking #Load the selected meta-dataset after performing zero-variance threshold with op...
[ "rl554@cam.ac.uk" ]
rl554@cam.ac.uk
3df71c5457a9604d5a8d822930171a8250ec8280
66b1f3c3e57f53e1404d6e17c4acc850173a531d
/Python/Django/Calculator/calc_app/calc_app/settings.py
015d84b659a6d1c67ad8a34c0caeac9554a8f063
[]
no_license
bMedarski/SoftUni
ca4d6891b3bbe7b03aad5960d2f4af5479fd8bbd
62cd9cb84b0826e3381c991882a4cdc27d94f8ab
refs/heads/master
2021-06-08T17:32:39.282975
2020-02-04T11:57:08
2020-02-04T11:57:08
67,947,148
6
3
null
2021-05-06T20:35:42
2016-09-11T18:31:02
Python
UTF-8
Python
false
false
3,094
py
""" Django settings for calc_app project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os ...
[ "boyamedarski@mail.bg" ]
boyamedarski@mail.bg
06a1b2a6764dcc999c4dc021994100e23d2a2b93
52b5773617a1b972a905de4d692540d26ff74926
/.history/duplicate_20200619182445.py
9dae68d8081d41f90f083abc2f6f88532d71fbe0
[]
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
690
py
def duplicate(str): # brute force approach # is storing the substring and checking how many times they # occur # dictionary key is the substring and occurrences is how many # times its occurred words ={} # pointers left = 0 right = 1 new = [] while right <= len(str) and l...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
4981bd2b9338bf1e9c7f1e12ac1b0cbbb93b7c11
7beff965d7b0e6155d6d52b27d71c557421d5ada
/abc160/e/a.py
d39046088669528af74eef2618f8b38a62258db5
[]
no_license
uk-ar/competitive_programming
82a53a1007798843ac006b9c7d313826e6cb45c3
d2523cf303f47644cada3b03e9eed2349bdbe394
refs/heads/master
2023-03-28T13:20:07.728861
2021-03-30T20:25:55
2021-03-30T20:25:55
249,638,234
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
#!/usr/bin/env pypy3 import sys sys.setrecursionlimit(15000) x,y,a,b,c = map(int,input().split()) p = list(sorted(map(int,input().split()),reverse=True))[:x] # x q = list(sorted(map(int,input().split()),reverse=True))[:y] # y r = list(sorted(map(int,input().split()),reverse=True)) print(sum(sorted(p+q+r,reverse=True)[:...
[ "yuuki.ari@gmail.com" ]
yuuki.ari@gmail.com
4976f0269c542b42bd84c779b123bc15f165d539
92e3a6424326bf0b83e4823c3abc2c9d1190cf5e
/scripts/icehouse/opt/stack/tempest/tempest/api/compute/volumes/test_volumes_get.py
4f77fa7dca18d39522c591d9e676dac128abe8d6
[ "Apache-2.0" ]
permissive
AnthonyEzeigbo/OpenStackInAction
d6c21cf972ce2b1f58a93a29973534ded965d1ea
ff28cc4ee3c1a8d3bbe477d9d6104d2c6e71bf2e
refs/heads/master
2023-07-28T05:38:06.120723
2020-07-25T15:19:21
2020-07-25T15:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,143
py
# Copyright 2012 OpenStack Foundation # 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 requ...
[ "cody@uky.edu" ]
cody@uky.edu
7715d5679012483083ebf58aa1308f7a584f95d5
fbfe37305712d49c84d87b2bb3ef88d3cf68cf69
/apps/post/migrations/0001_initial.py
1409752baa7f263d6454d8f513746baf8672b72a
[]
no_license
xal9wiii4ik/social_network
50ba7788bbd4b53c77f69f61c5790c3a4a13b6e4
23d6c72bf4ed0e182570d0e55e973f22701850cd
refs/heads/master
2023-03-30T22:03:28.379419
2021-04-08T21:55:56
2021-04-08T21:55:56
325,549,609
0
0
null
null
null
null
UTF-8
Python
false
false
1,758
py
# Generated by Django 3.1.5 on 2021-01-27 13:55 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "xal9wIII4ik@yandex.ru" ]
xal9wIII4ik@yandex.ru
ef6aef324a83544b3a9424e5c5c1b975b4f19d4d
0e04214a06ef5b220f9179bd7b7a0792ea17145b
/genqr.py
2f79d2caf4616f5d43d85dd3432ef354d949bf00
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-gutenberg-2020" ]
permissive
tebeka/pythonwise
cbeb63d4f4b2ec8d1d0df392f721c1557d9b00f4
e3e1cdca77224c0ff2cf1fba69d20c997224decc
refs/heads/master
2022-11-19T03:59:17.736977
2022-11-08T07:22:20
2022-11-08T07:22:20
45,970,082
23
8
BSD-3-Clause
2021-04-21T04:54:40
2015-11-11T08:46:50
Python
UTF-8
Python
false
false
1,580
py
#!/usr/bin/env python '''Generate QR code using Google Charts API''' import sys # Python 3/2 compatibility if sys.version_info[:2] < (3, 0): from urllib import urlopen, urlencode import httplib stdout = sys.stdout else: from urllib.request import urlopen from urllib.parse import urlencode impor...
[ "miki.tebeka@gmail.com" ]
miki.tebeka@gmail.com
afccf24a53afcb8a7a26b451ffabd6f8218d208a
07b37ca45d38edea112895049acf76d96ff07eff
/3.Processing&UnderstadingText/stemming.py
7493e6263eb23c0111bcfc4069bbdb0ababcca3f
[]
no_license
KRBhavaniSankar/NLTK
e335944de346be72a01c92221b0bf58d85475fb9
4b228338566996fbccee72cb6afaa199a6496787
refs/heads/master
2020-03-12T23:03:59.981112
2018-05-11T01:15:28
2018-05-11T01:15:28
130,858,622
0
0
null
null
null
null
UTF-8
Python
false
false
1,539
py
# -*- coding: utf-8 -*- """ Created on Fri APR 29 10:04 AM @author: Bhavani """ """ The NLTK package has several implementation for stemmers, These stemmers are implemented in the stem module , which inherits the stemmer interface in the nltk.stem.api module. One of the most popular stemmers is the PorterStemmer. Th...
[ "krbhavanisankar@gmail.com" ]
krbhavanisankar@gmail.com
dbe354eca1ad06148fab7434a384fd6262c32ff8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03845/s040519010.py
af55c2d9fab44bd279e0ea967a34ce3e0dfda0cd
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
import sys, os, math, bisect, itertools, collections, heapq, queue, copy, array # from scipy.sparse.csgraph import csgraph_from_dense, floyd_warshall # from decimal import Decimal # from collections import defaultdict, deque sys.setrecursionlimit(10000000) ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9ed21cd4df7efe6eaadf95f108b7c5e71d1d8a07
c7d0f590f3353b827ed34b731c2f6c53952a1f65
/autocv/researcher.py
7d8ad3376953e7b13829f6fe7f6647f44eb5fdb2
[ "MIT" ]
permissive
Daniel-Gong/autoCV
811285a15c913776ced6c2ca49e8b4c625514399
ea620c88f46900bc177eb06775f001696c77a09d
refs/heads/master
2023-06-26T11:53:17.831465
2021-08-05T17:16:01
2021-08-05T17:16:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,008
py
""" class for a researcher """ import os import json import requests import scholarly import pypatent from .orcid import get_dois_from_orcid_record from .pubmed import get_pubmed_data from .publication import JournalArticle, Book, BookChapter from .crossref import get_crossref_records, parse_crossref_record from .util...
[ "poldrack@gmail.com" ]
poldrack@gmail.com
5a0afac41b222f0e907588c7a0cd449a2394cad6
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AntMerchantExpandMerchantTypeQueryModel.py
73349409d748e7a00a24a09e560029204227e6f5
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
890
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AntMerchantExpandMerchantTypeQueryModel(object): def __init__(self): self._user_id = None @property def user_id(self): return self._user_id @user_id.setter def u...
[ "ben.zy@antfin.com" ]
ben.zy@antfin.com
6ac230540f541b35846d2ee4981281291f47efc3
987697512ce9b8d7c29bfd2f18d5aec0261a6863
/二叉树的层次遍历II.py
b6a34e636804c1c42d8861937870a5d1564c2981
[]
no_license
Luckyaxah/leetcode-python
65e7ff59d6f19312defdc4d4b4103c39193b198a
2b9c78ba88e7bf74a46a287fb1914b4d6ba9af38
refs/heads/master
2023-06-05T12:15:31.618879
2021-06-22T13:05:30
2021-06-22T13:05:30
262,287,940
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
from 二叉树类 import TreeNode class Solution: def levelOrderBottom(self, root: TreeNode) : if not root: return [[]] ret = [] def fun(root,level): if not root: return if len(ret)<level+1: ret.append([root.val]) else:...
[ "math_leqi@163.com" ]
math_leqi@163.com
e184a01c1505720f9c09cf93c097dc09449403fa
f707303e4dfe383cf82c23a6bb42ccfdc4cfdb67
/pandas-ml-utils/pandas_ml_utils_test/ml/model/test_skmodel_accuracy.py
14b0da71b9536c9f63f59bff4a5256abf2c77f00
[ "MIT" ]
permissive
jcoffi/pandas-ml-quant
1830ec256f8c09c04f1aa77e2eecfba07d34fe68
650a8e8f77bc4d71136518d1c7ee65c194a99cf0
refs/heads/master
2023-08-31T06:45:38.060737
2021-09-09T04:44:35
2021-09-09T04:44:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
from pandas_ml_utils import FittingParameter from pandas_ml_utils_test.ml.model.test_model_accuracy import TestModelAccuracy class TestSkModelAccuracy(TestModelAccuracy): def provide_linear_regression_model(self): from sklearn.linear_model import LinearRegression from sklearn.neural_network impor...
[ "kic@kic.kic" ]
kic@kic.kic
7aa7cb3ed8f101f228aa9076e18398a6f5937a6e
b1ddd313527e84ace13729c7f0ad6953f254d0f1
/tester.py
d2cb0273fb26c0047f5e0d3b91d0945a072b4bd6
[]
no_license
sander76/weasy-server
bc4e4d98aedab52037e831fed55993d1be27db8c
f8196d382ca7abba4156d6f62a0371b9b2ad05f2
refs/heads/master
2020-06-28T22:57:23.783768
2016-12-02T10:05:47
2016-12-02T10:05:47
74,461,488
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
from weasyprint import HTML import logging logging.basicConfig(level=logging.DEBUG) URL = "http://tools.hde.nl/menc/site/guides/Pliss%C3%A9%20%26%20Duette%C2%AE%20Bottom-Up%20programming/" OUT = "/home/admin-s/test.pdf" for lp in range(0, 300): try: HTML(URL).write_pdf(OUT) except OSError as e: ...
[ "s.teunissen@gmail.com" ]
s.teunissen@gmail.com
4ad300b3af57d974576a31de15ca71fa38cfe7c8
8d35b8aa63f3cae4e885e3c081f41235d2a8f61f
/discord/ext/dl/extractor/cnbc.py
90c89123e5bbed7130c3977526254dd0beb26afc
[ "MIT" ]
permissive
alexyy802/Texus
1255f4e54c8d3cc067f0d30daff1cf24932ea0c9
c282a836f43dfd588d89d5c13f432896aebb540f
refs/heads/master
2023-09-05T06:14:36.217601
2021-11-21T03:39:55
2021-11-21T03:39:55
429,390,575
0
0
MIT
2021-11-19T09:22:22
2021-11-18T10:43:11
Python
UTF-8
Python
false
false
2,370
py
# coding: utf-8 from __future__ import unicode_literals import re from .common import InfoExtractor from ..utils import smuggle_url class CNBCIE(InfoExtractor): _VALID_URL = r"https?://video\.cnbc\.com/gallery/\?video=(?P<id>[0-9]+)" _TEST = { "url": "http://video.cnbc.com/gallery/?video=3000503714"...
[ "noreply@github.com" ]
alexyy802.noreply@github.com