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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2578528564d2c4d90da1640f3c12ae6c73e0d8af | 83de24182a7af33c43ee340b57755e73275149ae | /aliyun-python-sdk-arms/aliyunsdkarms/request/v20190808/AddAliClusterIdsToPrometheusGlobalViewRequest.py | 608724ae8db521efd090e0e954135fd3239ee643 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-python-sdk | 4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f | 83fd547946fd6772cf26f338d9653f4316c81d3c | refs/heads/master | 2023-08-04T12:32:57.028821 | 2023-08-04T06:00:29 | 2023-08-04T06:00:29 | 39,558,861 | 1,080 | 721 | NOASSERTION | 2023-09-14T08:51:06 | 2015-07-23T09:39:45 | Python | UTF-8 | Python | false | false | 1,942 | 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
5a8fa192e306fa2337bd2ef329ae9a46e3d48ae0 | 6def8685a0de2e8df907834392a93205eb1d4f5f | /backend/msm_tc545_dev_14821/urls.py | 26cf4c94cc4093d986a29bd7d46d15863c9235c8 | [] | no_license | crowdbotics-apps/msm-tc545-dev-14821 | 03c1c0212e86f41bb1f28703d0b3a0312d278e60 | 2384578310b6e89bf4abd22d47c62e6290ab4e60 | refs/heads/master | 2023-02-15T22:32:10.980144 | 2021-01-07T02:20:27 | 2021-01-07T02:20:27 | 311,251,281 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,970 | py | """msm_tc545_dev_14821 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 |
d07a82c489ce5625ab702e7ed76c4caa890f41f0 | c11c27b07086e97c633a833d37787474724bd2d2 | /src/IJB-A/identification/train_svm/liblinear-2.1/python/liblinearutil.py | cb5e60beed8eaa93b579424a171d945e2c86b4c1 | [
"MIT",
"BSD-3-Clause"
] | permissive | willyspinner/High-Performance-Face-Recognition | d1826a73653dede6b43799439e4fb692f119c70b | c5caad61be97fd20f9c47a727278ff938dc5cc8f | refs/heads/master | 2020-06-22T16:36:29.663302 | 2019-07-19T09:41:47 | 2019-07-19T09:41:47 | 197,746,624 | 0 | 0 | MIT | 2019-07-19T09:42:00 | 2019-07-19T09:41:59 | null | UTF-8 | Python | false | false | 8,612 | py | #!/usr/bin/env python
import os, sys
sys.path = [os.path.dirname(os.path.abspath(__file__))] + sys.path
from liblinear import *
from liblinear import __all__ as liblinear_all
from ctypes import c_double
__all__ = ['svm_read_problem', 'load_model', 'save_model', 'evaluations',
'train', 'predict'] + libline... | [
"noreply@github.com"
] | willyspinner.noreply@github.com |
01f79e945aa8ede3d9d38abea3cc7b1fb8882ac5 | 0c8214d0d7827a42225b629b7ebcb5d2b57904b0 | /examples/fileio/E002_Packages/main.py | 19e09b50a6ebd79e9cb6f9d8ecd726852d7fd3a3 | [] | no_license | mertturkmenoglu/python-examples | 831b54314410762c73fe2b9e77aee76fe32e24da | 394072e1ca3e62b882d0d793394c135e9eb7a56e | refs/heads/master | 2020-05-04T15:42:03.816771 | 2020-01-06T19:37:05 | 2020-01-06T19:37:05 | 179,252,826 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 293 | py | # Example 022: Package example
from Calculator.Math import add
import Calculator.Test.testFile
import Calculator.UI.button as button
Calculator.print_info()
add.print_info()
Calculator.Test.print_info()
Calculator.Test.testFile.print_info()
button.print_info()
Calculator.UI.print_info()
| [
"mertturkmenoglu99@gmail.com"
] | mertturkmenoglu99@gmail.com |
cded64f961102cd11ec1e54dc84e92ce55d24117 | 8cccdb1ca93d1b7ed690eb096522262523948a72 | /accounting/apps/books/templatetags/nav.py | 689c89c26b6fdc2af3ddbe4cf8790bda85d185e3 | [
"MIT"
] | permissive | newhub-spec/django-accounting | 6b886378219dbed1d4f2ee34e71be198a7b28eb5 | 12b01a944d368ce717b57957d26d7aa4ecd04285 | refs/heads/master | 2020-08-21T08:06:41.318805 | 2019-10-19T06:33:41 | 2019-10-19T06:33:41 | 216,116,659 | 0 | 0 | MIT | 2019-10-18T22:35:01 | 2019-10-18T22:35:01 | null | UTF-8 | Python | false | false | 438 | py | # encoding: utf-8
import re
from django import template
register = template.Library()
@register.simple_tag
def active(request, pattern, exact_match=False):
if exact_match:
if not pattern.startswith('^'):
pattern = '^' + pattern
if not pattern.endswith('$'):
pattern = patt... | [
"dulacpier@gmail.com"
] | dulacpier@gmail.com |
24274aec2247b51c41ce5a5a4b1cd459f9cc1319 | 34799a9e04b8e22c9d364d1f5dcaea05ea204fcb | /test-suite/tests/__init__.py | f1a56342ffdb3195695527f95065e03ae96c467d | [
"Apache-2.0"
] | permissive | ken-ebert/indy-agent | 90fa0da1f3cf0203ef0d88278c8f97753afb7ad9 | ecd8a2cc927d762acf4c4263cc6d3fc115188c7e | refs/heads/master | 2020-04-01T15:42:59.523802 | 2018-10-17T23:24:18 | 2018-10-17T23:31:38 | 153,348,553 | 0 | 0 | Apache-2.0 | 2018-10-16T20:17:39 | 2018-10-16T20:17:39 | null | UTF-8 | Python | false | false | 695 | py | """ Module containing Agent Test Suite Tests.
"""
import asyncio
import pytest
from typing import Callable
from transport import BaseTransport
async def expect_message(transport: BaseTransport, timeout: int):
get_message_task = asyncio.ensure_future(transport.recv())
sleep_task = asyncio.ensure_future(asyncio... | [
"daniel.bluhm@sovrin.org"
] | daniel.bluhm@sovrin.org |
18d5543138466a911998784eecb91c9d030002f5 | ce76b3ef70b885d7c354b6ddb8447d111548e0f1 | /important_man/company/seem_company_up_thing.py | 78bc48efc26459683f86fab76e7a748d4698894e | [] | no_license | JingkaiTang/github-play | 9bdca4115eee94a7b5e4ae9d3d6052514729ff21 | 51b550425a91a97480714fe9bc63cb5112f6f729 | refs/heads/master | 2021-01-20T20:18:21.249162 | 2016-08-19T07:20:12 | 2016-08-19T07:20:12 | 60,834,519 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 251 | py |
#! /usr/bin/env python
def other_way(str_arg):
think_able_day_about_long_woman(str_arg)
print('bad_work_and_long_time')
def think_able_day_about_long_woman(str_arg):
print(str_arg)
if __name__ == '__main__':
other_way('next_week')
| [
"jingkaitang@gmail.com"
] | jingkaitang@gmail.com |
1c5c34211e4bc00f464ac84a0e9215cdd9aa535b | 3c2cc8910c4a333a44d2d7b22489ef8d5ddb6a13 | /src/zvt/factors/technical_factor.py | d0cc199697d42ffd729a0796da9dfaf84c4a99b8 | [
"MIT"
] | permissive | zvtvz/zvt | 6341dc765177b1e99727207f1608b730cbbb705a | 03aee869fd432bb933d59ba419401cfc11501392 | refs/heads/master | 2023-08-28T10:05:29.185590 | 2023-08-01T10:19:03 | 2023-08-01T10:19:03 | 179,451,497 | 2,782 | 922 | MIT | 2023-04-04T09:31:03 | 2019-04-04T08:06:57 | Python | UTF-8 | Python | false | false | 3,256 | py | from typing import List, Union, Type, Optional
import pandas as pd
from zvt.api.kdata import get_kdata_schema, default_adjust_type
from zvt.contract import IntervalLevel, TradableEntity, AdjustType
from zvt.contract.factor import Factor, Transformer, Accumulator, FactorMeta
from zvt.domain import Stock
class Techni... | [
"5533061@qq.com"
] | 5533061@qq.com |
10fc611f244c7439f29211b24a36261464ec5e9a | af05993925e3a7d57f074a26f3cd271efbeb1747 | /contrib/gis/utils/layermapping.py | a667e36095beba478e62cbf420776443498b10a8 | [] | no_license | tigerman-SFC/django_with_TimeStamp | b7a448a0f367d8e5761d32afb2dd1651926bc31d | 83708187b654ad157ad8d60410062b6d90c4a182 | refs/heads/master | 2021-01-06T20:39:47.412139 | 2017-08-07T05:37:42 | 2017-08-07T05:37:42 | 99,539,485 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 27,428 | py | # LayerMapping -- A Django Model/OGR Layer Mapping Utility
"""
The LayerMapping class provides a way to map the contents of OGR
vector files (e.g. SHP files) to Geographic-enabled Django models.
For more information, please consult the GeoDjango documentation:
https://docs.djangoproject.com/en/dev/ref/contrib/gi... | [
"root@debian"
] | root@debian |
55b52b8988367a4f538993e31d1b68bc5744700d | 636fae2d4fa7108c3cc30d55c9feef6dfd334cd8 | /NestedSerializer/api/models.py | d8890ec995bbea37c679ff6e986db7c5e1f2e14e | [] | no_license | anupjungkarki/Django-RESTFramework | 4ee3f5a46a98854284b45545d751822e27a715e1 | dc774c234de09f7e26c7fd5b84ba9359ecc75861 | refs/heads/master | 2023-02-15T02:34:46.421764 | 2021-01-11T08:04:15 | 2021-01-11T08:04:15 | 327,276,435 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 517 | py | from django.db import models
# Create your models here.
class Singer(models.Model):
name = models.CharField(max_length=100)
gender = models.CharField(max_length=100)
def __str__(self):
return self.name
class Track(models.Model):
title = models.CharField(max_length=100)
singer = models.F... | [
"anupkarki2012@gmail.com"
] | anupkarki2012@gmail.com |
c80f313a023ea0d6910870d6c5fbb40985a35628 | 00faae803cfa2e5c2f5e662f560eb61bd0074690 | /src/python2/request/item_attachment_request_builder.py | 998217a7f8acc20f524fc5a161c255abfc56cb1c | [
"MIT"
] | permissive | gojohnkevin/msgraph-sdk-python | 6dc00723489eddf013cff82d34d86d677b4d7ecf | 7714c11043e76e856876dd731c6c1df7b37cdbef | refs/heads/master | 2022-07-09T14:35:30.422531 | 2022-06-23T15:52:17 | 2022-06-23T15:52:17 | 85,160,734 | 0 | 1 | null | 2017-03-16T06:29:59 | 2017-03-16T06:29:59 | null | UTF-8 | Python | false | false | 3,157 | py | # -*- coding: utf-8 -*-
"""
# Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
#
# This file was generated and any changes will be overwritten.
"""
from __future__ import unicode_literals
from .item_attachment_reque... | [
"robert.anderson@microsoft.com"
] | robert.anderson@microsoft.com |
67ac08f194336d675fc9d64d633658f8fd86b045 | 8f6a9ff4c63fd24d145088077d5da1c3e4caaa3a | /code/fv_show.py | bec775f7e12c9d5a361048b6fb24b83528b2fb7c | [] | no_license | liaofuwei/pythoncoding | 6fd2afba0d27c4a4bbb4b2d321b3fa402a60d6fe | 966bd99459be933cf48287412a40e0c7a3d0b8e5 | refs/heads/master | 2021-07-15T10:34:57.701528 | 2017-10-10T05:27:13 | 2017-10-10T05:27:13 | 107,651,470 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 139 | py | import numpy as np
from matplotlib.pyplot import *
from pylab import *
pv=1000
r=0.08
t=linspace(0,10,10)
fv=pv*(1+r)**t
plot(t,fv)
show()
| [
"459193023@qq.com"
] | 459193023@qq.com |
a248fff8e70b831ad000f09123fad1ffa2eeeac6 | c1b8ff60ed4d8c70e703f71b7c96a649a75c0cec | /ostPython2/FTL_tester.py | ed22531b4ea6f2f193bd5c2a0186bb3d3106022b | [] | no_license | deepbsd/OST_Python | 836d4fae3d98661a60334f66af5ba3255a0cda5c | b32f83aa1b705a5ad384b73c618f04f7d2622753 | refs/heads/master | 2023-02-14T17:17:28.186060 | 2023-01-31T02:09:05 | 2023-01-31T02:09:05 | 49,534,454 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,800 | py | #!/usr/local/bin/python3
#
# File Type Lister Tester (FTL_tester.py)
# (tests FileTypeLister.py module)
#
# by David S. Jackson
# for OST Python 2 on Jan 15, 2015
#
# Instructor Pat Barton
#
"""This program calls the unittest module and tests the accuracy
of the program called FileType... | [
"deepbsd@yahoo.com"
] | deepbsd@yahoo.com |
7e411cb789425e93b5e414dc5fe79e491c5a3eac | eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7 | /google/cloud/dialogflow/cx/v3/dialogflow-cx-v3-py/google/cloud/dialogflowcx_v3/services/agents/transports/base.py | 48cfc1c41a55ee13a499105dde3b235955c93c4d | [
"Apache-2.0"
] | permissive | Tryweirder/googleapis-gen | 2e5daf46574c3af3d448f1177eaebe809100c346 | 45d8e9377379f9d1d4e166e80415a8c1737f284d | refs/heads/master | 2023-04-05T06:30:04.726589 | 2021-04-13T23:35:20 | 2021-04-13T23:35:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,003 | py | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | [
"bazel-bot-development[bot]@users.noreply.github.com"
] | bazel-bot-development[bot]@users.noreply.github.com |
8d4472313788528fd9bfe6d9946eaddceff01a1e | f3b233e5053e28fa95c549017bd75a30456eb50c | /bace_input/L4L/4L-3K_MD_NVT_rerun/set_5.py | 3e085633cdd1777fcdab3329d33720e37d1264e9 | [] | 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 | 740 | py | import os
dir = '/mnt/scratch/songlin3/run/bace/L4L/MD_NVT_rerun/ti_one-step/4L_3K/'
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 lam... | [
"songlin3@msu.edu"
] | songlin3@msu.edu |
53735cbef4d7f81e2d0940a29b398aa16adfcbe7 | 11f51735176e90f522db8d8250fcac4e28d03367 | /python_basic/ds-10.py | 2ea8e0d6259f9855dacc0e5aa76b02dfacedd5b7 | [] | no_license | schw240/Fastcampus_secondtest | 6d253c9d8e360e0f7c8927c902747981f452bbb6 | d89dc6d7dd031266abc6c0b51e51761c940123a4 | refs/heads/main | 2023-03-21T04:21:21.515959 | 2021-03-09T12:46:07 | 2021-03-09T12:46:07 | 340,637,342 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,220 | py | # 해쉬 테이블
# 키에 데이터를 저장하는 데이터 구조
# 파이썬은 딕셔너리가 해쉬로 구현되어있으므로 별도로 구현할 필요없음
# 간단하게 hash table 구현하기
hash_table = list([0 for i in range(10)])
#print(hash_table)
# 간단한 해쉬함수
# 가장 간단한 방식인 Division 방법(나누기를 통한 나머지 값을 사용하는 기법)
def hash_func(key):
return key % 5
# 해쉬 테이블에 저장해보기
# 데이터에 따라 필요시 key 생성 방법 정의
data1 = "Andy"
data... | [
"schw240@gmail.com"
] | schw240@gmail.com |
112511cf83912aae4b88c376b5789ef936473501 | ae4d4087fd03511be038e4c2c8959a2f64f79198 | /doc/misc_plots/nonstationary_phase_plot.py | 2afaa337fe8f888d113810f179aa0a4eeb82ef33 | [] | no_license | jaidevd/pytftb | 88a6a829bd9bf83dc358604f9463189b75513542 | daa5a171ac0d53af0b81c1afd1267f8016bb8fc4 | refs/heads/master | 2021-07-16T18:50:44.302042 | 2021-06-28T06:26:03 | 2021-06-28T06:26:03 | 25,037,207 | 2 | 3 | null | null | null | null | UTF-8 | Python | false | false | 311 | py | from tftb.generators import fmlin, amgauss
import numpy as np
import matplotlib.pyplot as plt
y_nonstat, _ = fmlin(2048) # Already analytic, no need of Hilbert transorm
y_nonstat *= amgauss(2048)
plt.plot(np.real(y_nonstat), np.imag(y_nonstat))
plt.xlabel("Real part")
plt.ylabel("Imaginary part")
plt.show()
| [
"deshpande.jaidev@gmail.com"
] | deshpande.jaidev@gmail.com |
d2037a1236a4acc57abdf3ddd0792e134f3e7ba6 | 3ea1a45f61932ae0e8b504beb137be2a7c303d06 | /例子-0819-05.函数的返回值.py | 25edb9a4351c71de01443432766084d826f064f0 | [] | no_license | blackplusy/0810 | 8e650f7ce0e5d93b30e266bc7eef13491e588881 | e91290a1b0bea9966a85808935837f9af861f86f | refs/heads/master | 2022-12-14T11:12:27.585683 | 2020-09-05T08:29:49 | 2020-09-05T08:29:49 | 286,350,675 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 449 | py | #coding=utf-8
#1.一个返回值
#定义sum函数,需要传入2个参数
def sum(a,b):
#业务逻辑,相加
jisuan=a+b
#返回计算结果
return jisuan
#通过变量接收函数操作后的结果,注意,一定要传入2个参数
a=sum(20,30)
print(a)
#2.多个返回值
def ret(a,b):
a*=10
b*=100
return a,b
num=ret(3,7)
print(num)
print(type(num))
num1,num2=ret(10,20)
print(num1,... | [
"noreply@github.com"
] | blackplusy.noreply@github.com |
c7d15d2d77af850d7e49a03f2d46dbb68ed9f81a | fa8011b6942cac7b23d2dc781f7ae16d2cfab7f2 | /gravoicy/config/settings_local.py | 554622a9e704c6cbfa4d4071777e3fd73ca0964f | [] | no_license | indexofire/gravoicy | be99ae4995e81bf823841857742e60d689f20b1b | a516af5ec67e720ea2f1f695f28afadfb938cff4 | refs/heads/master | 2020-05-18T12:53:55.020633 | 2011-03-24T15:07:05 | 2011-03-24T15:07:05 | 948,414 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,569 | py | # -*- coding: utf-8 -*-
import os
from settings import PROJECT_PATH
from config.settings_base import *
DEBUG = True
TEMPLATE_DEBUG = DEBUG
SECRET_KEY = '1F=(lta=1R9je3ze@g#fa^m#hJu^mv%@8+%fZ5p)*1$(*tvbh6'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': '../../grav_data.d... | [
"indexofire@gmail.com"
] | indexofire@gmail.com |
5a9db80ab7d58772f4e96ff0ac9215bcd6c3eaf3 | fbe1718ba12e41d45524fa2966087d9f24ae18c3 | /pydal/parsers/sqlite.py | ea2331cc4617cd10dbe4fde350160cc02b923d21 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | michele-comitini/pydal | b5ab988c7ce1ea149128bc70d9f133700f7a0de3 | b6cd09a8bb1c3a27cdcd02297453f74d4380e79c | refs/heads/master | 2020-12-25T05:07:52.401623 | 2016-05-26T02:17:01 | 2016-05-26T02:17:01 | 30,265,122 | 0 | 0 | null | 2015-02-03T21:19:56 | 2015-02-03T21:19:55 | Python | UTF-8 | Python | false | false | 531 | py | from decimal import Decimal
from ..adapters.sqlite import SQLite
from .base import ListsParser, TimeParser, JSONParser
from . import parsers, for_type, before_parse
@parsers.register_for(SQLite)
class SQLiteParser(ListsParser, TimeParser, JSONParser):
@before_parse('decimal')
def decimal_extras(self, field_ty... | [
"giovanni.barillari@gmail.com"
] | giovanni.barillari@gmail.com |
3c42be0f8099c9e7b8595aa69bbb9c8e1050e189 | 56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e | /CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/SUSYGluGluToHToTauTau_M-1000_8TeV-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467501/source_cfg.py | 87300ec1ff28def220494de84293ca0458b2af1f | [] | no_license | rmanzoni/HTT | 18e6b583f04c0a6ca10142d9da3dd4c850cddabc | a03b227073b2d4d8a2abe95367c014694588bf98 | refs/heads/master | 2016-09-06T05:55:52.602604 | 2014-02-20T16:35:34 | 2014-02-20T16:35:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,447 | py | ###SourceCFG: 98 GoodFiles; 0 BadFiles found in mask; Input prescale factor 1
files = ['/store/cmst3/group/cmgtools/CMG/SUSYGluGluToHToTauTau_M-1000_8TeV-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0/cmgTuple_100_1_15n.root', '/store/cmst3/group/cmgtools/CMG/SUSYGluGluToHToTauTau_M-1000_8Te... | [
"riccardo.manzoni@cern.ch"
] | riccardo.manzoni@cern.ch |
e6c7be41238f437bec8d2fb51724a27d7b44d87d | 86834273400f125863bb0dd0e8ad22561c119ce1 | /samples/minecraft_clone.py | 18425e66eb4c3030ee769be4f2cf44a1315ac6fb | [
"MIT"
] | permissive | uditmaherwal/ursina | 9b50ae4ebf9008f086328eaeb7c79aadd3414174 | 20c6c396224f6a3b75a93a3142c0efde810fb480 | refs/heads/master | 2021-01-26T02:25:01.987909 | 2020-02-23T18:54:06 | 2020-02-23T18:54:06 | 243,273,206 | 1 | 0 | MIT | 2020-02-26T13:47:23 | 2020-02-26T13:47:22 | null | UTF-8 | Python | false | false | 834 | py | from ursina import *
from ursina.prefabs.first_person_controller import FirstPersonController
app = Ursina()
class Voxel(Button):
def __init__(self, position=(0,0,0)):
super().__init__(
parent = scene,
position = position,
model = 'cube',
origin_y = .5,
... | [
"pokepetter@gmail.com"
] | pokepetter@gmail.com |
0eeaba4db845cf41823269d51753df9e2692a96e | 2d3165b94a2e2da533ab0e2f2daef78a4a0c9e10 | /DCNNDemo/models-1804/VGG_Deeplab.py | ae049d49b2b757067a524396742f6445f4396ea9 | [] | no_license | shen1994/DepthAwareStereo | 51599a792077fc7673238d45f0fedabf744891af | d6c33069c80c05e6ad711682dd3b22df34fed8fe | refs/heads/main | 2023-01-08T19:11:28.881366 | 2020-10-30T02:24:29 | 2020-10-30T02:24:29 | 303,873,340 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 22,457 | py | import math
import torch
import torch.nn as nn
import torch.utils.model_zoo as model_zoo
from model_utils import *
from ops.depthconv.modules import DepthConv
from ops.depthavgpooling.modules import Depthavgpooling
__all__ = [
'VGG', 'vgg11', 'vgg11_bn', 'vgg13', 'vgg13_bn', 'vgg16', 'vgg16_bn',
'vgg19_bn', 'v... | [
"you@example.com"
] | you@example.com |
6044707a842d423d814ff79bbe88165aa85c6a63 | 036a41c913b3a4e7ae265e22a672dd89302d3200 | /0201-0300/0202/0202_Python_1.py | 824b7df04f6dc998ee5063168448cdd780ec660e | [] | no_license | ChangxingJiang/LeetCode | e76f96ebda68d7ade53575354479cfc33ad4f627 | a2209206cdd7229dd33e416f611e71a984a8dd9e | refs/heads/master | 2023-04-13T15:23:35.174390 | 2021-04-24T05:54:14 | 2021-04-24T05:54:14 | 272,088,506 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 332 | py | class Solution:
def isHappy(self, n: int) -> bool:
already = set()
while n != 1:
if n in already:
return False
already.add(n)
n = sum([int(x) * int(x) for x in str(n)])
return True
if __name__ == "__main__":
print(Solution().isHappy(1... | [
"1278729001@qq.com"
] | 1278729001@qq.com |
fe3a796bb288f2ea2a15f6a1831131ee1055515f | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /third_party/WebKit/Source/devtools/scripts/jsdoc_validator/run_tests.py | c2625381bf84c0386fa8f16a076d312a87ec7283 | [
"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 | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | Python | false | false | 2,142 | py | #!/usr/bin/python
import hashlib
import operator
import os
import shutil
import stat
import subprocess
import sys
import tempfile
def rel_to_abs(rel_path):
return os.path.join(script_path, rel_path)
java_exec = 'java -Xms1024m -server -XX:+TieredCompilation'
tests_dir = 'tests'
jar_name = 'jsdoc_validator.jar'
... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
c006e1eef801f0d6aca2fd0af66ee80890b5f2fd | 9a9d6052f8cf91dd57be9a9b6564290b0fac9e52 | /Algorithm/JUNGOL/1. Language_Coder/반복제어문1/539_반복제어문1_자가진단4.py | 00e86ec0148550177bbba5b7f69cc431292e6dbc | [] | no_license | Gyeong-Yeon/TIL | 596ec6a093eec34a17dad68bcd91fa9dd08690e8 | eb1f43ee0525da93233b70716cd35caab8d82bda | refs/heads/master | 2023-03-31T19:56:30.979062 | 2021-03-28T13:09:27 | 2021-03-28T13:09:27 | 280,307,737 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 226 | py | input_li = list(map(int,input().split()))
i = 0
sum = 0
cnt = 0
for i in range(len(input_li)):
sum += input_li[i]
cnt += 1
if input_li[i] >= 100:
break
avg = sum / cnt
print(sum)
print("%0.1f" % (avg)) | [
"lky4156@naver.com"
] | lky4156@naver.com |
c2b29c30a1ad0e3e08788fff8ef7b6a2ca24bc5c | 6ab217b675b0d33dec9d8985efc2de314e3a7a28 | /menus/models/menu/__init__.py | a40593ebbc06d8b54c15b200eb232c440c133755 | [] | no_license | nujkram/dream_cream_pastries | 3547928af859ebbb93f8d6ff64d02796d8c61a0c | c6a764f4f2c16191661ee6747dc0daa896eae5ec | refs/heads/master | 2023-06-20T20:20:21.001373 | 2021-07-29T00:55:49 | 2021-07-29T00:55:49 | 375,721,861 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 87 | py | from .models import Menu
from .managers import MenuManager
from .admin import MenuAdmin | [
"markjungersaniva@gmail.com"
] | markjungersaniva@gmail.com |
4212810827fc696d2f652d89c4fb5a3ca5b8bcbf | dc222b7713453f4653da00fa8ce7a76d89c51e68 | /python_test/src/templates/crawler_2.py | 92f75f12a72f6a7c9bd5ddda0e469298768b28d1 | [] | no_license | aimeiyan/exercise | d935d48ddab90c55b8b9ac89e821abf117d5f609 | 617261af69db836a649bd4044f97bec7ab3e845d | refs/heads/master | 2020-05-20T11:36:34.698664 | 2014-02-18T11:27:44 | 2014-02-18T11:27:44 | 10,766,847 | 0 | 3 | null | null | null | null | UTF-8 | Python | false | false | 993 | py | __author__ = 'nancy'
from urllib import urlopen
from bs4 import BeautifulSoup
from urlparse import urlparse, urljoin
def get_and_extract_links(url):
html = urlopen(url).read()
soup = BeautifulSoup(html)
hrefs = soup.find_all('a')
urls = []
for a in hrefs:
href = a.get('href')
if h... | [
"aimeiyan@gmail.com"
] | aimeiyan@gmail.com |
9bf1c1a1ea823c79a6bf67c90744c7510431225d | 304033f60097c489cbc60aab639be45ccdbef1a5 | /algorithms/boj/brute_force/10819.py | c441a9bdf62e955e7f1408980bc52b89a3bffe5c | [] | no_license | pgw928/TIL | 3d0c47c07bd1f5c73826daf8579a2b0e3f93cb95 | 765906f1e6eecad4ad8ec9bf704041433d7eb304 | refs/heads/master | 2023-06-29T05:46:30.039815 | 2021-08-10T17:38:11 | 2021-08-10T17:38:11 | 288,923,095 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 262 | py | import sys
from itertools import permutations
input = sys.stdin.readline
N = int(input())
A = list(map(int, input().split()))
M = 0
for perm in permutations(A):
tmp = [ abs(perm[i+1]-perm[i]) for i in range(len(perm)-1)]
M = max(sum(tmp), M)
print(M)
| [
"pku928@naver.com"
] | pku928@naver.com |
c5ee9bd2b4b5e9e1dff46626f83b49a5ac8d4516 | 95e9ec4b3b0d86063da53a0e62e138cf794cce3a | /webroot/py1902/py1902/settings.py | b7b4e02bf8a11be11851ad956f67c31f2b3fafe1 | [] | no_license | wjl626nice/1902 | c3d350d91925a01628c9402cbceb32ebf812e43c | 5a1a6dd59cdd903563389fa7c73a283e8657d731 | refs/heads/master | 2023-01-05T23:51:47.667675 | 2019-08-19T06:42:09 | 2019-08-19T06:42:09 | 180,686,044 | 4 | 1 | null | 2023-01-04T07:35:24 | 2019-04-11T00:46:43 | Python | UTF-8 | Python | false | false | 5,392 | py | """
Django settings for py1902 project.
Generated by 'django-admin startproject' using Django 2.2.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
# Bu... | [
"18537160262@qq.com"
] | 18537160262@qq.com |
305dcded8a50a6e919ea59991bcdf5aeada117a3 | da1e8e6d9886cabe65887a5e2cfe3fe62c06a564 | /lab1/venv/bin/easy_install | ea69e4a6d164aa9262f47ff5cb644ba718f88864 | [] | no_license | serhiisad/Numerical_Analysis | d0f1a5ae652bf57354f472d3f239f23d4aae2a86 | acdc38d712011fdddc4bbb0aa6712d18745fdfc8 | refs/heads/master | 2020-04-16T04:49:08.128479 | 2019-01-11T17:29:16 | 2019-01-11T17:29:16 | 165,282,233 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 302 | #!/home/serhiisad/PycharmProjects/LABS_Numerical_Analysis_Onai/lab1/venv/bin/python2.7
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"serhiisad.kpi@gmail.com"
] | serhiisad.kpi@gmail.com | |
fefea20dda2cfe7903db5639fa9a63fd997584d3 | 182fe181687327d933aefa1b9f8779d7643430e4 | /code/cifar/gater_seq_prime_lenet.py | e37bed55693ae74138f39f9e137c53dfc848c28c | [
"MIT"
] | permissive | IDPSGitHubProjects/MixtureOfExperts | 503a399f32b78def4121fc73c892960144abb713 | ec43e312b3b3abddf0bd7281535842e73268b771 | refs/heads/master | 2022-11-01T15:26:39.765629 | 2020-06-16T12:45:01 | 2020-06-16T12:45:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,250 | py | #!/usr/bin/env python3
# TODO:
# Train Data
import sys
sys.path.append('../helper_utils')
sys.path.append('/home/kkalyan3/code/helper_utils')
from utils import load_array, eval_target
from nn_arch import nn_models
from keras.utils import np_utils
import numpy as np
import logging
import time
from keras.layers import... | [
"krishnakalyan3@gmail.com"
] | krishnakalyan3@gmail.com |
687250aac92bf01376a32104c14b0ea2953ebf56 | 410de43884e51d1edef0bb31035d6e78e3f0f3c0 | /wifipumpkin3/core/servers/proxy/pumpkin_proxy.py | ddf931d79053fac9d7daf8e3bd2b29f2052275af | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | tirkarthi/wifipumpkin3 | 7af13f4f5c7908e555660f4a29b71d245174daa7 | 809baef0c8116410a26f6b263a457f0a1d7f98b9 | refs/heads/master | 2022-12-07T05:25:18.270403 | 2020-08-02T02:04:11 | 2020-08-02T02:04:11 | 291,266,640 | 0 | 0 | Apache-2.0 | 2020-08-29T12:25:13 | 2020-08-29T12:25:12 | null | UTF-8 | Python | false | false | 5,494 | py | from wifipumpkin3.core.config.globalimport import *
from collections import OrderedDict
from functools import partial
from threading import Thread
import queue
from scapy.all import *
import logging, os
import wifipumpkin3.core.utility.constants as C
from wifipumpkin3.core.servers.proxy.proxymode import *
from wifipump... | [
"mh4root@gmail.com"
] | mh4root@gmail.com |
fa56efff49eee1254f0c1da3bae2a1b0d65471aa | edbabcc3a43a46f83c656f82248f757387629c32 | /weibo_spider/douban.py | 4a8c7e13b96eb2cbc76cbd7f78d9e35f14fc4158 | [] | no_license | INJNainggolan/Pycharm_work | b84fd8b4cd5158161956c96da326e3f0eba6b2eb | 8314aa23ade681cbad9e7abb4d35de508d46482b | refs/heads/master | 2020-04-08T03:30:35.177056 | 2018-03-07T13:15:09 | 2018-03-07T13:15:09 | 124,235,217 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,547 | py | #coding:utf-8
__author__ = 'hang'
import warnings
warnings.filterwarnings("ignore")
import jieba #分词包
import numpy #numpy计算包
import codecs #codecs提供的open方法来指定打开的文件的语言编码,它会在读取的时候自动转换为内部unicode
import re
import pandas as pd
import matplotlib.pyplot as plt
from urllib import request
from bs4 import BeautifulSoup ... | [
"Nainggolan@github.com"
] | Nainggolan@github.com |
c419b5f6c94fb876209a5e25dc5e3c375f29eb2e | 76a8ea60480331f0f61aeb61de55be9a6270e733 | /downloadable-site-packages/skimage/exposure/_adapthist.py | 0174274bc0147997bd63d884fa2589b3ee37c7de | [
"MIT"
] | permissive | bhagyas/Pyto | cd2ec3f35bec703db4ac29b56d17abc4bf03e375 | 907024a9b3e04a2a9de54976778c0e1a56b7b83c | refs/heads/master | 2022-11-19T13:05:07.392454 | 2020-07-21T17:33:39 | 2020-07-21T17:33:39 | 281,886,535 | 2 | 0 | MIT | 2020-07-23T07:48:03 | 2020-07-23T07:48:02 | null | UTF-8 | Python | false | false | 11,022 | py | """
Adapted code from "Contrast Limited Adaptive Histogram Equalization" by Karel
Zuiderveld <karel@cv.ruu.nl>, Graphics Gems IV, Academic Press, 1994.
http://tog.acm.org/resources/GraphicsGems/
The Graphics Gems code is copyright-protected. In other words, you cannot
claim the text of the code as your own and resel... | [
"adrilabbelol@gmail.com"
] | adrilabbelol@gmail.com |
8d4ab8697bc69c095b7c8d6b18ed034aff53b586 | 85b3c686db76bce624a262de20ffb0b882840fdd | /social_bookmarking/views.py | a8de490964067340914be4d7af222a0ca1033d5f | [
"MIT"
] | permissive | truongsinh/django-social-media | 6361413a80bac6e3827dd725cca95db1c82a2974 | 90f51d97409d87b598386f2ca82e6e3168478d32 | refs/heads/master | 2020-12-25T11:53:21.394434 | 2011-02-19T08:47:08 | 2011-02-19T08:47:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,134 | py | from django.shortcuts import get_object_or_404, redirect
from django.http import Http404
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import ObjectDoesNotExist
from social_bookmarking.models import BookmarkRelated, Bookmark
def bookmark_referer(request, slug, content_type, ob... | [
"florent.messa@gmail.com"
] | florent.messa@gmail.com |
f6797ec80344efdb57b3bf0cc450d5e008058142 | df7f13ec34591fe1ce2d9aeebd5fd183e012711a | /hata/discord/guild/guild_join_request_delete_event/tests/test__parse_guild_id.py | d0a4cde74f5380fcf06b03c4fad8746b6745a2a9 | [
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | HuyaneMatsu/hata | 63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e | 53f24fdb38459dc5a4fd04f11bdbfee8295b76a4 | refs/heads/master | 2023-08-20T15:58:09.343044 | 2023-08-20T13:09:03 | 2023-08-20T13:09:03 | 163,677,173 | 3 | 3 | Apache-2.0 | 2019-12-18T03:46:12 | 2018-12-31T14:59:47 | Python | UTF-8 | Python | false | false | 600 | py | import vampytest
from ..fields import parse_guild_id
def _iter_options():
guild_id = 202305160007
yield {}, 0
yield {'guild_id': None}, 0
yield {'guild_id': str(guild_id)}, guild_id
@vampytest._(vampytest.call_from(_iter_options()).returning_last())
def test__parse_guild_id(input_data):
""... | [
"re.ism.tm@gmail.com"
] | re.ism.tm@gmail.com |
0343aa919475892c10a18e355ebc64fa364d40a9 | cd872ab5bce8dd111952af4721c5f270e7236344 | /edsys_fee_enhancement/model/registration.py | ce2846a5939273dc262601522627dd22d68ad655 | [] | no_license | probytesodoo/edsys_school_erp | 26e2dd24d907bf76be00ac17872d84ae3a5fdf7e | 0e65e5d937b029beb69563772197b9b050748407 | refs/heads/master | 2020-04-15T22:21:02.623926 | 2019-03-12T13:47:03 | 2019-03-12T13:47:03 | 165,069,627 | 1 | 2 | null | 2019-01-16T09:41:01 | 2019-01-10T14:00:36 | Python | UTF-8 | Python | false | false | 14,490 | py | from odoo import models, fields, api, _
import datetime
from odoo.exceptions import except_orm
import base64
class Registration(models.Model):
_inherit = 'registration'
discount_applicable_date = fields.Date('Discount Applicable Date')
fee_computation_ids = fields.One2many('fee.computation', 'registr... | [
"redbytes.test@gmail.com"
] | redbytes.test@gmail.com |
f99658226c6f0dbf526e4279f61ca16cfd909486 | 942ee5e8d54e8ebe9c5c841fbfdd1da652946944 | /1001-1500/1467.Probability of a Two Boxes Having The Same Number of Distinct Balls.py | 5e7f9b3fd1966c2ca99755119191d27b2d196478 | [] | no_license | kaiwensun/leetcode | 0129c174457f32887fbca078fb448adce46dd89d | 6b607f4aae3a4603e61f2e2b7480fdfba1d9b947 | refs/heads/master | 2023-08-31T07:30:50.459062 | 2023-08-27T07:59:16 | 2023-08-27T07:59:16 | 57,526,914 | 69 | 9 | null | 2023-08-20T06:34:41 | 2016-05-01T05:37:29 | Python | UTF-8 | Python | false | false | 1,431 | py | import functools, collections
class Solution:
def getProbability(self, balls: List[int]) -> float:
box_size = sum(balls) // 2
factorial = [1] * (max(balls) + 1 + 100)
for i in range(1, len(factorial)):
factorial[i] = factorial[i - 1] * i
def choose(t... | [
"noreply@github.com"
] | kaiwensun.noreply@github.com |
4258a6ba19ea4d7cf50cab6bbeb0bd1e93cb00b0 | 1860aa3e5c0ba832d6dd12bb9af43a9f7092378d | /modules/xlwt3-0.1.2/examples/col_width.py | 90d82eb9415a897615d41007b926e35096306e1a | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | agz1990/GitPython | d90de16451fab9222851af790b67bcccdf35ab75 | 951be21fbf8477bad7d62423b72c3bc87154357b | refs/heads/master | 2020-08-06T18:12:26.459541 | 2015-07-05T14:58:57 | 2015-07-05T14:58:57 | 12,617,111 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 346 | py | #!/usr/bin/env python
# -*- coding: windows-1251 -*-
# Copyright (C) 2005 Kiseliov Roman
from xlwt3 import *
w = Workbook()
ws = w.add_sheet('Hey, Dude')
for i in range(6, 80):
fnt = Font()
fnt.height = i*20
style = XFStyle()
style.font = fnt
ws.write(1, i, 'Test')
ws.col(i).width = 0x0d00 + ... | [
"522360568@qq.com"
] | 522360568@qq.com |
723c1499308ef1947356732e42ee5c9030771c94 | 20c80f722c451b64d05cc027b66a81e1976c3253 | /commons/libs/pyblish_starter/plugins/integrate_asset.py | 4dd833f1be3f9c0d61e553108a7956a38094f954 | [] | no_license | flypotatojun/Barbarian | 2d3fcb6fcb1b4495b6d62fc5e32634abf4638312 | efe14dd24c65b4852997dad1290e503211bcc419 | refs/heads/master | 2021-07-18T01:43:14.443911 | 2017-10-24T03:37:43 | 2017-10-24T03:37:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,421 | py | import pyblish.api
class IntegrateStarterAsset(pyblish.api.InstancePlugin):
"""Move user data to shared location
This plug-in exposes your data to others by encapsulating it
into a new version.
Schema:
Data is written in the following format.
____________________
... | [
"lonegather@users.noreply.github.com"
] | lonegather@users.noreply.github.com |
56010a4e310d6d54195272006cb696d231a7d78a | 5289db68f1573549b287750beed02bc9c37340d3 | /tools/pytorch-quantization/tests/print_test.py | 1a4dec6d13ceb244e45e7154cc07c869329a528f | [
"ISC",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | permissive | feizhouxiaozhu/TensorRT | 5d5ac8468f67121a96d68a76e43988630c483040 | af8f24cefba42e367ec09fbb05c08a2946645258 | refs/heads/master | 2023-02-08T10:35:41.382352 | 2020-12-19T00:48:00 | 2020-12-19T02:28:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,051 | py | #
# Copyright (c) 2020, NVIDIA CORPORATION. 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 appl... | [
"rajeevsrao@users.noreply.github.com"
] | rajeevsrao@users.noreply.github.com |
ea488ecdd6f29b28a881a7505d69af2f10c4951b | 93872b89471eccf1414306216aa8b97df0c38cc4 | /lib/modules/credentials/mimigatoz/mimitokens.py | 79c4038c9c497452d99be0791f9929141f5078b4 | [
"BSD-3-Clause"
] | permissive | brownbelt/Empire-mod-Hackplayers | bcb1a7cd6f608e9b83011e19e1527d8ec120f932 | 315184020542012fdcf89ba4c0de0e5c00954372 | refs/heads/master | 2021-06-20T02:55:15.991222 | 2017-08-01T09:25:58 | 2017-08-01T09:25:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,522 | py | from lib.common import helpers
class Module:
def __init__(self, mainMenu, params=[]):
self.info = {
'Name': 'Invoke-MimiGatoz Tokens',
'Author': ['@JosephBialek', '@gentilkiwi'],
'Description': ("Runs PowerSploit's Invoke-MimiGatoz function "
... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
0e382a491da509bd9913eff6eb831510b77bd9af | 446d9c9e98bac9bb7d6ba9d6f2639fd1ab0e68af | /pythonBook/chapter06/exercise6-23.py | 67d2bce0e2edc2ef0d9e9213eacb0216d837626a | [] | no_license | thiagofb84jp/python-exercises | 062d85f4f95332549acd42bf98de2b20afda5239 | 88ad7365a0f051021034ac6f0683b3df2de57cdb | refs/heads/main | 2023-07-19T21:15:08.689041 | 2021-08-17T10:59:09 | 2021-08-17T10:59:09 | 308,311,723 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 944 | py | """
6.23. Controle da utilização de salas de um cinema
"""
lugaresVagos = [10, 2, 1, 3, 0]
while True:
sala = int(input("Sala (0 para sair do programa) :"))
if sala == 0:
print("Encerrando o programa...")
break
if sala > len(lugaresVagos) or sala < 1:
print("Sala inválida!")
el... | [
"thiagofb84jp@gmail.com"
] | thiagofb84jp@gmail.com |
ff76df49ad42e40b7da91b22b4e8c1c8a4a40fb2 | a4ea525e226d6c401fdb87a6e9adfdc5d07e6020 | /src/azure-cli/azure/cli/command_modules/cosmosdb/aaz/latest/cosmosdb/postgres/configuration/coordinator/__cmd_group.py | 27271cfb6425eebaca4fa2e123288c385ca59464 | [
"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 | 704 | 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 |
4a547b90b05cd7591bc9c34f4e87b2cd3a126aa1 | 7bbc83f3f84d7e5057cb04f6895082ab3e016e90 | /python.import/machine/test/car.py | 1c4fd081fd55c004711fe7a294435b5779d6ec81 | [] | no_license | osy1223/bit_seoul | 908f6adf007c0a7d0df2659b4fae75eb705acaea | b523d78c7b80d378a2d148b35466304f10bf4af4 | refs/heads/master | 2023-02-02T14:26:40.120989 | 2020-12-18T00:46:04 | 2020-12-18T00:46:04 | 311,279,034 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 84 | py | def drive():
print('test 운전하다 ')
if __name__ == '__main__':
drive() | [
"osu1223@gmail.com"
] | osu1223@gmail.com |
cb606700b2241eebb71ead8c64124867f9a3a585 | f0f285567e706c1d89a730e9807ca44690f745ad | /0x0A-python-inheritance/6-base_geometry.py | 819d3ab4cf7e2b8ba06e805d561fffa5145b6703 | [] | no_license | Faith-qa/alx-higher_level_programming-1 | a43fc57414c6c946407d0795df5f9794a061a890 | 8f66f9a09088b55d44f1754ca616e75d83ca76c4 | refs/heads/main | 2023-08-07T16:41:39.830429 | 2021-09-28T06:40:49 | 2021-09-28T06:40:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 253 | py | #!/usr/bin/python3
# 6-base_geometry.py
"""Defines a base geometry class BaseGeometry."""
class BaseGeometry:
"""Represent base geometry."""
def area(self):
"""Not implemented."""
raise Exception("area() is not implemented")
| [
"yosefsamuel22@gmail.com"
] | yosefsamuel22@gmail.com |
d053c0a0a25b58a278a960935bd26b497357d1c7 | e24f75482c0ae71fb0dfa6d49f3a82129569c2d9 | /changes/api/serializer/models/plan.py | 9f11af47bb2be272e1a5b9c4efd90040b5cc14a6 | [
"Apache-2.0"
] | permissive | OmarSkalli/changes | aaa6a0083c87b7d5876eb0557466be60dea45e34 | 5280b2cea13c314aeecc770853c14caaff6bbb93 | refs/heads/master | 2022-08-12T11:37:53.571741 | 2014-07-11T22:55:37 | 2014-07-11T22:55:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,482 | py | import json
from changes.api.serializer import Serializer, register
from changes.models import ItemOption, Plan, Step
@register(Plan)
class PlanSerializer(Serializer):
def serialize(self, instance, attrs):
return {
'id': instance.id.hex,
'name': instance.label,
'steps'... | [
"cramer@dropbox.com"
] | cramer@dropbox.com |
022a783a51d72c922d8bb8e920468be3ff85df9f | dd415744288cf76c15021c486350b6dd11fe13f3 | /examples/mnist_acgan.py | 4dfd12038ee8932a587e6645e4517be04e195965 | [
"MIT"
] | permissive | kencoken/keras | 10a6c01c61b3b7c22820c8b56b2aa7fd44c43b6f | 3a495682c77eb8d594c695a53840dcc7c3ea5883 | refs/heads/master | 2020-12-24T11:10:35.447511 | 2018-11-23T13:33:38 | 2018-11-23T13:33:38 | 73,181,380 | 0 | 4 | NOASSERTION | 2018-11-23T13:33:39 | 2016-11-08T11:53:41 | Python | UTF-8 | Python | false | false | 11,329 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Train an Auxiliary Classifier Generative Adversarial Network (ACGAN) on the
MNIST dataset. See https://arxiv.org/abs/1610.09585 for more details.
You should start to see reasonable images after ~5 epochs, and good images
by ~15 epochs. You should use a GPU, as the conv... | [
"francois.chollet@gmail.com"
] | francois.chollet@gmail.com |
d39baaf0bedaa00c0a8c154389eab236dc99e1b8 | 12c2d7f9c3cd315ca822e2d2cfa253075139fcc2 | /python/ccxt/bybit.py | 2912438043f33ebdb72988166e8ba59b135af76d | [
"MIT"
] | permissive | bfrasure/ccxt | 9c85494626970fc9840790211df60534bb2ca5b4 | c81273f508fa238f1a8f0ea4bf8729c2a43f1461 | refs/heads/master | 2023-09-04T15:03:37.598303 | 2021-11-23T13:29:00 | 2021-11-23T13:29:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 110,987 | py | # -*- coding: utf-8 -*-
# PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
# https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
from ccxt.base.exchange import Exchange
# -----------------------------------------------------------------------------
try:
basestri... | [
"travis@travis-ci.org"
] | travis@travis-ci.org |
abac750ec39d365e349d684cf03414f5725f8da0 | 09e57dd1374713f06b70d7b37a580130d9bbab0d | /benchmark/startQiskit_noisy2506.py | a7fde2d65a26c997e4016788e19ab6906db2feb1 | [
"BSD-3-Clause"
] | permissive | UCLA-SEAL/QDiff | ad53650034897abb5941e74539e3aee8edb600ab | d968cbc47fe926b7f88b4adf10490f1edd6f8819 | refs/heads/main | 2023-08-05T04:52:24.961998 | 2021-09-19T02:56:16 | 2021-09-19T02:56:16 | 405,159,939 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,134 | py | # qubit number=4
# total number=37
import cirq
import qiskit
from qiskit.providers.aer import QasmSimulator
from qiskit.test.mock import FakeVigo
from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister
from qiskit import BasicAer, execute, transpile
from pprint import pprint
from qiskit.test.mock import ... | [
"wangjiyuan123@yeah.net"
] | wangjiyuan123@yeah.net |
5f2b28c666e9d573c062026014cbd9a27b6abbc2 | 0ac38e9eaa2fb90cf55bbd4ab94055e6a4416b3e | /lib/unit_tests/datastore/test_connection.py | 244975f063f02ad1eeae6c5b767539976ceba906 | [
"Apache-2.0"
] | permissive | varnachandar/emotion2music | 6f5a42c8dd5542ad3ea919e366f906666cb4c299 | aa58c80d5ea81cfba7760b8f9b3151db9c61b6bc | refs/heads/master | 2020-04-27T15:12:44.795220 | 2019-03-07T23:59:11 | 2019-03-07T23:59:11 | 174,437,101 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 41,443 | py | # Copyright 2014 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 a... | [
"varnachandar16@gmail.com"
] | varnachandar16@gmail.com |
6a192ce3a780e557a221c647cf70d5ce37cf901d | 78f3fe4a148c86ce9b80411a3433a49ccfdc02dd | /2017/06/trump-approval-20170601/graphic_config.py | ff3ca865581af3ab3dd6555df9e94d562b335301 | [] | no_license | nprapps/graphics-archive | 54cfc4d4d670aca4d71839d70f23a8bf645c692f | fe92cd061730496cb95c9df8fa624505c3b291f8 | refs/heads/master | 2023-03-04T11:35:36.413216 | 2023-02-26T23:26:48 | 2023-02-26T23:26:48 | 22,472,848 | 16 | 7 | null | null | null | null | UTF-8 | Python | false | false | 305 | py | #!/usr/bin/env python
import base_filters
COPY_GOOGLE_DOC_KEY = '1g0Lnpdt7bS8_NDHxYVFOQ54vuxPCkKqdIPdlWZG3O6Q'
USE_ASSETS = False
# Use these variables to override the default cache timeouts for this graphic
# DEFAULT_MAX_AGE = 20
# ASSETS_MAX_AGE = 300
JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
| [
"ahurt@npr.org"
] | ahurt@npr.org |
a0022e5aad78fa4298fd81dba90deb62577f9337 | 3109aaf72df47f11742aca1c5921f71e03eb9917 | /sales/testing/test_integration/test_credit_note.py | 91d91efad38cf58cf894e057d434c41542c24b3f | [
"MIT"
] | permissive | kofi-teddy/accounts | a225f5639ef8993934fe69ec638d2af19d854c2d | 74633ce4038806222048d85ef9dfe97a957a6a71 | refs/heads/master | 2023-02-19T15:10:20.621628 | 2021-01-23T10:30:27 | 2021-01-23T10:30:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 256,343 | py | from datetime import date, datetime, timedelta
from json import loads
from accountancy.helpers import sort_multiple
from accountancy.testing.helpers import *
from cashbook.models import CashBook, CashBookTransaction
from controls.models import FinancialYear, ModuleSettings, Period
from django.contrib.auth import get_u... | [
"rossm6@googlemail.com"
] | rossm6@googlemail.com |
ee784fcf452c66c9190b9ade1e753cfa0f306994 | ada3899b0d2332121087105ceeba0b138681ecf2 | /modules/signatures/CAPE.py | 2642b2b5625d195eed0e7ad9e39bd475e10a6e4e | [] | no_license | olivierh59500/CAPE | 51d6a4e8b022b660ad8f64860459186f1d308987 | 823f78d22f444ee6db93e7b02c9fa77e64186baa | refs/heads/master | 2021-01-12T01:12:26.614946 | 2016-12-31T23:35:23 | 2016-12-31T23:35:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,171 | py | from lib.cuckoo.common.abstracts import Signature
EXTRACTION_MIN_SIZE = 0x2000
class CAPE_PlugX(Signature):
name = "CAPE PlugX"
description = "CAPE detection: PlugX"
severity = 3
categories = ["chinese", "malware"]
families = ["plugx"]
authors = ["kev"]
minimum = "1.3"
evented = True
... | [
"kevoreilly@gmail.com"
] | kevoreilly@gmail.com |
3b7e31598de80dadbe58eefb86f5b22d9de2754d | 0c25196fc490ab8394a8e578f50bfd07670a54d0 | /partition/lib/ortool/vrp.py | 3119b4f6d9e8f1d5dd04df839a0c3297235433e6 | [] | no_license | xiaogaogaoxiao/MinMax-MTSP | 42b73f9a64ce9731e387dabc0f77e721571488ec | ae05e3d6666e01e15ecdfeb8bd1e2f2a5b8770ff | refs/heads/master | 2022-11-22T22:46:01.111180 | 2020-07-22T06:40:03 | 2020-07-22T06:40:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,285 | py | """Vehicles Routing Problem (VRP)."""
from __future__ import print_function
from ortools.constraint_solver import routing_enums_pb2
from ortools.constraint_solver import pywrapcp
import torch
import multiprocessing
import time
import numpy as np
C = 100000
const_process_num = 26
def Euclidean_distance(coords):
... | [
"noreply@github.com"
] | xiaogaogaoxiao.noreply@github.com |
01f60295b0772615b4e1dca648ecce9427677169 | 9fa1f5d9b8fd46e8383b9b7f599249831707deb1 | /DiyTrade20_2/Diy/Diy/spiders/spider_data.py | f0e23b29242da9443611a2898f51f8dfdae41179 | [] | no_license | kokohui/b2b_spider | fbf95351f6225677a33317cabca1e5d53d78a2ea | 3e4bb26075531f1e1bdd38b113561893efaaa9ed | refs/heads/master | 2020-07-21T02:50:14.514196 | 2019-09-06T08:11:26 | 2019-09-06T08:11:26 | 206,745,859 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,962 | py | # -*- coding: utf-8 -*-
import scrapy
import json
from scrapy import Request
from pyppeteer import launch
from selenium import webdriver
from selenium.webdriver import ChromeOptions
from time import sleep
class SpiderDataSpider(scrapy.Spider):
name = 'spider_data'
option = ChromeOptions()
option.add_exper... | [
"2686162923@qq.com"
] | 2686162923@qq.com |
463b6bb70cca8e70a802d8985558490eaa73d7b1 | e845f7f61ff76b3c0b8f4d8fd98f6192e48d542a | /djangocg/contrib/gis/sitemaps/__init__.py | 6765153ec0be6d9dcc32bad86c6a4420403d07bf | [
"BSD-3-Clause"
] | permissive | timothyclemans/djangocg | fd150c028013cb5f53f5a3b4fdc960a07fdaaa78 | 52cf28e046523bceb5d436f8e6bf61e7d4ba6312 | refs/heads/master | 2021-01-18T13:20:13.636812 | 2012-08-31T23:38:14 | 2012-08-31T23:38:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 164 | py | # Geo-enabled Sitemap classes.
from djangocg.contrib.gis.sitemaps.georss import GeoRSSSitemap
from djangocg.contrib.gis.sitemaps.kml import KMLSitemap, KMZSitemap
| [
"timothy.clemans@gmail.com"
] | timothy.clemans@gmail.com |
23f542b49fb43c3fa7f261c20d841f00b6768b43 | dce4a52986ddccea91fbf937bd89e0ae00b9d046 | /jni-build/jni/include/tensorflow/contrib/quantization/python/dequantize_op_test.py | b1d47cc4a2edcea49cb0798241f46968a19d166a | [
"MIT"
] | permissive | Lab603/PicEncyclopedias | 54a641b106b7bb2d2f71b2dacef1e5dbeaf773a6 | 6d39eeb66c63a6f0f7895befc588c9eb1dd105f9 | refs/heads/master | 2022-11-11T13:35:32.781340 | 2018-03-15T05:53:07 | 2018-03-15T05:53:07 | 103,941,664 | 6 | 3 | MIT | 2022-10-28T05:31:37 | 2017-09-18T13:20:47 | C++ | UTF-8 | Python | false | false | 3,108 | py | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | [
"super_mr.z@hotmail.comm"
] | super_mr.z@hotmail.comm |
a4a1b84ca118399239de8e69faf1ce3309a08cca | 9d0195aa83cc594a8c61f334b90375961e62d4fe | /JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano2902.py | b53a80eddc330e78e98987c0aef21725119e3d9b | [] | no_license | rsk146/CMS | 4e49592fc64f6438051544c5de18598db36ed985 | 5f8dab8c59ae556598b9747b52b88205fffc4dbe | refs/heads/master | 2022-12-01T03:57:12.126113 | 2020-08-04T03:29:27 | 2020-08-04T03:29:27 | 284,863,383 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,293 | py | # Auto generated configuration file
# using:
# Revision: 1.19
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v
# with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era... | [
"rsk146@scarletmail.rutgers.edu"
] | rsk146@scarletmail.rutgers.edu |
e8f26b30bed768cd2432f809e12143485fcfd8da | 19a2378a7fc2aef762b0e3a70669208818feeaa9 | /src/transformers/generation/configuration_utils.py | 096424b8585b5d2dfa69598f8fe2c263216ca0e2 | [
"Apache-2.0"
] | permissive | pytorch-tpu/transformers | 494ee005c6d156161171f2a8e60f25603189408f | 6112b1c6442aaf7affd2b0676a1cd4eee30c45cf | refs/heads/master | 2023-09-03T19:34:30.326852 | 2023-07-19T20:57:40 | 2023-07-19T20:57:40 | 220,075,881 | 7 | 2 | Apache-2.0 | 2023-09-14T17:58:25 | 2019-11-06T19:40:45 | Python | UTF-8 | Python | false | false | 40,270 | py | # coding=utf-8
# Copyright 2022 The HuggingFace Inc. team.
#
# 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... | [
"noreply@github.com"
] | pytorch-tpu.noreply@github.com |
00c989258ab015ff4cdd1d241d09ff53a6d04033 | 3c4a345c530d8a9df163fad6c438e504e196dda0 | /Challenge6.py | 1addee14b3688487646a776c43d0baf02040f09d | [] | no_license | vebzical/kryptokamut | 9d096810e987bc730f5ed710468b2e2b83401bd0 | 5363185d09199608600c9d1bc7c71e51311a1d84 | refs/heads/master | 2020-05-09T15:16:12.247060 | 2019-04-15T09:47:39 | 2019-04-15T09:47:39 | 181,227,713 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,138 | py | #/usr/bin/python
import base64
import freqAnalysis
def XOR(input, key):
result = b''
for x,y in zip(input, key):
result += bytes([x ^ y])
return result
def findKeyLen(chiphertext):
final_dist = []
for keysize in range(2,41):
distances = []
chunks = [chiphertext[i:i+keysize] for i in range(0, l... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
04dab0209f29ce27605490d094bcc4294c4d3171 | 3cbb592ca471540cc704a547f71f9d6b84669976 | /python/infpy/gp/examples/simple_example.py | f3ecb0972d8eb65d6185c5d3a3f8129c66167827 | [
"BSD-2-Clause"
] | permissive | JohnReid/infpy | a9c896a556abed8ed3abd5e56ca86d31a7a731c0 | 1b825ba7a60f0a0489df5f41b273374aef628a60 | refs/heads/master | 2021-01-01T16:56:27.743588 | 2018-06-28T21:44:17 | 2018-06-28T21:44:17 | 13,087,025 | 5 | 3 | null | null | null | null | UTF-8 | Python | false | false | 1,824 | py | #
# Copyright John Reid 2008
#
import numpy
import pylab
import infpy.gp
def save_fig(prefix):
"Save current figure in extended postscript and PNG formats."
pylab.savefig('%s.png' % prefix, format='PNG')
pylab.savefig('%s.eps' % prefix, format='EPS')
# Generate some noisy data from a modulated sin curv... | [
"johnbaronreid@netscape.net"
] | johnbaronreid@netscape.net |
26c2daefb72b9b841d51c34f8ad6f2f23053f412 | 1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc | /venv/lib/python2.7/site-packages/ansible/modules/cloud/cloudstack/cs_zone_facts.py | 92c815e95756f4fd8ec4bffffdc80dfdaf421e53 | [
"MIT"
] | permissive | otus-devops-2019-02/devopscourses_infra | 1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c | e42e5deafce395af869084ede245fc6cff6d0b2c | refs/heads/master | 2020-04-29T02:41:49.985889 | 2019-05-21T06:35:19 | 2019-05-21T06:35:19 | 175,780,457 | 0 | 1 | MIT | 2019-05-21T06:35:20 | 2019-03-15T08:35:54 | HCL | UTF-8 | Python | false | false | 4,772 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2016, René Moser <mail@renemoser.net>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['stableinterface'],
'supported... | [
"skydevapp@gmail.com"
] | skydevapp@gmail.com |
7707734bcaccebbdf25b7547c1dcf12bc305d2b3 | d8c899ca71e511ec0b60b79f11eeb08077ad7b7b | /stubs/pytest/mark.pyi | d1733cfb0524484bc786f3bdab20d218b6b2edca | [
"Apache-2.0"
] | permissive | Michaelll123/sensibility | ff9972baa979745e91f96a1e4953ebe42d7258b5 | 7436ac2fd4faf100b5e21c28b61a431adce06091 | refs/heads/master | 2023-08-30T05:57:05.750677 | 2021-11-14T09:45:57 | 2021-11-14T09:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 295 | pyi | from typing import Callable
class skip:
def __init__(self, test: Callable=None, reason: str=None) -> None: ...
def __call__(self, test: Callable) -> Callable: ...
def skipif(condition: bool, reason: str=None) -> Callable[[Callable], Callable]: ...
def xfail(Callable) -> Callable: ...
| [
"easantos@ualberta.ca"
] | easantos@ualberta.ca |
8888104655043e44fc68662cec6bd63cc8bbddee | fced25b055ec68ee522bd156c3be5902172beb55 | /Pages/logs/Actions-logs/onload.py | c209484f123b9b8aeafa573b8463db94067a17c0 | [] | no_license | EAC-Technology/eApp-Builder | 3cff5576139b78fc507406e31a4b5201eab436b7 | c3bbadde24330fb2dff4aa2c32cc6b11e044fbc9 | refs/heads/master | 2021-08-16T23:56:54.241674 | 2017-11-20T14:15:10 | 2017-11-20T14:15:10 | 111,399,334 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,057 | py | """
"""
from ProSuiteLogsPage import ProSuiteLogsPage
page = ProSuiteLogsPage(self)
page.vdom_objects = {
"growl": self.growl,
"logs.data": self.logs_cnt.hpt,
"topbar.download.btn": self.dwnloadlogs_btn,
"topbar.autoupdate.btn": self.autoupdate.checkbtn,
"dialogs.download": self.dwnload_logs_di... | [
"alain.abraham@web-atrio.com"
] | alain.abraham@web-atrio.com |
4137fadb32c4261d86e597d9593e759c7a36561c | 3c9e5a16b1625faf82e2e714aff119ef49033d50 | /pyz3r/customizer.py | a99d223ea06d60991a2a63a3c54122966bf14d4e | [
"Apache-2.0"
] | permissive | tcprescott/pyz3r | 144ef0dacec1ed76e10df6a8acb350fb843e2847 | fb90559650098090a9e800ca3d4b3d337473942a | refs/heads/master | 2023-09-05T09:26:56.927172 | 2023-09-05T04:45:37 | 2023-09-05T04:45:37 | 163,603,582 | 24 | 8 | Apache-2.0 | 2023-08-29T03:08:51 | 2018-12-30T17:02:35 | Python | UTF-8 | Python | false | false | 16,726 | py | import copy
import math
BASE_CUSTOMIZER_PAYLOAD = {
"glitches": "none",
"item_placement": "advanced",
"dungeon_items": "standard",
"accessibility": "items",
"goal": "ganon",
"crystals": {
"ganon": "7",
"tower": "7"
},
"mode": "open",
"weapons": "randomi... | [
"tcprescott@gmail.com"
] | tcprescott@gmail.com |
7753d769b8a13f8066b9d01a11ef57c4dd5cac07 | 70fa6468c768d4ec9b4b14fc94fa785da557f1b5 | /lib/googlecloudsdk/core/console/progress_tracker.py | d4ac99b25f6a93b8f2e0f9a192a04a62669bc014 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | kylewuolle/google-cloud-sdk | d43286ef646aec053ecd7eb58566ab2075e04e76 | 75f09ebe779e99fdc3fd13b48621fe12bfaa11aa | refs/heads/master | 2020-04-20T22:10:41.774132 | 2019-01-26T09:29:26 | 2019-01-26T09:29:26 | 169,131,028 | 0 | 0 | NOASSERTION | 2019-02-04T19:04:40 | 2019-02-04T18:58:36 | Python | UTF-8 | Python | false | false | 42,381 | py | # -*- coding: utf-8 -*- #
# Copyright 2013 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 requir... | [
"cloudsdk.mirror@gmail.com"
] | cloudsdk.mirror@gmail.com |
6d92d61ee82ad1d16aafdda4e576c854454eb802 | eea1c66c80784d4aefeb0d5fd2e186f9a3b1ac6e | /atcoder/abc/abc301-400/abc302/b.py | 289515c914038268c91d8ae04c92359c07516a7e | [] | no_license | reo11/AtCoder | 4e99d6f40d8befe264761e3b8c33d3a6b7ba0fe9 | 69c6d67f05cb9190d8fb07204488cd7ce4d0bed2 | refs/heads/master | 2023-08-28T10:54:50.859288 | 2023-08-22T18:52:47 | 2023-08-22T18:52:47 | 162,085,118 | 4 | 0 | null | 2023-07-01T14:17:28 | 2018-12-17T06:31:10 | Python | UTF-8 | Python | false | false | 960 | py | h, w = map(int, input().split())
s = [list(input()) for _ in range(h)]
target = list("snuke")
dxy = [[1, 0], [-1, 0], [0, 1], [0, -1], [1, 1], [-1, 1], [1, -1], [-1, -1]]
for i in range(h):
for j in range(w):
if target[0] == s[i][j]:
for dx, dy in dxy:
flag = True
... | [
"reohirao116@gmail.com"
] | reohirao116@gmail.com |
a6b556baf1bf87f81e28b23ca9146eb2f4c411af | a683503b48ba7c0a0563668ccdd3a455e2ce0053 | /bin/django-admin.py | a4eb5213e7fadb6676855b7e9d2b591a4ab0eef5 | [] | no_license | dskiranraj/survaider | 1c60d46c01167246617b1ba3dc0bde5b69b67a06 | 5d601321aecc9b831624d8a4a83ca84088805095 | refs/heads/master | 2020-06-22T23:08:18.108169 | 2019-07-23T12:24:43 | 2019-07-23T12:24:43 | 198,425,157 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 155 | py | #!/home/ambertag/Desktop/survaider/bin/python3.6
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| [
"you@example.com"
] | you@example.com |
518b4196e8bf056b4b5e8da9a147b688b1451695 | 6634436cf4f0e4d674cf497e57e5750f9ac415aa | /phylopandas/treeio/write.py | cbb1ec02fff13e127e16464606f9e2e1c78e1529 | [
"BSD-3-Clause"
] | permissive | ScottCarrara/phylopandas | dc946d552ad48b6314a60e845356318b33fbe860 | f163c4a2b9369eb32f6c8f3793f711f6fe4e6130 | refs/heads/master | 2020-05-19T19:44:45.752770 | 2018-11-12T06:55:47 | 2018-11-12T06:56:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,846 | py | import pandas
import dendropy
def _write_doc_template(schema):
s = """Write to {} format.
Parameters
----------
filename : str
File to write {} string to. If no filename is given, a {} string
will be returned.
taxon_col : str (default='sequence')
Sequence column name in Da... | [
"zachsailer@gmail.com"
] | zachsailer@gmail.com |
30a59c7f55545090058475dd238a15e2ff6ab9e4 | 4b1b00f977c27d71b6fe0fab64a9ca09a85a4c09 | /src/vis/visualization.py | 89649b4a0d43ebb6222831997b7667cc2a2da414 | [] | no_license | zhouyanasd/SNN_framework | 67e3d31ef9e709d0b8cb1d18618291f264b006f6 | ba3ab08ac350507120d1ab840701b27014db70e2 | refs/heads/master | 2021-09-29T02:38:10.144613 | 2017-10-24T02:13:10 | 2017-10-24T02:13:10 | 108,064,907 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,236 | py | import src
import numpy as np
import matplotlib.pyplot as plt
class Visualization(object):
def __init__(self, total_time):
self.t = np.arange(0,total_time)
def show(self):
plt.show()
def I(self,neuron):
I = neuron.I
print(I)
plt.figure()
plt.plot(self.t[:]... | [
"zhouyanasd@gmail.com"
] | zhouyanasd@gmail.com |
227f04b3d503b43d52399f13429478dcd52f392a | 72cc56c488930ed632070a1d23c340b6835c24b5 | /Robotics/ca/devel/lib/python2.7/dist-packages/caros_universalrobot/msg/_RobotState.py | 3daabcd8d230f21fe0211e557214ddd8aeca826b | [] | no_license | Keerthikan/ROVI2 | 856b9cb9706ee3ab14f41ce51cc5c6a5f8113225 | 46c6f3dac80207935d87a6f6a39b48c766e302a4 | refs/heads/master | 2021-01-18T22:07:57.035506 | 2016-05-19T08:58:13 | 2016-05-19T08:58:13 | 51,436,830 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,508 | py | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from caros_universalrobot/RobotState.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
import caros_common_msgs.msg
import std_msgs.msg
class RobotState(genpy.Message):
_... | [
"kerat12@student.sdu.dk"
] | kerat12@student.sdu.dk |
ea2d61ae0c1e7e0201572dfe99c9e2b60c194f4c | 0adb68bbf576340c8ba1d9d3c07320ab3bfdb95e | /regexlib/python_re2_test_file/regexlib_8042.py | 7f3731ea0b2889199ad4f7f644c3eb4d522ba376 | [
"MIT"
] | permissive | agentjacker/ReDoS-Benchmarks | c7d6633a3b77d9e29e0ee2db98d5dfb60cde91c6 | f5b5094d835649e957bf3fec6b8bd4f6efdb35fc | refs/heads/main | 2023-05-10T13:57:48.491045 | 2021-05-21T11:19:39 | 2021-05-21T11:19:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 544 | py | # 8042
# [0-9]*[-| ][0-9]*[-| ][0-9]*[-| ][0-9]*[-| ][0-9]*
# POLYNOMIAL
# nums:5
# POLYNOMIAL AttackString:""+"0"*20000+"!1 _SLQ_1"
import re2 as re
from time import perf_counter
regex = """[0-9]*[-| ][0-9]*[-| ][0-9]*[-| ][0-9]*[-| ][0-9]*"""
REGEX = re.compile(regex)
for i in range(0, 150000):
ATTACK = "" + "0... | [
"liyt@ios.ac.cn"
] | liyt@ios.ac.cn |
0542df0613cdfe3e156d53aa7c489a965abbc72e | 3121b64e95d022b12585348070dff048ae879f68 | /render/normalised_ply.py | 39726f5e431102d53b395b35aa7b40c26fb8c952 | [
"MIT"
] | permissive | lt6253090/OcCo | 082d1e5371064c70f9185d9425ea4318539c1785 | 5936a6fe099fe0b5aa5da47e8ba828a72b3adcbf | refs/heads/master | 2022-11-26T14:19:17.070920 | 2020-08-03T13:52:21 | 2020-08-03T13:52:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 849 | py | # Copyright (c) 2020. Hanchen Wang, hw501@cam.ac.uk
import os, open3d, numpy as np
File_ = open('ModelNet_flist_short.txt', 'w')
if __name__ == "__main__":
root_dir = "../data/ModelNet_subset/"
for root, dirs, files in os.walk(root_dir, topdown=False):
for file in files:
if '.ply' in file:
amesh = open3... | [
"hc.wang96@gmail.com"
] | hc.wang96@gmail.com |
10eb4d49285661fe5c622e13b644168cca0601b2 | 56ca0c81e6f8f984737f57c43ad8d44a84f0e6cf | /src/ewaluacja2021/xlsy.py | 4dfb33df91b55d730ce55579e99c89234071e548 | [
"MIT"
] | permissive | iplweb/bpp | c40f64c78c0da9f21c1bd5cf35d56274a491f840 | a3d36a8d76733a479e6b580ba6ea57034574e14a | refs/heads/dev | 2023-08-09T22:10:49.509079 | 2023-07-25T04:55:54 | 2023-07-25T04:55:54 | 87,017,024 | 2 | 0 | NOASSERTION | 2023-03-04T04:02:36 | 2017-04-02T21:22:20 | Python | UTF-8 | Python | false | false | 7,162 | py | import os
from decimal import Decimal
import openpyxl
from django.db.models import Sum, Value
from ewaluacja2021.const import LATA_2017_2018, LATA_2019_2021
from ewaluacja2021.reports import get_data_for_report, write_data_to_report
from ewaluacja2021.util import autor2fn, output_table_to_xlsx
from bpp.models import... | [
"michal.dtz@gmail.com"
] | michal.dtz@gmail.com |
e9b067b88c153881f73dfe6f385f65c0b6b2d567 | c34380b64145b4ce26df9b27c34139d08de27515 | /findSquare_1.py | 6691dfa3d4ddfc6a058b6d9f149dcc8a10a5ef7b | [] | no_license | codeandrew/python-algorithms | 531bc1574700cb7d822904f1e1ead9a596a85d29 | c71b0941f14825fcaa3fbb1429365ca1f28a3018 | refs/heads/master | 2023-04-28T23:56:01.283434 | 2023-04-05T03:06:22 | 2023-04-05T03:06:22 | 169,078,505 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 181 | py | import math
def is_square(n):
if n == 0 : return True
try :
root = math.sqrt(n)
return True if n % root == 0 else False
except :
return False
| [
"jeanandrewfuentes@gmail.com"
] | jeanandrewfuentes@gmail.com |
47f5d7568c984524b2c898478013521badca8f55 | e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67 | /azure-cli/2.0.18/libexec/lib/python3.6/site-packages/azure/mgmt/network/v2016_09_01/models/frontend_ip_configuration.py | 29047c8dab7e49461129f986c35db4e775edb14a | [] | no_license | EnjoyLifeFund/macHighSierra-cellars | 59051e496ed0e68d14e0d5d91367a2c92c95e1fb | 49a477d42f081e52f4c5bdd39535156a2df52d09 | refs/heads/master | 2022-12-25T19:28:29.992466 | 2017-10-10T13:00:08 | 2017-10-10T13:00:08 | 96,081,471 | 3 | 1 | null | 2022-12-17T02:26:21 | 2017-07-03T07:17:34 | null | UTF-8 | Python | false | false | 4,730 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | [
"Raliclo@gmail.com"
] | Raliclo@gmail.com |
b30cf9c3fdd4d322be96bee80da321a1ad93e8f1 | d2c4934325f5ddd567963e7bd2bdc0673f92bc40 | /tests/artificial/transf_Fisher/trend_MovingMedian/cycle_5/ar_/test_artificial_32_Fisher_MovingMedian_5__0.py | 9e5e9d5395d5905e2f44be0c8fe90fe178f72318 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jmabry/pyaf | 797acdd585842474ff4ae1d9db5606877252d9b8 | afbc15a851a2445a7824bf255af612dc429265af | refs/heads/master | 2020-03-20T02:14:12.597970 | 2018-12-17T22:08:11 | 2018-12-17T22:08:11 | 137,104,552 | 0 | 0 | BSD-3-Clause | 2018-12-17T22:08:12 | 2018-06-12T17:15:43 | Python | UTF-8 | Python | false | false | 267 | py | import pyaf.Bench.TS_datasets as tsds
import pyaf.tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "MovingMedian", cycle_length = 5, transform = "Fisher", sigma = 0.0, exog_count = 0, ar_order = 0); | [
"antoine.carme@laposte.net"
] | antoine.carme@laposte.net |
eb5df28853640bcb013ac32bdbc48d0220d3c72f | 56ba30f470ddf70d7705d847c0ab2f5f894739e7 | /_src/stage3/break_time.py | 854072eda0ac8a1499473b04f35fc3560197a767 | [] | no_license | chhikara0007/intro-to-programming | c989fd5892ed3fcb4c559e278a72a2d931e7c9e3 | 6a93f43c225b146c6874ee7821c25e1f61f821b0 | refs/heads/master | 2021-01-02T08:13:07.238853 | 2016-10-04T14:44:36 | 2016-10-04T14:44:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 379 | py | import time
import webbrowser
import random
total_breaks = 3
break_count = 0
web_list = ["http://www.google.com", "http://twitter.com",
"http://www.youtube.com/watch?v=dQw4w9WgXcQ"]
print("This program started on "+time.ctime())
while(break_count < total_breaks):
time.sleep(5)
web = random.choice(web_list)... | [
"dadac123@gmail.com"
] | dadac123@gmail.com |
1679dfc05c5e136eb693e371474a8d6c679e4eb8 | 46732d613208ee4096fbbd3fd74f22146471d1ce | /wangyiyun_songs&lyrics/all_singer歌手情绪分析/陈粒/sentiments_test.py | 0eaf219349b004a76550efc38b24981a66396e3d | [] | no_license | cassieeric/python_crawler | 7cb02f612382801ae024e2cee70e0c2bcdba927c | 6d2b4db3d34183d729f6fd30555c6d6f04514260 | refs/heads/master | 2022-11-30T20:30:50.031960 | 2022-11-27T02:53:22 | 2022-11-27T02:53:22 | 118,204,154 | 322 | 283 | null | 2022-12-21T09:33:08 | 2018-01-20T03:17:14 | HTML | UTF-8 | Python | false | false | 867 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from snownlp import SnowNLP
# 积极/消极
# print(s.sentiments) # 0.9769551298267365 positive的概率
def get_word():
with open("陈粒歌词关键字.txt") as f:
line = f.readline()
word_list = []
while line:
line = f.readline()
... | [
"noreply@github.com"
] | cassieeric.noreply@github.com |
d47e989a1e6cd0df97c8b0b1cff955d999fdb136 | abfff8ab3162f7003b51d3fdcc7897684d2d4e54 | /unicode.py | 1562ddfe3bc2f669b166f9b3b02d019d3f409711 | [] | no_license | RedKnite5/Junk | 972dc24c99fe30400ab35e77bb4b69abe9076190 | 93b5bb4b6138518724528770cf56ea1df10e95b4 | refs/heads/master | 2023-04-10T07:25:14.968070 | 2023-04-04T04:19:42 | 2023-04-04T04:19:42 | 143,909,118 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 229 | py | import io
with io.open("unicode.txt", "w+", encoding="utf8") as file:
for i in range(32, 127):
file.write(chr(i))
for i in range(161, 130_000):
try:
file.write(chr(i))
except UnicodeEncodeError:
pass
| [
"mr.awesome10000@gmail.com"
] | mr.awesome10000@gmail.com |
71511da2fd63661ffd2addee0f4b082d184b1312 | 187a6558f3c7cb6234164677a2bda2e73c26eaaf | /jdcloud_sdk/services/cloudsign/apis/SaveMultiEvidenceRequest.py | bb03fd81acfbacb5edb45efe9f8045287987e3a4 | [
"Apache-2.0"
] | permissive | jdcloud-api/jdcloud-sdk-python | 4d2db584acc2620b7a866af82d21658cdd7cc227 | 3d1c50ed9117304d3b77a21babe899f939ae91cd | refs/heads/master | 2023-09-04T02:51:08.335168 | 2023-08-30T12:00:25 | 2023-08-30T12:00:25 | 126,276,169 | 18 | 36 | Apache-2.0 | 2023-09-07T06:54:49 | 2018-03-22T03:47:02 | Python | UTF-8 | Python | false | false | 2,364 | 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 ... | [
"jdcloud-api@jd.com"
] | jdcloud-api@jd.com |
763df4380182d72f1502e248f2df77a2e82f2563 | 69eb40f099dcc0ea326972ff63db1d4fd131641a | /test_upkern/test_fixtures/test_sources.py | 29cb9c77be4569f6d5831cd4e236626b66b79ad1 | [] | no_license | alunduil/upkern | 4bcc1485629fad8a0ab1c613f71b7ebc3ef9038e | 23d4a98077bc18a229425a3f53dedd89ef5356fd | refs/heads/master | 2021-01-21T00:18:03.646111 | 2014-01-15T03:06:53 | 2014-01-15T03:06:53 | 1,007,705 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,481 | py | # Copyright (C) 2014 by Alex Brandt <alunduil@alunduil.com>
#
# upkern is freely distributable under the terms of an MIT-style license.
# See COPYING or http://www.opensource.org/licenses/mit-license.php.
SOURCES = {}
SOURCES['correct'] = []
SOURCES['correct'].append(
{
'name': None,
'directory_n... | [
"alunduil@alunduil.com"
] | alunduil@alunduil.com |
3c55cf6714a04191758570aa165a7e286c861126 | 810ce1c1ac47743e253171ec7541c0e431d952c2 | /cosmic_py/tests/e2e/test_api.py | fc3d0125e3dc13ef34cb093cbd65112a7627ab15 | [] | no_license | hjlarry/practise-py | 91052c25dc7ab706c6234f6d657db76667a27124 | 871e06b9652d356f55e3888f1f7ea180ac2b1954 | refs/heads/master | 2022-09-11T17:47:48.557194 | 2022-08-10T02:07:24 | 2022-08-10T02:07:24 | 136,263,989 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,354 | py | import pytest
import requests
import config
from . import api_client
from ..random_refs import random_sku, random_batchref, random_orderid
@pytest.mark.usefixtures("postgres_db")
@pytest.mark.usefixtures("restart_api")
def test_happy_path_returns_201_and_allocated_batch():
orderid = random_orderid()
sku, oth... | [
"hjlarry@163.com"
] | hjlarry@163.com |
7865b6100d53f377cfe311ef52f4b4f3c2c25d79 | 53639eec5ac26184132bf16ce8c5bc428ae884a4 | /rcsb/utils/tests-chem/testOeSearchIndexFpScores.py | 13983f50cb160535b84ea4287576726d1fee83e0 | [
"Apache-2.0"
] | permissive | rcsb/py-rcsb_utils_chem | df4bcd5d40a9c61d9440e5f72f3077c7192bfa7d | 3d1a1ffc63cbcfcd43e69a58fd7eada17780e636 | refs/heads/master | 2023-06-12T07:07:55.151599 | 2023-05-22T13:35:27 | 2023-05-22T13:35:27 | 212,129,928 | 0 | 3 | Apache-2.0 | 2023-05-22T13:35:28 | 2019-10-01T15:20:58 | Python | UTF-8 | Python | false | false | 16,081 | py | ##
# File: OeSearchIndexUtilsTests.py
# Author: J. Westbrook
# Date: 1-Oct-2019
# Version: 0.001
#
# Update:
#
#
##
"""
Tests for search modes using source molecular definitions coming from a search index.
"""
__docformat__ = "restructuredtext en"
__author__ = "John Westbrook"
__email__ = "jwest@rcsb.rutgers.e... | [
"john.westbrook@rcsb.org"
] | john.westbrook@rcsb.org |
883a6c20e7944bbab06ab0137f5b161f3a652d38 | 9f5bc6d70835e32a02364766b406d0cc08e45692 | /hello_dj/music/views.py | 986db014c229efe440662c4a77e9f5c3b977a2c1 | [] | no_license | zx490336534/learn_django | f206f13901a4c177bc78629b839da0b947764927 | 78274ccdb5d97b0576fa893a119dc60369300be2 | refs/heads/master | 2020-04-03T16:39:07.325023 | 2018-11-23T13:59:38 | 2018-11-23T13:59:38 | 155,413,348 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 359 | py | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, 'music/music_index.html',
context={'str': 'LIST',
'format_string': '%Y年%m月%d日 %H:%M:%S',
'ls': [1, 2, 3],
'tp... | [
"490336534@qq.com"
] | 490336534@qq.com |
0582897f7a69500d2f5c4c8fa2494d17fb05329e | 9c9ea9c714eeac36a931f70d2ea7827f6390cf6e | /Pamas/pamas/apps.py | 3b3566431adf51a8b45d63f95bae648c9083ac55 | [
"MIT"
] | permissive | Kipngetich33/Patient-Management-System | fda4572dc7970b96c31da22d301851f90292f58e | 85ca9f3ba403c40ae950e7a59bdff460b5aa0a4b | refs/heads/master | 2021-04-15T09:33:21.874628 | 2018-03-27T16:18:38 | 2018-03-27T16:18:38 | 126,166,290 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 85 | py | from django.apps import AppConfig
class PamasConfig(AppConfig):
name = 'pamas'
| [
"khalifngeno@gmail.com"
] | khalifngeno@gmail.com |
1647fc226c8cbc176c5b932a76f084e49407d819 | be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1 | /DaVinci_v41r2/Phys/StrippingSelections/python/StrippingSelections/StrippingQEE/StrippingZ0RareDecay.py | 2c6998592537863818d578d9100d7ff0f1296b49 | [] | no_license | Sally27/backup_cmtuser_full | 34782102ed23c6335c48650a6eaa901137355d00 | 8924bebb935b96d438ce85b384cfc132d9af90f6 | refs/heads/master | 2020-05-21T09:27:04.370765 | 2018-12-12T14:41:07 | 2018-12-12T14:41:07 | 185,989,173 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 26,281 | py | """
Modified from StrippingRD/StrippingBeauty2XGammaExclusive.py
Module for construction of Z boson Radiative Decays Stripping Selections and StrippingLines.
Provides functions to build K*, rho, omega, D0, Jpsi, and Upsilon selections.
"""
__author__ = ['Hang Yin']
__date__ = '04/03/2016'
__version__ = '$Revision: 1... | [
"slavomirastefkova@b2pcx39016.desy.de"
] | slavomirastefkova@b2pcx39016.desy.de |
04df4861383b7581afd8d54a6fdc8875fe88450c | a170461845f5b240daf2090810b4be706191f837 | /pyqt/DemoFullCode-PythonQt/chap11GUI_Aux/Demo11_1MultiLang/ui_MainWindow.py | 36735a91bc09f4f4433c4a9dc7ff1360ae644a22 | [] | no_license | longhuarst/QTDemo | ec3873f85434c61cd2a8af7e568570d62c2e6da8 | 34f87f4b2337a140122b7c38937ab4fcf5f10575 | refs/heads/master | 2022-04-25T10:59:54.434587 | 2020-04-26T16:55:29 | 2020-04-26T16:55:29 | 259,048,398 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 11,566 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.10.1
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainW... | [
"841105197@qq.com"
] | 841105197@qq.com |
d88a0c782a8bc73f4d9a36576f31ecbb9dc9cec7 | d4f28073663e228e8bd119a70d17a8a21fc849c9 | /algorithms/libHIN/embeddings.py | f48db9584826b168d8bbb09aa8b5de536741ac5f | [] | no_license | wsgan001/embedding_graph | fe81fa6cd81265a1b371d5de0dc4889bf7572763 | 93b49015dd2610e4348b2f7e3dc90405bd803c36 | refs/heads/master | 2021-08-27T18:54:47.803771 | 2017-11-23T09:36:05 | 2017-11-23T09:36:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 19,559 | py | ## this is the embedding code
from .dataStructures import HeterogeneousInformationNetwork
from .core import stochastic_normalization, page_rank
from .infolog import emit_state
import numpy as np
import scipy.sparse as sp
from .community_detection import *
from .graphlet_calculation import count_graphlets_orca
from .dee... | [
"skrljblaz@gmail.com"
] | skrljblaz@gmail.com |
ea41d337a31b2b87ff214078d6af68efe6081d38 | b09f0db1feadd6b6f18c2590ff1eae9413409b5a | /bista_iugroup/billing_form.py | adb16992e9eadc25cdc50e62b17d685126f1f462 | [] | no_license | suningwz/IUG | fdb4a09ed742902b350dd99701ad694aaeb67dd7 | 87d44bc3321703e54e4ea29de1c32a2224235180 | refs/heads/master | 2022-12-02T23:03:18.397818 | 2020-08-14T08:51:33 | 2020-08-14T08:51:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 74,232 | py | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Business Applications
# Copyright (C) 2004-2012 OpenERP S.A. (<http://openerp.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms o... | [
"Vicky@planet-odoo.com"
] | Vicky@planet-odoo.com |
9a99affd9330d2197cca6838b31c5b0ee9a601f9 | a9fc496e0724866093dbb9cba70a8fdce12b67a9 | /scripts/quest/q38997s.py | 70187343f30d734e3f2f0de50048ea1ff1017575 | [
"MIT"
] | permissive | ryantpayton/Swordie | b2cd6b605f7f08f725f5e35d23ba3c22ef2ae7c0 | ca6f42dd43f63b1d2e6bb5cdc8fc051c277f326e | refs/heads/master | 2022-12-01T09:46:47.138072 | 2020-03-24T10:32:20 | 2020-03-24T10:32:20 | 253,997,319 | 2 | 0 | MIT | 2022-11-24T08:17:54 | 2020-04-08T05:50:22 | Java | UTF-8 | Python | false | false | 906 | py | # 410000002
MOONBEAM = 3002100
sm.setSpeakerID(MOONBEAM)
sm.sendNext("Let's start with #b[Fox Trot]#k. If you really do have ears, perk them up for this!")
sm.sendSay("#b[Fox Trot]#k is super helpful when you want to move quickly or get close to an enemy. You're way too slow to catch prey, so you need all the help you... | [
"mechaviv@gmail.com"
] | mechaviv@gmail.com |
7588a1f1d54c158868ca7d9adccae62c33984539 | 5e6d8b9989247801718dd1f10009f0f7f54c1eb4 | /sdk/python/pulumi_azure_native/dbformysql/v20210501/firewall_rule.py | badcbf6bc5c32f77ee493d353ec35ac77c0890c9 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | vivimouret29/pulumi-azure-native | d238a8f91688c9bf09d745a7280b9bf2dd6d44e0 | 1cbd988bcb2aa75a83e220cb5abeb805d6484fce | refs/heads/master | 2023-08-26T05:50:40.560691 | 2021-10-21T09:25:07 | 2021-10-21T09:25:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,069 | py | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | [
"noreply@github.com"
] | vivimouret29.noreply@github.com |
1fef7a4826a9cfda2ae498faf73994059b0b0e6c | 097dda217c3d31b69cb309369dc0357fe0f229ab | /app/customadmin/mixins.py | 2a50cfaa427fe7b145bd481d88229b25ee87aa49 | [] | no_license | Jaycitrusbug/book-python | 57a96ee343eee5b63ca5f7ee2461db82426321b5 | b5a4de74c9114546ee03b8aa5de1381719ddf74e | refs/heads/master | 2023-06-20T01:52:29.484415 | 2021-07-16T13:06:05 | 2021-07-16T13:06:05 | 386,638,204 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,461 | py | # -*- coding: utf-8 -*-
from django.contrib import messages
from django.contrib.auth import get_permission_codename
from django.core.exceptions import ImproperlyConfigured
from django.shortcuts import redirect
# -----------------------------------------------------------------------------
class SuccessMessageMixin(... | [
"jay.citrusbug@gmail.com"
] | jay.citrusbug@gmail.com |
ab44c61a08bafb6bc721cd98b410a587695b4f8f | d2c4934325f5ddd567963e7bd2bdc0673f92bc40 | /tests/model_control/detailed/transf_Anscombe/model_control_one_enabled_Anscombe_MovingAverage_Seasonal_Second_ARX.py | c958c960f5731fcc823ea172e5b07cbf2c2a8f40 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jmabry/pyaf | 797acdd585842474ff4ae1d9db5606877252d9b8 | afbc15a851a2445a7824bf255af612dc429265af | refs/heads/master | 2020-03-20T02:14:12.597970 | 2018-12-17T22:08:11 | 2018-12-17T22:08:11 | 137,104,552 | 0 | 0 | BSD-3-Clause | 2018-12-17T22:08:12 | 2018-06-12T17:15:43 | Python | UTF-8 | Python | false | false | 166 | py | import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod
testmod.build_model( ['Anscombe'] , ['MovingAverage'] , ['Seasonal_Second'] , ['ARX'] ); | [
"antoine.carme@laposte.net"
] | antoine.carme@laposte.net |
7b1b7a1f6efa7c705b819d292641046e170df0b9 | 548c26cc8e68c3116cecaf7e5cd9aadca7608318 | /dealprops/migrations/0008_auto__add_field_dailydeal_steal_now_image__del_field_dailydealimage_da.py | d69f30823cdf4a1e8fd38ec395041851b0de51a3 | [] | no_license | Morphnus-IT-Solutions/riba | b69ecebf110b91b699947b904873e9870385e481 | 90ff42dfe9c693265998d3182b0d672667de5123 | refs/heads/master | 2021-01-13T02:18:42.248642 | 2012-09-06T18:20:26 | 2012-09-06T18:20:26 | 4,067,896 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 16,890 | py | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'DailyDeal.steal_now_image'
db.add_column('dealprops_dailydeal', 'steal_now_image', self.gf... | [
"saumil.dalal@futuregroup.in"
] | saumil.dalal@futuregroup.in |
aceb6eae41948f7ba22172a460aa667e1dff7b03 | 4656c9b22bee48b4156eb3524bab3215a1993d83 | /packages/gui/assets_widget/assets_item.py | 1d0fb14b51071fdc41de479eeca1fa77a8ee7819 | [] | no_license | mikebourbeauart/tempaam | 0bc9215de0d967788b3c65b481a5fd3c7153dddc | c2582b5cc1fc45042c5b435f703786d7c04a51a2 | refs/heads/master | 2021-03-27T10:35:43.378899 | 2018-09-06T04:46:18 | 2018-09-06T04:46:18 | 120,359,405 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 175 | py | from Qt import QtWidgets
class AssetsItem(QtWidgets.QTreeWidgetItem):
def __init__(self, *args):
QtWidgets.QTreeWidgetItem.__init__(self, *args) | [
"borbs727@gmail.com"
] | borbs727@gmail.com |
7bee31495c45a466373e68c775248f9c546b3a6c | d1b3c9e1055bc759f5fba8379570ddc20cf4caa5 | /Saver.py | 778690ec07d95b39c92c0776b8afd32ca1b8562c | [] | no_license | woolpeeker/bet365_data | 309b38245c77d9f9387c7d946dbb8410c4c84bc6 | 4cb920095f98faf220c74125d39ccdfe84229ee3 | refs/heads/master | 2020-03-29T22:48:40.234365 | 2018-12-14T03:41:42 | 2018-12-14T03:41:42 | 150,441,477 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,069 | py | import datetime
import traceback
import pymysql
from utils import get_logger
sql_cmd = {
'create_table': "CREATE TABLE inplay ( \
id int NOT NULL AUTO_INCREMENT, PRIMARY KEY (id),\
insert_time datetime NOT NULL, \
crawler varchar(255), \
fp char(255) NOT NULL, \
league char(255), date Date NOT NULL, \
team_... | [
"luojiapeng1993@gmail.com"
] | luojiapeng1993@gmail.com |
cc82fb1b7b8286a21e86fe57bd1cbeba056b0bbe | 3cf0d750948a758d5771dd778fbb783d64a044ae | /src/algo_cases/第9章/9_4.py | 1b8b02fc6a55727dfa928a539382f6f384f9e3db | [
"CC-BY-NC-SA-4.0",
"Apache-2.0"
] | permissive | hbulpf/pydemo | 6552a08b3c85721ac1b2ba335b030e234ad03b6c | ea3e9f9086116a86ecef803e9e3179a34c94c20f | refs/heads/master | 2022-11-30T21:06:29.933820 | 2022-01-15T17:05:16 | 2022-01-15T17:05:16 | 237,584,300 | 6 | 1 | Apache-2.0 | 2022-11-22T09:49:38 | 2020-02-01T08:20:43 | Python | UTF-8 | Python | false | false | 1,001 | py | class Solution:
def findnum(self, nums):
def func(low,high):
if low==high:
return nums[low]
mid=low+(high-low)//2
head=func(low,mid)
tail=func(mid+1,high)
if head==tail:
return tail
head_count=sum(1 for i... | [
"hudalpf@163.com"
] | hudalpf@163.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.