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
8002be677ca26279c21afda1f4891664c842fd7f
8c7a187ebfe858ff3f840602585d166b29fce576
/appstore/translation.py
b8994cca4910d34679e424ebbe4ce5c70da3c2d9
[]
no_license
ohannes/pythonScripts
b756faa2e6d5314cb04c7afc0ca07f69027f59b2
5249b2735d8b2a9a2c6ad8a1ae625cb47f50d0b5
refs/heads/master
2020-04-06T04:20:29.565042
2015-07-19T17:40:39
2015-07-19T17:40:39
34,119,366
0
0
null
null
null
null
UTF-8
Python
false
false
2,552
py
import os language_yml_path = "/home/arcelik/projects/appstore2.0/server/config/locales" EOL = "\n" CR = "\r" TAB = "\t" SPACE = " " skip_characters = [SPACE, TAB, CR, EOL] file_extension_splitter = "." yml_extension = "yml" extension = "translation" language_code_length = 2 reference_language_code = "en" reference_l...
[ "yasinyildiza@gmail.com" ]
yasinyildiza@gmail.com
2d08fab219857c1c78989b15f11f4bad4e48c065
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_expedited.py
7d2b6ebd4dc9da31f59bc5114301568600ec3d23
[ "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
230
py
#calss header class _EXPEDITED(): def __init__(self,): self.name = "EXPEDITED" self.definitions = expedite self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['expedite']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
195342a7a8d19ad4d68a02c17a005b456d2aeceb
0a42fed6746cd9093fc3c3d4fbd7ac5d2cff310f
/python高级编程io/study07/code01_ORM_test.py
918a9b4bd5423b334ab34b3fbb20d8b68d656220
[]
no_license
luoshanya/Vue_Study
4767fc46f2186c75a4b2f7baeeb2fcc9044bd9a4
d3a07364a63f0552b166a5697a7245f56e38e78d
refs/heads/master
2020-06-19T02:15:20.253362
2019-07-17T08:49:48
2019-07-17T08:49:48
196,529,016
0
0
null
null
null
null
UTF-8
Python
false
false
4,630
py
import numbers import pymysql class Filed: pass class IntField(Filed): def __init__(self, db_column, min_value=None, max_value=None): self._value = None self.min_value = min_value self.max_value = max_value self.db_column = db_column if min_value is not None: ...
[ "310927880@qq.com" ]
310927880@qq.com
5aa9ac1c17aafb0c47541e41079ce7ae7c3a0596
dcbef06d5a00f07756339b9e62c684dec2fee425
/tests/basics/ClassesTest34.py
13254254ae97a63bd3a5c3f24db20b3bef63ed30
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Nuitka/Nuitka
f9543d8d95bfa0b81d4e60af0dfad99fb72893a4
d87faf2f7e1d6ed9bfe4cf8c1d648f34307e33f2
refs/heads/develop
2023-08-28T14:00:32.861328
2023-08-27T09:16:45
2023-08-27T09:16:45
9,626,741
8,573
599
Apache-2.0
2023-09-13T02:49:41
2013-04-23T15:40:33
Python
UTF-8
Python
false
false
1,406
py
# Copyright 2023, Kay Hayen, mailto:kay.hayen@gmail.com # # Python tests originally created or extracted from other peoples work. The # parts were too small to be protected. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the ...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
c5bc92e292c60a7a58f74a7e71291cac3968bfc8
1aeb828e57be9b046ee25433fff05956f01db53b
/python_bms/ALGORITHMS/SWEA/SWEA_d2/1986.지그재그숫자.py
00ecd7e2ed3f2062c756fb5f7c20c59c9c54153c
[]
no_license
LynnYeonjuLee/TIL_BMS2
11f2753e2e82c4898a782d6907a21e973c34cf69
f363723391598caf5ec6b33925fcb8a13a252d9f
refs/heads/master
2023-01-22T00:45:25.091512
2020-12-04T00:22:44
2020-12-04T00:22:44
290,238,836
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
T = int(input()) for test_case in range(1, T+1): N = int(input()) result = 0 for i in range(1, N+1): if i % 2 == 1: result += i else: result -= i print(f'#{test_case} {result}')
[ "lynnlyj9@gmail.com" ]
lynnlyj9@gmail.com
75d4d2d5cd7f43565d0f937dec45d592a73eaed0
2442d073434d463cede4a79ae8f9fd31c62174f8
/procedural-programming/exceptions/name-error.py
832f2844420c2a3aed590e3ddd8ab52153adc4d3
[]
no_license
grbalmeida/hello-python
3630d75cfdde15223dc1c3a714fd562f6cda0505
4d9ddf2f7d104fdbc3aed2c88e50af19a39c1b63
refs/heads/master
2020-07-10T10:04:38.982256
2020-02-26T00:37:36
2020-02-26T00:37:36
204,237,527
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
try: print(nonexistent_variable) except NameError as error: print(error.args) print(f'The variable was not set: {error}') else: print('The code was executed without throwing any exceptions')
[ "g.r.almeida@live.com" ]
g.r.almeida@live.com
afb8519068bdf6411c8ce24d687543a19994b39f
e38f7b5d46fd8a65c15e49488fc075e5c62943c9
/pychron/canvas/tasks/designer.py
43aed5471b6e5e63fc8030de8446c425a50ab10d
[]
no_license
INGPAN/pychron
3e13f9d15667e62c347f5b40af366096ee41c051
8592f9fc722f037a61b0b783d587633e22f11f2f
refs/heads/master
2021-08-15T00:50:21.392117
2015-01-19T20:07:41
2015-01-19T20:07:41
111,054,121
0
0
null
null
null
null
UTF-8
Python
false
false
3,887
py
#=============================================================================== # Copyright 2013 Jake Ross # # 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/license...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
ad5d8cd83f719b59a3793b8bfcbfda33cd7f65b0
095521582f598b65b76f222d8c1acbcaca0c24bf
/output_raw/output_input_Lx1Ly3.py
db4de0907eb008061450f4a61a6d47971d67167b
[ "MIT" ]
permissive
ryuikaneko/itps_contraction
cf07e41d32e93c10db6ebeb1c4f5246b238e737b
10816fb6c90d77f5a3b2f804ab22573d1d676eb4
refs/heads/master
2020-08-28T23:05:00.262183
2020-08-03T01:04:22
2020-08-03T01:04:22
217,847,703
1
1
null
null
null
null
UTF-8
Python
false
false
2,511
py
def Contract_scalar_1x3(\ t0_4,t1_4,t2_4,\ t0_3,t1_3,t2_3,\ t0_2,t1_2,t2_2,\ t0_1,t1_1,t2_1,\ t0_0,t1_0,t2_0,\ o1_3,\ o1_2,\ o1_1\ ): ############################## # ./input/input_Lx1Ly3.dat ############################## # (o1_2*(t1_2*((t2_2*(t2_1*(t1_1*((o1_1*t1_1....
[ "27846552+ryuikaneko@users.noreply.github.com" ]
27846552+ryuikaneko@users.noreply.github.com
6f587046be7066cad70382b794003f17a416b0aa
6515dee87efbc5edfbf4c117e262449999fcbb50
/eet/Pacific_Atlantic_Water_Flow.py
b5b510ce650e4d832898d5e4641d865557b67c63
[]
no_license
wangyunge/algorithmpractice
24edca77e180854b509954dd0c5d4074e0e9ef31
085b8dfa8e12f7c39107bab60110cd3b182f0c13
refs/heads/master
2021-12-29T12:55:38.096584
2021-12-12T02:53:43
2021-12-12T02:53:43
62,696,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
""" 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 directions (up, down, left, or right) from a cell to ano...
[ "wangyunge1@yahoo.com" ]
wangyunge1@yahoo.com
262a0db07ed6e9da60628477540a51c51d4cdb30
7365f2410c139c5f4bf5ba0777ed0321322c92d9
/python/数组中只出现一次的数字.py
bf189f784d5f0e385008e6c963df8d84172acffe
[]
no_license
EvanJamesMG/Point-to-the-offer
956a17a3c2a0d99a11428765f6af9f4ebbbe5fc3
cc9b6b7572cf819f0e53a800899e1ebd9fd6cf9d
refs/heads/master
2021-01-10T17:11:06.125860
2016-04-21T03:47:15
2016-04-21T03:47:15
52,489,364
1
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
# coding=utf-8 __author__ = 'EvanJames' class ListNode: def __init__(self, x): self.val = x self.next = None class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class RandomListNode: def __init__(self, x): self.label = ...
[ "Evan123mg@gmail.com" ]
Evan123mg@gmail.com
a5d12bb6d61ae83e3e28dc74139590146591a395
09f8a3825c5109a6cec94ae34ea17d9ace66f381
/cohesity_management_sdk/models/filter_ip_config.py
599025d68f0a892418ff10e71716b77276675c3d
[ "Apache-2.0" ]
permissive
cohesity/management-sdk-python
103ee07b2f047da69d7b1edfae39d218295d1747
e4973dfeb836266904d0369ea845513c7acf261e
refs/heads/master
2023-08-04T06:30:37.551358
2023-07-19T12:02:12
2023-07-19T12:02:12
134,367,879
24
20
Apache-2.0
2023-08-31T04:37:28
2018-05-22T06:04:19
Python
UTF-8
Python
false
false
2,058
py
# -*- coding: utf-8 -*- # Copyright 2023 Cohesity Inc. class FilterIpConfig(object): """Implementation of the 'FilterIpConfig' model. Specifies the list of IP addresses that are allowed or denied at the job level. Allowed IPs and Denied IPs cannot be used together. Attributes: allowed_ip_a...
[ "naveena.maplelabs@cohesity.com" ]
naveena.maplelabs@cohesity.com
6a9a4b92daa1da9160d1d1440fa87b2c6ff94510
4cf652ee4168f6f728d4ad86a9df13fd3431fd98
/DynamicProgramming/perfect-squares.py
66193dfcb8ff4d53f8769187374993dfe945a26b
[]
no_license
jadenpadua/Foundation
73940b73720a3e84f46502797a02fa19117b653c
042a83177e8cce7291c9b31b54b3d71e4d4c9696
refs/heads/master
2023-03-07T03:20:21.546843
2021-02-16T23:16:43
2021-02-16T23:16:43
286,326,064
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
class Solution: def numSquares(self, n: int) -> int: dp = [0] *(n+1) for i in range(1, n+1): min_val = i j, sq = 1,1 while sq <= i: min_val = min(min_val, 1 + dp[i-sq]) j += 1 sq = j*j dp[i] ...
[ "noreply@github.com" ]
jadenpadua.noreply@github.com
e88b4b5dc565e63758784709e887b291b8b6b45c
33a69f068d3ab986fb513867eb5e90f729100527
/advcbv2/basic_app/templates/basic_app/pythdjango/bji.py
b4b557401b12cb26308cc4ad55df6ed52326ca16
[]
no_license
Ayush900/django-2
44aef2b6c4cc1e54e75d8d649963289864acfb97
cfcb1b4c5e3a3e2fc801e1c2cc5cbb236191981a
refs/heads/master
2020-07-06T22:32:39.853411
2019-08-19T14:11:26
2019-08-19T14:11:26
203,158,378
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
d = [] d.append('1') d.append('2') d.append('3') print(d)
[ "ayush.mehrotra900@gmail.com" ]
ayush.mehrotra900@gmail.com
d26cece290c619bc7a5ac2689dfeb990b05579af
10aefc154e740941a9b340f471b785739280fc93
/May2020/1st_week/reverse_int.py
e8da53f0c7436c79be3d129f843d5e3032f765cd
[]
no_license
saurabh-kumar88/leetcode
465b9eaa7d844eba21c3bc4e9cc1e3348c75c037
282b270c1a97bc726b835f8288fdb898a8d0c81c
refs/heads/master
2022-12-04T13:13:32.144792
2020-08-21T14:54:24
2020-08-21T14:54:24
280,216,966
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
class Solution: def reverse(self, x: int) -> int: # check if number is greater then 32 bit if x < -(2**31) or x > (2**31) -1: return 0 string = str(x) if x < 0: result = int("-" + str(-x)[::-1]) else: result = int(string[::-1]) # Ag...
[ "ykings.saurabh@gmail.com" ]
ykings.saurabh@gmail.com
9b5c50da6072d37a8bab42e3f2baa02890590e25
77741ac3384cf80ba9f5684f896e4b6500064582
/PycharmProjects/模块、包、异常/04-捕获异常信息.py
67d9c93ccddcea9b796f7cc827d2ccf9e5016259
[ "MIT" ]
permissive
jiankangliu/baseOfPython
9c02763b6571596844ee3e690c4d505c8b95038d
a10e81c79bc6fc3807ca8715fb1be56df527742c
refs/heads/master
2020-05-09T12:11:02.314281
2019-04-13T01:17:24
2019-04-13T01:17:24
181,104,243
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# print(num) # NameError # 捕获异常类型 # try: # print(num) # # print(1/0) # # except ZeroDivisionError: # except NameError as e: # print(e) # try: # # print(num) # print(1/0) # except ZeroDivisionError as e: # # except NameError as e: # print(e) try: print(1 / 0) print(nu...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
3713d0ee0e3afed4e3607b6ad33354ee81071a6e
4331b28f22a2efb12d462ae2a8270a9f666b0df1
/.history/dvdstore/webapp/views_20190914133048.py
615e3723c4902560ba9ac1776831448b19fbf81a
[]
no_license
ZiyaadLakay/csc312.group.project
ba772a905e0841b17478eae7e14e43d8b078a95d
9cdd9068b5e24980c59a53595a5d513c2e738a5e
refs/heads/master
2020-07-26T23:30:22.542450
2019-09-16T11:46:41
2019-09-16T11:46:41
200,703,160
0
0
null
2019-08-05T17:52:37
2019-08-05T17:52:37
null
UTF-8
Python
false
false
6,307
py
from django.shortcuts import render from .models import DVD, Transaction, Customer from django.core.paginator import EmptyPage,PageNotAnInteger, Paginator from django.db.models import Q from django.contrib.auth.models import User, auth from django.shortcuts import render, redirect from django.contrib import messages fr...
[ "uzairjoneswolf@gmail.com" ]
uzairjoneswolf@gmail.com
0c68c77ef939049bed031efdf45c216db9610edd
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_36890.py
73834950ff39fa5355e42875299c9eccc14f854b
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,832
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
055318a7275ecbf68596296f9cb1e45c5239ea9f
c0ce40b948129cd1d293bb024649d103348b30a4
/tkinter_demo2.py
3775dd3054875a5bb3f456f9ead8512748209608
[]
no_license
BrettMcGregor/udemy-python-tim
ee6dc2882b57cd05f9df433459917e2ae6f05cd1
fd4e3368987740491a802cab7ce469db5b528505
refs/heads/master
2020-03-11T17:05:38.268836
2018-07-11T23:11:04
2018-07-11T23:11:04
130,137,368
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
# this uses the grid configuration import tkinter # print(tkinter.TkVersion) # print(tkinter.TclVersion) # # tkinter._test() main_window = tkinter.Tk() main_window.title("Country Destroyer") main_window.geometry("640x480+8+200") label = tkinter.Label(main_window, text="Choose a country to destroy.\n(Important: Can...
[ "brett.w.mcgregor@gmail.com" ]
brett.w.mcgregor@gmail.com
682e8bc78b5df1311583a636f8d185ddbcf42c35
a33a1490b1b344f603e347e7f2db2daab5a23d32
/components/app_outputs/chain_flow_assembler/system_definition.py
3ea53efff4ee2d2136f036878e91f878fba07eb4
[ "MIT" ]
permissive
glenn-edgar/esp32_gateway
16fabe8c4e937d9d98ca825ad28275b1c3ede6a7
5dc4a65eeb2226b6a6529c91a5491df7080b853f
refs/heads/master
2020-03-26T12:10:03.555424
2019-02-21T22:54:39
2019-02-21T22:54:39
144,878,278
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
from helper_functions import Helper_Functions from assembler import CF_Assembler cf = CF_Assembler() hf = Helper_Functions( cf ) cf.define_chain("initialization",True) hf.one_step("analog_output_store_cf_handle_ref") hf.one_step("analog_output_subscribe_configuration") hf.one_step("analog_output_subscribe...
[ "glenn-edgar@onyxengr.com" ]
glenn-edgar@onyxengr.com
8d73df9c54e5b8fc70e96d319792bc44f407983d
7d117771094a24bc411ec8d5a7b8525a5b85b018
/ninfo_plugins/google_safebrowsing/google_safebrowsing_plugin.py
fdf9a34ee3d85a5cecf0a8b3fc774763ca184c82
[]
no_license
kraigu/ninfo_plugins
18ca1be940101a5d5f863320c53a0cd7cc80efce
746cc48567036337763e888f913f3a4321f166d3
refs/heads/master
2021-01-18T06:36:08.108586
2013-09-19T16:06:25
2013-09-19T16:06:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,107
py
import urllib import requests from ninfo import PluginBase class SafeBrowsing(PluginBase): """This plugin looks up the address using the google safe browsing API""" name = 'google_safebrowsing' title = 'Google Safe Browsing' description = 'Google Safe Browsing check' cache_timeout ...
[ "justin@bouncybouncy.net" ]
justin@bouncybouncy.net
7625a230d83e667833e77845ff3774f296eff5a9
08607218396a0269a90e8b4e6d099a5e99e39a8b
/database/schemes/520/script/testCase/U商城项目/U商城管理端/商城设置/邮件配置/邮件配置.py
ab4610a6db1d39606a04c5f3d9dbf57d04b89f88
[ "MIT" ]
permissive
TonnaMajesty/test
4a07297557669f98eeb9f94b177a02a4af6f1af0
68b24d1f3e8b4d6154c9d896a7fa3e2f99b49a6f
refs/heads/master
2021-01-19T22:52:18.309061
2017-03-06T10:51:05
2017-03-06T10:51:05
83,779,681
1
0
null
null
null
null
UTF-8
Python
false
false
2,084
py
# coding=utf-8 from time import sleep from SRC.common import utils_user from SRC.common.decorator import codeException_dec from SRC.common.utils_user import randomStr from SRC.unittest.case import TestCase from script.common import utils class EasyCase(TestCase): def __init__(self, webDriver, paramsList): # 请不要修改...
[ "1367441805@qq.com" ]
1367441805@qq.com
8938317598a9a86283eea78906a657c88997f08b
5c0da13908588a0c6a7e8a5754e28d9d52acaa5c
/apps/recurring_donations/management/commands/process_monthly_donations.py
d108ede2ad6d65768e75d276275da05c172e0a17
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
onepercentclub/onepercentclub-site
27e7ddc8b9c0f54a96a948f9628bf66d568aaa4e
a161fcde077e2d68da0c0682d6013c899ba9ba9f
refs/heads/master
2020-04-20T12:00:12.928969
2015-03-17T14:30:46
2015-03-17T14:30:46
4,778,930
7
0
null
2015-03-25T16:22:57
2012-06-25T07:16:50
Python
UTF-8
Python
false
false
14,819
py
from decimal import Decimal import math import logging from collections import namedtuple from optparse import make_option from bluebottle.payments.exception import PaymentException from bluebottle.payments.models import OrderPayment from bluebottle.payments_docdata.exceptions import DocdataPaymentException from apps...
[ "loek@1procentclub.nl" ]
loek@1procentclub.nl
e1d98d6303c4964aecf927dceb1b4efdad956332
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02829/s182547958.py
e9f2cdfe35070d04b02f5d46d9e660927e631f64
[]
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
92
py
a = int(input()) b = int(input()) l = {1, 2, 3} m = {a, b} ans = list(l ^ m) print(ans[0])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
79bbfeded34d7846b0dbd38c449856cccf9fbf93
5ec7d0bad8a77c79843a2813f5effcb3a2b7e288
/tests/test_main.py
ffea5974434e9311dd3cf5d9a101028cc1cd9e96
[ "Apache-2.0" ]
permissive
xdpknx/lean-cli
aca9b9c9c4e156c9faefcfa8ccdfc20423b510a0
c1051bd3e8851ae96f6e84f608a7116b1689c9e9
refs/heads/master
2023-08-08T02:30:09.827647
2021-09-21T21:36:24
2021-09-21T21:36:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,387
py
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean CLI v1.0. Copyright 2021 QuantConnect Corporation. # # 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...
[ "jaspervmerle@gmail.com" ]
jaspervmerle@gmail.com
50dff405b181b454abda8be27a8b50fe2ebcce82
c67831f476cb530fc0c26e0bf4258ce18e986749
/module_index/tests.py
d40565133c9787f282d39d67ff2417b2a4fb2303
[ "MIT" ]
permissive
cz-qq/bk-chatbot
a3ce4b86452b3de0ff35430c1c85b91d6b23a3e6
da37fb2197142eae32158cdb5c2b658100133fff
refs/heads/master
2023-06-05T05:48:22.083008
2021-06-15T10:21:30
2021-06-15T10:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
# -*- coding: utf-8 -*- """ TencentBlueKing is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaSCommunity Edition) available. Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file excep...
[ "123@qq.com" ]
123@qq.com
d3fc93d85d759bbc1e89ac327877028c9aa3baa8
20496ecc073d3830994e0bbcfcbf13b3c2621de2
/doc/beacon-2011/week7/scope-2.py
dbebdf5cda727595a929e6e15d51e6950831abab
[ "CC0-1.0" ]
permissive
ctb/edda
eace66170133257fb70159069bf9a181b9aa8f6b
52b35867d0d2b18a464071c31488cff962c64612
refs/heads/master
2020-05-30T14:41:11.990779
2013-09-24T02:50:54
2013-09-24T02:50:54
680,852
1
11
null
null
null
null
UTF-8
Python
false
false
39
py
a = 5 def f(): print a a = 7 f()
[ "titus@idyll.org" ]
titus@idyll.org
072ad3bba17592aa2916cb1ee06e7e4366f0d1fb
5c7da7dabdc076ad7113ccd20561a8bbf5f9a70e
/platforms/migrations/0067_platformnames_fee_owner.py
2fa176863442ed5c10e75d08a2ca64160573d7a4
[]
no_license
aqcloudacio/cloudaciofeez
2499fb5fc5334fa871daab2abea6c34bfa8c7667
8399560ece9aa10a6d6801f42c027dca26a65936
refs/heads/master
2023-02-27T22:36:20.501159
2021-02-11T00:03:46
2021-02-11T00:03:46
337,887,413
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
# Generated by Django 2.2.7 on 2020-12-10 04:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('platforms', '0066_auto_20201208_1532'), ] operations = [ migrations.AddField( model_name='platf...
[ "alejandro.quintero@clouxter.com" ]
alejandro.quintero@clouxter.com
40a6b22f0119f2967995278c827503b3f3280d70
b76ae361ab277923d0fed969b795074a1ecb400b
/project/python_fullstack/day2/test2.py
38c85418a32188adc436f65248608275c0338291
[]
no_license
RobotNo42/old_coed
995df921e31d5a9b65f1609380235330edb546ad
59f82e5d58965dd5c6340f4daf4ef43d1d311252
refs/heads/master
2021-07-18T00:07:33.450173
2020-06-16T13:51:11
2020-06-16T13:51:11
180,384,457
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
items = ["Macbook", "剃须刀", "cherry", "ps4pro", "switch", "xboxone"] print(id(items))
[ "chengge1124@gmail.com" ]
chengge1124@gmail.com
f0fd341dcb455bd497a306d34aeb64a84913de71
8bb2842aa73676d68a13732b78e3601e1305c4b2
/July LeetCoding Challenge 2021/566.py
c30bd6b11c5ff1581dc588c3d5f8330669d264cd
[]
no_license
Avani18/LeetCode
239fff9c42d2d5703c8c95a0efdc70879ba21b7d
8cd61c4b8159136fb0ade96a1e90bc19b4bd302d
refs/heads/master
2023-08-24T22:25:39.946426
2021-10-10T20:36:07
2021-10-10T20:36:07
264,523,162
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
# Reshape the Matrix class Solution(object): def matrixReshape(self, mat, r, c): """ :type mat: List[List[int]] :type r: int :type c: int :rtype: List[List[int]] """ rows_i = len(mat) cols_i = len(mat[0]) if ((rows_i * cols_i) != (r * c)): ...
[ "noreply@github.com" ]
Avani18.noreply@github.com
34ddb517ab73070ec1ffc68b3d04d73e62872135
3b9d763180410bf0abf5b9c37391a64319efe839
/toontown/coghq/CashbotMintPaintMixer_Action00.py
0bfa075dbffebda1a3def8fec4fe276964ae82d7
[]
no_license
qphoton/Reverse_Engineering_Project_ToonTown
442f15d484324be749f6f0e5e4e74fc6436e4e30
11468ab449060169191366bc14ff8113ee3beffb
refs/heads/master
2021-05-08T00:07:09.720166
2017-10-21T02:37:22
2017-10-21T02:37:22
107,617,661
0
1
null
null
null
null
UTF-8
Python
false
false
3,710
py
# File: C (Python 2.4) from toontown.coghq.SpecImports import * GlobalEntities = { 1000: { 'type': 'levelMgr', 'name': 'LevelMgr', 'comment': '', 'parentEntId': 0, 'cogLevel': 0, 'farPlaneDistance': 1500, 'modelFilename': 'phase_10/models/cashbotHQ...
[ "Infinitywilee@rocketmail.com" ]
Infinitywilee@rocketmail.com
dc308ae03a1692f1bb5d53d761488815310d9758
9f2f386a692a6ddeb7670812d1395a0b0009dad9
/python/paddle/fluid/tests/unittests/test_complex_matmul.py
dac4e36ea673b72b5e420b85829f3e38486777ed
[ "Apache-2.0" ]
permissive
sandyhouse/Paddle
2f866bf1993a036564986e5140e69e77674b8ff5
86e0b07fe7ee6442ccda0aa234bd690a3be2cffa
refs/heads/develop
2023-08-16T22:59:28.165742
2022-06-03T05:23:39
2022-06-03T05:23:39
181,423,712
0
7
Apache-2.0
2022-08-15T08:46:04
2019-04-15T06:15:22
C++
UTF-8
Python
false
false
5,152
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" ]
sandyhouse.noreply@github.com
c740d6c49db87e26fd2bd32ca3610d557caa9339
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/quiz/quiz07.py
fadef90d8f86b8e8e71307f16c7b517ae7e108c2
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
# Quiz) 당신의 회사에서는 매주 1회 작성해야 하는 보고서가 있습니다. # 보고서는 항상 아래와 같은 형태로 출력되어야 합니다. # - X 주차 주간보고 - # 부서 : # 이름 : # 업무 요약 : # 1주차부터 50주차까지의 보고서 파일을 만드는 프로그램을 작성하시오. # 조건 : 파일명은 '1주차.txt', '2주차.txt', ... 와 같이 만듭니다. for week in range(1, 51): with open(str(week) + "주차.txt", "w", encoding="utf8") as report_file: rep...
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
0313cb3b3f6c0e0748e0a09e563f53002bf83a33
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/EDataServer/SourceMailComposition.py
112b63ed9fb30a41dadc200dbe106265439b09db
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
20,578
py
# encoding: utf-8 # module gi.repository.EDataServer # from /usr/lib64/girepository-1.0/EDataServer-1.2.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attrib...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
4e14b6ef3d00c50c0713fd1960605860a932cd44
41bb2cbeaa736b97772fe29e5377f6998ff383e9
/20200404/2_多继承方法/appMain2.py
f83c6adb6e904a6cc1ea796e866cb13c4ffa0aea
[]
no_license
Aimee888/Python-20200113
64a8168e88d81bb710ee9025c716360ad0fa434e
7f14a3506532114519ff54a8b250e114e597c0f1
refs/heads/master
2023-01-04T21:59:16.349441
2020-11-03T02:27:03
2020-11-03T02:27:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
# # appMain2.py 多继承方法 """ 多继承方式优缺点: 1. 界面上的组件都成为窗体业务逻辑类QmyWidget的公共属性,外界可以直接访问。优点是访问方便,缺点是过于开放, 不符合面向对象严格封装的设计思想 2. 界面上的组件与QmyWidget类里新定义的属性混合在一起了,不便于区分。当窗体上的界面组件较多, 且窗体业务逻辑类里定义的属性也很多时,就难以区分哪个属性是界面上的组件,哪个属性是在业务逻辑类里新定义的, 这样不利于界面与业务逻辑分离。 """ import sys from PyQt5.QtWidgets import QWidget, QApplication from F...
[ "961745931@qq.com" ]
961745931@qq.com
8040733f75d402ff7cacf2eba45b397ac4d18907
45be4ca6db49cfeeee722f94a21481634898c851
/deepneuro/outputs/classification.py
e397b41385d3cf1f316350db9effb59994ffa255
[ "MIT" ]
permissive
QTIM-Lab/DeepNeuro
30de49d7cf5d15411591988bca5e284b4fe52ff5
8a55a958660227859439df003ac39b98ce3da1b0
refs/heads/master
2021-07-13T01:05:19.374945
2020-06-24T13:00:14
2020-06-24T13:00:14
93,092,834
122
40
MIT
2019-12-12T09:30:31
2017-06-01T19:36:34
Jupyter Notebook
UTF-8
Python
false
false
235
py
from deepneuro.outputs.inference import ModelInference class ClassInference(ModelInference): def load(self, kwargs): """ Parameters ---------- """ super(ClassInference, self).load(kwargs)
[ "andrew_beers@alumni.brown.edu" ]
andrew_beers@alumni.brown.edu
e90c0e5048eee6f670156dc8bbf5e574502e5208
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02916/s608156999.py
ea1415b01d211aa3d75f9003f9e054e9ce3481d7
[]
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
251
py
n=int(input()) alist=list(map(int,input().split())) blist=list(map(int,input().split())) clist=list(map(int,input().split())) sum=0 bef=-2 for a in alist: sum += blist[a-1] if bef + 1 == a: sum += clist[bef-1] bef = a print(sum)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b80f926c78af1a1030c449eb028537d964f87402
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Projects/pyinstaller/tests/functional/modules/pyi_egg_unzipped.egg/unzipped_egg/__init__.py
bd4c8cd299144aae63d2dc6a6bc9dfb7ff1e56d0
[ "LicenseRef-scancode-other-permissive" ]
permissive
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
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:99ad4a63a6375b9f8f4b215f5ea338161138e0b4f656a42ab109bc1ab97922fa size 679
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
6d1267ae57626f3695274dfe368089d04bd66985
2e0f8a7e59abc371e1af68670881998f42282e08
/alita_session/utils.py
7aaf38a7c746a9a2b042f07d35d5fe95cf5e0d8f
[]
no_license
dwpy/alita-session
a052eba48f68d99ddd55417be94224ecee409435
e2d402df7d8adfcb39f61fe2d638c64bcce59378
refs/heads/master
2020-04-27T21:31:43.495879
2019-06-19T03:41:20
2019-06-19T03:41:20
174,700,897
5
0
null
null
null
null
UTF-8
Python
false
false
3,575
py
import time import socket import datetime def _format_timetuple_and_zone(timetuple, zone): return '%s, %02d %s %04d %02d:%02d:%02d %s' % ( ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'][timetuple[6]], timetuple[2], ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',...
[ "dongwei@gstianfu.com" ]
dongwei@gstianfu.com
52a5f69bd6b5690693cde802f5e30618619993a8
c5859d1bdf44c8452563f856dc4191b74e85ce21
/custom_components/sensor/life360.py
325af2b1f5fc3ec313c99e77fb6cc6ee579f7be5
[]
no_license
balloob/homeassistant-config
46774ea88ced4414e48e4f1f40af63ff67b6f990
9f341e4b695db56f3c4af7299a336d5a0f60cdcf
refs/heads/master
2020-03-21T03:10:31.729526
2018-06-18T18:27:54
2018-06-18T18:27:54
138,039,924
11
0
null
2018-06-20T13:56:12
2018-06-20T13:56:12
null
UTF-8
Python
false
false
9,847
py
""" @ Author : Suresh Kalavala @ Date : 05/24/2017 @ Description : Life360 Sensor - It queries Life360 API and retrieves data at a specified interval and dumpt into MQTT @ Notes: Copy this file and place it in your "Home Assistant Config folder\custom_components\senso...
[ "arsaboo@gmx.com" ]
arsaboo@gmx.com
d384412ffd70298ef610d15b323c9cbb8cd2b17a
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/perspicu.py
cc3af460e6b965b6ce8daa7624ccaba0977392ee
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
627
py
ii = [('CookGHP3.py', 1), ('RogePAV2.py', 2), ('SadlMLP.py', 1), ('RennJIT.py', 1), ('WilbRLW5.py', 1), ('FitzRNS3.py', 1), ('ClarGE2.py', 9), ('GellWPT2.py', 1), ('CookGHP2.py', 3), ('CoolWHM.py', 1), ('ClarGE.py', 10), ('WestJIT2.py', 1), ('DibdTRL2.py', 2), ('LandWPA2.py', 1), ('NewmJLP.py', 4), ('GodwWLN.py', 2), (...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
670f929e728a157e4e43fe92d964437cc11835e9
d570fc2e36f0842605ad6e9dda3cbd4910160a07
/src/ZServer/__init__.py
cbb6b0fcc33e9fd8d92b0bfbeac60fca80b57fa8
[ "ZPL-2.1", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zopefoundation/ZServer
8540fc7c411a7857abf4034068f75f2f1c7ba98c
eb047c795a278c22ae77f5af4284411e4689025e
refs/heads/master
2023-06-21T20:54:53.580461
2023-02-10T09:43:55
2023-02-10T09:43:55
65,092,325
6
9
NOASSERTION
2020-09-17T07:25:50
2016-08-06T16:47:48
Python
UTF-8
Python
false
false
2,355
py
############################################################################## # # Copyright (c) 2002 Zope Foundation and Contributors. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS I...
[ "hanno@hannosch.eu" ]
hanno@hannosch.eu
f5e96f07ed638db617a09624e914897823a5a5da
ed6e89a79d593fc188252483d329bbd800fd4f09
/dnsproxyserver/exceptions.py
b1e20c79ab7ed76104ae022712adf64cf572833f
[]
no_license
mol310/crawl-new2
8bfd1dfd0769f1706d559aef936635235e2d6c2e
af9ceb3178b3248af90282ca4d0f8c79df6faeec
refs/heads/master
2023-04-26T04:29:47.795433
2021-05-13T10:17:48
2021-05-13T10:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
""" This file contains the exceptions to work with while working with DNS """ class InvalidIPError(Exception): pass class InvalidQueryError(Exception): pass
[ "421798321@qq.com" ]
421798321@qq.com
610c684c12b84ce56401171a6d298b06e2ca440e
270e3cf2d508d916e8aaa5c4210fa593ff4c3a72
/Python_Scripting/Data_Types.py
8072853d66f997b0a282a2f886a77a844bf6870f
[]
no_license
NagiReddyPadala/python_programs
140c45ee1e763ec4aa8ef975be18c5fad1e0a7ec
18d91095c0e25345b8c1bc16d121df9a40639c5f
refs/heads/master
2020-12-08T03:29:35.030951
2020-02-29T16:23:36
2020-02-29T16:23:36
232,871,073
0
0
null
null
null
null
UTF-8
Python
false
false
16,108
py
""" a = "This is a string" print (a) a = "Hello" print (a) l = [1, "a", "string", 1+2] print (l) l.append(6) print (l) l.pop() print (l) print (l[1]) l[1] = 2 print (l[1]) t =(1, "a", "string", 1+2) print (t) print (t[1]) print (t) i = 1 while (i < 10): i += 1 print (i, end=" ") print ("\n") s = "Hello world...
[ "nagireddypadala434@email.com" ]
nagireddypadala434@email.com
d1506efd6e51e9a2c8e55fcf8b4103dc5f7a20a7
0bb49acb7bb13a09adafc2e43e339f4c956e17a6
/OpenNodes/OpenProject/writeIntegrityPanic.py
f0c1ebd613d9722a50198b1c1ef45d5a94908626
[]
no_license
all-in-one-of/openassembler-7
94f6cdc866bceb844246de7920b7cbff9fcc69bf
69704d1c4aa4b1b99f484c8c7884cf73d412fafe
refs/heads/master
2021-01-04T18:08:10.264830
2010-07-02T10:50:16
2010-07-02T10:50:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,565
py
###OpenAssembler Node python file### ''' define { name writeIntegrityPanic tags opdb input dbPath Path "" "" input string Problem "" "" input string Description "" "" output int result "" "" } ''' import os, sys from Setup import opdb_setup from getElementType import getElementType from checkLogPath imp...
[ "laszlo.mates@732492aa-5b49-0410-a19c-07a6d82ec771" ]
laszlo.mates@732492aa-5b49-0410-a19c-07a6d82ec771
b3c5e424ca5f2dfac310f49b0a4abc5e37f4ec84
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/resources/azure-mgmt-resource/generated_samples/policy/get_policy_assignment_with_overrides.py
44e76a97a5a312f124505643ad70cb2f8853bc12
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,593
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" ]
Azure.noreply@github.com
936ee675faaf7b5a426607d8e366a07ef4d54b4b
d7016f69993570a1c55974582cda899ff70907ec
/sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01/aio/operations/__init__.py
864e7adaf87ad4c50ff0bc8b43760f713ca114d3
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
1,532
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" ]
kurtzeborn.noreply@github.com
8bb24c369cf2c56a5201a359b3519f53426c6fae
c7e028d71b5dd72eb18b72c6733e7e98a969ade6
/src/algoritmia/problems/sequencecomparison/editdistance.py
d7c6c1f237167b2b49477c6b96900aa38d7010dc
[ "MIT" ]
permissive
antoniosarosi/algoritmia
da075a7ac29cc09cbb31e46b82ae0b0ea8ee992f
22b7d61e34f54a3dee03bf9e3de7bb4dd7daa31b
refs/heads/master
2023-01-24T06:09:37.616107
2020-11-19T16:34:09
2020-11-19T16:34:09
314,302,653
8
1
null
null
null
null
UTF-8
Python
false
false
1,253
py
#coding: latin1 #< lev class EditDistanceComputer: def distance(self, x: "IList<T>", y: "IList<T>") -> "int": D = [[None] * (1+len(y)) for _ in range(1+len(x))] D[0][0] = 0 for i in range(1, len(x)+1): D[i][0] = D[i-1][0] + 1 for j in range(1, len(y)+1): D[0][j]...
[ "amarzal@localhost" ]
amarzal@localhost
92956fd36c855fc14f40668998f7046f607a7564
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2150/60698/299948.py
a54f1cafd8fa4c945cb3f4e4b47fa17f1f7fa679
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
4,373
py
# 利用三进制保存q个外卖的状态的所有情况(下称“全状态”),对于每一个外卖,0为未取,1为已取,2为已送达 # e.g.三个外卖 222(3)即所有均送达 012(3)即第一个未取,第二个已取,第三个送达 # dp[i][j]记录了当前外卖小哥在i点时,状态为j(这里为十进制)的最少耗时,不存在这种case时dp[i][j]=-1 # e.g. 三个外卖,dp[4][26]=5 即当前外卖小哥在点4时,所有外卖均送达的情况下的最少耗时,【状态为26(10)即222(3)】 # floyed记录两两地点之间的最短耗时 # 为什么记录最少耗时? 为了尽可能送多一点外卖 # 算法:遍历所有的可能的所有外卖的状态,【从000->222】 ...
[ "1069583789@qq.com" ]
1069583789@qq.com
2b2724df6e6fb6aa180639b8c5d25312b088e3c2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02769/s268865969.py
e6d7c21f16d1582956ba4370c32464516cac53c7
[]
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,279
py
# coding: utf-8 import sys import numpy as np sr = lambda: sys.stdin.readline().rstrip() ir = lambda: int(sr()) lr = lambda: list(map(int, sr().split())) MOD = 10 ** 9 + 7 # K回の移動が終わった後、人がいる部屋の数はNからN-K def cmb(n, k): if k < 0 or k > n: return 0 return fact[n] * fact_inv[k] % MOD * fact_inv[n-k] % MOD def cu...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
627772fbe4cbc2fc05cc650df338bd5545964369
55c552b03a07dcfa2d621b198aa8664d6ba76b9a
/Algorithm/BOJ/2841_외계인의 기타 연주_s2/2841.py
574e79795b2e42e3ddef66e9a2bf53e2e1c65b19
[]
no_license
LastCow9000/Algorithms
5874f1523202c10864bdd8bb26960953e80bb5c0
738d7e1b37f95c6a1b88c99eaf2bc663b5f1cf71
refs/heads/master
2023-08-31T12:18:45.533380
2021-11-07T13:24:32
2021-11-07T13:24:32
338,107,899
0
1
null
null
null
null
UTF-8
Python
false
false
642
py
# boj 2841 외계인의 기타 연주 s2 # noj.am/2841 N, Prat = map(int, input().split()) _stack = [[0] for _ in range(7)] # 기타줄 1~6번(0번 무시) ans = 0 for i in range(N): jul, p = map(int, input().split()) # 줄, 프랫 while _stack[jul][-1] > p: # 해당 줄번호의 끝값(프랫)이 누르려는 플랫보다 높을 경우 뗀다. _stack[jul].pop() ans += 1 ...
[ "sys19912002@hanmail.net" ]
sys19912002@hanmail.net
e4e9c74f17467c1f9c5d94063a76cdd8f31a890d
a1119965e2e3bdc40126fd92f4b4b8ee7016dfca
/trunk/repy/tests/ut_repytests_testclose.py
c66cca115a3b888957c4da8ce126813b46dc1158
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
SeattleTestbed/attic
0e33211ddf39efdbcf5573d4fc7fa5201aa7310d
f618a962ce2fd3c4838564e8c62c10924f5df45f
refs/heads/master
2021-06-10T23:10:47.792847
2017-05-15T12:05:43
2017-05-15T12:05:43
20,154,061
0
1
null
2014-10-16T17:21:06
2014-05-25T12:34:00
Python
UTF-8
Python
false
false
691
py
import subprocess import time import sys import utf processOne = subprocess.Popen([sys.executable, 'repy.py', '--simple', 'restrictions.default', 's_testclose.py'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) (rawstdoutFirst, stderrFirst) = processOne.communicate() processOne.wait() processTwo = subprocess.Popen([...
[ "USER@DOMAIN" ]
USER@DOMAIN
1325a237518e2caeb1a5dc18eabd0f94cf70cc8f
dbb1a4d2fb0ae2e1765e9176c9082f5149d6c9f8
/api_titles/migrations/0002_genre.py
407aa738a8b3cc0b248541fd89cb50b89f8c133f
[]
no_license
DmitryShinkarev/yamdb_final
5de7e066ce9bc56793645cd395be70c13cf04cde
8ec98bf5c393475cc355a9987cec562b01ed9764
refs/heads/master
2022-12-29T12:34:02.530836
2020-10-19T07:00:33
2020-10-19T07:00:33
303,366,768
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
# Generated by Django 3.0.5 on 2020-07-05 07:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api_titles', '0001_initial'), ] operations = [ migrations.CreateModel( name='Genre', fields=[ ('id',...
[ "dsh.dev33@gmail.com" ]
dsh.dev33@gmail.com
fa5a388b938d33d5aca424d943f1b00d68d9238e
4e70deb8527ed532eb7bef320e53d3ddefa67840
/src/pilot/Pilot.py
9e072565c6c8d130ea5f966f0128c522959f389a
[]
no_license
sanzhanghongzhi/jetson-car
f58e0519546e1d23c6b4f918863522cdc95a5b72
4bfbcdce9181869f2c64bf5ba5e4e77e976ab513
refs/heads/master
2021-01-23T07:49:46.257214
2017-03-10T19:08:22
2017-03-10T19:08:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,141
py
#!/usr/bin/env python ''' This script activate pilot mode to take control over Jetson Car. However, one can use joystick to stop by pressing X button ''' # Keras Model import keras import tensorflow as tf from keras.models import model_from_json from keras import backend as K # Utils import numpy as np import cv2 imp...
[ "tdat.nguyen93@gmail.com" ]
tdat.nguyen93@gmail.com
385095103ba432ad284ff34d0962500826fc2c91
48e1ac111f48bf27b03625f81887a8eaef4d505d
/old/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/core/credentials/store.py
781dfeff48ee7e5391ea95309941d90dc0e5ab9e
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
altock/dev
74350528ea570925e8fbc584c64939cae86f6ea7
90d87b2adb1eab7f218b075886aa620d8d6eeedb
refs/heads/master
2021-07-10T08:31:48.080736
2017-04-15T03:04:12
2017-04-15T03:04:12
23,088,790
0
1
null
2020-07-25T04:32:05
2014-08-18T22:33:25
Python
UTF-8
Python
false
false
11,606
py
# Copyright 2013 Google Inc. All Rights Reserved. """One-line documentation for auth module. A detailed description of auth. """ import datetime import os import httplib2 from oauth2client import client from oauth2client import gce as oauth2client_gce from oauth2client import multistore_file from googlecloudsdk.co...
[ "sjs382@cornell.edu" ]
sjs382@cornell.edu
ba2bb8efd8d22d54b3df75981acda0a402985864
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03737/s288807767.py
d80566d9db1c023a7f03b46a5dba6ce922f57744
[]
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
131
py
row1, row2, row3 = input().split() row1 = row1.upper() row2 = row2.upper() row3 = row3.upper() print(row1[0] + row2[0] + row3[0])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3de6841895217095d834bc7b0d3eea0db5953da7
5ecaded45e28c1041c1986c13db446806a28b3ee
/10-classes/01-learn-python-classes/01-types.py
c698bf55ffd3ee2602e9f8bdf53af15507d1ab3b
[]
no_license
109658067/Python3_Codecademy
12206ec74e8dc95cc1200491b4ed75b856bfb25e
8480912c6dd15649b3c51f4c205afdd253ea462b
refs/heads/master
2022-09-15T18:21:26.742741
2020-06-04T05:48:58
2020-06-04T05:48:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
print(type(5)) my_dict = {} print(type(my_dict)) my_list = [] print(type(my_list ))
[ "9368802+NiteshMistry@users.noreply.github.com" ]
9368802+NiteshMistry@users.noreply.github.com
82138afaa9db8438d988f89ac94b594e29f4f357
e743d3c474b77808a4618c3a19344cdacda47eb1
/04 模块/04 time & datetime 模块/01 时间的表示方式.py
95aea741ef854a066cc0aafcb75d02130c9f316a
[]
no_license
ryan-yang-2049/writeCodeLearnPython
adf9c78ced9ef83af1e3be5315b9cc8c9281ad07
864afa6becc6dc68b82783012df01e907c13c5ed
refs/heads/master
2021-04-09T13:58:38.378385
2018-03-21T07:42:01
2018-03-21T07:42:01
125,314,860
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
# -*- coding: utf-8 -*- """ __title__ = '01 时间的表示方式.py' __author__ = 'ryan' __mtime__ = '2018/3/18' """ ''' 在Python中,通常有这几种方式来表示时间: 1. 时间戳 2. 格式化的时间字符串 3. 元组(struct_time)共九个元素。由于Python的time模块实现主要调用C库,所以各个平台可能有所不同。 时间戳(timestamp)的方式:通常来说,时间戳表示的是从1970年1月1日00:00:00开始按秒计算的偏移量。我们运行“type(time.time())”,返回的是float类型。 元组(stru...
[ "11066986@qq.com" ]
11066986@qq.com
86f101ca0292cba67c7e5a2822243f2636c50e45
d24d48cd3f24457179fea3092c1676d83662138c
/src/sellers/urls.py
266587970a56aab5f61e16450858bd9b3bc10daa
[]
no_license
RommelTJ/DigitalMarketplace
3a2225bf30dc4d4ee151a845c8cc019a59c3d6f8
cccab59fbf1d2c5714765524d3e6defe9669bad8
refs/heads/master
2021-01-17T10:22:42.082227
2016-06-09T04:11:13
2016-06-09T04:11:13
58,979,264
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
from django.conf.urls import url from django.contrib import admin from products.views import ( ProductCreateView, ProductUpdateView, SellerProductListView, ) from views import ( SellerDashboard, SellerProductDetailRedirectView, SellerTransactionListView, ) urlpatterns = [ url(r'^$', Seller...
[ "rommeltj@gmail.com" ]
rommeltj@gmail.com
101ed3197ca359325a4996c7f938ca44ce391d34
85406dcda2b5f4e6e7d1a07cad6ff4e5b5b5ca1e
/core/models.py
d54fd0f2d45f62036540f51393266113a5861c6d
[ "MIT" ]
permissive
alstn2468/nomad-coder-django-challenge
94fc3e1e42f21ba4dfb2d35a78ffc45c5fb77f1d
93be1c89d153bf4e1256a46e12ff02860251748e
refs/heads/master
2022-12-24T07:24:04.850487
2020-09-22T06:52:44
2020-09-22T06:52:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
from django.db import models from datetime import datetime class AbstractTimeStamp(models.Model): created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) class Meta: abstract = True class AbstractItem(AbstractTimeStamp): title = mod...
[ "alstn2468_@naver.com" ]
alstn2468_@naver.com
28ff7c181a22b1beb718a98b4e32b24459a2292e
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnluimem.py
d73fe46b57fd012414d5c169e69bd78fba89b15f
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
83
py
ii = [('CarlTFR.py', 1), ('KiddJAE.py', 1), ('FerrSDO2.py', 1), ('MackCNH2.py', 3)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
eb14982d77a036a071e1a8ba4b88a65aac29b07a
a8bacc2f0a0a6b128842a4a25c28dd7c115cda5e
/operators/consumers/base_consumer.py
9e5294f485063d92734ead5f79611d304a3b9ebb
[]
no_license
linkcheng/data-pipeline
937131d5e2b6e250105f555f519d9ff7fa13459c
6aab118c5323844cd1a9f43b9b6f9cbbdff0e8b4
refs/heads/master
2023-02-08T08:40:55.339245
2019-09-05T09:53:45
2019-09-05T09:53:45
206,530,483
1
0
null
2023-02-02T06:39:20
2019-09-05T09:53:01
Python
UTF-8
Python
false
false
1,210
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ @author: Link @contact: zhenglong1992@126.com @module: base_consumer @date: 2019-06-29 """ import abc import logging from operators.base import Base logger = logging.getLogger(__name__) class BaseConsumer(Base, metaclass=abc.ABCMeta): """\ 每接受一条数据,经过路由处理,...
[ "zheng.long@shoufuyou.com" ]
zheng.long@shoufuyou.com
b5be38d9219a3768964318721705938cea951799
03178d92f30fd9c835c2252dd06d98419ce1c12b
/build.py
ff9c42ad7b8cafa9778034f158f6c6443fe25b5a
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
QPC-database/torch-ort
9e53d8005222129ae86d63bf8bfbeb79b69d5443
a9ea703000cda4f28424be0dfcf1a0ed304580ad
refs/heads/main
2023-05-31T21:59:15.502843
2021-07-01T17:34:12
2021-07-01T17:34:12
383,518,838
1
0
MIT
2021-07-06T15:38:18
2021-07-06T15:38:17
null
UTF-8
Python
false
false
1,959
py
import argparse import os import sys import subprocess def parse_arguments(): parser = argparse.ArgumentParser() parser.add_argument( "--wheel_file", help="wheel filename used to test. skip build wheel and install") return parser.parse_args() def run_subprocess(args, cwd=None): if isinstance(...
[ "noreply@github.com" ]
QPC-database.noreply@github.com
1194ce4c05f36d1066f5910bd2bc7c68e6b20021
d247a30f42a26476f8005b0f963880df6ca568b9
/web_flask/3-python_route.py
edf0f423486587f2c03cb0825b09b7b268d5156f
[]
no_license
hurtadojara/AirBnB_clone_v2
824689cf440a1717178c6562e06562dc55d1fa69
9ca6fd3e61bcdb38bb4e3d2bedbc5026e62c2534
refs/heads/master
2023-02-18T20:58:49.166959
2021-01-21T04:46:02
2021-01-21T04:46:02
321,381,842
0
0
null
2020-12-16T00:38:40
2020-12-14T14:57:40
HTML
UTF-8
Python
false
false
696
py
#!/usr/bin/python3 '''HBNB''' from flask import Flask app = Flask(__name__) @app.route("/", strict_slashes=False) def hello_route(): '''main route ''' return "Hello HBNB!" @app.route("/hbnb", strict_slashes=False) def hbnb_route(): '''hbnb route''' return "HBNB" @app.route("/c/<text>", strict_sla...
[ "andreshurtadojaramillo@gmail.com" ]
andreshurtadojaramillo@gmail.com
ce0ccb7e3bc47a53262ba961c1245979ed6191f0
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_241/ch146_2020_06_22_18_37_26_897703.py
a021432dd3ae7f356063a3fefe643ed7e641ef01
[]
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
124
py
def conta_ocorrencias(lista): x = lista.count(lista) dicionario = {} dicionario[lista] = x return dicionario
[ "you@example.com" ]
you@example.com
b934a4b1a3becfbd6187f63a382a023893a36bc3
58ec3e8c5615d2b33e1d0abc418db617653b4e43
/synphot/docstrings.py
8dc084982bb103cb01b95289aa6c72995dd8e139
[ "BSD-3-Clause" ]
permissive
aidantmcb/synphot_refactor
31c83d794c6d4444ccf1ef3ad4d22b00057689a3
e6766e53b71de16a4c21d2435d5ed6c883bcf569
refs/heads/master
2020-03-30T12:11:02.192998
2018-08-14T19:05:02
2018-08-14T19:05:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst """It gets to be really tedious to type long docstrings in ANSI C syntax (since multi-line string literals are not valid). Therefore, the docstrings are written here, which are then converted by setup.py into include/docstrings.h, which is included by src/...
[ "lim@stsci.edu" ]
lim@stsci.edu
9d5857f5560b732acedb6d66e42f791f0769d714
ae9ba2a16e91cfbcf52ed16fe90f0c09ae662dd5
/order/migrations/0014_auto_20180715_2115.py
591a91d92d195d38701277a1ecd62f8a571741a6
[]
no_license
GoatWang/xiaononshop
b12fc2ac065723760dab54157602af3151e6ca57
6549154abb0159d0cb4580474dbffe551bc32868
refs/heads/master
2022-12-13T07:33:37.701925
2018-08-16T12:59:06
2018-08-16T12:59:06
141,209,866
0
1
null
2022-12-08T02:16:51
2018-07-17T00:32:56
Python
UTF-8
Python
false
false
1,272
py
# Generated by Django 2.0.6 on 2018-07-15 13:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('order', '0013_auto_20180618_1542'), ] operations = [ migrations.CreateModel( name='CustomOrder', fields=[ ...
[ "jeremy4555@yahoo.com.tw" ]
jeremy4555@yahoo.com.tw
b9d7fb0ac04bd41b6ce4b7b43bb5cfbf4e19bfac
3bb57eb1f7c1c0aced487e7ce88f3cb84d979054
/qats/scripts/classifiers/nn/Run_All_NN_ADADELTA.py
eed2f16e6953d467e9af82b3be10ca28b02197ee
[]
no_license
ghpaetzold/phd-backup
e100cd0bbef82644dacc73a8d1c6b757b2203f71
6f5eee43e34baa796efb16db0bc8562243a049b6
refs/heads/master
2020-12-24T16:41:21.490426
2016-04-23T14:50:07
2016-04-23T14:50:07
37,981,094
0
1
null
null
null
null
UTF-8
Python
false
false
815
py
import os #Parameters: hiddens = ['100', '200'] layers = ['2', '3'] types = ['G', 'S', 'M', 'O'] embedsizes = ['100'] ngramsizes = ['2', '3'] for type in types: trainset = '../../../corpora/'+type+'_train.txt' testset = '../../../corpora/'+type+'_test.txt' os.system('mkdir ../../../labels/'+type+'/nn_adadelta') f...
[ "ghpaetzold@outlook.com" ]
ghpaetzold@outlook.com
5540dce3e89ac10c5b8da00d00c457cea4dd96e3
c51b70a06a7bef9bd96f06bd91a0ec289b68c7c4
/src/Snakemake/rules/DNA_coverage/check_coverage.smk
2b617fe6efda656797f741370fcb47189173db4e
[]
no_license
clinical-genomics-uppsala/TSO500
3227a65931c17dd2799dbce93fe8a47f56a8c337
b0de1d2496b6c650434116494cef721bdc295528
refs/heads/master
2023-01-10T01:41:51.764849
2020-11-05T14:11:25
2020-11-05T14:11:25
218,708,783
0
1
null
null
null
null
UTF-8
Python
false
false
476
smk
rule check_DNA_coverage: input: bam = "DNA_BcBio/bam_files/{sample}-ready.bam", bai = "DNA_BcBio/bam_files/{sample}-ready.bam.bai" output: coverage = "Results/DNA/{sample}/QC/Low_coverage_positions.txt", coverage2 = "Results/DNA/{sample}/QC/All_coverage_positions.txt" run: ...
[ "jonas.almlof@igp.uu.se" ]
jonas.almlof@igp.uu.se
5ad4a0919c0914367cb654d32f16716505abdb96
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/mlm/LAVIS/lavis/datasets/builders/dialogue_builder.py
08a54f2aa4da710af98dc36aac36e2eec5d3dad4
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
705
py
""" Copyright (c) 2022, salesforce.com, inc. All rights reserved. SPDX-License-Identifier: BSD-3-Clause For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause """ from lavis.common.registry import registry from lavis.datasets.builders.base_dataset_builder impor...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
d4eeefca952e98ad2ef585e83874313bd0e3808c
106ddccf8f19ca2dcdde9bc455a230f144222493
/movie/urls.py
7805921f325cd9dde26bf7c07b02dab2386ff64b
[]
no_license
Simeon2001/dsc-backend-project
b7cea249bf0855af53fd1e189371474bfeeec590
96069df96c22973ce00ace9d043475ff326086ab
refs/heads/main
2023-01-09T08:57:04.846997
2020-11-12T16:38:16
2020-11-12T16:38:16
312,234,502
1
0
null
null
null
null
UTF-8
Python
false
false
159
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='home'), path('post', views.home, name='h'), ]
[ "jesusanyasimeon@gmail.com" ]
jesusanyasimeon@gmail.com
f5f9aa6ff1f90fe04ab902922a49a0ddecf9daec
922e923bdab099efa7161f5806ed262ba5cc84c4
/apps/events/migrations/0007_eventurlcleanup.py
d92ad53844ae0d545800d769138132492887dc1f
[ "MIT" ]
permissive
iamjdcollins/districtwebsite
eadd45a7bf49a43e6497f68a361329f93c41f117
89e2aea47ca3d221665bc23586a4374421be5800
refs/heads/master
2021-07-05T19:06:12.458608
2019-02-20T17:10:10
2019-02-20T17:10:10
109,855,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-12-22 17:49 from __future__ import unicode_literals from django.db import migrations def cleanup_urls(apps, schema_editor): DistrictCalendarEvent = apps.get_model('events','DistrictCalendarEvent') BoardMeeting = apps.get_model('events','BoardMeetin...
[ "jd@iamjdcollins.com" ]
jd@iamjdcollins.com
5fd95a52582a408c7ba9c8999500c6c44d754494
79256d5b66296606a9f63a0bf0d93f68e4effe5b
/udiskie/appindicator.py
1000b7a66460c76ff9b72d0acee53bc2e756d280
[ "MIT" ]
permissive
wzugang/udiskie
8ad0a20630c434dc62dfc2f8e5bb00fb4a6fa4c6
617638a4ce2199a69ff2e93c9df6ea300a89b5cc
refs/heads/master
2021-07-19T03:19:02.962306
2017-10-23T20:28:44
2017-10-23T20:50:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,999
py
""" Status icon using AppIndicator3. """ from gi.repository import Gtk from gi.repository import AppIndicator3 import asyncio class AppIndicatorIcon(object): """ Show status icon using AppIndicator as backend. Replaces `udiskie.tray.StatusIcon` on ubuntu/unity. """ def __init__(self, menumaker...
[ "t_glaessle@gmx.de" ]
t_glaessle@gmx.de
9005dfb91eee0ce614274bf0c37ed32bb56407af
da853ef2c9946344ae34829355a507052f1af411
/PycharmProjects/file handl(read).py
821659fec08223fcee5f7d9e108438c33b195eeb
[]
no_license
SubhamSingh1/star
c4f3d2ac0470e81847fef4436c0cbd3e1ea9bf6c
33531c1f224e0a553d93d877724db673bf6941db
refs/heads/master
2022-12-21T13:27:03.969571
2021-10-01T07:31:17
2021-10-01T07:31:17
235,774,208
0
0
null
2022-12-14T11:40:12
2020-01-23T10:43:20
Python
UTF-8
Python
false
false
108
py
fileptr = open("file.txt","r") content = fileptr.read(9) print(type(content)) print(content) fileptr.close()
[ "60218236+SubhamSingh1@users.noreply.github.com" ]
60218236+SubhamSingh1@users.noreply.github.com
ee31b734e3e6930a80c62a6fa172ce88b2b9f852
d13557d6afbe66ac5e67b5547d19de015d3bd9ea
/week_1/01_01_find_max_num.py
6cdb4ceeb4bdab476065e00bed3bda619a8a78d6
[]
no_license
rheehot/Sparta-Algorithm
d5ebcf1d42000d3d4cbb96635565cb88d5b07adc
7c2696866ae8d552323e86fa8f8bede780b9ae4b
refs/heads/main
2023-06-20T01:06:43.647663
2021-07-19T05:49:28
2021-07-19T05:49:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
#내 풀이 def find_max_num(array): # 이 부분을 채워보세요! max=0 for arr in array: if (max<arr): max=arr return max print("정답 = 6 / 현재 풀이 값 = ", find_max_num([3, 5, 6, 1, 2, 4])) print("정답 = 6 / 현재 풀이 값 = ", find_max_num([6, 6, 6])) print("정답 = 1888 / 현재 풀이 값 = ", find_max_num([6, 9, 2,...
[ "noreply@github.com" ]
rheehot.noreply@github.com
83d8d8d845d75fc7f5186a51805ed645fc638c5c
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/aip.py
dfe2c5735f7ee800186fbf3744895e8bfdfeb50a
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
1df0cc1ff17f53da0665f174c553abe8f2cfa422
597d8b96c8796385b365f79d7a134f828e414d46
/pythonTest/cn/sodbvi/exercise/example002.py
206119541f885eefc17f9abe640b122cef09085f
[]
no_license
glorysongglory/pythonTest
a938c0184c8a492edeba9237bab1c00d69b0e5af
ed571d4c240fccfb4396e2890ad922726daa10a0
refs/heads/master
2021-01-21T11:39:35.657552
2019-08-14T02:49:26
2019-08-14T02:49:26
52,493,444
1
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/python # -*- coding: UTF-8 -*- ''' Created on 2016年1月12日 @author: sodbvi ''' for i in range(1,5): for j in range(1,5): for k in range(1,5): if( i != k ) and (i != j) and (j != k): print i,j,k
[ "317878410@qq.com" ]
317878410@qq.com
e00c528a6d63cbf99f15c47a56a3a5effe50fb88
4bb1a23a62bf6dc83a107d4da8daefd9b383fc99
/contests/abc121/d.py
4a0d1d407182a37579d7db7feb80a9e7c5460894
[]
no_license
takushi-m/atcoder-work
0aeea397c85173318497e08cb849efd459a9f6b6
f6769f0be9c085bde88129a1e9205fb817bb556a
refs/heads/master
2021-09-24T16:52:58.752112
2021-09-11T14:17:10
2021-09-11T14:17:10
144,509,843
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
# -*- coding: utf-8 -*- def f(a,b): res = 0 for i in range(50): sa = (1<<i) * (a//(2*(1<<i))) t = (a)%(2*(1<<i)) if t>0: if t > (1<<i): sa += t - (1<<i) sb = (1<<i) * (b//(2*(1<<i))) t = (b+1)%(2*(1<<i)) if t>0: if t > (1<...
[ "takushi-m@users.noreply.github.com" ]
takushi-m@users.noreply.github.com
6cfe6d67582dce7b3908123c9808882dbbc63a87
c7cce6315bf8439faedbe44e2f35e06087f8dfb3
/Classes/classes.py
6ee267209c53dfbfd190c8c1ad804d7b40092ac5
[]
no_license
sipakhti/code-with-mosh-python
d051ab7ed1153675b7c44a96815c38ed6b458d0f
d4baa9d7493a0aaefefa145bc14d8783ecb20f1b
refs/heads/master
2020-12-26T13:05:06.783431
2020-07-08T07:00:59
2020-07-08T07:00:59
237,517,762
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
# Class: blueprint for creating new objects # Object: Instance of a class # Class: Human # Object: john, Mary, Jack
[ "476061@gmail.com" ]
476061@gmail.com
6d6cb79595748b530815783a328d43f238241c00
2a959243c47542ebef0f85dda0deb30255f0c9c8
/tests/test_score.py
baa9e920973a57ca6083462084c872e9605f7312
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
carlschroedl/votelib
66b0bdb283e9493ffaa29a314212c3f50c99c735
7ba79c47f8c6934f2b3c7424b272c1c7e5835c9f
refs/heads/master
2022-10-06T15:13:40.807600
2020-06-12T13:05:46
2020-06-12T13:05:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,468
py
import sys import os import itertools from fractions import Fraction import pytest sys.path.append(os.path.join(os.path.dirname(__file__), '..')) import votelib.evaluate.cardinal VOTES = dict( tennessee = { frozenset([('M', 10), ('N', 4), ('C', 2), ('K', 0)]): 42, frozenset([('M', 0), ('N', 10),...
[ "simbera.jan@gmail.com" ]
simbera.jan@gmail.com
6e0fffeeac361f283b785f9d1cf76ba1828d3e6b
3385776d9ca6cfad76295fe1c1caa4ad7117e4cf
/leetcode/328.odd-even-linked-list.py
f9be4f8bf0763c2b10401a5a390f34bf2e85fb8c
[]
no_license
Shawntl/Data-Structure-and-Algorithms
fd7678c47b1279bb91c4d663140751bbe3d43461
2c2114aeb40bd97afd713c39fad8c7c7a8f1a6dd
refs/heads/main
2023-06-10T09:15:38.460146
2021-07-02T05:35:46
2021-07-02T05:35:46
312,209,708
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
# # @lc app=leetcode id=328 lang=python3 # # [328] Odd Even Linked List # # @lc code=start # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def oddEvenList(self, head: ListNode) -> ListNode: ...
[ "zheweisong@gmail.com" ]
zheweisong@gmail.com
743997ca2271ce43942ce7ceb338fc695914c7f4
e80e5374b8fd00379293adb35fc8cf017d5f4cc7
/qemu_mode/qemu-2.10.0/roms/u-boot/tools/buildman/control.py
73b1a14fb6bb8428206ffc4a9a8b8f4e0926b8ec
[ "GPL-2.0-only", "LGPL-2.1-only", "GPL-1.0-or-later", "LGPL-2.0-or-later", "LGPL-2.1-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "GPL-2.0-or-later", "Apache-2.0", "LicenseRef-scancod...
permissive
CAFA1/afl
dcebf3a3acae3e9783bbb79d8cff6958b496fa34
01c113b61ab70c3b02f3d7c74e6dfa20cfc7813d
refs/heads/master
2023-04-10T14:30:34.901666
2020-07-27T01:06:32
2020-07-27T01:06:32
272,596,630
0
2
Apache-2.0
2021-04-15T00:56:55
2020-06-16T03:03:26
C
UTF-8
Python
false
false
12,123
py
# Copyright (c) 2013 The Chromium OS Authors. # # SPDX-License-Identifier: GPL-2.0+ # import multiprocessing import os import shutil import sys import board import bsettings from builder import Builder import gitutil import patchstream import terminal from terminal import Print import toolchain import command import ...
[ "longlong_vm@dell_book.com" ]
longlong_vm@dell_book.com
354a0e8777f2f36647a6bd3f0c332ec74be89261
6b5d90731f357a8c3319054c120569b86d1492ff
/.history/hhx_main_20200211165718.py
c1a0e9f375e665790a6345aa29c1101cfbe0890c
[]
no_license
ok5168/baomijiancha
8a2e7eedf581122ad266b0e21fcd8452ee523364
43f2f6f0a9809b09c8b0006d27a328fab4fb54b7
refs/heads/master
2021-01-05T11:13:33.089885
2020-02-17T03:05:25
2020-02-17T03:05:25
241,004,611
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
import sys from PyQt5.QtWidgets import QApplication, QMainWindow from Ui_hhx1 import * from bmjc14 import * #导入具体处理过程 class MyWindow(QMainWindow, Ui_MainWindow): def __init__(self, parent=None): super(MyWindow, self).__init__(parent) self.setupUi(self) def clear(self): self.lineEdit_ou...
[ "9705341@qq.com" ]
9705341@qq.com
b6406b45083e1dca7bab452640812bb2d8c21498
8b3bc4efea5663b356acbabec231d1d647891805
/1478/Solution.py
59040ac9f9c5f64600d6a3ee276bd4393efcfcc3
[]
no_license
FawneLu/leetcode
9a982b97122074d3a8488adec2039b67e709af08
03020fb9b721a1c345e32bbe04f9b2189bfc3ac7
refs/heads/master
2021-06-18T20:13:34.108057
2021-03-03T05:14:13
2021-03-03T05:14:13
177,454,524
2
1
null
null
null
null
UTF-8
Python
false
false
946
py
class Solution: def minDistance(self, houses: List[int], k: int) -> int: def cal_dis(left,right): total_dis = 0 while left<right: total_dis += houses[right] - houses[left] left += 1 right -= 1 return total_dis ...
[ "tracylu1996@gmail.com" ]
tracylu1996@gmail.com
539d84067ef73c2d8a7263c96d8bbe8b17e83870
4809471274d6e136ac66d1998de5acb185d1164e
/pypureclient/flasharray/FA_2_4/models/admin_settings_response.py
116dcfe276ea1c9e61c929153a61f413b0bd4b68
[ "BSD-2-Clause" ]
permissive
astrojuanlu/py-pure-client
053fef697ad03b37ba7ae21a0bbb466abf978827
6fa605079950765c316eb21c3924e8329d5e3e8a
refs/heads/master
2023-06-05T20:23:36.946023
2021-06-28T23:44:24
2021-06-28T23:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,151
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ....
[ "hubert.chan@purestorage.com" ]
hubert.chan@purestorage.com
6e3fa8511feac5e49a76f72bce10aae1e8c65edc
76e6d4f93078327fef8672133fc75a6f12abc240
/ABC113/C.py
61cb33095956fd32ac9d317c34bbae65700eecd4
[]
no_license
adusa1019/atcoder
1e8f33253f6f80a91d069b2f3b568ce7a2964940
f7dbdfc021425160a072f4ce4e324953a376133a
refs/heads/master
2021-08-08T04:41:36.098678
2021-02-01T07:34:34
2021-02-01T07:34:34
89,038,783
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
import numpy as np def solve(string): n, m, *py = map(int, string.split()) py = [(_p, _y) for _p, _y in zip(py[0::2], py[1::2])] p = [[] for _ in range(n)] for _p, _y in py: p[_p - 1].append(_y) for i in range(n): p[i] = np.argsort(np.argsort(p[i])) counter = [0 for _ in rang...
[ "symphony20030829@yahoo.co.jp" ]
symphony20030829@yahoo.co.jp
3dea3a1eb262af6d0fd57d983b6b19ebe8d4e017
a151a28de438a4214a14e5bf42a7761157f8e587
/stoq/plugins/decoder.py
5add552024bc67d4aaa07ff1a863c73f63adf3cf
[ "Apache-2.0" ]
permissive
maydewd/stoq
f606f77c0dd38aeeb7e7ea48a840d8561ee18213
f72bbaf273640d645b8f9c20dc587e03373e24be
refs/heads/master
2021-06-21T20:34:51.885413
2018-05-18T12:03:15
2018-05-18T12:03:15
124,784,720
0
0
Apache-2.0
2018-03-11T18:14:34
2018-03-11T18:14:34
null
UTF-8
Python
false
false
1,305
py
# Copyright 2014-2018 PUNCH Cyber Analytics Group # # 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...
[ "marcus@randomhack.org" ]
marcus@randomhack.org
0198c0f2a5d657cb13ee7e52a622ce8ea4fa778f
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp54_6500.py
501824a2b942f79f8f3f358148a36d4cbd02b601
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,856
py
ITEM: TIMESTEP 6500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 6.3620845892926070e-01 4.6563791541065868e+01 6.3620845892926070e-01 4.6563791541065868e+01 6.3620845892926070e-01 4.6563791541065868e+01 ITEM: ATOMS id type xs ys zs 8 1 0.123835 0.0655433 0.0650845 35 1 0.0615115 0.126148 0.0592761 130 1 0.06209...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
84d8fb4c900688d98e3349cf4f0ad73513d2492e
f2ad830cea2c8a071601a94ffe1f6e1095436a05
/download.py
7d180127987be5df2f71fba8767d9af85790626a
[]
no_license
naveenprolific/python
859b6cd7683a94597e5f6cbb07e9a12c1b594c11
c440f6b46b50d5f9e82966eed612d3ad7d4699f2
refs/heads/master
2021-01-25T11:40:30.928778
2019-08-17T06:11:19
2019-08-17T06:11:19
123,420,455
1
0
null
null
null
null
UTF-8
Python
false
false
200
py
for i in range(int(input())): n,k=map(int,input().split()) c=0 for i in range(n): t,d=map(int,input().split()) if k>0: if t>=k: t-=k k=0 else: k-=t t=0 c+=t*d print(c)
[ "naveenlingerer12345@gmail.com" ]
naveenlingerer12345@gmail.com
6922739fc57fda950b96b25e4975f0336ff70aad
fb33b689b8ebd54695828dab3f9d1db074203d34
/practice/mysite/blog/migrations/0001_initial.py
44a42493d1c554b4c29522a9c80df7b912f8a092
[]
no_license
takumikaka/workspace
471ab6e60d47f61ae36e4b95e8d58b0840188f65
f72946ff5f46b549dfab51a0038f05478b301490
refs/heads/master
2021-05-06T11:58:24.334256
2019-03-22T08:32:18
2019-03-22T08:32:18
113,008,406
1
0
null
2018-02-23T12:28:54
2017-12-04T07:14:00
Python
UTF-8
Python
false
false
986
py
# Generated by Django 2.1 on 2018-01-09 02:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_...
[ "qk2006qk@163.com" ]
qk2006qk@163.com
1d6fbb6576b0a599b201498124a372af35875ab6
f8e4ff05c94a8f1967fd0604ffcb1ae4e96b8feb
/mytest/login_taobao.py
ceb9de4a5bacc33ae5ad2c5038061fae0327366b
[]
no_license
Cherry93/Myspider
d2d644612f4167ec13fea33e52ea810de3a3a639
ce5f821f2a2c26bba2c4b22c908cc65d07969b07
refs/heads/master
2021-04-09T10:40:34.320831
2018-03-16T09:57:13
2018-03-16T09:57:13
125,494,372
1
0
null
null
null
null
UTF-8
Python
false
false
4,148
py
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import TimeoutException import time class loginTB(object): def...
[ "358544104@qq.com" ]
358544104@qq.com
6da539218ab518c0e6a9869cf1b56d4ad4487075
df1e54249446ba2327442e2dbb77df9931f4d039
/deprecated/parameters.py
07a7e876741747ba5a8d8f974567a383fe9fa1ac
[ "Apache-2.0" ]
permissive
tarsqi/ttk
8c90ee840606fb4c59b9652bd87a0995286f1c3d
085007047ab591426d5c08b123906c070deb6627
refs/heads/master
2021-07-12T06:56:19.924195
2021-03-02T22:05:39
2021-03-02T22:05:39
35,170,093
26
12
Apache-2.0
2021-03-02T22:05:39
2015-05-06T16:24:38
Python
UTF-8
Python
false
false
1,425
py
class ParameterMixin: """Mixin class that provides access to elements in the parameter dictionary that lives on Tarsqi and TarsqiDocument instances. This is where parameter defaults are specified.""" def getopt(self, option_name): """Return the option, use None as default.""" return self....
[ "marc@cs.brandeis.edu" ]
marc@cs.brandeis.edu
3ac9bba729173c49f50ee9cee4b784b0ed5f4e2f
21cd0b41e987a131c4ef99969f40becabe815d9c
/data_uri.py
e9ace7c48d80f75569ddc4879c509aab3bbd3529
[]
no_license
fake-name/wlnupdates
7412d0852b096a4c0bbbbc0b66fbb3a94103346e
95ed8d20e55f54ebfed10ec07d213eb71fb48e8a
refs/heads/master
2023-09-03T08:05:55.768504
2021-09-27T05:52:11
2021-09-27T05:52:11
33,464,882
33
6
null
2023-09-11T15:49:51
2015-04-06T03:26:11
Python
UTF-8
Python
false
false
1,507
py
import mimetypes import re import urllib import base64 MIMETYPE_REGEX = r'[\w]+\/[\w\-\+\.]+' _MIMETYPE_RE = re.compile('^{}$'.format(MIMETYPE_REGEX)) CHARSET_REGEX = r'[\w\-\+\.]+' _CHARSET_RE = re.compile('^{}$'.format(CHARSET_REGEX)) DATA_URI_REGEX = ( r'data:' + r'(?P<mimetype>{})?'.format(MIMETYPE_REGEX) + r...
[ "something@fake-url.com" ]
something@fake-url.com
78adfeac2113a9117424cee5f1b68120915a0d96
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/command_lib/container/azure/util.py
46a4126401b0bc61d927cafeba3008673d0a2ca7
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
1,323
py
# -*- coding: utf-8 -*- # # Copyright 2021 Google LLC. 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 requir...
[ "gcloud@google.com" ]
gcloud@google.com
3619cfbcab6dd50f85a2d36dcdb5282dc552ba16
6ed034d0a5e239d7b0c528b287451409ffb4a494
/mmpose/models/heads/topdown_heatmap_base_head.py
09646ead353fb054f066b9fc6816748a43287e2c
[ "Apache-2.0" ]
permissive
ViTAE-Transformer/ViTPose
8f9462bd5bc2fb3e66de31ca1d03e5a9135cb2bf
d5216452796c90c6bc29f5c5ec0bdba94366768a
refs/heads/main
2023-05-23T16:32:22.359076
2023-03-01T06:42:22
2023-03-01T06:42:22
485,999,907
869
132
Apache-2.0
2023-03-01T06:42:24
2022-04-27T01:09:19
Python
UTF-8
Python
false
false
3,956
py
# Copyright (c) OpenMMLab. All rights reserved. from abc import ABCMeta, abstractmethod import numpy as np import torch.nn as nn from mmpose.core.evaluation.top_down_eval import keypoints_from_heatmaps class TopdownHeatmapBaseHead(nn.Module): """Base class for top-down heatmap heads. All top-down heatmap h...
[ "annblessus@gmail.com" ]
annblessus@gmail.com
542d08d969b7c6e3e26c5c442a28e8523898506c
9f02973cd0b8e7886085b7cff75b0f515ddf1a37
/关联分析_Apriori/src/process.py
1e7622e4f4b0eaeec5e077413859393a7aa7a059
[]
no_license
damo894127201/MachineLearning
9c578628936ded8e4c26c232d6adabc58e09bf54
ca0d43c9ba8ff7d1353606ba893291e3bf10f9e7
refs/heads/master
2020-07-23T12:23:48.141435
2019-11-20T02:06:48
2019-11-20T02:06:48
207,554,934
4
1
null
null
null
null
UTF-8
Python
false
false
1,343
py
# -*- coding: utf-8 -*- # @Time : 2019/11/12 22:32 # @Author : Weiyang # @File : process.py # ===================================================================================================================== # ../data/data.xlsx中,有两列:销售单明细 和 商品编码(脱过敏),其中每一行表示一条交易和一件商品 # 本模块的目的在于 # 将../data/data.xlsx数据转为 每一行表...
[ "894127201@qq.com" ]
894127201@qq.com
f20f95b0b8873baf25aa7ceb117f4cd35d7b298b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/201/46661/submittedfiles/testes.py
364440b121d5790c16e75993fbbfc29d6dc88637
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO n=float(input('Digite um número:')) print('O número informado foi' '%f'%n)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
99370e36489ef7f4845f09cd33b9ced5b2efaf53
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03449/s550276409.py
ab00968db82a9a7cac9c406ab8f2fc209d3c8fc8
[]
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
626
py
import sys from itertools import accumulate read = sys.stdin.read readline = sys.stdin.readline readlines = sys.stdin.readlines sys.setrecursionlimit(10 ** 9) INF = 1 << 60 MOD = 1000000007 def main(): N = int(readline()) A = list(map(int, readline().split())) B = list(map(int, readline().split())) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
21c4742ef0f3dc31ea373d154b5804b973be6cb7
c8b541ea4fa7d159b80bef116e5cd232ac61b8c1
/venv/Lib/test/test_tools/test_i18n.py
f9f787a64659c6a71eec015b4bfb7d735e5841c4
[]
no_license
shengmenghui/knowledge_building
7a2d8eef040c2d3a45726b3a908be301e922024b
04fd7784f15535efed917cce44856526f1f0ce48
refs/heads/master
2022-12-31T14:18:05.282092
2020-10-23T02:51:37
2020-10-23T02:51:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,602
py
"""Tests to cover the Tools/i18n package""" import os import unittest from sql_mode.support.script_helper import assert_python_ok from sql_mode.test_tools import skip_if_missing, toolsdir from sql_mode.support import temp_cwd skip_if_missing() class Test_pygettext(unittest.TestCase): """Tests for the pygettex...
[ "15173342800@163.com" ]
15173342800@163.com
d57220311362828af11ced650e52d1fb7722ea04
02467e9975b50c14b4dc8cdc6dc03748f9aa8245
/openshift/client/models/v1_net_namespace_list.py
8dc1ed7e8d8ba2ab479a6db2b51f87ed6836034f
[ "Apache-2.0" ]
permissive
ashcrow/python-openshift
3995e3c4b72bf52a62bc6b07dabf3d0f709444ae
74c9ade612def941938016385842631342e926de
refs/heads/master
2021-01-11T19:29:04.419005
2017-01-18T19:31:58
2017-01-18T19:31:58
79,377,387
0
0
null
2017-01-18T19:46:04
2017-01-18T19:46:04
null
UTF-8
Python
false
false
7,069
py
# coding: utf-8 """ OpenShift API (with Kubernetes) OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is...
[ "jdetiber@redhat.com" ]
jdetiber@redhat.com
3d30d4cef2e2fc9de7bfc7194868bd42b35729a7
e3eead40e93fdf5186269536edefab4f08e9a5a2
/LeetCode/146-lru_cache.py
33438a65948643aeec344a5d8e2eef71f95d33bb
[]
no_license
davll/practical-algorithms
bbc930b42363cae00ce39e8a686854c19131d334
0e35e4cc87bd41144b8e34302aafe776fec1b356
refs/heads/master
2021-08-22T13:12:34.555074
2020-03-28T08:56:13
2020-03-28T08:56:13
147,224,029
0
0
null
null
null
null
UTF-8
Python
false
false
2,113
py
# https://leetcode.com/problems/lru-cache/ class LRUCache(object): def __init__(self, capacity): """ :type capacity: int """ self._capacity = capacity self._storage = {} self._head = None self._tail = None def get(self, key): """ :type key...
[ "davll.xc@gmail.com" ]
davll.xc@gmail.com