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
be97c962861b15431d46a56243c798b7dd0a2637
588f4991cad99f517ca5028e0e41c5b4d5252543
/contest/abc134/B.py
a31cb54b94b5f572d9acf75f2c325d80b0bd7e5b
[ "MIT" ]
permissive
mola1129/atcoder
3002ff38cabf0ccb5142bd576ed90419fccde02e
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
refs/heads/master
2020-06-16T12:24:49.609707
2020-03-14T15:58:42
2020-03-14T15:58:42
195,571,664
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
import math n, d = map(int, input().split()) watch = d * 2 + 1 if n < d: print(1) else: print(math.ceil(n/watch))
[ "ms.mola1129@gmail.com" ]
ms.mola1129@gmail.com
8cdbe7a0541eef5428f801f2c146c0764e582c57
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/11_动态规划/dp分类/计数dp/1416. 恢复数组.py
92fb85dad9b68ff6a50a6aa6e4fee8129823dda0
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
1,124
py
from functools import lru_cache # 某个程序本来应该输出一个整数数组。但是这个程序忘记输出空格了以致输出了一个数字字符串, # 我们所知道的信息只有:数组中所有整数都在 [1, k] 之间,且数组中的数字都没有前导 0 。 # 1 <= s.length <= 10^5. MOD = int(1e9 + 7) class Solution: def numberOfArrays(self, s: str, k: int) -> int: # 以i为字符串起点的方案数 @lru_cache def dfs(in...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
070c339a14398de3b4d657e820c267af62c40aef
ef821468b081ef2a0b81bf08596a2c81e1c1ef1a
/Refreshment/hierarchical_inheritance/cat.py
a80aaa14ad3dd87f59797417e69495d781b50b29
[]
no_license
Ivaylo-Atanasov93/The-Learning-Process
71db22cd79f6d961b9852f140f4285ef7820dd80
354844e2c686335345f6a54b3af86b78541ed3f3
refs/heads/master
2023-03-30T20:59:34.304207
2021-03-29T15:23:05
2021-03-29T15:23:05
294,181,544
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from hierarchical_inheritance.animal import Animal class Cat(Animal): def meow(self): return 'meowing...'
[ "ivailo.atanasov93@gmail.com" ]
ivailo.atanasov93@gmail.com
0e96bf7e155122c0a22b9f6751d81ec27acef944
004924ff440299e20b1bee95941a8d045a098173
/03-regex/02-capturing/04-scrape-email-addresses/solution.py
9502be90587ecc64e6d4761718c7ec902ed50485
[]
no_license
UCLeuvenLimburg/scripting-exercises
cfc5afaf9c5767063500ca11106c2fc49a0b2526
3a21c99b9e389bbad6b4c52df36dcb70fb9dc48d
refs/heads/master
2022-05-01T02:23:42.012534
2022-03-30T12:44:39
2022-03-30T12:44:39
168,198,257
10
20
null
2020-10-19T14:32:28
2019-01-29T17:36:36
Python
UTF-8
Python
false
false
111
py
import re def scrape_email_addresses(string): return re.findall(r'[a-zA-Z0-9.]+@[a-zA-Z0-9.]+', string)
[ "frederic.vogels@ucll.be" ]
frederic.vogels@ucll.be
5022a2cd0da2463c88ee6077e609885abbe7ee73
4be93b6b4ba2905ae8cf998f197d5db3ed1f1a01
/setup.py
fd2ce27b4a316af4e3e29384935cf94c6df441eb
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
stjordanis/paranoidscientist
985976debf1a4cc2c5453b4b443fef373adf9780
8dcb745f1f6164c74788c5c4eb003db99c42bbe7
refs/heads/master
2023-07-12T12:23:11.092247
2021-06-23T20:45:47
2021-06-23T20:45:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,352
py
# Copyright 2018 Max Shinn <max@maxshinnpotential.com> # # This file is part of Paranoid Scientist, and is available under the # MIT license. Please see LICENSE.txt in the root directory for more # information. from setuptools import setup from paranoid._version import __version__ with open("README.md", "r") as f:...
[ "max@maxshinnpotential.com" ]
max@maxshinnpotential.com
803a5c96ba43cc81fbe73252e0992b814e5ded50
e86d020f8ade86b86df6ad8590b4458a9d415491
/test-xooj/x_vulns/setting.py
feb67423962dab64aa7158a6a614e206a0f45992
[ "BSD-2-Clause" ]
permissive
g842995907/guops-know
e4c3b2d47e345db80c27d3ba821a13e6bf7191c3
0df4609f3986c8c9ec68188d6304d033e24b24c2
refs/heads/master
2022-12-05T11:39:48.172661
2019-09-05T12:35:32
2019-09-05T12:35:32
202,976,887
1
4
null
2022-11-22T02:57:53
2019-08-18T08:10:05
JavaScript
UTF-8
Python
false
false
801
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from common_framework.x_setting.settings import APISettings DEFAULTS = { 'MENU': ( ), 'WEB_MENU': ( { 'name': _('x_vulnerability'), 'parent': None, ...
[ "842995907@qq.com" ]
842995907@qq.com
e6c75f01c738e509f547958bcf33e4cb469a2a05
283815445952a37e0124801b456844774355733f
/app/tests/base.py
d9bb2e951097482773b1cf878263dd0f746b61c0
[]
no_license
paulosjd/woodrecs
7aa4bec22f2c126bd51023e141f1a113c8faf3d8
19a8a53c753ae0978fc092d9a2f6f560dc8644bf
refs/heads/master
2022-07-07T08:36:06.902801
2020-11-08T21:59:00
2020-11-08T21:59:00
251,587,209
0
0
null
2022-06-22T01:36:43
2020-03-31T11:47:53
Python
UTF-8
Python
false
false
1,317
py
from django.test import TestCase from app.models import Parameter, User class BaseTestCase(TestCase): @classmethod def setUpClass(cls): super(BaseTestCase, cls).setUpClass() user = User.objects.create(username='tester') user2 = User.objects.create(username='tester2') cls.prof...
[ "pjdavis@gmx.com" ]
pjdavis@gmx.com
850ca5688b7ee17aa2baef28ad6a6a97094494f1
132ca821f81ed3ea731d5efbed748dcc4b6762e6
/ctest/compare.py
f0da35298891fe6c9a1c515f380b1e11f6b7c88c
[]
no_license
RapidLzj/sep
0b5f3b8773d73e93b0aaa0f78bae5359d3bda2be
f00fd87b678aae92adf612575357975c00205ce5
refs/heads/master
2020-12-25T11:31:37.074235
2016-06-08T16:55:55
2016-06-08T16:55:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
#!/usr/bin/env python from __future__ import print_function import sys def read_table(fname): rows = [] for line in open(fname, 'r'): l = line.strip() if len(l) == 0 or l[0] == '#': continue items = l.split() typed_items = [] for it in items: try: ...
[ "kylebarbary@gmail.com" ]
kylebarbary@gmail.com
ee6fc247ac1089bdddd2b207a83b6a927bebb1af
bc2cdb1e438efaf67131e975ac4db80b4dc43385
/src/public/common/migrations/0010_auto_20190417_1318.py
c39c8bce83b2236235a22b42060953314592d12e
[]
no_license
Shadow-linux/ops-for-study
cf4d55409ebc6f27d454bea60886cd154c994484
115b567948d25a64e423a6cdc89bc8337896afe2
refs/heads/master
2023-01-14T13:35:56.880896
2019-09-23T05:01:31
2019-09-23T05:01:31
209,781,758
2
0
null
2023-01-04T10:55:45
2019-09-20T12:08:11
Python
UTF-8
Python
false
false
586
py
# Generated by Django 2.0.1 on 2019-04-17 13:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('common', '0009_auto_20190417_1312'), ] operations = [ migrations.RemoveField( model_name='settingconf', name='mail_s...
[ "liangyedong@qipeipu.com" ]
liangyedong@qipeipu.com
e1dd44a6c6549e1f5a3c958a97d51b7ef849d58f
226e962457f3f9d271bdc0ec7cb999d45dd2ab92
/plugins/standard.py
f8b10147630e201fc2816e26784067f3d0a758ea
[ "Apache-2.0" ]
permissive
Web5design/saxo
5109ed2a9c48b2c6e4a2afd6edfe2e28b8279b0f
1cf079d13be63557626ebf8163c65c16bd4856c8
refs/heads/master
2021-01-20T16:30:36.401591
2014-01-26T22:23:28
2014-01-26T22:23:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
# http://inamidst.com/saxo/ # Created by Sean B. Palmer import saxo @saxo.event("PRIVMSG") def exclamation(irc): if irc.text == irc.config["nick"] + "!": irc.say(irc.nick + "!") @saxo.event("PRIVMSG") def prefix(irc): if irc.text == irc.config["nick"] + ": prefix?": irc.reply('"' + irc.config...
[ "sean@miscoranda.com" ]
sean@miscoranda.com
c8f28fbfdafc9d0e9912f8931569d38be8a7a0c6
567ccfcab3a25235e36a852ac0850088baa4de34
/lib/c_daemon.py
4a9d77fb8c518886b920a6de4344307616ae6e8e
[]
no_license
fpemud/conduit-daemon
7d90837471be132b2e0ae6f656a8440cb39647e4
89f3285dad48fd561a9497a399fb802a32e73b4b
refs/heads/master
2020-09-06T09:39:03.702670
2019-12-10T23:53:19
2019-12-10T23:53:19
220,389,028
0
0
null
null
null
null
UTF-8
Python
false
false
3,703
py
#!/usr/bin/python3 # -*- coding: utf-8; tab-width: 4; indent-tabs-mode: t -*- import os import sys import signal import shutil import socket import logging from gi.repository import GLib from c_util import CUtil from c_util import AvahiServiceRegister from c_param import CConst from builtin_datatypes import BuiltInDat...
[ "fpemud@sina.com" ]
fpemud@sina.com
5ffd84c250884e311cf106080812d97c1442dd63
771f9e6a6142d7c4a7301ea3f9cfbea3b96fe3e6
/e227.py
7dd7ffc0dcc5618e29404e54d247ee76e6dfd55b
[]
no_license
bpachev/proj_euler
6f92a952be37bac148a7e0d5d655673e920d0e86
223946d4ed805fe58bd6a05f403e1d632cb818f4
refs/heads/master
2021-07-01T17:03:37.647324
2021-06-01T04:49:32
2021-06-01T04:49:32
38,787,430
1
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
#Benjamin Alexander Pachev benjaminpachev@gmail.com import numpy as np import scipy.linalg as la cap = 100 n = cap/2 # n states #if zero players separate the dice, the game is over and the number of turns left is zero, so don't need to solve for that T = np.zeros((n,n)) for i in xrange(2,n-2): T[i,i] = 0.5 #Both ...
[ "benjaminpachev@gmail.com" ]
benjaminpachev@gmail.com
5046ed8fe25934c3b98b1e116454db9270bfc86b
9042ed9effb70fc9309d4de2b4d07fcbf9d21990
/utils.py
0cb051eddfb8b5da2b1d9c11a9279f4c9f84978c
[ "BSD-3-Clause" ]
permissive
cbaeck1/T2KWP
973ed2d2fcf51846f658fe1be0de86ae029cf849
e3682bee5b96d049d66c586910d34d802ab47637
refs/heads/master
2023-05-05T04:56:11.663493
2021-05-28T05:29:28
2021-05-28T05:29:28
368,405,377
0
0
null
null
null
null
UTF-8
Python
false
false
2,030
py
import numpy as np from scipy.io.wavfile import read import torch import librosa def get_mask_from_lengths(lengths): max_len = torch.max(lengths).item() if torch.cuda.is_available(): ids = torch.arange(0, max_len, out=torch.cuda.LongTensor(max_len)) else: ids = torch.arange(0, max_len, out...
[ "cbaeck1@gmail.com" ]
cbaeck1@gmail.com
41d232c30b631b1005dad20426274c012aed9137
7cfa94c0e452659b41e7eb693f5af80db4580375
/process_data/WhoisSys/WhoisData/whois_func.py
4ad29961b03a050d72151548122af0d445b9265c
[]
no_license
yeyingtomorrow/malicious_external_url
2e4fe12f7c293e62a0d61e744fb53187c98617fa
1870c35bdb924d13acb356c2c2de81184e752543
refs/heads/master
2020-03-07T20:08:41.752412
2017-10-25T10:46:01
2017-10-25T10:46:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
77,410
py
#!/usr/bin/env python # encoding:utf-8 """ whois服务器提取函数 ========================== version : 1.0 author : @`13 time : 2017.2.8 """ import re from ..Setting.static import Static from ..Setting.global_resource import Resource # 全局资源 Resource.global_object_init() Static.log_init() func_log = Stati...
[ "mrcheng0910@gmail.com" ]
mrcheng0910@gmail.com
4c63bf3b708690fa10a9c8987abdee1d5f868f5b
747f759311d404af31c0f80029e88098193f6269
/addons/etl/specs/prototype/test.py
928e8d829ceddef031926053ececf8c933c24661
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
65
py
/home/openerp/production/extra-addons/etl/specs/prototype/test.py
[ "geerish@omerp.net" ]
geerish@omerp.net
2ca5a1e4f3e59d43b6f2ecc067d1d5305e9e2d46
f03d41c0ee4d05a6af5eb154fef4c27a2e638e8d
/ontask/core/views.py
a26d46ac86ca024aa1a6740258c284ef876a6f42
[ "LGPL-2.0-or-later", "BSD-3-Clause", "MIT", "Apache-2.0", "LGPL-2.1-only", "Python-2.0" ]
permissive
abelardopardo/ontask_b
c461f561b0965735c158199e94366d5bf1a8a676
c432745dfff932cbe7397100422d49df78f0a882
refs/heads/master
2023-08-17T03:27:35.900314
2023-08-16T07:29:26
2023-08-16T07:29:26
110,175,024
43
32
MIT
2023-08-15T23:08:20
2017-11-09T22:49:43
Python
UTF-8
Python
false
false
2,792
py
"""Basic views to render error.""" from django import http from django.contrib.auth.decorators import login_required from django.shortcuts import redirect from django.urls import reverse from django.views import generic from django.views.decorators.clickjacking import xframe_options_exempt from django.views.decorators....
[ "abelardo.pardo@gmail.com" ]
abelardo.pardo@gmail.com
a65e236407505f34c4c6e39088ef9140b7a49968
2a4a17a67b9069c19396c0f8eabc8b7c4b6ff703
/BGP3D/Chapter07/TrackLanesClass.py
28c1d69b165980ebf5481a95a03cd039e070f259
[]
no_license
kaz101/panda-book
0fa273cc2df5849507ecc949b4dde626241ffa5e
859a759c769d9c2db0d11140b0d04506611c2b7b
refs/heads/master
2022-12-19T09:36:05.794731
2020-09-16T19:04:10
2020-09-16T19:04:10
295,784,057
0
0
null
null
null
null
UTF-8
Python
false
false
7,980
py
''' TrackLanes Class This class creates and owns the markers that populate the track and are used by many things in the game to understand the shape and position of parts of the track. ''' from pandac.PandaModules import EggData, Point3 from MarkerClass import Marker from UtilityFunctions import trueDist ...
[ "kaz101130@gmail.com" ]
kaz101130@gmail.com
611bb6243f2ed10c3f846bce58cfa7b528a2e4e3
53e03422b1098bd0205831f576d6b232d448d1fd
/arcade/examples/shape_list_demo_skylines.py
d395b92b4f31bdb8ffc1fb5cc2b171fc8049d461
[ "MIT" ]
permissive
yuvallanger/arcade
c56d679c38478b1dbafba906e1ccb8283c609a38
6827fcc69a90047dc0e290bd37f7da0b17864d28
refs/heads/master
2021-03-27T08:38:39.983393
2017-12-29T16:52:50
2017-12-29T16:52:50
120,493,577
0
0
null
2018-02-06T17:06:09
2018-02-06T17:06:08
null
UTF-8
Python
false
false
6,215
py
""" City Scape Generator If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.shape_list_skylines """ import random import arcade import time SCREEN_WIDTH = 1200 SCREEN_HEIGHT = 600 def make_star_field(star_count): """ Make a bunch of circles for star...
[ "paul@cravenfamily.com" ]
paul@cravenfamily.com
03f39ea1dd0167e9f6c953d89a68092514cf22fc
885929d52504b89ec8568dec5cf8fe09d57ff710
/backend/api/models/non_revenue_car_type_model.py
65be6d24a4fe9b9db0290f4cecdd3c35e66f17d3
[ "MIT" ]
permissive
ferdn4ndo/infotrem
165d3084c5f57d024f072454ca7f536b5280b7ea
49f941387eae03e8e26aefabd87ca0b48212b059
refs/heads/master
2023-09-04T07:13:05.246074
2022-02-17T16:54:22
2022-02-17T16:54:22
200,339,872
0
0
MIT
2023-03-06T04:55:50
2019-08-03T06:18:22
Python
UTF-8
Python
false
false
952
py
from django.contrib import admin from django.db import models from django.utils.translation import gettext_lazy as _ from .generic_model import GenericModel class NonRevenueCarType(GenericModel): class RollingStockNonRevenueCarCategory(models.TextChoices): ELECTRICAL_MAINTENANCE = 'ELECTRICAL_MAINTENANC...
[ "const.fernando@gmail.com" ]
const.fernando@gmail.com
7190564b0bf9da9bbefd35230e1f7f36fde00e17
d532b85841b459c61d88d380e88dd08d29836d43
/solutions/1522_diameter_of_n_ary_tree.py
8e115f701879f334b15338c3fcbc494ab49b4afc
[ "MIT" ]
permissive
YiqunPeng/leetcode_pro
ad942468df5506de9dc48a4019933f658e2a3121
4a508a982b125a3a90ea893ae70863df7c99cc70
refs/heads/master
2022-05-15T09:32:02.699180
2022-05-14T16:32:17
2022-05-14T16:32:17
182,453,966
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
class Solution: def __init__(self): self.res = 0 def diameter(self, root: 'Node') -> int: self._dfs(root) return self.res def _dfs(self, root): if not root: return 0 f, s = 0, 0 for c in root.children: v = self._dfs(c) ...
[ "ypeng1@andrew.cmu.edu" ]
ypeng1@andrew.cmu.edu
5ecd77bf3b4929621d7c34d7b7f91dd83493181f
08bd7887a8bb028e0467299bb8eb8e25a4e76a8c
/ggtracker/replays/migrations/0005_auto__chg_field_player_character_code.py
9f69b98dbd7d6da13988fe56495c814670fde65f
[]
no_license
Ruuroku/ggtracker_django
67e1758edeb8ebe295d4c64ade5fb6186935f7de
310775de34a19213a855b93325e28b0cc3a709db
refs/heads/master
2020-03-30T17:11:39.581472
2012-08-01T03:48:13
2012-08-01T03:48:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,488
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'Player.character_code' db.alter_column('replays_player', 'character_code', self.gf('djan...
[ "dsjoerg@gmail.com" ]
dsjoerg@gmail.com
224b53d59fc1684f41d4c67ed1d714eb8c2d51f1
de99325634f4d81126e6c13603b74ae0a5b04414
/homework/unit_5/pig/double.py
cbb5457f3335ce61b3f69c6bd5625392b091382a
[]
no_license
joyrexus/CS212
13d22b3e41d6a86d2ff9cd2fa2c7b36e70083b8b
ab3729939c154ef559c43d5c5b076ceb59f87db6
refs/heads/master
2021-01-23T14:06:13.827050
2014-03-20T19:29:08
2014-03-20T19:29:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,101
py
# In this problem, we introduce doubling to the game of pig. # At any point in the game, a player (let's say player A) can # offer to 'double' the game. Player B then has to decide to # 'accept', in which case the game is played through as normal, # but it is now worth two points, or 'decline,' in which case # player...
[ "joyrexus@gmail.com" ]
joyrexus@gmail.com
45baeb403696db411a2dbae6cf82c5bb93ea3514
c83fb87aa53815dcb3bd51deab19b8d6790bd3af
/nelchan/presenter/topic_ch_presenter.py
c39d251e57fd527ff43e0d82a06e5f5461572e75
[]
no_license
geek-space-hq/nelchan
fcee0fbb004333ba4070c0dfab729244f99d0641
1bba2dc671b8629eff0cf5d9236739264ae7c82e
refs/heads/main
2023-06-05T18:32:09.645283
2021-06-28T06:55:22
2021-06-28T06:55:22
374,030,461
6
1
null
2021-06-28T06:55:23
2021-06-05T05:40:17
Python
UTF-8
Python
false
false
6,764
py
from nelchan.usecase.outputport import ( AllocateOutputData, AllocateOutputPort, CreateTopicChannelCategoryOutputData, CreateTopicChannelCategoryOutputPort, InitTopicChannelCategoryOutputData, InitTopicChannelCategoryOutputPort, RegisterTopicChannelOutputData, RegisterTopicChannelOutputP...
[ "in9lude@gmail.com" ]
in9lude@gmail.com
fbcc8bdf95af928a47727010e8ba5af398a804c1
8eff2593ef44b3bdb8dda8678eb051e58b4b5129
/myenv/lib/python3.5/site-packages/djangojs/contrib/__init__.py
a62abdd7324527beecc154f250047e2bb6e87ce9
[ "MIT" ]
permissive
rupeshparab/techscan
08391c26c7916dd397527e1da8f91b4aa78bc96e
ce2558602ddad31873d7129f25b1cc61895b9939
refs/heads/master
2022-12-11T03:33:07.533280
2017-09-03T17:48:57
2017-09-03T17:48:57
102,280,759
1
1
MIT
2022-12-08T00:36:08
2017-09-03T17:11:16
Python
UTF-8
Python
false
false
297
py
# -*- coding: utf-8 -*- ''' This package is dedicated to contributed compatibility modules. These modules provide mixins and already packed :class:`ContextSerializers <djangojs.context_serializer.ContextSerializer>` to use Django applications incompatible with the defaut Django.js behavior. '''
[ "rupeshparab.rp@gmail.com" ]
rupeshparab.rp@gmail.com
661b4fd751ff000da6c6b5b7dda6b97a049b42c8
6f3770863fcc846741249817d27a1753b1bb3c70
/ch3/deliciousrec.py
7142b3e26534742fc2a158fa2a66a67c572f7548
[]
no_license
karolius/Programming-Collective-Intelligence-code-with-exercises
54cbf30a74c41c9066131b7ac508f8f5c8ae85d7
3257b62e60ab2c8405f6bb8fd3e053daaf267dd3
refs/heads/master
2020-05-21T14:58:05.603804
2017-04-09T20:45:46
2017-04-09T20:45:46
66,273,556
1
0
null
null
null
null
UTF-8
Python
false
false
6,446
py
from pydelicious import * from time import sleep from random import randint from recommendations import * import pickle def initializeUserDict(tag, count=15): user_dict = {} # get the top count' popular posts for p1 in get_popular(tag=tag)[0:count]: # find all users who posted this try: ...
[ "karolius127@gmail.com" ]
karolius127@gmail.com
18079e1ece0f7c61a10f8b52845b6849238d7ff7
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/gkehub/v1alpha2/gkehub-v1alpha2-py/scripts/fixup_gkehub_v1alpha2_keywords.py
830ead8cc59ea39930e04fe3e9936f0a4af93939
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,400
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
c5a434020d854a6bdc7ba16e01ef6d32ef8f30d3
75764b5febc099a7177311d23c625f8d2a8484c5
/api/order/tests/test_serializers/test_address_serializer.py
74036f012c551532e5c97814c41f0aadf9214bbf
[]
no_license
drsantos20/customer-service
f58a054b40390971a4289711ef805ff4355b2b95
859f09854e0a5b15de6876e6605dc194f8f20415
refs/heads/master
2022-01-12T20:49:30.821904
2020-08-16T02:49:45
2020-08-16T02:49:45
227,499,394
0
0
null
2022-01-06T22:40:23
2019-12-12T02:04:13
Python
UTF-8
Python
false
false
975
py
from django.test import TestCase from api.order.factories import UserOrderAddressFactory from api.order.serializers.address_serializer import AddressSerializer class TestUserOrderAddressSerializer(TestCase): def setUp(self): self.address = UserOrderAddressFactory( street='avenida faria lima',...
[ "drsantos20@gmail.com" ]
drsantos20@gmail.com
bb8332ae2f18b4982af9528dea4442716fb7b251
a928a2b688d9f244f24654be3854910182dc6e48
/odps/models/table.py
4cd996d5f6eb263babee6a55b4a130e77356ebf6
[ "Apache-2.0" ]
permissive
tradaniel/aliyun-odps-python-sdk
42d0953f3709d98d54417fc8b8d0bd5d0461782e
55af9fadd356cdd7e696802b67104aa59af92c9d
refs/heads/master
2021-01-17T18:34:26.413993
2016-04-21T08:47:05
2016-04-21T08:47:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,622
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License...
[ "xuye.qin@alibaba-inc.com" ]
xuye.qin@alibaba-inc.com
09922aa3bd5e7faf0f3fb17fccefe4377bb5e531
8747583c1a7ee7e5309eb518497b51e30e5770d8
/test_saved_svhn.py
1564a9362526445f1db1c47e2ce024ef2565ae77
[]
no_license
Miladiouss/PreprocessingBenchmarkDatasets
db11ea5c9d6bf640ac0456e0efed4cf853bb70f2
39fe1af08dce7044dc221c4006489f5237a0b028
refs/heads/master
2021-09-12T09:58:10.239334
2018-04-16T05:59:54
2018-04-16T05:59:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
import numpy as np from PIL import Image import os import h5py def test_by_saving_images_from_hdf5(hdf5file): dataset_file = h5py.File(hdf5file, "r") train_dataset = dataset_file['/train/images'] if not os.path.exists('testing_trainset_images_of_svhn'): os.mkdir('testing_trainset_images_of_svhn')...
[ "thushv@gmail.com" ]
thushv@gmail.com
7ef990c1ffd218bf4de447c0b2493dc6fd5c4de2
657370ee4463f5631639fea79763ac4d78fba236
/settings/local.py
50388474781df3751d4f106966325c1a9058cd1e
[]
no_license
jphalip/django-dev-dashboard
b861bd90f1508e36c20d341a423d6ad52102b51e
d1a93ed1ad35e94942b6c5e99f2a23e0bdabc366
refs/heads/master
2021-01-18T19:35:21.500858
2011-09-29T15:55:26
2011-09-29T15:55:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
from __future__ import absolute_import from .base import * DEBUG = TEMPLATE_DEBUG = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'djdash', } } CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.dummy.DummyCache', }, } ...
[ "jacob@jacobian.org" ]
jacob@jacobian.org
3f5f171cc182eecb596a849651a9201e8e607f60
41986b7a1b95784f0a6256ae24d5942c70ced4d7
/prod/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/redis/v1/redis_v1_client.py
7660c6286f4ff6c43b38ea7a51b22802e80dd79f
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
wakabayashi-seiya/terraform_gcp
ed829a5a21d5d19d6663804ee5d5f7f3d23b4ec4
f757e56779f33c2fabd8a8eed9c51ff0b897a38f
refs/heads/master
2021-07-07T21:51:35.993317
2020-03-11T05:42:57
2020-03-11T05:42:57
239,411,772
0
1
null
2021-04-30T21:05:04
2020-02-10T02:32:04
Python
UTF-8
Python
false
false
20,862
py
"""Generated client library for redis version v1.""" # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.py import base_api from googlecloudsdk.third_party.apis.redis.v1 import redis_v1_messages as messages class RedisV1(base_api.BaseApiClient): """Generated client library for se...
[ "e1517234@soka-u.jp" ]
e1517234@soka-u.jp
49ebc398a478f992fa818e04dabd98a7aaba5f7e
6c8f1fe687f6a62c5c326f8ad7db8dc0790655cb
/photos/migrations/0001_initial.py
47b2cd45bfd580d3cd99a5f757d7768b818de109
[]
no_license
hritools/face_management
74e3ce92fa852dec2c258d8c572b413ec88010b3
e50b20b9d6bce1e8cba38fc8bd54859bec8ed2b4
refs/heads/master
2022-12-30T06:03:58.254851
2020-10-13T15:16:00
2020-10-13T15:16:00
303,607,360
0
0
null
null
null
null
UTF-8
Python
false
false
1,997
py
# Generated by Django 2.2 on 2019-04-24 09:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Camera', fields=[ ...
[ "lev_matematik@tut.by" ]
lev_matematik@tut.by
59742ef789102a3792055ebf24374d9d533298bf
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1814615/homework01/program03.py
da84659113d5cba61ae9dbfcfc6ec32edb186ca2
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
3,565
py
'''Dato un testo da codificare ed una chiave si propone il seguente schema crittografico: - dalla chiave vengono eliminati tutti i caratteri C per cui C<'a' o C>'z'. - di ciascuno dei caratteri restanti vengono cancellate dalla chiave tutte le occorrenze tranne l'ultima, ottenendo una sequenza DISORDINATA. - i ...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
b80ab1062c8f9f22c7016444ca9235f14024d672
97f7fdac873141c3e732d74b6a9fbd8a1a2643f4
/histogram.py
e2e7300461ed79f3d6c4669153c0347c926ec808
[]
no_license
Saoussenko/IBSRDataReader
780f3c3fe2452b20e03fe6ae7ed280e0d71c25fe
eb0950c862d5982bf1f64acb345e7ced846081ad
refs/heads/master
2020-05-28T09:08:14.041106
2016-12-10T06:39:00
2016-12-10T06:39:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
import numpy as np import matplotlib.pyplot as plt def equalize(f): h = np.histogram(f, bins=16384)[0] H = np.cumsum(h) / float(np.sum(h)) import pdb pdb.set_trace() e = np.floor(H[(f.flatten() * 16383.).astype('int')]) return e.reshape(f.shape) def plt_histogram(image): import pdb p...
[ "siavash.khodadadeh@gmail.com" ]
siavash.khodadadeh@gmail.com
d8ed5675fc7cd493a4717d861652188b17f05ea0
f854025576f43094df9ca52cc8784df112d93946
/grade/migrations/0002_remove_grade_sort.py
84456f950665a2bf31426f5567589fc015027e17
[]
no_license
Futureword123456/django_1
941c2cf0e2242f720376e02b39e0d52530cf5626
489ca05e31768ba049bd012eebd84de957b569f5
refs/heads/master
2023-03-20T21:13:18.707081
2021-03-13T11:24:48
2021-03-13T11:24:48
338,713,310
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
# Generated by Django 2.2.7 on 2021-03-04 19:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('grade', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='grade', name='sort', ), ]
[ "2635681517@qq.com" ]
2635681517@qq.com
248d8dd696a71a03c68fe59b3baa8ec65dff98b4
71bd065fb12ab2d07d4371f1903b45411b91735d
/openstack/neutron_plugin/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin_v3.py
0c4c9a108311164d47efbf0fda32e5cc71a1f60c
[ "Apache-2.0" ]
permissive
syedaliawaissabir/BGPaaS
dffc3d07eddec91be3d70d8d226b2192511b61ff
71931e462944e39d31ca16167f273ab9fa84145a
refs/heads/master
2020-06-30T23:38:29.650304
2017-07-31T11:13:46
2017-07-31T11:13:46
74,343,705
0
1
null
2016-12-02T14:15:51
2016-11-21T08:46:43
C++
UTF-8
Python
false
false
9,351
py
# Copyright 2015. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
[ "awaisalisabir@yahoo.com" ]
awaisalisabir@yahoo.com
6d0a06e2cf40305e4eb833a8ad9dd9d9fc0f9c82
090a4e026addc9e78ed6118f09fd0d7d4d517857
/graph_objs/parcoords/_dimension.py
6ed1e47e71db70e7dea773084dc5cffde277dd01
[ "MIT" ]
permissive
wwwidonja/new_plotly
0777365e53ea7d4b661880f1aa7859de19ed9b9a
1bda35a438539a97c84a3ab3952e95e8848467bd
refs/heads/master
2023-06-04T19:09:18.993538
2021-06-10T18:33:28
2021-06-10T18:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,592
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Dimension(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "parcoords" _path_str = "parcoords.dimension" _valid_props = { "constraintrange", ...
[ "wwwidonja@gmail.com" ]
wwwidonja@gmail.com
41d31a65aaae61bf04f0556d2e49a6eccd949fe5
0b842bcb3bf20e1ce628d39bf7e11abd7699baf9
/oscar/a/api/yang/modules/tech/content/qwilt_tech_content_interfaces/tech/content/interfaces/interface/delivery/delivery_data_gen.py
ff982fd7b75f19a31237a97387a97665bb210bc6
[]
no_license
afeset/miner2-tools
75cc8cdee06222e0d81e39a34f621399e1ceadee
81bcc74fe7c0ca036ec483f634d7be0bab19a6d0
refs/heads/master
2016-09-05T12:50:58.228698
2013-08-27T21:09:56
2013-08-27T21:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,732
py
# Copyright Qwilt, 2011 # # The code contained in this file may not be used by any other entities without explicit written permission from Qwilt. # # Author: orens from a.infra.misc.enum_with_value import EnumWithValue from a.infra.basic.return_codes import ReturnCodes import socket class DeliveryData(object)...
[ "afeset@gmail.com" ]
afeset@gmail.com
b4b066d67881f574fab6a47c8768fc9f4cf3a007
929fc8dd47b91c963c8c2f81d88e3d995a9dfc7c
/src/amazon/Zombie in Matrix.py
e40c2a3c372d752dfb2aeb3cbcad50a9bde7d522
[]
no_license
1325052669/leetcode
fe7571a9201f4ef54089c2e078810dad11205b14
dca40686c6a280bd394feb8e6e78d40eecf854b9
refs/heads/master
2023-04-01T17:53:30.605822
2021-04-10T15:17:45
2021-04-10T15:17:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,701
py
# Given a 2D grid, each cell is either a zombie 1 or a human 0. Zombies can turn adjacent (up/down/left/right) human beings into zombies every hour. Find out how many hours does it take to infect all humans? # # Example: # # Input: # [[0, 1, 1, 0, 1], # [0, 1, 0, 1, 0], # [0, 0, 0, 0, 1], # [0, 1, 0, 0, 0]] # # Outp...
[ "js7995@nyu.edu" ]
js7995@nyu.edu
5f05b96ed0a8835b2633788424d16df1ea1f3ed8
7ac9150f9e5e1676ad857966e8e48bcfb08b311a
/snippets_test.py
a9f5d1be5845a9254d487b4f2784734a5b9e16ef
[]
no_license
hsingh23/snippets
8e624fd23e03b63a4e055dd2dfc4ea487ac573e0
b196a1d66b57ae9f0babb57dd9f649875634510e
refs/heads/master
2020-04-08T04:53:19.199292
2012-04-23T20:36:07
2012-04-23T20:36:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,959
py
# Work under either python2.5 or python2.7 try: import unittest2 as unittest except ImportError: import unittest import datetime import re import snippets import time import webtest # may need to do 'pip install webtest' from google.appengine.ext import db from google.appengine.ext import testbed """Tests ...
[ "csilvers@khanacademy.org" ]
csilvers@khanacademy.org
7cdad135e1b9a107a74a15bc9bac3def75c8bbe6
b1e325259687b58572ea962e5528fa5afa17e6f6
/python/src/abc159/c.py
a0998887e726a946a29feafbb59e6f0e3c244ed6
[]
no_license
gen0083/atcoder_python
84e1b0a63a736f1fca21bf7fcda776f4016a30bd
93d5b1023242e562e4687119c94812d8c0df429c
refs/heads/master
2023-07-23T21:47:38.964277
2023-07-13T12:23:51
2023-07-13T12:23:51
231,208,047
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
# https://atcoder.jp/contests/abc159/tasks/abc159_c def main(): l = int(input()) x = l / 3 print(x * x * x) if __name__ == '__main__': main()
[ "archiherewego@gmail.com" ]
archiherewego@gmail.com
6c6fc45767707b0c22ccd953f22237c9dd20af21
bce44991fddb9515429e6dba22248e4204b1d30a
/environments/my_env/lib/python3.9/site-packages/meraki_v0/aio/api/mx_cellular_firewall.py
1d105f2b09f4a89d0761361eabb017495db92afc
[]
no_license
tkj-scythe/meraki-dns-checker
6f7441380c4b48497b0c9b9a2bc5db380da4899c
91c2f61b7527f89063bfa0b2e7c28c766581ed96
refs/heads/main
2023-07-01T09:04:21.353214
2021-08-04T01:22:39
2021-08-04T01:22:39
390,630,419
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
class AsyncMXCellularFirewall: def __init__(self, session): super().__init__() self._session = session async def getNetworkCellularFirewallRules(self, networkId: str): """ **Return the cellular firewall rules for an MX network** https://developer.cisco.com/me...
[ "t.kjaerolsen@gmail.com" ]
t.kjaerolsen@gmail.com
adee72fc06e74f144b6da5be52c43941cbbcba7f
adad563a30d9f0e1985724f8f4e196f3fd1c2f16
/FINAL PROJECT/VMC_Htesting.py
8642eda2dda556c7721887102d0928635811c3a0
[]
no_license
ericyeung/PHY407
975bb2ab4629283f12bd85cf5dc8e87e11a5b7f0
2db9fe66489ae746819a167469de6a560ce00926
refs/heads/master
2020-04-10T14:13:59.206994
2016-10-08T01:13:21
2016-10-08T01:14:20
42,448,005
2
1
null
null
null
null
UTF-8
Python
false
false
2,339
py
#!/usr/bin/env python from __future__ import division import numpy as np import matplotlib.pyplot as plt """ Variational Monte Carlo Method for the Hydrogen Atom """ __author__ = "Eric Yeung" np.random.seed(1337) # Seed the random generator N = 500 # Number of Monte Carlo steps h = 1.00 # Step-size # Trial wave f...
[ "irq.ericyeung@hotmail.com" ]
irq.ericyeung@hotmail.com
3ec297c9ea2494a9d5e8e3269cfb46c3ae528279
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_Class2302.py
803c8e5c8cc1f4bbd1b0089aa8145bc96183444d
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,178
py
# qubit number=4 # total number=39 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2 import numpy as np import networkx as nx def bitwise_...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
7afb6eecd72e57e46ca4a087ac770ba2cd5abd4c
21d64ff371bdbabb6b6b1718fa201a179078db37
/venv/Scripts/pip3-script.py
71adad1637331445c7cbe297a3c5a320af0fb3e6
[]
no_license
Puneeth456/Patterns
5aae7b55fea8b87849ad2bba0a876d0c5fd85d50
8c8e8dbe073af707ed8c9617f9e306f60d4715ad
refs/heads/master
2020-06-09T00:45:20.316202
2019-06-23T10:58:44
2019-06-23T10:58:44
193,336,772
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
#!"C:\Users\Admin\PycharmProjects\Printing Patterns\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '...
[ "shivanpuneeth50@gmail.com" ]
shivanpuneeth50@gmail.com
f3bd2c6c4b7f508049185cc119fddfa10307f9e1
e8e1dbb34f9e51e21d0ff35e37075983b21ffa54
/migrations/versions/8d32dac5d61e_.py
84992a78af5b5fd51c4e685b8a8380bd9fa56aed
[ "Apache-2.0" ]
permissive
zhengjiani/PageOs
a109eda61fcbea62e42bc381817d0825cae1d12a
842125c1171cccb753e18475671dfce2bd12f04b
refs/heads/v1
2022-12-09T00:35:59.889191
2020-06-03T22:47:47
2020-06-03T22:47:47
187,166,996
1
0
Apache-2.0
2022-12-08T07:12:28
2019-05-17T07:19:59
HTML
UTF-8
Python
false
false
1,209
py
"""empty message Revision ID: 8d32dac5d61e Revises: Create Date: 2020-03-01 13:14:52.673434 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '8d32dac5d61e' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "936089353@qq.com" ]
936089353@qq.com
efbd92e067e4eb040811cdf12b2649087c15bf7c
89b7b6375226e5224321e8e467b1047830bd2073
/medium/binaryGap.py
7a1be1fe8a86ef9e1419c8f64dc08aed746e5676
[]
no_license
xiao-bo/leetcode
9cf5ec1dd86faa699f51b3a616929da4ebdb3053
671383b9ee745ed84fbb6d76a91d8be353710096
refs/heads/master
2023-03-18T19:10:28.990610
2023-03-11T10:11:43
2023-03-11T10:11:43
154,341,943
0
0
null
2023-03-11T10:11:44
2018-10-23T14:24:15
Python
UTF-8
Python
false
false
715
py
# you can write to stdout for debugging purposes, e.g. # print("this is a debug message") import math def solution(N): # write your code in Python 3.6 pow2 = set([int(math.pow(2,x)) for x in range(0,32)]) s = bin(N).split("b") maxLen = 0 tmp = 0 if N in pow2 or N+1 in pow2: ret...
[ "ay852852@gmail.com" ]
ay852852@gmail.com
e074f845887265bc52c662210437e564ecf07c37
6eb5a0cd216e721d830e02bb812099521cf9a0f4
/src/nowcoder/nowcoder2.py
64cc999430189fe7dff2b8b56a16870d4d77e088
[ "Apache-2.0" ]
permissive
Peefy/PythonsWithVSCode
e98c8196c8e0810dc0069982a18933f09269ccef
711e710d2903e056ffe2ff22e279b86bd950a925
refs/heads/master
2022-10-20T18:50:26.724517
2020-06-09T08:27:36
2020-06-09T08:27:36
110,962,209
1
1
null
null
null
null
UTF-8
Python
false
false
465
py
import sys IS_TEST_DATA = False if IS_TEST_DATA == True: datas = '[2.2 1]' else: datas = sys.stdin.readline() if datas is not None and len(datas) > 2: datas = datas[1:len(datas) - 1] nums = datas.split() for i in range(len(nums)): if '.' not in nums[i]: nums[i] = int(nums[i]) ...
[ "xpf6677@163.com" ]
xpf6677@163.com
baa5abb07b94b19ed746b4bb9c3bd4d606f90590
b8fa6e0a088c371b7dc69001d2ac745c960601ca
/Exercicios/secao07_colecoes_python_parte1/exercicio30.py
e27dc52f668725a762e1f2fc6633ecb627d11d58
[]
no_license
DanielMalheiros/geekuniversity_programacao_em_python_essencial
45fb5265c8e0a4e8d435f8341f2b2eb23cfd3f73
0e4590defb2510ef71f4ce7039c29873f87d399f
refs/heads/master
2020-08-05T20:05:04.765817
2019-10-09T01:20:35
2019-10-09T01:20:35
212,689,293
1
0
null
null
null
null
UTF-8
Python
false
false
712
py
"""30- Faça um programa que leia dois vetores de 10 elementos. Crie um vetor que seja a intersecção entre os 2 vetores anteriores, ou seja, que contém apenas os números que estão em ambos os vetores. Não deve conter números repetidos.""" contador = 0 vetor1 = [] vetor2 = [] while contador < 10: valor = int(input(...
[ "d.o.malheiros@gmail.com" ]
d.o.malheiros@gmail.com
2bf8c3cf6babeb56c13c64003d0d20dbc0f667cd
fcd813cbf52e017b2724311e7d29c95956e1ec3c
/codes/room_backup.py
093e45f0750766fa88374ff00e1b8efbdc14549f
[]
no_license
laky55555/metaheuristike
ec6b55e11fc901491db6e1c35688afa56a3836bb
fa82856435e766ee19fe70be778564bf41e35813
refs/heads/master
2021-01-13T15:09:39.447779
2017-03-06T17:53:28
2017-03-06T17:53:28
76,258,863
0
1
null
2017-01-22T14:14:25
2016-12-12T13:30:24
Python
UTF-8
Python
false
false
3,056
py
import sys from PyQt5.QtWidgets import (QMainWindow, QTextEdit, QAction, QFileDialog, QApplication, QDesktopWidget, QMessageBox, QGridLayout, QHBoxLayout, QVBoxLayout, QStackedWidget, QWidget, QPushButton, QLabel, QLineEdit, QPushButton, QInputDialog, QDialog, QDateTimeEdit, QSpinBox, QDialogButtonBo...
[ "laky55555@gmail.com" ]
laky55555@gmail.com
6577f49d734788b433945e091fc00e1ec6bc370c
8015709e5379e8877edefdfe114ecdbe8e48865a
/ecommerce/urls.py
0ffa48b95e70b262e4d76fae3706ad018c5b9160
[]
no_license
royerguerrero/ecommerce-api
93a4f1f3cb093f59f094ff1008a0b8c92b16c1cc
c93e3f4d8a587f22a51b0aee526abf479beff40f
refs/heads/master
2023-01-28T07:54:42.136886
2020-12-07T02:19:08
2020-12-07T02:19:08
318,850,880
1
0
null
null
null
null
UTF-8
Python
false
false
828
py
from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path import store.views import store.api_views urlpatterns = [ path('api/v1/products/', store.api_views.ProductList.as_view()), path('api/v1/products/new/', store.api_views.Prod...
[ "royjuni3431@gmail.com" ]
royjuni3431@gmail.com
6646edf1746eb2bcb84fbeba1b10d43e0a45aac7
02cbe1fdb87be63810d23b6d14c5b7f4341c6110
/LinguisticTools/pythonpath/lingt/__init__.py
a20a1b1746522499db3d2ec81f251da0ab5d7d58
[]
no_license
silnrsi/libreoffice-linguistic-tools
799d74474a58d01696cc7c5532e827ad1462acd5
0a70cf6359d39fb080f8204d059297b577fc1260
refs/heads/master
2023-09-04T05:55:07.648780
2023-08-22T20:52:51
2023-08-22T20:53:55
80,170,496
6
1
null
null
null
null
UTF-8
Python
false
false
48
py
# # The lingt package (OOo Linguistic Tools). #
[ "jk.kornelsen@gmail.com" ]
jk.kornelsen@gmail.com
5473c5b2eceda8390d2a863e7e715edf7a2c7156
d5ba475a6a782b0eed5d134b66eb8c601c41421c
/terrascript/resource/oneandone.py
14d29f17eeae42e0f43215f61b242df1f6835f38
[ "BSD-2-Clause", "Python-2.0" ]
permissive
amlodzianowski/python-terrascript
ab42a06a5167e53ad8093b656a9bf14a03cb031d
142b1a4d1164d1012ac8865d12fdcc72f1e7ae75
refs/heads/master
2021-05-19T11:59:47.584554
2020-03-26T07:13:47
2020-03-26T07:13:47
251,688,045
0
0
BSD-2-Clause
2020-03-31T18:00:22
2020-03-31T18:00:22
null
UTF-8
Python
false
false
1,150
py
# terrascript/resource/oneandone.py import terrascript class oneandone_server(terrascript.Resource): pass class oneandone_firewall_policy(terrascript.Resource): pass class oneandone_private_network(terrascript.Resource): pass class oneandone_public_ip(terrascript.Resource): pass class oneando...
[ "markus@juenemann.net" ]
markus@juenemann.net
840f10a82889ba98585ecf259d2f7564aa9e4d77
f27a0f1a63c2c791d2ab5a3b0d180a50420b8531
/TSP_US.pyde
64db6c79b2220ffc39f3e6e4bd47d799885cc3ab
[]
no_license
hackingmath/Traveling-Salesperson
4fb5fd0c33cd3959ea6da71641c8faa070a88fbb
e83e57285bd16d6f0214158dc3caec20ea1e8aa8
refs/heads/master
2021-01-20T05:12:46.872134
2018-05-17T21:27:53
2018-05-17T21:27:53
89,759,274
0
1
null
null
null
null
UTF-8
Python
false
false
6,172
pyde
'''TSP with state capitals 5/7/17 ''' import random import urllib url = 'http://peterf.coderbootcamp.org/capitals.txt' statedata = urllib.urlopen(url).read().split() cities = []; totalCities = 48; population_size = 5000 nums = [x for x in range(totalCities)] mutationRate = 0.02 first = True #the first "best" route ...
[ "noreply@github.com" ]
hackingmath.noreply@github.com
227ab219312435421e3ac8e59b1843f6bcc2eaf3
7f88cff95ea5e6f049f73b2646038e90f8eeee7c
/Game/models.py
82ba0c8cae7a80b1a35c1c1976218e0135e93493
[]
no_license
arecker/Diplomacy
a2fe2806571dad1560322c3ffe53e9c70860875e
3ac6ce4ef20b64ffe618eaf41cdce6d19e87f1f8
refs/heads/master
2020-05-19T11:55:26.421119
2014-09-08T04:52:02
2014-09-08T04:52:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,322
py
from django.db import models import markdown2 class PlayerManager(models.Manager): def get_players_waiting(self): return Player.objects.filter(waiting=True) def get_percentage_moved(self): try: total = Player.objects.count() moved = Player.objects.filter(waiting=False...
[ "alex@reckerfamily.com" ]
alex@reckerfamily.com
402352b706aaaae254160b00e4ca77f38ff87a65
0d2f636592dc12458254d793f342857298c26f12
/9-7.py
0702acfa0f9366b0ec17883b9e472f212684660f
[]
no_license
chenpc1214/test
c6b545dbe13e672f11c58464405e024394fc755b
8610320686c499be2f5fa36ba9f11935aa6d657b
refs/heads/master
2022-12-13T22:44:41.256315
2020-09-08T16:25:49
2020-09-08T16:25:49
255,796,035
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
travel = {'張家界':{'state':'湖南省', 'attraction':'天門山, 大峽谷'}, '九寨溝':{'state':'四川省', 'attraction':'熊貓海, 箭竹海'}, '黃山':{'state':'安徽省', 'attraction':'天都峰, 蓬萊三島'}, '武夷山':{'state':'福建省', 'attraction':'天遊峰, 桃源洞'}, ...
[ "kkbuger1523@gmail.com" ]
kkbuger1523@gmail.com
7ef20c2533aaf182112d3bbe06bef12b869cec78
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/network/v20200401/virtual_network_gateway.py
22224dfb83d01695444bef5d4a3a837bab26cbff
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
37,182
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
c1b736468affe7690811ee62053f1c5258e367bd
6c6d4f56d1bbf0a2f301a3794fa0c09268d70ba6
/setup.py
05a390d8c66f63d2a9a372eb4acf28c924d7ba29
[ "BSD-3-Clause" ]
permissive
samara0/plotchecker
9ecf9f9fc58bc7efbac24d92f1104e962e09f956
04ea362b35b3d18685a816895950dddc68c97d2a
refs/heads/master
2023-05-30T19:14:18.921066
2018-02-17T19:21:54
2018-02-17T19:21:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,813
py
import argparse import sys import subprocess as sp import warnings def install_flit(): sp.check_call([sys.executable, '-m', 'pip', 'install', 'flit', 'mock']) def install_plotchecker(symlink): from pathlib import Path from flit.install import Installer from flit.log import enable_colourful_output ...
[ "jhamrick@berkeley.edu" ]
jhamrick@berkeley.edu
c8f1537a78175b806ad036e5479e885772e7603d
6188f8ef474da80c9e407e8040de877273f6ce20
/examples/docs_snippets/docs_snippets/intro_tutorial/basics/testing/custom_types_test.py
0798aa5c0fc5b68efed84afb81285ad163a4c4dd
[ "Apache-2.0" ]
permissive
iKintosh/dagster
99f2a1211de1f3b52f8bcf895dafaf832b999de2
932a5ba35263deb7d223750f211c2ddfa71e6f48
refs/heads/master
2023-01-24T15:58:28.497042
2023-01-20T21:51:35
2023-01-20T21:51:35
276,410,978
1
0
Apache-2.0
2020-07-01T15:19:47
2020-07-01T15:13:56
null
UTF-8
Python
false
false
3,046
py
import csv import os import typing from dagster import ( DagsterType, Failure, Field, String, check_dagster_type, dagster_type_loader, job, op, ) def less_simple_data_frame_type_check(_, value): if not isinstance(value, list): raise Failure( "LessSimpleDataFram...
[ "noreply@github.com" ]
iKintosh.noreply@github.com
79472ea67d54fdba550ead67bbbba0109090f436
7cd1222a2f2fbe6ab2dc841304caf8b229f61e04
/292_Nim Game.py
06f8c90bce1811df07938463f8ac3c1efe1e2c11
[]
no_license
tainenko/LeetCode
7e2cfeca71c2a839f9dcd9aa66b0b6d4f614b578
89c45b1ee30884abd7ef5ccf0eef15af295e533c
refs/heads/master
2021-09-10T13:58:22.561649
2018-03-27T11:27:06
2018-03-27T11:27:06
124,998,058
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
''' You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who removes the last stone will be the winner. You will take the first turn to remove the stones. Both of you are very clever and have optimal strategies...
[ "31752048+tainenko@users.noreply.github.com" ]
31752048+tainenko@users.noreply.github.com
b8bc709e5e904525c34ed4fa83f55809b072c55e
6312ae52fb81f68ca80ad5c607148d011052850d
/sos_reports/wizard/general/report_post_ledger.py
3b41f74283269d62dfb0f35e8242e6f274726f12
[]
no_license
cokotracy/sos_guards
e88b95026185aaf1d622b223d39afd5e60a60ee9
84242b484cbd9a4296d3083747b4e31f2ebb3e73
refs/heads/master
2022-06-14T05:36:27.971635
2019-10-07T07:01:58
2019-10-07T07:01:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
from openerp import api, fields, models from datetime import datetime from dateutil import relativedelta import pdb class post_ledger(models.TransientModel): _name = 'account.post.ledger' _description = 'Account Post Ledger' @api.model def _get_post_ids(self): if self._context.get('active_model', False) == 's...
[ "sarfraz_g2009@yahoo.com" ]
sarfraz_g2009@yahoo.com
e667d2b27fba6bd0a129c33ab7a854832775a228
b697f5d8e441328c2deee1bb5853d80710ae9873
/1295.统计位数为偶数的数字.py
70ad95a622cb87159760ade3c99f5ccb981c4dd3
[]
no_license
happy-luck/LeetCode-python
d06b0f6cf7bad4754e96e6a160e3a8fc495c0f95
63fc5a1f6e903a901ba799e77a2ee9df2b05543a
refs/heads/master
2021-03-22T16:12:52.097329
2020-07-15T13:48:37
2020-07-15T13:48:37
247,381,313
0
0
null
2020-03-15T01:47:42
2020-03-15T01:28:38
null
UTF-8
Python
false
false
866
py
class Solution: def findNumbers(self, nums: List[int]) -> int: res = 0 for num in nums: tar = 0 while(num != 0): num = num // 10 tar += 1 if tar%2==0: res += 1 return(res) 方法一:枚举 + 字符串 class Solution: d...
[ "18813129242@163.com" ]
18813129242@163.com
854a207d556313c1e8e5a6c219dfce3d7d3f3f77
585bac463cb1919ac697391ff130bbced73d6307
/200_NumberofIslands/solution3.py
a11b5b690045e47f7c99e810411d07d9e851ddfa
[]
no_license
llgeek/leetcode
ce236cf3d3e3084933a7a4a5e8c7766f7f407285
4d340a45fb2e9459d47cbe179ebfa7a82e5f1b8c
refs/heads/master
2021-01-22T23:44:13.318127
2020-03-11T00:59:05
2020-03-11T00:59:05
85,667,214
1
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
#retry the solution class Solution: def numIslands(self, grid): """ :type grid: List[List[str]] :rtype: int """ def nonzeroIndex(grid): for i, row in enumerate(grid): for j, ele in enumerate(row): if ele == '1': ...
[ "angleflycll@gmail.com" ]
angleflycll@gmail.com
7f425d10a54fd09190d05a850a2c816cb89680fa
3069b2dbc844265589dc35b0fb4fa5c7dd4d436c
/readJSON.py
a105f34ba37476f0a7b4341462143f49b3ab4762
[]
no_license
DrMartinGonzo/SDL_Pi_SmartGardenSystem2
fb562f077648bf6294c55507c4a9882de5fcac29
3b5a9e2346fa49d39026aa7865c9572f2694dc40
refs/heads/master
2023-02-03T04:22:15.060351
2020-12-09T02:44:35
2020-12-09T02:44:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,751
py
import config import json import os def readJSONSGSConfiguration(addPath): if os.path.isfile(addPath+'SGSConfiguration.JSON'): print (addPath+"SGSConfiguration.JSON File exists") with open(addPath+'SGSConfiguration.JSON') as json_file: JSONData = json.load(json_file) ...
[ "you@example.com" ]
you@example.com
a51e5727dbaa73c11551983c584686cacd287368
976d24924655e8b908ac95ea28a149cfd4b22062
/util/describe_experiment.py
89dccf8e5611f94a713a8bdf837b691b9093ff20
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
tuetschek/ratpred
bb827b9d8155b4b1a33cc9d8d419bde4dca5ecf7
1a4eba35fbf29919353d47fd5c2d8dce60572680
refs/heads/master
2020-06-26T02:31:57.797434
2019-10-11T16:42:35
2019-10-11T16:42:35
74,603,112
9
0
null
2017-09-08T12:26:37
2016-11-23T18:22:01
Python
UTF-8
Python
false
false
4,777
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function from __future__ import unicode_literals from argparse import ArgumentParser import codecs import yaml import re def main(args): iters, training_set, run_setting, nn_shape = '', '', '', '' with codecs.open(args.config_file, ...
[ "odusek@ufal.mff.cuni.cz" ]
odusek@ufal.mff.cuni.cz
c125981955ba8dfeecf048750539f048c94ea46f
6915b959a36273b1e4cd3d99faa0df8058b35726
/Python/good_downloadandread_marketvalue_barclaysaggregate.py
50d0c39507b0930ce9070b0281b57816431deb5b
[]
no_license
rtstock/WebScrapeStockMarketIndexes
77c0d444a4294caac977629740f9f31a2c1e541f
e13f1c81095b9d691b07dcd5784ac8b40ab92f8b
refs/heads/master
2020-12-30T09:26:04.002635
2017-08-15T18:57:16
2017-08-15T18:57:16
100,405,226
0
0
null
null
null
null
UTF-8
Python
false
false
4,427
py
''' # Notes Downloads last 5 days of Barclays data from lehman via ftp ''' ################################################################################# download_last_x_days = -5 ################################################################################# from ftplib import FTP import os, os.path...
[ "noreply@github.com" ]
rtstock.noreply@github.com
c7e6a7fb836c3131cb3c6bf016d4aeac30949ceb
8e6546515c8094f2df7fca4be343b57a1716257a
/tests/algorithms/boltzmann_machine/test_bernoulli_rbm.py
b19883f419422999c077a8386d4bdf928d11d1c4
[ "MIT" ]
permissive
FGDBTKD/neupy
b51e5870ef75df8aa3dcfb6753648a235f39e50b
1f5e1ae9364e8c7816df79678a4648c689d2a5d1
refs/heads/master
2020-03-31T13:32:57.099935
2018-10-29T15:52:19
2018-10-29T15:52:19
152,260,277
0
0
MIT
2018-10-29T15:52:20
2018-10-09T13:56:16
Python
UTF-8
Python
false
false
3,995
py
import pickle import theano import numpy as np from neupy import algorithms from base import BaseTestCase class BernoulliRBMTestCase(BaseTestCase): def setUp(self): super(BernoulliRBMTestCase, self).setUp() self.data = np.array([ [1, 0, 1, 0], [1, 0, 1, 0], [...
[ "mail@itdxer.com" ]
mail@itdxer.com
59c160e6f06c1372585171abb87e596f8e1992b8
89c4f60a8cf554dd85e3eec49d319e6f336b5574
/tests/test_compressor_fuzzing.py
444cfb18eb34f45bfed939afa6f485c8a7bf7c9e
[ "BSD-3-Clause" ]
permissive
indygreg/python-zstandard
51ce10ff7aaf108462606f9c6f84762cefe95b03
0063333790a853360c816101511635865405834f
refs/heads/main
2023-08-03T12:37:09.744187
2023-05-15T04:18:20
2023-05-16T04:56:38
67,307,930
424
79
BSD-3-Clause
2023-09-06T03:37:04
2016-09-03T19:28:44
C
UTF-8
Python
false
false
29,104
py
import io import os import unittest try: import hypothesis import hypothesis.strategies as strategies except ImportError: raise unittest.SkipTest("hypothesis not available") import zstandard as zstd from .common import random_input_data @unittest.skipUnless("ZSTD_SLOW_TESTS" in os.environ, "ZSTD_SLOW_T...
[ "gregory.szorc@gmail.com" ]
gregory.szorc@gmail.com
e4d642f1d2b0bed0c534cdc06161023fd3a4f8c8
776f9edc2d20babf7b277a606f7322b4c05ae7be
/Django_Naveen_sir/ClassBasedViews(CBV)/Project37_ListView/Project37_ListView/urls.py
bc04b9ce0c4654f0af932186c7616d892959918e
[]
no_license
ckumaramani/Projects-Django
db7aac843394374fea21e02a891c97117e2ea3b2
ec849be4d8012fa8dbfc6d29b5425ae7e0231352
refs/heads/master
2021-02-22T11:42:40.695732
2020-03-06T09:26:45
2020-03-06T09:26:45
245,376,552
0
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
"""Project37_ListView URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') ...
[ "ctpkmani@gamil.com" ]
ctpkmani@gamil.com
34a0737514b3621cb54637dffa41e8226f90ffc9
7b4cbaa1e7bab897e34acba06f73ac17760d394a
/sdks/python/client/argo_workflows/model/aws_elastic_block_store_volume_source.py
d06c0e1d7f3d88696d014ac9ab10b039b9f9656c
[ "Apache-2.0" ]
permissive
nHurD/argo
0fab7f56179c848ad8a77a9f8981cb62b4a71d09
f4a65b11a184f7429d0615a6fa65bc2cea4cc425
refs/heads/master
2023-01-13T04:39:54.793473
2022-12-18T04:48:37
2022-12-18T04:48:37
227,931,854
0
2
Apache-2.0
2019-12-13T22:24:19
2019-12-13T22:24:18
null
UTF-8
Python
false
false
13,758
py
""" Argo Workflows API Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ # noqa: E501 The version of the OpenAPI document: VERSION Generated by: https://openapi-g...
[ "noreply@github.com" ]
nHurD.noreply@github.com
d49286778a919bc6d737494e4ab89f005ab05c73
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_10_01/models/endpoint_service_result_paged.py
5faa5b219f0eed2a544ca48baa25fb0f1a08d704
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
997
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
dbdbedc7b53a51f244f02db22675d7029a75762a
b766a3df5bc61da27c736b4df0d8350ca73f43e2
/api/tests/opentrons/protocol_engine/resources/test_deck_data_provider.py
0ae5e69064a47de4e264940611a6a8612693dc88
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Corey-ONeal/opentrons-app_ws-remote
e771005badf0037f2a295838202072cbfae99ebd
a255b76c8a07457787d575da12b2d5bdb6220a91
refs/heads/master
2023-06-17T02:12:37.177932
2021-07-07T12:28:20
2021-07-07T12:28:20
383,791,062
0
0
null
null
null
null
UTF-8
Python
false
false
3,119
py
"""Test deck data provider.""" import pytest from mock import AsyncMock # type: ignore[attr-defined] from opentrons_shared_data.deck.dev_types import DeckDefinitionV2 from opentrons.protocols.models import LabwareDefinition from opentrons.types import DeckSlotName from opentrons.protocol_engine.types import DeckSlot...
[ "corey.o'neal@opentrons.com" ]
corey.o'neal@opentrons.com
7de12d0e4675d4e3932ffd46b4b67aca2a04751b
395cabaa64a3a823a74e0dc52dd801cb7846d6df
/fluids/compressible.pyi
84f3d43826f181b193e9687a6cda44716821891d
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
CalebBell/fluids
883e28aae944e0f55cdc4e759edf9868714afebb
837acc99075f65060dfab4e209a72dff4c4fe479
refs/heads/master
2023-09-01T07:53:27.386513
2023-08-19T23:49:01
2023-08-19T23:49:01
48,924,523
298
85
MIT
2023-06-06T05:11:12
2016-01-02T21:31:10
Python
UTF-8
Python
false
false
5,698
pyi
# DO NOT EDIT - AUTOMATICALLY GENERATED BY tests/make_test_stubs.py! from __future__ import annotations from typing import List from typing import ( Optional, ) def Fritzsche( SG: float, Tavg: float, L: Optional[float] = ..., D: Optional[float] = ..., P1: Optional[float] = ..., P2: Optiona...
[ "Caleb.Andrew.Bell@gmail.com" ]
Caleb.Andrew.Bell@gmail.com
41c14e5f87ae9aabb317c1e345f944fa6633c325
f80ef3a3cf859b13e8af8433af549b6b1043bf6e
/pyobjc-framework-CoreServices/PyObjCTest/test_multiprocessing.py
6606ff72e905768e936940fdf6528d67d01f18dc
[ "MIT" ]
permissive
ronaldoussoren/pyobjc
29dc9ca0af838a56105a9ddd62fb38ec415f0b86
77b98382e52818690449111cd2e23cd469b53cf5
refs/heads/master
2023-09-01T05:15:21.814504
2023-06-13T20:00:17
2023-06-13T20:00:17
243,933,900
439
49
null
2023-06-25T02:49:07
2020-02-29T08:43:12
Python
UTF-8
Python
false
false
8,779
py
import CoreServices from PyObjCTools.TestSupport import TestCase class TestMultiProcessing(TestCase): def assert_not_wrapped(self, name): self.assertTrue( not hasattr(CoreServices, name), f"{name!r} exposed in bindings" ) def test_not_wrapped(self): self.assert_not_wrapped...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
d5aed1d7513dcd0755a3685310e6c286a2aed042
e722e3ef6bf041a71f2f3814fb8d9da42c36e4c9
/schemas/cartsystem.py
c8c93cc67f87da2e4b3a6374e42d80fa6b8899d7
[]
no_license
vincycode7/maistore-api
1dfa83f3be6390948971309cab517209e2e08820
29207505f463a2f28a03aa6cca21e58070b76975
refs/heads/master
2023-07-17T05:04:35.991141
2021-08-11T16:13:51
2021-08-11T16:13:51
295,108,899
0
1
null
null
null
null
UTF-8
Python
false
false
290
py
from ma import ma from models.cartsystem import CartSystemModel class CartSystemSchema(ma.SQLAlchemyAutoSchema): class Meta: model = CartSystemModel # load_only = ("password",) dump_only = ("id",) include_fk = True include_relationships = True
[ "akinwandegbengavincent@gmail.com" ]
akinwandegbengavincent@gmail.com
01dadecceb2fb873f9f1af980693848ff4ae2a5f
430f3abfe3c90f18b48276c2a433066801a4c5c1
/LeetCode/src/RotateImage.py
d0e878839b0482081fd1c9cf644e9adaf62438fa
[]
no_license
jinwei15/java-PythonSyntax-Leetcode
ba689294c5309d322b6ddb8e84f98c4e659cfeb7
f6df35359b223cdd1635c287455032ae1463906f
refs/heads/master
2020-06-14T14:58:48.626291
2019-07-03T12:22:20
2019-07-03T12:22:20
195,033,815
0
0
null
2019-07-03T10:40:50
2019-07-03T10:40:49
null
UTF-8
Python
false
false
1,355
py
# You are given an n x n 2D matrix representing an image. # Rotate the image by 90 degrees (clockwise). # Note: # You have to rotate the image in-place, which means you have to modify the input 2D matrix directly. DO NOT allocate another 2D matrix and do the rotation. # Example 1: # Given input matrix = # [ # [...
[ "janviezhang14@gmail.com" ]
janviezhang14@gmail.com
d9afeea91aaad4c5efc5cfa01c008192513b2e18
efd471380d976614667e56c92f0aed671371fc63
/All Programs/Map and Lambda Function.py
d3cbb4330778836fa3fc73732824915a0e13c0ae
[]
no_license
anshumanairy/Hacker-Rank
39af46e76182d34637340d1755aff4afd7820083
6fef4c6a415422d9379232932358e4ee7430a6af
refs/heads/master
2021-07-04T07:41:37.769152
2020-10-12T05:49:24
2020-10-12T05:49:24
181,359,750
2
2
null
2020-10-12T05:49:25
2019-04-14T19:38:18
Python
UTF-8
Python
false
false
231
py
#!/usr/bin/env python # coding: utf-8 # In[3]: def func(): N=int(input()) a=0 b=1 c=1 list1=[a] for i in range(1,N): list1.append(c**3) c=a+b a=b b=c func() # In[ ]:
[ "anshuman.airy04@gmail.com" ]
anshuman.airy04@gmail.com
da4e6e3c4cdc2a1f151dec4d4843e4cf380e1fa5
a18e71848a887f7e1bc9bdbe73988e84c29f91fc
/2020_04_23_datascience.py
ee0110aac651076c625c77c3dadb829361f5ca15
[]
no_license
yksoon/Python2
10b533d0900c21a4b5e4be31e2d901371b94e074
e6a784e7e2ebfb52f1092ef143bbe09de4886634
refs/heads/master
2021-06-02T08:13:49.993604
2020-04-27T05:24:25
2020-04-27T05:24:25
254,319,260
0
0
null
null
null
null
UTF-8
Python
false
false
7,012
py
import pandas as pd import numpy as np # CCTV 데이터와 인구 데이터 합치고 분석하기 CCTV_Seoul = pd.read_csv('./data/01. CCTV_in_Seoul.csv', encoding='utf-8') CCTV_Seoul.head() CCTV_Seoul.columns CCTV_Seoul.columns[0] # 컬럼명 변경 : 기관명을 구별로 변경 CCTV_Seoul.rename(columns={CCTV_Seoul.columns[0] : '구별'}, inplace=True) CCTV_Seoul.head() #...
[ "ksyong1990@gmail.com" ]
ksyong1990@gmail.com
40f2400f25b08613770e9506b402b66332a43a93
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_350/ch20_2019_08_24_22_24_38_593883.py
6296bc19a3b91f5db0cb8355f85cfa191c1dcef8
[]
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
131
py
def diga_o_seu_nome(x): x= input("qual seu nome?") if x=="Chris": return "Todo mundo odeia o Chris"
[ "you@example.com" ]
you@example.com
5c5ed588c1b67823996e720dd2820524d4e39644
31e32761e3572f8adeb690053ebfcc26390a87b5
/leetcode/valid_bst.py
6b11f3faaa798223bc7fd8a3f4df89eea18c6801
[]
no_license
sanshitsharma/pySamples
738b95c758d65e3360f3ee7221591d7b78c7ba1d
ce06f1e38e0c7a142af26e8883c81b7a5dfc7edc
refs/heads/master
2021-06-05T19:01:40.279148
2021-02-02T21:52:31
2021-02-02T21:52:31
110,218,258
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
#!/usr/bin/python ''' Problem #98: Validate BST Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key. The right subtree of a node contains only nodes with keys greater than the ...
[ "sansshar@cisco.com" ]
sansshar@cisco.com
e0c6424f09eaf8689b79aad1bed2b3360b1bb645
530bc8410be2cc8c1d3799a752a1e9e7daad2722
/models/end_layer.py
dbb5e6c5f9190a278583f25204a5107e7d313180
[ "BSD-3-Clause" ]
permissive
SunHaoOne/spc2
d379f46bcdb496b4338bad403bb5d90701a62603
244b7f0c6c9d5de60c85f4581370e0560d7d7907
refs/heads/master
2023-03-09T09:52:50.583426
2021-02-27T03:18:29
2021-02-27T03:18:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,627
py
import torch.nn as nn import torch.nn.functional as F from utils.util import weights_init class end_layer(nn.Module): def __init__(self, args, in_channels, out_dim, activate=None): super(end_layer, self).__init__() self.args, self.activate = args, activate self.conv1 = nn.Conv2d(in_channe...
[ "you@example.com" ]
you@example.com
54f7569404498bb0b4c14cb555cf0afda07b3a63
f9a2e67dd2f40b37d8ff81bf6cdce47c38d2dee4
/.c9/metadata/environment/fb_post_learning/fb_post_v2/tests/storages/conftest.py
965dbe8dc5222982b6d88f8918c359bce8a9e259
[]
no_license
mohan277/backend_repo
4eae065cf0fffa29866a2b549028cb8df4c97643
25dbb4d0f1c174b6da95f4c73737e49db9978429
refs/heads/master
2022-11-13T00:08:37.600743
2020-07-09T04:36:44
2020-07-09T04:36:44
278,259,585
0
0
null
null
null
null
UTF-8
Python
false
false
42,939
py
{"filter":false,"title":"conftest.py","tooltip":"/fb_post_learning/fb_post_v2/tests/storages/conftest.py","undoManager":{"mark":100,"position":100,"stack":[[{"start":{"row":43,"column":39},"end":{"row":43,"column":40},"action":"insert","lines":["p"],"id":545},{"start":{"row":43,"column":40},"end":{"row":43,"column":41}...
[ "senammohanakrishna@gmail.com" ]
senammohanakrishna@gmail.com
971b53fa0cab1a8d1e1505b24f0e01d1c8d5c263
96dcea595e7c16cec07b3f649afd65f3660a0bad
/tests/components/reolink/test_config_flow.py
048b48d9576a395c59839839121a06da02153f04
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
13,051
py
"""Test the Reolink config flow.""" import json from unittest.mock import MagicMock import pytest from reolink_aio.exceptions import ApiError, CredentialsInvalidError, ReolinkError from homeassistant import config_entries, data_entry_flow from homeassistant.components import dhcp from homeassistant.components.reolink...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
ccd1651cee4af6f65b3c5a28288a2465914bc36a
7615999448a2981ad17c3ad75db9be2039ff3903
/TIMBER/Tools/Common.py
7699084d4ee678a0b23aeb79a7f5d497a727b80c
[]
no_license
elham-khazaie/TIMBER
b65662955ed7acaa43863c9977f455157bf841a9
ab3418a6b1581aacb1e8bba8e9824f837536703e
refs/heads/master
2022-12-19T21:33:02.074975
2020-09-24T21:45:45
2020-09-24T21:45:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,768
py
'''@docstring Common.py Home to commonly used tools available for use that can be generic or TIMBER specific ''' import json, ROOT, os from ROOT import RDataFrame import CMS_lumi, tdrstyle from contextlib import contextmanager from collections import OrderedDict ################### # TIMBER specific # ##############...
[ "lac352@scarletmail.rutgers.edu" ]
lac352@scarletmail.rutgers.edu
39ad207e3941197d621a3d66a4310fc678607bdb
5502a1403120233dae2af88872395dec529add82
/ex13.py
1dd55643012f98a587be9f26171b2532a87d0fd0
[]
no_license
alicejang08/sandbox
479d08fe8201b61771a83a80bd75fa0c84f21b56
564f659289e0606f4dc2da411a9f25106f72a81d
refs/heads/master
2020-03-25T03:07:53.314080
2019-01-02T12:03:04
2019-01-02T12:03:04
143,324,344
0
0
null
2019-01-02T12:03:05
2018-08-02T17:15:05
Python
UTF-8
Python
false
false
290
py
from sys import argv script, first, second, third, forth = argv a = raw_input("The script is called:"), script print "Your first variable is:", first b = raw_input("Your second variable is:"), second c = raw_input("Your third variable is:"), third print "Your forth variable is:", forth
[ "you@example.com" ]
you@example.com
f77d043edf053934f167e69c17255a4aadb9178e
9d64b4ca21171e432fd7c061608bcaa2e7cdb3d3
/setup.py
90ab4e5320118d770ab1ad45f3e12a69319a2b10
[ "MIT" ]
permissive
MacHu-GWU/crawlib2-project
b3f69bad671338787762f080c577fffe4c089fd0
618d72522d5b36d40607b53b7de7623976460712
refs/heads/master
2020-05-05T06:18:41.943523
2019-05-21T03:31:55
2019-05-21T03:31:55
179,783,249
0
0
null
null
null
null
UTF-8
Python
false
false
7,245
py
# -*- coding: utf-8 -*- """ The setup script is the centre of all activity in building, distributing, and installing modules using the Distutils. It is required for ``pip install``. See more: https://docs.python.org/2/distutils/setupscript.html """ from __future__ import print_function import os from datetime import...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
ce8d4fbfc7e9ebb7fc4535352997a66343641a60
181f82b21dbfb296b2bab9a3616ca6ca6e93094d
/mifs/version.py
4e2cd5b492bda94a41baacb5d954f178dd8a5467
[ "BSD-3-Clause" ]
permissive
sumansaha66/mifs
a565c46a9b3410db834a780850837a116cdacd09
d454eed141444e92252eb8884de7c32c8bd2b014
refs/heads/master
2021-07-12T08:38:19.701012
2020-07-09T08:07:35
2020-07-09T08:07:35
179,632,798
0
0
BSD-3-Clause
2019-04-05T06:53:16
2019-04-05T06:53:16
null
UTF-8
Python
false
false
3,686
py
""" ``mifs`` is a Parallelized Mutual Information based Feature Selection module. """ # Based on NiLearn package # License: simplified BSD # PEP0440 compatible formatted version, see: # https://www.python.org/dev/peps/pep-0440/ # # Generic release markers: # X.Y # X.Y.Z # For bugfix releases # # Admissible pre-release...
[ "glemaitre@visor.udg.edu" ]
glemaitre@visor.udg.edu
e24355223fe1fc5c770c92b2277f87a1d4f9c8ea
826bffcd468f0979d05251e6578de13fff1029d4
/madoka/dataflow/random.py
8b8a8e1e1d3b71c9759259173613b81e4241ddbf
[ "MIT" ]
permissive
korepwx/madoka
58b9b65cb1e3edf476d741ee1b5ffc67a9793a48
56675bd8220935c6a9c1571a886a84bed235fd3b
refs/heads/master
2021-01-12T03:18:46.261909
2017-01-06T06:36:21
2017-01-06T06:36:21
78,190,020
0
0
null
null
null
null
UTF-8
Python
false
false
2,477
py
# -*- coding: utf-8 -*- import numpy as np from madoka.utils import INT32_MAX_VALUE from .subset import _IndexedDataFlow __all__ = [] class _BaseShuffledDataFlow(_IndexedDataFlow): def __init__(self, origin): super(_BaseShuffledDataFlow, self).__init__( origin, self._make_random_indices(ori...
[ "public@korepwx.com" ]
public@korepwx.com
fa3f3ea428025916c26d223d9a277c9f2cbc1934
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/rna-transcription/cc69ec22af574e3ca0f97895405c6531.py
2fffd63f376c5f5f9f20889e2426892bfd3fcbda
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
262
py
""" Rna Transcription """ def to_rna(dna_strand): result = [] complements = {'G': 'C', 'C': 'G', 'T': 'A', 'A': 'U'} for nucleotide in dna_strand: result.append(complements[nucleotide]) return "".join(result)
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
e3900876a4db050e0414efb40970f019f705eae9
20ace38b89c0ebaa0738753fcd11b0fdd4ed21cd
/pPb_2016_v0/CMSSW_8_0_24/src/HeavyIonsAnalysis/JetAnalysis/python/jets/akFilter1PFJetSequence_PbPb_jec_cff.py
64e4ee70f1a8999b1bd975c7ffeb3542ffefa941
[]
no_license
ssanders50/pPb_2016_v0
3c32c2920067a2f8a0a7a7fadba6225babf9a905
9fc4ae61cf4343c88ce6666f55c0738f963754a3
refs/heads/master
2020-12-12T16:30:41.253014
2020-02-14T21:51:17
2020-02-14T21:51:17
234,162,163
1
0
null
null
null
null
UTF-8
Python
false
false
14,840
py
import FWCore.ParameterSet.Config as cms from HeavyIonsAnalysis.JetAnalysis.patHeavyIonSequences_cff import patJetGenJetMatch, patJetPartonMatch, patJetCorrFactors, patJets from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import * from RecoJets.JetPr...
[ "ssanders@ku.edu" ]
ssanders@ku.edu
31cf2be4e0b5f5817b123415c1735d9b3f9492fe
c577f5380b4799b4db54722749cc33f9346eacc1
/BugSwarm/scikit-learn-scikit-learn-289246479/buggy_files/sklearn/gaussian_process/correlation_models.py
941f7756fb80c00be8f0471fb75b39dfafaf91af
[]
no_license
tdurieux/BugSwarm-dissection
55db683fd95f071ff818f9ca5c7e79013744b27b
ee6b57cfef2119523a083e82d902a6024e0d995a
refs/heads/master
2020-04-30T17:11:52.050337
2019-05-09T13:42:03
2019-05-09T13:42:03
176,972,414
1
0
null
null
null
null
UTF-8
Python
false
false
8,519
py
# -*- coding: utf-8 -*- # Author: Vincent Dubourg <vincent.dubourg@gmail.com> # (mostly translation, see implementation details) # License: BSD 3 clause """ The built-in correlation models submodule for the gaussian_process module. """ import numpy as np from ..utils import deprecated @deprecated("The fun...
[ "durieuxthomas@hotmail.com" ]
durieuxthomas@hotmail.com
08c920845f48eec39cbc5d7670995d1530899ee9
ef6229d281edecbea3faad37830cb1d452d03e5b
/ucsmsdk/mometa/adaptor/AdaptorUnit.py
e545ce79f3e6e22a9373e6aa8e5aebd3365125bf
[ "Apache-2.0" ]
permissive
anoop1984/python_sdk
0809be78de32350acc40701d6207631322851010
c4a226bad5e10ad233eda62bc8f6d66a5a82b651
refs/heads/master
2020-12-31T00:18:57.415950
2016-04-26T17:39:38
2016-04-26T17:39:38
57,148,449
0
0
null
null
null
null
UTF-8
Python
false
false
17,630
py
"""This module contains the general information for AdaptorUnit ManagedObject.""" import sys, os from ...ucsmo import ManagedObject from ...ucscoremeta import UcsVersion, MoPropertyMeta, MoMeta from ...ucsmeta import VersionMeta class AdaptorUnitConsts(): ADMIN_POWER_STATE_NONE = "none" ADMIN_POWER_STATE_RES...
[ "test@cisco.com" ]
test@cisco.com
b27ef91d9b6d2564f4d58b7aa2c043b78d019cd4
83df1fb88f7abba1198284bb4b8dc8d0a7ff6f93
/src/third_party/catapult/perf_insights/perf_insights/mre/failure.py
f464d1fb9a8dfb74c7f4ed675879e5cde119a3ca
[ "BSD-3-Clause" ]
permissive
JamshedVesuna/telemetry
7f3385399e47b7b98f8d3eec80ade43690956cd7
1697886b155f22a42e13aa311538f1db65e6e6ed
refs/heads/master
2021-01-20T09:12:34.645395
2016-01-22T08:40:44
2016-01-22T08:40:44
47,851,831
3
2
null
2020-07-24T04:58:51
2015-12-11T21:25:59
HTML
UTF-8
Python
false
false
1,145
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. class Failure(object): def __init__(self, job_guid, function_handle_guid, trace_guid, failure_type_name, description, stack): self.job...
[ "jamshed.vesuna@gmail.com" ]
jamshed.vesuna@gmail.com
1c1adb8da067f731c97c93994d2d155c0cd4cffe
1977dfcd971bb80fd5926f00a86d37c21cf80520
/y/google-cloud-sdk/lib/googlecloudsdk/core/util/files.py
f9f9e2032f641eb06d72fb32dec963f678a9160c
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
camidagreat/music_game_poc
fd39cd1bbcddaee6ccac2601b95ec81d0358dbf8
be3c69c026a254078e1dbcee936b368766092a5e
refs/heads/master
2023-01-08T22:12:05.372029
2020-04-22T19:40:31
2020-04-22T19:40:31
204,744,171
0
1
null
2022-12-10T07:53:06
2019-08-27T16:27:00
Python
UTF-8
Python
false
false
38,660
py
# -*- coding: utf-8 -*- # # Copyright 2013 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...
[ "l.bidigare.curtis@gmail.com" ]
l.bidigare.curtis@gmail.com
4d65748ddc5a59e1cc5a03a1f53ab5988f1f9b61
26f8a8782a03693905a2d1eef69a5b9f37a07cce
/swagger_client/models/destiny_definitions_destiny_objective_definition.py
c703e92d6484ab531db6e7639b70958974b2d73e
[]
no_license
roscroft/openapi3-swagger
60975db806095fe9eba6d9d800b96f2feee99a5b
d1c659c7f301dcfee97ab30ba9db0f2506f4e95d
refs/heads/master
2021-06-27T13:20:53.767130
2017-08-31T17:09:40
2017-08-31T17:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,446
py
# coding: utf-8 """ Bungie.Net API These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. OpenAPI spec version: 2.0.0 Contact: support@bungie.com Generated by: ...
[ "adherrling@gmail.com" ]
adherrling@gmail.com
f1ecbbfa46adeb97b26f658fef2902682db6bf8c
0fc2b08ff4214fbc53340009cbfae885718a8494
/2016/15.py
745e2d71bb109273ddb1563e294bd49a2528c520
[]
no_license
matteosan1/AoC
c37170b19a95bb90d77187a672126c5df0c75c9e
058dfc4f40fecf534c34f4c7339a39a0419b69a6
refs/heads/master
2023-01-27T15:56:38.533143
2023-01-10T21:45:06
2023-01-10T21:45:06
163,546,410
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
def position(t, sectors, offset): return (t+offset)%sectors == 0 part = 1 if part == 1: discs = [(17, 1), (7, 0), (19, 2), (5, 0), (3, 0), (13, 5)] else: discs = [(17, 1), (7, 0), (19, 2), (5, 0), (3, 0), (13, 5), (11, 0)] delay = 0 while True: state = [position(delay+i+1, s, o) for i, (s,o) in enumer...
[ "matteosan1@gmail.com" ]
matteosan1@gmail.com
774a45b7fd4408519f507b8255de516eba732bc1
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_8/gwgthe001/question4.py
23396bcafd21c8441c6455b81ce482f9984593ec
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
#Thembekani Gwegwana # A program to find palindromic primes between two supplied numbers #May 2014 import sys sys.setrecursionlimit (30000) #A fuction to check whether or not a number is a palindrome def palindrome(string_no): if len(string_no) <= 1 : return ' Palindrome' else : if...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
80cfaf1b9419c5c6dbaabe8313ea0f2e81a97f81
4e8a55ff85a2aa26fbbf05bc9350028226dfde37
/DProject/Manager/GasManager.py
276900a561c7af29c19a1e82d8d241e54c3a3d2c
[]
no_license
DWaze/DisabledProject
dbb572fa47063011abc4f13e95c9e44ab24a5c55
6c16269c7722503226ba500d0216dc373ffad867
refs/heads/master
2020-03-17T09:02:28.913809
2018-06-22T10:07:55
2018-06-22T10:07:55
133,458,886
1
0
null
null
null
null
UTF-8
Python
false
false
3,932
py
from DProject.Drivers import GasDetection, GasPrevention,rgb from DProject.Models.Empty import Empty from DProject.Models.StateHistory import StateHistory from DProject.Models.ActionHistory import ActionHistory from DProject.Models.Action import Action from DProject.Models.Object import Object from DProject.Models.Area...
[ "wazeproo@gmail.com" ]
wazeproo@gmail.com
2f4f4a97e21e1a70bc00f93c1a91537a2337f00b
64de9f2b66578000b733242ac9609ac5be4b181d
/plugin.video.doofree_old/resources/lib/sources/ororo_tv_null.py
ca3892706cc792c41d2b6a63c65b14907df563c8
[]
no_license
mpie/repo
8b3e7a0b66596d1deee5d4474299692076baf667
391eebf68fa2d4c8a37659e310c695459428bd0a
refs/heads/master
2022-01-30T08:09:31.909089
2022-01-09T13:30:17
2022-01-09T13:30:17
34,678,785
7
1
null
null
null
null
UTF-8
Python
false
false
4,065
py
# -*- coding: utf-8 -*- import re,urllib,urlparse from resources.lib.libraries import control from resources.lib.libraries import cleantitle from resources.lib.libraries import client class source: def __init__(self): self.base_link = 'http://ororo.tv' self.sign_link = 'http://ororo.tv/users/sig...
[ "info@mpie.nl" ]
info@mpie.nl
cbd50ca43169a6abc104b46155392dffda05e924
2281c467bf6e37315ef0c45bc800d2c5c360ab84
/ws_moveit/devel/lib/python2.7/dist-packages/moveit_msgs/srv/_UpdatePointcloudOctomap.py
655caf1da5801dc24a56c7d6645be6a4e3f62a61
[]
no_license
abusa1101/motion-planning-Fetch
f9753ae97d6855a0439222f86db6d5241f660a90
2e224d65a9e509ad1f564fbd648160966378bdb7
refs/heads/main
2023-04-21T06:14:13.740132
2021-05-10T04:42:00
2021-05-10T04:42:00
365,918,006
1
0
null
null
null
null
UTF-8
Python
false
false
17,143
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from moveit_msgs/UpdatePointcloudOctomapRequest.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import sensor_msgs.msg import std_msgs.msg class UpdatePoint...
[ "abusa@umich.edu" ]
abusa@umich.edu