blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
7dd4922bab790648e68d11e5d8b1b94521794f2f
098361c611ddd688adb9df74d277f8b5d45a5229
/.history/polls/views_20200213232747.py
1db6df062816d87e2363de7b596780615c21d095
[]
no_license
SamirIngley/django-documentation
1ac5ba903891f44e08c2fdb6f9d41bfcc836cce6
57e4b1aeab7a4f892fe89a0741ce7831d5c0f2d9
refs/heads/master
2020-12-22T00:42:30.258237
2020-02-14T18:42:34
2020-02-14T18:42:34
236,615,478
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
from django.shortcuts import render, get_object_or_404 # Create your views here. from django.http import HttpResponse, HttpResponse from datetime import datetime from .models import Question, Choice from django.views import Views, generic from django.urls import reverse def index(request): latest_question_list =...
[ "samir.ingle7@gmail.com" ]
samir.ingle7@gmail.com
24ce3a0a5d44460e58071c55aa0d938906e466da
ffd6d6c768d5c6cb05539200809d7163a922dadb
/common/callbacks.py
cefd9e13d49a5fdd60d978fdb1a930c30c03650f
[ "MIT" ]
permissive
danilojodas/keras-YOLOv3-model-set
95001092835e2ec37ae3b56e4a14ec68aad1349f
da6d1af57bcea139d548843f0488cf61ab00f965
refs/heads/master
2023-01-07T04:36:50.381877
2020-11-07T13:14:17
2020-11-07T13:14:17
285,853,247
0
0
MIT
2020-08-07T14:49:05
2020-08-07T14:49:05
null
UTF-8
Python
false
false
4,731
py
#!/usr/bin/python3 # -*- coding=utf-8 -*- """custom model callbacks.""" import os, sys, random, tempfile import numpy as np from tensorflow_model_optimization.sparsity import keras as sparsity #from tensorflow.keras.models import Model from tensorflow.keras.callbacks import Callback sys.path.append(os.path.join(os.pat...
[ "david8862@gmail.com" ]
david8862@gmail.com
d4ddc55bfbfb111820fbda1228542338ab805acb
aa9297175621fcd499cad5a0373aaad15f33cde8
/py-collections.py
cbcb56c1a3d7a5f9613740de433e1f5e6bfdca54
[]
no_license
eflipe/python-exercises
a64e88affe8f9deb34e8aa29a23a68c25e7ba08a
b7a429f57a5e4c5dda7c77db5721ca66a401d0a3
refs/heads/master
2023-04-26T19:19:28.674350
2022-07-19T20:53:09
2022-07-19T20:53:09
192,589,885
0
0
null
2023-04-21T21:23:14
2019-06-18T18:06:14
HTML
UTF-8
Python
false
false
5,026
py
# https://stackabuse.com/introduction-to-pythons-collections-module/ """ The Counter() function in collections module takes an iterable or a mapping as the argument and returns a Dictionary. In this dictionary, a key is an element in the iterable or the mapping and value is the number of times that element exists in th...
[ "felipecabaleiro@gmail.com" ]
felipecabaleiro@gmail.com
5d8cc59c1a7ae986669847eb53261c941778a28b
9ac793d32e70775bb119aaddeb832624e3cf9281
/consoverriding3.py
38d3f451eea5f6b0f68c2b227290384171731b84
[]
no_license
prabhatpal77/Adv-python-polymorphism
9368311732e1bca9b54e099489c255e3498fbb9b
d68375e4816a746a1ffbffa6d179c50227267feb
refs/heads/master
2020-07-29T00:41:08.162385
2019-09-19T16:35:32
2019-09-19T16:35:32
209,601,547
1
0
null
null
null
null
UTF-8
Python
false
false
448
py
# Another example of constructor overriding with many numbers of parameters. class X: def __init__(self, a, b): self.a=a self.b=b def m1(self): print("in m1 of x") class Y(X): def __init__(self, a, b, c, d): self.c=c self.d=d super().__init__(a, b) def m2(...
[ "noreply@github.com" ]
prabhatpal77.noreply@github.com
da94aa64917275137dfd2fdb5015db5f9092a981
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/sql/v20190601preview/get_server_azure_ad_administrator.py
743b19d247ce4c7b2f71ff70258a688a41cedc55
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
5,515
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 __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
a18fef765fc554ae4c9d605b3638485f2b1e8c69
cb4be2d145c529192cad597ebf6bba8aed0ec12e
/2014-x64/prefs/00_important/mec_shelf_loader/shelves/00_Trash/tool_box.py
83cb83b1ecfec00fff4898263675f516c7b8d0dc
[]
no_license
mclavan/Work-Maya-Folder
63e791fdbd6f8ac1f4fda2d46015cd98df38825c
c56dbdb85a7b1a87ef6dd35296c56e0057254617
refs/heads/master
2020-05-20T07:21:15.891179
2014-10-17T14:28:45
2014-10-17T14:28:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,647
py
''' Aaron Stoll tool_box.py Description: Need: padding # renaming primming hierarchy How to run: import tool_box reload(tool_box) ''' import pymel.core as pm print 'Tool Box Open' def padding_tool(): ''' This tool creates a world pad on the selected joint system. Select the root and run the function. impo...
[ "mclavan@gmail.com" ]
mclavan@gmail.com
df486c199b4d2a366b87a245a6ce53f17114dbd2
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/451/usersdata/299/103697/submittedfiles/chuva.py
b06f047fa906f5a3f5fe8b2fcce848502a635410
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
# -*- coding: utf-8 -*- piscina=[] n=int(input('')) for i in range(0,n,1): piscina.append(int(input(''))) for j in range(0,n,1): print(piscina[j])
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
cce4d23da8b4f3b32837659e90b9a0ddf0bed8b1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2242/60683/253412.py
2f040f3ab7a6e8a658e96759124645a212c8c803
[]
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
541
py
nums1 = [int(x) for x in input().split(',')] # 左xia 右shang nums2 = [int(x) for x in input().split(',')] LD1 = [nums1[0], nums1[1]] RU1 = [nums1[2], nums1[3]] LU1 = [nums1[0], nums1[3]] RD1 = [nums1[2], nums1[1]] LD2 = [nums2[0], nums2[1]] RU2 = [nums2[2], nums2[3]] LU2 = [nums2[0], nums2[3]] RD2 = [nums2[2], nums2[1]]...
[ "1069583789@qq.com" ]
1069583789@qq.com
e582688e7c9713c302008796c709b4b68e79b9d7
63b741505720be2eb792123b9a3fc92f6c46cd44
/website/members/management/commands/generate_member_invoices.py
61821383d5e38f6f96ecba23cc3c6fca1cb52023
[ "MIT" ]
permissive
matuu/asoc_members
d62286958b1a20468f26ad13eeb44a0df50d18c8
bc6691a4595bcdf16f7b23cad43b671d7f682f9a
refs/heads/master
2020-04-26T16:25:04.457732
2019-06-06T18:20:35
2019-06-06T18:20:35
173,677,417
0
0
null
2019-03-04T05:08:21
2019-03-04T05:08:21
null
UTF-8
Python
false
false
6,520
py
import datetime import os from django.conf import settings from django.core.mail import EmailMessage from django.core.management.base import BaseCommand from django.db.models import Max from members import logic from members.models import Quota, Person, Payment from . import _afip, _gdrive INVOICES_FROM = '2018-08-...
[ "facundo@taniquetil.com.ar" ]
facundo@taniquetil.com.ar
8ae23a04e6eec0115c0ae6e38256d5509c74f998
b677894966f2ae2d0585a31f163a362e41a3eae0
/ns3/pybindgen-0.17.0.post57+nga6376f2/pybindgen/wrapper_registry.py
bdc14d6ac952d89e250a76ed9939be7aa9048499
[ "LGPL-2.1-only", "Apache-2.0" ]
permissive
cyliustack/clusim
667a9eef2e1ea8dad1511fd405f3191d150a04a8
cbedcf671ba19fded26e4776c0e068f81f068dfd
refs/heads/master
2022-10-06T20:14:43.052930
2022-10-01T19:42:19
2022-10-01T19:42:19
99,692,344
7
3
Apache-2.0
2018-07-04T10:09:24
2017-08-08T12:51:33
Python
UTF-8
Python
false
false
6,020
py
""" The class that generates code to keep track of existing python wrappers for a given root class. """ from pybindgen.typehandlers.base import NotSupportedError class WrapperRegistry(object): """ Abstract base class for wrapepr registries. """ def __init__(self, base_name): self.base_name =...
[ "you@example.com" ]
you@example.com
3e1f7559168e88b158942eb7a493718ec6108d87
4738129b25fceb5c8fdc83eebdd7621e41910230
/python-leetcode/sw_33.01.py
90bf5c1dc1e32fce0d32f105daf9235e85cbdda4
[ "MIT" ]
permissive
MDGSF/JustCoding
43aa20773b9c8325e6ba632e9941d235e9e285aa
2faa46323df991a12014021b49d568387a882233
refs/heads/master
2023-07-21T19:07:15.899019
2023-07-09T07:29:59
2023-07-09T07:29:59
201,714,062
15
2
null
null
null
null
UTF-8
Python
false
false
531
py
class Solution: def verifyPostorder(self, postorder: List[int]) -> bool: def recursion(startIdx, endIdx): if startIdx >= endIdx: return True curIdx = startIdx while postorder[curIdx] < postorder[endIdx]: curIdx += 1 rightStartIdx = curIdx while postorder[curIdx] > postorder[e...
[ "1342042894@qq.com" ]
1342042894@qq.com
808f8f09efe32f810767f9476fbdf06034b93364
86ed811106eecf7aa3a15cf98537ef274b811ad7
/headmasters/migrations/0014_auto_20200118_1239.py
2dcabb7931d416505d44d26ddcea2f581734728f
[]
no_license
SaifulAbir/Django-MIS
934ad39beff62f0e1cbe9377738b780122989662
d680a0a64211bc9cd7748364454c52b16398ea5c
refs/heads/master
2022-10-19T11:57:46.087577
2020-02-03T10:10:08
2020-02-03T10:10:08
271,542,785
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# Generated by Django 2.2.4 on 2020-01-18 12:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('headmasters', '0013_auto_20200115_0835'), ] operations = [ migrations.AlterField( model_name='headmasterprofile', na...
[ "rashed@ishraak.com" ]
rashed@ishraak.com
197156f1e6919a6fb85941c1f4078a1094cdc623
f3350367b97ba9d281be925ba520009a853fc0a3
/icarus/service/interface/icarus_server.py
7874dd52247cdd0b4554bee89d7f2cc229a393e6
[]
no_license
f599gtb/PenguPilot
2f841e780661fde0399fd2ea11193896362f71ef
7ef485124e5f5b14c257fba915cd43aec8111f35
refs/heads/master
2021-01-22T09:16:47.066058
2014-08-15T14:46:32
2014-08-15T14:46:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,282
py
""" ___________________________________________________ | _____ _____ _ _ _ | | | __ \ | __ (_) | | | | | | |__) |__ _ __ __ _ _ _| |__) || | ___ | |_ | | | ___/ _ \ '_ \ / _` | | | | ___/ | |/ _ \| __| | | | | | __/ | | | (_| | |_| | | | | |...
[ "tobias.simon@tu-ilmenau.de" ]
tobias.simon@tu-ilmenau.de
a1380cf0b07a79d6ea3eec8e515d0dd844e61560
f66021ddd1a79f2d43c5b00a56e15ce13a9abfb2
/jbkxnoltmn_dev_1766/urls.py
8c33ce9bcb4fd1b67b9e4e28b751f3b7120e5cf5
[]
no_license
crowdbotics-apps/jbkxnoltmn-dev-1766
28db8f66d7f012f7273855a3e7c25becb06a5321
e43e4d2761cae06d51f53af0102edfc868618fbd
refs/heads/master
2022-04-06T05:51:42.505572
2020-03-01T19:42:42
2020-03-01T19:42:42
244,212,350
0
0
null
null
null
null
UTF-8
Python
false
false
1,929
py
"""jbkxnoltmn_dev_1766 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home')...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
35a44548cde679b353b2ecfd460fbadd70c4f068
d9b286e3ed4038651f8a93ddad8fc7369b8e22ad
/reviewboard/webapi/tests/test_screenshot_comment.py
5362bcbc71c12d3eef9cb5242c2424f6ee47f5fc
[ "MIT" ]
permissive
harrifeng/reviewboard
6456b1ba2fa953bdc83cb16681731bcef10430ee
f560679be34ab547ef0a4fbca959e244d6bf5a75
refs/heads/master
2016-10-16T14:05:54.102611
2013-09-06T21:23:30
2013-09-11T09:52:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,402
py
from djblets.testing.decorators import add_fixtures from djblets.webapi.errors import PERMISSION_DENIED from reviewboard.reviews.models import ScreenshotComment from reviewboard.webapi.tests.base import BaseWebAPITestCase from reviewboard.webapi.tests.mimetypes import screenshot_comment_list_mimetype from reviewboard....
[ "chipx86@chipx86.com" ]
chipx86@chipx86.com
ff97443bc42e9a21c435f0a5d1bea777d082d66d
1aa12d5735fb239c8be8f8a44881eb05908d6e4f
/deunionreserve/settings.py
a794f4a7c468667a858aed43da6fc8aa1c20a2f0
[]
no_license
Justprince234/bank-api
218f14d15e3e76f5f0b1c5c1142f7d5417cc6e03
a2fa7d478c6ab88fc2369caaacbc407b5411da0d
refs/heads/master
2023-06-23T11:00:51.124883
2021-07-13T13:04:36
2021-07-13T13:04:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,631
py
""" Django settings for deunionreserve project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from ...
[ "princewilljackson@ymail.com" ]
princewilljackson@ymail.com
ea7d9fa0c40854eead9518afad3701d2d8eeb5b2
32b5beff459a4e130c3b231e32d717bed4178a1c
/src/bench/bench_python/plot_benchmark.py
4d0b590b602e3ac198077fd5613b194a6a9db094
[ "MIT" ]
permissive
constantinpape/z5
9deb76fe52a1335dac7ef49e85c40cf7efbb8887
bd5cb52782a9cabf534ea77ba0823f207c8eccb8
refs/heads/master
2023-07-06T15:58:13.279554
2023-07-04T07:26:21
2023-07-04T07:26:21
101,700,504
94
28
MIT
2023-07-04T07:26:23
2017-08-29T00:31:10
C++
UTF-8
Python
false
false
1,482
py
import argparse import json import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sns sns.set_theme(style='whitegrid') def plot_benchmark(path, chunk_key='25_125_125', skip=[]): with open(path) as f: results = json.load(f) data = [] for format_ in ('h5', 'n5', ...
[ "c.pape@gmx.net" ]
c.pape@gmx.net
73e0fa7025c6612d5ef02836a41198b625ae0f24
6c2a41b67027f95cc9525a813455b07cdf49c5d7
/projects/models.py
7278428ef0ce110f669ab440107ddbcf21ef929c
[ "MIT" ]
permissive
wilbrone/Awards
3c1ce7ec3ca3003ff9787529a903c55c02ea42ae
c4c87ca5d700a12dc8d23e2d6092ac59adada4af
refs/heads/master
2022-12-21T22:12:39.474327
2020-02-23T10:46:27
2020-02-23T10:46:27
240,668,985
0
0
MIT
2022-09-23T22:36:18
2020-02-15T08:19:22
Python
UTF-8
Python
false
false
3,092
py
from django.db import models from django.contrib.auth.models import User from django.utils import timezone from django.db.models.signals import post_save from django.dispatch import receiver # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE, related...
[ "wilbroneokoth@gmail.com" ]
wilbroneokoth@gmail.com
3dfc9792128a7b662720ee5edda3d0b79bbc1671
a2d83ad6126403703e85ecd3e627ef402e1fb6cf
/setup.py
938f01e6cd380f0b81fc8141100e9881357bc040
[]
no_license
argriffing/fiedlerology
5e0042f6e4b77be40208a29910978ee1e9a9846a
255cf1889fd9ac8619891ef8a10de813390247bd
refs/heads/master
2020-05-17T05:24:33.832399
2014-05-10T01:39:36
2014-05-10T01:39:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
#!/usr/bin/env python """Implementations of algorithms related to the work of Miroslav Fiedler. """ DOCLINES = __doc__.split('\n') # This setup script is written according to # http://docs.python.org/2/distutils/setupscript.html # # It is meant to be installed through github using pip. from distutils.core import se...
[ "argriffi@ncsu.edu" ]
argriffi@ncsu.edu
ec5fe9f24592abc674e2160d3674ec1936d8432f
d007f8d6c318c3d66e76d99715edf324c9fe0294
/recipes/luci_config.py
a0181931f1a2c7a0f24a5d32e0f34026fc861b60
[ "BSD-3-Clause" ]
permissive
nirvus/infra-recipes
c0f9e5facca7ad1907d639eb8819a59dc8f3584e
a5dc52f47405dcce56fb43a3e8ac80a2fbd56717
refs/heads/master
2020-04-07T23:15:01.809232
2018-11-06T02:30:12
2018-11-06T17:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,266
py
# Copyright 2018 The Fuchsia Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Recipe for testing LUCI configs.""" import difflib from recipe_engine.recipe_api import Property DEPS = [ 'infra/jiri', 'recipe_engine/buildbucket...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
fcfff712894869114932d6c0f9818c7e944cbc3f
7966fa31437cc8a539621a5a0642ce24c1c9de50
/PycharmProjects/leetcode/knapsack/474一和零.py
fe2c8b5eb5ad4dc876881797206d48967091368e
[]
no_license
crystal30/DataStructure
4f938508f4c60af9c5f8ec5520d5acedbe2dc90e
c55b0cfd2967a2221c27ed738e8de15034775945
refs/heads/master
2021-06-25T17:49:03.048853
2021-01-22T00:37:04
2021-01-22T00:37:04
192,374,326
0
0
null
null
null
null
UTF-8
Python
false
false
2,411
py
# coding:utf-8 class Solution: def __init__(self): self.memo = None def findMaxForm(self, strs, m, n): len_strs = len(strs) if len_strs == 0: return 0 self.memo = [[[-1 for _ in range(n+1)] for _ in range(m+1)] for _ in range(len_strs)] return max(0, self.fi...
[ "zhao_crystal@126.com" ]
zhao_crystal@126.com
88eb693481debe9f05c43f4a10cdaf4512efe676
7e8060ad317fe7d87fcbb1c756461cea8a067d08
/stepik/python67/03_07_03.py
0018a5ff2748b096d66fa7b893cd682c0b0bcb5b
[ "Unlicense" ]
permissive
ornichola/learning-new
f9b8f2d210f36f2c05a14e7cca56d32495e60778
abb6e74f9f8794a0d3b897618207d4be0b0ff3e1
refs/heads/master
2023-05-25T19:18:42.931439
2023-04-17T17:22:57
2023-04-17T17:22:57
115,291,570
4
25
null
null
null
null
UTF-8
Python
false
false
1,929
py
# [STEPIK] # Программирование на Python https://stepik.org/67 # 03_07_03 Задачи по материалам недели ''' Простейшая система проверки орфографии основана на использовании списка известных слов. Каждое слово в проверяемом тексте ищется в этом списке и, если такое слово не найдено, оно помечается, как ошибочное. Напишем...
[ "1502708+ornichola@users.noreply.github.com" ]
1502708+ornichola@users.noreply.github.com
af42b85e3f471e7e97d28b7be17f4a38e423e2dd
37adb80efb9b75e507440af38e116207b65039ec
/backend/green_rice_27742/wsgi.py
6b1b876222d02962b56137e0681369fb77328ada
[]
no_license
crowdbotics-apps/green-rice-27742
c39ba932d25992eef96da74c57bcf5a479014727
f9c8cfc358c287ac7d32c983c523b463e5f5a1da
refs/heads/master
2023-05-25T18:47:07.307988
2021-06-04T23:47:41
2021-06-04T23:47:41
373,982,930
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for green_rice_27742 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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJA...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ddba473a2d93e43e7b7d79629b3f73dc5b86a764
4f7962d02254ab6e5cf692648c933394ff41c79d
/component_sdk/python/tests/google/dataflow/test__launch_python.py
246816dd10677750ebd91c1fc5a39a72f081beb4
[ "Apache-2.0" ]
permissive
yebrahim/pipelines
5414131f5ab176aa7607114e3a0d23db73f5c8c8
77df6c2438f4cf6b81c97ecf4dac9fdbac0e3132
refs/heads/master
2020-04-08T13:23:50.628537
2019-03-01T18:35:47
2019-03-01T18:35:47
159,389,183
1
0
Apache-2.0
2018-11-27T19:37:57
2018-11-27T19:37:56
null
UTF-8
Python
false
false
2,989
py
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "k8s-ci-robot@users.noreply.github.com" ]
k8s-ci-robot@users.noreply.github.com
bdafe21d3f847430f8a82c37360c237512b69a8c
83cf642504313b6ef6527dda52158a6698c24efe
/scripts/addons/fd_scripting_tools/autocompletion/suggestions/dynamic/_bpy_fake/__private__/blenddatalinestyles.py
da6be1867caf90383dcdbf8a7278bc00bf432072
[]
no_license
PyrokinesisStudio/Fluid-Designer-Scripts
a4c40b871e8d27b0d76a8025c804d5a41d09128f
23f6fca7123df545f0c91bf4617f4de7d9c12e6b
refs/heads/master
2021-06-07T15:11:27.144473
2016-11-08T03:02:37
2016-11-08T03:02:37
113,630,627
1
0
null
2017-12-09T00:55:58
2017-12-09T00:55:58
null
UTF-8
Python
false
false
1,137
py
from . struct import Struct from . freestylelinestyle import FreestyleLineStyle from . bpy_struct import bpy_struct import mathutils class BlendDataLineStyles(bpy_struct): @property def rna_type(self): '''(Struct) RNA type definition''' return Struct() @property def is_updated(self): ...
[ "dev.andrewpeel@gmail.com" ]
dev.andrewpeel@gmail.com
da52ce6e0f2e6dbc30ed36da552d9228c8915f07
d635abe4bcdb62818c12f00fa3664d4147ecbf8d
/bert/train/utils/stateload.py
dcae7ee45b2a1639bd0b4d8997cb5c6cdcb920df
[]
no_license
mbilab/protein_understanding
e82badd8657a9f115d4a617112e00d9d69f19471
56a3f17f0557c57d3c25786d128d608629aecd69
refs/heads/master
2020-07-08T14:38:27.318254
2019-12-18T09:46:02
2019-12-18T09:46:02
203,119,288
0
0
null
2019-08-19T07:18:15
2019-08-19T07:18:14
null
UTF-8
Python
false
false
766
py
def stateLoading(model, pretrained_path): # Since issue: KeyError: 'unexpected key ...' # See https://discuss.pytorch.org/t/solved-keyerror-unexpected-key-module-encoder-embedding-weight-in-state-dict/1686/3 # Build a new dict that contains no prefix 'module.', the length of the prefix is 7 # original s...
[ "ztex030640417@gmail.com" ]
ztex030640417@gmail.com
439c1fd1483a411f8f2aa19a035764258d8b0f1f
0a8a4bfd6b4ffcfb7c99119c83cb3abe17c4a8f6
/examples/frontend_example.py
14824c9662fd5ca82359b8f6b574ba602715a9d3
[ "Apache-2.0", "MIT" ]
permissive
google/openhtf
58c06e07508f9bb2079070a5ac03898fc68c1778
3a9a24987b2b34782fca55a8df8d007167dbb19a
refs/heads/master
2023-08-23T12:12:54.917649
2023-07-27T01:51:17
2023-07-27T01:51:43
41,519,483
471
253
Apache-2.0
2023-09-12T00:47:42
2015-08-28T01:14:17
Python
UTF-8
Python
false
false
1,431
py
# Copyright 2018 Google Inc. 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 agre...
[ "noreply@github.com" ]
google.noreply@github.com
9f2a2c5e001af876451e73bc546f946af0eb6ed8
226e962457f3f9d271bdc0ec7cb999d45dd2ab92
/plugins/admin.py
2cd117d0f1eb608f3a981430e86f4d6694ebbb58
[ "Apache-2.0" ]
permissive
Web5design/saxo
5109ed2a9c48b2c6e4a2afd6edfe2e28b8279b0f
1cf079d13be63557626ebf8163c65c16bd4856c8
refs/heads/master
2021-01-20T16:30:36.401591
2014-01-26T22:23:28
2014-01-26T22:23:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
# http://inamidst.com/saxo/ # Created by Sean B. Palmer import saxo @saxo.command("join", owner=True) def join(irc): if irc.arg.startswith("#"): irc.client("join", irc.arg) irc.say("Joining %s" % irc.arg) @saxo.command("leave", owner=True) def leave(irc): if irc.arg.startswith("#"): i...
[ "sean@miscoranda.com" ]
sean@miscoranda.com
ad0ce10579942c717769e5eb6262652d640dfcfa
3943378e160590751b195c58f5a817125e487686
/findit/engine/ocr.py
16990307cb26dfec42b936e006ab54d51c5f9c17
[ "MIT" ]
permissive
uzstudio/findit
475d101e295aeb2c92df9f80dae78e88bc327a27
e3bb233b559f1882209fe95734a933bb82f71c80
refs/heads/master
2023-01-29T13:06:02.313593
2020-12-06T16:02:53
2020-12-06T16:02:53
319,051,716
0
0
MIT
2020-12-06T14:24:31
2020-12-06T14:24:31
null
UTF-8
Python
false
false
3,530
py
import numpy as np import warnings import typing from findit.logger import logger from findit.engine.base import FindItEngine, FindItEngineResponse try: import findtext except ImportError: logger.debug("findtext should be installed if you want to use OCR engine") class OCREngine(FindItEngine): """ OCR e...
[ "178894043@qq.com" ]
178894043@qq.com
d19dc2f371b1a4f5f4558649314377073d2df972
40454f9a92ecbfc382d8bb611743bad4ecb76017
/service/log_handler.py
0d2507a5ad64cc8afdc55d03fbf6baac0d1e7018
[ "Apache-2.0" ]
permissive
ibm-devops/devops-workshop-2020
cd83135edb5c7ec2adb4647d4b4997b9ff11fc46
33fec8ef8cb7e16548b4eb3381b441acbdce0e47
refs/heads/master
2023-09-06T08:45:35.184681
2021-11-23T21:46:49
2021-11-23T21:46:49
305,249,605
0
0
Apache-2.0
2020-10-19T21:40:57
2020-10-19T03:11:30
Python
UTF-8
Python
false
false
710
py
import logging from . import app ############################################################ # set up logging for Flask applications ############################################################ if __name__ != "__main__": gunicorn_logger = logging.getLogger("gunicorn.error") app.logger.handlers = gunicorn_logg...
[ "johnnyroy@johnrofrano.com" ]
johnnyroy@johnrofrano.com
1795fb529d885939637490ca274f1a05e3817c80
b44a984ac8cfd183e218d56e1ec5d0d3e72d20fd
/Binary Search/二分答案/617. Maximum Average Subarray II/binary_search_prefix_sum.py
8b867e3902d4d255a55a878fcda65c14538f88da
[]
no_license
atomextranova/leetcode-python
61381949f2e78805dfdd0fb221f8497b94b7f12b
5fce59e6b9c4079b49e2cfb2a6d2a61a0d729c56
refs/heads/master
2021-07-15T20:32:12.592607
2020-09-21T00:10:27
2020-09-21T00:10:27
207,622,038
1
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
class Solution: """ @param nums: an array with positive and negative numbers @param k: an integer @return: the maximum average """ def maxAverage(self, nums, k): # write your code here if not nums: return 0 start, end = min(nums), max(nums) # binary s...
[ "atomextranova@gmail.com" ]
atomextranova@gmail.com
847cfce4f2586b32847784c08399cc36f2c1c6a0
52b5773617a1b972a905de4d692540d26ff74926
/.history/odd_20200715173523.py
dce675361390068076286f115c10581f4c208933
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
def odd(A): # return the value that doesn't have a pair # a dictionary to keep track of the number of times # an element has been repeated newDict = {} for i in A: if i in newDict: newDict[i] +=1 else: newDict[i] = 1 odd([9,3,9,3,9,7,9]) ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
43ccfcb76efbc913bf2c01360150033452d7793c
25a27b6e7ad3f7ef90e7b70d7393fcf4b7cc16b0
/Pandas_Stats.py
b8a04e49bdb8d45ba1ff49fda54cb3a967501103
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
Bhaney44/Patent-Valuation
aeef15892fa81be314799ad48d8669d6ad3f3bc6
57af26f9ec60c85cbf6217358b70520a7b916189
refs/heads/master
2021-03-05T19:19:31.799981
2020-09-29T05:41:16
2020-09-29T05:41:16
246,145,615
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
import pandas as pd from pandas import DataFrame import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D df = pd.read_csv('Lite_Coin_12_Mos.csv') print(df.head()) print(df.tail()) print(df.index) print(df.columns) print("-----") print(df.describe()) #print mediuan print('median') print(df.median()...
[ "noreply@github.com" ]
Bhaney44.noreply@github.com
67286f42c0f5c3196b3760aedd6bbfecb99ed3a6
26dcf8e0457156a8bde936d56a59e1099893f8c6
/tests/test_init.py
55608b06b9def4bb420070c424c03c56bf5aa666
[ "MIT" ]
permissive
SilenceWinter/MicroTokenizer
fc4212fb9a324e93e707edbe130b518bd782d07a
0b617f4b107743f6c7c473a9fac9408d21c56931
refs/heads/master
2020-03-29T04:31:23.050836
2018-09-18T16:40:28
2018-09-18T16:40:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import pytest import MicroTokenizer @pytest.mark.parametrize("input_text", pytest.helpers.tokenizer_test_cases()) def test_DAG(input_text): result = MicroTokenizer.cut_by_DAG(input_text) pytest.helpers.assert_token_equals(result, input_text) @pytest.mark.para...
[ "u1mail2me@gmail.com" ]
u1mail2me@gmail.com
9f4d4ded1ac98901226e2e651b5c2a77055979bd
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/175/usersdata/267/96307/submittedfiles/lista1.py
0d27230ca436ca13864d21627d406bd3d0fc5b36
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# -*- coding: utf-8 -*- n=int(input('Tamanho da lista: ')) a=[] par=[] impar=[] somaPar=0 contPar=0 somaImpar=0 contImpar=0 for i in range(0,n,1): elem=int(input('Digite o elemento: ')) a.append(elem) for i in range(0,len(a),1): if a[i]%2==0: somaPar=somaPar+a[i] contPar=contPar+1 else:...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
bb9a5e375a56114623e45ce385c30a820fc1ac0a
c54f5a7cf6de3ed02d2e02cf867470ea48bd9258
/pyobjc/PyOpenGL-2.0.2.01/OpenGL/__init__.py
6efde92c2a11e6c461d897cf6ad1f636d7cff488
[]
no_license
orestis/pyobjc
01ad0e731fbbe0413c2f5ac2f3e91016749146c6
c30bf50ba29cb562d530e71a9d6c3d8ad75aa230
refs/heads/master
2021-01-22T06:54:35.401551
2009-09-01T09:24:47
2009-09-01T09:24:47
16,895
8
5
null
null
null
null
UTF-8
Python
false
false
841
py
# This is statement is required by the build system to query build info if __name__ == '__build__': raise Exception def __set_attributes(): global __date__, __version__, __build__ import string, os.path __date__ = string.join(string.split('$Date: 2004/11/14 23:33:24 $')[1:3], ' ') filename = os.path.join(o...
[ "ronaldoussoren@f55f28a5-9edb-0310-a011-a803cfcd5d25" ]
ronaldoussoren@f55f28a5-9edb-0310-a011-a803cfcd5d25
c1d33748b6659265d0d0e48b25c94af00752e8c9
a7104434e0ddb4575ef0a6cd467bac6620570de8
/hunter111.py
4726dd46eef032be4a152c39cdce18b129aae670
[]
no_license
GauthamAjayKannan/GUVI-1
7b276eef3195bec9671eec8bb6bcc588cb5c970e
fafabab93df55abcc399f6e2664286ed511fd683
refs/heads/master
2020-06-25T07:38:08.465414
2019-05-17T11:24:53
2019-05-17T11:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
n = int(input()) sum = 0 x = [ [int(e) for e in input().split()] for i in range(n)] for i in range(n): sum += x[i][(n-1)-i] print(sum)
[ "noreply@github.com" ]
GauthamAjayKannan.noreply@github.com
98f3200707f50fb960acc5eef201747d0b5dfb8a
351e2a5ab1a658dcfa6e760fcfb80671d4d95984
/ferrua/models/purchase.py
8ab59d7972cfc8498c3c4c4064f223afe5a4145d
[]
no_license
eneldoserrata/marcos_community_addons
02462b006b6c4ece3cfca914bf11d72d9fbd2a0a
dfd1f4254c6a59725b32e240f1d654b360c9d7e1
refs/heads/master
2021-10-11T01:02:08.807210
2017-03-09T08:35:54
2017-03-09T08:35:54
45,713,685
4
12
null
null
null
null
UTF-8
Python
false
false
4,471
py
# -*- coding: utf-8 -*- from openerp import models, fields, api import openerp.addons.decimal_precision as dp class PurchaseOrder(models.Model): _inherit = "purchase.order" @api.one def _cal_msi(self): if self.is_roll_order: exact = 0 master = 0 lam = 0 ...
[ "eneldoserrata@gmail.com" ]
eneldoserrata@gmail.com
14aa6d7fea39d00ecd9884e761e2c35165614022
930c207e245c320b108e9699bbbb036260a36d6a
/BRICK-RDFAlchemy/generatedCode/brick/brickschema/org/schema/_1_0_2/Brick/Return_Fan_Status.py
672937506a4f0ced76a2b9ed9e98dedc286475e7
[]
no_license
InnovationSE/BRICK-Generated-By-OLGA
24d278f543471e1ce622f5f45d9e305790181fff
7874dfa450a8a2b6a6f9927c0f91f9c7d2abd4d2
refs/heads/master
2021-07-01T14:13:11.302860
2017-09-21T12:44:17
2017-09-21T12:44:17
104,251,784
1
0
null
null
null
null
UTF-8
Python
false
false
368
py
from rdflib import Namespace, Graph, Literal, RDF, URIRef from rdfalchemy.rdfSubject import rdfSubject from rdfalchemy import rdfSingle, rdfMultiple, rdfList from brick.brickschema.org.schema._1_0_2.Brick.Fan_Status import Fan_Status class Return_Fan_Status(Fan_Status): rdf_type = Namespace('https://brickschema....
[ "Andre.Ponnouradjane@non.schneider-electric.com" ]
Andre.Ponnouradjane@non.schneider-electric.com
c6f531b07cc9ab53de8e28529b78d4cb2a3ae124
c3e34335fde6c8bec8d86f2c5651a7df55759406
/test.py
4d359a733dae1a5488f91b8e6f793c487b3a29ae
[ "MIT" ]
permissive
fancybian/ner-crf2
a2ea23dfc0cf528ff103bf35d6f70b6a70fdad5f
e4f4fe973057ee5f6ffcc87c8dddc502c981b9bf
refs/heads/master
2021-05-14T00:24:14.683097
2018-01-07T05:26:06
2018-01-07T05:26:06
116,538,877
0
0
null
null
null
null
UTF-8
Python
false
false
7,576
py
# -*- coding: utf-8 -*- """ Script to test a trained CRF model. train.py must be used before this to train the CRF. This file must be called with the same identifier that was used during training. Example usage: python test.py --identifier="my_experiment" --mycorpus python test.py --identifier="my_experiment" ...
[ "kontakt@ajung.name" ]
kontakt@ajung.name
bb64d0fbc08d3ddcc68c3f4237687110590e6a79
de96be8237ee349bee3659adb34bf12e73334f85
/google/domains.py
543129b75f1341041bb9899956ece3bb035dc2a3
[]
no_license
hezhen/spider-course-4
f79e44d6ab1001dbb80bb98ef78e9ecd41b75461
02e2f65c5625e02d301e920560918f10769f2d6e
refs/heads/master
2020-03-12T19:03:32.874875
2018-10-05T08:42:57
2018-10-05T08:42:57
130,776,197
43
33
null
null
null
null
UTF-8
Python
false
false
453
py
import re from lxml import etree f = open('List of Google domains - Wikipedia.htm', 'rb+') html = f.read() f.close() tree = etree.HTML(html) google_links = [] external_links = tree.xpath('//td/span/a[@class="external text"]') for external_link in external_links: link_str = external_link.attrib['href'] if l...
[ "hezhen112058@pwrd.com" ]
hezhen112058@pwrd.com
57583ef833feb7fed1f2a1302277c5c6f0a9010c
6e6785851f2d149faa25f907995a167b4b9a2330
/app.py
4cab0948530d82f4776386da0b97b2334f0122d3
[]
no_license
b1naryth1ef/catify
5456929dff5ec2d4e525be5f45e54581455d60d1
6b43b17894d8d331be36b6136a4f35023b351416
refs/heads/master
2020-04-26T15:52:41.036896
2013-05-08T07:55:50
2013-05-08T07:55:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
from flask import Flask, render_template, send_file, request from StringIO import StringIO import os, sys, time, base64 import Image from face_detect import catify app = Flask(__name__) app.secret_key = "change_me" @app.route('/') def routeRoot(): return render_template("index.html") @app.route("/catify", metho...
[ "b1naryth1ef@gmail.com" ]
b1naryth1ef@gmail.com
8af551e427cc06435e45752c8d1c0fe5586808de
846a7668ac964632bdb6db639ab381be11c13b77
/android/tools/test/connectivity/acts/tests/google/bt/car_bt/BtCarPairedConnectDisconnectTest.py
6a695d6f7fb1d7314d170dfe6d5d9c0e1b554119
[]
no_license
BPI-SINOVOIP/BPI-A64-Android8
f2900965e96fd6f2a28ced68af668a858b15ebe1
744c72c133b9bf5d2e9efe0ab33e01e6e51d5743
refs/heads/master
2023-05-21T08:02:23.364495
2020-07-15T11:27:51
2020-07-15T11:27:51
143,945,191
2
0
null
null
null
null
UTF-8
Python
false
false
6,208
py
#/usr/bin/env python3.4 # # Copyright (C) 2016 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "mingxin.android@gmail.com" ]
mingxin.android@gmail.com
5128534db0c281779b7258ce43806ef7569a716f
c22b9c7c4a854ed985e777bcbecd18870439b334
/hardway/print.py
1206e22d567c83747e1a692a7553958fbbbdc237
[ "BSD-3-Clause" ]
permissive
pezy/python_test
ceb35a8a63ca8ebe26ffa5c72ace664718c7b328
b019a0d9f267b5071c37fc85c9acaf27e9146625
refs/heads/master
2021-01-19T01:09:20.820202
2016-07-30T08:35:15
2016-07-30T08:35:15
18,096,404
0
2
null
null
null
null
WINDOWS-1252
Python
false
false
334
py
# -- coding: utf-8 -- print "Hello, World!" print "Hello Again" print "I like typing this" print "This is fun" print 'Yet! Printing.' print "I'd much rather you 'not'." print 'I "said" do not touch this.' print "ÖÐÎÄ£¡" # this is comment # you can print one line by ',' print "test just one line,","also one line,","ye...
[ "urbancpz@gmail.com" ]
urbancpz@gmail.com
d7b93c89b2e2a0584c469b21d001ed6aeca48808
e0219f54839b1d19a2509d1320d2640c8fe9bb79
/zinnia/sitemaps.py
128a7a1fe160bfbf74fce522eadd2d57ece876dc
[]
no_license
alsoicode/django-blog-zinnia
9648bd53e079e9ae1a8a0b64e5ef58821bb54cc2
6f015e0944ca60ea0e9cd7c1c2434666f5c544b5
refs/heads/master
2021-01-17T08:33:34.814990
2010-05-11T17:40:08
2010-05-11T17:40:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,762
py
"""Sitemaps for Zinnia""" from django.contrib.sitemaps import Sitemap from django.core.urlresolvers import reverse from django.contrib.auth.models import User from tagging.models import Tag from tagging.models import TaggedItem from zinnia.models import Entry from zinnia.models import Category from zinnia.managers im...
[ "fantomas42@gmail.com" ]
fantomas42@gmail.com
eaa874e35cb8e52f4390453e8611fca1b9c5ce04
52a00bbbe9cb90e46a913e9ef5facb04d25cf8b7
/todolist/tasks/models.py
1fbec0968940b51982867f96c8a02c37a1be2c5e
[]
no_license
agbin/todoList
9852378487e6d80bf6bf944f357d6b6824a4c694
3a5fee7d38c3f55c2f2432d5a47fc619cf2cfce0
refs/heads/master
2020-03-18T17:30:02.649979
2018-09-30T15:13:32
2018-09-30T15:13:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
from django.db import models from colorfield.fields import ColorField class Category(models.Model): name = models.CharField( verbose_name="Name", max_length=120 ) color = ColorField(default='#FF0000') class Meta: verbose_name = "Category" verbose_name_plural = "Categori...
[ "agnieszka.bin@gmail.com" ]
agnieszka.bin@gmail.com
40c2680cba8adb4f45b6f169538fa7388bd4ffaf
ccd1dced3b39f970c4d1b41f03d372b71a360194
/property/migrations/0007_category_image.py
ab56a4074b926265ba07b2dd955a4f49c3fd6011
[]
no_license
joescaos/hotel-ecommerce-site
5ab815f85b7e4d09a06b963a7785010c068a24d8
0b40aaf73d0d6241df88fa4dfe6fa63d868ee9aa
refs/heads/master
2022-09-29T07:59:02.474986
2020-06-06T00:51:55
2020-06-06T00:51:55
269,823,623
1
0
null
null
null
null
UTF-8
Python
false
false
406
py
# Generated by Django 3.0.5 on 2020-05-31 01:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('property', '0006_auto_20200521_2139'), ] operations = [ migrations.AddField( model_name='category', name='image', ...
[ "jxexcxo@gmail.com" ]
jxexcxo@gmail.com
b8e08f8929644608f02c3d6e6fc8a410cd9c05cd
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayFundEnterprisepayMemberModifyModel.py
d1d2f85425b69bf336ad21837ecf8dd2b333fe2d
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
6,152
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.FundExtInfo import FundExtInfo class AlipayFundEnterprisepayMemberModifyModel(object): def __init__(self): self._account_id = None self._agreement_no = None ...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
8dd0a54e2c18cc359f8bbc9a5a06659f45269823
4efd4fe7e848dc5973e350516ebfb57be015f5b6
/inline_media/tests/parser.py
111038f50b1f76514967b44f63baef82dc66db13
[ "BSD-2-Clause", "CC-BY-2.5" ]
permissive
MechanisM/django-inline-media
468648eb7a8b909a4204fc3c05788a73988a7855
e3ef3def173bcc9ac540123afe467894b635db85
refs/heads/master
2021-01-19T08:23:07.228198
2012-02-22T18:09:10
2012-02-22T18:09:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,221
py
#-*- coding: utf-8 -*- import os import shutil import tempfile from django.contrib.contenttypes.models import ContentType from django.test import TestCase as DjangoTestCase from inline_media.models import InlineType from inline_media.parser import MySoup, inlines, render_inline from inline_media.widgets import Texta...
[ "danirus@eml.cc" ]
danirus@eml.cc
ae75a4e4e98e779462934871276bedbdd4d46e90
431a1f738b1edfba7dad8d10a6b7520d51d917cb
/Samples/UserSamples/2018/ggH_Splits/ggH2Config.py
88310b478b17319c11136fe426fcd9265a083a66
[]
no_license
aloeliger/DatacardCreator
5ce702e46fbb77e843b44d8fe088c2645a4a8f66
5c7e890276a5be079ed3b677a471c1dcadcba52d
refs/heads/master
2022-02-26T19:52:30.563747
2022-02-16T20:24:48
2022-02-16T20:24:48
215,602,523
0
1
null
null
null
null
UTF-8
Python
false
false
1,253
py
from Samples.SampleDefinition import Sample from Samples.Uncertainties.UserUncertainties.TES import TESUncertainty from Samples.Uncertainties.UserUncertainties.JES import JESUncertainty from Samples.Uncertainties.UserUncertainties.ggHTheory import ggHTheoryUncertainty from Samples.Uncertainties.UserUncertainties.MetRe...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
8e37aac511b0cae4341fac4bc5e433d598934167
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L41/41-35_wat_20Abox/set_2.py
0d09b429cc615aa8547489fd53727cb51b0633aa
[]
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
738
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L41/wat_20Abox/ti_one-step/41_35/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_2.in' temp_pbs = filesdir + 'temp_2.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 lambd...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
3d11100956a6fec50f50a061926d77f2677a4c40
a62d603a0b31ccd77f9b2035c2740d4d25f2408d
/artistforum/artistforum/urls.py
b2b0502da749d37a8d5dbe8825c2d844170f78a6
[]
no_license
shushantkumar/Projects
44751949c2787e1ae4bb3909e0b37a6210680352
e6ce305dc80ec7bd258e213271d0292f8f1e3cfd
refs/heads/master
2021-01-02T22:34:35.854166
2018-04-22T07:30:37
2018-04-22T07:30:37
99,346,113
0
1
null
null
null
null
UTF-8
Python
false
false
1,096
py
"""artistforum URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "shushantkmr2@gmail.com" ]
shushantkmr2@gmail.com
5ced8005d7ca2b0d24eada8cddaa00c4a3825af9
696c1a00fbf09da67c37de2406c5394a5edcb166
/tests/combined_model_tests/combined_model_tests.py
4854a4daeffff3293082bec9ada559fe26bfd617
[]
no_license
mengyx-work/xgboost_hyperopt
7f52c5aa3fff81d029e3879630b373d79c4155bb
bbd80c489cb308309d45f1de1cc2676b13e29b6b
refs/heads/master
2021-01-15T15:41:38.622028
2017-05-14T21:05:46
2017-05-14T21:05:46
55,736,994
6
1
null
null
null
null
UTF-8
Python
false
false
2,312
py
import pandas as pd import numpy as np import os, sys, time import yaml import cPickle as pickle sys.path.append('/home/ymm/kaggle/xgboost_hyperopt') from utils.bosch_functions import load_processed_bosch_data from utils.models import CombinedModel from utils.validation_tools import score_MCC, MCC, create_validation_i...
[ "ymeng.ucla@gmail.com" ]
ymeng.ucla@gmail.com
7168d5ad5f15baa04059a1819cae512b8d6ccff2
cf4e5165a8408344a4c62e63a0fd2d0fe6308b37
/15期/15 flask框架/13-使用蓝图划分模块/orders.py
a78452943880b1d6638e7eeb4f45bfaf6f0516f5
[]
no_license
kennycaiguo/Heima-Python-2018
5f8c340e996d19f2b5c44d80ee7c144bf164b30e
a8acd798f520ec3d079cc564594ebaccb9c232a0
refs/heads/master
2021-01-08T10:54:18.937511
2019-09-01T14:37:49
2019-09-01T14:37:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
# coding=utf-8 from flask import Flask, Blueprint # 创建蓝图对象,蓝图就是一个小模块的概念 app_orders = Blueprint("app_orders", __name__, template_folder="templates") @app_orders.route("/get_orders") def get_orders(): return "get orders page" @app_orders.route("post_orders") def post_orders(): pass
[ "microease@163.com" ]
microease@163.com
a849ea55c243f6df2ba62ce912a03beb7a554c9b
bfc0a74a378d3692d5b033c21c29cf223d2668da
/unittests/pytests/utils/TestPylith.py
de1c2d7ed43609cfec1e7c351ee3ff7dead84b91
[ "MIT" ]
permissive
rishabhdutta/pylith
b2ed9cd8039de33e337c5bc989e6d76d85fd4df1
cb07c51b1942f7c6d60ceca595193c59a0faf3a5
refs/heads/master
2020-12-29T01:53:49.828328
2016-07-15T20:34:58
2016-07-15T20:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
#!/usr/bin/env python # # ====================================================================== # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://ge...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
cccc2caec8badcd13bf957235949812bb9349150
6ed48bf3c72e61fe53144a3545ab305112c93501
/appengine/findit/util_scripts/remote_api.py
d49a94ae16abf3e15f56036cd09699fb730490c3
[ "BSD-3-Clause" ]
permissive
eunchong/infra
ee5f7a9379977de8c814f90dbba3f6adbf06a75c
ce3728559112bfb3e8b32137eada517aec6d22f9
refs/heads/master
2022-11-27T06:26:57.415805
2016-04-08T12:34:36
2016-04-08T12:34:36
55,699,880
0
0
null
null
null
null
UTF-8
Python
false
false
1,991
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """This module is used to set up Remote API to use services on App Engine. After setup, available services include datastore, task queue, etc. You may be pr...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
117c969597f63a06bb56b3e40e60ba582e8ba33d
e1f87c26f973bd31da1f53dfef37ff4a8c7fd0b6
/packs/github/sensors/github_repository_sensor.py
80f7b909a2eb52584b114f38e3945c6d1560e86d
[ "Apache-2.0" ]
permissive
meirwah/st2contrib
4470028cf467dfe33ccebe2ebb224c79edc6642e
0743c96abc04ccda983303c4bdb744929dc17fd2
refs/heads/master
2021-01-22T02:13:20.290982
2015-08-30T11:39:03
2015-08-30T11:39:03
38,318,169
1
2
null
2015-06-30T15:45:15
2015-06-30T15:45:15
null
UTF-8
Python
false
false
5,136
py
import eventlet from github import Github from st2reactor.sensor.base import PollingSensor eventlet.monkey_patch( os=True, select=True, socket=True, thread=True, time=True) DATE_FORMAT_STRING = '%Y-%m-%d %H:%M:%S' class GithubRepositorySensor(PollingSensor): EVENT_TYPE_WHITELIST = [ ...
[ "tomaz@tomaz.me" ]
tomaz@tomaz.me
0cb32b495378935ca0dc58cd114e1c9f37142914
0c14e45bd96dcbdd344e038705822ffce90aba4e
/application.py
3bdd304a07cf828f4ba8632fc5a73c5751c60864
[]
no_license
qiwsir/json-diff
624b18833832edaab62180a1bdf0c10c19f9fefc
bb5ae3798fcf24c0e3d20ba7cb6bd63dce217620
refs/heads/master
2021-01-16T21:08:39.725121
2014-11-13T15:25:11
2014-11-13T15:25:11
26,757,081
4
1
null
null
null
null
UTF-8
Python
false
false
2,526
py
#! /usr/bin/env python #coding:utf-8 from method import diffmethod from dboption.mongodb import * import json import datetime import time import json_tools import sys reload(sys) sys.setdefaultencoding("utf-8") def diff(): """ find the difference between the two JSONs. """ gene_last = [ ele["_id"...
[ "qiwsir@gmail.com" ]
qiwsir@gmail.com
22cce749bf9d8f333797bf9494f8885489e03119
fa89836a6759151896a07650747462b8cda40610
/mse/mapdata/migrations/0008_auto_20180223_2200.py
b0b78b056bec3467aec86819cb31761fc5f1df5d
[]
no_license
DigitalGizmo/mse21
334813bfebec9b78f0541744e54f218f9cc6936b
89f1c0f9c05cefaaa8c703732ee4e4642aecd3c9
refs/heads/master
2023-07-09T13:29:13.903900
2018-03-26T19:26:09
2018-03-26T19:26:09
126,878,025
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-02-24 03:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mapdata', '0007_auto_20180223_2119'), ] operations = [ migrations.AlterFiel...
[ "donpublic@digitalgizmo.com" ]
donpublic@digitalgizmo.com
c51f89c655b8803a2b1d658b3ed1d38be188103a
67f988dedfd8ae049d982d1a8213bb83233d90de
/external/chromium/build/android/run_monkey_test.py
433b2bdd5f81c748e3497f34f25e25487ffdb2b1
[ "BSD-3-Clause" ]
permissive
opensourceyouthprogramming/h5vcc
94a668a9384cc3096a365396b5e4d1d3e02aacc4
d55d074539ba4555e69e9b9a41e5deb9b9d26c5b
refs/heads/master
2020-04-20T04:57:47.419922
2019-02-12T00:56:14
2019-02-12T00:56:14
168,643,719
1
1
null
2019-02-12T00:49:49
2019-02-01T04:47:32
C++
UTF-8
Python
false
false
5,697
py
#!/usr/bin/env python # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Runs the Monkey tests on one or more devices.""" import logging import optparse import random import sys import time from pylib...
[ "rjogrady@google.com" ]
rjogrady@google.com
fd6ab081d187f04abb302d2404e52c16f876fa11
048cda95057e9852b7f1cebbab864ea10e3fc0db
/crawler/v1/yehey.py
d8db31fceb0c5421bbcdb9b8fa70b42b9a447127
[]
no_license
AMAtreus/dg_crawler_website
fa9e587cf07549c0752bb88a8f61b1057496da26
1bcb03a48aff1ebca4e04a5c060be299ca9881d4
refs/heads/master
2023-08-17T09:56:51.379743
2021-10-13T13:50:23
2021-10-13T13:50:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,540
py
from crawler.spiders import BaseSpider import requests # 此文件包含的头文件不要修改 import scrapy from utils.util_old import * from crawler.items import * from bs4 import BeautifulSoup from scrapy.http import Request, Response import re import time import json class yehey(BaseSpider):# cyl name = 'yehey' # allowed_domains ...
[ "2782299413@qq.com" ]
2782299413@qq.com
71b991b29176ceeb40dd18fb108913132eac9b9c
de3b77cb0927f28cbd85e9142c2dfd7c8be7c27e
/tests/migrations/028_log_mod_onboarding_msgs_up.py
2d6e3dc23a0f321e5d54cd071e2830380b16a154
[ "MIT" ]
permissive
LoansBot/database
f3dcbccde59fdb80c876d2612f250662946588e6
eeaed26c2dcfdf0f9637b47ebe15cd1e000d8cc4
refs/heads/master
2021-07-02T22:07:18.683278
2021-06-02T04:09:38
2021-06-02T04:09:38
239,400,935
0
1
MIT
2021-06-02T04:14:31
2020-02-10T01:06:53
Python
UTF-8
Python
false
false
850
py
import unittest import helper class UpTest(unittest.TestCase): @classmethod def setUpClass(cls): cls.connection = helper.setup_connection() cls.cursor = cls.connection.cursor() @classmethod def tearDownClass(cls): cls.cursor.close() cls.connection.rollback...
[ "noreply@github.com" ]
LoansBot.noreply@github.com
61459c90cd48b2ee3302ca8357924844cce4aef0
7fc26de436ad958fc02e11fc7f7486f9ac775d0b
/services/url_lookup/project/api/url.py
533675f407a56387237c088a49ac2be9f518316b
[]
no_license
chenjienan/url_lookup_service
633071d78598b2ee248b6a6fc3ceee2bf4ccca9b
ef10d58450af97221697ac0fa26cfb9e5a43415e
refs/heads/master
2023-05-12T00:09:36.278356
2019-08-06T16:45:05
2019-08-06T16:45:05
199,910,038
0
0
null
2023-05-01T21:14:08
2019-07-31T18:36:20
Python
UTF-8
Python
false
false
2,698
py
from flask import Blueprint, request, jsonify from flask_restful import Resource, Api from sqlalchemy import exc from project import db from project.api.models import Url from urllib.parse import unquote import tldextract url_blueprint = Blueprint('url', __name__) api = Api(url_blueprint) class UrlList(Resource)...
[ "chenjienan2009@gmail.com" ]
chenjienan2009@gmail.com
079e09457902766095c8d29b7e0de221c64610d5
48661992ea5d378437aa245bc2469d9677678fbc
/changecsv.py
d358fb5cd0d7309fed5ab796bf09c38300e23a08
[]
no_license
sakurasakura1996/kaggle
a4f259ff0a89395d0801cfcd1215d2794598dcce
d159ccaebcc4fcd3013f746d6f280b4914ad9945
refs/heads/master
2020-09-11T22:51:34.604108
2019-12-08T06:51:45
2019-12-08T06:51:45
222,216,787
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
# 修改一下sub.csv的输出 输出序号从1开始,然后label是整数 import csv import numpy as np train_data = [] openfile = open('./sub.csv', 'r') read = csv.reader(openfile) for line in read: train_data.append(line) # print(line) train_data = np.array(train_data)
[ "2470375551@qq.com" ]
2470375551@qq.com
7acf6789b67228e00bf1be4e74c42b43dcefa3e8
a9a10382236404d65cd7909adf12bf41b6a59085
/django_and_full_stack/multi_madlib/web_madlib/web_madlib/views.py
de5b1f7511c5e47a2d346ade9d3fcb4dd9a746ed
[]
no_license
shedwyn/codeguild
9718038613d082b3a21f2b4ba56cf6cbb282606a
db792b1a13b32d6b135398b21f6a5124a75c639b
refs/heads/master
2020-04-06T14:36:03.617029
2016-09-20T19:48:38
2016-09-20T19:48:38
55,080,413
0
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
""" Python Coding Bootcamp (pdxcodeguild) Code File for web_madlib/views.py by: Erin Fough and Matthew James K on 5/9/2016 """ from django.http import HttpResponse def get_httpresponse_to_request(request=[], sentence=''): """ This function accepts the sentence for each numbered request, and the re...
[ "shedwyn@gmail.com" ]
shedwyn@gmail.com
5ef24cba12de0d3932574c98055682b47fb59215
faca44e8424959ecd04098ccf936e6f5f80c8465
/lessons/103-datetime.py
d4e481bf984cf1eaf889fa304cda67ee528e858a
[]
no_license
craymaru/python_practice
01b0153631d83b2566e31a54346110f632412703
7616cbb945f432aa80d43408631b59afb90bf0f5
refs/heads/master
2021-05-20T10:12:07.245941
2020-05-19T14:33:14
2020-05-19T14:33:14
252,242,720
0
0
null
null
null
null
UTF-8
Python
false
false
908
py
import datetime print("datetime:") now = datetime.datetime.now() print(now) print(now.isoformat()) print(now.strftime("%d/%m/%y-%H%M%S%f")) today = datetime.date.today() print(today) print(today.isoformat()) print(today.strftime("%d/%m/%y")) t = datetime.time(hour=1, minute=10, second=5, microsecond=100) print(t) p...
[ "craymaru@gmail.com" ]
craymaru@gmail.com
3f0729620abccdeb6d4a9f3848fc18bcc0de6521
0103046cd77e9f86ccde477736de36bba766ceb6
/src/sentry/migrations/0143_add_alerts_integrationfeature.py
8ebf10baaca631b26cd1f6b68dae5ac7c842b3e8
[ "BUSL-1.1", "Apache-2.0" ]
permissive
kaozdl/sentry
ad41ada649a20300e9f2fe69050200cfbf738a63
63d698f5294f64a8c206b4c741e2a11be1f9a9be
refs/heads/master
2021-06-21T18:24:21.713064
2021-03-04T19:45:20
2021-03-04T19:45:20
198,681,569
0
0
BSD-3-Clause
2019-07-24T17:32:29
2019-07-24T17:32:28
null
UTF-8
Python
false
false
2,008
py
# Generated by Django 1.11.29 on 2020-12-10 23:55 from django.db import migrations import sentry.db.models.fields.bounded class Migration(migrations.Migration): # This flag is used to mark that a migration shouldn't be automatically run in # production. We set this to True for operations that we think are ri...
[ "noreply@github.com" ]
kaozdl.noreply@github.com
72bd965eb35957d66906599b19f40556c0cd940b
06e34e2dface0b87fa785cab7e65422a5f20ba18
/Solutions/1822.Sign of the Product of an Array/python.py
efc08c79677082b17cc8158628db075c809fd996
[]
no_license
JerryHu1994/LeetCode-Practice
c9841b0ce70451c19c8a429a3898c05b6233e1d4
b0ce69985c51a9a794397cd98a996fca0e91d7d1
refs/heads/master
2022-02-10T04:42:28.033364
2022-01-02T04:44:22
2022-01-02T04:44:22
117,118,143
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
class Solution: def arraySign(self, nums: List[int]) -> int: ans = 1 for n in nums: if n < 0: ans *= -1 elif n == 0: return 0 return ans
[ "hjr01211@gmail.com" ]
hjr01211@gmail.com
bba941cbd7a031aba596f35b0cd5f58040fc39ac
9d35f59c102236581e010e24ae39dd4a1c876aca
/fbauth/managers.py
f818d969d504b5fb08a0ddfbddc0c210e9ea6709
[ "MIT" ]
permissive
Tuss4/django-fb-oauth
195d30f19b7fa3b43cf1b337c2178fffb1c4a7ef
9098ab3ea77e7695affd5c793c35d05ae61b1cdb
refs/heads/master
2021-07-17T17:30:09.435330
2016-02-07T08:02:45
2016-02-07T08:02:45
51,091,583
2
0
MIT
2021-06-10T18:27:59
2016-02-04T17:10:42
Python
UTF-8
Python
false
false
408
py
from django.db import models from django.contrib.auth import get_user_model class FBManager(models.Manager): """Manager method to create a Facebook User""" def create_fb_user(self, fb_id, token, **kwargs): user = get_user_model().objects.create_user(**kwargs) fbt = self.model(user=user, face...
[ "tuss4dbfn@gmail.com" ]
tuss4dbfn@gmail.com
3b7113ec2fe7f30d44c4a0e4f1c9e0a04ee4f474
360e1f69f4c0923c5d79bc82aa33c0fd4e80b71e
/RECURSION/subsets.py
f334469a9f4ddc3cb74e3afb1d219f81e37a0ac4
[]
no_license
Vijay1234-coder/data_structure_plmsolving
04e52fe6c918313e13d39107a2ded8b47645bb12
d449b266295d1ae55613cdcfd9b22ad9cee3dfbe
refs/heads/master
2023-08-01T00:55:28.825972
2021-09-12T15:20:12
2021-09-12T15:20:12
387,782,783
1
0
null
null
null
null
UTF-8
Python
false
false
252
py
def subSets(arr,index,sub): if index==len(arr): if len(sub)!=0: print(sub) else: subSets(arr,index+1,sub) subSets(arr,index+1,sub+[arr[index]]) return sub arr = [1,2,3] n = len(arr) subSets(arr,0,[])
[ "77201164+Vijay1234-coder@users.noreply.github.com" ]
77201164+Vijay1234-coder@users.noreply.github.com
016c0b20397a06625c09871ea2375ffd3f6a0c97
dfe2a52a1c36a28a8bf85af7efd42380d980b773
/virtual/lib/python3.6/site-packages/registration/migrations/0001_initial.py
5c56041a6ca8b00eff3ae7668f2cfc0281c5d363
[ "MIT" ]
permissive
virginiah894/Instagram-clone
2c2a15d89fcdb25b22bd60428cf84a01f3bd553c
4d8abe7bafefae06a0e462e6a47631c2f8a1d361
refs/heads/master
2022-12-10T06:56:21.105357
2020-01-07T14:14:50
2020-01-07T14:14:50
229,394,540
3
0
MIT
2022-12-08T03:23:40
2019-12-21T07:41:19
Python
UTF-8
Python
false
false
1,159
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.Create...
[ "virgyperry@gmail.com" ]
virgyperry@gmail.com
e89bf19c8f53855bfc3e1277c31a3391c13eeba9
33621e000244ef274de9f4da3f1afc83a130414f
/tests/test_version.py
231a11632b4ac9665f625fd51b51dbfbda2a92cb
[ "MIT" ]
permissive
pombredanne/i18nspector
8901b7dd39b2a9e662edd0870906bbe683ba1960
abf543ccad9034e6278af0ba1bb6a384193c799b
refs/heads/master
2021-01-19T20:09:06.069438
2017-07-04T08:26:38
2017-07-04T08:26:38
83,740,280
0
0
null
2017-07-04T08:26:39
2017-03-03T00:50:28
Python
UTF-8
Python
false
false
1,911
py
# Copyright © 2012-2013 Jakub Wilk <jwilk@jwilk.net> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the “Software”), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, mer...
[ "jwilk@jwilk.net" ]
jwilk@jwilk.net
8e281a5b517d5197c5e02452a34be7e31c26bc61
5191423bc86a4e56845c737b4ce6853f3faef90e
/pytautulli/const.py
705a83cdab7eff5546a0fac20c880319ed7c337e
[ "MIT" ]
permissive
ludeeus/pytautulli
075d354d03a50dab0ffb7d9425bb4015c1ff443d
0cf5b826c2033882b582287bbd0056d81a30065f
refs/heads/main
2023-04-09T15:51:02.346720
2023-02-04T14:35:39
2023-02-04T14:35:39
141,796,012
2
5
MIT
2023-03-29T06:59:02
2018-07-21T08:46:33
Python
UTF-8
Python
false
false
374
py
"""Pytautulli constants.""" from enum import Enum from logging import Logger, getLogger API_HEADERS = {"Content-Type": "application/json"} LOGGER: Logger = getLogger(__package__) ATTR_RESPONSE = "response" ATTR_DATA = "data" class HTTPMethod(Enum): """HTTPMethod Enum.""" GET = "GET" POST = "POST" ...
[ "noreply@github.com" ]
ludeeus.noreply@github.com
945cbd4408c837958ac33a2794a1fa4bf98b2e3e
0a3c85ca1388a6e9935509a0488f4027f40986f8
/tests/issues/test_477.py
db9dd56244047b7eaa042b6be812e4e239298667
[ "Apache-2.0" ]
permissive
langitem/hgvs
cbf4c9f22f4e8bd0523a8948e63b3bc95599c7ff
0dac443b9dc565c7fdca5a4b8de40b3fea7624f4
refs/heads/master
2020-04-18T00:37:30.157853
2019-02-25T19:24:59
2019-02-25T19:24:59
167,084,812
0
0
Apache-2.0
2019-02-16T01:57:14
2019-01-22T23:42:34
Python
UTF-8
Python
false
false
3,213
py
import pytest from hgvs.exceptions import HGVSInvalidIntervalError tests = ( # {"c": "", "g": "", "rs": "" }, # GPHB5, GRCh37 https://www.ncbi.nlm.nih.gov/gene/122876 {"c": "NM_145171.3:c.-63A>G", "g": "NC_000014.8:g.63785599T>C", "rs": "GPHB5/GRCh37/rs1299953722", "ex": HGVSInvalidIntervalError }, {...
[ "reecehart@gmail.com" ]
reecehart@gmail.com
3588bec4261cc0eb788f5aa02ad1e5db0f2d19ec
db9b3be76bb5502d0b11a23ee829efbe328d68b2
/python/decoretors/actual decorator/using_decorator.py
c32ca1660ad581167ad793785de47c1c3cd8ed78
[]
no_license
NARESHSWAMI199/python
2cdf240a8610815b4fb64fcb3e8beeafd3191aab
4896345ea2af623c76b06083bcfb38d90f318c88
refs/heads/master
2020-12-01T16:47:49.974094
2019-12-29T04:32:03
2019-12-29T04:32:03
230,702,606
1
0
null
null
null
null
UTF-8
Python
false
false
881
py
from functools import wraps def decorator(func): @wraps(func) def warpper(*args, **kwargs): # this args take as a tuple ''' this is a warpper function''' print("this is a awsome function ") return func( *args,**kwargs) # also use return here beacuse some function will return someth...
[ "swaminaresh993@gmail.com" ]
swaminaresh993@gmail.com
dc6194d9f9bf211787a355e6de94714e28514b5e
6b63845777e94a06ebd4c728fee3fb3127d97033
/setup.py
a32d9928d614164775df821d7305e5b6c3d84670
[ "BSD-2-Clause" ]
permissive
mstaniszczak/python-redis-lock
86c517a6d8b825ac767c8f6cd06f59519e0bf973
5cfa2f48cb06940355fb7776b16742b32c779571
refs/heads/master
2020-07-26T08:13:31.863248
2019-11-18T14:45:35
2019-11-18T14:45:35
208,586,940
0
0
BSD-2-Clause
2019-09-15T11:56:11
2019-09-15T11:56:10
null
UTF-8
Python
false
false
2,945
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import from __future__ import print_function import io import re from glob import glob from os.path import basename from os.path import dirname from os.path import join from os.path import splitext from setuptools import find_packages fro...
[ "contact@ionelmc.ro" ]
contact@ionelmc.ro
1934058aa2a961fccfeb79e210fbfa47f3df6f84
67cb31c6ac800dd8a3b6f9cfde21bf619871d0de
/two-sum-closest.py
7523709d919495e37dda24deade2815c905528a7
[]
no_license
onestarshang/leetcode_onestar
93a5fbafaa49bb7f186eafdee5accc031c8893db
2d6f1235b0ce311a0a2e46f157521430f17140e1
refs/heads/master
2021-01-19T20:30:49.169149
2017-06-16T05:12:58
2017-06-16T05:12:58
88,514,095
3
1
null
null
null
null
UTF-8
Python
false
false
817
py
# coding=utf8 ''' 找到两个数字使得他们和最接近target nums = [-1, 2, 1, -4],target = 4. 最接近值为 1 ''' class Solution: # @param {int[]} nums an integer array # @param {int} target an integer # @return {int} the difference between the sum and the target def twoSumClosest(self, nums, target): # Write your code...
[ "onestar1967@gmail.com" ]
onestar1967@gmail.com
dbaee83d67af86e8bc68165648dfd407ad7f3b3f
54ab0f79f5d68f4732ca7d205f72ecef99862303
/torch/distributed/fsdp/_fsdp_extensions.py
1f087f44b573970d1e27e823f8ddbd18f756a8ca
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
csarofeen/pytorch
a9dd0f8ffa0642d72df2d5e109a8b4d9c2389cbc
e8557ec5e064608577f81e51ccfe7c36c917cb0f
refs/heads/devel
2023-04-30T02:42:13.558738
2023-03-14T00:50:01
2023-03-14T00:50:01
88,071,101
35
10
NOASSERTION
2023-06-21T17:37:30
2017-04-12T16:02:31
C++
UTF-8
Python
false
false
3,174
py
from abc import ABC, abstractmethod from typing import Any, List, Optional, Tuple import torch import torch.distributed as dist from torch.distributed._shard.sharded_tensor.api import ShardedTensor from torch.distributed._shard.sharded_tensor.shard import Shard from torch.distributed.fsdp._shard_utils import _create_c...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
3cf3c1f1d35bc706b4bad88d510bd47402af2346
c487885e2b43f1dbaa8b06a6ad379550a6d8de16
/work/022-web-crawl/program.py
830209341c6466bf3b46af269bdcfc7aa8d367bb
[]
no_license
tbrlpld/100daysofweb-with-python-course
3395a9d055e7e0d9b04785a48fe7dbd5e8d3a080
6b80c01a33d144107fe1bebe402f22cf23fc5408
refs/heads/master
2023-01-24T10:57:17.308107
2020-09-07T01:02:57
2020-09-07T01:02:57
215,710,767
2
0
null
2023-01-05T14:54:23
2019-10-17T05:34:23
JavaScript
UTF-8
Python
false
false
1,050
py
import requests import bs4 from colorama import Fore def get_html(episode_number: int) -> str: print(Fore.YELLOW + f"Getting HTML for episode {episode_number}", flush=True) url = f'https://talkpython.fm/{episode_number}' resp = requests.get(url) resp.raise_for_status() return resp.text def get...
[ "tibor@lpld.io" ]
tibor@lpld.io
f6719e445232e1c84992d697f3fcc76afaf4c267
7e96ba20c25c6fb56af6ccd36b3b6d68df6a081c
/Kyle_Marienthal/DJANGO/wishlist/apps/wish_app/urls.py
d928425723734900ca75a11317fa753b0ac948ee
[]
no_license
CodingDojoDallas/python_september_2017
9d8cd74131a809bc6b13b7f465594cf8b1e2fd75
f9f2f7b39bf9c4fceda3df5dc7424164aa5d5df5
refs/heads/master
2021-01-23T08:52:22.899994
2017-10-30T17:00:55
2017-10-30T17:00:55
102,558,291
2
14
null
2018-01-13T05:28:34
2017-09-06T03:28:38
Python
UTF-8
Python
false
false
557
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^dashboard$', views.dashboard, name='dashboard'), url(r'^wish_item$', views.wish_item, name='wish_item'), url(r'^create$', views.create_item, name='create_item'), url(r'^show_wish/(?P<id>\d+)$', views.show_wish, name='show_wish')...
[ "kylemarienthal@gmail.com" ]
kylemarienthal@gmail.com
2569b26ea00537888870b42898de01514eb98c50
a873f3cd46a10ad879fc56d78e1f533d8bf486c0
/vova_project/vova_resful/接口/loc3.py
1ebd4430df919e0ff85e243af0f32555921ed583
[]
no_license
shenhaiyu0923/resful
d0301b39363e6b3d3659f62fa4a9b2532ebcd225
1e66cae7d68fa231794776953cc1a5e999bf36c6
refs/heads/master
2021-07-08T20:46:57.300298
2021-06-01T08:17:27
2021-06-01T08:17:27
244,308,016
2
1
null
null
null
null
UTF-8
Python
false
false
2,299
py
from locust import HttpLocust, TaskSequence, task, TaskSet from pprint import pprint from random import randint import os ''' 1. 实现登陆基本功能,输出响应,脚本正确 2. 多用户随机登陆:在doLogin方法里构造随机数据。 -LR:参数化 Jmeter : 参数化 3. 添加初始化方法on_start:类似于构造方法,每个用户只运行一次 4. 添加检查点:断言 - 在请求方法中设置catch_response参数为True - 调用success和feature方法标注成功或失败 ''' # 任...
[ "1802161998@qq.com" ]
1802161998@qq.com
96702d0e44ae4a9a31a61c1639af7cc8917fd069
7e72e16f43170749dada023624a88fd622727639
/jdcloud_sdk/services/monitor/models/DescribeAlarmingRulesEnd.py
05a8f48f0d26c1478fdc96f2918611bc48513a30
[ "Apache-2.0" ]
permissive
jdcloud-demo/jdcloud-sdk-python
4dc1e814217df16c5f60f5e4b3f8260b770f9d2b
fddc2af24031c597948b8b8091978ac7e01a2695
refs/heads/master
2020-07-11T18:19:59.688112
2019-08-23T05:55:18
2019-08-23T05:55:18
204,613,050
0
0
null
null
null
null
UTF-8
Python
false
false
1,320
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # 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 ...
[ "oulinbao@jd.com" ]
oulinbao@jd.com
728e0e56dc869b0274f7b832fdc35d1ddddf9393
57da072d37d59f00301e7483fdee067a244f24ce
/autobots/spider/test.py
16cdf605c823d2c3aa45aba5b337bb417a119592
[]
no_license
KonroyZhu/auto_project
47919879e5f4b78ef082e7e76be2c2bb958018d3
c0f10e8ee24342ede402a5694a20d160322eb8c1
refs/heads/master
2021-03-30T21:17:46.470105
2018-03-10T09:41:44
2018-03-10T09:41:44
124,640,575
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities url="https://www.baidu.com/" driver=webdriver.PhantomJS() dcap=dict(DesiredCapabilities.PHANTOMJS) dcap["phantomjs.page.settings.userAgent"]=(" Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 F...
[ "1433192948@qq.com" ]
1433192948@qq.com
cee42ce181f4e1b5dfe899aa01006622846891c3
1a6c2be5ff1a8364c97a1ede23c824b2579ecf79
/tfx/tools/cli/kubeflow_v2/commands/run_test.py
46bb0730fdc04d5a2c3f65c8b83d3ee5b7b8f0ea
[ "Apache-2.0" ]
permissive
418sec/tfx
fa1a4690df2178e9c6bd24f97df0bbde7436df95
df1529c91e52d442443eca5968ff33cf0a38dffa
refs/heads/master
2023-04-18T12:25:38.098958
2021-04-28T16:11:00
2021-04-28T16:11:00
333,769,030
2
1
Apache-2.0
2021-04-28T16:11:01
2021-01-28T13:35:14
null
UTF-8
Python
false
false
1,587
py
# Copyright 2020 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
689cb975bfecd8db5e093abf10d4ce088eda3841
77c2010bb9533ecbdfa46cd41c16ee5ae26e94fa
/blog/urls.py
f47fe3383b5e4c15a25bebd8f057c5476da21240
[]
no_license
dimansion/portfolio-django
b2cbb28dff97dd03cdf795f0bc661d39bcfae83d
2dffe0e8579b2a426cb7aceb1ee085933b122d90
refs/heads/master
2020-05-23T08:15:38.205372
2017-03-05T14:44:14
2017-03-05T14:44:14
70,251,368
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
from django.conf.urls import url from django.contrib import admin from .views import ( post_list, post_create, post_detail, post_update, post_delete, ) urlpatterns = [ url(r'^$', post_list, name='list'), url(r'^create/$', post_create), url(r'^(?P<slug>[\w-]+)/$', post_detail, name='detail'), url...
[ "dimansional@gmail.com" ]
dimansional@gmail.com
952a83fef5c7290c002d8325d0d09c4de2fc2f89
94d5467b1315791fa75165eb862fdd8fef300958
/yunyan_baotou/src/user_prob/bak/prob_trans.py
5c962bdbf3d75cd901bff55b83083745fea7fde2
[]
no_license
scmsqhn/code
e31926174c247d49c1db8f121e3ec1b82f8a2d9d
b389d7dc5fafad8a4185a03cd6d5519ccf8f99df
refs/heads/master
2022-12-09T05:37:07.065840
2019-05-14T01:55:07
2019-05-14T01:55:07
185,903,771
1
0
null
2022-12-08T05:05:51
2019-05-10T02:22:28
Python
UTF-8
Python
false
false
448
py
#P={'B': {'E': -0.510825623765990, 'M': -0.916290731874155}, # 'E': {'B': -0.5897149736854513, 'S': -0.8085250474669937}, # 'M': {'E': -0.33344856811948514, 'M': -1.2603623820268226}, # 'S': {'B': -0.7211965654669841, 'S': -0.6658631448798212}} P={'B': {'E': -3.2770032528476309, 'M': -1.030296703073057}, 'E': {'B': -...
[ "2364839934@qq.com" ]
2364839934@qq.com
d923053a034a799be752fd757cda0a0a54a7f8e4
b3c3b09a2abc71b35fc54da16f2b4d88b254fc4b
/zerver/views/development/integrations.py
fba4308be9525cf13491593a658ca06e12e346b9
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
yovanycunha/zulip
2fc57ba2f35736d13b609f763e1b36f6686c4a80
339f742578c15cc9c72d44963e621986629818bb
refs/heads/master
2020-09-03T04:12:41.356314
2019-11-03T22:02:37
2019-11-03T23:51:19
219,382,296
1
0
Apache-2.0
2019-11-03T23:51:44
2019-11-03T23:51:44
null
UTF-8
Python
false
false
5,681
py
import os import ujson from typing import Any, Dict, List from django.http import HttpRequest, HttpResponse from django.shortcuts import render from django.test import Client from zerver.lib.integrations import WEBHOOK_INTEGRATIONS from zerver.lib.request import has_request_variables, REQ from zerver.lib.response imp...
[ "tabbott@zulipchat.com" ]
tabbott@zulipchat.com
45d3ae300ef4fa451f0e6b75cff19ba93f979adc
aa0270b351402e421631ebc8b51e528448302fab
/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp/operations/_protection_policy_operation_results_operations.py
58b5481810d826165bfeac369e00feb3a9394861
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
7,201
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
5ac37bff1e1c67144707a66c27ca55b95a253605
e1b8fb9a5500516f28d3d7e9a5f259c49ef35f14
/top/api/rest/ItempropvaluesGetRequest.py
1641824f67bf20947dfd5c1e6d7cc49197575d1e
[]
no_license
htom78/taobao_comet_py
9224dbca1a413a54bcc5569873e4c7a9fc9ba059
ad8b2e983a14d3ab7665244449f79dd72f390815
refs/heads/master
2020-05-17T10:47:28.369191
2013-08-27T08:50:59
2013-08-27T08:50:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
''' Created by auto_sdk on 2013-06-16 16:36:02 ''' from top.api.base import RestApi class ItempropvaluesGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.cid = None self.fields = None self.pvs = None self.type = None def getapin...
[ "tomhu@ekupeng.com" ]
tomhu@ekupeng.com
ef5540685a093ff38d640fd18b6e7e5528ee2196
8292648c36f4b1e8eb70c0992eec3737dc7d7749
/exam_practice/Samples/Sample 6/sample_6.py
fb8d6c663edd847d65fb057da8c8f45486bd82f2
[]
no_license
LukeElliman/Sandbox
6f4dc2b57db4475dab376fa4de8ec7b3a0cd238e
519ab171c121ca7f7dc22c484836314b816033be
refs/heads/master
2023-05-24T06:53:57.638685
2021-06-05T12:57:12
2021-06-05T12:57:12
344,040,938
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
def count_words(sentence): """Count words in sentence""" words = sentence.split(" ") return len(words) print(count_words("This is a sentence with words in it")) print(count_words(("Hello, my name is Luke, whats your's?")))
[ "luke.elliman@my.jcu.edu.au" ]
luke.elliman@my.jcu.edu.au
e384b0b89ef2675764b8f90db90e2618a131954f
0e3d0ac18a0605c26ac004c6da904d06d1f93ad0
/decorators_exercise/execution_time.py
1c81a3a6fb46897c9dd2a914709b3568ab0a67a0
[]
no_license
lion963/Python-OOP
a74c85918bf7400dc5ffc82ff4c02b699969b1b1
24d184030f6cac8288d27a17cecb64bd133c1cf6
refs/heads/main
2023-04-06T05:48:53.945037
2021-04-15T07:28:35
2021-04-15T07:28:35
333,083,111
0
1
null
null
null
null
UTF-8
Python
false
false
493
py
import time def exec_time(func): def wrapper(*args): start_time = time.time() func(*args) return time.time() - start_time return wrapper @exec_time def loop(start, end): total = 0 for x in range(start, end): total += x return total print(loop(1, 10000000)) @e...
[ "lion963@mail.bg" ]
lion963@mail.bg
3b20d8bc8956d16dfbb697f43dec97305b5fa7df
8ef6dbdd3791dd7fbe1320483a22e0540c54359b
/Core Python/Dictionary/19Nested.py
83bae4d2c11b6adf2d1a3a4876f39b5fc4330d28
[]
no_license
kundan4U/Python
8095eecba088910d2068a6375c907d47f2bb9c95
6b3fdbe66edb52e9f612352abb9c6563547b6297
refs/heads/main
2023-06-24T06:29:43.770282
2021-07-21T18:40:11
2021-07-21T18:40:11
388,213,053
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
# Nested Dictionary # Empty NEsted dictionary z={ 1:{}, 2:{}, 3:{} } # Access Element a = {'course':'python','fees':15000,1:{'course':'javaScript','fees':100000}} print(a['course']) print(a[1]) print(a[1]['fees'],"\n") # Modifi Element print("Before Modifieng",a) a['course']= 'Machine Learning' print(" After ...
[ "kc946605@gmail.com" ]
kc946605@gmail.com
04facd847cbb9cda0046a3abb22c61f30f0cee65
6f844abf7c436a4ae3444744c523f5f1fe6367a4
/UserBase/migrations/0016_auto_20171123_1931.py
fb52007d0c78de3f27659bd6a8992c3d97a6bb13
[]
no_license
deepakbhamla/Halanx_Backend_Task
1dd02a1061eb4d4f6072a3276735cb606dfec752
acda98c6b79690689317585dd06cf0c1cfc65192
refs/heads/master
2022-04-12T10:02:29.740781
2020-03-12T12:17:22
2020-03-12T12:27:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-23 14:01 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('UserBase', '0015_customer_profilepic'), ] operations = [ migrations.AlterFie...
[ "patel.ayush08@gmail.com" ]
patel.ayush08@gmail.com
84bf444bf1e614422ec13359d22a0d727da1ca4c
d9e0585e57b482d91e8af7514e683e2488e23381
/dbcog/models/leader_skill_model.py
804712af51304155ae45a7a870eda7e86f31d374
[ "MIT" ]
permissive
TrendingTechnology/pad-cogs
d08abb8da8bf2763a4091a29139168d8c1d2333a
b913a4e16a6473b8b53fae4bda564bedcc82c876
refs/heads/master
2023-08-11T01:10:22.088761
2021-09-19T00:41:43
2021-09-19T00:41:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,847
py
import re from .base_model import BaseModel class LeaderSkillModel(BaseModel): def __init__(self, **kwargs): self.leader_skill_id = kwargs['leader_skill_id'] self.name_ja = kwargs['name_ja'] self.name_en = kwargs['name_en'] self.name_ko = kwargs['name_ko'] self.max_hp = kw...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
46a00379b4971f43bbcd75efd489630c9201401e
470c6e447c7ee6daed90a0bf1216e2fb838282b6
/rtl/tasks/open.py
1b982debfdebfb9d21abbbfe2a35895eedbfcc43
[ "Apache-2.0" ]
permissive
kelceydamage/raspi-tasks
d0300173b2eba274a5c0a974b7ecb8817586d22d
18aa323e3e2428c998b7472c226d05a00c8ae8c2
refs/heads/master
2020-07-02T11:55:27.276343
2019-08-10T06:42:42
2019-08-10T06:42:42
201,520,835
1
0
null
null
null
null
UTF-8
Python
false
false
3,396
py
#!/usr/bin/env python3 # ------------------------------------------------------------------------ 79-> # Author: ${name=Kelcey Damage} # Python: 3.5+ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the Lice...
[ "kdamage@palantir.com" ]
kdamage@palantir.com
4d2c140c6db6f542dc0a49fd239d9fe840daa562
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/msData/datatypes/Facets/double/double_enumeration002.py
59133e9f2219248cc567d675c7fac346d16f2afd
[ "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
273
py
from output.models.ms_data.datatypes.facets.double.double_enumeration002_xsd.double_enumeration002 import FooTypeFoo from output.models.ms_data.datatypes.facets.double.double_enumeration002_xsd.double_enumeration002 import Test obj = Test( foo=FooTypeFoo.VALUE_1_1 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
5930d4f80c56d4ac4735ccaa84bd96cd822d5d74
13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab
/home--tommy--mypy/mypy/lib/python2.7/site-packages/statsmodels/graphics/tests/test_boxplots.py
503c5cc20c15d3e577a1709b13de1418c79ccd3c
[ "Unlicense" ]
permissive
tommybutler/mlearnpy2
8ec52bcd03208c9771d8d02ede8eaa91a95bda30
9e5d377d0242ac5eb1e82a357e6701095a8ca1ff
refs/heads/master
2022-10-24T23:30:18.705329
2022-10-17T15:41:37
2022-10-17T15:41:37
118,529,175
0
2
Unlicense
2022-10-15T23:32:18
2018-01-22T23:27:10
Python
UTF-8
Python
false
false
2,315
py
import numpy as np from numpy.testing import dec from statsmodels.graphics.boxplots import violinplot, beanplot from statsmodels.datasets import anes96 try: import matplotlib.pyplot as plt have_matplotlib = True except: have_matplotlib = False @dec.skipif(not have_matplotlib) def test_violinplot_beanpl...
[ "tbutler.github@internetalias.net" ]
tbutler.github@internetalias.net
3c2c612f1ce660f79c63116378101afddeb27721
cc4d7a0dc58e70379fda3d1f6b75c7b70ad1e205
/UDEMY/numbers.py
42aaed7267cc1885a724c942be82aff76500f3f3
[]
no_license
evamaina/Python_practice
2da766d61c111135285323aa2b8fb50ee5b31be1
ecd6c255dc66b2dc6f2cd81ec79bc42a241bfca1
refs/heads/master
2020-03-24T00:08:17.911604
2018-07-25T09:17:41
2018-07-25T09:17:41
142,275,510
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9] # Modify the method below to make sure only even numbers are returned. def even_numbers(): evens = [] for number in numbers: if number % 2 == 0: evens.append(number) return evens # Modify the below method so that "Quit" is returned if the choice p...
[ "evajohnson714@gmail.com" ]
evajohnson714@gmail.com
fd4b14a27556c53af09d1ab430e96ecf11199d9c
7c7c3a34b266e664cf63f710ae5aff5587672c91
/ALUS/countingBlobs/createTestingImagesFile.py
1c4ad82a1afd8acf6aee2de2c29ef1da109498f2
[]
no_license
Schnei1811/PythonScripts
845594a886a1fecc81cf5d7c550abec325f006a3
89eb331357b7cea86f5b2d0b33089215b73f9481
refs/heads/main
2023-03-31T23:36:48.731570
2021-04-11T21:55:46
2021-04-11T21:55:46
356,950,318
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
import os from glob import glob from tqdm import tqdm import cv2 # img_dir = "G:\\PythonData\\ALUS\\ALUS_Data\\" # img_dir = "G:\\PythonData\\ALUS\\ALUS_Mixed_Test_Set\\" img_dir = "C:\\Users\\Stefan\\Desktop\\CountBlobs\\LCFCN-master\\ALUS_BL\\" # sizes = [1, 2, 3, 4, 5] sizes = [5] for div in sizes: if not ...
[ "stefan871@gmail.com" ]
stefan871@gmail.com
3254f277b9f7bc17109e5f0eb6f62261ecc84387
9d278285f2bc899ac93ec887b1c31880ed39bf56
/ondoc/diagnostic/migrations/0143_merge_20190102_1610.py
600e06ca0f55228ae1e74f57b7435416c88120fa
[]
no_license
ronit29/docprime
945c21f8787387b99e4916cb3ba1618bc2a85034
60d4caf6c52a8b70174a1f654bc792d825ba1054
refs/heads/master
2023-04-01T14:54:10.811765
2020-04-07T18:57:34
2020-04-07T18:57:34
353,953,576
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
# Generated by Django 2.0.5 on 2019-01-02 10:40 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('diagnostic', '0142_auto_20181229_0505'), ('diagnostic', '0139_auto_20181231_1658'), ] operations = [ ]
[ "navneetsingh@docprime.com" ]
navneetsingh@docprime.com