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
24d5d233b19405e72bb7342861b126dfc737fb56
393a387cdb286cde75b4b7d760625d5851b6b080
/range.py
6a0fd7aece9c532af35818008db4fa6baffa1ce3
[]
no_license
nami-h/Python
b57f12ae48d5bc17a3de72ec7c5abb5622ba0cd2
7b067950da29df705237405742564d2f127f1446
refs/heads/master
2021-06-27T16:00:10.113762
2020-09-22T19:59:05
2020-09-22T19:59:05
136,550,054
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
digits=range(10) print(list(digits),"\n")
[ "noreply@github.com" ]
nami-h.noreply@github.com
54de617615d548ce9e728d250f3a9fc61f6bfc3f
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/kusto/azext_kusto/vendored_sdks/kusto/aio/operations_async/_database_operations_async.py
f8d3664d49bb035be6717ec0313a6e916c6735bd
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
41,803
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
08442036c4b07c98ed97b71bbee402abbcfc2004
be9a56d49a308b5d70c57989d11c7e6207d9d349
/pynext/stats.py
45a94ac1e650e4253f9a9df750d0fddbc56f5793
[]
no_license
jjgomezcadenas/pynextsw
ab7e9823f8eb12424084c849c7c099ac6a64351b
84db6ce3eb2cac3567dce9950a35fbbe4027f0fd
refs/heads/master
2020-12-14T14:38:48.940016
2020-02-10T17:39:51
2020-02-10T17:39:51
234,772,846
0
0
null
null
null
null
UTF-8
Python
false
false
3,040
py
import numpy as np from typing import Tuple, List from numpy import sqrt NN = np.nan from . pynext_types import Number, Array, Str, Range def in_range(data, minval=-np.inf, maxval=np.inf): """ Find values in range [minval, maxval). Parameters --------- data : ...
[ "jjgomezcadenas@gmail.com" ]
jjgomezcadenas@gmail.com
0ad83e8f3d57405b7257baea33455b48fb6456a6
efb9647a0c0f8f80e5c25abacbb097e9d74dc042
/hooks/push-git-commit-ectomy-gh-pages
0a8f6f141f5c5c8113aa28c73a0de44df1effa49
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "Apache-2.0" ]
permissive
charlesreid1/b-captain-hook
3bf38f24b9cd017e36f90e3481dd2780e553c8bc
361f59c21a733a484f48e9bd60bce2d94dbf7b1b
refs/heads/master
2020-03-17T06:00:49.865927
2019-07-13T06:06:30
2019-07-13T06:06:30
133,337,907
1
1
null
null
null
null
UTF-8
Python
false
false
2,007
#!/usr/bin/env python from datetime import datetime repo = "git-commit-ectomy" org = "charlesreid1" branch = "gh-pages" action = 'push' name = '%s'%(repo) git_url = 'https://git.charlesreid1.com/%s/%s.git'%(org,repo) logfile = '/tmp/{action}-{name}-{branch}.log'.format(action=action, ...
[ "charlesreid1@gmail.com" ]
charlesreid1@gmail.com
e85ab084b65f72e9f5ae1f4ec9668097345df8dd
13724823af94e5e5351ffa42ca896397f12f1f05
/LaMachine-master/lamachine/lib/python3.5/site-packages/pynlpl/tests/FoLiA/foliatools/folia2columns.py
6216095f2be4a7ef5cf5bb37d0e68be00b20ffe5
[]
no_license
AymanYac/Neonec-Deep-Classsifier
21e00cb0c5561f4ac22968f748ada0aa299e0a94
a7978f434cc09d9e00a7df5d391bae77daf17637
refs/heads/master
2022-06-08T12:44:10.203386
2018-07-06T15:28:00
2018-07-06T15:28:00
139,996,406
1
0
null
null
null
null
UTF-8
Python
false
false
11,807
py
#!/usr/bin/env python #-*- coding:utf-8 -*- from __future__ import print_function, unicode_literals, division, absolute_import import getopt import io import sys import os import glob try: from pynlpl.formats import folia except: print("ERROR: pynlpl not found, please obtain PyNLPL from the Python Package Man...
[ "root@Razer-Stealth.localdomain" ]
root@Razer-Stealth.localdomain
32c3a1099738887f52f94cc6ce3f142833c8b14a
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=2.5_rd=1_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=68/params.py
3d804381e49cd62d377929a2bbcf69c13ca14dea
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
{'cpus': 4, 'duration': 30, 'final_util': '2.537238', 'max_util': '2.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '1', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'GSN-EDF', 'trial': 68, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
2661e70feec5cebeefae3f67c6b64bbe35929ef3
f700710ad4f7b776a2715c3bded94f6e763703b3
/BucketConfig.py
426a618961853f48fcbef5b45de3590a09d85638
[ "Apache-2.0" ]
permissive
hasithadkr7/udp_150
445496d7d1eb316dd787a1fadafc70627cad9abb
b88e27cd254e12c97a4120e311d7269b1f7cf724
refs/heads/master
2020-03-09T11:05:13.655372
2018-04-26T06:51:25
2018-04-26T06:51:25
128,752,816
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
#!/bin/python #Retrieving rain cell and men-ref files from google buckets. # Common. FILE_GEN_TIME = '18:00' BUCKET_NAME = 'curwsl_nfs_1' WRF_NODE = 'wrf0' INITIAL_PATH_PREFIX = 'results/' KEY_FILE_PATH = '/hec-hms/uwcc-admin.json' # For Rain cell RAIN_CELL_DIR = '/hec-hms/Raincell/' WRF_RAINCELL_FILE_ZIP = 'RAINCELL_...
[ "hasithadkr7@gmail.com" ]
hasithadkr7@gmail.com
2d2d33b1f96726237fe2033b2cfd6180cb799052
74768f285874ee5d7606cde6efc21e291782996b
/web/dispatch/resource/dispatch.py
7b2cc6650ae1e75a541e322212cc6912ee919c08
[ "MIT" ]
permissive
marrow/web.dispatch.resource
7354ec6b124b7c17744a810f5823c7856a2b6992
5f4e0a8ddbedba2390d9aaa0b8bf26292e8605f9
refs/heads/master
2023-01-24T11:26:03.140864
2016-09-26T15:02:39
2016-09-26T15:02:39
32,566,614
0
0
null
null
null
null
UTF-8
Python
false
false
2,822
py
# encoding: utf-8 import warnings if __debug__: from collections import deque from functools import partial from inspect import isclass, ismethod from .exc import InvalidMethod log = __import__('logging').getLogger(__name__) def invalid_method(*args, **kw): raise InvalidMethod() class ResourceDispatch(objec...
[ "alice@gothcandy.com" ]
alice@gothcandy.com
4e7c5cb3a9bddaad548a8537a1f053a9bb28304a
3416464630bc3322dd677001811de1a6884c7dd0
/dynamic_program/q121_bestTimeToBuyAndSellStock/dp_solution.py
e9bd3a005e1a0987481b0a013628cfb1511719b8
[]
no_license
ttomchy/LeetCodeInAction
f10403189faa9fb21e6a952972d291dc04a01ff8
14a56b5eca8d292c823a028b196fe0c780a57e10
refs/heads/master
2023-03-29T22:10:04.324056
2021-03-25T13:37:01
2021-03-25T13:37:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ FileName: dp_solution.py Description: Author: Barry Chow Date: 2020/10/19 10:52 PM Version: 0.1 """ class Solution(object): def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ if len(prices) == 0: ...
[ "zhouenguo@163.com" ]
zhouenguo@163.com
5052bed389896a4f70a830f17f2280b6968dce56
38238f576b302835a285954711c62c69e65009c0
/about_page/migrations/0007_auto_20201124_1313.py
02fac6e66687346980f0c787624df864fb9ac062
[]
no_license
iamdarshan7/New
ca107680c247fa94340bfc3937edc6dff7b8060e
9075f50438e3f9911dd0b27d7c5e2806f25f4d3c
refs/heads/master
2023-01-21T00:01:31.489631
2020-11-27T05:00:48
2020-11-27T05:00:48
316,404,056
2
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
# Generated by Django 2.2.17 on 2020-11-24 13:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('about_page', '0006_auto_20201124_0926'), ] operations = [ migrations.CreateModel( name='Teamsec1', fields=[ ...
[ "darshanthapa872@gmail.com" ]
darshanthapa872@gmail.com
7c81a30415a63c9cc197660d8bea9891378f1cb6
de712ec0d239fc36f7d7b4b11e9c0e6d6a45458b
/src/aptus/gui/help.py
d48d15c5dc912347cfb79a493963db3f7e5c2509
[]
no_license
nedbat/aptus
b76f241df5aedc2dc92ffe1f6b6bfe222aca0810
b58a914efa868ce85151ba8f0361912d77c3a2cb
refs/heads/master
2023-08-20T03:40:57.405977
2023-08-08T14:13:26
2023-08-08T14:13:26
276,628,031
21
3
null
null
null
null
UTF-8
Python
false
false
6,265
py
""" Help dialog for Aptus. """ import webbrowser import sys import numpy import wx import wx.html2 import wx.lib.layoutf from PIL import Image from aptus import data_file, __version__ from aptus.options import AptusOptions class HtmlDialog(wx.Dialog): """ A simple dialog for displaying HTML, with clickable lin...
[ "ned@nedbatchelder.com" ]
ned@nedbatchelder.com
ed02247eb0a5e87b05a7dea03227101bca64ab60
71ed291b47017982a38524b4ff8fe94aa947cc55
/String/LC389. Find the difference.py
46b2982b623687adc315be5bab3e80fd64c6bc44
[]
no_license
pingting420/LeetCode_Algorithms
da83b77e8f37bd4f461b0a7e59c804871b6151e5
f8786864796027cf4a7a8b0ad76e0b516cd99b54
refs/heads/main
2023-07-17T22:46:08.803128
2021-09-02T22:06:38
2021-09-02T22:06:38
375,401,021
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
def findTheDifference(s,t): s = Counter(s) t = COunter(t) for i in (t-s): return i def findTheDifference(s,t): return list(Counter(t) - Counter(s))[0] def findTheDifference(s,t): for i in set(t): if s.count(i) != t.count(i): return i
[ "bellapingting@gmial.com" ]
bellapingting@gmial.com
dd408d7bb7c75f2b873fb135914f22ae124a2df8
5d622c4b5df54f880f9476931ffb697afc63a9e2
/src/runtime/workflows/guard_engine/guard_engine_wf.py
e1df46e5ac3932440dee2b15b1ee176242671edd
[]
no_license
anirudh458/final-lab-test
96d27219387c91f7f7fd346899324dd672eb21cb
e9aab1cd5c82993941d605cfa4a045a8db01036f
refs/heads/master
2021-06-16T19:06:41.569044
2017-05-31T19:22:59
2017-05-31T19:22:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,220
py
from runtime.components.guard.guard import Guard from runtime.components.engine.engine import Guard from runtime.emgrs.svem.svem import EntityMgr from runtime.components import guard from runtime.components import engine class GuardSysWf(): def __init__(self): em = EntityMgr() guard = Guard(em) ...
[ "ravulaanirudh7@gmail.com" ]
ravulaanirudh7@gmail.com
44f7af07f42fb608cedc3c5e1f67676fcd65524f
ebc00ddf4c8c5f5076471e8b8d56c2b634c51230
/test/functional/mempool_persist.py
9e50e3a3ba0e5b22e31c19a362dc431b32c0d05b
[ "MIT" ]
permissive
BlockMechanic/rain
584a9e245cfb7ab5fb1add97b699b86833bfbc5b
e8818b75240ff9277b0d14d38769378f05d0b525
refs/heads/master
2021-07-03T03:48:53.977665
2021-03-04T01:28:20
2021-03-04T01:28:20
228,412,343
0
0
MIT
2019-12-16T15:03:28
2019-12-16T15:03:27
null
UTF-8
Python
false
false
6,556
py
#!/usr/bin/env python3 # Copyright (c) 2014-2020 The Rain Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test mempool persistence. By default, raind will dump mempool on shutdown and then reload it on startup. ...
[ "blockmecha@gmail.com" ]
blockmecha@gmail.com
1362efbb6d53f3383cea29321ab304f0e370154a
8dc6423cca2eb626b1f9ce76d576e95ac17181f8
/news/migrations/0003_auto_20180919_1420.py
0e3a984792ef8d8547e078b029e9116b1aab56dd
[]
no_license
codeSapience/django_news_app
07d67c44105ee30626e740ec6c534d7d6cc07ee4
2a55d0503d128d88d4c7b03b766d68c9c99516a0
refs/heads/master
2020-03-29T01:49:12.729978
2018-10-05T00:00:15
2018-10-05T00:00:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-09-19 14:20 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('news', '0002_auto_20180919_1304'), ] operations = [ migrations.AlterModelO...
[ "brittoakintade@gmail.com" ]
brittoakintade@gmail.com
35123285e1569f4fd529e804592e81ec15765527
2a61b02c26e77686e38cd9039e6f4b0530ddb7c9
/bitbots_navigation/bitbots_localization/src/bitbots_localization/localization_dsd/actions/initialize.py
01deaa97243938ce01c27e519039c7f8aa8a5bea
[ "MIT" ]
permissive
fly-pigTH/bitbots_thmos_meta
931413e86929751024013b8e35f87b799243e22c
f45ccc362dc689b69027be5b0d000d2a08580de4
refs/heads/master
2023-08-27T02:58:08.397650
2021-10-22T17:17:11
2021-10-22T17:17:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,154
py
import rospy from dynamic_stack_decider.abstract_action_element import AbstractActionElement from bitbots_localization.srv import ResetFilter class AbstractInitialize(AbstractActionElement): def __init__(self, blackboard, dsd, parameters=None): super(AbstractInitialize, self).__init__(blackboard, dsd, pa...
[ "759074800@qq.com" ]
759074800@qq.com
e9a5a4858ee18294253987862fd245e034788500
57c13a2500561e72e382489c23e9c0b8347be605
/network_programming/chat_project/chat_server.py
bd32ca8fa7b9bb2c5a8bc51e0d00e53983448314
[]
no_license
linheimx/python_master
7403d7af639e31810c90b2fba14972a6d3dcfcec
7fb7c467bedaff1515975807552a0ba05e30f15e
refs/heads/master
2021-01-21T21:54:55.537994
2016-12-23T15:05:14
2016-12-23T15:05:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,058
py
import sys import socket import select HOST = "" PORT = 9090 SOCKET_LIST = [] RECV_BUFFER = 4096 def chat_server(): server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, True) server_socket.bind((HOST, PORT)) server_socket...
[ "bonwho09@gmail.com" ]
bonwho09@gmail.com
7ce31686205d472fb1883b4327ca1d1dd6db0ec6
d859e135cb2c7bc4b5d3c62c99c3ca49784b6ca3
/linehaul/cli.py
c4e3fbce803f1a4da2f591f4440d478ca743b71a
[ "Apache-2.0" ]
permissive
reaperhulk/linehaul
c7dfe2de163d5062572b2fd1626c69d3fae592fd
1058adfdedec3c75f5e4f32108ff727fcddd4d9d
refs/heads/master
2021-01-13T03:18:07.795816
2016-07-01T12:31:36
2016-07-01T12:31:36
77,585,767
0
0
null
2016-12-29T05:37:23
2016-12-29T05:37:23
null
UTF-8
Python
false
false
4,335
py
#!/usr/bin/env python3.5 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software #...
[ "donald@stufft.io" ]
donald@stufft.io
0b5ef3d75664e973d42db706c3d83768ccc1934e
4f74e6d72b98cd1da2190313e4a7eb9d342cc93d
/environments/admin.py
352cb786ec086a6c618fb44c7ec20f14f7ba1fc8
[ "BSD-3-Clause", "MIT" ]
permissive
adamgogogo/glitchtip-backend
ef0c529b71d5a4632a235b40a10e0b428a1cee3a
ee71d1b732d92868189d520aa111c09b116b7b22
refs/heads/master
2023-02-01T23:10:53.734450
2020-12-19T19:32:10
2020-12-19T19:32:10
323,588,534
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
from django.contrib import admin from .models import Environment, EnvironmentProject class EnvironmentAdmin(admin.ModelAdmin): pass admin.site.register(Environment, EnvironmentAdmin) class EnvironmentProjectAdmin(admin.ModelAdmin): pass admin.site.register(EnvironmentProject, EnvironmentProjectAdmin)
[ "david@burkesoftware.com" ]
david@burkesoftware.com
7f4adc0c433e1c8f76de5eb5b022daf9210bc848
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1674486_0/Python/fantastication/diamond.py
4d2de5d2b9dc57390ec5ef8ae812eb4b981604ce
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,110
py
def check(n, path): #print "path to", n, ": ", path parents = classes[n-1] for parent in parents: if parent == -1: continue if parent in path: #print "FOUND", path return True else: path.append(parent) #print "adding", paren...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
f2776cf8026c189c2a2aa1e53aa4d94fd55e6f58
c825ab84e533f4f306656a758ee469a27c5b232b
/mysite/settings.py
1833cee2fa370af6a81c1ff217ece67f36bc030f
[]
no_license
wataru-ikeda/my-first-blog
e6244c54b509d0c3e6dd42c1c49f90b6ec93397a
d2f293a112ae9454006edd5647fc5c992673c0f9
refs/heads/master
2021-05-25T07:56:25.395351
2020-04-08T03:12:01
2020-04-08T03:12:01
253,728,389
0
0
null
null
null
null
UTF-8
Python
false
false
3,200
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0.5. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # ...
[ "you@example.com" ]
you@example.com
c2867740cb5f78444e1cd652e06ea817001d4ae3
07bdfcb29eda2048278dff96f7e2d3a52a199ece
/Backend Python/ExamSystemPython/examsystemapp/api/college.py
d67de71b0f26e4f0526d89cd1be488c466285a78
[]
no_license
shreyassiddanagoudar/shreya
5ac11e4ba0312b55c7a221d82b6c36cafcd291ab
c51bc363e74a300d97b6d78d4f5aee043762ac38
refs/heads/master
2023-07-15T09:38:19.653419
2021-08-28T09:48:09
2021-08-28T09:48:09
361,653,706
0
0
null
null
null
null
UTF-8
Python
false
false
6,134
py
""" Created By : <Auto generated code> Created On : Reviewed By : Reviewed On : Version : """ import json from django.http import HttpRequest from examsystemapp.api.base_controller import BaseController from examsystemapp.models.college import CollegeModel from examsystemapp.services.college_service import C...
[ "noreply@github.com" ]
shreyassiddanagoudar.noreply@github.com
4ef1d2aaba39ed43d41d7f9b2fb9488b5ee99223
cf0f3f1bb02048d99be4e74254a4e48f4ca78ac6
/0x1F-pascal_triangle/0-pascal_triangle.py
0a8d2ae715fa29481d1397bef23064c44f83ae94
[]
no_license
andreammgcol/holbertonschool-interview
89277dc9aebb0f36d77b995b58f6d060c48692bc
01bc3b29f44f8b76a56879b00bc77d2f9a919306
refs/heads/master
2023-07-20T13:23:31.172414
2021-08-26T04:42:55
2021-08-26T04:42:55
280,991,551
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
#!/usr/bin/python3 """ Pascal triangle """ def pascal_triangle(n): """ Function that returns a list of lists of integers representing the Pascal’s triangle of n """ triangle = [] if n <= 0: return triangle for i in range(1, (n + 1)): sub = [] for j in range(i): ...
[ "amendez72@misena.edu.co" ]
amendez72@misena.edu.co
0ec96347624c3779acb977f9f453bee286bcb934
80d50ea48e10674b1b7d3f583a1c4b7d0b01200f
/examples/v2/incidents/DeleteIncident.py
a134c05b864f6bbffc44a61f18cc8ae6dcb87435
[ "Apache-2.0", "BSD-3-Clause", "MIT", "MPL-2.0" ]
permissive
DataDog/datadog-api-client-python
3e01fa630278ad0b5c7005f08b7f61d07aa87345
392de360e7de659ee25e4a6753706820ca7c6a92
refs/heads/master
2023-09-01T20:32:37.718187
2023-09-01T14:42:04
2023-09-01T14:42:04
193,793,657
82
36
Apache-2.0
2023-09-14T18:22:39
2019-06-25T22:52:04
Python
UTF-8
Python
false
false
555
py
""" Delete an existing incident returns "OK" response """ from os import environ from datadog_api_client import ApiClient, Configuration from datadog_api_client.v2.api.incidents_api import IncidentsApi # there is a valid "incident" in the system INCIDENT_DATA_ID = environ["INCIDENT_DATA_ID"] configuration = Configur...
[ "noreply@github.com" ]
DataDog.noreply@github.com
0ea01cbe7bd8170f064d5e9e92d39c5a5fe6765e
bdc12ac21a4c7b83a43258b46d6008c5f36a71e6
/edmondderothschild/spiders/spider.py
9d9460836280ea4016ffed933a6d247278938580
[]
no_license
hristo-grudev/edmondderothschild
068132e79dd176721b885f238f0cf342e7e57988
da231da1f56c62760872f5bcc3a70aaae040add8
refs/heads/main
2023-03-24T06:17:20.193318
2021-03-26T08:49:17
2021-03-26T08:49:17
351,717,760
0
0
null
null
null
null
UTF-8
Python
false
false
1,736
py
import re import scrapy from scrapy.loader import ItemLoader from scrapy.spiders import XMLFeedSpider from w3lib.html import remove_tags from ..items import EdmondderothschildItem from itemloaders.processors import TakeFirst import requests import xmltodict class EdmondderothschildSpider(XMLFeedSpider): name = 'e...
[ "hr.grudev@gmail.com" ]
hr.grudev@gmail.com
632e2a617586abeeb950bd4e2968256a403701b3
4a014a10f3e144bc778149f8bf6f763581ece2b0
/src/latexify/config.py
88ab7e04d0614f1cb1c100563ad6a6c4acad5b3e
[ "Apache-2.0" ]
permissive
google/latexify_py
394f4608e09e45ac6b8091d6734cf6bf06fa548d
b3ae7fa9483f7055e692bef8acc9c0ec8e91c51f
refs/heads/main
2023-09-02T06:49:55.607974
2023-01-14T10:57:55
2023-01-14T10:57:55
282,443,202
5,202
265
Apache-2.0
2023-01-14T10:57:56
2020-07-25T12:50:56
Python
UTF-8
Python
false
false
2,790
py
"""Definition of the Config class.""" from __future__ import annotations import dataclasses from typing import Any @dataclasses.dataclass(frozen=True) class Config: """Configurations to control the behavior of latexify. Attributes: expand_functions: If set, the names of the functions to expand. ...
[ "noreply@github.com" ]
google.noreply@github.com
623feb305b11da8bd2283836b273711652544b52
f64e31cb76909a6f7fb592ad623e0a94deec25ae
/leetcode/p1710_maximum_units_on_a_truck.py
8e89618e55fad5153cf50d1bc81468436154aa8e
[]
no_license
weak-head/leetcode
365d635cb985e1d154985188f6728c18cab1f877
9a20e1835652f5e6c33ef5c238f622e81f84ca26
refs/heads/main
2023-05-11T14:19:58.205709
2023-05-05T20:57:13
2023-05-05T20:57:13
172,853,059
0
1
null
2022-12-09T05:22:32
2019-02-27T05:58:54
Python
UTF-8
Python
false
false
460
py
from typing import List import heapq def maximumUnits(boxTypes: List[List[int]], truckSize: int) -> int: """ Time: O(n) Space: O(n) n - number of boxes """ q = [(-v[1], v[0]) for v in boxTypes] heapq.heapify(q) max_units = 0 left_space = truckSize while left_space > 0 and ...
[ "zinchenko@live.com" ]
zinchenko@live.com
3c3751974ba7fde06708dc6a41c2bedc1bc225c7
159aed4755e47623d0aa7b652e178296be5c9604
/data/scripts/templates/object/tangible/lair/base/shared_poi_all_lair_bones_large_evil_fire_red.py
0d8c6fc34668df5aa6df3b2b1c35b2da4808979c
[ "MIT" ]
permissive
anhstudios/swganh
fb67d42776864b1371e95f769f6864d0784061a3
41c519f6cdef5a1c68b369e760781652ece7fec9
refs/heads/develop
2020-12-24T16:15:31.813207
2016-03-08T03:54:32
2016-03-08T03:54:32
1,380,891
33
44
null
2016-03-08T03:54:32
2011-02-18T02:32:45
Python
UTF-8
Python
false
false
464
py
#### NOTICE: THIS FILE IS AUTOGENERATED #### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY #### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES from swgpy.object import * def create(kernel): result = Tangible() result.template = "object/tangible/lair/base/shared_poi_all_lair_bones_large_evil_fire_red.iff" result...
[ "rwl3564@rit.edu" ]
rwl3564@rit.edu
2ed0e34a43fa2c125006f672440b3da4ab09d4ba
cba7110bb180886c22bb3cb844d7f9ff5efee428
/petit_lisp.py
6ab3ee8d08b510a5981f4dca6235640722ddfbbd
[ "CC0-1.0" ]
permissive
aroberge/lispy-experiments
d41df042e5737d7d99ac1f03a081e8ce5aed2585
c54da34500e95150c2ef9c6057339525edf1e03f
refs/heads/master
2021-01-19T21:51:58.194552
2015-02-25T21:41:55
2015-02-25T21:41:55
31,174,203
0
1
null
null
null
null
UTF-8
Python
false
false
6,700
py
'''New class based version ''' import sys from src.file_loader import FileLoader from src.python_utils import python_fns from src.parser import Parser from src.repl import InteractiveInterpreter loader = FileLoader() STRINGS = {} class Env(dict): "An environment: a dict of {'var': val} pairs, with an outer Env...
[ "andre.roberge@gmail.com" ]
andre.roberge@gmail.com
e33f6c598c699f04928d5a390d5e4325a4948d24
9b4de05054f37a65dce49857fb6a809a370b23ca
/gd/migrations/0017_auto_20171223_1605.py
97c3517179868639f2ab467e37bf45e031c80896
[]
no_license
susahe/gis
f6b03b8f23abf7ca22c0069a4cdf603bfe879808
6b8d433cd5f672994ac138c1b656136425d0c345
refs/heads/master
2021-05-12T01:50:12.862559
2018-01-27T02:25:31
2018-01-27T02:25:31
117,569,888
0
0
null
null
null
null
UTF-8
Python
false
false
1,530
py
# Generated by Django 2.0 on 2017-12-23 16:05 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('gd', '0016_auto_20171223_1601'), ] operations = [ migrations.AlterField( model_name='gramasevadivisio...
[ "sumudu.susahe@gmail.com" ]
sumudu.susahe@gmail.com
54c6f8673ede0ff92aae2a33401611442277cef8
c8e3ce59771a46723eb460dadc7136ce4337567b
/wordcloud_yelp_pos.py
df0e8b9012472da71ebf042b39ed6ff59d675dfb
[ "MIT" ]
permissive
elisetnp/stylistic-word-clouds
658c4b5e4bcf903f670078d8d6ebd4a25224afd1
0ecc7fa5632cd21ed9b24ccad9e27448a15eed81
refs/heads/master
2022-01-18T17:18:51.055745
2016-05-08T04:46:00
2016-05-08T04:46:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
import numpy as np import csv import random from PIL import Image from wordcloud import WordCloud, STOPWORDS from palettable.colorbrewer.sequential import Greens_9 def color_func(word, font_size, position, orientation, random_state=None, **kwargs): return tuple(Greens_9.colors[random.randint(2,8)]) csv_path = "ye...
[ "max@minimaxir.com" ]
max@minimaxir.com
74db49958179e9efa98ebfc30bb65ded9c8eee31
08b0c27ce98495c0889d7b768ac7d2a97beff158
/廖雪峰-python/廖雪峰-面向对象之多重继承.py
aa05ccb03ba657e9c34a5bba6dd5ff9567191adf
[]
no_license
jetli123/python_files
7d3834b8e3f8b8dca5109c2d6aeb8d0fcdb852c3
7f5b787820cca2cf5820a1cdf3fed77e5185f04e
refs/heads/master
2020-03-27T01:36:02.526294
2019-07-11T06:58:35
2019-07-11T06:58:35
145,726,196
1
0
null
null
null
null
UTF-8
Python
false
false
2,165
py
# -*- coding: utf-8 -*- __author__ = 'JetLi' """继承是面向对象编程的一个重要的方式,因为通过继承,子类就可以扩 展父类的功能。""" """ Dog - 狗狗; Bat - 蝙蝠; Parrot - 鹦鹉; Ostrich - 鸵鸟。 Mammal 哺乳类:能跑的哺乳类,能飞的哺乳类; Bird 鸟类:能跑的鸟类,能飞的鸟类。 """ # 采用多重继承。首先,主要的类层次仍按照哺乳类和鸟类设计 class Animal(object): pass class Mammal(Animal): # 大类 pass class Bird(Animal): ...
[ "Jet_Oracle@outlook.com" ]
Jet_Oracle@outlook.com
919ee4eab014fe4cd9950bf760b3ed95385fdfe2
79f42fd0de70f0fea931af610faeca3205fd54d4
/base_lib/daemonize.py
bcabe9a83f6ac73cf1fcc28f101b0bb623286a53
[]
no_license
fanwen390922198/ceph_pressure_test
a900a6dc20473ae3ff1241188ed012d22de2eace
b6a5b6d324e935915090e791d9722d921f659b26
refs/heads/main
2021-08-27T16:26:57.500359
2021-06-02T05:18:39
2021-06-02T05:18:39
115,672,998
0
0
null
null
null
null
UTF-8
Python
false
false
2,682
py
#!/usr/bin/python # -*- coding:utf-8 -*- # Copyright (C) 2018 - All Rights Reserved # project: ceph_pressure_test # file: daemonize.py # time: 2019/9/5 14:05 # author: fanwen # desc: # !/usr/bin/env python # coding: utf-8 import sys import os # 将当前进程fork为一个守护进程 # 注意:如果你的守护进程是由inetd启动的,不要这样做!inetd完成了 ...
[ "fanwen@sscc.com" ]
fanwen@sscc.com
e1af9eea7f4456e93b638d47785844b21ab0e873
bb17c42217a6eaf5434878f86d43a3573fb4d201
/caffe2/quantization/server/conv_groupwise_dnnlowp_op_test.py
badb115c15661bfc6b5d9c6c1ce020a9d3b70c4d
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
iotamudelta/pytorch
6934cc48628cf3db6221bb27ca89a8a8f25826d5
b710aee8c2ac2daa36e5143b00982b06746a4bf7
refs/heads/master
2021-06-05T22:33:12.622376
2019-01-04T17:18:39
2019-01-04T17:18:39
136,206,721
1
0
NOASSERTION
2018-12-17T23:16:59
2018-06-05T16:40:18
C++
UTF-8
Python
false
false
8,718
py
from __future__ import absolute_import, division, print_function, unicode_literals import collections import caffe2.python.hypothesis_test_util as hu import hypothesis.strategies as st from caffe2.python import core, dyndep from caffe2.quantization.server import utils as dnnlowp_utils from dnnlowp_test_utils import (...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
85d021bf63d7f990e9182b73040daae662c6324f
82e19f3738f47bc517fcb6dd1bf480117bdc8825
/0x07-python-test_driven_development/5-text_indentation.py
9457c9692e0add48c1f4ddabf3c780864188b0bb
[]
no_license
PierreBeaujuge/holbertonschool-higher_level_programming
ce6cfaf09fd0fefff8047c23320009ffae9f6e79
a133bfd68e3ec1f9430d6c722dd96d13f117c8cf
refs/heads/master
2021-07-08T00:10:20.568509
2020-11-14T20:26:56
2020-11-14T20:26:56
207,353,878
0
5
null
null
null
null
UTF-8
Python
false
false
833
py
#!/usr/bin/python3 """ Module that handles printing of a text """ def text_indentation(text): """ Function that prints a text with 2 new lines after ., ? and : """ new_text = "" if not isinstance(text, str): raise TypeError("text must be a string") i = 0 while i < len(text): ...
[ "pierre.beaujuge@gmail.com" ]
pierre.beaujuge@gmail.com
c8e277f57fbd493bde3ddc1f1f68158067e231ac
e48375c39c0d1fc71742b1964dffdd3af0ff86c0
/nlu/components/classifiers/token_bert_healthcare/token_bert_healthcare.py
dfcbf72f27c66728a4a68aba94343643ceb788d4
[ "Apache-2.0" ]
permissive
ahmedlone127/nlu
b8da5a84f0e47640cb09616559bf8b84c259f278
614bc2ff94c80a7ebc34a78720ef29a1bf7080e0
refs/heads/master
2023-02-09T05:10:29.631583
2022-05-20T15:16:33
2022-05-20T15:16:33
325,437,640
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
class TokenBertHealthcare: @staticmethod def get_default_model(): from sparknlp_jsl.annotator import MedicalBertForTokenClassifier return MedicalBertForTokenClassifier.pretrained() \ .setInputCols("sentence", "token") \ .setOutputCol("ner") @staticmethod def get_...
[ "christian.kasim.loan@gmail.com" ]
christian.kasim.loan@gmail.com
373e06129c3d09a2092239b0a9dd19e72f5ca703
e8e9bab84754786e68e32ad5bba9a1f93dd36df1
/python/rr.py
b851fac9403a587338b012a5479bea4efa44772f
[]
no_license
0vermind/eddie
98026246bca34dd9a67b91113cf03bce6743489d
38f43fb296a916fde7721543b942a59fffb9e871
refs/heads/master
2021-05-10T00:23:39.336437
2018-01-24T12:26:31
2018-01-24T12:26:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,921
py
""" Usage: df = pd.read_csv("data.csv") renko = Renko(df) renko.brick_size = 2 bricks = renko.get_bricks() print(bricks) """ import sys import datetime as dt import numpy as np import pandas as pd import nsepy class Renko: PERIOD_CLOSE = 1 PRICE_MOVEMENT = 2 TREND_CHANGE_DIFF = 2 brick_size = 1...
[ "anand21nanda@gmail.com" ]
anand21nanda@gmail.com
baf9232934abe8f004c202e7807716b4d6876a09
a5a943391577a3b7222533d335ec0eda6cc1bc33
/src/robot/version.py
3be9a14084a8b351caae9ad094fb248c1aa7bd42
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
miktuy/robotframework
2164aa67d779ec2a3511181bb7d01a7ad2bc45a9
15e11c63be0e7a4ce8401c7d47346a7dc8c81bf5
refs/heads/master
2023-01-31T11:19:18.816499
2023-01-18T17:34:13
2023-01-18T17:34:13
298,874,288
0
0
Apache-2.0
2023-01-26T12:49:01
2020-09-26T18:20:30
Python
UTF-8
Python
false
false
1,408
py
# Copyright 2008-2015 Nokia Networks # Copyright 2016- Robot Framework Foundation # # 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 ...
[ "peke@iki.fi" ]
peke@iki.fi
8b94b6f8a3cf469357b5616523eb1c8f2ac05b7e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03605/s512745938.py
cf053959fa1a5cb30cf04db0828a77316527a481
[]
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
97
py
def main(): print('Yes' if '9' in input() else 'No') if __name__ == '__main__': main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a816b9eb7cb4c15572bcc2fde5429a9a3fef50b8
2827d7a837eb29c3cb07793ab6d3d5a753e18669
/alipay/aop/api/request/AlipayOfflineMarketProductBatchqueryRequest.py
5b6524909b5e0b93c45834d283793cf3e6e236ce
[ "Apache-2.0" ]
permissive
shaobenbin/alipay-sdk-python
22e809b8f5096bec57d2bb25414f64bdc87fa8b3
5232ad74dff2e8a6e0e7646ab3318feefa07a37d
refs/heads/master
2020-03-21T04:51:39.935692
2018-06-21T07:03:31
2018-06-21T07:03:31
138,131,022
0
0
null
2018-06-21T06:50:24
2018-06-21T06:50:24
null
UTF-8
Python
false
false
4,015
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayOfflineMarketProductBatchqueryModel import AlipayOfflineMarketProductBatchqueryModel class AlipayOfflineMarketProductBatchquer...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
cdf830ae3e0835a12624bfd2c5ef4c83e633a614
313afbb1ea19f2266571870c7461f2591e30ea7b
/src/lab/lab01/z_7_macierze.py
e11a427c91a7ab0da9a9a38c400254c006be1ae9
[]
no_license
tborzyszkowski/LogikaProgramowania
89201a76ddc60692ffccaf7c4c7b17d4e1e2c0e8
cceb161a6ff5933d2acc31f15879cafcf03b285b
refs/heads/master
2022-06-23T18:41:29.460094
2022-06-17T16:18:29
2022-06-17T16:18:29
250,095,485
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
from random import random N = 2 m1 = [ [(1 if i == j else 0) for j in range(N)] for i in range(N) ] m2 = [[int(random() * 100) for y in range(N)] for x in range(N)] print("m1:") for row in m1: print(row) print("\n-----------\n") print("m2:") for row in m2: print(row) print("\n----------...
[ "t.borzyszkowski@gmail.com" ]
t.borzyszkowski@gmail.com
2e80e028db2b748647fa57e8c02cd4029b2f9c93
27b3c7f8e144a3f6f4699e49d7df85c2918b3b23
/customlogger/custom_logger.py
a00a7935d53ac335c2646f71ecfd4cfe3e79646e
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
deresmos/customlogger
ddf0aabba7435816a5e160474e3545758cc078a4
6f6bbda8caeaa27a15d4981732ac7e57a525ea6f
refs/heads/master
2021-07-18T21:50:54.808304
2018-06-28T06:08:01
2018-06-28T06:08:01
98,201,131
1
1
MIT
2018-06-05T14:55:59
2017-07-24T14:40:55
Python
UTF-8
Python
false
false
5,725
py
# imports {{{1 import logging import os from os.path import expanduser from colorlog import ColoredFormatter from customlogger.only_filter import OnlyFilter from customlogger.run_rotating_handler import RunRotatingHandler # }}} class CustomLogger: # class variable {{{1 NOTSET = logging.NOTSET DEBUG = l...
[ "deresmos@gmail.com" ]
deresmos@gmail.com
809595d1fa3df5a45abcab47ef7dd4d58698b915
8af8544612d10260d1eaf4c613e599aaafc8f4c7
/cal/admin.py
48bd114c5a689fcc66e2fa9e1edc167617f235d1
[]
no_license
Noeuclides/djangocalendar
46979e7249adc94c449b7bd54888f752936a9a46
4a7fed9ae73989190c8b1f620de81af48248b788
refs/heads/master
2023-07-31T21:42:25.638017
2020-06-22T22:32:15
2020-06-22T22:32:15
273,511,608
0
0
null
2021-09-22T19:16:05
2020-06-19T14:20:39
Python
UTF-8
Python
false
false
1,114
py
from django.contrib import admin from cal.models import * class EventAdmin(admin.ModelAdmin): list_display = ('id', 'title', 'grade') list_display_links = ('id', 'title', 'grade') class ChallengeAdmin(admin.ModelAdmin): list_display = ('id', 'name', 'grade') list_display_links = ('id', 'name', 'grade'...
[ "euclidesnoeuclides@gmail.com" ]
euclidesnoeuclides@gmail.com
0a45a862d3c529f57cce59103290f55dc8ab44f8
057fde8a8ab9622a3524cb880c7ace5a15c0f355
/set7/70.py
4b1fb8e3c9d5e4a6348aeeaf197facb1e7fb3b10
[]
no_license
ramyasutraye/Guvi_Python
e9ba6eb812ec8014214dce77d710ce230bbb8020
2fed3c460185fbf7bcf64c068084bcdb7d840140
refs/heads/master
2020-04-23T19:30:21.003061
2018-05-25T10:43:14
2018-05-25T10:43:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
a=int(input("Enter any number:")) for i in range(0,a): num=2**i if num>a: print(num) break if a==2: print("4") elif a==1 or a==0: print("2")
[ "noreply@github.com" ]
ramyasutraye.noreply@github.com
4fd5d0b3cf69ec3401158708578acd35b429b996
242f1dafae18d3c597b51067e2a8622c600d6df2
/src/0000-0099/0005.manacher.py
fb347e485f03f4f36cd8545c32505243e8a5b10e
[]
no_license
gyang274/leetcode
a873adaa083270eb05ddcdd3db225025533e0dfe
6043134736452a6f4704b62857d0aed2e9571164
refs/heads/master
2021-08-07T15:15:01.885679
2020-12-22T20:57:19
2020-12-22T20:57:19
233,179,192
1
0
null
null
null
null
UTF-8
Python
false
false
1,377
py
class Solution: def longestPalindrome(self, s: str) -> str: """Manacher Algorithm. """ n = 2 * len(s) + 1 # augmented s with # ss = lambda s, i: s[(i - 1) // 2] if i % 2 else '#' # c: center of palindrome with rightmost position c = 0 # r: right of palindrom with rightmost position ...
[ "gyang274@gmail.com" ]
gyang274@gmail.com
bc576f8ef94ce910cccb8942737b54d6b3bf8daa
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/1336907795/Scripts/_testbuffer.py
706a5b806e0bdf4a96417ae23fce495550448982
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,549
py
# encoding: utf-8 # module Scripts._testbuffer # from C:\Users\siddh\PycharmProjects\Introduction to Python\.idea\VirtualEnvironment\Scripts\_testbuffer.pyd # by generator 1.145 # no doc # no imports # Variables with simple values ND_FORTRAN = 4 ND_GETBUF_FAIL = 64 ND_GETBUF_UNDEFINED = 128 ND_MAX_NDIM = 128 ND_PI...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
e7567675022bdbdfd9b443dd0209766b03578342
9f2ea36883c5fbd2b96132917e4939d5f99de400
/flask_mongo_profiler/contrib/flask_admin/formatters/lookup.py
c500c2d56a60f9c56a9b70753024b9727317fc00
[ "MIT" ]
permissive
eduflow/flask-mongo-profiler
80803111e1c4e5a817401d1339571c8475c9b84c
a267eeb49fea07c9a24fb370bd9d7a90ed313ccf
refs/heads/master
2023-05-27T01:58:24.860787
2018-12-15T21:16:57
2018-12-15T21:18:54
154,967,856
0
0
MIT
2023-05-22T21:35:44
2018-10-27T13:31:26
Python
UTF-8
Python
false
false
1,265
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from flask import Markup from ..helpers import get_list_url_filtered_by_field_value def search_field_formatter(view, context, model, name): filter_url = get_list_url_filtered_by_field_value(view, model, name) filter_applied = F...
[ "tony@git-pull.com" ]
tony@git-pull.com
4e4334450f22bbbdb6cbd28d91bea30372bf64eb
8fa938eddcc75eb7dff1f2055c49cb3817a00c63
/String/ex49.py
60dfa2055e3999b694cd7c97f3c9dca529ba9fc5
[]
no_license
jayhebe/w3resource_exercises
f27109759d112b0611574aa70eb378ace447c2a0
b29aa7c806f6021a8988e83bb9f674522a41380d
refs/heads/master
2020-05-07T09:23:24.039271
2020-01-30T15:05:06
2020-01-30T15:05:06
180,374,062
2
0
null
null
null
null
UTF-8
Python
false
false
148
py
def get_vowels(char_str): return [ch for ch in char_str if ch in "aeiouAEIOU"] if __name__ == '__main__': print(get_vowels("w3resource"))
[ "jayhebe1983@sina.com" ]
jayhebe1983@sina.com
d6285ad479fd73931af9354c270848582cab80b4
d3b829dc03641fba2a57c816891a021ab7d5b505
/fluent_contents/migrations/0001_initial.py
d713326b77ede1588edb67715503f41e8d68659b
[ "Apache-2.0" ]
permissive
django-fluent/django-fluent-contents
7af8c0782f1e99832cae6c4f1ed3d99e72097199
5577567303d29b56fd48128c22c7dc5d8b2c7476
refs/heads/master
2023-02-21T01:44:34.935089
2021-11-17T08:55:16
2021-11-17T08:58:26
3,145,163
84
18
Apache-2.0
2023-02-15T20:50:09
2012-01-10T12:54:57
Python
UTF-8
Python
false
false
4,207
py
import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("contenttypes", "0001_initial")] operations = [ migrations.CreateModel( name="ContentItem", fields=[ ( "id", ...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
2f6e18a5f4ba8b0456377676821bca0328fe208c
8311a0bcf3f2126d622f928483ce2ea9d6a7cb0d
/Code/Matthew/python/bogosort.py
8a5e8b1541f2a5351db02b7bfa5859e5544947c6
[]
no_license
guam68/class_iguana
857247dca0ff732d11f7fb0d3dc761ec83846c94
e4359d32dfe60423a643c21df5636669016ad2c0
refs/heads/master
2020-05-01T06:33:22.611127
2019-03-13T23:07:41
2019-03-13T23:07:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,570
py
# import random # def bubble_sort(nums): # for i in range(len(nums)): # for j in range(len(nums)-1): # if nums[j] > nums[j+1]: # nums[j], nums[j+1] = nums[j+1], nums[j] # # nums = [random.randint(0,99) for i in range(100)] # print(nums) # bubble_sort(nums) # print(nums) impor...
[ "flux2341@gmail.com" ]
flux2341@gmail.com
8f425fd16f7d5aded1fbfb08578f898f5cecf18f
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-alloydb/samples/generated_samples/alloydb_v1beta_generated_alloy_db_admin_generate_client_certificate_async.py
f1d54b369e792a9e23c7159b0cbbd6d2a0c78430
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,940
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
5f7225a8bb8465174507e5765718f14c91635f9b
2d9a3ce2a04190d0032e8a298829022260b1d76b
/indra/databases/biolookup_client.py
a8ac55265ff756883e26106fd0c97136b94d074f
[ "BSD-2-Clause", "BSD-2-Clause-Views" ]
permissive
sorgerlab/indra
f127a0f9bdd2d3f48df14575883fd31e2f4de4bf
6d6ca1174792b6c5a05cbf3afcb9f138fabcec6a
refs/heads/master
2023-08-21T13:25:54.654995
2023-06-11T16:46:41
2023-06-11T16:46:41
22,848,436
158
61
BSD-2-Clause
2023-08-30T21:47:59
2014-08-11T17:44:05
Python
UTF-8
Python
false
false
1,316
py
"""A client to the Biolookup web service available at http://biolookup.io/.""" from typing import Dict import requests URL = 'http://biolookup.io/api/lookup/' def lookup_curie(curie: str) -> Dict: """Look up a CURIE in the Biolookup web service. Parameters ---------- curie : The CURIE to loo...
[ "ben.gyori@gmail.com" ]
ben.gyori@gmail.com
0797c311f47d452f7d067ce093d1a6ac6666d7b9
d178ecd2d3511fcd98aca731ada1aa0fec0e15a1
/prog_count/grader.py
dca9b796081c90aeae9a3b3000b81e8f76932a68
[]
no_license
0xBADCA7/easyctf-iv-problems
165cca68e2bad788604dab4b15c644e994c7fa85
7037fe557df97cd85b3eada672ef44a356236522
refs/heads/master
2020-08-13T21:16:26.114580
2018-02-21T06:15:40
2018-02-21T06:15:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
from itertools import combinations as comb n, s = map(int, input().split()) nums = [int(u) for u in input().split()] t = 0 for i in range(1, len(nums) + 1): for c in comb(nums, i): if sum(c) == s: t += 1 print(t)
[ "failed.down@gmail.com" ]
failed.down@gmail.com
19d84cb48523b1f33dfbbc80555e822ae0d9177b
9cfdfe633dfb2755955f9d356fdd0a9601089955
/account_auth/tests/test_veiws.py
cc19cd637b9384f9d338cf62d7f16a79d4b53583
[]
no_license
DimAntDim/ResumeBuilder
cec597ba4b857d98147e2f5f6831bd3c93c83c80
0507d5d9c44936d892df280015f7c6d8e630f55b
refs/heads/main
2023-08-21T08:03:43.327868
2021-11-03T19:43:04
2021-11-03T19:43:04
394,882,643
0
0
null
null
null
null
UTF-8
Python
false
false
1,701
py
from account_auth.forms import RegisterForm from django.contrib.auth import get_user_model from django.test import TestCase from django.urls import reverse UserModel = get_user_model() class RegisterViewTest(TestCase): def test_register_render_template(self): response = self.client.get(reverse('register'...
[ "66394357+DimAntDim@users.noreply.github.com" ]
66394357+DimAntDim@users.noreply.github.com
37622bd384cc377d31cf52cceba87131abd2c22f
054f03640ea7598b8d623fa604c691c7526c19e7
/extra_foam/pipeline/tests/test_data_model.py
dde2d4e18c5425922fa66e37b72f0efc1681b9a1
[ "BSD-3-Clause" ]
permissive
zhujun98/EXtra-foam
ef1298f026c08b9d83464a84106c612fbfbe000f
680d6d7fd4afdcbc41eb8e440feac54b6cecab33
refs/heads/master
2021-07-25T20:18:17.736460
2020-07-31T15:46:47
2020-07-31T15:46:47
224,394,172
0
0
BSD-3-Clause
2019-12-04T10:21:56
2019-11-27T09:32:38
Python
UTF-8
Python
false
false
15,441
py
import unittest from unittest.mock import patch import numpy as np from extra_foam.pipeline.data_model import ( PulseIndexMask, MovingAverageArray, MovingAverageScalar, ImageData, ProcessedData, RawImageData ) from extra_foam.config import config class TestMovingAverageScalar(unittest.TestCase): def tes...
[ "zhujun981661@gmail.com" ]
zhujun981661@gmail.com
9a9a5e1a87e823fb31274cc803479e5f9f48c592
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/day_or_point/say_good_work.py
e57f94898800ec38a14522b3b0c3743ae46ef192
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
#! /usr/bin/env python def use_few_part_over_bad_hand(str_arg): important_number(str_arg) print('thing') def important_number(str_arg): print(str_arg) if __name__ == '__main__': use_few_part_over_bad_hand('great_year')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
04f06111126887806589e20ae3df08a21ef35dab
683a90831bb591526c6786e5f8c4a2b34852cf99
/CodeSignal/Interview/Backtracking/2_WordBoggle.py
56777e11c7b04f10d9d347dd0cc392adb21fe6d6
[]
no_license
dbetm/cp-history
32a3ee0b19236a759ce0a6b9ba1b72ceb56b194d
0ceeba631525c4776c21d547e5ab101f10c4fe70
refs/heads/main
2023-04-29T19:36:31.180763
2023-04-15T18:03:19
2023-04-15T18:03:19
164,786,056
8
0
null
null
null
null
UTF-8
Python
false
false
1,514
py
import copy # https://app.codesignal.com/interview-practice/task/v3uf4PGocp2CH62nn/description # Tag(s): Backtracking, recursion def print_board(board): for row in board: print(row) deltas = [ (-1, 0), (-1, -1), (-1, 1), (0, -1), (0, 1), (1, 0), (1, -1), (1, 1) ] def explore(board, word, i, j, k):...
[ "davbetm@gmail.com" ]
davbetm@gmail.com
8137538c751572157b1a44dc0c0f97368389f271
f9cce83d8259f53686ed545cf301d6e72258ea90
/mynewproject/mynewproject/settings.py
2a6d9179c5e65c306eeb698650876c6ff4e54220
[]
no_license
ir4y/docker-workshop
dc649e53598d9fc237348aab64ccd3b5141bc12e
9e6f7f2445bf4b4ac1c416f83488a8d840d64db6
refs/heads/master
2020-12-24T22:06:12.190270
2016-04-22T20:53:22
2016-04-22T20:53:22
56,765,105
1
0
null
null
null
null
UTF-8
Python
false
false
3,123
py
""" Django settings for mynewproject project. Generated by 'django-admin startproject' using Django 1.9.5. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import ...
[ "ir4y.ix@gmail.com" ]
ir4y.ix@gmail.com
15bc8407519a5501e2d0687a01ae6c171ec545ed
051c3ee44478265c4510530888335335ec9f7fdf
/ML_Applications/SVM/experiments_(MRs_on_Mutants)/digitsData/RBFKernel/Mutants/MR1-permuteFeatures/r5/DigitRecognitionApp_5.py
99860b4f108cd70b0936ce937a2f1954c2cf2a6a
[]
no_license
PinjiaHe/VerifyML
b581c016012c62d8439adfce0caef4f098b36d5e
3bd7c49e45720c1cdfe0af4ac7dd35b201056e65
refs/heads/master
2020-03-25T19:40:39.996370
2018-01-30T08:58:58
2018-01-30T08:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,197
py
""" Created on Fri May 26 15:20:01 2017 #Digit Recognition for V & V #Following note added by Raghu Note: 1. The actual digits data from the http://archive.ics.uci.edu/ml/datasets/Pen-Based+Recognition+of+Handwritten+Digits is different than the one referred in this sklearn example 2. For more info, refer this link ...
[ "anurag.bms@gmail.com" ]
anurag.bms@gmail.com
8afe84368719c408ffe7879c59647637b4ef3d99
de56b7409521bec01709042fb6ba8d7b49c066bc
/Baekjoon/Bronze/10809.py
fd7f2bf0bc9e1603919ab7c87bd43c4e9e0b26e3
[]
no_license
hodurie/Algorithm
40595c836febef815eff80585765a21a8cc299f1
f0a72afd65d078661f3e8921de61d8c61ac06d89
refs/heads/master
2023-07-26T04:29:59.181987
2021-09-06T11:44:39
2021-09-06T11:44:39
264,898,915
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
S = input() lst = list(map(chr, range(97, 123))) for i in lst: print(S.find(i), end = " ")
[ "hodurie@gmail.com" ]
hodurie@gmail.com
53f18e3d6324766217bd33e5f7c5df5c74d01171
7e98a3fc246547cc93ce2a93f39410aac38f8dd3
/bag/tests/test_urls.py
c6fc2dc10f4a6c80e6986f82a633ff10c1e9cdec
[]
no_license
kydzoster/huntinteriors
53b5d064f05010c71c70d72a6148494226980287
4439c652d74d9b5553abc67d4bbac73b33b42336
refs/heads/main
2023-02-04T03:14:50.250492
2020-12-16T13:22:31
2020-12-16T13:22:31
301,401,449
0
1
null
null
null
null
UTF-8
Python
false
false
1,063
py
from django.test import TestCase from django.urls import reverse, resolve from bag.views import view_bag, add_to_bag, adjust_bag, remove_from_bag,\ success class TestUrls(TestCase): def test_view_bag_url_is_resolved(self): url = reverse('view_bag') print(resolve(url)) self.assertEqual...
[ "kydzoster@gmail.com" ]
kydzoster@gmail.com
0aa85492271aaf75d61d16e7ddde4438d0ea5ae7
ac235a23f22be0d6f1818bb53902177f9969813a
/ddtrace/contrib/kafka/patch.py
bbec71de62bc1dc85235d14cc11c93ef77323796
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
DataDog/dd-trace-py
f09d6d48c4c69aea68f999fc8a458ade5c6150cf
1e3bd6d4edef5cda5a0831a6a7ec8e4046659d17
refs/heads/1.x
2023-09-01T20:25:26.746324
2023-09-01T18:54:37
2023-09-01T18:54:37
61,572,326
461
426
NOASSERTION
2023-09-14T20:38:57
2016-06-20T18:52:23
Python
UTF-8
Python
false
false
10,186
py
import time import confluent_kafka from confluent_kafka import TopicPartition from ddtrace import config from ddtrace.constants import ANALYTICS_SAMPLE_RATE_KEY from ddtrace.constants import SPAN_KIND from ddtrace.constants import SPAN_MEASURED_KEY from ddtrace.contrib import trace_utils from ddtrace.ext import SpanK...
[ "noreply@github.com" ]
DataDog.noreply@github.com
4511418ac6a1ba4d051b347cf150a798e4753afa
644d9ef18713e4cb5d4c3b53301bd7276dcdf477
/api/programs/serializers/courses/__init__.py
0420ef42cac21787e67976e0cca760e59a01bd92
[]
no_license
alexhernandez-git/django-classline
6cb5bcd268248999e18037f58c4ed30012d51915
49fcf0c6d735a56eaebc17d04be52dab91ca4c3a
refs/heads/master
2023-03-18T07:10:08.770066
2021-03-04T22:24:09
2021-03-04T22:24:09
287,985,028
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
from .languages import * from .prices import * from .courses import * from .blocks import * from .block_tracks import * from .items import * from .item_tracks import * from .contents import * from .item_questions import * from .item_answers import * from .items_viewed import * from .materials import * from ...
[ "vlexhndz@gmail.com" ]
vlexhndz@gmail.com
81b3c1a604d12b227bc601a62060b3b20494c030
c03d7a4e03c581d4be98b6363003cddb9c213ec0
/registration/migrations/0017_auto_20181122_2208.py
3e33472466085ca31c4186c48ec9f60a73f4368e
[]
no_license
hernandavidc/plataforma
b333e4f06290713072d8dc609c27d4ce8af1d9df
4316e2a59db76e74f1e6106958631ad4a7a653c7
refs/heads/master
2020-04-06T17:08:21.019355
2019-04-09T04:41:00
2019-04-09T04:41:00
157,648,096
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
# Generated by Django 2.1 on 2018-11-23 03:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('registration', '0016_auto_20180910_1209'), ] operations = [ migrations.AlterField( model_name='veterinaria', name='lat...
[ "hernandavidc@hotmail.com" ]
hernandavidc@hotmail.com
5d0900423f187a722e7b4784a10d242cb508eaa3
f4309766d0292d6ae06344221b667603fda206ec
/backend/apps/user/views.py
f23bb486e4b7eca9c5f74b758711e4d8d7606f82
[]
no_license
tom2jack/Journey
dff0181ef8939a9edf52987a2439563ca0c4342d
cb7bbca759c3d27815fde0d1697c2184b31b2aac
refs/heads/master
2022-02-23T05:43:58.602808
2019-10-08T08:27:36
2019-10-08T08:27:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,632
py
from django.shortcuts import render from rest_framework import status from rest_framework.response import Response from rest_framework import viewsets from django.db.models import Q from rest_framework import filters from user.models import * from user.serializers import * from user.permissions import CustomerPremissio...
[ "977983452@qq.com" ]
977983452@qq.com
c334f9d5fe148729774e785a96feae949de4f060
5e48f770f975ea0ae166cd662576baa36150cb41
/booking/migrations/0002_auto_20170725_2313.py
c1abc8a5cb7e36b285b6bc51fe62541f7d726ae7
[]
no_license
Ngahu/Booking
df5a7b2e346bf497bc340e4ee3e6e7184c40d235
3187bb4a34225364181f0409344457c43f20b338
refs/heads/master
2021-01-01T19:54:20.069252
2017-07-29T08:25:32
2017-07-29T08:25:32
98,717,395
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-25 23:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('booking', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "jamaalaraheem@gmail.com" ]
jamaalaraheem@gmail.com
be0eda8aa93f7cb677306f18f5e62307bb935bc2
efec547cce9f3e73246990de7ce9572f2c585725
/tensorflow/python/distribute/tpu_strategy.py
f39491da5307fe44a4ad03eb944b19983a0d66c3
[ "Apache-2.0" ]
permissive
ltn100/tensorflow
a5d150fbb4930f2c516cee9e712774d82e260ac6
4c54f0a0a83d3cf8e2a3326734880fced6e37541
refs/heads/master
2020-09-03T02:08:06.344814
2019-11-13T09:03:03
2019-11-13T09:06:49
219,355,872
1
0
Apache-2.0
2019-11-03T19:45:13
2019-11-03T19:45:12
null
UTF-8
Python
false
false
31,090
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
9ed940e62e4b3bfdf9750564804b04975687106f
73c01a3f052f8ef63890ec3c2e28403ad41e9a71
/td/models/driver.py
cd23468080d6a1f5b364dd8199d0b29945d90f9f
[]
no_license
Jokey90/aho
4c007c65c819efb726a732a8f36067c5a0226100
8bcd41e9ef7d40f07499429f385d4fec590636f6
refs/heads/master
2020-03-21T22:28:36.395996
2018-06-29T09:25:05
2018-06-29T09:25:05
139,128,834
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
from django.db import models class Driver(models.Model): from main.models import Employee class Meta: verbose_name = 'Водитель' verbose_name_plural = 'Водители' emp = models.OneToOneField(verbose_name='Сотрудник', to=Employee, blank=False, null=False) comment = models.CharField(verbo...
[ "Kishkurno_AS@dsdf.cds.ru" ]
Kishkurno_AS@dsdf.cds.ru
fffc65720d6f0a1225f7ffb51fb0f9b5c0ebfc98
7ac223c9aaa46b2533e08928354f72dd03873e64
/rentals/migrations/0001_initial.py
47ae12267ae8e66afa4ec9c23d0eea29018c24b3
[]
no_license
Kyeza/RentalMangementSystem
9f6e75ffe634510755dbe78fe74f4ef270b5bef5
862490d4be6683e40b81384eb4b7dadad35019cc
refs/heads/master
2023-04-30T06:20:11.281096
2019-05-23T20:40:29
2019-05-23T20:40:29
188,166,783
1
0
null
2023-04-21T20:31:55
2019-05-23T05:24:47
Python
UTF-8
Python
false
false
1,426
py
# Generated by Django 2.2.1 on 2019-05-23 09:53 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category'...
[ "kyezaarnold63@gmail.com" ]
kyezaarnold63@gmail.com
3df86003db484b4b8a7585a6209c6d608eac969b
a79da24bda658f588fd8e71c7e63f01931c1a694
/bigapple/venv/lib/python3.7/site-packages/plotly/graph_objs/scatterpolargl/marker/_line.py
2ddbe27ed182b23cf17085d52fd1c1e056d4fe7e
[]
no_license
replicantdeca/bigapple-insys
60519b486f13e1a3eb18b5ba637e45deaf8e1d8e
5e7328fb94362fbb04a71c2e297bffd83443eebc
refs/heads/master
2020-03-27T12:57:31.894182
2019-12-01T11:25:13
2019-12-01T11:25:13
146,580,916
0
1
null
2018-08-29T10:00:28
2018-08-29T10:00:27
null
UTF-8
Python
false
false
19,823
py
from plotly.basedatatypes import BaseTraceHierarchyType import copy class Line(BaseTraceHierarchyType): # autocolorscale # -------------- @property def autocolorscale(self): """ Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette dete...
[ "mgfcrespo@gmail.com" ]
mgfcrespo@gmail.com
4ee9463d51a2db77f4e61add7e61f16a97c0a4de
59166105545cdd87626d15bf42e60a9ee1ef2413
/dbpedia/models/military_conflict.py
42ad67a51c35ffbc28524cab6a5bcd8650c639c2
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,602
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from dbpedia.configuration import Configuration class MilitaryConflict(...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
5ef05dd99cd88c1d6387005f2eb546494a1bd520
fdc2fbb1b9e75a6ce5adacec29aae7482c999135
/_api/public_api/services/routes.py
f90cad4b74402610f779b7f832b7fd98866cebad
[ "MIT" ]
permissive
bellyfat/membership_and_affiliate_api
b37411a1244fc7d6bf721b6d36ec87b57845169f
41fb9f5a0c37c1ac5636122c61e98ddaf9c569ff
refs/heads/master
2023-07-12T17:07:28.399407
2021-08-24T13:04:02
2021-08-24T13:04:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
""" **Public facing Services API** """ __author__ = "mobius-crypt" __email__ = "mobiusndou@gmail.com" __twitter__ = "@blueitserver" __github_repo__ = "https://github.com/freelancing-solutions/memberships-and-affiliate-api" __github_profile__ = "https://github.com/freelancing-solutions/" from typing import Optiona...
[ "mobiusndou@gmail.com" ]
mobiusndou@gmail.com
ffcf8c9e3bd602c62149a42dac33d47fc5c7fa0a
4dd695521343d56ff943e8c1768343d7680714e3
/experiments/scripts_auto_closedset_braccent/config_iVector_400_fold1.py
34cd51f887e4c284adc8d7e44663401d7056f6b5
[]
no_license
natharb/environment
ea659ee541f6473e92b5b30c549e52b66f47b280
86e6cee6e01d2370abeb7c55a2c8a15001735919
refs/heads/master
2021-09-28T02:39:02.222966
2018-11-13T12:03:34
2018-11-13T12:03:34
139,762,646
1
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
#!/usr/bin/env python # vim: set fileencoding=utf-8 : #Nathália Alves Rocha Batista (nathbapt@decom.fee.unicamp.br) import sys sys.path.insert(0, '.') import bob.bio.spear import bob.bio.gmm import numpy import scipy.spatial temp_directory = './results/closedset_braccent/iVector/400/fold_1/temp/' result_directory = ...
[ "nathbapt@decom.fee.unicamp.br" ]
nathbapt@decom.fee.unicamp.br
da3449f427e0b24db486c59bdd24e486619c9e1f
117f066c80f3863ebef74463292bca6444f9758a
/data_pulling/tax/example.py
4fdcefef7f117c22146461f85385ac5b612cdb24
[]
no_license
cottrell/notebooks
c6de3842cbaeb71457d270cbe6fabc8695a6ee1b
9eaf3d0500067fccb294d064ab78d7aaa03e8b4d
refs/heads/master
2023-08-09T22:41:01.996938
2023-08-04T22:41:51
2023-08-04T22:41:51
26,830,272
3
1
null
2023-03-04T03:58:03
2014-11-18T21:14:23
Python
UTF-8
Python
false
false
1,854
py
import pandas as pd import numpy.random as nr import numpy as np class PandasPiecewiseLinear(): # dodgy, thing to do piecewise opt # this is not useful really, you would need to create some n-d simplex thing ... probably a package that does this def __init__(self, x, y): """ no extrap """ s...
[ "cottrell@users.noreply.github.com" ]
cottrell@users.noreply.github.com
e75b8889a6c0498c6a7e72f280cba8ce56c72660
3249577773cf18e5c09ea36de62477ddb43b662b
/Python/django/user_login/apps/dojo_ninjas/views.py
6f0f71058c7279e806c4f9481c8dec2b16a697ee
[]
no_license
HollinRoberts/code
5394abe2a7c42bbbe83d8f64a99c50a52f05792b
8026522ab169c4174037fdf1b271de60b75d79bf
refs/heads/master
2021-01-01T16:12:11.674680
2017-10-18T21:08:10
2017-10-18T21:08:10
97,786,418
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render def index(request): print 'here' return render(request,'dojo_ninjas/index.html')
[ "hollinroberts@gmail.com" ]
hollinroberts@gmail.com
41d999a5e04ca98fc1bea1f05e638bc5a92839e2
b891f38eb12eeafdbcec9deee2320acfaac3a7ad
/0x0A-python-inheritance/100-my_int.py
641a3669fbc5bd16550b3e3d1c87db16add73a55
[]
no_license
davixcky/holbertonschool-higher_level_programming
bb112af3e18994a46584ac3e78385e46c3d918f6
fe4cd0e95ee976b93bd47c85c2bc810049f568fa
refs/heads/master
2023-01-11T00:41:03.145968
2020-09-22T22:55:53
2020-09-22T22:55:53
259,390,611
0
5
null
null
null
null
UTF-8
Python
false
false
291
py
#!/usr/bin/python3 '''Module for advanced''' class MyInt(int): '''Rebel class''' def __eq__(self, other): '''Override == operator''' return not (self is not other) def __ne__(self, other): '''Override != operator''' return (self is not other)
[ "dvdizcky@gmail.com" ]
dvdizcky@gmail.com
cade239b0ece789edff3420e5fd5b30a5452ddee
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/era5_scripts/01_netCDF_extraction/erafive902TG/134-tideGauge.py
5cfea7896c09776590870458447a906f23f3c666
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
4,595
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 01 10:00:00 2020 ERA5 netCDF extraction script @author: Michael Tadesse """ import time as tt import os import pandas as pd from d_define_grid import Coordinate, findPixels, findindx from c_read_netcdf import readnetcdf from f_era5_subsetV2 import subsetter def extrac...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
b31979f988725cf694bfbad19ec793def2e31147
88e8e28b58092d5ba051582930c156872b9565a5
/unews/unews/items.py
ecc7fba0c3ac1e5fd2ade006f035a54de44947d0
[]
no_license
dorahero/crawlers
b8a4a1c2592e817b365d56a87bee021d29598810
88e134fdd2493330622848f931638aabd6c906fe
refs/heads/master
2023-02-19T07:54:54.945144
2021-01-23T09:13:42
2021-01-23T09:13:42
276,884,804
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class UnewsItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() title = scrapy.Field() text = scrapy.Field() time = scrap...
[ "dorahero2727@gmail.com" ]
dorahero2727@gmail.com
ed00045f461eab3dcc7ea8a25b7d0eabb5c47a29
0a1356b97465cc1d5c3f661f61b3b8c51fb05d46
/android_binding/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/cross_platform_calc/kivy/uix/behaviors/knspace.py
ef65fa5fbf43f9500cd6bed73fd637b4b478df04
[ "MIT" ]
permissive
Rohan-cod/cross_platform_calc
00360f971e4da68dd36d6836c9ddbb157f6b77d5
5785a5e8150d174019b330c812e7eb012cc4dd79
refs/heads/master
2022-12-22T10:29:05.317051
2021-06-05T10:52:44
2021-06-05T10:52:44
237,465,912
2
1
MIT
2022-12-09T05:18:55
2020-01-31T16:07:31
C
UTF-8
Python
false
false
20,096
py
''' Kivy Namespaces =============== .. versionadded:: 1.9.1 .. warning:: This code is still experimental, and its API is subject to change in a future version. The :class:`KNSpaceBehavior` `mixin <https://en.wikipedia.org/wiki/Mixin>`_ class provides namespace functionality for Kivy objects. It allows kivy o...
[ "rohaninjmu@gmail.com" ]
rohaninjmu@gmail.com
f821168daacde5daead66cadb6450cd2019b90f6
c6e7e1a32ca22c7e8fcb7f8c62ca5478e1e34344
/venv/bin/pip
1040e724235617c89eba1fc9b902082e7ca57c4b
[]
no_license
swordwielder/RESTapi
13b2dca65a2f49f5a2fbd85309a698019c5ebc87
5541bad50608e848ee5c2ff05687d6fa7392f90a
refs/heads/master
2020-07-23T18:53:30.376658
2020-03-06T18:31:29
2020-03-06T18:31:29
207,674,101
0
0
null
null
null
null
UTF-8
Python
false
false
404
#!/home/sword/PycharmProjects/pyworkspace/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __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)?$', '', sys.argv[0]) ...
[ "qchen125@gmail.com" ]
qchen125@gmail.com
23c71b0d50b91315b570e7451f6325c9285a753a
021dcf39f7cfb303ff427d7344026004f9d4cfdd
/bookit/geo/models/area.py
a95118209730353550ebf7ebe4ccac7d64d64fed
[ "MIT" ]
permissive
kamranhossain/bookit
dfaca266b93e0ee8a50e88a2a7702a6f5ece35f1
4189a0ed620d7a595de2c113bb3a2d435d66d5f0
refs/heads/master
2021-05-11T23:36:00.630917
2017-08-16T20:30:33
2017-08-16T20:30:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from django.db import models class Area(models.Model): name = models.CharField( max_length=140 ) def __str__(self): return self.name
[ "aniruddha@adhikary.net" ]
aniruddha@adhikary.net
d29d5c2be6de0c5ffb14a35773221396e731327d
627cca9406c31ce30c493ff7502f79eb4c57eee3
/xcha/wallet/wallet_user_store.py
599b6716d9fb71d4e7865a65ef4cc60d9f06933f
[ "Apache-2.0" ]
permissive
blockchiansea/xcha-blockchain
40c6d36813f671e94316a522904238f495f39f6b
7de0ba89056236e30069aef12fe25843f6093bcf
refs/heads/master
2023-07-26T02:36:57.654196
2021-09-06T06:04:21
2021-09-06T06:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,788
py
from typing import List, Optional import aiosqlite from xcha.util.db_wrapper import DBWrapper from xcha.util.ints import uint32 from xcha.wallet.util.wallet_types import WalletType from xcha.wallet.wallet_info import WalletInfo class WalletUserStore: """ WalletUserStore keeps track of all user created walle...
[ "xchanet@gmail.com" ]
xchanet@gmail.com
5dc79f13f7a92a35dd46e4a129b04ec494cea9fc
ad13583673551857615498b9605d9dcab63bb2c3
/output/models/nist_data/atomic/id/schema_instance/nistschema_sv_iv_atomic_id_max_length_4_xsd/__init__.py
2ea09c36077f1939d69de901a715d7c02f4faea0
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
263
py
from output.models.nist_data.atomic.id.schema_instance.nistschema_sv_iv_atomic_id_max_length_4_xsd.nistschema_sv_iv_atomic_id_max_length_4 import ( NistschemaSvIvAtomicIdMaxLength4, Out, ) __all__ = [ "NistschemaSvIvAtomicIdMaxLength4", "Out", ]
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
ca228e5593dea749fc2dba4b27d14b41224d62c8
8f64bee79b8051a052b1ab601da3d3e09418ec78
/demo.py
e286eed396875818f4ca53d0a1b86d14c75ee7c2
[]
no_license
sirodoht/xml-diff
f6f14df641b45c249cdacf2f27209c3c202c02a2
a67f43030548ba8b91a55631bd69335618a5b92d
refs/heads/master
2020-04-10T12:56:17.952458
2018-03-08T00:27:11
2018-03-08T00:27:11
124,275,135
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
from diff import files_diff files_diff('datafiles/left_demo.xml', 'datafiles/right_demo.xml', True)
[ "theodorekeloglou@gmail.com" ]
theodorekeloglou@gmail.com
ace1317e4d350f5245822cf11849f62bbcfe6a10
ae9f0a71576cf2d9f46f684ae412c741261c9ded
/tests/plugins/shortcircuit.py
8403b68ec141b5afb308aa44d94754063b583f46
[ "MIT" ]
permissive
sugarchain-project/lightning
95adf492b2f5d3b4c20170b17a7e556b9b3abbd1
c73e21e099ca2f5ed02afae316f477e8a1fd1280
refs/heads/master
2020-08-05T17:02:38.936348
2019-10-04T08:56:23
2019-10-04T08:56:23
212,624,853
2
2
NOASSERTION
2019-10-03T16:20:19
2019-10-03T16:20:18
null
UTF-8
Python
false
false
231
py
#!/usr/bin/env python3 from lightning import Plugin plugin = Plugin() @plugin.hook("htlc_accepted") def on_htlc_accepted(onion, htlc, plugin, **kwargs): return {"result": "resolve", "payment_key": "00" * 32} plugin.run()
[ "rusty@rustcorp.com.au" ]
rusty@rustcorp.com.au
d8f90ee6ddf75cf52f82aca971d5e66cc8a69bad
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/T/tlevine/landbank_branches.py
e7046f1be1fbea8d12176b46f65cc7ee7138faf7
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,898
py
from scraperwiki.sqlite import save from scraperwiki import swimport keyify=swimport('keyify').keyify from lxml.html import fromstring from urllib2 import urlopen URL='http://www.landbank.co.za/contact/branches.php' from time import time strip_address = swimport('strip_address').strip_address DATE=time() def main(): ...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
04e72e6c7258fd53dbcd5d95b249789f8fd864f3
c5b738612c1ecbce0583a327032db1e6c339de0b
/bv-av互转工具/bv_av.py
f9638358b8b57e57698495513ae8afc32d628271
[ "BSD-2-Clause" ]
permissive
helloworldSB/Gear-s-toolBox-archive
c766d27e45a9eb9a99dfa360ac68a0ac1c93d8c7
40bc05cbb0060ecc3d9f941276c9caccbe1b8d82
refs/heads/master
2023-01-01T00:38:31.211587
2020-10-16T12:43:25
2020-10-16T12:43:25
306,789,467
0
0
null
null
null
null
UTF-8
Python
false
false
2,831
py
class av_bv_cls: def __init__(self): self.table='fZodR9XQDSUm21yCkr6zBqiveYah8bt4xsWpHnJE7jL5VG3guMTKNPAwcF' self.tr={} for i in range(58): self.tr[self.table[i]]=i self.s=[11,10,3,8,4,6] self.xor=177451812 self.add=8728348608 def dec(self,x):...
[ "noreply@gitee.com" ]
noreply@gitee.com
2f73122c5e78d3cf60b87788fd8a8f65b26e7611
9625c5665611a5a1e92fa8fbe230ede1154d5a49
/apps/messenger/samples/responses.py
78adf0c0357fc80fb5579ac9caeff04340542dc2
[]
no_license
Alfredynho/Sistema-Venta-de-Motos
94a6ffcc45409faaea44f89389f89b6b1bfe0905
136b6d7c7cbcf4b5432212ae588d47a27fdcb348
refs/heads/master
2021-05-15T00:46:55.811827
2017-09-10T17:58:58
2017-09-10T17:58:58
103,049,391
0
1
null
null
null
null
UTF-8
Python
false
false
23,392
py
from django.conf import settings from apps.messenger.components.attachments import TemplateAttachment, ImageAttachment, VideoAttachment from apps.messenger.components.buttons import PostbackButton, URLButton from apps.messenger.components.elements import ListElement, Element from apps.messenger.components.messages imp...
[ "callizayagutierrezalfredo@gmail.com" ]
callizayagutierrezalfredo@gmail.com
c3c32b313e00e643cc818413d71b1bfdc3db915c
eee3a183136bdebed599249604b63f0b0f02ba71
/pyrates/ui.py
095ed9079bf11379368972be213dff233665f534
[]
no_license
gutomaia/pyrates
3971d332a0977a8d130c0836e86c3368a8531a8b
a81ef57c368e1341a0e09b548a94f27801f89546
refs/heads/master
2021-06-29T12:53:56.033594
2017-09-20T19:00:45
2017-09-20T19:00:45
104,124,622
0
0
null
null
null
null
UTF-8
Python
false
false
5,567
py
import wx, sys, os, pygame ### PYGAME IN WX ### # A simple test of embedding Pygame in a wxPython frame # # By David Barker (aka Animatinator), 14/07/2010 # Patch for cross-platform support by Sean McKean, 16/07/2010 # Patch to fix redrawing issue by David Barker, 20/07/2010 # Second window demo added by David Barker,...
[ "guto@guto.net" ]
guto@guto.net
5279d2be8c763659dcb6380332b42896fbc7aadf
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/P.O.R.-master/pirates/band/BandConstance.py
3084b1fafdd7057904fb44feb8192cad6b7ec899
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
1,244
py
outcome_ok = 0 outcome_declined = 9 outcome_not_online = 10 outcome_already_invited = 11 outcome_already_in_Band = 12 outcome_full = 13 outcome_recently_invited = 14 MAX_BAND_MEMBERS = 12 BandMakeEvent = 'BandMakeEvent' BandAddEvent = 'BandAddEvent' BandSetCaptainEvent = 'BandSetCaptainEvent' BandRemoveEvent = 'BandRem...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
c85814fada2df5966221b0945bc1ba5ac1480924
095521582f598b65b76f222d8c1acbcaca0c24bf
/output_raw/output_input_Lx1Ly1.py
6fc5163f524ebec0cbe9a033d06a5b0d688ee15f
[ "MIT" ]
permissive
ryuikaneko/itps_contraction
cf07e41d32e93c10db6ebeb1c4f5246b238e737b
10816fb6c90d77f5a3b2f804ab22573d1d676eb4
refs/heads/master
2020-08-28T23:05:00.262183
2020-08-03T01:04:22
2020-08-03T01:04:22
217,847,703
1
1
null
null
null
null
UTF-8
Python
false
false
1,196
py
def Contract_scalar_1x1(\ t0_2,t1_2,t2_2,\ t0_1,t1_1,t2_1,\ t0_0,t1_0,t2_0,\ o1_1\ ): ############################## # ./input/input_Lx1Ly1.dat ############################## # (o1_1*(t1_1.conj()*((t2_1*(t2_0*t1_0))*(t1_1*((t0_0*t0_1)*(t0_2*(t2_2*t1_2))))))) # cpu_cost= 6.04e+10 ...
[ "27846552+ryuikaneko@users.noreply.github.com" ]
27846552+ryuikaneko@users.noreply.github.com
86f698f7d8d5c7cfd608eaafe79d63a8b0eb18e9
4111ca5a73a22174f189361bef654c3f91c3b7ed
/Lintcode/Ladder_all_A_OA/1563. Shortest path to the destination.py
48bee8bb3ef8e656816609bf09cf2f8d0f824c98
[ "MIT" ]
permissive
ctc316/algorithm-python
58b541b654509ecf4e9eb8deebfcbdf785699cc4
ac4580d55e05e93e407c6156c9bb801808027d60
refs/heads/master
2020-03-16T06:09:50.130146
2019-08-02T02:50:49
2019-08-02T02:50:49
132,548,222
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
class Solution: """ @param targetMap: @return: nothing """ def shortestPath(self, targetMap): n = len(targetMap) m = len(targetMap[0]) from queue import Queue q = Queue() q.put((0, 0)) visited = [[False for _ in range(m)] for __ in range(n)] ...
[ "mike.tc.chen101@gmail.com" ]
mike.tc.chen101@gmail.com
ee81b899c6541035f84172ed6bdc9122b5c2ad05
58ca1aedfd2c2c43ce3f71e7877f92c51d41adf8
/filter_boost.py
7eb7dd7c85ddbaf8c0158ea3ec0773068f690eb8
[]
no_license
seaun163/DeepSLAM
00d88ee00367987cb4b7a57db3b0bedafeeb4e68
a038772bd7de897fb8253214813bfab09e31d62f
refs/heads/master
2021-01-25T08:19:28.198277
2016-10-18T19:11:32
2016-10-18T19:11:32
93,752,917
1
0
null
2017-06-08T13:32:24
2017-06-08T13:32:24
null
UTF-8
Python
false
false
4,391
py
import numpy as np import h5py import scipy.sparse import scipy.io from constants import * import ipdb import os import pickle # frame length, which also dictates the delay being frame capture and feedback # because of forward_fit # which isn't even in the report... flen = DEE flen_2 = 3 dt = EPSILON st = 0.75 #kind o...
[ "saubin@uwaterloo.ca" ]
saubin@uwaterloo.ca
dff1b0851ea07a81abe823ad1eca3f3fa6f6f05b
569cd39c950be39cac44bd6a70da4c0242d6a39d
/3333333.py
28b1f833c8d45fa6d8dc4c03d5dac85fe0479479
[]
no_license
bhavyatamil55/PYTHON
cda8c1f93c1d4f173c4ae09479816e730c1d04a2
36c0dd7b65f3d22d90a0e356e571edb235d0068f
refs/heads/master
2020-06-09T17:25:56.802539
2019-07-09T10:02:11
2019-07-09T10:02:11
193,476,836
0
1
null
null
null
null
UTF-8
Python
false
false
62
py
b=int(input()) s=list(map(int,input().split())) print(min(s))
[ "noreply@github.com" ]
bhavyatamil55.noreply@github.com
9358246c129bb1d8b1e564a81ba419196d73a04a
30f6633a24d799fddd51672c528e4baee649d8cd
/6.01/designLab09/simulator/core/search/search.py
11d2ff11f60cd14eada34c78bd6c767fc197f676
[]
no_license
Rajpratik71/mit-courses
e12c864435a1af2c8b7034af956fd2f53d559cfc
86a06a3192e17230a05c5c7beeed5699df73be22
refs/heads/master
2023-06-22T21:05:37.240985
2023-01-26T06:44:49
2023-01-26T06:44:49
192,182,074
0
2
null
2023-04-05T04:00:47
2019-06-16T11:15:24
TeX
UTF-8
Python
false
false
3,299
py
""" Search infrastructure. Credit to Chapter 7 of MIT 6.01 notes (http://mit.edu/6.01/www/handouts/readings.pdf). """ __author__ = 'mikemeko@mit.edu (Michael Mekonnen)' from constants import PRINT_FAIL_REASON from core.data_structures.priority_queue import Priority_Queue class Search_Node: """ Representation...
[ "wangjohn@mit.edu" ]
wangjohn@mit.edu
70be3975013551c5c951c1f9da8444e2c6273397
9eb48a3b8d5b1127012579a818ad349d21df2414
/Django2.6/djusers2/djusers2/urls.py
cb92ccbd44dd9b5cf5eef70172579be1432e0fdf
[]
no_license
rahulsayon/Django1-to-Django-1.8
b864deb46529c29a6cd424e3c9f1e99baa8942af
2f4ae9343b631ff53caa50c8a822c7b4718c5512
refs/heads/master
2022-12-11T17:02:24.183982
2020-09-06T15:31:02
2020-09-06T15:31:02
293,305,766
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
"""djusers2 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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') Class-base...
[ "rahulsayon95@gmail.com" ]
rahulsayon95@gmail.com
808034c7ccf8082a00e739cd27d0b9f1e4d28040
c4af06a090818ea05b3e6c11866406b4a5d3378a
/diary/tests/test_views.py
d75d629eb6e2caf9d9a6ef65d1557b70f5eb02f1
[]
no_license
shige-horiuchi/private_diary
c88adff27bf4208ca7451bff841e5f300ac64d0a
e8b3cb63129c73d6c98f530ef543c19b02a5e79c
refs/heads/master
2021-01-03T19:03:29.599143
2020-02-21T06:51:37
2020-02-21T06:51:37
240,201,226
0
0
null
null
null
null
UTF-8
Python
false
false
4,717
py
from django.contrib.auth import get_user_model from django.test import TestCase from django.urls import reverse_lazy from ..models import Diary class LoggedInTestCase(TestCase): """各テストクラスで共通の事前準備処理をオーバーライドした独自TestCaseクラス""" def setUp(self): """テストメソッド実行前の事前設定""" # テストユーザーのパスワード se...
[ "shige33717@gmail.com" ]
shige33717@gmail.com
2210cba8d3da1e4a07b474131e7a1c9266cffc5a
35522da66f15ee51a251b008b39d3457e70cf7de
/web/nut/models/NUTInput.py
cc23dbe18e3c2bb3285d3337197789cb5d7fa33c
[]
no_license
yeleman/nut
34d74e72d137903285f3938f3165cefb45afb7ea
5e68ae23df6c4d77a055dfbe85ae37a9fcdc4cd0
refs/heads/master
2016-09-06T03:19:55.898651
2012-02-06T18:30:25
2012-02-06T18:30:25
2,733,202
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
#!/usr/bin/env python # encoding=utf_8 # maintainer: rgaudin from django.db import models from django.utils.translation import ugettext_lazy as _, ugettext class NUTInput(models.Model): """ Input """ class Meta: app_label = 'nut' verbose_name = _(u"Input") verbose_name_plural = _(u"...
[ "rgaudin@gmail.com" ]
rgaudin@gmail.com
8d48f45e0e6026af661aef287d578466e41d8245
d22db204c665d16847447551cedc07756d357eb2
/hydrus/client/gui/ClientGUICore.py
11dfa96ae748ebcb4c2a0789eebcbcacc9172d7b
[ "WTFPL" ]
permissive
Suika/hydrus
9d5070d47c328b7054a9699de310ce580e563528
4b2b15e152e4bed900aa972c7d4b27f7bf242f29
refs/heads/master
2023-05-28T00:32:50.364999
2023-05-10T20:22:34
2023-05-10T20:22:34
237,063,790
1
2
NOASSERTION
2022-10-29T22:36:54
2020-01-29T19:23:21
Python
UTF-8
Python
false
false
2,153
py
from qtpy import QtCore as QC from qtpy import QtGui as QG from qtpy import QtWidgets as QW from hydrus.core import HydrusConstants as HC from hydrus.client.gui import ClientGUIMenus class GUICore( QC.QObject ): my_instance = None def __init__( self ): QC.QObject.__init__( self ) ...
[ "hydrus.admin@gmail.com" ]
hydrus.admin@gmail.com
d7a93b3db19f615ebcdd0ac1d10a919df7fbe912
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03946/s474179666.py
715113807ff685cf063ff9f19abb2a900c2d1f50
[]
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
609
py
n,t=map(int,input().split()) a=list(map(int,input().split())) diff_v=0 max_a_v=0 max_a_pos=[] aa=set([]) bb=set([]) for i in range(1,len(a)): index=len(a)-i-1 if max_a_v<a[index+1]: max_a_v=a[index+1] max_a_pos=[index+1] elif max_a_v==a[index+1]: max_a_pos.append(index+1) if ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com