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
c85f6d190b977c7efe18e3b3eafff96dd5697bcc
32ce121ca829a50fd4786b2c1470c25ccb980487
/examples/subscribe_1.py
9d17f9d0bf71c69ef3763322b770cc44aad7bbeb
[ "MIT" ]
permissive
py-zoid/harmony
5aa42b0665a8624627a3ed2d7271847f2a3df7b6
8a94b253c36302ee6d52fd2a0748e6b91879bbef
refs/heads/main
2023-06-23T08:15:28.610600
2021-05-30T01:40:04
2021-05-30T01:40:04
387,935,695
3
0
MIT
2021-07-20T23:16:23
2021-07-20T23:16:22
null
UTF-8
Python
false
false
736
py
#!/usr/bin/python3 from python_graphql_client import GraphqlClient from json import dumps import asyncio def prettyPrint(data): print(dumps(data, sort_keys=True, indent=2)) try: client = GraphqlClient(endpoint="ws://localhost:7000/v1/graphql") query = """ subscription { newPendin...
[ "anjanroy@yandex.com" ]
anjanroy@yandex.com
0b393a21f7951461e0b7dc197f6ee0790223b2a5
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/head_father/thing_end/question_water_right/fact.py
d42798930b1c8ad06369f29d10e59c00e1537245
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
4,391
py
using CategoriesPOC.TranslatorService; using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace CategoriesPOC.Helpers { public static class TranslatorHelper { private const string SubscriptionKey = "ec5892dd4dbc7efdd4227cd0291300f5"; //Enter here the Key from yo...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
c82533b14aad2bc70cb7f0d32c0a011ac1ba5058
98810fbf90a42028915a88bfac9fb8cb8681008e
/azure-devops/azext_devops/devops_sdk/v6_0/token_administration/__init__.py
d0c5658b8f53ee15939375e036f993b970fc95b2
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unicode", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "PSF-2.0", "PostgreSQL", "LicenseRef-scancode-python-cwi", "LGPL-2.1-or-later", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-only", "C...
permissive
Azure/azure-devops-cli-extension
ba87357a8243e1318f100791fc32acbb59448d05
bd34a6fd0658a15dadf6c09c7f6217ca5ffa662b
refs/heads/master
2023-08-29T10:56:54.228674
2023-07-17T04:37:06
2023-07-17T04:37:06
107,708,057
419
208
MIT
2023-08-02T02:10:10
2017-10-20T17:39:11
Python
UTF-8
Python
false
false
815
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
d9891b24891a2da8e8a76e6058e6a19b83a963c5
ef5f369a8fb3978dbb57cdab2c0f83880fa43c36
/amatino/tests/primary/entity.py
c47f450533c5f4325bdca50830a582096037333a
[ "MIT" ]
permissive
pypi-buildability-project/amatino-python
c8a93c849d9e97ea907d411511a0c732ee51b29e
9178e0883b735f882729c19a7a68df68b49e057b
refs/heads/master
2022-07-19T12:24:06.587840
2020-05-21T05:28:08
2020-05-21T05:28:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,034
py
""" Amatino API Python Bindings Entity Test Module Author: hugh@amatino.io """ from amatino.entity import Entity from amatino.tests.ancillary.session import SessionTest from amatino import Session class EntityTest(SessionTest): """ Test the Entity primary object """ def __init__(self, name='Create, r...
[ "hugh.jeremy@gmail.com" ]
hugh.jeremy@gmail.com
29eb2562ec4c47d302e9848afa25bb9fe02ea5ef
380848070205bf5cb119071eb2b32e98caca0253
/two by two/convo.py
e7e591289ce9079002f4202d804241a043f07220
[]
no_license
qynglang/Algorithm-intelligence
a3b3720ec8f2475457875d38cdde858c1805e910
8e410b87cea6abd18a8bcd45ed89cb5f436748b3
refs/heads/master
2020-07-03T03:30:53.923930
2019-09-17T09:25:21
2019-09-17T09:25:21
201,769,566
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
# Create some wrappers for simplicity import tensorflow as tf def conv2d(x, W, strides=1): # Conv2D wrapper, with bias and relu activation x = tf.nn.conv2d(x, W, strides=[1, strides, strides, 1], padding='SAME') #x = tf.nn.bias_add(x, b) return tf.nn.relu(x) def maxpool2d(x, k=2): # MaxPool2D wrapp...
[ "noreply@github.com" ]
qynglang.noreply@github.com
1e4bee103070178cb11759b33a9988d636e01631
bf26ed0b9ef5a6d846df05a748dcc7d4799f1164
/chapter-2/bhp.py
030e9f74b45e2cd6fb2c75dd983a94d776a09543
[]
no_license
cornh0lio/blackhat-python
41cd694c845c982ff3384a3620017e64a799afe8
b1373b759435cc50a53ce7b05bca906523c924b9
refs/heads/master
2021-06-15T20:04:46.897711
2017-01-16T15:46:38
2017-01-16T15:46:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,874
py
import sys import socket import getopt import threading import subprocess # define some global variables listen = False command = False upload = False execute = "" target = "" upload_destination = "" port = 0 # Print the help for the tool def usage(): print "BHP Net Tool" print print "Usage: bhp.py -t <ta...
[ "you@example.com" ]
you@example.com
3a446d64643255b8eed4cfce2ad8f4db60a1e0f3
48d0cfbe1ba313740a94ef75f25e685bbc8aa7f6
/santa/content/tests/base.py
cc92b8a7faf8d2364a79342c3604ce91a1dbb1af
[]
no_license
taito-zz/santa.content
72995e455b3ceec7842fc5923a607ba5963268cd
dd497f48918212c61bd429e1e7130a9b1c4620f5
refs/heads/master
2021-05-27T14:58:47.513815
2012-10-30T19:10:14
2012-10-30T19:10:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,326
py
from plone.app.testing import FunctionalTesting from plone.app.testing import IntegrationTesting from plone.app.testing import PLONE_FIXTURE from plone.app.testing import PloneSandboxLayer from plone.testing import z2 import unittest2 as unittest class SantaContentLayer(PloneSandboxLayer): defaultBases = (PLONE...
[ "taito.horiuchi@gmail.com" ]
taito.horiuchi@gmail.com
d6082f52df1a5cd5cf6235e03479e09e57a2afe2
e4cae3759a053ca88a936e87e3329aec203608db
/sdk/compute/azure-mgmt-compute/tests/test_mgmt_compute_disks.py
b92c07deeb502022a7dd5f1016afe72894d51615
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
a-santamaria/azure-sdk-for-python
c9413858747ccfcec2fbbefd50922c515cb4f634
9dec418ad621ac75f217e56e901f15b6624800b0
refs/heads/master
2022-05-19T00:01:07.604118
2021-02-01T22:52:25
2021-02-01T22:52:25
202,599,021
0
0
MIT
2019-08-15T19:22:33
2019-08-15T19:22:32
null
UTF-8
Python
false
false
15,792
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. #----------------------------------------------------------------------...
[ "noreply@github.com" ]
a-santamaria.noreply@github.com
e9583dfd136ae69e44da411101e8d5ef314a7351
e446c2c600fbe6e279acf05eac3079643b4c3cf3
/14_3_21_algorithms_data_structures/recursion.py
cc1a8f708ffee28156c8cb439c8770e67c427f73
[]
no_license
solomoniosif/SDA_Python_Exercises
2208298240c7788a2ddd93adb68870d5d5265683
691cd5328bbec8fa53f6a6f26bc8071d3e70ef58
refs/heads/master
2023-03-28T15:02:49.689022
2021-04-03T09:53:26
2021-04-03T09:53:26
328,112,039
1
0
null
null
null
null
UTF-8
Python
false
false
979
py
from timer import time_execution # import sys # # # sys.setrecursionlimit(10 ** 6) @time_execution def recursive_factorial(n): def factorial(n): if n == 0: return 1 return n * factorial(n - 1) return factorial(n) @time_execution def iterative_factorial(n): if n < 0: ...
[ "solomoniosif@gmail.com" ]
solomoniosif@gmail.com
e811ec107a083b1f682d0ad79cbf097409f2116a
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Control/PerformanceMonitoring/PerfMonTests/python/IoTestsLib.py
2a4ec4de377d084a030efa749b09c1a7a575b8d4
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
6,626
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration ## @file PerfMonTests.IoTestsLib ## @date April 2009 __author__ = "Sebastien Binet <binet@cern.ch>" __version__ = "$Revision: 1.1 $" __doc__ = """ a set of simple minded functions to test ROOT I/O (from python) """ from array import array as c...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
96dc1b0790b37b38c91a4371bce1044a9a8221dc
cb95d669749407510b9dd87518bea60d10cd478d
/migration/change_uq.py
38a176fff51b7662fedf44cea3ac89921c8ccc94
[]
no_license
patarapolw/zhlib
465af0898912afe57ea99595bde6faf562124851
66b61c2a607eb0bff2cfe7f51c45789d865db044
refs/heads/master
2020-04-02T03:45:57.039084
2018-11-01T02:57:37
2018-11-01T02:57:37
153,982,936
4
0
null
null
null
null
UTF-8
Python
false
false
295
py
from playhouse.migrate import SqliteMigrator, migrate from zhlib import zh if __name__ == '__main__': migrator = SqliteMigrator(zh.database) migrate( migrator.drop_index('sentence', 'sentence_chinese'), migrator.add_index('sentence', ('sentence', 'pinyin'), True) )
[ "patarapolw@gmail.com" ]
patarapolw@gmail.com
02daa1468251ba4567e1b5a2cf22a54aae0bebef
4e29395020ce78f435e75e0b3f1e09b227f6f4d8
/ataraxia/inference/ocr/recognition/crann/src/crannRec/recurrent.py
63481a0bd9fe0a199e952dd6ae3f352fa5fef01b
[]
no_license
luoyangustc/argus
8b332d94af331a2594f5b1715ef74a4dd98041ad
2ad0df5d7355c3b81484f6625b82530b38b248f3
refs/heads/master
2020-05-25T21:57:37.815370
2019-05-22T09:42:40
2019-05-22T09:42:40
188,005,059
5
3
null
null
null
null
UTF-8
Python
false
false
2,461
py
#coding:UTF-8 import torch.nn as nn import time class CompositeLSTM(nn.Module): def __init__(self, nIn, nHidden, nOut, multi_gpu=False): super(CompositeLSTM, self).__init__() self.rnn = nn.LSTM(nIn, nHidden, bidirectional=True) self.embedding = nn.Linear(nHidden * 2, nOut) self.mu...
[ "luoyang@qiniu.com" ]
luoyang@qiniu.com
1306b4cb3c6da529dce11dc8c45647ba1081ed1c
e42a61b7be7ec3412e5cea0ffe9f6e9f34d4bf8d
/a10sdk/core/network/network.py
5ee559ace168f3318a4fd1021519bc80c203ad66
[ "Apache-2.0" ]
permissive
amwelch/a10sdk-python
4179565afdc76cdec3601c2715a79479b3225aef
3e6d88c65bd1a2bf63917d14be58d782e06814e6
refs/heads/master
2021-01-20T23:17:07.270210
2015-08-13T17:53:23
2015-08-13T17:53:23
40,673,499
0
0
null
2015-08-13T17:51:35
2015-08-13T17:51:34
null
UTF-8
Python
false
false
6,810
py
from a10sdk.common.A10BaseClass import A10BaseClass class Network(A10BaseClass): """ :param vlan_list: {"minItems": 1, "items": {"type": "vlan"}, "uniqueItems": true, "array": [{"required": ["vlan-num"], "properties": {"uuid": {"description": "uuid of the object", "format": "string", "minLength": 1, "modi...
[ "doug@parksidesoftware.com" ]
doug@parksidesoftware.com
0b3ce2bb646fbb0331575ede06a06288df241849
5864e86954a221d52d4fa83a607c71bacf201c5a
/eveclientqatools/explosions.py
b7df83a42b9b24a0ca2895a5e0776b27306a98bb
[]
no_license
connoryang/1v1dec
e9a2303a01e5a26bf14159112b112be81a6560fd
404f2cebf13b311e754d45206008918881496370
refs/heads/master
2021-05-04T02:34:59.627529
2016-10-19T08:56:26
2016-10-19T08:56:26
71,334,417
0
0
null
null
null
null
UTF-8
Python
false
false
6,958
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\eveclientqatools\explosions.py import uicontrols import carbonui.const as uiconst import evetypes import util from carbonui.primitives.gridcontainer import GridContainer from eve.client.script.ui.control.eveCombo import Combo f...
[ "le02005@163.com" ]
le02005@163.com
9bb2e4a7ed40ed97b5149b0f6f1e2ac1f704ad6b
63d3a6255f2677f9d92205d62163b9d22a74c5c7
/modules/dynadb/migrations/0063_auto_20161221_1826.py
c58f76604e77a21a599a46e02764f5ddf4cef3f0
[ "Apache-2.0" ]
permissive
GPCRmd/GPCRmd
9204f39b1bfbc800b13512b316e05e54ddd8af23
47d7a4e71025b70e15a0f752760873249932c54e
refs/heads/main
2023-09-04T11:13:44.285629
2023-08-29T13:43:01
2023-08-29T13:43:01
260,036,875
3
1
null
null
null
null
UTF-8
Python
false
false
850
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-12-21 17:26 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dynadb', '0062_merge'), ] operations = [ migrations.AlterField( ...
[ "adrian.garcia.recio@gmail.com" ]
adrian.garcia.recio@gmail.com
c5ae45a375095336c401e1f966e0b4e474d46e8a
0b793bce2da8c3d09b7956c0672ddbffd46feaed
/atcoder/corp/codefes2016_qc_c.py
06989a728b75a41345f62c26b25d84e5a15ae4aa
[ "MIT" ]
permissive
knuu/competitive-programming
c6c4e08fb231937d988bdc5a60a8ad6b31b97616
16bc68fdaedd6f96ae24310d697585ca8836ab6e
refs/heads/master
2021-01-17T09:39:02.647688
2020-11-07T03:17:22
2020-11-07T03:17:22
27,886,732
1
0
null
null
null
null
UTF-8
Python
false
false
737
py
N = int(input()) A = [int(x) for x in input().split()] B = [int(x) for x in input().split()] INF = 10**9 record_A = [] record_B = [] record_A.append((A[0], A[0])) for i in range(1, N): if A[i] == A[i-1]: record_A.append((1, record_A[-1][1])) else: record_A.append((A[i], A[i])) record_B.appen...
[ "premier3next@gmail.com" ]
premier3next@gmail.com
d9e648577a84d88311e187435c4adda1b002de3f
35fa8925e63f2b0f62ef6bfc1ff4e03cf42bd923
/tests/models/test_category.py
03d5ee1020c13013d8c46e00d4cfc63d278f2993
[ "Apache-2.0" ]
permissive
TheLabbingProject/django_analyses
9e6f8b9bd2a84e8efe6dda6a15de6a3ecdf48ec1
5642579660fd09dde4a23bf02ec98a7ec264bceb
refs/heads/master
2023-02-26T07:53:53.142552
2023-02-17T08:12:17
2023-02-17T08:12:17
225,623,958
1
2
Apache-2.0
2023-02-17T08:12:18
2019-12-03T13:15:29
Python
UTF-8
Python
false
false
3,594
py
from django.test import TestCase from django_analyses.models.category import Category from tests.factories.category import CategoryFactory class CategoryTestCase(TestCase): """ Tests for the :class:`~django_analyses.models.category.Category` model. """ def setUp(self): """ Adds t...
[ "z.baratz@gmail.com" ]
z.baratz@gmail.com
6845f29a5c09f0a2ad3e965b6e8a97e5f2963dbc
c2fd9c421b225862633f74f99a7a0dad635c5c67
/tree/RangeSumofBST.py
0b06571e618c824e7fd428daebeaebde12112bc8
[]
no_license
yuhangxiaocs/LeetCodePy
3751881dbd78b581a1d75beea737aed28765988b
31012a004ba14ddfb468a91925d86bc2dfb60dd4
refs/heads/master
2020-12-20T19:36:55.421295
2020-11-24T17:01:15
2020-11-24T17:01:15
236,190,313
1
0
null
null
null
null
UTF-8
Python
false
false
1,401
py
# Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None def construct(self, t): return 0 class Solution(object): # 利用二叉搜索树的性质 适当剪枝 def rangeSumBST(self, root, L, R): """ :type ...
[ "1248618975@qq.com" ]
1248618975@qq.com
372952efec21a12b8261f6363b873755ecc62eed
3ba0de5f13f6eae9434cd09964a9d69a6dbda636
/mako/lib/MemoryConfiguration.py
25db0ef519aed8814320b45d63efa19b9cfe7b46
[]
no_license
fantastic001/Mako
513f43f4170896a807c4e297573e19125dc2066c
eb51f163b127f9c273ff9179d6ed55092fed369f
refs/heads/master
2022-01-18T20:10:33.141618
2022-01-02T12:30:03
2022-01-02T12:30:03
85,867,290
8
3
null
null
null
null
UTF-8
Python
false
false
250
py
from . import Configuration class MemoryConfiguration(Configuration): def __init__(self, data={}): self.data = data def open(self) -> dict: return self.data def save(self, params: dict): self.data = params
[ "stefan@lugons.org" ]
stefan@lugons.org
51e65b7efa8aca4a4d89a8d1aaa1076f921df158
7455dcf23ca3c8d74abcb4ef223bf0506ccb1eb9
/PMD/map-pipeline/src/main/python/run.py
e6986ed77cda45243f56ac59bf06dfbec808a5cb
[]
no_license
ResearchSoftwareInstitute/Duke-TIC
2e2ca9cadd52d672b5614aa6d661afb0ab0bf25d
f481103adc68b883cf70c101901f296b031954aa
refs/heads/master
2020-04-05T02:13:10.849193
2019-01-15T16:32:05
2019-01-15T16:32:05
156,468,435
0
1
null
2018-11-21T17:10:10
2018-11-07T00:41:49
Scala
UTF-8
Python
false
false
149
py
from utils import submit import sys host = sys.argv[1] cache_dir = sys.argv[2] args = sys.argv[3:] submit(host, cache_dir, "tic.Transform", *args)
[ "xuh@cs.unc.edu" ]
xuh@cs.unc.edu
09d87b4f24a30478585165a9e590a4f858680692
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/grib2/local/1098/centres_table.py
a1437b6b11a2846a97eca02ab304aaac8681e911
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
867
py
def load(h): return ({'abbr': 'eggr', 'code': 0, 'title': 'UK Met Office - UK'}, {'abbr': 'aemet', 'code': 1, 'title': 'AEMET- Spain HIRLAM'}, {'abbr': 'arpasim', 'code': 2, 'title': 'ARPA-SIM - Italy COSMO'}, {'abbr': 'metno', 'code': 3, 'title': 'Met.NO'}, {'abbr': ...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
829f985edf125ed9a87152f34ea4882a305f6192
55540f3e86f1d5d86ef6b5d295a63518e274efe3
/toolchain/riscv/MSYS/python/Lib/test/test_selectors.py
58afb0eb0988d9e4c2965c78485e6d0d6c85a779
[ "Apache-2.0", "bzip2-1.0.6", "LicenseRef-scancode-proprietary-license", "OpenSSL", "Python-2.0", "LicenseRef-scancode-newlib-historical", "TCL", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
bouffalolab/bl_iot_sdk
bc5eaf036b70f8c65dd389439062b169f8d09daa
b90664de0bd4c1897a9f1f5d9e360a9631d38b34
refs/heads/master
2023-08-31T03:38:03.369853
2023-08-16T08:50:33
2023-08-18T09:13:27
307,347,250
244
101
Apache-2.0
2023-08-28T06:29:02
2020-10-26T11:16:30
C
UTF-8
Python
false
false
18,779
py
import errno import os import random import selectors import signal import socket import sys from test import support from time import sleep import unittest import unittest.mock import tempfile from time import monotonic as time try: import resource except ImportError: resource = None if ha...
[ "jczhang@bouffalolab.com" ]
jczhang@bouffalolab.com
817aa994789d584285af1b87544401eee6f12db6
f6f5db03e5f0fc43bf466730650fc2923d438189
/feedjack_wp_export/migrations/0005_auto__chg_field_taxonomyterm_term_name__chg_field_export_url.py
e20a4935fbbe851552188c40ef257e8fc19951be
[ "WTFPL" ]
permissive
mk-fg/feedjack-wordpress-export
bd7e97adf5793067e909d7eaf14804eafaee5beb
72f034872d65cb0d10ff097a13627f7b86b13843
refs/heads/master
2023-08-23T03:55:01.381404
2012-08-29T11:04:32
2012-08-29T11:04:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,070
py
# -*- coding: 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 'TaxonomyTerm.term_name' db.alter_column('feedjack_wp_export_taxonomyterm', 'term_name', s...
[ "mk.fraggod@gmail.com" ]
mk.fraggod@gmail.com
472335cc898b7324390d655b4501a7343208b8cd
e6432bc17447989e950fbe5d68fcb3ac06599d4d
/library/management/commands/markamama.py
6326608d9fb3a94d5c0609ffe1f7ec45e2e5c55c
[]
no_license
egitimplus/petproject
eb1a5dd72f9113b55bdd346868e5ba56bcce920e
a3e860499aae626756131f1f0c4a7eb0aabf7d93
refs/heads/master
2023-01-25T05:21:19.393652
2020-12-05T23:58:21
2020-12-05T23:58:21
276,755,718
1
0
null
null
null
null
UTF-8
Python
false
false
10,305
py
from django.core.management.base import BaseCommand from bs4 import BeautifulSoup import requests from library.models import ProductLink from django.utils import timezone from food.models import FoodSite, FoodComment import json from django.db.models import Max from datetime import datetime class Command(BaseCommand)...
[ "info@internet.com.tr" ]
info@internet.com.tr
2ee8846e5a2086e11df153514d9ed5676a0b0ba3
d5ad13232e3f1ced55f6956bc4cbda87925c8085
/RNAseqMSMS/2-sv/2-split-mapped-sv/2-type.py
194578ce6452976b1ac7d6adbf8c5f41fddece1f
[]
no_license
arvin580/SIBS
c0ba9a8a41f59cb333517c286f7d80300b9501a2
0cc2378bf62359ec068336ea4de16d081d0f58a4
refs/heads/master
2021-01-23T21:57:35.658443
2015-04-09T23:11:34
2015-04-09T23:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,415
py
import sys import os files = os.listdir('.') ouFile1 = open('split-mapped-translocation','w') ouFile2 = open('split-mapped-inversion','w') ouFile3 = open('split-mapped-duplication','w') ouFile4 = open('split-mapped-deletion','w') for f in files: if f[-12:] =='not-splicing': inFile = open(f) while T...
[ "sunahnice@gmail.com" ]
sunahnice@gmail.com
1fcd177241175f152741cc56ddfb300b6eea02db
179d8aae260d20443e6e87613cff55d42587bc16
/examples/oneflow2onnx/models/test_resnet50.py
a1c5ff6baefa1dda15f6499ddd4777b30db9293f
[]
no_license
666DZY666/oneflow_convert_tools
3b1f9d6ebaf154d7218236c332c6f9613b89a860
bb38c52954facbfe977e09c7e4706b7563a7b50c
refs/heads/main
2023-06-04T10:16:08.786531
2021-06-24T08:38:24
2021-06-24T08:38:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,920
py
""" Copyright 2020 The OneFlow 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 applicable law or agr...
[ "1182563586@qq.com" ]
1182563586@qq.com
f7af2abc696098cdcf7342806fe9a1fca0e927f0
9a7a7e43902b6bc5a9e96933da8814acf3f318a3
/Python3接口测试/Demo/requests_basic_demo.py
eae7986e0055a59d4e3ea0bcc34b73ba0340f15e
[]
no_license
liuchangfu/python_script
9684d512f4bb09f37585e3fc56329be2ea8d6eb5
73f0e71364fc2271626e0deff54b4079ad92390c
refs/heads/master
2020-03-15T16:05:47.624545
2018-06-08T10:44:17
2018-06-08T10:44:17
132,226,941
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
#-*- coding:utf-8 -*- __author__ = "苦叶子" # 导入模块 import requests if __name__ == "__main__": print("开源优测 - requests基本示例") # 发送HTTP GET请求,获取github API列表 r = requests.get("https://api.github.com") # 请求返回码 status_code = r.status_code # 完整的返回头 headers = r.headers # 请求返回头 content-type的值...
[ "shift_1220@163.com" ]
shift_1220@163.com
b574c638e632c2c9acb969482d20a6e3aff555da
f3b233e5053e28fa95c549017bd75a30456eb50c
/p38a_input/L3FN/3FN-2S_MD_NVT_rerun/set_1ns_equi_1.py
b69dbe2d0723c7e0f6d2cdc6d7d1ae094c03f431
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
import os dir = '/mnt/scratch/songlin3/run/p38a/L3FN/MD_NVT_rerun/ti_one-step/3FN_2S/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_1.in' temp_pbs = filesdir + 'temp_1ns_equi_1.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] f...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
7fe2b984bb64556c73259340aa07d9b479af10c0
781e2692049e87a4256320c76e82a19be257a05d
/assignments/python/wc/src/475.py
7044ba9d04fd4df419719828541451ec5195f793
[]
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
133
py
def word_count(phrase): words = {} for word in phrase.split(): words[word] = words.get(word, 0) + 1 return words
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
01cf0d870aefe802fe4b97ed4766e1610c28530b
75dcb56e318688499bdab789262839e7f58bd4f6
/_algorithms_challenges/leetcode/LeetcodePythonProject/leetcode_0651_0700/LeetCode668_KthSmallestNumberInMultiplicationTable.py
3d0c274f6424ca868adade8603128f21123179a1
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
1,148
py
''' Created on Oct 11, 2017 @author: MT ''' class Solution(object): def findKthNumber(self, m, n, k): """ :type m: int :type n: int :type k: int :rtype: int """ low, high = 1, m*n+1 while low < high: mid = (low+high)//2 c = sel...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
9c7b59a1671696fa7b1c125de069f0b0d8bdb923
feed4c22eae892271e29a401c0527bf440c6ecf1
/models.py
92952e4396c37bba20c5fa244517538d72c04de5
[ "Apache-2.0" ]
permissive
XrosLiang/Object_Detection_Tracking
41cda98fba4f3ff1dc83d31c9f885590c044ea7c
81bf17483211ba807133f097fc4d662cd9aab7d4
refs/heads/master
2023-01-05T06:46:21.040640
2020-11-03T14:17:32
2020-11-03T14:17:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
74,348
py
# coding=utf-8 """model graph. """ import cv2 import json import math import itertools import random import sys import os import tensorflow as tf import numpy as np from PIL import Image from utils import Dataset from utils import get_all_anchors from utils import draw_boxes from utils import box_wh_to_x1x2 from util...
[ "junweil@cs.cmu.edu" ]
junweil@cs.cmu.edu
e2b246ef45c75445029b5451c1379c4957530865
e70276d10c1161e8594a9d03ca8d89f9491f5a90
/example1.py
1959895a822248e6aa892ea4fd2d1cfdcc7685bb
[]
no_license
py-yyc/twisted-postgres
655f177c26d3503524eeb82e9d5ce0dc2cb4da18
d45ad294d969ea60698021c4e63463596437a01c
refs/heads/master
2021-01-23T07:34:30.234497
2017-03-28T20:36:29
2017-03-28T20:36:29
86,429,271
0
0
null
2017-03-28T14:27:07
2017-03-28T07:35:21
JavaScript
UTF-8
Python
false
false
1,193
py
## <h1>txpostgres</h1> from twisted.internet import defer, task from txpostgres import txpostgres _create_table = ''' DROP TABLE IF EXISTS todo; CREATE TABLE todo ( id SERIAL, todo VARCHAR(254) NOT NULL, created_at TIMESTAMP NOT NULL, PRIMARY ...
[ "meejah@meejah.ca" ]
meejah@meejah.ca
f4b47a906a369d7bcfd40afb48b6c743a23732f8
a6590941fea4880593d5b1cd23eedfe696f4e446
/ABC01_99/ABC67/a.py
95417fc790f2c6d0b3eca24dde4ac56729752ad4
[]
no_license
cod4i3/MyAtcoder
9fb92f2dd06c5b6217e925a82d8db4f91355a70f
53bdac3fa7eb4ac48ca6d5c70461639beb6aa81d
refs/heads/master
2023-02-17T09:15:16.282873
2021-01-15T13:34:03
2021-01-15T13:34:03
232,006,424
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
A, B = map(int, input().split()) print('Possible') if(A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0) else print('Impossible')
[ "imasdaisukiproducermasu@gmail.com" ]
imasdaisukiproducermasu@gmail.com
bd6592a7ebfba73acfd25c785fc3d4ee13584107
c78278b3c60fabee38c3c7368895ab44cef6af0c
/neopantry/recipes/tests/test_views.py
49227341c90c91166b2227a3dce1512eaba87053
[]
no_license
ParentJA/neopantry
b3280a935d4cb82b6fb92cf781fab0fdbe109ad1
c8929199742b804d8abd1ea7ac39d36a02608ece
refs/heads/master
2023-06-09T13:37:17.633405
2018-08-29T01:41:30
2018-08-29T01:41:30
45,959,290
0
1
null
2018-03-23T03:49:08
2015-11-11T04:15:28
JavaScript
UTF-8
Python
false
false
16,536
py
# Standard library imports. import json from unittest.mock import patch # Third-party imports. from rest_framework.reverse import reverse from rest_framework.test import APIClient, APITestCase # Local imports. from ..models import Recipe, RecipeNote, UserRecipe from ..serializers import RecipeNoteSerializer from ..fa...
[ "jason.a.parent@gmail.com" ]
jason.a.parent@gmail.com
79495020056d56275a8f266ff7a23318b987552b
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007/applications/network/grsync/actions.py
69e6713e63b0e0168a7da300e514053089af4597
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2006 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): autot...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
8768675fb9f7b9b350c1e7cacfd9cfc4b8ef5d8a
de5be7e4d9e20bbfda3ce8697afc3433a3ccf55d
/python_tutorial/excercise_13_oops_concept/multilevel_inhwrentance.py
9af603e09b2240ba940161d99b7718d5cf32ef4c
[]
no_license
poojataksande9211/python_data
42a88e0a0395f383d4375000a3d01b894bd38e62
64c952d622abfa77f2fdfd737c210014fce153c5
refs/heads/main
2023-04-16T10:24:27.213764
2021-04-27T16:34:32
2021-04-27T16:34:32
360,673,774
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
#multilevel inherence class Phone:#base class/parent class def __init__(self,model_name,brand,price): self.model_name=model_name self.brand=brand self._price=max(price,0) def full_name(self): return f"{self.model_name} {self.brand}" def caliing_no(self,phone_no): re...
[ "amitganvir6@gmail.com" ]
amitganvir6@gmail.com
a34d0ddd7df3516c21f514127949bf7cbd07ebc1
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/oyS6TX4NXzpbfjL4a_12.py
db54f2431410716bc482bd2f3768b6388bb56f68
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
2,659
py
""" This challenge is based on the game Scrabble. Each word you play is scored based on the point value of each tile/letter (see first table), as well as additional points conferred by any special squares your tiles land on (see second table). Create a function that takes a list representing a row of squares in a S...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a36ea33f2fdd065e7a8deca00f0cebbf46407cdc
f03bd5bd7873c5cc33b4ef5199f219539f3a340e
/CAAPR/CAAPR_AstroMagic/PTS/pts/modeling/misc/geometryplotter.py
ba2446591d26f513d77abd0a0603b2eed23ff4a1
[ "GPL-1.0-or-later", "AGPL-3.0-only", "AGPL-3.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-philippe-de-muyter", "MIT" ]
permissive
Stargrazer82301/CAAPR
5f8a7033b16792f23abd5d07021b53b9228a5db4
62b2339beb2eb956565e1605d44d92f934361ad7
refs/heads/master
2022-08-29T02:53:33.658022
2022-08-05T19:06:46
2022-08-05T19:06:46
49,977,601
8
1
MIT
2022-08-05T19:06:47
2016-01-19T19:32:42
Python
UTF-8
Python
false
false
5,856
py
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
[ "cjrc88@gmail.com" ]
cjrc88@gmail.com
7ee7efe6546c3a50ec69004cb842ff4254183a01
5201e237c0d58cdfdbc2fdf8103f9141161eb9f8
/itkBSplineTransformInitializerPython.pyi
6e847fd18da0e9fedf867511dbcf47d39fe173e9
[]
no_license
hjmjohnson/itk-stubs
704f5b92a755e55b81d02fcad62a366143e125f3
771951d007ae425b758e088eae6f9e4ca0e4afb1
refs/heads/main
2023-01-22T05:50:33.649088
2020-12-04T01:31:09
2020-12-04T01:35:06
318,368,028
0
0
null
null
null
null
UTF-8
Python
false
false
4,449
pyi
import itk.itkRGBPixelPython from typing import Any class _SwigNonDynamicMeta(type): __setattr__: Any = ... def itkBSplineTransformInitializerBSTD23IF2_New(): ... class itkBSplineTransformInitializerBSTD23IF2(itk.ITKCommonBasePython.itkObject): thisown: Any = ... def __init__(self, *args: Any, **kwargs: ...
[ "hans-johnson@uiowa.edu" ]
hans-johnson@uiowa.edu
9b892bd0533c2466c006109d413052b477861b4f
a1cbf221a6befed3891d75c69e2a546effd2499d
/authentication/Newapi/views.py
72124092bf1628bb4daabd0e9eaef153619b13da
[]
no_license
Coder339/V-django-newCRM
9a93efbb252ba814241076ece17088af8dd15935
2182266204f54d301b7c087a99627d441e00fe54
refs/heads/master
2022-12-24T15:12:47.081949
2020-08-24T12:15:13
2020-08-24T12:15:13
247,274,031
0
2
null
2022-12-08T04:19:35
2020-03-14T12:39:13
Python
UTF-8
Python
false
false
4,182
py
import jwt from django.conf import settings from django.contrib import messages from django.forms.models import model_to_dict from django.http import Http404 from django.http import HttpResponseRedirect from django.shortcuts import render, get_object_or_404 from django.views import View from rest_framework import authe...
[ "amanpreet.leanvia@gmail.com" ]
amanpreet.leanvia@gmail.com
961e3e5d418160b3651c41f909de28656b25a0da
c41497aef2158cbe051eea3c80889847e03a34ce
/scrap/migrations/0005_auto_20200523_1841.py
4ba0ce822d98aaf70bb48b358fe27b048504c0b9
[]
no_license
NicolleLouis/scrap_freelance
27e4570b2d2804783879927f4c29d7ff4804acd9
f9d0e750651e4ff4def2d39427c4918ac057aa9d
refs/heads/master
2022-08-27T14:22:38.047438
2020-05-28T12:44:26
2020-05-28T12:44:26
251,595,293
0
0
null
null
null
null
UTF-8
Python
false
false
4,220
py
# Generated by Django 3.0.4 on 2020-05-23 18:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('scrap', '0004_auto_20200523_1246'), ] operations = [ migrations.AddField( model_name='bike', name='amortisseur', ...
[ "louisxnicolle@gmail.com" ]
louisxnicolle@gmail.com
a71e544bf006f57c8759ee695e014662dc59ea3f
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/A/awalias/european_league_tables_by_year.py
4e206a1c8aa5872e5562db75e75110a4b1e8aa0f
[]
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
3,892
py
# Scraper for Premier League, Bundesliga, and Seria A league tables between 2009-2012 # Extra countries can be added (france) or Divisions (england2, germany2 etc.) in countries list # Ant Wilson 2013 import scraperwiki import lxml.html countries = ['england', 'germany', 'italy'] class EOS_Table(object): """c...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
7f7c5b5bf16c39cf0d28d88b300d7c8220fd855c
8f5f0c3ef83fdd482387973149738f6178477a42
/medium/algos/combination_sum_iii.py
9fb25611bcb7124aaf1677d2282f38179e15f76f
[]
no_license
nicokuzak/leetcode
79a5771ad83786cc7dbfd790f8fffcf1ce58794e
39b0235dc429a97a7cba0689d44641a6af6d7a32
refs/heads/main
2023-04-06T21:02:09.553185
2021-04-14T22:21:20
2021-04-14T22:21:20
336,847,511
0
0
null
null
null
null
UTF-8
Python
false
false
1,529
py
"""Find all valid combinations of k numbers that sum up to n such that the following conditions are true: Only numbers 1 through 9 are used. Each number is used at most once. Return a list of all possible valid combinations. The list must not contain the same combination twice, and the combinations may be returned in ...
[ "nicokuzak95@gmail.com" ]
nicokuzak95@gmail.com
72e25a646457b19dbade0f1a472183493982b85a
b1c89709a76de2e5ed6ec3b1d38ad2214dbd6cfb
/treecorr/ggcorrelation.py
b8e7d23b00659a2f98301a651cdea8402adef0be
[ "BSD-2-Clause", "BSD-2-Clause-Views" ]
permissive
kstoreyf/TreeCorr
63f371dd8a28db7786135445353f4d39c40fbb3b
ca4864de39db7ecb78bf2f8c32f18e1e649d1395
refs/heads/master
2020-04-13T10:29:02.448238
2018-10-02T15:55:44
2018-10-02T15:55:44
163,141,491
0
0
NOASSERTION
2018-12-26T05:51:32
2018-12-26T05:51:32
null
UTF-8
Python
false
false
29,640
py
# Copyright (c) 2003-2015 by Mike Jarvis # # TreeCorr is free software: redistribution and use in source and binary forms, # with or without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of condi...
[ "michael@jarvis.net" ]
michael@jarvis.net
67b9ba8f95fe5eb0985c03d506574f1bc41c9344
3c1639bccf3fc0abc9c82c00ab92ac3f25cf105e
/book/section-8-函数/02-函数的实参和形参(位置参数).py
f1632e35aef8b467e9d0352a5e544321e51d7496
[ "Apache-2.0" ]
permissive
LiuJunb/PythonStudy
783318a64496c2db41442ad66e0cc9253b392734
3386b9e3ccb398bfcfcd1a3402182811f9bb37ca
refs/heads/master
2022-12-11T05:22:53.725166
2018-11-15T01:34:37
2018-11-15T01:34:37
143,956,065
1
0
Apache-2.0
2022-11-22T01:58:23
2018-08-08T03:26:26
JavaScript
UTF-8
Python
false
false
861
py
# 1.定义一个函数( 有两个形参 ) def get_animal(animal_name, animal_type): """获取动画的姓名和类型""" print('name: '+animal_name + ' --> type: ' + animal_type) get_animal('🐱', 'animal') # 传递两个实参 get_animal('animal', '🐱') # 传递两个实参 # 2.关键字实参( 避免参数顺序传递异常 ) # get_animal() #get_animal() missing 2 required positional arguments: 'a...
[ "liujun@520it.com" ]
liujun@520it.com
66cd4531f9739fd1f61386fe7b7fddbd5984c01d
80d50ea48e10674b1b7d3f583a1c4b7d0b01200f
/examples/v1/service-level-objective-corrections/ListSLOCorrection_2647266873.py
cf0d6f2f87fd6aab757bf5bbacf2f99c3ebb8689
[ "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
514
py
""" Get all SLO corrections returns "OK" response with pagination """ from datadog_api_client import ApiClient, Configuration from datadog_api_client.v1.api.service_level_objective_corrections_api import ServiceLevelObjectiveCorrectionsApi configuration = Configuration() with ApiClient(configuration) as api_client: ...
[ "noreply@github.com" ]
DataDog.noreply@github.com
87a9327b9cb6b76cb848b894aa4ab84fa356902f
60ccf143ae59bd2aeb6b831499ba0d4045025588
/Exercicios/Ex081.py
0f9ccdfe4f7c1d4a879cb65c8905eca4d045c0af
[ "MIT" ]
permissive
RenanRibeiroDaSilva/Meu-Aprendizado-Python
3283fa644214149d41777d6b23f6e98804bf30de
280bf2ad132ae0d26255e70b894fa7dbb69a5d01
refs/heads/main
2023-07-07T22:59:11.725000
2021-08-11T16:47:32
2021-08-11T16:47:32
369,657,470
2
0
MIT
2021-06-01T17:51:28
2021-05-21T21:25:46
Python
UTF-8
Python
false
false
1,312
py
""" Ex - 081 - Crie um programa que vai ler vários números e colocar em uma lista. Depois disso, mostre: A) Quantos números foram digitados. B) A lista de valores, ordenada de forma decrescente. C) Se o valor 5 foi digitado e está ou não na lis...
[ "84098891+RenanRibeiroDaSilva@users.noreply.github.com" ]
84098891+RenanRibeiroDaSilva@users.noreply.github.com
94d1e06020318b09a89c9d4c41acb0483c13bd08
e5897d5b5eb3b018bec8703f01cfc666acea5b38
/isy994/items/scenes/scene_container.py
ae59b821b3b55b875757c06f7a97ad6bf95a8438
[ "MIT" ]
permissive
mjcumming/ISY994v5
5de41ce7e12be44c35dc0818daf639bb8c0e5487
928d8359fd15363e15b8daa402fbb1f5f53f3c45
refs/heads/master
2022-05-19T06:10:59.788621
2022-05-08T13:16:29
2022-05-08T13:16:29
187,289,265
4
10
MIT
2021-06-26T13:34:23
2019-05-17T22:36:55
Python
UTF-8
Python
false
false
2,059
py
#! /usr/bin/env python import xml.etree.ElementTree as ET import traceback from ..item_container import Item_Container from .scene_info import Scene_Info from .scene_insteon import Scene_Insteon import logging logger = logging.getLogger(__name__) scene_classes = { "6": Scene_Insteon, } class Scene_Containe...
[ "mike@4831.com" ]
mike@4831.com
a7b66fcea4a6778e70e3557ce2b745bc6c6c7e1a
4e2799eb806d66716283aa10be2682ea811a790c
/apps/exports/tests/test_scheduling.py
9c4488d7569f802dad1a5c4dde3536f4206bba7e
[]
no_license
jhonandre/commcare-sync
37851a1e1127ee1691ab42fbccdc301c96c4e12e
28f07691bc26bb5d7a292f5201fe44fab739a1d5
refs/heads/master
2023-08-15T02:36:27.323577
2021-09-23T11:33:46
2021-09-23T11:33:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
from datetime import timedelta from apps.exports.models import ExportRun from apps.exports.tests.test_utils import BaseExportTestCase from django.utils import timezone class TestSchedule(BaseExportTestCase): def test_export_is_scheduled_to_run(self): # A config with no export runs should be scheduled ...
[ "proteusvacuum@gmail.com" ]
proteusvacuum@gmail.com
37f8292ce8d081070a11d5ccce47ad4b706b32bf
ab574f7511fa15e5ea50a26f26e3e38f7e33505a
/win_2020/scipy/ndimage/_ni_label.py
6d70d5b7204499785ff19226dd63600867b68a33
[]
no_license
zclongpop123/maya_python_packages
49d6b340512a2580bc8c14ae6281ca3f57017acd
4dd4a48c41749443ac16053d20aec04e9d2db202
refs/heads/master
2021-11-30T01:49:41.846727
2021-11-17T01:47:08
2021-11-17T01:47:08
49,186,909
16
9
null
2017-03-07T00:13:41
2016-01-07T06:48:35
Python
UTF-8
Python
false
false
286
py
def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, imp __file__ = pkg_resources.resource_filename(__name__, '_ni_label.pyd') __loader__ = None; del __bootstrap__, __loader__ imp.load_dynamic(__name__,__file__) __bootstrap__()
[ "aton.lerin@gmail.com" ]
aton.lerin@gmail.com
509b63483a3b8e451b0686b900f5b462f0f554f1
5db0a48428381223d2327b8ce17c5ba95f9fecf0
/college_football_risk/models/territory.py
9ea033d2d3ea1e27e034aa554ada9cb386f05e65
[]
no_license
tuttlepower/college-football-risk-python
7349215c7f1e1c8512b74526193021b0af49bcfc
3014130991dc27eb69469a4ee2dac88b3f7ea498
refs/heads/master
2021-04-15T03:08:34.640525
2020-03-21T18:10:29
2020-03-21T18:10:29
249,290,397
0
0
null
2020-03-22T23:13:52
2020-03-22T23:13:52
null
UTF-8
Python
false
false
5,754
py
# coding: utf-8 """ College Football Risk API Companion API for College Football Risk # noqa: E501 The version of the OpenAPI document: 1.3.0 Contact: admin@collegefootballdata.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from college_...
[ "radjewwj@gmail.com" ]
radjewwj@gmail.com
3339fa9fa7c973a4244174dc6ce138593c73b2f8
ccc4b6341676319c43a482d6322729d9172e8266
/extra_annos/migrations/0001_initial.py
db0fc197abf80c29e82f33b3c8e54e26d2ff3a5e
[ "MIT" ]
permissive
Sumerian-Health/varfish-server
87278fcbd3c4289e63b6cbd8140d8a454fa94853
152b23fa93c2ea685f51622e94bc8790479c2336
refs/heads/master
2023-06-12T14:17:41.065266
2021-07-08T11:17:31
2021-07-08T11:28:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-07-13 14:26 from __future__ import unicode_literals import django.contrib.postgres.fields.jsonb from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migratio...
[ "manuel.holtgrewe@bihealth.de" ]
manuel.holtgrewe@bihealth.de
7ce785ce5d5c5071581a2db86c31061bb9582cc0
18ea9b6e176be04f5d854dce1b75a9780d5052a7
/dataduct/steps/upsert.py
b24f8a9c4280451dc687908b2316ba642fc72c4d
[ "Apache-2.0" ]
permissive
sungjuly/dataduct
fd89fbb82ae4cc87aa9651cdc8cd13c2c87c5212
3700d08a616820e5fecf22a6cf8aabac85a88cba
refs/heads/develop
2021-04-15T07:50:16.998950
2015-02-26T22:33:45
2015-02-26T22:33:45
30,907,001
0
0
null
2015-02-17T07:32:37
2015-02-17T07:32:37
null
UTF-8
Python
false
false
2,543
py
"""ETL step wrapper for Upsert SQL script """ from .etl_step import ETLStep from ..pipeline import SqlActivity from ..database import Table from ..database import SqlScript from ..database import SelectStatement from ..database import HistoryTable from ..s3 import S3File from ..utils.helpers import parse_path from ..ut...
[ "sb2nov@gmail.com" ]
sb2nov@gmail.com
e1302ba5ff26724d8e3068658b3ad3b08a2a063a
c4a2ae65c06d53466e9db29430c5048ad9988c94
/muddery/server/commands/general.py
c2fc7f1982968d4c9db9389c4409eeeeca26ca98
[ "BSD-3-Clause" ]
permissive
muddery/muddery
ac5a0dcb16b034844d91360e8154c70daca4c9d0
5fa06b29bf800646dc4da5851fdf7a1f299f15a7
refs/heads/master
2023-03-08T22:01:09.434955
2023-01-20T14:06:14
2023-01-20T14:06:14
33,435,868
139
64
NOASSERTION
2022-11-05T14:45:11
2015-04-05T09:07:47
Python
UTF-8
Python
false
false
16,485
py
""" General Character commands usually availabe to all characters """ import traceback from muddery.server.utils.logger import logger from muddery.server.utils.localized_strings_handler import _ from muddery.common.utils.exception import MudderyError, ERR from muddery.server.server import Server from muddery.server.co...
[ "luyijun999@gmail.com" ]
luyijun999@gmail.com
2d7d8a6afdec0a60e4fd6de6c6998cf8aa860009
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/BLACKBERRYSERVER-MIB.py
cda9b1b1c494f99ae16bd7b6558566582ed9a00e
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
35,454
py
# # PySNMP MIB module BLACKBERRYSERVER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BLACKBERRYSERVER-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:22:00 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
0d9abe4cfde90729fa8def7c6aeeca70aa7f3509
16cc8f796eac98e9a475da11e4bc0aa26317e894
/panasonic3-14/a.py
8305feb550b7ca853ac551b0a9dcfc8c01baae23
[]
no_license
amaguri0408/AtCoder-python
2f3fcdd82c52f5ddee88627fb99466c9e003164f
ab8ec04b8e434939e9f7035f3a280b30c0682427
refs/heads/master
2022-10-30T00:07:03.560011
2020-06-13T10:41:36
2020-06-13T10:41:36
271,954,405
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
lst = [1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51] k = int(input()) print(lst[k-1])
[ "noreply@github.com" ]
amaguri0408.noreply@github.com
91804d19aa6c1c9b19c33c3e7ef311da19bcbb76
a5a4cee972e487512275c34f308251e6cc38c2fa
/dev/MgO_kde_sampling/dev__PyposmatMonteCarloSampler__buck_MgO.py
8162dc48b47abcf6ab343640ec30b58aa6b9519e
[ "MIT" ]
permissive
eragasa/pypospack
4f54983b33dcd2dce5b602bc243ea8ef22fee86b
21cdecaf3b05c87acc532d992be2c04d85bfbc22
refs/heads/master
2021-06-16T09:24:11.633693
2019-12-06T16:54:02
2019-12-06T16:54:02
99,282,824
4
1
null
null
null
null
UTF-8
Python
false
false
10,317
py
import copy,yaml from collections import OrderedDict from pypospack.pyposmat import PyposmatMonteCarloSampler from pypospack.pyposmat import PyposmatDataFile from pypospack.pyposmat import PyposmatEngine from pypospack.pyposmat import PyposmatConfigurationFile #from pypospack.pyposmat import QoiDatabase from pypospack....
[ "eragasa@ufl.edu" ]
eragasa@ufl.edu
6e86f87f488cd7eabf25543983656750a69ab9a7
3e9bf87895b31e42c25f5d52bc15cd64aaad2fca
/Landscapes/Landscapes/wsgi.py
55bd19a563b63bb6d6e7554f5ded084c49dfb346
[]
no_license
kevinpav/Django
e5bd39d3c7c856fbecabff92d5655d73683e5180
38f53fe679b584084bfb7e355271059d6d335edd
refs/heads/master
2021-01-01T06:01:58.448599
2017-07-27T23:20:21
2017-07-27T23:20:21
97,335,081
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
""" WSGI config for Landscapes project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_S...
[ "pavdog@gmail.com" ]
pavdog@gmail.com
95cc420ac962966131d93517456112712e8d5895
c7603730fe2e0615cb8af85360f4270c6e519dcd
/eu-structural-funds/common/processors/MT/mt_malta_scraper.py
08fdc146452c6d2de38c6d173f333a4873a0187f
[ "MIT" ]
permissive
transpresupuestaria/os-data-importers
b58266d03274901bf6104dc10ab725fa97a22d18
929e07aefc98ae4788e75c682d4c3adc014bf6ce
refs/heads/master
2022-07-02T16:21:34.023556
2020-05-18T18:48:08
2020-05-18T18:48:08
112,221,613
0
0
MIT
2018-08-07T00:26:10
2017-11-27T16:40:20
Python
UTF-8
Python
false
false
4,034
py
"""A scraper for Malta 2007-2013.""" from datapackage_pipelines.wrapper import spew, ingest from logging import info, debug from lxml.html import fromstring from requests import Session BASE_URL = 'https://investinginyourfuture.gov.mt' PAGINATION_URL = BASE_URL + '/ajax/loadProjects.ashx?page={counter}' PROJECT_URLS_...
[ "vitor@vitorbaptista.com" ]
vitor@vitorbaptista.com
0d49d73ccb4f93db186fffd39c53b3d8f1cccc1b
1670dca534ef4fd7e8d9ca9e6d55b5885e4071f9
/CodeChef/CodeChef55.py
eb3b8f431333456c3d272f468c5b583c2b9a8353
[]
no_license
Tejas1510/Pythonary
24512a6c5abfee17457397aa37849f3a5a739002
55c11f74d9f540bf696acecaa78febecd14d8422
refs/heads/master
2022-11-23T23:27:32.219513
2020-08-02T17:22:17
2020-08-02T17:22:17
264,151,076
1
0
null
null
null
null
UTF-8
Python
false
false
416
py
"""""""""""""""""""""""""""""""""""""" Name of Question:Chef and his Student Link of Question:https://www.codechef.com/problems/CHEFSTUD """"""""""""""""""""""""""""""""""""""" t=int(input()) for i in range(t): s=input() a=list(s) for i in range(len(a)): if(a[i]=="<"): a[i]=">"...
[ "noreply@github.com" ]
Tejas1510.noreply@github.com
5c1cb0eab885f6d3fcd93a1780c6fe08a79db9cc
0594725345fc65cfd3e5b60beffcda9ce4ee2a2c
/mainapp/apps.py
f6834ebaeb5f0e0b1ee9b71b86f2bc3e4859478a
[]
no_license
disenQF/StoreOA
667fadd06f218c295a0774cb8f868aadbe6314d8
01c90b28b3f6a9bf94effb606760e89f63f02cdf
refs/heads/master
2020-07-11T18:35:25.494730
2019-08-30T08:35:11
2019-08-30T08:35:11
204,616,179
1
1
null
null
null
null
UTF-8
Python
false
false
120
py
from django.apps import AppConfig class MainappConfig(AppConfig): app_label = '主要模块' name = 'mainapp'
[ "610039018@qq.com" ]
610039018@qq.com
027a5979fa94e310120de50128b49b537fb1fa40
bec60c149e879666de11bd1bcf47ab0dc2225d49
/RF_MicroPython/main.py
ac8c2e72620466f6e070dbab064d15a2621d6230
[]
no_license
KipCrossing/OpenEM
7fee5f3d98bb931209999a8dca41295c1412308e
0572d3697b1c8299c29e31840e6ec1f9e08c172c
refs/heads/master
2021-07-17T02:58:15.385369
2020-07-02T12:16:39
2020-07-02T12:16:39
186,344,444
0
0
null
2019-09-06T02:25:56
2019-05-13T04:19:59
Python
UTF-8
Python
false
false
5,823
py
import sht31 import machine import pyb import array import math import utime from pyb import Pin, Timer from ad9833 import AD9833 from pyb import Pin from pyb import SPI from specialmath import SpecialMath print("(Main program started)") blueled = pyb.LED(4) # Wave gen ss = Pin('Y5', Pin.OUT_PP) spi = SPI(2, SPI....
[ "kip.crossing@gmail.com" ]
kip.crossing@gmail.com
34767046d1b574b160cf38d2d476cabea85b10fa
03a79c4bef915a566f597d75d0d4a5bacc44c16e
/blog/posts/utils.py
6472726e6b46f32a26b82a86c24f8a8a488e7891
[]
no_license
TarekCsePust/Blog-Apps-with-Django-Rest-Framework-Postgresql
d2bb77d4427b2dc791fc6761487d83b8821d8550
750a4918825100e2e3fd761844fa8b235bef687a
refs/heads/master
2020-04-02T04:38:27.263459
2019-01-24T07:08:20
2019-01-24T07:08:20
154,026,717
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
import datetime import re import math from django.utils.html import strip_tags def count_words(html_string): # html_string = """ # <h1>This is a title</h1> # """ word_string = strip_tags(html_string) matching_words = re.findall(r'\w+', word_string) count = len(matching_words) #joincfe.com/pro...
[ "hasantarek12cse@gmail.com" ]
hasantarek12cse@gmail.com
7771c441c900edf84030b5fa1d84a1b0c3051375
b110fdc592315daeeec7b0ce48535dfada995d68
/highlander/api/controllers/v1/validation.py
395e8d223f8bf47ba0ac5963159629aa0f9ee73f
[ "Apache-2.0" ]
permissive
StephenTao/stephen
1ee5c77b2b4c96d6118911cc8a4458cb94735851
06da7cbc93b40fcd089eeed2972adc1fe6bd3cb9
refs/heads/master
2021-01-10T15:46:40.109013
2016-02-25T06:52:57
2016-02-25T06:52:57
52,503,137
0
0
null
null
null
null
UTF-8
Python
false
false
1,264
py
# Copyright 2015 - StackStorm, Inc. # # 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 ...
[ "stephenhuang@augmentum.com.cn" ]
stephenhuang@augmentum.com.cn
29dd727b2f5a7952aa89561ac5cc127cab893549
81313cbd75bbd29cd48632d3cfc6b84884884650
/HistFitterNtuples/MakeArtificialDataTree.py
8988845de4059ffdce93eee5bd0f807f082a3fe8
[]
no_license
UPenn-SUSY/PennSUSYFrame
ee93fd299e4e36ebc74e0065db0740451309682a
41303b163dbc05451b22c19b00b436cc25440cf6
refs/heads/master
2019-01-19T10:28:47.417027
2015-05-08T15:07:24
2015-05-08T15:07:24
13,934,522
2
0
null
2015-05-08T15:07:24
2013-10-28T18:23:35
C++
UTF-8
Python
false
false
4,295
py
import itertools import ROOT import array import datetime # ------------------------------------------------------------------------------ process_list = {'ttbar':1, 'ZGamma':1} flavor_list = ['ee', 'mm', 'em'] region_list = ['cr_top', 'cr_z', 'sr'] hist_name = 'mbl_0' hist_bins, hist_min, hist_max = 20, 0, 2000 lum...
[ "bjack3@gmail.com" ]
bjack3@gmail.com
2b0cce52d9dac0de24d82954a5fc72a01db37e85
bec2947aadb26bb3a5ecd102bd6270f30836ae9b
/backend/manage.py
37888a98e44b390e4f50a898587b8c60fa490b1c
[]
no_license
crowdbotics-apps/plate-28244
0f7dabf2f9bf3c5f78a15dc69a4ab00f7ad1f408
af968be757c3e41245fe271c38153cff2b1b0590
refs/heads/master
2023-06-10T07:30:04.372083
2021-06-26T13:28:56
2021-06-26T13:28:56
380,508,320
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'plate_28244.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
1810565238029931f0f8d33d7f786dce3eb2940b
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/a5c70dc6725c422fcccd37ea07e8655b6ecbc833-<main>-fix.py
540ca1ec66339ceb0b9db883443a3a94f3ba9b5e
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,325
py
def main(): argument_spec = openstack_full_argument_spec(name=dict(required=True), password=dict(required=False, default=None, no_log=True), email=dict(required=False, default=None), default_project=dict(required=False, default=None), domain=dict(required=False, default=None), enabled=dict(default=True, type='boo...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
6504bc2fece9e2db5ffca7ae1fc4cb9dcc612d74
7d90d2ce27c6ee0af74391b09909edbd45fdc2f0
/renix_py_api/api_gen/OfpMeterTableConfig_Autogen.py
d6dbee9cc6d4bfb5fc23919add3b4a32597c6f8d
[]
no_license
gaoxingyu-hub/54testframework-master-e284
d7ea0d4a715b65c8652430e963a86b9522a7237a
57dd2197e7d91b8ad8fb2bd0e3503f10afa08544
refs/heads/master
2023-04-30T05:50:41.542402
2021-05-28T09:19:37
2021-05-28T09:19:37
309,922,838
0
0
null
null
null
null
UTF-8
Python
false
false
3,840
py
""" Auto-generated File Create Time: 2019-12-27 02:33:27 """ from .ROMEnum_Autogen import * from renix_py_api.renix_common_api import * from renix_py_api import rom_manager from .OfpGlobalConfig_Autogen import OfpGlobalConfig @rom_manager.rom class OfpMeterTableConfig(OfpGlobalConfig): def __init__(self, ID=None...
[ "gaoxingyu@example.com" ]
gaoxingyu@example.com
e81cea9a4f0cb5a1ef73fcf0a2db186d9a8a2073
a2362576001e0f9e22dc69c623170e108908c1b4
/testing_sys/testsys/migrations/0047_auto_20190524_2057.py
e21d7976bb73ac2e309fbf7b49eb37d9c68f8c49
[]
no_license
mdigbazova/TestSystem
c1a694eb1877567bcc63a2cc3f615469ba4f8fd9
e5cca7a3aa31f1af4e1f7807895124e36348b9af
refs/heads/master
2022-12-15T22:20:14.812166
2019-06-11T08:14:24
2019-06-11T08:14:24
183,647,017
0
1
null
2022-11-22T03:50:12
2019-04-26T14:53:54
Python
UTF-8
Python
false
false
1,072
py
# Generated by Django 2.2 on 2019-05-24 17:57 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('testsys', '0046_auto_20190524_2050'), ] operations = [ migrations.AlterField( ...
[ "mdigbazova@gmail.com" ]
mdigbazova@gmail.com
36d556974768695b7e1e8d9f902557a81d9650f3
731c3f2f85f6002725322eedc0b2c8b5e74f610e
/sale_discount_total/reports/invoice_report.py
2a6626455f4295c09de5b56c9dd0dd2afffc9203
[]
no_license
babarlhr/project-0021
1ac824657f893c8f25d6eb3b839051f350d7cc9d
e30b8a9f5d2147d3ca5b56b69ec5dbd22f712a91
refs/heads/master
2021-09-22T15:45:47.431000
2018-09-11T14:59:49
2018-09-11T14:59:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
from openerp import fields, models class AccountInvoiceReport(models.Model): _inherit = 'account.invoice.report' discount = fields.Float('Discount', readonly=True) def _select(self): res = super(AccountInvoiceReport,self)._select() select_str = res + """, sub.discount AS discount """ ...
[ "wahhid@gmail.com" ]
wahhid@gmail.com
acfc8e328100a02bf944650a202675138090aec8
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.0_rd=0.65_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=32/sched.py
3f94907f550578e3ad9bd176c4a0232307ccaf22
[]
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
315
py
-X FMLP -Q 0 -L 2 100 400 -X FMLP -Q 0 -L 2 70 250 -X FMLP -Q 0 -L 2 64 200 -X FMLP -Q 1 -L 1 53 175 -X FMLP -Q 1 -L 1 47 150 -X FMLP -Q 1 -L 1 42 200 -X FMLP -Q 2 -L 1 41 200 -X FMLP -Q 2 -L 1 40 200 -X FMLP -Q 3 -L 1 32 175 -X FMLP -Q 3 -L 1 25 100 22 150 21 200 16 200 12 150 9 125
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
bb05c6d8f5cdb8e988bbb9b22fd2ca62a282ec17
d2ec5cdf0c94ae429476b802f4ae133fc74d35c2
/documents/management/commands/fixdocuments_remove_phantoms.py
cf875ee035bf0558687471075ab5f9eb28a2222f
[ "MIT" ]
permissive
Barolina/doc-versions
eb4e6f0ce087d7027dc1bbd0b5b53a7779efab8e
ae536892f6245206abb7145592cf61408bc1161c
refs/heads/master
2021-01-12T10:27:25.218122
2013-02-23T18:34:55
2013-02-23T18:34:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
# -*- encoding: utf-8 -*- from django.core.management.base import NoArgsCommand from django.db.models import get_models, F from documents.models import Document from documents.management.commands.documentscheck import \ info, warning, set_options def fix_model(model): mn = model.__name__ info('fixin...
[ "kostia.lopuhin@gmail.com" ]
kostia.lopuhin@gmail.com
5b84b46750948531241467dbff1f604ee2a07454
9cebe39a7ed1bb813b2aebe1ae923821f3c08394
/ndb/util.py
f5d250fd689812eb345c4479d626001a9c10ae0a
[]
no_license
argeweb/core
1f6a53092544bc7b7c972d4aa505d5d6ef8f3b50
bf78434714cdb5242b9b3b345666482b27d73528
refs/heads/master
2020-12-25T13:33:24.689677
2018-04-18T00:29:35
2018-04-18T00:29:35
67,552,917
1
0
null
null
null
null
UTF-8
Python
false
false
1,701
py
""" Utilities for working with both db and ndb models """ from google.appengine.ext import db, ndb def list(Model, *args, **kwargs): """ Returns a query object for a db or ndb Model """ if issubclass(Model, db.Model): return Model.all() else: return Model.query() def decode_key(...
[ "cwen0708@gmail.com" ]
cwen0708@gmail.com
5d189a253e3bc1ba72529d977c88c26e1a0f2eae
623c915efdad396b9d40d0c46c9aed532839a383
/sudoku/grid_values.py
43a32971354cf454262ebe30e036f90496992ef3
[]
no_license
KeithYJohnson/aind
f997aa20da2878b76a2950bed1452a826bcb11b5
d70ca4fbf5a38e2aaddedfc1fb01b212c008309b
refs/heads/master
2021-01-21T19:57:53.828896
2017-06-16T23:13:35
2017-06-16T23:13:35
92,176,831
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
# from utils import * boxes = ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8', 'A9', 'B1', 'B2', 'B3', 'B4', 'B5', 'B6', 'B7', 'B8', 'B9', 'C1', 'C2', 'C3', 'C4', 'C5', 'C6', 'C7', 'C8', 'C9', 'D1', 'D2', 'D3', 'D4', 'D5', 'D6', 'D7', 'D8', 'D9', 'E1', 'E2', 'E3', 'E4', 'E5', 'E6', 'E7', 'E8', 'E9'...
[ "keithyjohnson@gmail.com" ]
keithyjohnson@gmail.com
ae8352c390609e6e0fd1f97b581fdc749145f99b
d92c34d44d025ae7619bb3ec0e974647d86d715c
/02_gpio/gpio.py
abdb7cbed45345dc18faed606459a2751aea0340
[]
no_license
braingram/bbb_pru_tests
317ca0f0867f94cc27e00d7036f510cbe5affa16
c19374251e4f628ed0fe78a88d7ce40057e78e41
refs/heads/master
2021-01-19T10:59:10.083272
2015-03-14T21:48:53
2015-03-14T21:48:53
31,833,847
0
0
null
null
null
null
UTF-8
Python
false
false
1,216
py
''' gpio.py blink a led for a certain number of times''' import struct import mmap import pypruss # count, duration PRU_ICSS = 0x4A300000 PRU_ICSS_LEN = 512*1024 SHAREDRAM_START = 0x00012000 count_value = 4 #duration_value = 1000 * 1000 * 100 # 500 ms duration_value = 1000 * 1000 * 10 # 50 ms print("Count :...
[ "root@beaglebone.(none)" ]
root@beaglebone.(none)
4196ac2dc9cfce344ae991d7e8f49bd052ce3e5e
6c5ce1e621e0bd140d127527bf13be2093f4a016
/ex075/venv/Scripts/pip3.7-script.py
e452b3b38862c357a618f44dd9740312f44bd5ab
[ "MIT" ]
permissive
ArthurAlesi/Python-Exercicios-CursoEmVideo
124e2ee82c3476a5a49baafed657788591a232c1
ed0f0086ddbc0092df9d16ec2d8fdbabcb480cdd
refs/heads/master
2022-12-31T13:21:30.001538
2020-09-24T02:09:23
2020-09-24T02:09:23
268,917,509
0
0
null
null
null
null
ISO-8859-2
Python
false
false
467
py
#!C:\Users\User\Documents\github-MeusRepositórios\Python-Exercicios-CursoEmVideo\ex075\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0]...
[ "54421573+ArthurAlesi@users.noreply.github.com" ]
54421573+ArthurAlesi@users.noreply.github.com
58a810eb3bf799250724d7139f7bafde4a61ba14
3e35f5ab6e600d5c215eeecab8857ebebadf6ac4
/my_app/models.py
81d11b663f5810bb7dd6bd5dd09f301d0fc75288
[]
no_license
jpisano99/my_app_template_r3
c14135d81b7f66a8b72305f16111d247b09dee49
dbdd9616c9cd86451e93a211a174a40dff31b3df
refs/heads/master
2023-02-22T07:06:34.852386
2022-07-25T17:51:05
2022-07-25T17:51:05
226,744,777
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
from my_app import db class Test_Table(db.Model): __tablename__ = 'test_table' # Use this to specify a default schema/db for this table # __table_args__ = {'schema': 'dev'} # Us this to specify a different bind/sql server for this table # __bind_key__ = 'dev' id = db.Column(db.Integer(), pr...
[ "jpisano@cisco.com" ]
jpisano@cisco.com
5d3af36631918afa519eae61c95e01e084b19684
1e84a9fec36deaf9a55a2734749ea035f72ac869
/KAKAO BLIND RECRUITMENT/2017/3차/압축/main.py
636e20aa1a11fd3166c11bef8a77b1a406c6023d
[]
no_license
mgh3326/programmers_algorithm
aa3afc91231550e1fec2d72d90e85b140f79d677
b62f08ccccbdcac71e484d508985a5a9ce5f2434
refs/heads/master
2022-08-31T04:19:15.728666
2022-07-31T14:02:26
2022-07-31T14:02:26
201,747,526
0
0
null
2022-07-23T10:19:13
2019-08-11T10:02:15
Python
UTF-8
Python
false
false
1,425
py
def solution(msg): answer = [] my_dict = {} dict_index = 1 for i in ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]: my_dict[i] = dict_index dict_index += 1 temp_idx = 2 for idx, my_m...
[ "mgh3326@naver.com" ]
mgh3326@naver.com
1d4c47022930b5b454743b7015afc67a9b6eab89
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2697/60747/258513.py
e919dcb1081dd6fbc54e37ba84292fa5f160b216
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
547
py
s=input() s=s[1:len(s)-1].split(",") root=int(s[0]) a=0 i=1 for j in range(len(s)): if s[j]!="null": s[j]=int(s[j]) while i<len(s)/2-1: if s[s.index(root)*2+1]=='null' or root>int(s[s.index(root)*2+1]): if root=="null"or root<int(s[s.index(root)*2+2]) : root = s[i...
[ "1069583789@qq.com" ]
1069583789@qq.com
4f9a33939b547bc8b3418b780f4286fc835f7124
de4e5524afba7331a6b00e0141bdf70e8d36e491
/measure_mergers.py
8b09b1cc59b89fc0ca2f86329575dbd9a57239c4
[]
no_license
RaymondSimons/kinematic_mocks
6a127f47386d82a396e95c0249554d65c87c6ec7
9fc966fd5a64dec0aa76e85b5de27ba2140899ec
refs/heads/master
2020-12-25T15:17:51.995519
2018-02-16T01:27:47
2018-02-16T01:27:47
66,017,942
0
0
null
null
null
null
UTF-8
Python
false
false
29,963
py
import astropy import pyfits import glob from glob import glob import astrodendro from astropy.convolution import Gaussian1DKernel, Gaussian2DKernel, convolve_fft import photutils from photutils import detect_sources from photutils import * from mpl_toolkits.axes_grid.anchored_artists import AnchoredText from joblib i...
[ "rsimons@jhu.edu" ]
rsimons@jhu.edu
62d60230c1a889d8e64f09dc716744bb275ea099
0b79d66196e9bef7cf81c0c17b6baac025b0d7f1
/apps/property/inventory/models/trans.py
3878f3289ac3505812de4ef1c51e3ecffe04347e
[]
no_license
tsevindik/sis-back
bf0244a803ba9432980844ff35498780ac664564
4ba942fe38cc150c70898db4daf211213b84a61a
refs/heads/master
2021-03-24T09:35:49.199712
2017-01-25T08:19:37
2017-01-25T08:19:37
73,540,756
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
from django.utils.translation import ugettext_lazy as _ from django.db import models from utils.models import trans as trans_models from . import main class InventoryTypeTrans(trans_models.Translation): neutral = models.ForeignKey( main.Inventory ) name = models.CharField( max_length=50, ...
[ "abdullahsecer@std.sehir.edu.tr" ]
abdullahsecer@std.sehir.edu.tr
f1e72430ddeb7762b293af65083afe0d2fab8a65
21b4585de4a0eacdb0d1e488dfae53684bb6564e
/62. Unique Paths.py
e249ce1880d51a1f8063a5a08d7fbd9ee3cb1af7
[]
no_license
gaosq0604/LeetCode-in-Python
de8d0cec3ba349d6a6462f66286fb3ddda970bae
57ec95779a4109008dbd32e325cb407fcbfe5a52
refs/heads/master
2021-09-15T23:14:14.565865
2018-06-12T16:30:40
2018-06-12T16:30:40
113,881,474
1
0
null
null
null
null
UTF-8
Python
false
false
270
py
class Solution: def uniquePaths(self, m, n): """ :type m: int :type n: int :rtype: int """ res=[1]*n for _ in range(m-1): for i in range(1,n): res[i]+=res[i-1] return res[-1]
[ "gaosq0604@gmail.com" ]
gaosq0604@gmail.com
57486d8950198e14b5fe481c20ed8c146bb9095e
a94089d207f9efc78d6d75736ba443f7b2d5f5b4
/authsys/migrations/0001_initial.py
756703c700f78e0a83def8299be51e8e8822e99c
[]
no_license
Larionov0/PyTest
217526fcd19785d886d74d638173d3fc5f963b26
a4ab75d4868845890ca2ffc117230a0b346f9c43
refs/heads/master
2023-02-18T04:09:16.745759
2021-01-15T14:50:26
2021-01-15T14:50:26
217,780,040
0
0
null
null
null
null
UTF-8
Python
false
false
2,869
py
# Generated by Django 2.2.6 on 2019-10-28 21:43 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('catalog', '0001_initial'), migrations.swappable...
[ "larionov1001@gmail.com" ]
larionov1001@gmail.com
d006d0a8f2aa0dff9f11db31950f1157a03e345e
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/unsignedByte/Schema+Instance/NISTXML-SV-IV-atomic-unsignedByte-minExclusive-2-2.py
22a0009905fe1daee2186d1122a0e3f545d55a05
[ "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
302
py
from output.models.nist_data.atomic.unsigned_byte.schema_instance.nistschema_sv_iv_atomic_unsigned_byte_min_exclusive_2_xsd.nistschema_sv_iv_atomic_unsigned_byte_min_exclusive_2 import NistschemaSvIvAtomicUnsignedByteMinExclusive2 obj = NistschemaSvIvAtomicUnsignedByteMinExclusive2( value=190 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
99f39851b384d27161ca03df0afa00bc1feff198
95124b283d7f67b0a1b9737c921a1c80c3390b56
/cookbook/migrations/0004_alter_chef_options.py
5ae4bb611914b8670b26cbf4c4da0f351d5d85b4
[]
no_license
Saviodiow95/Recipes
ad905605ee9f9c2fce2c2d7e3ed75e1b5dfa79d4
0e88968f92dde012c3eee3518367d7d9950d856a
refs/heads/main
2023-08-28T05:03:03.798398
2021-10-30T01:39:53
2021-10-30T01:39:53
422,679,586
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# Generated by Django 3.2.8 on 2021-10-28 14:06 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('cookbook', '0003_auto_20211028_1048'), ] operations = [ migrations.AlterModelOptions( name='chef', options={'verbose_name': ...
[ "saviodiowflamengo@gmail.com" ]
saviodiowflamengo@gmail.com
4a82e0f926a3e0cd84548bb25cce801091d6ee31
fe5b4e7af9a4504437d33734de0ea62baf454b69
/Learning/Python/Practices/mytimer.py
2ee9f967be12962d3f12cf066fefd1e21540ae51
[]
no_license
FelicxFoster/Sources
937f2936b0fa3eef9dd2bbbde09e7f44755b8a8a
3750c393088c281c000228d84fe619ba321bd5bc
refs/heads/master
2020-04-22T09:37:05.191325
2016-08-06T07:02:50
2016-08-06T07:02:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
import time class Mytimer: def __init__(self): self.begin = 0 self.time = 0 def __repr__(self): if self.time == 0: return "请先调用stop结束计时!" else: return "总共运行了%.5f秒" % self.time def start(self): ...
[ "zoro@onepiece.com" ]
zoro@onepiece.com
682690ba8a3c0eb20c5c8e1b7f765ac4fcbdb026
51345d1d33fbee88a7a3435d41b07333f2901c10
/g12d/contraparte/migrations/0007_auto__add_output.py
78dcc02443dfe9f32b670219f523ad116786a46a
[]
no_license
CARocha/trocaire-gob
96832a02c1c52a6d8fb189fe0b81ae5322529e4a
3c93ef3a55e589a17bd3de2c6d71fec860db2e07
refs/heads/master
2021-01-17T22:27:43.391145
2015-05-19T16:55:57
2015-05-19T16:55:57
4,053,839
0
0
null
null
null
null
UTF-8
Python
false
false
14,830
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): # Adding model 'Output' db.create_table('contraparte_output', ( ('id', self.gf('django.db.mode...
[ "helmygb@gmail.com" ]
helmygb@gmail.com
0743849f184d5055155ee69ce3c1a52ebb1b4098
cdb7bb6215cc2f362f2e93a040c7d8c5efe97fde
/Q/QueriesonaPermutationWithKey.py
5f50edc964410d94953829c8957acc876e3cc808
[]
no_license
bssrdf/pyleet
8861bbac06dfe0f0f06f6ad1010d99f8def19b27
810575368ecffa97677bdb51744d1f716140bbb1
refs/heads/master
2023-08-20T05:44:30.130517
2023-08-19T21:54:34
2023-08-19T21:54:34
91,913,009
2
0
null
null
null
null
UTF-8
Python
false
false
2,517
py
''' -Medium- Given the array queries of positive integers between 1 and m, you have to process all queries[i] (from i=0 to i=queries.length-1) according to the following rules: In the beginning, you have the permutation P=[1,2,3,...,m]. For the current i, find the position of queries[i] in the permutation P (indexi...
[ "merlintiger@hotmail.com" ]
merlintiger@hotmail.com
05542e43a78dc07d7935c775597e82a11f69e451
9b32b795e45a572ae644ab515224b3c3f9836094
/notify.py
18ee6d1d22a7cc908e1e7ce990b0af5cce9a975a
[]
no_license
Ginkooo/notifier
1a3cd49189400d5a25a95cc3e1518aaf88abd948
fec05e305971e6d1bdff85139465b0b48483df21
refs/heads/master
2021-01-22T22:02:42.366126
2017-03-26T19:07:38
2017-03-26T19:07:38
85,500,375
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
#!/usr/bin/python import subprocess import sys import os import socket from socket import AF_INET, SOCK_STREAM CONFIG_FILE = os.getenv('NOTIFY_CONFIG') if not CONFIG_FILE: print('You have no NOTIFY_CONFIG env variable set') exit() if len(sys.argv) < 2: print('Too few arguments') exit() with open(C...
[ "piotr_czajka@outlook.com" ]
piotr_czajka@outlook.com
62a6f9325e708567dfd8ff11116c7fc187205b63
3c81687bb6cd84ea72dac1a160660dc9ee8d59b4
/171.excel表列序号.py
68526f53563f188ce8a9a0efdac7bc3cb7e76382
[]
no_license
whuhenry/leetcode_solution
59751b6f736117ce4c4d71c347161c18ffb86293
74e5add753a918437879154cbd3048ed47cc2e88
refs/heads/master
2023-02-09T06:06:06.623680
2023-02-04T06:43:42
2023-02-04T06:43:42
184,874,909
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
# # @lc app=leetcode.cn id=171 lang=python3 # # [171] Excel表列序号 # # @lc code=start class Solution: def titleToNumber(self, s: str) -> int: idx = 0 for ch in s: idx = idx * 26 + ord(ch) - ord('A') + 1 return idx # @lc code=end
[ "whuhenry@gmail.com" ]
whuhenry@gmail.com
ce0c753cb1ba1ff73a477842dc11a7b50abf1e6f
27044bb88c709e7ffa5278afc7c81f37e0b6e9e4
/venv/lib/python3.10/site-packages/pygments/styles/pastie.py
743f1d562108826edd620ec482fa3aadaecdf8c1
[]
no_license
mesaye85/organika_Inventory_project-with-React-
48c93efb6aba64d5e9310c57e4c5a06d3f2cc502
6aa3d29e8be3e22b8dc9163d558cdcc8c9122fd1
refs/heads/main
2023-02-19T10:11:47.880754
2023-02-14T01:55:43
2023-02-14T01:55:43
298,101,393
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
/home/runner/.cache/pip/pool/85/3e/15/ac45908932b6e9ec1eade05fd76e1243a9ef0515d05354106bc0c66fe2
[ "67935330+mesaye85@users.noreply.github.com" ]
67935330+mesaye85@users.noreply.github.com
102a33fa88cc761820a152d7110ca283f14f05b7
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano1852.py
24c577e168a8d33484c328fe58ee91adb63ae33e
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,292
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
48405c6209f4df38f3a8111edb01761a4d084dc0
0bce7412d58675d6cc410fa7a81c294ede72154e
/Python3/0060. Permutation Sequence.py
5c9cf1b5e02c8fb54da3ceaa99f1bbef418d215b
[]
no_license
yang4978/LeetCode
9ddf010b0f1dda32cddc7e94c3f987509dea3214
6387d05b619d403414bad273fc3a7a2c58668db7
refs/heads/master
2022-01-15T04:21:54.739812
2021-12-28T12:28:28
2021-12-28T12:28:28
182,653,666
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
class Solution: def getPermutation(self, n: int, k: int) -> str: num = [str(i) for i in range(1,n+1)] res = '' step = math.factorial(n) while n: step //= n n -= 1 idx = math.ceil(k/step)-1 res += num.pop(idx) k -= idx*step ...
[ "noreply@github.com" ]
yang4978.noreply@github.com
7ae72c913b5d5163ecd86671e670bb91b49497f5
9816f1460de340aac3de692a780197dc62c9056c
/manager_proj/manager_proj/wsgi.py
19d6003fb648413f76e20639548702538df00179
[]
no_license
LovelyHoltz/LovelyHoltz-django_courses
eb1a72040f0afab021b2f1b252ef874e1ba15576
7a933e86354a7f062c02ccdb393a1080cabc4eee
refs/heads/master
2020-03-31T15:35:36.640226
2018-10-09T22:36:19
2018-10-09T22:36:19
152,342,998
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
""" WSGI config for manager_proj project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO...
[ "pearlholtz13@yahoo.com" ]
pearlholtz13@yahoo.com
a9dfdae8d0e8118e70f99ba34f2c0fbf177aa6a2
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/StudentProblem/10.21.11.29/3/1569572235.py
642c20c838b05b050f2e4c92c306eac8aa43970e
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
import functools import typing import string import random import pytest def leap(year): n = year if n % 4 == 0: if n % 100 == 0: return False elif n % 400 == 0: return True else: return False ##################################################################...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
a5207bcd16f7acc0c7a5d00c75fe7233a5b232e4
be838a8cc823ee2a1056aa94ac002462092b2ce0
/src/beheerconsole/conf/ci.py
bd973df1e4c2e6bf8a02adecfeda8694bc5e8f8d
[]
no_license
GemeenteUtrecht/beheerconsole
702b2f18dafa8602396cca7944fea089b1e0678a
21ad66fa67ac23a8bd1e50d907fa09bd6ea9b3f1
refs/heads/master
2022-12-14T22:07:03.466320
2021-04-12T14:51:17
2021-04-12T14:51:17
225,420,641
0
0
null
2022-12-11T15:42:08
2019-12-02T16:31:58
Python
UTF-8
Python
false
false
572
py
""" Continuous integration settings module. """ import logging import os os.environ.setdefault("SECRET_KEY", "dummy") from .includes.base import * # noqa isort:skip CACHES = { "default": {"BACKEND": "django.core.cache.backends.locmem.LocMemCache"}, # See: https://github.com/jazzband/django-axes/blob/master/...
[ "sergei@maykinmedia.nl" ]
sergei@maykinmedia.nl
0d1c5da15b52464aa619306e1fe553edbe3df3b6
c632e6ba36598f34e6336d1cb5e2411c1e571da8
/simple-rop/grader.py
31e162c9f13abff79dd42b8e5051a0d3dc62f2b7
[]
no_license
adbforlife/easyctf-2017-problems
0f7e229d884d6d66c3d0ae1226e2e2e1826d4c17
c19872a88080845fa4c5ac51a45ddaffbf40690b
refs/heads/master
2021-01-22T23:34:09.525637
2017-03-21T03:30:53
2017-03-21T03:30:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
def grade(random, key): if key.find("r0p_7o_v1ct0ry") != -1: return True, "Correct!" return False, "Nope."
[ "failed.down@gmail.com" ]
failed.down@gmail.com
41728b57e94b0d1fad0bbdb748558ddaa8d75399
a0f0efaaaf69d6ccdc2a91596db29f04025f122c
/build/ca_driver/atomic_configure/_setup_util.py
c1c01bb865033f565d69f3a1695f7433a09b068e
[]
no_license
chiuhandsome/ros_ws_test-git
75da2723154c0dadbcec8d7b3b1f3f8b49aa5cd6
619909130c23927ccc902faa3ff6d04ae0f0fba9
refs/heads/master
2022-12-24T05:45:43.845717
2020-09-22T10:12:54
2020-09-22T10:12:54
297,582,735
0
0
null
null
null
null
UTF-8
Python
false
false
18,703
py
#!/usr/bin/python2 # -*- coding: utf-8 -*- # Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistri...
[ "chiuhandsome1966@gmail.com" ]
chiuhandsome1966@gmail.com
4d5bad39f9a0d575b58bf1cae7bbb513a1b3f018
5cb33f0b2f58145ccf9c183b6366af9284227957
/home/migrations/0052_member_ards.py
3fc16148533deffa6876b509720a866868eff12d
[]
no_license
joel081112/ArdsProject
a72b3038349d5cf949e55037989644d0f26fab65
d7867be34cdd199d4c07f4a637b89f5f7305ac36
refs/heads/main
2023-04-24T04:55:40.296316
2021-04-29T09:30:41
2021-04-29T09:30:41
336,305,114
0
0
null
2021-04-29T09:30:42
2021-02-05T15:06:40
HTML
UTF-8
Python
false
false
390
py
# Generated by Django 3.1.5 on 2021-03-05 17:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0051_auto_20210305_1628'), ] operations = [ migrations.AddField( model_name='member', name='ards', ...
[ "joel081112@icloud.com" ]
joel081112@icloud.com
1861628aaba3bac8ca796df257d9f5249ec9eb96
a60e81b51935fb53c0900fecdadba55d86110afe
/LeetCode/python/98_medium_Validate Binary Search Tree.py
7312152c974df12e1c55d32eb657132f520cbf5e
[]
no_license
FrankieZhen/Lookoop
fab6855f5660467f70dc5024d9aa38213ecf48a7
212f8b83d6ac22db1a777f980075d9e12ce521d2
refs/heads/master
2020-07-27T08:12:45.887814
2019-09-16T11:48:20
2019-09-16T11:48:20
209,021,915
1
0
null
2019-09-17T10:10:46
2019-09-17T10:10:46
null
UTF-8
Python
false
false
2,254
py
""" 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 node's key. Both the left and right subtrees m...
[ "33798487+YangXiaoo@users.noreply.github.com" ]
33798487+YangXiaoo@users.noreply.github.com