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
d870899b9adaefd930cc8e8c6db22b73f7aedb2f
73a0f661f1423d63e86489d4b2673f0103698aab
/python/oneflow/test/modules/test_global_atleast.py
72a326ed1d97d4e680e99bd754eb71ec05aa9f58
[ "Apache-2.0" ]
permissive
Oneflow-Inc/oneflow
4fc3e081e45db0242a465c4330d8bcc8b21ee924
0aab78ea24d4b1c784c30c57d33ec69fe5605e4a
refs/heads/master
2023-08-25T16:58:30.576596
2023-08-22T14:15:46
2023-08-22T14:15:46
81,634,683
5,495
786
Apache-2.0
2023-09-14T09:44:31
2017-02-11T06:09:53
C++
UTF-8
Python
false
false
2,566
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...
[ "noreply@github.com" ]
Oneflow-Inc.noreply@github.com
24b9244f975fc9f704b84fc1daaf22d63692e52f
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_5/mznsha002/question4.py
77e703fb5f51759144b184f439d7d5c00edb3207
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
# 16 April 2014 # Shaun Muzenda # Drawing a text based graph based on a user inputed function import math def main(): function = input("Enter a function f(x):\n") #asks the user for a given function x = 0 #initial vaule of x set to 0 y = 0 ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
4e328373f1a4f38593046ce6c799df598ee7a871
a447f89a13573328dc09ebc267a436220cf0b521
/tests/fixtures/common/models/hl7_v3/ne2008/multicacheschemas/mcci_mt000100_uv01.py
c1dd6b439c8aa23003872beb6f0c9aa12e99e4cf
[ "MIT" ]
permissive
ansFourtyTwo/xsdata
8260e6dda8cf6e963ddf782b6a22a5dfc9192514
525be01d12e4d8abd792969adedcfafcee3fcf9b
refs/heads/master
2022-11-13T13:25:18.370403
2020-07-11T17:54:53
2020-07-12T17:31:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,084
py
from dataclasses import dataclass, field from typing import List, Optional from tests.fixtures.common.models.hl7_v3.ne2008.coreschemas.datatypes_base import ( Any, Cs, EdExplicit, EnExplicit, Ii, IvlTsExplicit, Sc, TelExplicit, ) from tests.fixtures.common.models.hl7_v3.ne2008.multicache...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
6f1aaee7126ad0091b8796e50b4f93f0d141418d
137832600734c4a3a16966bbaba19d3540378f9a
/naft_iipf.py
b6d2632bf5820c4dcaefd1b2a93af7b08c47e4dd
[]
no_license
DidierStevens/DidierStevensSuite
e824354c80f5b7aae4dfb6e55f60178eb9ae208c
8190354314d6f42c9ddc477a795029dc446176c5
refs/heads/master
2023-09-01T20:11:55.341694
2023-08-29T10:26:39
2023-08-29T10:26:39
35,275,445
1,670
554
null
2023-06-04T22:54:40
2015-05-08T11:21:00
Python
UTF-8
Python
false
false
16,468
py
#!/usr/bin/env python __description__ = 'Network Appliance Forensic Toolkit - IOS Image Parsing Functions' __author__ = 'Didier Stevens' __version__ = '0.0.3' __date__ = '2014/05/03' """ Source code put in public domain by Didier Stevens, no Copyright https://DidierStevens.com Use at your own risk History: 2011/1...
[ "didier.stevens@gmail.com" ]
didier.stevens@gmail.com
1ac1cec482db208913214198ef20d3d5f9820694
88cdfe0809655f9e3fcd460558e861cc01d639a3
/Scripts/split_data_frontal_ap.py
bb85d686c40632cf01e4bab0fde090fb795f263a
[]
no_license
aguilarmg/cs231n-finalproject
36bc3d7e03512d64e20c84e3b8bc538894a826f1
8d13a7ce59938bde5f46b0006690157ba88305d8
refs/heads/master
2020-05-23T19:38:12.810170
2020-03-28T12:40:11
2020-03-28T12:40:11
186,917,055
0
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
import csv train_frontal_ap_labels = [] with open('../Data/csv_files/train_frontal_ap.csv', 'r') as f: train_frontal_ap_labels = list(csv.reader(f)) num_batches = 5 size_of_batches = (len(train_frontal_ap_labels)-1) // 5 for idx in range(num_batches): with open('../Data/csv_files/train_frontal_ap_'+str(idx)+...
[ "google-dl-platform@googlegroups.com" ]
google-dl-platform@googlegroups.com
39d31f29a3f55b5250f1df043bf9e09c2ea6007e
8a96b57301ae04d40a32aa194c7680dc853ff767
/carts/migrations/0001_initial.py
111ebb7816b3e38d018bc59c388b83fca28fe413
[]
no_license
katalyzator/internetShop
14b39f2b8402d30beeeb0b26f4fa108dfa3ddb09
3f740b63e481bd620c23124a973e657fd35a447f
refs/heads/master
2020-09-26T09:09:29.995231
2016-08-22T09:00:32
2016-08-22T09:00:32
66,252,948
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-07-29 14:45 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('products', '0007_auto_20160728_1439'), ] operations = [ ...
[ "web.coder96@gmail.com" ]
web.coder96@gmail.com
154a721d1bf5981c9018b42e71a3432e7e4613b7
1ebe5a07e7f6260c2c2ceb6ca00dcf2a0341e544
/op_impl/built-in/ai_core/tbe/impl/squared_difference.py
3c61e8f9c8388ecf1d55dedb175f39176f47270c
[]
no_license
gekowa/ascend-opp
f5e09905336d85f9974d555d03d37a75cb8185c1
5c28a2faf9d2a117ea6f0923efe35fcd53904dd2
refs/heads/master
2023-04-09T12:14:40.337104
2021-04-19T23:00:59
2021-04-19T23:00:59
359,620,865
2
0
null
null
null
null
UTF-8
Python
false
false
2,923
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "gekowa@gmail.com" ]
gekowa@gmail.com
152e376b132ed866e8fedfddd64924a5e4c11302
259cc507d97bfeff84d21de3a0ab56640676a9eb
/venv1/Lib/site-packages/tensorflow/contrib/kfac/python/ops/utils.py
5c7f67f6681bbb365381f2fb1d73dbd2619a0c4a
[ "MIT", "Apache-2.0" ]
permissive
Soum-Soum/Tensorflow_Face_Finder
c3ef71b6f718f6720b80f8760d28b6ca6e11e6d2
fec6c15d2df7012608511ad87f4b55731bf99478
refs/heads/master
2020-03-22T20:31:39.606644
2018-07-12T13:47:56
2018-07-12T13:47:56
140,607,068
0
0
null
null
null
null
UTF-8
Python
false
false
16,287
py
# Copyright 2017 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...
[ "pes.carceller@gmail.com" ]
pes.carceller@gmail.com
8b6857e0576004fd1ba9bedb211c06e86d3844e6
c0631f0c4f02f2ed750ec4c48341f87885fbe4ff
/GRACE_Loading/grace_loading_driver.py
d906a0bf0d752aa5b3086ef63dbe64ad78016336
[]
no_license
whigg/GRACE_loading
bdac4ee5a0087d219ef47813f87170d90bde446d
a5ef26c35854d30a3a0e61fd471675ac519d2e3d
refs/heads/master
2023-03-21T11:00:34.187732
2021-03-11T23:00:46
2021-03-11T23:00:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
#!/usr/bin/env python """ EVALUATE GRACE LOADS ON GPS STATIONS Written by Kathryn Materna, 2017 This program takes all GRACE gravity loads (MASCON or TELLUS) within a certain distance from station, and computes the loading effect from each cell. You can choose: -to compute loads on a PREM spherical earth structur...
[ "kathrynmaterna@gmail.com" ]
kathrynmaterna@gmail.com
d1c6dd3c5995200c255e74a3e1ba38467121f7af
d2cffc0a371f9e4d587951755c0eb370ca491d2a
/mod_repair_extended/_build_auto.py
af7c6c36ef4f8b58c68390bccfeaf7ed8a06e153
[ "WTFPL" ]
permissive
Havenard/spoter-mods
633d06fa6202a8bd390f642f4847f321b7d3bbb8
a8c8c143d744d4fe5838fbd92e2f188f5dbffe62
refs/heads/master
2020-05-01T08:16:12.138415
2019-03-21T17:50:08
2019-03-21T17:50:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,245
py
# -*- coding: utf-8 -*- import codecs import datetime import glob import json import os import re import shutil import subprocess import base64 CLIENT_VERSION = '1.4.1.0' BUILD = 'auto' NAME = 'spoter.repair_extended_auto' ADD_LICENSE = True class Build(object): OUT_PATH = '.out' PYC_PATH = os.path.join(OUT_...
[ "spoter@mail.ru" ]
spoter@mail.ru
b7cb710949ff1f50d32b039241781affb2175b80
8a4933df480d0d834fef74d4e980d31c16a0d05c
/ex002.py
9663f4186bb5f898599bc41bfee4d7fe3c48a665
[]
no_license
code-repeat/primeiromundo
e107ae551bf59f53da360ca9d3a1cb756e59756f
1aaa93c721ad994360ba78a706b00c379b05ec08
refs/heads/master
2022-11-23T07:43:12.497109
2020-07-28T18:55:30
2020-07-28T18:55:30
283,300,059
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
nome = input('Qual é o seu nome? ') print(f"É um prazer te conhecer, {nome}!")
[ "coderepeat44@gmail.com" ]
coderepeat44@gmail.com
59473fb7b22ba85c6e7dd56a89249f45908c5ce3
b4ed708779cab2dc344ca9601ec0d879ab1b6f04
/indra/tests/test_sif_assembler.py
911892a93fd959cc6d35cc60252c4792374117b2
[ "BSD-2-Clause" ]
permissive
budakn/INDRA
e360e17c3de9f2cf9e49f11f003fd2b18ae2cbfc
393958b2ca7bc1ca5d054885c0634f434ff7496e
refs/heads/master
2020-03-27T13:15:05.897555
2018-08-28T05:24:09
2018-08-28T16:31:16
146,599,146
2
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
from __future__ import absolute_import, print_function, unicode_literals from builtins import dict, str from indra.assemblers import SifAssembler from indra.statements import * def test_simple_assembly(): st1 = Activation(Agent('a'), Agent('b')) st2 = Inhibition(Agent('a'), Agent('c')) sa = SifAssembler([...
[ "ben.gyori@gmail.com" ]
ben.gyori@gmail.com
91a2a9ce99746758276cc7f8bafd303e8bdff102
1539f86f91ce0ee6150fba7363976d32cd37ece2
/codes_auto/1544.count-good-nodes-in-binary-tree.py
4510f4a60ef07892c81e8453597a7c8dca9a27db
[]
no_license
zhpbo/LeetCode_By_Python
fdee0a8b7ea7ed1f61a99f0041e1c748e50f138c
0017b9db891d36789116f7299d32510a373e68da
refs/heads/master
2023-07-09T15:38:45.003002
2020-08-18T07:04:51
2020-08-18T07:04:51
281,598,190
0
0
null
2021-08-18T04:58:39
2020-07-22T06:47:05
null
UTF-8
Python
false
false
1,169
py
# # @lc app=leetcode.cn id=1544 lang=python3 # # [1544] count-good-nodes-in-binary-tree # # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def goodNodes(self...
[ "liuyang0001@outlook.com" ]
liuyang0001@outlook.com
c9d6c6348c39a58c856ae3ef6191dcefa82ea589
bc5dd7be84a43ec53f8e4215761badb9b61a13ad
/kurs_2/newadvito/advito/backend/gallery/models.py
e61ab108c73a146128033a86a8f56c4c15ceb878
[]
no_license
MaximMak/DL_Academy_Lessons
ef4758be02e43954748031ac95c970077f71cd7e
427576859657e88fd81683494397af3df920c674
refs/heads/master
2023-01-29T19:53:11.650096
2020-12-13T21:40:58
2020-12-13T21:40:58
276,397,551
0
0
null
null
null
null
UTF-8
Python
false
false
2,070
py
from django.db import models import os from PIL import Image from django.db import models from django.utils import timezone def get_path_upload_image(file): """ Представление для формата сохранения файлов """ date = timezone.now().strftime("%Y-%m-%d") time = timezone.now().strftime("%H-%M-%S") ...
[ "54116778+MaximMak@users.noreply.github.com" ]
54116778+MaximMak@users.noreply.github.com
ef9859b8ef969a947eaf6ee0be55db1b4e92c210
f3fb672cee2919f5032fc8d1ac2e3444c6404ed2
/Algorithms/GALE_EAST_WEST/Utilities/to_generate_data.py
fca25d77c60a36ae5c6efde884eaad539424a02b
[]
no_license
vivekaxl/Parallel
62c1b642d3c0e653b8beff90308538f78d3c1900
0df147ac941c39dde9bbab05e07fc6342b46e84e
refs/heads/master
2021-01-19T21:54:46.643017
2017-05-05T17:20:37
2017-05-05T17:20:37
88,720,586
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
def generate_data(problem, number_of_points): dataset = [] while len(dataset) < number_of_points: print "# ", len(dataset), import sys sys.stdout.flush() temp_dataset = [] for run in xrange(number_of_points): temp_dataset.append(problem.generateInput()) ...
[ "vivekaxl@gmail.com" ]
vivekaxl@gmail.com
87dd7aaa81fbd84def91cd66a834b7ce2e50409a
f8ffa8ff257266df3de9d20d95b291e393f88434
/Python - advanced/zajecia15/02_plecak_req/api.py
15d755d2cb022e1ee4d319b992aca8ee57999179
[]
no_license
janiszewskibartlomiej/Python_Code_Me_Gda
c0583c068ef08b6130398ddf93c3a3d1a843b487
7568de2a9acf80bab1429bb55bafd89daad9b729
refs/heads/master
2020-03-30T05:06:26.757033
2020-03-02T08:53:28
2020-03-02T08:53:28
150,781,356
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
import json from flask import Blueprint, request from db import get_connection api_bp = Blueprint('api_endpoints', __name__) def _policz_sume(przedmioty): suma = 0 for przedmiot in przedmioty: if przedmiot['waga']: suma += przedmiot['ilosc'] * przedmiot['waga'] return suma @api_bp...
[ "janiszewski.bartlomiej@gmail.com" ]
janiszewski.bartlomiej@gmail.com
1afa40c15c84ae40bfde8729c259f3e988e61bdd
55940b1d627768de8ac11387f60559bbb42047a0
/stoploss.py
c9ac0fa624ee863e89d83f938e65ce3adb9968fe
[]
no_license
fengmm521/bitmextrade
8920a28d03f406db18d2a5d3fd806b72fb319c2f
400e3fcd6d1b70eaccad01eab6df2b3e8f674877
refs/heads/master
2021-05-03T04:26:10.993003
2018-05-26T13:17:22
2018-05-26T13:17:22
120,615,689
7
1
null
null
null
null
UTF-8
Python
false
false
3,751
py
#!/usr/bin/python # -*- coding: utf-8 -*- # encoding: utf-8 #客户端调用,用于查看API返回结果 from OkcoinSpotAPI import OKCoinSpot from OkcoinFutureAPI import OKCoinFuture from magetool import urltool import json import sys import os import time f = open('../../btc/okexapikey/okexapikey.txt','r') tmpstr = f.read() f.close() apikey...
[ "fengmm521@gmail.com" ]
fengmm521@gmail.com
8d9f43f1f26d66d8a307fbfd9842cfa46d348dc8
685038d4be188fa72e9dba1d2213a47ee3aa00a2
/ECOS2021/Sizing and Finding Critical Point/Outputs/BSA/Critical Point NPC.py
65490fd14590236bdfce02ebdf623eb1a2105682
[]
no_license
CIE-UMSS/Tradeoff-between-Installed-Capacity-and-Unserved-Energy
e5599e4e4ac60b97f0c4c57c5de95e493b1b5ac4
459f31552e3ab57a2e52167ab82f8f48558e173c
refs/heads/master
2023-06-01T18:09:29.839747
2021-06-19T15:56:26
2021-06-19T15:56:26
343,720,452
0
0
null
null
null
null
UTF-8
Python
false
false
4,368
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jun 1 20:49:49 2021 @author: alejandrosoto """ import numpy as np import matplotlib.pyplot as plt import pandas as pd BSA=pd.read_csv('BSA.csv', sep=',', decimal='.', encoding='latin1') df=pd.concat([BSA['LLC'], BSA['NPC (USD)']], axis=1, keys=['LLP',...
[ "asm19971997@gmail.com" ]
asm19971997@gmail.com
d8b77b98859c658e649402c87b8854c6c7db676d
e14360f5001f865824206e54de6294b57b4ada48
/vendor/migrations/0003_userdetails.py
22c9de593da9d4692db694d28274dd69682660e2
[]
no_license
adnankattekaden/thatsmestore
cb2b038f7b7e5b0f1487a6cce94b76c354e60073
034c05285370594f34b8ae87069029dfc5041765
refs/heads/master
2023-02-27T06:56:35.923684
2021-01-31T13:51:04
2021-01-31T13:51:04
311,295,309
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
# Generated by Django 3.1.2 on 2020-11-10 11:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vendor', '0002_product_image'), ] operations = [ migrations.CreateModel( name='Userdetails', fields=[ ...
[ "adnankattekaden2020@gmail.com" ]
adnankattekaden2020@gmail.com
3076a77160acd99a7f01575554874a512bd08b22
3fbd28e72606e5358328bfe4b99eb0349ca6a54f
/.history/a_expressions_20210608021929.py
35da28d21e88e58f0ca2df1b44a62dda7901f6a1
[]
no_license
Tarun1001/codeforces
f0a2ef618fbd45e3cdda3fa961e249248ca56fdb
576b505d4b8b8652a3f116f32d8d7cda4a6644a1
refs/heads/master
2023-05-13T04:50:01.780931
2021-06-07T21:35:26
2021-06-07T21:35:26
374,399,423
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
a= int(input()) b= int(input()) c= int(input()) if(a==1 and c==1): return 2+b elif(a==1): return (a+b)*c elif(b==1): return max((a+b)*c,a*(b+c)) elif(c==1): return a*(b+c) else: return a*b*c
[ "tarunsivasai8@gmail.com" ]
tarunsivasai8@gmail.com
3c854c44e20adec53e0eb0ab351f336fe02ee038
04b1803adb6653ecb7cb827c4f4aa616afacf629
/third_party/blink/tools/blinkpy/common/system/filesystem_mock.py
b96f310072e21a1919c76670aaabeebba4b11d54
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
20,672
py
# Copyright (C) 2009 Google 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: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
34555dc9dc68a57a4729abaf8e0a07d35f25ae21
6a8d047b4502507c67120a0a32640c6a3e60d8a5
/apps/accounts/factories.py
89d2759f6901b775f25b65129ebcea660fc7e0f4
[]
no_license
dwebdevcore/BoardDirector_dashboard
320f110d7581c065920b7607ef06a457851c4bb4
7cd2b2abe1c660531a805d84930c8a6183b863b6
refs/heads/master
2020-05-26T05:32:37.501642
2019-05-22T22:33:25
2019-05-22T22:33:25
188,122,429
10
0
null
null
null
null
UTF-8
Python
false
false
549
py
# -*- coding: utf-8 -*- import factory from django.template.defaultfilters import slugify from accounts.models import Account from billing.models import Plan class AccountFactory(factory.DjangoModelFactory): class Meta: model = Account @factory.lazy_attribute_sequence def name(self, n): ...
[ "dwebdevcore@gmail.com" ]
dwebdevcore@gmail.com
e6701828639b234f27ab7c6ab310143480cc2991
bcf11ccd5ec986f461edcf874c2d12e2fad13e76
/junk/84.py
31e2338a713ecb18fd50312248969986cb4c64bb
[]
no_license
buxuele/algo_snippet
c1a8a0855e6c2a02f5045d21710baa7fa8b00d13
9ab71d523f5079b6d72aef11b09120fee047f66c
refs/heads/master
2021-05-18T06:45:56.111807
2021-02-21T17:13:31
2021-02-21T17:13:31
251,164,734
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
# author: fanchuangwater@gmail.com # date: 2020/5/8 下午8:57 # 目的: nums = [2,1,5,6,2,3]
[ "baogebuxuele@163.com" ]
baogebuxuele@163.com
e29b4d58a41e80e10bad311b3a86b8149f2633e0
4f52fc44d00b17eacc402aec1c83a408496432d8
/addons/print/models/__init__.py
c1570e5074da1442f414cfb1209732f6b260c085
[]
no_license
sasakuma/odoo-print
cfedd32efb3e937bb077a8ff5454f9b8723f8f4e
bb39c2aad24d2d58c079eb96d3d308562626fc1d
refs/heads/master
2020-03-29T18:24:58.536633
2018-09-24T10:31:02
2018-09-24T10:56:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
"""Printing models""" from . import ir_actions_report from . import res_users from . import print_printer
[ "mbrown@fensystems.co.uk" ]
mbrown@fensystems.co.uk
8af778997ba27021c502b0419516c071f0d68db1
30c820b171447ab772e58f04ac0dc55c4d5ffbdf
/archive/code/TransactivePlatform/components/config.py
709c3f6ad969ad3e22d1ac395380982608426cfe
[]
no_license
TransactiveSCC/TRANSAX
3b58cff757fb646a825872dc243e04eea3d0b712
13c45a1254cb14607d1bfa86267dbde9e61fd538
refs/heads/main
2023-05-13T10:50:20.868093
2021-05-15T02:45:53
2021-05-15T02:45:53
316,015,185
0
1
null
null
null
null
UTF-8
Python
false
false
13,339
py
# deployment DIRECTORY_ADDRESS = 'tcp://127.0.0.1:10001' TRANSACTION_GAS = "0x100000000" from bytecode import * #BYTECODE = "0x606060405260016000806101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550640100000000600060086101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160006...
[ "eiselesr@gmail.com" ]
eiselesr@gmail.com
bcff822abeae3aecb1b72bfc9d1a72c7a4ed788b
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/aad/v20200101/get_ou_container.py
0ea2a1af3f72f1602f4b31a3d63ec9725f11276b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,375
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
442aa6440f1af07f819e78fd08f0264f54413a6a
4331b28f22a2efb12d462ae2a8270a9f666b0df1
/.history/dvdstore/webapp/views_20190914161714.py
f4c90cba1304e4416f8ea5fe90884b1402fe6d03
[]
no_license
ZiyaadLakay/csc312.group.project
ba772a905e0841b17478eae7e14e43d8b078a95d
9cdd9068b5e24980c59a53595a5d513c2e738a5e
refs/heads/master
2020-07-26T23:30:22.542450
2019-09-16T11:46:41
2019-09-16T11:46:41
200,703,160
0
0
null
2019-08-05T17:52:37
2019-08-05T17:52:37
null
UTF-8
Python
false
false
9,900
py
from django.shortcuts import render from .models import DVD, Transaction, Customer from django.core.paginator import EmptyPage,PageNotAnInteger, Paginator from django.db.models import Q from django.contrib.auth.models import User, auth from django.shortcuts import render, redirect from django.contrib import messages fr...
[ "uzairjoneswolf@gmail.com" ]
uzairjoneswolf@gmail.com
0c31515b7bee2f75d50298d6e5f8034a79cfcdcc
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/python/dba09ec8b643897d28ddeb551b50ebe871f56568test_npcdmod.py
dba09ec8b643897d28ddeb551b50ebe871f56568
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
7,988
py
#!/usr/bin/env python # Copyright (C) 2009-2010: # Gabes Jean, naparuba@gmail.com # Gerhard Lausser, Gerhard.Lausser@consol.de # # This file is part of Shinken. # # Shinken is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the F...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
e4a5e7dd98e5f4beb7a02fd74614184293a5c0ea
7b6377050fba4d30f00e9fb5d56dfacb22d388e1
/fudge/reactionData/doubleDifferentialCrossSection/chargedParticleElastic/CoulombPlusNuclearElastic.py
ce695017031fcd1bcb851fb190d30deb079de403
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
LLNL/fudge
0a4fe8e3a68b66d58e42d1f4d209ea3f713c6370
6ba80855ae47cb32c37f635d065b228fadb03412
refs/heads/master
2023-08-16T21:05:31.111098
2023-08-01T22:09:32
2023-08-01T22:09:32
203,678,373
21
4
NOASSERTION
2023-06-28T20:51:02
2019-08-21T23:22:20
Python
UTF-8
Python
false
false
15,845
py
# <<BEGIN-copyright>> # Copyright 2022, Lawrence Livermore National Security, LLC. # See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: BSD-3-Clause # <<END-copyright>> """ This module contains a form for storing the differential cross section for charged-particle elastic scattering. Internally...
[ "mattoon1@llnl.gov" ]
mattoon1@llnl.gov
c5424efea98053414c6bf63cc096de8998a411cf
6d233ad2059a941e4ce4c5b5ee3857b8a4a0d212
/Everyday_alg/2021/09/2021_09_29/super-washing-machines.py
4dd95588ead44ee7f767566be49366cffbb885ba
[]
no_license
Alexanderklau/Algorithm
7c38af7debbe850dfc7b99cdadbf0f8f89141fc6
eac05f637a55bfcc342fa9fc4af4e2dd4156ea43
refs/heads/master
2022-06-12T21:07:23.635224
2022-06-12T08:12:07
2022-06-12T08:12:07
83,501,915
5
3
null
null
null
null
UTF-8
Python
false
false
1,553
py
# coding: utf-8 __author__ = 'Yemilice_lau' """ 假设有 n 台超级洗衣机放在同一排上。开始的时候,每台洗衣机内可能有一定量的衣服,也可能是空的。 在每一步操作中,你可以选择任意 m (1 <= m <= n) 台洗衣机,与此同时将每台洗衣机的一件衣服送到相邻的一台洗衣机。 给定一个整数数组 machines 代表从左至右每台洗衣机中的衣物数量,请给出能让所有洗衣机中剩下的衣物的数量相等的 最少的操作步数 。 如果不能使每台洗衣机中衣物的数量相等,则返回 -1 。 示例 1: 输入:machines = [1,0,5] 输出:3 解释: 第一步: 1 ...
[ "429095816@qq.com" ]
429095816@qq.com
5d228ece9d0927cce69c4e5f117d66a84a74b75c
2b2dc38c581d4313dee547af7f9714df29b9e000
/tests/clients/test_model.py
5f2080c485fbb4f707a727549250b41ab93f756b
[ "MIT", "Apache-2.0" ]
permissive
jkeelan/faculty
72145791171b3b32ee98c956e36d0f65ca74ff87
3cf50f243fba1bfe7a346de88654d3616ac35b15
refs/heads/master
2020-11-25T23:12:55.335878
2019-12-15T15:34:00
2019-12-15T15:34:00
228,884,443
0
0
Apache-2.0
2019-12-18T16:55:28
2019-12-18T16:55:27
null
UTF-8
Python
false
false
5,077
py
# Copyright 2018-2019 Faculty Science Limited # # 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...
[ "wacrozier@gmail.com" ]
wacrozier@gmail.com
0944e48d424011351fdc9b9140279c65238f531c
2125593138c50b1fba5e46cd4d88d6c04d0b417a
/06_DJANGO_ADVANCE/03_IMAGE_UPLOAD/sns/migrations/0002_posting_likes.py
0524e0f4d31ff8c728982f782cc3dca428482c9c
[]
no_license
minkishome/TIL-master
5f0e6ef61b34a2983961ccf44f7523603ccb5907
d8edc0ff8abff3b2239a2d751eee263b722013a6
refs/heads/master
2023-01-21T00:43:30.165535
2020-08-25T14:56:18
2020-08-25T14:56:18
203,070,283
0
1
null
2023-01-05T01:08:10
2019-08-19T00:18:31
Python
UTF-8
Python
false
false
531
py
# Generated by Django 2.2.6 on 2019-10-21 07:18 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('sns', '0001_initial'), ] operations = [ ...
[ "minkishome@gmail.com" ]
minkishome@gmail.com
77443ff141c26d56888e06b61fc6591b0dfe0500
13b84a8620f928159b5205d89db61df0e5bfb60a
/20200613/prob_2.py
11416e76908279b28ca8cfa999550e6de97e1875
[]
no_license
steinstadt/CodeForces
548c5a5fe23fba512a4b675eaf264bfce9b44c1e
db130008d3bd1a957bcad9ab40f3a9461c534174
refs/heads/master
2021-04-16T15:14:19.736276
2020-11-21T07:36:58
2020-11-21T07:36:58
249,365,440
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
# Problem 1154 A - Restoring Three Numbers # input num_list = list(map(int, input().split())) num_list = sorted(num_list) # initialization ans_list = [0] * 3 # count for i in range(3): ans_list[i] = num_list[-1] - num_list[i] # output print(" ".join(list(map(str, ans_list))))
[ "steinstadt@keio.jp" ]
steinstadt@keio.jp
666e013da80d8695c8333bae27b1d872f86c8955
a51b1814a9bf2fdcf880772fefaa2ab79e8c7308
/runestone/chapter-2/proper-python-class.py
6eda5173d70e4fa37807360532296ec5fc1d76da
[]
no_license
369geofreeman/MITx_6.00.1x
d38913805168440969034e1d82611b0dbcd7a29a
ba84f70cc4e7cfbd4b685b742aa87d3f85cbbf59
refs/heads/master
2023-04-21T01:55:08.538290
2021-05-13T13:03:50
2021-05-13T13:03:50
282,055,845
3
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
# Writing a proper Python class # A class that works well in the Python ecosystem. # Each class should have a docstring to provide some level of documentation on how to use the class. # # Each class should have a __str__ magic method to give it a meaninigful string representation. # # Each class should have a pro...
[ "geofreeman369@gmail.com" ]
geofreeman369@gmail.com
33d6324c9769da677644f2434e606ed24d6384b1
3539d0e3ddd7849a14876e95f0332428ec28ebf7
/Data Scientist Career Path/3. Python Fundamentals/6. Python Loop/2. List Comprehension Code Challenge/9. opposite.py
2f9de791fc0693d1a41850df40514253a3c825e1
[ "MIT" ]
permissive
DincerDogan/Data-Science-Learning-Path
ff146de2cf4ebc5fedfa9377babf959208dfe7e6
2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb
refs/heads/main
2023-05-08T10:53:47.449974
2021-06-06T21:27:31
2021-06-06T21:27:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
booleans = [True, False, True] opposite = [not x for x in booleans]
[ "aristyanto2320@gmail.com" ]
aristyanto2320@gmail.com
426bcc79c656b5cffc242436a10ed9cfa654f2bb
2c80605554a75d02d57278a9339217d9e7c37f5d
/bank/tpot/pipeline_gen_5_idx_1_2019.09.10_04-14-24.py
a2b5819cd32b6cf812a35dd23a1e7ebac6f852be
[]
no_license
zhangsheng377/Kesci
e28cbe155d8ff4be3307500a76644ec403dc86ae
967bb3362ad1c6225eef5ca40baf610e9b0aeb6f
refs/heads/master
2020-07-07T01:59:17.349753
2020-02-02T11:30:28
2020-02-02T11:30:28
203,208,926
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
import numpy as np import pandas as pd from sklearn.model_selection import train_test_split from sklearn.pipeline import make_pipeline from sklearn.preprocessing import RobustScaler from xgboost import XGBClassifier # NOTE: Make sure that the class is labeled 'target' in the data file tpot_data = pd.read_csv('PATH/TO/...
[ "435878393@qq.com" ]
435878393@qq.com
cc9e00941de4cb85b76f01ec8444c338862ce15c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_mooching.py
bb4b21a3d0e13344ce2578feccbf8078202a50f3
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
from xai.brain.wordbase.nouns._mooch import _MOOCH #calss header class _MOOCHING(_MOOCH, ): def __init__(self,): _MOOCH.__init__(self) self.name = "MOOCHING" self.specie = 'nouns' self.basic = "mooch" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
24c147e69c88039955887900d3b812f300ecb882
1e187e5aa5fad78541a7afaec38fedbd3e9c81c7
/src/incidents/__init__.py
3628ecd6a052f4aa0beae7429dc1bc1db97ad1ca
[]
no_license
mattrobenolt/incidents
0e60bf3d2b792ff4da1cdf6fc4252a245d645559
2b59fab8b762138c5adc3a0a65377fee10d41c95
refs/heads/master
2020-05-17T02:04:33.725661
2014-09-20T07:50:00
2014-09-20T07:50:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
def autodiscover(): pass default_app_config = 'incidents.apps.IncidentsConfig' from .celery import app as celery_app # noqa
[ "matt@ydekproductions.com" ]
matt@ydekproductions.com
5733cd16bf8346d7f4fafeea4b8362e1ec616684
5bc5acc7cac75d26312f8b73ed8a4e80f7e144a2
/admin_interface/templatetags/admin_interface_tags.py
d2e07d2f091f0cf9c9b752083c8d6c3c583425dd
[ "MIT" ]
permissive
gilsonbp/django-admin-interface
1019b40ef5d09f0e18d4ef55b37d49416e549876
f6ce51c839be0bfedda5deb440a2588117a28765
refs/heads/master
2020-12-28T20:43:13.038317
2016-07-12T16:55:01
2016-07-12T16:55:01
64,975,304
0
0
MIT
2020-04-10T20:00:59
2016-08-05T00:09:29
Python
UTF-8
Python
false
false
433
py
# -*- coding: utf-8 -*- from django import template from admin_interface.models import Theme register = template.Library() @register.assignment_tag(takes_context = True) def get_admin_interface_theme(context): obj_qs = Theme.objects.filter(active = True)[:1] obj_ls = list(obj_qs) obj = None if l...
[ "fabio.caccamo@gmail.com" ]
fabio.caccamo@gmail.com
7b98333ac3fd36da58a48b8384faba21df2c93de
07490c73801dd7d055f852732126506088524725
/tests/test_extension.py
b3bf510dafc6ce1d4d3a083966ce2359bb25727c
[ "Apache-2.0" ]
permissive
consideRatio/jupyterlab_iframe
202a3740ff718cf93bdcac8dd3171c92fdf0f8f9
3c5f51352225ca9235d6e6d378e22bbdf983912f
refs/heads/master
2021-02-15T20:40:07.750413
2020-02-28T03:17:36
2020-02-28T03:17:36
244,929,842
0
0
Apache-2.0
2020-03-04T15:03:33
2020-03-04T15:03:32
null
UTF-8
Python
false
false
876
py
# for Coverage from mock import patch, MagicMock from jupyterlab_iframe.extension import load_jupyter_server_extension, IFrameHandler, ProxyHandler, ProxyWSHandler class TestExtension: def test_load_jupyter_server_extension(self): m = MagicMock() m.web_app.settings = {} m.web_app.settings...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
bebbf95ab1b8f7d8f39f2fe3fbd89239d4814cae
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/observer/pod.py
485bcc3a0d84e58e4306ff6341181c4e6af77f6e
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
5,183
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
52521d978b955e69155b371789c678f9de0fc4a7
e1d7b5ead35d6e40d63541d02e3320a01a581055
/notebooks/_solutions/pandas_02_basic_operations128.py
52fb0231e9924f92702114f3b4b15706f00bad97
[ "BSD-3-Clause" ]
permissive
drdwitte/DS-python-data-analysis
900d9f32683e5131bd6657cd6db95b8f774afe5f
99db9f763411ae9a67ce60f5b8cc522f5e5db85b
refs/heads/master
2021-06-13T01:13:14.455810
2017-01-03T21:29:45
2017-01-03T21:29:45
110,525,200
1
0
null
2017-11-13T09:08:55
2017-11-13T09:08:55
null
UTF-8
Python
false
false
40
py
df['Survived'].sum()/len(df['Survived'])
[ "jorisvandenbossche@gmail.com" ]
jorisvandenbossche@gmail.com
9c12235910c2089f308d5efc8451bb32b2a84b3e
5d25b942873144363546c8b0ccbd2df4fbec0aa0
/utils/tserial.py
0c5267fd8d46ea264eddd7f9d4d6cfea9556b728
[ "Apache-2.0" ]
permissive
Sumalyo/mjmech
228d23b3690b1244ec0c6825c231c2368d805045
c222725b9ee799a595c53d1f85195e013a600a04
refs/heads/master
2021-04-14T04:59:54.043304
2020-03-19T12:57:37
2020-03-19T12:57:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,893
py
#!/usr/bin/env python # Copyright 2015 Josh Pieper, jjp@pobox.com. 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 # ...
[ "jjp@pobox.com" ]
jjp@pobox.com
84ad07d973ff96ef23edea1992f9a7f987eb23ca
dcc0bb6b30ab22a2b5aea3b0f2f5bf403c28dc9b
/awx_collection/test/awx/conftest.py
bdaa0db3bf529a94233f8be6be7abf9d089906cb
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only" ]
permissive
EStork09/awx
e358b8eaecdb59693fa7d9883555aa5259cc1641
0c0e172caf7036737a511cbd532b4dc72d900725
refs/heads/devel
2020-08-22T01:18:12.674380
2019-10-20T00:45:02
2019-10-20T00:45:02
178,763,134
0
0
Apache-2.0
2019-04-09T16:38:38
2019-04-01T01:24:13
Python
UTF-8
Python
false
false
4,187
py
import io import json import datetime import importlib from contextlib import redirect_stdout from unittest import mock from requests.models import Response import pytest from awx.main.tests.functional.conftest import _request from awx.main.models import Organization, Project, Inventory, Credential, CredentialType ...
[ "arominge@redhat.com" ]
arominge@redhat.com
c7f42f7749b90a9c3dd47f55c00466c5b63d3493
97884252481ff208519194ecd63dc3a79c250220
/pyobs/robotic/lco/scripts/script.py
0c57a0bb4cb505d10961df96b185ca12ba1e1049
[ "MIT" ]
permissive
pyobs/pyobs-core
a1f30137d7f991bad4e115de38f543e59a6e30d2
2d7a06e5485b61b6ca7e51d99b08651ea6021086
refs/heads/master
2023-09-01T20:49:07.610730
2023-08-29T09:20:05
2023-08-29T09:20:05
174,351,157
9
3
NOASSERTION
2023-09-14T20:39:48
2019-03-07T13:41:27
Python
UTF-8
Python
false
false
2,064
py
import logging from typing import Dict, Any, Optional from pyobs.robotic.scripts import Script from pyobs.robotic import TaskSchedule, TaskArchive, TaskRunner log = logging.getLogger(__name__) class LcoScript(Script): """Auto SCRIPT script for LCO configs.""" def __init__(self, scripts: Dict[str, Script], ...
[ "thusser@uni-goettingen.de" ]
thusser@uni-goettingen.de
837f297f47a3d31dca3856ca30dc1c07ea466c51
0c469c4100fe9d352e83731688e388062a3c55c7
/Graphs/1135. Connecting Cities With Minimum Cost.py
079eb10f622723f7ab046130350ee32299f45381
[]
no_license
asperaa/back_to_grind
9e055c7e6561384e5b7ae52f01063e4beb34a298
5ea1976b9d5c6d04800e296e45e8ff90fdde5001
refs/heads/master
2022-12-16T18:32:01.443743
2020-09-05T13:29:39
2020-09-05T13:29:39
254,910,528
1
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
"""We are the captains of oue ships, and we stay 'till the end. We see our stories through. """ """1135. Connecting Cities With Minimum Cost """ class Solution: def minimumCost(self, n ,edges): parent = [i for i in range(n+1)] rank = [0] * (n+1) self.cost = 0 self.connected_compon...
[ "adityaankur44@gmail.com" ]
adityaankur44@gmail.com
01822b078b05a3660a8aaa3154dd9afeb8922100
ef605b30b118dbb5902a360c2dc74634f8d8023a
/ve/Lib/site-packages/tests/test_archaism.py
edf8f96ad05816c5b8f19b27af3ad2eee643f92d
[]
no_license
lugnitdgp/avskr2.0
691b82e529fba667ebf0885b52f0c58b5076f3cb
278e4f6f8ce4677e213150716704330d83debf9f
refs/heads/master
2022-12-06T03:10:38.743582
2018-10-29T13:14:38
2018-10-29T13:14:38
151,551,343
4
10
null
2022-11-22T13:59:07
2018-10-04T09:58:45
Python
UTF-8
Python
false
false
620
py
"""Tests for archaism.misc check.""" from __future__ import absolute_import from .check import Check from proselint.checks.archaism import misc as chk class TestCheck(Check): """The test class for archaism.misc.""" __test__ = True @property def this_check(self): """Bolierplate.""" ...
[ "divyanshumehta@outlook.com" ]
divyanshumehta@outlook.com
e717b68e6f98bb33f19c3f68eb602455a799f7f6
dc80f94c1a244002db468fc7242d5fcaafe439dc
/powerdns_client/models/error.py
f5299db89c3ad43e6f2cbbe70c6da422abc9ead3
[ "MIT" ]
permissive
sanvu88/python-powerdns-client
f675e1ee162bb76190b41ddf0cfc34e2305a757b
57dd0460995a5407c6f5c963553b4df0f4859667
refs/heads/master
2023-02-04T07:05:31.095951
2020-12-15T16:48:15
2020-12-15T16:48:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,975
py
# coding: utf-8 """ PowerDNS Authoritative HTTP API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 0.0.13 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # n...
[ "67791576+underline-bot@users.noreply.github.com" ]
67791576+underline-bot@users.noreply.github.com
2784d73cd9183dd106ee06fba4d4c4e10409acc4
4fdaee9f2612a8c429991a2042dffcee80e7a641
/rootfs/qboxhd/rootfs/usr/local/lib/enigma2/python/Screens/Scart.py
64e4a69e009284ed03b409f8e33f5041d03a4d0e
[]
no_license
OpenSH4/qboxhd
841072db3b0eaecdcac116b5f96268d47115cdec
91dd37a5311b5c53fb088ab0ce902ee49552ece0
refs/heads/master
2020-09-07T17:55:36.114816
2012-01-08T21:33:02
2012-01-08T21:33:02
220,866,062
0
2
null
null
null
null
UTF-8
Python
false
false
1,089
py
from qboxhd import QBOXHD from Screen import Screen from MessageBox import MessageBox from Components.AVSwitch import AVSwitch class Scart(Screen): def __init__(self, session, start_visible=True): Screen.__init__(self, session) self.avswitch = AVSwitch() if start_visible: self.onExecBegin.append(self.showM...
[ "duopaguilar@0410bcea-ab32-4fec-9f21-c18eae94034e" ]
duopaguilar@0410bcea-ab32-4fec-9f21-c18eae94034e
37f45c2414abdc4e1e1c66d8ba58d473235b0f3b
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/numenta_nupic/nupic-master/src/nupic/frameworks/viz/network_visualization.py
6c37b7608dbabfbc809f5fc33aba4327f6ef7336
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
2,674
py
# ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) # Copyright (C) 2017, Numenta, Inc. Unless you have an agreement # with Numenta, Inc., for a separate license for this software code, the # following terms and conditions apply: # # This progra...
[ "659338505@qq.com" ]
659338505@qq.com
ca88d83b98155eab6d93550d5db549dcf68549b9
a4ea525e226d6c401fdb87a6e9adfdc5d07e6020
/src/azure-cli/azure/cli/command_modules/servicebus/aaz/latest/servicebus/queue/_create.py
795920ad6461e68726913b5c980a825f83410405
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
Azure/azure-cli
13340eeca2e288e66e84d393fa1c8a93d46c8686
a40fd14ad0b6e89720a2e58d4d9be3a6ce1535ca
refs/heads/dev
2023-08-17T06:25:37.431463
2023-08-17T06:00:10
2023-08-17T06:00:10
51,040,886
4,018
3,310
MIT
2023-09-14T11:11:05
2016-02-04T00:21:51
Python
UTF-8
Python
false
false
17,863
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # # Code generated by aaz-dev-tools # --------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
05267bb3879a6e0fadb7cb02e558d512ea7128ca
e9538b7ad6d0ce0ccfbb8e10c458f9e0b73926f6
/tests/unit/modules/remote_management/lxca/test_lxca_cmms.py
96d4f5c61556d09603513b44da7afb31557e60e3
[]
no_license
ansible-collection-migration/misc.not_a_real_collection
b3ef8090c59de9ac30aca083c746ec3595d7f5f5
7ab1af924a3db4ada2f714b09bb392614344cb1e
refs/heads/master
2020-12-18T13:48:51.849567
2020-01-22T17:39:18
2020-01-22T17:39:18
235,400,821
0
0
null
null
null
null
UTF-8
Python
false
false
4,778
py
import json import pytest from ansible_collections.misc.not_a_real_collection.tests.unit.compat import mock from ansible_collections.misc.not_a_real_collection.plugins.modules import lxca_cmms @pytest.fixture(scope='module') @mock.patch('ansible_collections.misc.not_a_real_collection.plugins.module_utils.remote_mana...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
a023ca5921b4dae35ed7b05846b33c20b9bb7352
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_rimmed.py
5ba54997dbd01072557b8d6aa85dd5252bdbec4d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
#calss header class _RIMMED(): def __init__(self,): self.name = "RIMMED" self.definitions = rim self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['rim']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cbd5229791354c1ff4eb92cd07ccdc2794be4190
9f7512711f78d71a5de7ec54001411cb9c319424
/contents/serializers.py
3353c1a830a69e69410f7cedfb9c577b5f4d1ca5
[]
no_license
charles-co/glc_project
a819ad5b401ba2279901f8f752f7a9331271d376
ae8c3cba6dcb416d7afa3abbbf439f48003b6e9f
refs/heads/main
2023-03-29T17:28:05.518810
2021-04-03T18:00:16
2021-04-03T18:00:16
336,250,626
0
0
null
null
null
null
UTF-8
Python
false
false
841
py
from rest_framework import serializers from .models import Audio, Video, Podcast, TV class AudioSerializer(serializers.ModelSerializer): class Meta: model = Audio fields = ['title', 'audio_file', 'created_at'] read_only_fields = ['created_at', 'audio_file', 'title'] class VideoSeri...
[ "charlesboy49@gmail.com" ]
charlesboy49@gmail.com
75e33e57ef1502b4f1a14c2688c82459ca329830
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/215f5b12-5cc5-11e4-af55-00155d01fe08.py
5f97ccd66399240e21dbbe12dc4b66d9264c974b
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
#!/usr/bin/python ################################################################################ # 215f5b12-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
f58631458dc7d58f759d59e1985ada8b6acda70d
c5611d343da32ab98e14beaa5df296c43b39de6c
/fec/version/v6_4/F132.py
2cf21bbc4cd3db3fe21b36a4e31de26196f89912
[ "Unlicense" ]
permissive
h4ck3rm1k3/FEC-Field-Documentation
97973fc9cd919cdb161a416647ae5752ef5815d9
c2f1f36e14c67ac3656c09f801b9f595d3e9f92e
refs/heads/master
2018-12-28T16:07:52.499054
2014-06-07T18:35:49
2014-06-07T18:35:49
12,922,288
1
1
null
null
null
null
UTF-8
Python
false
false
1,545
py
import fechbase class Records(fechbase.RecordsBase): def __init__(self): fechbase.RecordsBase.__init__(self) self.fields = [ {'name': 'FORM TYPE', 'number': '1'}, {'name': 'FILER COMMITTEE ID NUMBER', 'number': '2'}, {'name': 'TRANSACTION ID NUMBER', 'number': '3'...
[ "jamesmikedupont@googlemail.com" ]
jamesmikedupont@googlemail.com
78c843f2dea725cfaa78a0907790d59f17b90b98
131cf803a1f7b9638ab0a604d61ab2de22906014
/tests/unit/web/test_send.py
d1f30e09ec65d49ecb4eb2ce59be3271d1f25115
[ "Apache-2.0" ]
permissive
dimensigon/dimensigon
757be1e61e57f7ce0a610a9531317761393eaad0
079d7c91a66e10f13510d89844fbadb27e005b40
refs/heads/master
2023-03-09T06:50:55.994738
2021-02-21T11:45:01
2021-02-21T11:45:01
209,486,736
2
0
Apache-2.0
2021-02-26T02:59:18
2019-09-19T07:11:35
Python
UTF-8
Python
false
false
11,860
py
import hashlib import os from unittest import mock, TestCase from flask import url_for from dimensigon.domain.entities import Server, Software, SoftwareServerAssociation from dimensigon.web import db, errors from dimensigon.web.network import Response from tests.base import ValidateResponseMixin, OneNodeMixin class...
[ "joan.prat@knowtrade.eu" ]
joan.prat@knowtrade.eu
b8978e81877849076f0a1387b6b4004126382019
6b8dc095ef6e10c9ccf92e3c6402e80919d747ad
/glad/__main__.py
4f394de5da9ab3674e0995e5bff47587ea218118
[ "MIT" ]
permissive
caomw/glad
5daecc0562e063240d7678ee2e5361e8562f0899
1fb8f8e68be000dd8b2c1634083939340ed33b06
refs/heads/master
2021-01-17T10:57:14.364606
2016-02-16T15:15:36
2016-02-16T15:15:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,594
py
#!/usr/bin/env python """ Uses the official Khronos-XML specs to generate a GL/GLES/EGL/GLX/WGL Loader made for your needs. Glad currently supports the languages C, D and Volt. """ from collections import namedtuple import logging import sys from glad.opener import URLOpener from glad.spec import SPECS import glad.la...
[ "admin@dav1d.de" ]
admin@dav1d.de
d851910d19a0d3466e44744e769c7836bf963a17
53fab060fa262e5d5026e0807d93c75fb81e67b9
/gaussiana/ch3_2020_03_09_19_03_02_961002.py
b6ec6c3e2fc6cb965c085057e28d3e3249ad4873
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
import math def calcula_gaussiana(x,μ,σ): a = 1 / (σ * (math.sqrt(2*math.pi))) e = math.e**(-0.5*((x-μ/σ)**2)) f = a*e return f
[ "you@example.com" ]
you@example.com
7d003ce2dd96154be17d0e9c27d616d75141b708
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02664/s139946174.py
a9fab029ec7d95fbc4310c62188b5118675ab097
[]
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
678
py
s = input() for i in range(len(s)): if s[i] == '?': if i == 0 and len(s) == 1: s = s.replace('?','D',1) elif i == 0 and s[1] == 'D': s = s.replace('?','P',1) elif i == 0 and s[1] == 'P': s = s.replace('?','D',1) elif i == 0 and s[1] == '?': ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
387bbbaa243d5506e9160eaeb8c0d8cae9238225
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_contributions.py
f025a05c56b781cdfac70c6760e2ec39d2810e27
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from xai.brain.wordbase.nouns._contribution import _CONTRIBUTION #calss header class _CONTRIBUTIONS(_CONTRIBUTION, ): def __init__(self,): _CONTRIBUTION.__init__(self) self.name = "CONTRIBUTIONS" self.specie = 'nouns' self.basic = "contribution" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
bbe80e141ae120828745a2e0c964fe0706b6d465
86ca43076bd78484a32b527308ac15ed19844d81
/tests/configuration_tests.py
eaca320507e178bf5a30dfc5ff75d25cff363b05
[]
no_license
simonemmott/k2_core
d393ec5685dbb80f5c9301f6f1f3b4eb17feda24
ef102ac151b3819714aa5f02d5aab8c1235030d6
refs/heads/master
2020-06-10T02:08:51.107293
2019-06-28T22:25:58
2019-06-28T22:25:58
193,552,540
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
from unittest import TestCase class ConfigurationTests(TestCase): def test_pass(self): self.assertTrue(True, 'Testing is not working')
[ "simon.emmott@yahoo.co.uk" ]
simon.emmott@yahoo.co.uk
f3b8ddd933238a900cc93cfe07fca3e814be5673
4526ed71f39d70111c3787ec90b4932a183c452c
/2016/Pyquen_DYtoMuMu_M_30_TuneZ2_8TeV16_pythia6_cfi.py
f842b4cf0e3b2f718e982fc53fa749012b9573a1
[]
no_license
CMS-HIN-dilepton/MCRequest
773f414739efc529dc957a044232478b1c4f1c03
ff49d22fde2c4a006fe7fa02d4cf53d794f91888
refs/heads/master
2021-05-02T12:16:51.891664
2020-06-20T18:35:52
2020-06-20T18:35:52
45,127,457
0
0
null
null
null
null
UTF-8
Python
false
false
3,465
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.PythiaUEZ2Settings_cfi import * generator = cms.EDFilter("PyquenGeneratorFilter", comEnergy = cms.double(8160.0), aBeamTarget = cms.double(208.0), protonSide = cms.untracked.int32(1), qgpInitialTemperature = cms.double(1.0), ## initial temperat...
[ "emilien.chapon@cern.ch" ]
emilien.chapon@cern.ch
fe3b3ed217100b8e438eba5edcd8c3e95c0dfa46
4b2a333ddb07ba7b5dbbf382eee5851468e69635
/sharpy/interfaces/unit_cache.py
b01665ffbbab5da46dfcfb35a3d1a203ba25c465
[ "MIT" ]
permissive
rwill128/sharpy-sc2
36810c69d2563b7cc839d353e47c3c3c9cc255cb
999a101fd2f6ecb8bccb405bf3ace276be08c112
refs/heads/develop
2023-01-29T11:52:55.687375
2020-12-06T11:26:35
2020-12-06T11:26:35
319,097,836
1
0
MIT
2020-12-06T18:03:31
2020-12-06T18:03:31
null
UTF-8
Python
false
false
1,824
py
from abc import abstractmethod, ABC from typing import Optional, List, Union, Iterable, Dict from sc2 import UnitTypeId from sc2.position import Point2 from sc2.unit import Unit from sc2.units import Units class IUnitCache(ABC): @property @abstractmethod def own_unit_cache(self) -> Dict[UnitTypeId, Units...
[ "aki.vanttinen@sedgestudios.com" ]
aki.vanttinen@sedgestudios.com
4aee4411b6209081f04e28197515d86a72e8e17b
38f15289bd03cef50f1013926a641c789fe338aa
/pythonCodeReference/PythonExamples/Examples/Example2/code1.py
0d4beb6f70ab9daddd4947171b36dc2f8b6e80c2
[]
no_license
Recorichardretardo/Python
e9f9a9b8291dc015fe7438329da066754d0ba965
5a810b9d53257e321dd15bd105100da89cef7835
refs/heads/master
2021-05-26T08:35:23.271610
2020-04-10T12:02:46
2020-04-10T12:02:46
254,060,199
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
import random friends = ["Rolf","Bob","Jen"] print("Jen" in friends) number = random.randint(2,9) user_input = input("Enter 'y' if you would like to play: ") if user_input in ("y","Y"): user_number = int(input("Guess our number: ")) if user_number == number: print("you guessed correctly!") else: ...
[ "you@example.com" ]
you@example.com
655dbe890caab2ea8cc40abe15d4af3a98428d0f
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2465/49405/292005.py
2b387ce901b762548c373be7f86a41affd703a7c
[]
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
65
py
a = input() print("if a == \"%s\":\n print()\n exit()" % a)
[ "1069583789@qq.com" ]
1069583789@qq.com
72e3ff38fd3cbb9042e232d08d74054b4ba37d32
219d7cf7cf00b778ff1a5709406c144fcf2132f3
/Conditional Statements - Exercise/07. World Swimming Record.py
3e853322a0847be5d79e473bc6890c3d9585ab8e
[]
no_license
SilviaKoynova/Softuni-Programming-Basics-Python
e8e175419383815c65c4e110fdb2b752d940e887
0dfef0850f2cb8471dfee1af89f137be4e887cb8
refs/heads/main
2023-07-13T00:35:09.389302
2021-08-27T07:43:45
2021-08-27T07:43:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
from math import floor record = float(input()) distance_in_metres = float(input()) time_in_seconds = float(input()) distance_needed = distance_in_metres * time_in_seconds slowing = floor(distance_in_metres / 15) slowing_add = slowing * 12.5 total_time = slowing_add + distance_needed if record > total_time: ...
[ "noreply@github.com" ]
SilviaKoynova.noreply@github.com
30f772c9774da896ad9f128a42b7578e18156e0e
7426522061b222e8d3336b18ff941bb98ff9626c
/qtoggleserver/core/api/funcs/firmware.py
d85ee25f86309a65400e2f535bc0d019072cc04b
[ "Apache-2.0" ]
permissive
DigitEgal/qtoggleserver
82833aaeb6f0bdad5f28243f132a639f4b406001
54b6ac53742af9529fd349d4fc207b0dc8a38d3b
refs/heads/dev
2023-05-07T14:49:11.273023
2021-04-30T20:40:08
2021-04-30T20:40:08
360,039,836
0
0
Apache-2.0
2021-04-21T05:18:08
2021-04-21T05:13:07
null
UTF-8
Python
false
false
1,739
py
import logging from qtoggleserver.core import api as core_api from qtoggleserver.core.api import schema as core_api_schema from qtoggleserver.core.typing import GenericJSONDict from qtoggleserver.system import fwupdate logger = logging.getLogger(__name__) @core_api.api_call(core_api.ACCESS_LEVEL_ADMIN) async def ...
[ "ccrisan@gmail.com" ]
ccrisan@gmail.com
5109e55b796ea28097133a4580c8e1352d2c68c2
751a99e39d358f0d138d582e4c1cfeb76cf58b8c
/catalogdata.py
b7686d2e945f748dfb17b273ca21d61fc0d5b50b
[]
no_license
anikcreative/guitar-catalog
2981e62ec416f11478e74f59d2d707028385d11e
05fed2a2341471220fefa285553a33301b6aab7d
refs/heads/master
2021-09-10T10:03:02.187022
2018-03-24T08:20:39
2018-03-24T08:20:39
126,077,840
0
0
null
null
null
null
UTF-8
Python
false
false
38,880
py
#!/usr/bin/env python # coding: utf-8 from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from dbsetup import Base, Category, Guitar print "\n\n------------------------\nWorking...\n\n" print "==> Establishing database link..." engine = create_engine('sqlite:///gtrcatalog.db') Bas...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
8810778d919db3e759f97b0b6e2e03e245363908
8fd4a35c61532f98e4e3888b1ca013ca3f7a2072
/tests/test_configdict.py
1f4e317e1ddb7aed6ebb704a3231691b9ea1c8c5
[ "MIT" ]
permissive
menchant/bio96
c785e0e2b1634f0f9df8645266139e62a4e2b3f0
97db6f7ae7b8f247c08ade1021c2906f71fdf1a5
refs/heads/master
2022-03-30T09:12:30.901537
2019-12-09T20:32:05
2019-12-09T20:32:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,157
py
#!/usr/bin/env python3 from bio96 import * def test_empty(): config = configdict({}) assert config.meta == {} assert config.rows == {} assert config.irows == {} assert config.cols == {} assert config.icols == {} assert config.wells == {} assert config.user == {} def test_user(): c...
[ "kale@thekunderts.net" ]
kale@thekunderts.net
51c9734e2bb76d57a89179adee9869b3f01dc271
acf7457d3a799cb9bff12686d2d616688bcd4b5b
/packages/python/plotly/plotly/validators/image/legendgrouptitle/font/_size.py
0703f95a46c6524e5ae4e1e051274c52c66992be
[ "MIT" ]
permissive
plotly/plotly.py
f4f61639f08160f16195efc95b5901dc5a937346
975a704074f01c078e0fdfa32bdf17130bf89e69
refs/heads/master
2023-09-06T06:15:08.340035
2023-08-24T12:28:14
2023-08-24T12:28:14
14,579,099
14,751
2,989
MIT
2023-09-08T19:55:32
2013-11-21T05:53:08
Python
UTF-8
Python
false
false
461
py
import _plotly_utils.basevalidators class SizeValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name="size", parent_name="image.legendgrouptitle.font", **kwargs ): super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_nam...
[ "nicolas@plot.ly" ]
nicolas@plot.ly
adaf7e6ef72f64e19e496a1b8f02b930b702595a
ae6189642a07fd789f51caadb924328a54919cac
/abc154/b.py
ecd4dfa9aa2e83c93f514ac89647c165b4f3743c
[]
no_license
d-matsui/atcorder
201e32403653b2fdf0d42188faf095eb8b793b86
22ec1af8206827e10a986cb24cf12acc52ab1d6a
refs/heads/master
2020-09-27T23:15:27.281877
2020-09-01T13:24:34
2020-09-01T13:24:34
226,632,569
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
#!/usr/bin/env python3 S = str(input()) len_S = len(S) for i in range(len_S): print('x', end="")
[ "mti.daiki@gmail.com" ]
mti.daiki@gmail.com
ebc358fe1d3d3c0c6443b2922f596ffa70817af4
1f44c056f79b0b8f2f32cdf417c80efe1913ed77
/ABC60C.py
0d759ee33dd5d4caef3293fe2a219e0c801f9d8f
[]
no_license
saki-engineering/PyAtCoder
4cc88d2a43991a5202cd71b48be0e936fb32137e
b008e86523c6d500beec53344172311872d50ff4
refs/heads/master
2020-09-15T08:39:17.698396
2020-04-24T05:55:02
2020-04-24T05:55:02
223,397,683
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
#coding: utf-8 import math import heapq import bisect import numpy as np from collections import Counter, deque #from scipy.misc import comb N,T = map(int, input().split()) t = list(map(int, input().split())) ans = 0 for i in range(N-1): if t[i+1] < t[i]+T: ans += (t[i+1]-t[i]) else: ans += T ans += T print(...
[ "sakiharu31415@yahoo.co.jp" ]
sakiharu31415@yahoo.co.jp
28e05c285d256dc10661cfb3388091b923e9de6d
7d45be20297033536b16a139a017bcec0e8880dc
/13.py
db9a4c6a5a31b3d4c73ad3543b8f6f9b8a9ecd56
[]
no_license
BhagyashreeKarale/dichackathon
f6e199e65eaddaaa5f1594c444c469d9359e94c3
3aba9caaf26f96f70f8b5315358a3dfcf5264da3
refs/heads/main
2023-08-10T11:18:31.101163
2021-09-11T18:56:17
2021-09-11T18:56:17
405,456,534
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
# Q16.Write a Python program to map two lists into a dictionary. l1=[1,2,3,4,5,6,7] l2=["riya","ankita","rahul","priya","anshika","rose","aarti"] dic={} for i in range(len(l1)): dic[(l1[i])]=l2[i] print(dic) #using zip function dic=dict(zip(l1,l2)) print(dic)
[ "noreply@github.com" ]
BhagyashreeKarale.noreply@github.com
37c6d17dfd9ccc0f2d0c1c121cb6154050ccd519
22251b1ada3681204a1f4e75ce6f42ca94b9b939
/api/migrations/0001_initial.py
9fdce3d738c81ba66205e2a797fe1cf73bde3d12
[]
no_license
vipin-s0106/Basic_Django_Angular_RestAPI
755dc79216642306205aad2cdb2f47f310407437
ce0afb721c8b04fc932a076b0509e36583d3728c
refs/heads/master
2022-04-14T16:48:57.779977
2020-04-12T11:57:43
2020-04-12T11:57:43
255,039,751
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# Generated by Django 3.0.4 on 2020-04-11 10:28 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Movie', fields=[ ('id', models.AutoField(au...
[ "vipin.s0106@gmail.com" ]
vipin.s0106@gmail.com
2612ca728d330306f8e47ea5564a10249735f8b0
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/estimator/canned/dnn_linear_combined.py
103503382500fff9b56683b255782ae3d189f6e1
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
1,383
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...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
2529cc61a7d88aa268a9a9af8cf9b21c8ad0bc54
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_118/2411.py
a9582de00a37f3252cf64204b04fe4ab4faf23f1
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
#!/usr/bin/python f = open("C-small-attempt0.in", "r") T = int(f.readline()) def palindrome(num): strNum = str(num) l = len(strNum) for i in range(l/2): if strNum[i] != strNum[l-i-1]: return False return True for t in range(1, T+1): lb, ub = map(int, f.readline().strip().split()) c = 0 for i in rang...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
a0219b69915ddc78aefd7ec3b24915e0dbaa14fd
08a415f16ce22a6d351181aebaa402753a41588a
/antgo/automl/suggestion/searchspace/branch.py
d7a6a4a2e4a82844cfa5bbf4c18b2d2e8879a65c
[]
no_license
Hislocked/antgo
a054c4cdaab00bf71ca6130de9e9f8b0be049d01
77cbd07cfecea48359361fa258139a2de57e1647
refs/heads/master
2020-04-19T10:26:11.363330
2019-01-28T10:04:12
2019-01-28T10:04:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
45,249
py
# -*- coding: UTF-8 -*- # @Time : 2019/1/11 1:47 PM # @File : branch.py # @Author : jian<jian@mltalker.com> from __future__ import division from __future__ import unicode_literals from __future__ import print_function from antgo.automl.basestublayers import * import random class Branch(StubLayer): def __init...
[ "jian.fbehind@gmail.com" ]
jian.fbehind@gmail.com
ba4984a720c6e1306f796c62fb2630c6a574f05f
dcd3a08831759b4458a9bac4e44a7bbfac626dc1
/python/protobufs/services/team/actions/join_team_pb2.py
871af1cf3126313e5c2df2090091876645a639bf
[ "MIT" ]
permissive
getcircle/protobuf-registry
433b6ad788831b34ccd86e2b42a3ec6606adc698
20ad8463b7ac6e2cf279c08bcd3e953993fe9153
refs/heads/master
2021-05-01T00:11:04.763067
2016-12-05T04:46:44
2016-12-05T04:46:44
27,981,855
0
0
null
null
null
null
UTF-8
Python
false
true
3,602
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: protobufs/services/team/actions/join_team.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as...
[ "mwhahn@gmail.com" ]
mwhahn@gmail.com
0e66bd19449a34a92382dfade04ca2dd9697c3f2
f1a8e308c76866e2fba20401e6f1d5842dd60c46
/Algorithms and Data Structures Practice/LeetCode Questions/Sorting/88. Merge Sorted Array.py
f673b376d6a5371cbd0f842e740c2aeb8490f3ec
[]
no_license
harman666666/Algorithms-Data-Structures-and-Design
6e5da0c1f701e7dfc7b045ecd1209463131d3fc7
483f0c93faca8ccaf038b77ebe2fa712f6b0c6bc
refs/heads/master
2021-07-14T10:11:27.588838
2021-07-07T01:47:42
2021-07-07T01:47:42
101,330,760
3
1
null
2018-10-15T04:52:07
2017-08-24T19:32:03
Python
UTF-8
Python
false
false
2,274
py
''' 88. Merge Sorted Array Easy 2197 4153 Add to List Share Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The number of elements initialized in nums1 and nums2 are m and n respectively. You may assume that nums1 has enough space (size that is equal to m + n) to...
[ "harman.j.singh@hotmail.com" ]
harman.j.singh@hotmail.com
530dfcf02bcc8d889a76b628309b95f3fec8528f
3a39e879fb2901207afcfc238b169ddefa104055
/Chapter05/Docs/errbackspider/errbackspider/spiders/errback_spider.py
9b55761a795c9081c4c163df0d07bfd92348f856
[]
no_license
Synapses/Web_Scraping_with_Python
cb32ddd468250b9f11ad16d3576d0920693e708c
3bb8cd47d0e1e182bb8ee800d32e24f45bf13ab0
refs/heads/master
2023-03-15T09:19:02.754593
2020-06-16T02:17:11
2020-06-16T02:17:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,852
py
import scrapy from scrapy.spidermiddlewares.httperror import HttpError from twisted.internet.error import DNSLookupError from twisted.internet.error import TimeoutError, TCPTimedOutError class ErrbackSpider(scrapy.Spider): name = "errback_example" start_urls = [ "http://www.httpbin.org", # HTTP 200 ...
[ "philip.dongfei@gmail.com" ]
philip.dongfei@gmail.com
fcd82eee8042da29dd0e74e9c8fca7af2e9bcb0f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03015/s715773814.py
9cd7cb639cfb7486945fee440b90b3bdbe4a21eb
[]
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
597
py
def main(): MOD = 10 ** 9 + 7 EQ = 0 # 等しくなり得る SMALL = 1 # 未満確定 S = map(int, input()) dp = [1, 0] for x in S: ndp = [0] * 2 if x == 0: ndp[EQ] = dp[EQ] # (0,0) ndp[SMALL] = dp[SMALL] * 3 # (0,0),(0,1),(1,0) elif x == 1: ndp[EQ] =...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
df675a7f387998c1c4b576a51598655b2afe8cf6
953a94489cd1970bfde33310c5796e6e3a2477c4
/scripts/mgear/maya/shifter/component/leg_2jnt_freeTangents_01/guide.py
041bdd863a1c284622123e7c9cead3d8270c14b1
[ "MIT" ]
permissive
mottosso/mgear
10c1d65dc0554cf03ac093089deeee84141fe30a
4ec4e15484f33aa77c04d16a93485dcf5c80df41
refs/heads/codeclimate
2021-01-19T19:29:08.660736
2017-11-13T16:56:51
2017-11-13T16:56:51
101,194,256
4
3
null
2017-11-13T16:56:52
2017-08-23T15:10:28
Python
UTF-8
Python
false
false
10,675
py
# MGEAR is under the terms of the MIT License # Copyright (c) 2016 Jeremie Passerin, Miquel Campos # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
[ "miquel.campos@gmail.com" ]
miquel.campos@gmail.com
fa890b0f406730ad6d9f53bbbeb35a89a1eba5c9
a25acab883494fa90cccc7255cac67251b40a21d
/specific/anchor/utils.py
9e18add0d1f25afe548b7ec6e5abe9ed6f489f2f
[]
no_license
csliuchang/PupaDetector
cd8d85ca0cdb236dae28b82cdac144e17ce8f76f
b88dfdfd3f52e1df7cd44b5e1d7086acbe1ec046
refs/heads/master
2023-08-12T13:05:19.796420
2021-09-17T08:54:28
2021-09-17T08:54:28
397,140,426
3
0
null
null
null
null
UTF-8
Python
false
false
2,914
py
import torch def images_to_levels(target, num_levels): """Convert targets by image to targets by feature level. [target_img0, target_img1] -> [target_level0, target_level1, ...] """ target = torch.stack(target, 0) level_targets = [] start = 0 for n in num_levels: end = start + n ...
[ "598306303@qq.com" ]
598306303@qq.com
f3485f6e457870ef4a389aca1ae87f74e7857980
7b72e319c16fa66644a29a930e46a10c943ac533
/flopy/modflow/mfpcg.py
2eb540900fead397aebfcd83147bd61134f82845
[ "BSD-3-Clause" ]
permissive
kwilcox/flopy
58e9297ee6cb4cf95de8a57a5b338f9ff1b1cc61
527c4ee452ea779bdebd6c1c540452d145e26943
refs/heads/master
2020-12-01T11:42:01.608949
2015-01-28T19:03:55
2015-01-28T19:03:55
28,347,156
0
0
null
null
null
null
UTF-8
Python
false
false
4,967
py
from flopy.mbase import Package class ModflowPcg(Package): '''Pcg Package Only programmed to work with the default values; may need work for other options''' def __init__(self, model, mxiter=50, iter1=30, npcond=1, hclose=1e-5, rclose=1e-5, relax=1.0, nbpol=0, iprpcg=0, mutpcg=3, ...
[ "langevin@usgs.gov" ]
langevin@usgs.gov
15ca14dda5bc43ba7ac49e7f50ec9a4f71acc1a8
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/L67/67-77_wat_20Abox/set_5.py
e11d081f50b40e893e218ff492bdaf3f17ca53ce
[]
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
739
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/L67/wat_20Abox/ti_one-step/67_77/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_5.in' temp_pbs = filesdir + 'temp_5.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] for j in lamb...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
dc56fca9c3f0400c2c546ec88a36f50896da3a5b
e8ae11e5017507da59e2e92d423b6a1994490de4
/env/lib/python2.7/site-packages/azure/mgmt/network/models/express_route_circuit_routes_table_summary.py
202ba003885f50452d9a8f36be1ac4f62ebc3c8a
[]
no_license
teopeurt/ansible-ubuntu-server
613d00cea28bc6531acf4a39aeeb9cd0baa2a391
b5b6127d2ee9723c5088443efe2ffb8ae30cfea7
refs/heads/master
2021-06-28T12:49:50.935753
2017-07-31T17:34:33
2017-07-31T17:34:33
98,912,808
0
1
null
2020-07-24T00:05:31
2017-07-31T17:32:56
Makefile
UTF-8
Python
false
false
2,276
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft and contributors. 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 co...
[ "me@teopeurt.com" ]
me@teopeurt.com
4e7414a3a31a6dc0edb60e6832a9aea5fff43856
dacb257a90310eba03f3128221120a7d54b894ba
/_templates/component_template.py
17012640af10b7c3b7946c401e3122b013cd8f93
[ "MIT" ]
permissive
SiChiTong/pysmartnode
92351efa02e52aa84185a53896957c453b12540a
a0998ad6582a28fe5a0529fb15dd4f61e254d25f
refs/heads/master
2023-01-05T10:00:14.907988
2020-09-01T10:07:45
2020-09-01T10:07:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,938
py
# Author: Kevin Köck # Copyright Kevin Köck 2018-2020 Released under the MIT license # Created on 2018-06-22 """ example config for MyComponent: { package: <package_path> component: MyComponent constructor_args: { my_value: "hi there" # mqtt_topic: sometopic # optional, defaul...
[ "kevinkk525@users.noreply.github.com" ]
kevinkk525@users.noreply.github.com
642c338f2025399808ac2d1a89087670e21e1dd9
365558f4e8ddc829f0ddca3f7d44ba62da27542a
/updates/api/mixins.py
508f98039750b944973f416e4ae53a5ae150c9e5
[]
no_license
paulitstep/restapi
9f1a1458c85cccad1a51a1f00f9a948ccca90f5e
465775f166b342bb416973335585225e16cb0ac4
refs/heads/master
2022-12-11T05:28:29.495535
2020-01-03T12:07:14
2020-01-03T12:07:14
229,033,566
0
0
null
2022-11-22T04:55:07
2019-12-19T10:44:52
Python
UTF-8
Python
false
false
264
py
from django.utils.decorators import method_decorator from django.views.decorators.csrf import csrf_exempt class CSRFExemptMixin(object): @method_decorator(csrf_exempt) def dispatch(self, *args, **kwargs): return super().dispatch(*args, **kwargs)
[ "pasha-mo1@rambler.ru" ]
pasha-mo1@rambler.ru
502205acb9cda35045cccadbb6e2af22d5604de8
d75fbceb28ad14b07ae4057a8b23ec0bd3682628
/code/chap01/GeometryDemo.py
1894209492bd0745a775c3814309fabaf5b7aac6
[]
no_license
wubinbai/pygame-book
0707a0b36f41bc6f0b1282707e6c4f6cbed9c87a
9de1f7516a2aec940ffa97f9686cc0520bad2deb
refs/heads/master
2020-12-21T15:51:08.397619
2020-01-30T12:37:52
2020-01-30T12:37:52
236,478,999
0
0
null
null
null
null
UTF-8
Python
false
false
1,354
py
# OOP Geometry Demo class Point(): x = 0.0 y = 0.0 def __init__(self, x, y): self.x = x self.y = y print("Point constructor") def ToString(self): return "{X:" + str(self.x) + ",Y:" + str(self.y) + "}" class Size(): width = 0.0 height = 0.0 ...
[ "wubinbai@yahoo.com" ]
wubinbai@yahoo.com
7783c08daad08e45d2628bdba38bd60685bafafa
53fab060fa262e5d5026e0807d93c75fb81e67b9
/gaussiana/ch3_2020_03_07_23_12_34_972398.py
1961ce12d71b8ef3172faaed1cc7b3049bb38b32
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
import math def calcula_gaussiana (x, y, z): a = 1/(z*(2* math.pi)**(1/2)) b = (math.e) ** (-0.5*c) c = ((x - y)/z)**2 gaussiana = a*b return gaussiana
[ "you@example.com" ]
you@example.com
7a8871f3e6f1d6ffbb7082df68f5813e5b281528
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/cloud/aapicsubnetpool.py
b8476311897c66bef3a0147220099b199efa5dcf
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
3,396
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
32b236c7d226d86c465cc89e6ca3ee8726a36cf5
0d15b6706d1016b604b351d57204852ff6613600
/articles/admin.py
1e1ea65ea50180b8980335603648ca7861f27e91
[]
no_license
yoonmyunghoon/Django-prac
e431b00482e2b5dde5b6555b862c658f86ec6328
848275f43f514b7d84b6bcec1e7fee90f9b1a378
refs/heads/master
2023-03-03T23:21:57.607503
2021-02-22T08:46:58
2021-02-22T08:46:58
339,078,445
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
from django.contrib import admin from .models import Article, Comment, Hashtag @admin.register(Article) class ArticleAdmin(admin.ModelAdmin): list_display = ("id", "title", "content", "image", "created_at", "updated_at") list_display_links = ("content",) list_filter = ("created_at",) list_editable = (...
[ "youn1791472@gmail.com" ]
youn1791472@gmail.com
fbfd4b1e2fa77069d31dc9861da0475a94f7c072
7832e7dc8f1583471af9c08806ce7f1117cd228a
/aliyun-python-sdk-rds/aliyunsdkrds/request/v20140815/CloneDBInstanceRequest.py
cb2978c432125971753d5407b3917c60679c46d8
[ "Apache-2.0" ]
permissive
dianplus/aliyun-openapi-python-sdk
d6494850ddf0e66aaf04607322f353df32959725
6edf1ed02994245dae1d1b89edc6cce7caa51622
refs/heads/master
2023-04-08T11:35:36.216404
2017-11-02T12:01:15
2017-11-02T12:01:15
109,257,597
0
0
NOASSERTION
2023-03-23T17:59:30
2017-11-02T11:44:27
Python
UTF-8
Python
false
false
4,506
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
c1298158bf73240b9c238c14aac0733c0bc1b59d
29c476c037a05170ff2ddef8edd07014d3751614
/0x06-python-classes/4-square.py
88ef31648dc094728817a3acd69b73ce8832f99e
[]
no_license
hacheG/holbertonschool-higher_level_programming
a0aaddb30665833bd260766dac972b7f21dda8ea
535b1ca229d7cf61124a128bb5725e5200c27fbc
refs/heads/master
2020-07-22T23:09:27.486886
2020-02-13T19:41:34
2020-02-13T19:41:34
207,360,462
0
1
null
null
null
null
UTF-8
Python
false
false
490
py
#!/usr/bin/python3 class Square(): """Class Square with setter & getter""" def __init__(self, size=0): self.__size = size @property def size(self): return self.__size @size.setter def size(self, x): if not isinstance(x, int): raise TypeError("size must be ...
[ "943@holbertonschool.com" ]
943@holbertonschool.com
a53f41a47bb29cda9a8831a17ee8ca50f996caea
8616892b6541602b53fdd94d1552d8e96b7ab722
/dessn/configurations/old/combined_simple_nolowz.py
bc61fe17df88b12a52d7a966b4534f1e4c36302e
[ "MIT" ]
permissive
dessn/sn-bhm
7c436877832ec10e4af318a6befff9fb8ffcbf3a
f320a41f9a4f2be49073437e98addca79e938160
refs/heads/master
2020-08-28T03:34:38.180148
2019-05-01T04:23:23
2019-05-01T04:23:23
45,723,864
1
0
null
2017-04-25T02:54:43
2015-11-07T05:27:44
Python
UTF-8
Python
false
false
2,485
py
import os import logging import socket from dessn.framework.fitter import Fitter from dessn.framework.models.approx_model import ApproximateModelW, ApproximateModel, ApproximateModelOl from dessn.framework.simulations.snana_bulk import SNANACombinedBulk from dessn.framework.simulations.selection_effects import lowz_sel...
[ "samuelreay@gmail.com" ]
samuelreay@gmail.com
57bce43d697126c0d1fdf8886d4be50f39e8e18a
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/26048566-5cc5-11e4-af55-00155d01fe08.py
f2d5557e83a298ecbd3b520346c5dd7d68781382
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
#!/usr/bin/python ################################################################################ # 26048566-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
25414baa7b52f3f2d2f1fbc697b602bd893b8ab7
1a31dfb66512aa66c407484f2ea8b0fb370669a4
/account/urls.py
74fd4189f5be454d9fbca20ea9f45a0439c5e14d
[]
no_license
nisha-eng/dstt
790129f2918e0210421039baba0a4e8c877a7627
bab89000242aec3a1a6fb05447ec52b14722809f
refs/heads/main
2023-03-01T02:50:20.767421
2021-02-05T05:23:08
2021-02-05T05:23:08
336,171,818
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
from django.contrib import admin from django.urls import path,include from . import views urlpatterns = [ path('signup/',views.SignUpView.as_view(), name='signup'), ]
[ "mdipakpatidar@gmail.com" ]
mdipakpatidar@gmail.com
27a02432307f60e2349e5f62217bdc229641b3a0
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_9_v3/I_w_Mgt_to_Wxyz_focus_to_Cxy_focus_series_Pyramid/pyramid_1side/bce_s001_tv_s0p1_L3/step12_L2345678.py
65d732c2f60394ea9ab9e20e7ad6db3c04b3fa69
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
5,245
py
''' 目前只有 step12 一定需要切換資料夾到 該komg_model所在的資料夾 才能執行喔! ''' if(__name__ == "__main__"): ############################################################################################################################################################################################################# ### 把 kong_model2 加入 s...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
afd99a73aa5211d3722e521ba63eeacc2c19e7b9
642526009a434c2a6e04fe0293279a151b216d0a
/dkube/sdk/internal/dkube_client/models/git_commit_details.py
136441f2723ae8ca83f5e11383723fe023b5aa91
[]
no_license
mak-454/dkube-sdk
d4b8e7f7b1d8c0b0f64b10940ae42ab9d62f4654
d2ba78a0abbda589efc0dbd957d9a8f6fd227464
refs/heads/master
2022-12-26T03:17:55.627379
2020-05-09T17:29:08
2020-05-09T17:29:08
262,622,772
0
0
null
null
null
null
UTF-8
Python
false
false
4,283
py
# coding: utf-8 """ Dkube api server No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 0.2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 impor...
[ "ahmed.khan@oneconvergence.com" ]
ahmed.khan@oneconvergence.com