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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c838e38957b8e229ba09084ca17679920d4a87a | 85a9ffeccb64f6159adbd164ff98edf4ac315e33 | /pysnmp/XYPLEX-LAT1-MIB.py | 9115a68e1bcae47973be45f12f9172c3ebd1ff1c | [
"Apache-2.0"
] | permissive | agustinhenze/mibs.snmplabs.com | 5d7d5d4da84424c5f5a1ed2752f5043ae00019fb | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | refs/heads/master | 2020-12-26T12:41:41.132395 | 2019-08-16T15:51:41 | 2019-08-16T15:53:57 | 237,512,469 | 0 | 0 | Apache-2.0 | 2020-01-31T20:41:36 | 2020-01-31T20:41:35 | null | UTF-8 | Python | false | false | 19,721 | py | #
# PySNMP MIB module XYPLEX-LAT1-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XYPLEX-LAT1-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 21:40:05 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27... | [
"dcwangmit01@gmail.com"
] | dcwangmit01@gmail.com |
a39a00acac47914e717411524682266198077482 | 7fb51ae4163aeea47d0fb434f28666ea99b104af | /app.py | 2cb0275c32bef3070e1b21c6218a864f8431cfd1 | [] | no_license | knowsuchagency/cdk-hello-apigw-asgi | 153eaae8d01a14e5886315122613c462ea90de70 | a47cdc58ddd9bb070419d4fbcfa1cf07fb3873f9 | refs/heads/master | 2022-12-28T15:44:05.585842 | 2020-10-18T18:17:15 | 2020-10-18T18:17:15 | 301,259,143 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 764 | py | #!/usr/bin/env python3
from aws_cdk import core
from hello_apig_wsgi.hello_apig_wsgi_stack import HelloApigWsgiStack
from hello_apig_wsgi.pipeline_stack import PipelineStack
from pydantic import BaseSettings
class Config(BaseSettings):
"""https://pydantic-docs.helpmanual.io/usage/settings/"""
account: str =... | [
"knowsuchagency@gmail.com"
] | knowsuchagency@gmail.com |
31c03c46273a3ec99f7d4ec05e1b47a219fe961a | 291c08a11a29ce995099f775ac0ef79cd69dd1fc | /file_app/migrations/0001_initial.py | 3918065b948c8b8a81a7a5331b098db45406b028 | [
"MIT"
] | permissive | Amirsorouri00/neolej | 1e278a2216a961b8abedc32b30d4fccf5c431d0b | 8fa18f2c1a38b0a59ed7eeeed7ed37ef7b9dad97 | refs/heads/master | 2020-04-20T15:36:24.669991 | 2019-03-17T07:20:02 | 2019-03-17T07:20:02 | 168,935,557 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 557 | py | # Generated by Django 2.1.3 on 2019-02-16 15:28
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='File',
fields=[
('id', models.AutoField(aut... | [
"amirsorouri26@gmail.com"
] | amirsorouri26@gmail.com |
95ee6d9028cb4c1c7c5a614b96db2580eee8344c | e859d4604615e4ff3c6730554b12ae7b09e86286 | /django-stubs/db/models/fields/files.pyi | bb53d5944104eade0990047b3af0abafb3dbaff7 | [
"BSD-3-Clause"
] | permissive | microblag/django-stubs | d91655c346279424cf5e57b80a0b104dceb86ddc | d0eb05832551d344f06ec3e83cb850866a4d37c2 | refs/heads/master | 2020-04-18T05:18:24.887114 | 2019-02-06T04:02:28 | 2019-02-06T04:02:28 | 167,273,694 | 0 | 0 | null | 2019-01-24T00:12:42 | 2019-01-24T00:12:42 | null | UTF-8 | Python | false | false | 2,954 | pyi | from typing import Any, Callable, List, Optional, Type, Union
from django.core.checks.messages import Error
from django.core.files.base import File
from django.core.files.images import ImageFile
from django.core.files.storage import FileSystemStorage, Storage
from django.db.models.base import Model
from django.db.mod... | [
"maxim.kurnikov@gmail.com"
] | maxim.kurnikov@gmail.com |
93445be0fe7f2304b57849fd393fb87152e4fed1 | 95230c76a9e09d518c125ea8105002a7af6d1afc | /05_qstyle_sheets/style_sheets_example.py | 48aab6b37dbed01f2b7497c75912ca16b2631c56 | [] | no_license | amkartheek/nuke_python | d5f86f5ccb9742cd65acaf571fd4f5c7ca4032ff | 67ed5e25796506c9321f487f576bc142842e0041 | refs/heads/master | 2020-05-31T19:04:19.463232 | 2018-03-09T19:17:19 | 2018-03-09T19:17:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,088 | py | from PySide.QtGui import *
from PySide.QtCore import *
import sys
class MyLineEdit(QLineEdit):
def __init__(self):
super(MyLineEdit, self).__init__()
class Panel(QWidget):
def __init__(self):
super(Panel, self).__init__()
first_name_label = QLabel("First Name:")
self.first_na... | [
"harukun2002@gmail.com"
] | harukun2002@gmail.com |
bc72cc0f0343ca37bc40790a466c5e2c0b09be43 | 2f46c6463d4f871a72d4296c3dae00f029e892f1 | /src/cogent3/maths/stats/jackknife.py | 33192edc584ffa4dc6506935473a1e778893a7bd | [
"BSD-3-Clause"
] | permissive | BrendanBeaton/cogent3 | a09376c55f24da837690219157770ad94e917579 | e10f4f933921d52b000096b7c016190a1602add6 | refs/heads/master | 2022-12-02T07:59:11.112306 | 2020-06-30T05:40:33 | 2020-06-30T05:40:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,782 | py | import numpy as np
from cogent3.util.table import Table
__author__ = "Anuj Pahwa, Gavin Huttley"
__copyright__ = "Copyright 2007-2020, The Cogent Project"
__credits__ = ["Anuj Pahwa", "Gavin Huttley"]
__license__ = "BSD-3"
__version__ = "2020.6.30a"
__maintainer__ = "Gavin Huttley"
__email__ = "Gavin.Huttley@anu.edu... | [
"Gavin.Huttley@anu.edu.au"
] | Gavin.Huttley@anu.edu.au |
e0b15df612ba3b856357439a9d6586d0186b146e | c0c4fe8f9aff2e7684fcaf10329f963873753b2a | /src/biotite/sequence/sequence.py | 1a6b8230a35cd5b6afd265692459ee224fe40473 | [
"BSD-3-Clause"
] | permissive | thomasnevolianis/biotite | 85e1b9d6a1fbb5d9f81501a8ebc617bc26388ab9 | 916371eb602cfcacb2d5356659298ef38fa01fcc | refs/heads/master | 2022-11-30T19:40:53.017368 | 2020-08-04T07:00:59 | 2020-08-04T07:00:59 | 285,375,415 | 0 | 0 | BSD-3-Clause | 2020-08-05T18:41:48 | 2020-08-05T18:41:47 | null | UTF-8 | Python | false | false | 11,010 | py | # This source code is part of the Biotite package and is distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
"""
The module contains the :class:`Sequence` superclass and :class:`GeneralSequence`.
"""
__name__ = "biotite.sequence"
__author__ = "Patrick Kunzmann"
__all__ = ... | [
"patrick.kunzm@gmail.com"
] | patrick.kunzm@gmail.com |
f15ea5350f91db08607111b1b3da17afdb7e9df0 | e10a6d844a286db26ef56469e31dc8488a8c6f0e | /compositional_rl/gwob/examples/web_environment_example.py | db65accda519a7ce01ec591613e7c7d0385b57be | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | Jimmy-INL/google-research | 54ad5551f97977f01297abddbfc8a99a7900b791 | 5573d9c5822f4e866b6692769963ae819cb3f10d | refs/heads/master | 2023-04-07T19:43:54.483068 | 2023-03-24T16:27:28 | 2023-03-24T16:32:17 | 282,682,170 | 1 | 0 | Apache-2.0 | 2020-07-26T15:50:32 | 2020-07-26T15:50:31 | null | UTF-8 | Python | false | false | 6,400 | py | # coding=utf-8
# Copyright 2022 The Google Research Authors.
#
# 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 applicab... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
8c5ffaaa66db4fcbb98cfd663e36037edaa8163a | abaa806550f6e6e7bcdf71b9ec23e09a85fe14fd | /data/global-configuration/packs/vmware/collectors/vmguestlib.py | eb9e2dabd67d95667afa30dc59ee76accdf5f3c7 | [
"MIT"
] | permissive | naparuba/opsbro | 02809ddfe22964cd5983c60c1325c965e8b02adf | 98618a002cd47250d21e7b877a24448fc95fec80 | refs/heads/master | 2023-04-16T08:29:31.143781 | 2019-05-15T12:56:11 | 2019-05-15T12:56:11 | 31,333,676 | 34 | 7 | null | null | null | null | UTF-8 | Python | false | false | 22,971 | py | ### This program is free software; you can redistribute it and/or
### modify it under the terms of the GNU General Public License
### as published by the Free Software Foundation; either version 2
### of the License, or (at your option) any later version.
###
### This program is distributed in the hope that it will be ... | [
"naparuba@gmail.com"
] | naparuba@gmail.com |
59411623046d6332476124e04690091dcaed47f4 | 25864296fe1d059bba11e999541828ea5eadc5b9 | /DarkSUSY_mH_125/mGammaD_0275/cT_10000/DarkSUSY_LHE_read.py | 67e6e5eb47bd296666d7acc0323970e5aa374aa6 | [] | no_license | bmichlin/MuJetAnalysis_DarkSusySamples_LHE_13TeV_01 | 17965f8eddf65d24a7c3c8ab81f92c3fc21f4f58 | 1de8d11f1a2e86874cd92b9819adbad4a6780b81 | refs/heads/master | 2020-06-14T12:54:38.920627 | 2015-03-18T14:00:07 | 2015-03-18T14:00:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 111,093 | py | import ROOT, array, os, re, math, random, string
from math import *
from operator import itemgetter
def getStringBetween(name, first, second):
begOf1 = name.find(first)
endOf1 = len(first) + begOf1
begOf2 = name.find(second)
desiredString = name[endOf1:begOf2]
return desiredString
muonID = 13
higgsID = 25
... | [
"bmichlin@rice.edu"
] | bmichlin@rice.edu |
3523fe1ae052b3f169f7bc74db4e83be9b2377c2 | 40afc1f3790099d2d5270503d101f30c71a89f07 | /usersys/views/user.py | d4c9af3172aaa675d041cfa02bcb920867dd7649 | [] | no_license | fhydralisk/reviewing | a3d31af1e8fe8caf2e831b35816d638ac0cadcce | 7a27f278f85f9fdbcc805b0290f6bbdbb7147609 | refs/heads/master | 2020-05-14T23:27:37.229343 | 2019-05-07T12:28:21 | 2019-05-07T12:28:21 | 181,997,119 | 0 | 2 | null | 2019-05-07T07:38:14 | 2019-04-18T01:49:53 | Python | UTF-8 | Python | false | false | 431 | py | from base.views import WLAPIGenericView
from ..serializers import user as user_serializers
from ..funcs import user as user_funcs
class UserView(WLAPIGenericView):
http_method_names = ['get', 'patch', 'options']
API_SERIALIZER = {
'patch': user_serializers.UserPartialUpdateSerializer
}
RESULT_... | [
"fhy14@mails.tsinghua.edu.cn"
] | fhy14@mails.tsinghua.edu.cn |
62ab32f13bfb48de1118f28c062ed0d2f5702325 | 6e5c83baa19e09bcc59300d764ce936f8cbe6b5b | /pybtex/style/names/plain.py | 62c0c2ca311b0e086a1a078c4410d14d84d02f38 | [
"MIT"
] | permissive | rybesh/pybtex | 84e10b12f6c9ade0de2af638bfc23945109eff6d | 18e0b5336f07ebc5dc97aa899362fb292ea7bb5a | refs/heads/master | 2016-08-07T20:15:26.865726 | 2011-03-18T18:03:48 | 2011-03-18T18:03:48 | 1,246,178 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,441 | py | # Copyright (c) 2010, 2011 Andrey Golovizin
#
# 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, merge, pub... | [
"ryanshaw@ischool.berkeley.edu"
] | ryanshaw@ischool.berkeley.edu |
712c8911fb30a81f68341c8d02607fc01373169c | bc2effb57e82128b81371fb03547689255d5ef15 | /백준/그래프/13549(숨바꼭질 3).py | 3e27f94ac43b4efa403bf096775a59d3e8e538cd | [] | no_license | CharmingCheol/python-algorithm | 393fa3a8921f76d25e0d3f02402eae529cc283ad | 61c8cddb72ab3b1fba84171e03f3a36f8c672648 | refs/heads/master | 2023-03-01T11:00:52.801945 | 2021-01-31T13:38:29 | 2021-01-31T13:38:29 | 229,561,513 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 738 | py | import sys
from collections import deque
MAX_SIZE = 100001
start, end = map(int, sys.stdin.readline().split())
board = [float("inf")] * MAX_SIZE
board[start] = 0
queue = deque()
queue.append((start, 0))
while queue:
now, value = queue.popleft()
if now == end:
print(board[now])
break
if val... | [
"54410332+chamincheol@users.noreply.github.com"
] | 54410332+chamincheol@users.noreply.github.com |
86e497f7d8b7f8e601d5bdf3d3d634b51fbc04bf | e82b761f53d6a3ae023ee65a219eea38e66946a0 | /All_In_One/addons/hair_tool/curves_resample.py | bbf794543f831be09e4c96a6a4ed9485f74a8093 | [] | no_license | 2434325680/Learnbgame | f3a050c28df588cbb3b14e1067a58221252e2e40 | 7b796d30dfd22b7706a93e4419ed913d18d29a44 | refs/heads/master | 2023-08-22T23:59:55.711050 | 2021-10-17T07:26:07 | 2021-10-17T07:26:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,061 | py | # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
7e33879f634aa7e8d75988cebf28a1a0a95922cf | 9918208c80a3c396d8a1e13783d501d60dbc2050 | /digitalearthau/index.py | 184f71b63443c944423a74ab43f21a32af6c40c5 | [] | no_license | benjimin/digitalearthau | 2d3010be76fad0d0b6b4854dbbad07e98254b239 | 5098bf3c88627cad78a8caa5ab703c586c17a6f7 | refs/heads/develop | 2022-02-27T07:36:16.009689 | 2017-09-14T05:51:27 | 2017-09-14T05:51:27 | 103,460,937 | 0 | 0 | null | 2017-09-13T23:10:15 | 2017-09-13T23:10:15 | null | UTF-8 | Python | false | false | 7,353 | py | import collections
import uuid
from datetime import datetime
from typing import Iterable, Optional, Mapping, List
from datacube.index import index_connect
from datacube.index._api import Index
from datacube.model import Dataset
from datacube.scripts import dataset as dataset_script
from datacube.utils import uri_to_lo... | [
"jez@stulk.com"
] | jez@stulk.com |
bb7d789c7df59f3ef3d4b7d31cc5b89a64bbb3c6 | 51cbd904e17e45f6adb5303c3532a6ff0519ab42 | /sdk/tables/azure-data-tables/tests/test_table_service_properties_cosmos.py | 139f3c1973a4a4d8f57e5f7f63813ae8c7bfbeef | [
"LicenseRef-scancode-generic-cla",
"MIT",
"LGPL-2.1-or-later"
] | permissive | heaths/azure-sdk-for-python | 203e9a6052d7dff5b5f2346bced86b9406be3419 | 77feaf14471eba6642f5c7ae2f3f06981ff361d7 | refs/heads/master | 2022-07-26T06:46:57.067502 | 2021-04-15T21:35:26 | 2021-04-15T21:35:26 | 239,629,447 | 0 | 0 | MIT | 2020-02-10T22:46:20 | 2020-02-10T22:46:19 | null | UTF-8 | Python | false | false | 9,896 | py | # coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------... | [
"noreply@github.com"
] | heaths.noreply@github.com |
15b6ae2d70b9799cb8748159e727ba2aff01ca67 | a7b4bd1db26f71ab941076691d894583e167a3fd | /tools/cli_auto_doc.py | 3fa4e46f23cc9b1663fdece8826ea5510b80263b | [
"Apache-2.0"
] | permissive | Mirantis/stackalytics | c422ccb27baa3f1fd7e68b9732ba0203144a3657 | 96ec7c6c630a9f2532b808069e045d434bbac200 | refs/heads/master | 2021-01-18T21:58:38.904481 | 2017-01-25T11:14:12 | 2017-01-25T11:14:12 | 10,863,780 | 3 | 4 | Apache-2.0 | 2020-02-26T11:45:53 | 2013-06-22T11:17:28 | Python | UTF-8 | Python | false | false | 1,806 | py | # Copyright (c) 2015 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | [
"ishakhat@mirantis.com"
] | ishakhat@mirantis.com |
58893a54c197fb68eeb0d035302bf64d8d6e53e9 | acb8e84e3b9c987fcab341f799f41d5a5ec4d587 | /langs/3/gD3.py | aa7152104068969fce4fab0f59d40adbf339df10 | [] | no_license | G4te-Keep3r/HowdyHackers | 46bfad63eafe5ac515da363e1c75fa6f4b9bca32 | fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2 | refs/heads/master | 2020-08-01T12:08:10.782018 | 2016-11-13T20:45:50 | 2016-11-13T20:45:50 | 73,624,224 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 486 | py | import sys
def printFunction(lineRemaining):
if lineRemaining[0] == '"' and lineRemaining[-1] == '"':
if len(lineRemaining) > 2:
#data to print
lineRemaining = lineRemaining[1:-1]
print ' '.join(lineRemaining)
else:
print
def main(fileName):
with open(fileName) as f:
for line in f:
... | [
"juliettaylorswift@gmail.com"
] | juliettaylorswift@gmail.com |
1a8b3763c8a94e48cf8da659c686babc72716600 | 80abe7427ca501da06a9507cefa52d5c290f2833 | /Chapter04/topic_modeling.py | 841891d56168915143ec57282aeab11713c75372 | [] | no_license | CodedQuen/Raspberry-Pi-3-Cookbook-for-Python-Programmers | 7910c9cf9ebaf6f42510bd531bf965fd03e6efe8 | 4a77452c4510fd9c7da62099a93fdbc95a86245a | refs/heads/master | 2022-06-10T04:36:59.316284 | 2020-05-05T10:18:33 | 2020-05-05T10:18:33 | 261,421,883 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,220 | py |
from nltk.tokenize import RegexpTokenizer
from nltk.stem.snowball import SnowballStemmer
from gensim import models, corpora
from nltk.corpus import stopwords
# Load input words
def load_words(in_file):
element = []
with open(in_file, 'r') as f:
for line in f.readlines():
elem... | [
"noreply@github.com"
] | CodedQuen.noreply@github.com |
19ebe0e0280c2829c58678866cdc0eb3a1da7611 | bbe6f37f7347cb83f08846d505ac4aa6bc0031e6 | /purity_fb/purity_fb_1dot9/apis/arrays_api.py | 7bd8335e17e2cf1d85d4d5361d2a51ff900af97e | [
"Apache-2.0"
] | permissive | bsamz-ps/purity_fb_python_client | 02ff7213075cf1948e2db7b0835cc5fcc56f328a | 11f27ef0c72d8aac1fc4e1ed036cca038b85dfa4 | refs/heads/master | 2021-02-19T08:11:04.042758 | 2020-02-12T23:56:08 | 2020-02-12T23:56:08 | 245,294,511 | 0 | 0 | NOASSERTION | 2020-03-06T00:14:27 | 2020-03-06T00:14:26 | null | UTF-8 | Python | false | false | 43,419 | py | # coding: utf-8
"""
Pure Storage FlashBlade REST 1.9 Python SDK
Pure Storage FlashBlade REST 1.9 Python SDK. Compatible with REST API versions 1.0 - 1.9. Developed by [Pure Storage, Inc](http://www.purestorage.com/). Documentations can be found at [purity-fb.readthedocs.io](http://purity-fb.readthedocs.io/).
... | [
"tlewis@purestorage.com"
] | tlewis@purestorage.com |
25b980a0be5f061c6bdc488b9c6e51969e8a81c7 | ceb5b7c3882b2bf3f53219356e914462c680f059 | /azure-mgmt-compute/azure/mgmt/compute/containerservice/v2017_01_31/models/container_service_client_enums.py | 279f5dcb9d3ff37bd26b6e9a9c88b555f28c3dff | [
"MIT"
] | permissive | codalab/azure-sdk-for-python | b712da2a377cfa526e0ffa4fa40408e6a81e48e3 | f4c92d02d46fcdee9da430a18a394b108a2f8920 | refs/heads/master | 2021-01-19T14:40:23.567035 | 2017-04-11T22:49:13 | 2017-04-11T22:49:13 | 88,180,409 | 1 | 0 | null | 2017-04-13T15:36:45 | 2017-04-13T15:36:44 | null | UTF-8 | Python | false | false | 2,291 | 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 ... | [
"lmazuel@microsoft.com"
] | lmazuel@microsoft.com |
825006c894ca28563ceb49ebb22caa4eb6aead20 | 4e0c1615c467c63524db9a33d0e769f1370f5a12 | /python-ops/training/exercise/test/murthy/r30.py | ae1cc0288d7548781efef0cae97dc498836eb388 | [] | no_license | infra-ops/cloud-ops | 1afb44ed29000491aaa5420ebc6e0b8d740fc55c | 4f676fde13f33c838f7f17affd705966a6d31da2 | refs/heads/master | 2023-08-27T03:00:32.867645 | 2023-08-23T14:27:59 | 2023-08-23T14:27:59 | 140,283,053 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 64 | py | values = [100,200,300,400]
slice = values[1:3]
print(slice)
| [
"chakraborty.rock@gmail.com"
] | chakraborty.rock@gmail.com |
985dad9eac8bbe27fa5b3adfb04734809e871ce4 | ae16f9dd815605e5f52f27dda77bd735abafb587 | /parser/councilors/elections_config.py | 1bf0e2a7db9c45f4024b1026e1cd6c38e1f368c0 | [
"CC0-1.0"
] | permissive | travishen/councilor-voter-guide | aa4a1aa3b86db9ca40b291baf461ff0330a369c0 | 09d9365676335854b2d4d0981f5cb925adf4c958 | refs/heads/master | 2020-04-13T10:09:07.688276 | 2018-11-28T14:51:05 | 2018-11-28T14:51:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,827 | py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
import sys
sys.path.append('../')
import re
import json
import psycopg2
import ast
from sys import argv
import gspread
from oauth2client.service_account import ServiceAccountCredentials
import db_settings
conn = db_settings.con()
c = conn.cursor()
election_year = ast.li... | [
"twly.tw@gmail.com"
] | twly.tw@gmail.com |
88842d784deeecde1c87e82ab837462e8ead03f9 | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /ZZsnGAjYLyosG9zmH_12.py | aa9e707c08223592b4481ac84b90ac438ecda630 | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 206 | py |
def flash(fc):
var1, oper, var2 = fc
return var1 + var2 if oper == '+' else var1 - var2 if oper == '-' else var1 * var2 if oper == 'x' else round(var1 / var2, 2) if oper == '/' and var2 else None
| [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
3f37df8301b6e1dbb044c648cb837c0f03ffdbc6 | a1582cec6239f627c6740b391d751f429675ee39 | /test_todo.py | 039a3c22c18438751c553f7c5c877b02e940182e | [] | no_license | SolbiatiAlessandro/todos | 7cabfd35d6c7d3cdd3232051be4a96c667d55f21 | b85e74c4fc220dccc5a0a05a288465b2da98f6d0 | refs/heads/master | 2020-03-28T18:56:09.847298 | 2018-10-15T15:07:01 | 2018-10-15T15:07:01 | 148,928,531 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 638 | py | import unittest
import todo
from os import path
dir_path = path.dirname(path.realpath(__file__))
class testTODO( unittest.TestCase ):
def test_readElems( self ):
self.assertIsNotNone( todo.readElems() )
def test_todoDone( self ):
with open(dir_path+'/todos','a') as f:
f.write('"[... | [
"alexsolbiati@hotmail.it"
] | alexsolbiati@hotmail.it |
bec5d5fbb09b6260d514209bc438f344d215832b | ac5e52a3fc52dde58d208746cddabef2e378119e | /exps-sblp/sblp_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=30/sched.py | a85202e958d39e172c17afa700742b708255c6d6 | [] | no_license | ricardobtxr/experiment-scripts | 1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1 | 7bcebff7ac2f2822423f211f1162cd017a18babb | refs/heads/master | 2023-04-09T02:37:41.466794 | 2021-04-25T03:27:16 | 2021-04-25T03:27:16 | 358,926,457 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 495 | py | -S 0 -X RUN -Q 0 -L 2 84 250
-S 1 -X RUN -Q 0 -L 2 80 250
-S 0 -X RUN -Q 0 -L 2 74 250
-S 0 -X RUN -Q 0 -L 2 59 250
-S 2 -X RUN -Q 1 -L 1 57 200
-S 2 -X RUN -Q 1 -L 1 48 175
-S 2 -X RUN -Q 1 -L 1 40 125
-S 2 -X RUN -Q 1 -L 1 33 300
-S 3 -X RUN -Q 2 -L 1 29 100
-S 3 -X RUN -Q 2 -L 1... | [
"ricardo.btxr@gmail.com"
] | ricardo.btxr@gmail.com |
c2abb820a33634fbd4d2baa8cc40894fd5ffc9db | afea9757be324c8def68955a12be11d71ce6ad35 | /willyanealves/customer_service/migrations/0018_remove_customerservice_serviceitem.py | 5389c0887e5e5598bfdb43884190c5126c6d8681 | [] | no_license | bergpb/willyane-alves | c713cac3ec3a68005f3b8145985693d2477ba706 | 8b2b9922ba35bf2043f2345228f03d80dbd01098 | refs/heads/master | 2023-02-10T19:57:50.893172 | 2021-01-11T16:17:14 | 2021-01-11T16:17:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 368 | py | # Generated by Django 3.1.2 on 2020-11-16 14:18
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('customer_service', '0017_auto_20201116_1115'),
]
operations = [
migrations.RemoveField(
model_name='customerservice',
... | [
"jocsadm@gmail.com"
] | jocsadm@gmail.com |
4968c79739666e8ad2edd13f77a4d5034eea9c2e | 649bd422025e421d86025743eac324c9b882a2e8 | /exam/1_three-dimensional_atomic_system/dump/phasetrans/temp45_9000.py | 4d4f26e616aa9b6ced1b2bb6742aa541c91b1e07 | [] | no_license | scheuclu/atom_class | 36ddee1f6a5995872e858add151c5942c109847c | 0c9a8c63d9b38898c1869fe8983126cef17662cd | refs/heads/master | 2021-01-21T10:52:28.448221 | 2017-03-07T23:04:41 | 2017-03-07T23:04:41 | 83,489,471 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 68,965 | py | ITEM: TIMESTEP
9000
ITEM: NUMBER OF ATOMS
2048
ITEM: BOX BOUNDS pp pp pp
7.1778912625688207e-01 4.6482210873740115e+01
7.1778912625688207e-01 4.6482210873740115e+01
7.1778912625688207e-01 4.6482210873740115e+01
ITEM: ATOMS id type xs ys zs
8 1 0.128064 0.0616737 0.0601487
35 1 0.0656057 0.120012 0.0619676
130 1 0.06852... | [
"scheuclu@gmail.com"
] | scheuclu@gmail.com |
c5764734108e5118eb033f9417b70073be8ac9a0 | 28541d61368a14a0d5003db4cc07fed21b40c41f | /Chapter-4/maze3.py | 2a2bcf9a00c029002b258874bd88cd10f9fc123a | [] | no_license | eizin6389/python_algorithm | 390861f9342ce907f2cda0b45b84d364bcba7541 | abf3588ed97a343b6559eb5d69156708d42bc243 | refs/heads/master | 2022-12-06T20:48:49.470312 | 2020-08-14T13:29:26 | 2020-08-14T13:29:26 | 282,905,077 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 796 | py | maze = [
[9,9,9,9,9,9,9,9,9,9,9,9],
[9,0,0,0,9,0,0,0,0,0,0,9],
[9,0,9,0,0,0,9,9,0,9,9,9],
[9,0,9,9,0,9,0,0,0,9,0,9],
[9,0,0,0,9,0,0,9,9,0,9,9],
[9,9,9,0,0,9,0,9,0,0,0,9],
[9,0,0,0,9,0,9,0,0,9,1,9],
[9,0,9,0,0,0,0,9,0,0,9,9],
[9,0,0,9,0,9,0,0,9,0,0,9],
[9,0,9,0,9,0,9,0,0,9,0,9],
[9,0,0,0,0,0,0,9,0,0,0,9],
[9,9,9,9,9,9,9... | [
"hide@matsumotohideto-no-MacBook-Pro.local"
] | hide@matsumotohideto-no-MacBook-Pro.local |
3eaa1551407f554655a52f1b22c4d721669fa579 | 3e6e18edfe81bb19e298ae4e1831cb76c2c6069d | /src/lpcshop/models/bottles.py | a4dba719454dd661eebe4d48daada55e5b64e9f8 | [] | no_license | libertalia/lpc | 2e72de7eee36cd92d62e4d250186bda2353c179a | 972343abdcffffc2bec0cac4e2057c91edfa1716 | refs/heads/master | 2023-01-07T08:13:02.708844 | 2016-05-13T01:34:57 | 2016-05-13T01:34:57 | 58,680,165 | 0 | 1 | null | 2022-12-26T19:59:29 | 2016-05-12T22:02:24 | JavaScript | UTF-8 | Python | false | false | 2,117 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.utils.six.moves.urllib.parse import urljoin
from django.utils.encoding import python_2_unicode_compatible
from djangocms_text_ckeditor.fields import HTMLField... | [
"jamespic@gmail.com"
] | jamespic@gmail.com |
07030cbb64db6488b93f8e7f03c975d1d39c099d | df5cd640098a10e754a9552187fc5ad8c50df90c | /colour/examples/algebra/examples_interpolation.py | 4acf509db6a9fd00459d7e4bce455a3a20c6b8ca | [
"BSD-3-Clause"
] | permissive | ofek/colour | d4963c9b77b0d119cf3ef3296dbf5369167472df | 04f4863ef49093a93244c1fedafd1d5e2b1b76da | refs/heads/develop | 2021-07-08T05:33:14.220392 | 2017-09-29T22:34:14 | 2017-09-29T22:34:14 | 105,406,461 | 0 | 0 | null | 2017-09-30T23:06:18 | 2017-09-30T23:06:18 | null | UTF-8 | Python | false | false | 3,265 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Showcases interpolation computations.
"""
import pylab
import colour
from colour.plotting import * # noqa
from colour.utilities.verbose import message_box
message_box('Interpolation Computations')
message_box(('Comparing "Sprague (1880)" and "Cubic Spline" recommen... | [
"thomas.mansencal@gmail.com"
] | thomas.mansencal@gmail.com |
467775b4bd0bdc529f7af369a772db9776c3f4d4 | 0b793bce2da8c3d09b7956c0672ddbffd46feaed | /atcoder/corp/dwacon6_a.py | 0f60c706492fb0f7e55329255dd53fcbe06cb6d9 | [
"MIT"
] | permissive | knuu/competitive-programming | c6c4e08fb231937d988bdc5a60a8ad6b31b97616 | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | refs/heads/master | 2021-01-17T09:39:02.647688 | 2020-11-07T03:17:22 | 2020-11-07T03:17:22 | 27,886,732 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 225 | py | N = int(input())
titles, times = [], []
for _ in range(N):
s, t = input().split()
titles.append(s)
times.append(int(t))
idx = titles.index(input())
ans = 0
for i in range(idx+1, N):
ans += times[i]
print(ans)
| [
"premier3next@gmail.com"
] | premier3next@gmail.com |
396451adf046ae9a1e9a93d08c731002c02b4a78 | 5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d | /alipay/aop/api/response/AntMerchantExpandIndirectOnlineModifyResponse.py | deb575d50e426359ce6993ae14225946249fa464 | [
"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 | 805 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
class AntMerchantExpandIndirectOnlineModifyResponse(AlipayResponse):
def __init__(self):
super(AntMerchantExpandIndirectOnlineModifyResponse, self).__init__()
self._sub_mer... | [
"liuqun.lq@alibaba-inc.com"
] | liuqun.lq@alibaba-inc.com |
4b664002f3b91925204f95cf5afde92db89ca9f4 | 154e563104144721865a90987db0332bef08a4c3 | /rh_aligner/plotting/__init__.py | 8187d6023c6db7b60a29f9fbf00456387099c256 | [
"MIT"
] | permissive | Rhoana/rh_aligner | 565572d645769053c74a36ddf0f53ecc20d997fe | baab698f6520b9b999bccf423dc510b0c8f4b9bb | refs/heads/master | 2021-01-01T05:29:25.406459 | 2016-05-09T15:34:58 | 2016-05-09T15:34:58 | 56,165,015 | 3 | 3 | null | 2016-05-05T20:00:26 | 2016-04-13T15:43:33 | Python | UTF-8 | Python | false | false | 281 | py | """
Plotting of the stitching and alignment steps library
- to deubg the steps
"""
from .view_pre_pmcc_mfov import view_pre_pmcc_mfov
from .view_post_pmcc_mfov import view_post_pmcc_mfov
__all__ = [
'view_pre_pmcc_mfov',
'view_post_pmcc_mfov'
]
| [
"adisuis@seas.harvard.edu"
] | adisuis@seas.harvard.edu |
25824908e100267109197ad1c04cca8d349a6f10 | 8cf0cf9b71b7c5fbaa150e9893bf461ef661045e | /ownblock/ownblock/apps/parking/models.py | 84c75498d4e8e94365b81a282ee43d877a925a7d | [
"MIT"
] | permissive | danjac/ownblock | 676b27a5aa0d4ce2ac2cd924a632489cd6fc21ee | ac662fb7efb2f04567e2f85638c1250286452611 | refs/heads/master | 2016-08-02T21:51:56.055598 | 2015-05-02T12:54:47 | 2015-05-02T12:54:47 | 34,940,828 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 875 | py | from django.conf import settings
from django.db import models
from django_countries.fields import CountryField
class Vehicle(models.Model):
description = models.CharField(max_length=100)
registration_number = models.CharField(max_length=12)
country = CountryField(default="FI")
resident = models.Fore... | [
"danjac354@gmail.com"
] | danjac354@gmail.com |
fd6eb4ffc23f7389f26fd2d60442434609b29286 | 5f814192b19721dc9c06e0e9595738b0f8561233 | /OCR/east_text_detection.py | f8bee5a5e3d5d1b813617866d1b192837295a2ef | [] | no_license | irischo/civil_translation | 7b3c5c58e201f74547d5ae21123fdfd9d4bc5e64 | 240638a434957ea25cfac262da93fc23e292f6f2 | refs/heads/master | 2022-11-23T15:32:50.503095 | 2020-07-29T00:40:06 | 2020-07-29T00:40:06 | 283,387,321 | 0 | 0 | null | 2020-07-29T03:21:50 | 2020-07-29T03:21:49 | null | UTF-8 | Python | false | false | 2,829 | py | from imutils.object_detection import non_max_suppression
import numpy as np
import argparse
import time
import cv2
# argument parse
ap = argparse.ArgumentParser()
ap.add_argument('-i', '--image', type=str, help='path to input image')
ap.add_argument('-east', '--east', type=str, help='path to input EAST text detector')... | [
"korea7030@naver.com"
] | korea7030@naver.com |
564f224574f406c1a966ab5582a316627e5a9ae1 | 2cfa657fd119a23de2a5c2ae6d55e6d2516bae2d | /test/functional/wallet_keypool_topup.py | 1c1aa4fe3a776fdc70d840768a3b9deacdbccf53 | [
"MIT"
] | permissive | vivuscoin/vivuscoin | 640b10ae3a72c03b501e03b07caae09ce6c87c81 | ba0db89712234bf68b2d6b63ef2c420d65c7c25d | refs/heads/master | 2023-05-07T06:26:26.241247 | 2021-05-25T03:54:32 | 2021-05-25T03:54:32 | 362,198,076 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,779 | py | #!/usr/bin/env python3
# Copyright (c) 2017-2018 The Bitcoin Core developers
# Copyright (c) 2021 The Vivuscoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test HD Wallet keypool restore function.
Two nodes.... | [
"support@vivuscoin.com"
] | support@vivuscoin.com |
12554a6f358810f3d7bcf732d99807639d1b65bf | 22ebdd6881730a9474ede8e8167c615990c4e275 | /prob17a.py | e5cae5301008b8a21864cb95ac76154a72222942 | [] | no_license | MMohan1/eueler | a96a465b265334b03645f2e2bb66c85395c54e75 | 05a88f1c9b41fbc3d6bcd95b38b83a6510b3b50a | refs/heads/master | 2021-01-18T15:14:35.320214 | 2015-02-02T11:02:06 | 2015-02-02T11:02:06 | 15,935,991 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 840 | py | def prob17():
list1=[]
total_char=0
dict1={0:'',1:'one',2:'two',3:'three',4:'four',5:'five',6:'six',7:'seven',8:'eight',9:'nine',10:'ten'}
dict2={11:'eleven',12:'twelve',13:'thirteen',14:'fourteen',15:'fifteen',16:'sixteen',17:'seventeen',18:'eighteen',19:'nineteen'}
dict3={0:'',1:'ten',2:'twenty',3:'thirty',4:'fo... | [
"manmohansharma987@gmail.com"
] | manmohansharma987@gmail.com |
dada702324b30a4d4a00d067c7b3c97d8b05129b | b8ef1a5cd3856a8e9134c3313a4e23522f199df7 | /Baekjoon/1966_프린터 큐/1966_프린터 큐.py | 73d38dbd9d6bdf4902738765108954a7e7151128 | [] | no_license | scl2589/Algorithm_problem_solving | 910623d9675ae0219320abfd1fefc7d576027544 | 80db697cdd0180a7d4dbcfae4944d4a54191bddf | refs/heads/master | 2023-07-29T10:56:38.225206 | 2021-09-11T13:50:46 | 2021-09-11T13:50:46 | 235,363,353 | 0 | 0 | null | 2021-03-04T15:39:41 | 2020-01-21T14:36:41 | Python | UTF-8 | Python | false | false | 548 | py | from collections import deque
tc = int(input())
for _ in range(tc):
N, M = map(int, input().split())
impt = list(map(int, input().split()))
q = deque()
for idx, value in enumerate(impt):
q.append([idx, value])
count = 0
while True:
max_num = sorted(q, key = lambda x: x[1], ... | [
"chaelinshin96@gmail.com"
] | chaelinshin96@gmail.com |
4e6dc77e570b5419eef0fc74fd16710afdfd3235 | 190d03cf370844548b9e8c89952dfbaec4d0c5c8 | /p103.py | 467aee99fa0ff340b0a00d481a047ab36a7d0d52 | [] | no_license | alainlou/leetcode | 446d101a9fd2f9eaa2229252e5909e7df36b4a74 | fe500bcb067be59aa048259e3860e9da6f98344d | refs/heads/master | 2022-10-16T12:20:44.726963 | 2022-09-18T15:29:05 | 2022-09-18T15:29:05 | 178,775,702 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 623 | py | from DS.TreeNode import TreeNode
class Solution:
def zigzagLevelOrder(self, root: TreeNode) -> List[List[int]]:
if root is None:
return []
ans = []
q = [(root, 0)]
while len(q) > 0:
curr = q.pop(0)
if len(ans) <= curr[1]:
ans.appen... | [
"az2lou@uwaterloo.ca"
] | az2lou@uwaterloo.ca |
5df906375ee0c7d24ede8dd570122ce0cbdd1251 | 9bdc5bd0b6195761fbceed17c0725bc48a5941a1 | /testing/keras_taylor_1D.py | f24a460e11be29c65a55abbe497af20fe014f122 | [] | no_license | lapsintra/htt-ml | bc6bbb12eda4a3f0abbc5c0db13940a31b667a08 | ce07cad6fcc8625b1595157de6486759b74f6d62 | refs/heads/master | 2020-04-05T16:29:29.858916 | 2018-12-04T19:32:10 | 2018-12-04T19:32:10 | 157,015,043 | 0 | 0 | null | 2018-11-10T19:38:56 | 2018-11-10T19:38:56 | null | UTF-8 | Python | false | false | 7,871 | py | #!/usr/bin/env python
import ROOT
ROOT.PyConfig.IgnoreCommandLineOptions = True # disable ROOT internal argument parser
import argparse
from array import array
import yaml
import pickle
import numpy as np
import os
import sys
import matplotlib as mpl
mpl.use('Agg')
mpl.rcParams['font.size'] = 16
import matplotlib.p... | [
"stefan.wunsch@student.kit.edu"
] | stefan.wunsch@student.kit.edu |
fc07829f755d7e6cdcfbb45f1595dfd39618bdaa | 6d69b249a81e076d79787dd08eb8957908052052 | /libs/parse/sections/grouper_mixins/blocks.py | 154423ab5e2c3ebe6544db079d4af4ebccbedda5 | [] | no_license | 2vitalik/wiktionary | 02ee1f1327c3b82fc7b4d7da12083b1431b1eb8b | 8edae2f7dcf9089084c5ce7033c4fb0b454f4dfa | refs/heads/master | 2023-02-06T11:28:41.554604 | 2023-02-05T22:49:01 | 2023-02-05T22:49:01 | 121,025,447 | 7 | 2 | null | 2021-10-13T17:36:32 | 2018-02-10T15:06:24 | Lua | UTF-8 | Python | false | false | 486 | py | from libs.parse.groupers.sections.blocks.any_blocks import AnyBlocksGrouper
from libs.parse.groupers.sections.blocks.blocks import BlocksGrouper
from libs.parse.sections.grouper_mixins.sub_blocks import SubBlocksGroupersMixin
from libs.parse.utils.decorators import parsed
class BlocksGroupersMixin(SubBlocksGroupersMi... | [
"vitaliy.lyapota@anvileight.com"
] | vitaliy.lyapota@anvileight.com |
2e6669b326e3edda7be0bf7c377f290405bcf0c3 | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2671/60590/241334.py | 25e5fee553d7db62878bfa4165d65ebdfde7331c | [] | 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 | 314 | py | def cal(w):
if w==1:
return 2
if w==2:
return 3
elif w==3:
return 5
else:
w2=2
w3=3
for i in range(w-2):
temp=w2+w3
w2=w3
w3=temp
return temp
t = int(input())
for i in range(t):
w=int(input())
print(2**w-cal(w)) | [
"1069583789@qq.com"
] | 1069583789@qq.com |
e1267a54f015e66aaf57df060a0ebb302d36b67e | 8d4f26bccc3b016cf45e8270df617cea73d1a741 | /utils/transforms.py | 4a3b38f5fe3802f8719e83a981a8f9c1740e3a2c | [] | no_license | krylatov-pavel/aibolit-ECG | 3b6e4fc8d87ada6a615038c7fb94048570af2d43 | 27bad875981547ea93ac0088518eb29149078988 | refs/heads/master | 2022-12-26T05:49:30.827061 | 2019-08-19T10:47:20 | 2019-08-19T10:47:20 | 191,343,111 | 1 | 0 | null | 2022-12-08T05:56:08 | 2019-06-11T09:53:21 | Python | UTF-8 | Python | false | false | 631 | py | import torch
from torchvision import transforms
def squeeze(x):
return torch.squeeze(x, dim=0)
def clip_fn(min, max):
def clip(x):
x = torch.clamp(x, min, max)
return x
return clip
def scale_fn(min, max, a, b):
def scale(x):
x = ((b - a) * (x - min) / (max - min)) + a
... | [
"krylatov.pavel@gmail.com"
] | krylatov.pavel@gmail.com |
8abbdd180f33166add8aa0e2afc8656a3e61eb68 | 198dd2fd5b2aa27b950bd5844c97a1ebdbd3af17 | /dephell/repositories/_local.py | 90ceb7d1f9c1045a3bc1c9a026ebe0a9eea2cb71 | [
"MIT"
] | permissive | espdev/dephell | 68411b20c1830836dcea0eec96a8bd15e95171d5 | 17d5604e7b443b4d58bffc635a139adb49431efc | refs/heads/master | 2020-11-26T01:05:07.580285 | 2019-12-20T14:29:07 | 2019-12-20T14:29:07 | 228,915,765 | 0 | 0 | MIT | 2019-12-18T20:24:21 | 2019-12-18T20:24:20 | null | UTF-8 | Python | false | false | 4,172 | py | # built-in
from datetime import datetime
from pathlib import Path
from typing import Optional, Tuple, Union
# app
from ..cache import RequirementsCache
from ..config import Config
from ..constants import FILES
from ..models.release import Release
from ._warehouse import WarehouseLocalRepo
from .base import Interface
... | [
"master_fess@mail.ru"
] | master_fess@mail.ru |
635ba9cef3c47552319481c624406b556a3d4b17 | ac5e52a3fc52dde58d208746cddabef2e378119e | /exps-sblp-obt/sblp_ut=3.5_rd=1_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=0/params.py | aff20aa8732740d3ec888ec12ac9538f67a70364 | [] | no_license | ricardobtxr/experiment-scripts | 1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1 | 7bcebff7ac2f2822423f211f1162cd017a18babb | refs/heads/master | 2023-04-09T02:37:41.466794 | 2021-04-25T03:27:16 | 2021-04-25T03:27:16 | 358,926,457 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 247 | py | {'cpus': 4,
'duration': 30,
'final_util': '3.570619',
'max_util': '3.5',
'periods': 'harmonic-2',
'release_master': False,
'res_distr': '1',
'res_nmb': '4',
'res_weight': '0.04',
'scheduler': 'RUN',
'trial': 0,
'utils': 'uni-medium-3'}
| [
"ricardo.btxr@gmail.com"
] | ricardo.btxr@gmail.com |
0e056bd4bb9433bc9d9431ddbca1ea8006b3f319 | dcb57598b4b7f9fb7a25f847574b227824b5420c | /tests/integration_tests/test_features.py | 53172ef02b0bf7875a94cad0a5af4b9fa26394f8 | [
"MIT"
] | permissive | netor27/features-webapp | 473a0f393bea5d30d654d1880869fe8daebe4c5b | 801d582975de7734c90bf0a4c95f404cbf305e86 | refs/heads/master | 2021-05-11T07:36:06.494569 | 2018-05-08T17:54:15 | 2018-05-08T17:54:15 | 118,023,763 | 0 | 2 | MIT | 2018-05-08T17:54:16 | 2018-01-18T18:48:42 | Python | UTF-8 | Python | false | false | 17,571 | py | import pytest
from unittest import TestCase
from flask import url_for, json
from datetime import date
from web.server import create_app
from web.db import db
from web.status import status
from web.models import Feature
from tests.integration_tests.post_helpers import PostHelper
class FeaturesTests(TestCase):
@... | [
"neto.r27@gmail.com"
] | neto.r27@gmail.com |
81ead41af15f2e458481b49604b4fc00b30f8ecc | 9cbd22ce203ab7f40d6e02a7ee2b565461369b45 | /bagbankde/items.py | 768a82202c55a20a6a785aed852583aebad99500 | [] | no_license | hristo-grudev/bagbankde | a506ed6af28db7ad4c609d7fbd922d5a699b64d6 | 1afcb0454b9e498c4b4eccb233b7d2aa15823513 | refs/heads/main | 2023-03-26T14:09:08.641400 | 2021-03-18T14:16:31 | 2021-03-18T14:16:31 | 349,100,217 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 136 | py | import scrapy
class BagbankdeItem(scrapy.Item):
title = scrapy.Field()
description = scrapy.Field()
date = scrapy.Field()
| [
"hr.grudev@gmail.com"
] | hr.grudev@gmail.com |
7d42995cc032265dc1da6c26ba81455cc32bcebd | c60c199410289c1d7ec4aea00833b461e1f08f88 | /.history/older-than/older/source-example/day2/user-list.py | a923e529b041db39bfa93f7bc43cb926236f86e4 | [] | no_license | ver007/pythonjumpstart | 66fb111e6af197fad3e853b2c2d712a1b57a7d59 | 5b1f52479abd07456e2da494149e491d398f3b7d | refs/heads/master | 2021-01-21T01:34:35.501870 | 2015-05-13T14:10:13 | 2015-05-13T14:10:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 189 | py | #!/usr/bin/env python
users = [ line.split(':')[0] for line in open('/etc/passwd') if '#' not in line and '!' in line ]
users.sort()
for (i, n) in enumerate(users):
print i, ":", n
| [
"ravi@rootcap.in"
] | ravi@rootcap.in |
0933da67fd790e5811ce8b580f16a0ab1a3f6a75 | 32bbbd6dbd100bbb9a2282f69ac3b7b34516347f | /Study/keras/keras44_cifar100_2_cnn.py | 88e3f8742ac013b4f6a6c64966e550971666ddae | [] | no_license | kimjh1753/AIA_Academy_Study | 2162d4d4f1a6b8ca1870f86d540df45a8742f359 | 6022718ae7f9e5170a19c4786d096c8042894ead | refs/heads/master | 2023-05-07T12:29:12.920693 | 2021-06-05T01:09:33 | 2021-06-05T01:09:33 | 324,136,796 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,971 | py | # 1. 데이터
from tensorflow.keras.datasets import cifar100
(x_train, y_train), (x_test, y_test) = cifar100.load_data()
print(x_train.shape, y_train.shape) # (50000, 32, 32, 3) (50000, 1)
print(x_test.shape, y_test.shape) # (10000, 32, 32, 3) (10000, 1)
x_train = x_train.reshape(x_train.shape[0], x_train.shape[1], x_t... | [
"kimjh1753@naver.com"
] | kimjh1753@naver.com |
6c043811b2da3f373efa06bc8156705996b15ee9 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/adverbs/_never.py | d9002c9003bf7b8c0007df237bda667fddc3bf4d | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 393 | py |
#calss header
class _NEVER():
def __init__(self,):
self.name = "NEVER"
self.definitions = [u'not at any time or not on any occasion: ']
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.specie = 'adverbs'
def run(self, obj1, obj2):
self.jsondata[obj2] = {}
self... | [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
6a1e6c2874181f6c5859c830e394359834617163 | 747f759311d404af31c0f80029e88098193f6269 | /extra-addons/training_doc/__init__.py | 4cb47ad014a13cc816addb240e952f246358cbea | [] | no_license | sgeerish/sirr_production | 9b0d0f7804a928c0c582ddb4ccb7fcc084469a18 | 1081f3a5ff8864a31b2dcd89406fac076a908e78 | refs/heads/master | 2020-05-19T07:21:37.047958 | 2013-09-15T13:03:36 | 2013-09-15T13:03:36 | 9,648,444 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,097 | py | # -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved.
# Jesús Martín <jmartin@zikzakmedia.com>
# $Id$
#
# ... | [
"geerish@omerp.net"
] | geerish@omerp.net |
239de711038d222c388248ee584d39770975bd23 | d53bc632503254ca0d5099fe457c02c07212a131 | /middleware1/testApp/middleware.py | acbf1c0c7c41b9e5d9f591e64615887737e2f158 | [] | no_license | srikar1993/django | ba8428f6e1162cc40f2d034126e7baf29eb62edc | 2199d5d94accc7bce5b3fac4a4b7b1444e39b35f | refs/heads/master | 2023-07-14T21:10:52.654992 | 2021-08-26T06:37:04 | 2021-08-26T06:37:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,950 | py | from django.http import HttpResponse
class ExecutionFlowMiddleware(object):
def __init__(self, get_response):
self.get_response = get_response
def __call__(self, request):
# Pre processing of request
print('This line is printed at pre-processing of request...')
# Forwarding... | [
"32321399+srikar.madhavapeddy@users.noreply.github.com"
] | 32321399+srikar.madhavapeddy@users.noreply.github.com |
6d13ea298a8c4814de41ef50e5ca2ebf16d19711 | c9b5a2cd00764ee4a0b889b5b602eb28fd08e989 | /python/238-Product of Array Except Self.py | 600d5102cd52a0453255a55f78ed445ca39932d5 | [] | no_license | cwza/leetcode | 39799a6730185fa06913e3beebebd3e7b2e5d31a | 72136e3487d239f5b37e2d6393e034262a6bf599 | refs/heads/master | 2023-04-05T16:19:08.243139 | 2021-04-22T04:46:45 | 2021-04-22T04:46:45 | 344,026,209 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,258 | py | from typing import List
class Solution:
# def productExceptSelf(self, nums: List[int]) -> List[int]:
# "Precompute L, R product, Time: O(n), Space: O(n)"
# n = len(nums)
# # L[i]: product of nums[0, i-1]
# L = [1]*n
# for i in range(1, n):
# L[i] = L[i-1] * nums[... | [
"cwz0205a@gmail.com"
] | cwz0205a@gmail.com |
4c6c5d18a00823a83ef35c263e076351815ec55a | 98591a80b7881385dc15a7aee3298aed68efbc32 | /MODEL1302010025/model.py | 7776531980fb768cf4985182c7a6bdc908a3c3e7 | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | biomodels/MODEL1302010025 | 9f49612839a3c29dd8034bf17a58a6caa3e1a8eb | 852113c7356661180c266a701e56dc8bc789a898 | refs/heads/master | 2020-12-24T14:44:47.764710 | 2014-10-16T05:57:03 | 2014-10-16T05:57:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 427 | py | import os
path = os.path.dirname(os.path.realpath(__file__))
sbmlFilePath = os.path.join(path, 'MODEL1302010025.xml')
with open(sbmlFilePath,'r') as f:
sbmlString = f.read()
def module_exists(module_name):
try:
__import__(module_name)
except ImportError:
return False
else:
ret... | [
"stanleygu@gmail.com"
] | stanleygu@gmail.com |
9f281fc9d686425e97b54cdc34eb570c1fe19b42 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02709/s208022099.py | 7c3413420f8ed9fc0b8a40a4b007da745e363f1f | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 681 | py | from sys import stdin
def main():
n = int(stdin.readline())
a = list(map(int, stdin.readline().split()))
a2 = [[a[i], i] for i in range(n)]
a2.sort(reverse=True)
dp = [[0 for _ in range(n + 1)] for _ in range(n + 1)]
ans = 0
for i in range(n + 1):
for j in range(n + 1 - i):
... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
a23647b52f355989359adaa6265a6bedbe23c029 | 64bf39b96a014b5d3f69b3311430185c64a7ff0e | /intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_replacemsg_image.py | f4603def9e807083a0568dc573aa96c96a7409b3 | [
"MIT"
] | permissive | SimonFangCisco/dne-dna-code | 7072eba7da0389e37507b7a2aa5f7d0c0735a220 | 2ea7d4f00212f502bc684ac257371ada73da1ca9 | refs/heads/master | 2023-03-10T23:10:31.392558 | 2021-02-25T15:04:36 | 2021-02-25T15:04:36 | 342,274,373 | 0 | 0 | MIT | 2021-02-25T14:39:22 | 2021-02-25T14:39:22 | null | UTF-8 | Python | false | false | 9,507 | py | #!/usr/bin/python
from __future__ import (absolute_import, division, print_function)
# Copyright 2019-2020 Fortinet, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of th... | [
"sifang@cisco.com"
] | sifang@cisco.com |
40125cfd752c5de08af72a21e324f89b505db21d | 2603f28e3dc17ae2409554ee6e1cbd315a28b732 | /ABC38/prob_c.py | f33438f7f66d9238ccdeb20f211ec805df4b4225 | [] | no_license | steinstadt/AtCoder | 69f172280e89f4249e673cae9beab9428e2a4369 | cd6c7f577fcf0cb4c57ff184afdc163f7501acf5 | refs/heads/master | 2020-12-23T12:03:29.124134 | 2020-11-22T10:47:40 | 2020-11-22T10:47:40 | 237,144,420 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 346 | py | # Problem C - 単調増加
# input
N = int(input())
a_list = list(map(int, input().split()))
# initialization
ans = 0
# shakutori count
right = 0
for left in range(N):
while (right<N and a_list[right-1]<a_list[right]) or left==right:
right += 1
ans += right - left
if left==right:
right += 1
# ... | [
"steinstadt@keio.jp"
] | steinstadt@keio.jp |
c73896b41397d024ffcb55baeaa9f677221d9361 | 6e8d58340f2be5f00d55e2629052c0bbc9dcf390 | /eggs/Cheetah-2.2.2-py2.6-linux-x86_64-ucs4.egg/Cheetah/Tools/MondoReport.py | d0fada29f11cec17ce7def984ffabddd6bbf15ad | [
"CC-BY-2.5",
"MIT"
] | permissive | JCVI-Cloud/galaxy-tools-prok | e57389750d33ac766e1658838cdb0aaf9a59c106 | 3c44ecaf4b2e1f2d7269eabef19cbd2e88b3a99c | refs/heads/master | 2021-05-02T06:23:05.414371 | 2014-03-21T18:12:43 | 2014-03-21T18:12:43 | 6,092,693 | 0 | 2 | NOASSERTION | 2020-07-25T20:38:17 | 2012-10-05T15:57:38 | Python | UTF-8 | Python | false | false | 12,935 | py | """
@@TR: This code is pretty much unsupported.
MondoReport.py -- Batching module for Python and Cheetah.
Version 2001-Nov-18. Doesn't do much practical yet, but the companion
testMondoReport.py passes all its tests.
-Mike Orr (Iron)
TODO: BatchRecord.prev/next/prev_batches/next_batches/query, prev.query,
next.quer... | [
"root@ip-10-118-137-129.ec2.internal"
] | root@ip-10-118-137-129.ec2.internal |
12d4e303ec37dc162f5cd4b655c882bf2ae8429b | 0b77f11bfb68d465e99fdfcea8bef63013409df8 | /reports/views.py | e7046593d76822fccfcdfe0b0bab740325b0bb42 | [] | no_license | dbsiavichay/furb | dea1de7d3085bd41a668a6581a4997ff50a58afe | 36dea81c23d614bceaf35b38a5861a2ca095ea98 | refs/heads/master | 2020-06-28T06:05:42.313533 | 2019-03-14T15:37:20 | 2019-03-14T15:37:20 | 74,506,200 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,486 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.shortcuts import render
from django.http import HttpResponse
from django.views.generic import ListView, TemplateView
from wildlife.models import Animal, Kind
from location.models import Parish
from django.conf import settings
from os.path import isfile, join
f... | [
"dbsiavichay@gmail.com"
] | dbsiavichay@gmail.com |
53ef131a0b9babc5af8fa15c91c4fca6cc7de93c | 69c882c678103b182988fb60d3e898d569980f1c | /Day 4/day4prog4.py | 5f6224da0ba42f841f9b5541f0a3d0a63e87733b | [] | no_license | gittygupta/stcet-python | 44be9d91cdd6215879d9f04497214819228821be | e77456172746ee76b6e2a901ddb0c3dbe457f82a | refs/heads/master | 2022-03-05T11:37:08.720226 | 2019-12-01T00:56:03 | 2019-12-01T00:56:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 135 | py | n=2
while n<1000:
flag=1
for i in range (2,n):
if n%i==0:
flag=0
if flag==1:
print(n)
n+=1
| [
"noreply@github.com"
] | gittygupta.noreply@github.com |
f5b323edda211f6994625eb9f7b4a4f34eaa4abc | 349c9829279a9e99d18d1572d7aa9a31ec4e048c | /Topics/Time module/Easy convert/main.py | 69179e696eb022d47901aed90bce5e6f36e9317e | [] | no_license | Helen-Sk-2020/JtBr_Arithmetic_Exam_Application | 2b0eb871a89f3e4370f21e11c0c83b1885a8f4ae | a7e1b4a4c09df159c98da1a151db55848ba4d8a4 | refs/heads/master | 2023-08-18T22:42:11.809697 | 2021-10-14T10:07:36 | 2021-10-14T10:07:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 72 | py | import time
current_time = time.ctime(time.time())
print(current_time)
| [
"88376047+Helen-Sk-2020@users.noreply.github.com"
] | 88376047+Helen-Sk-2020@users.noreply.github.com |
3457d5a9fc1cb829b5810e28cb19b670b4a2c408 | 79f42fd0de70f0fea931af610faeca3205fd54d4 | /base_lib/ChartDirector/pythondemo_cgi/finance2.py | d21cccb185021c83f32e480286c061357e3302a6 | [
"IJG"
] | permissive | fanwen390922198/ceph_pressure_test | a900a6dc20473ae3ff1241188ed012d22de2eace | b6a5b6d324e935915090e791d9722d921f659b26 | refs/heads/main | 2021-08-27T16:26:57.500359 | 2021-06-02T05:18:39 | 2021-06-02T05:18:39 | 115,672,998 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,647 | py | #!/usr/bin/python
from FinanceChart import *
# Create a finance chart demo containing 100 days of data
noOfDays = 100
# To compute moving averages starting from the first day, we need to get extra data points before
# the first day
extraDays = 30
# In this exammple, we use a random number generator utility to simula... | [
"fanwen@sscc.com"
] | fanwen@sscc.com |
25c724ee779ec1d3fdd96581b62e411fcba9cf2a | 9dab41a71bf19a9ad17ee3e9f77c0f58aebd1d6d | /python/uline/uline/uline/handlers/app/merchant/statistics/transactionStatisticsHandler.py | 92e2b4165084bb877b87f18d86d5ef2703436b58 | [] | no_license | apollowesley/Demo | f0ef8ec6c4ceb0aec76771da8dd9a62fb579eac8 | 471c4af95d3a7222d6933afc571a8e52e8fe4aee | refs/heads/master | 2021-02-15T04:01:51.590697 | 2018-01-29T01:44:29 | 2018-01-29T01:44:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,042 | py | # -*- coding: utf-8 -*-
from __future__ import division
from collections import defaultdict
from datetime import datetime, timedelta
from tornado import gen
from tornado.web import (
authenticated
)
from uline.handlers.baseHandlers import MchAdminHandler
from uline.public import log
from uline.public import common
... | [
"36821277@qq.com"
] | 36821277@qq.com |
49982cbda6186d5804468863bfc7a8d00d46ef96 | cac155c4a39b902213fe9efe39dbe761afb00a40 | /回溯法/leetcode/排列问题/leetcode_46_permute.py | 068c120de650f947bde4374dd12e8327b69c7a1c | [] | no_license | songyingxin/python-algorithm | 51c8d2fc785ba5bc5c3c98a17dce33cbced8cb99 | 4b1bebb7d8eb22516119acc921dfc69a72420722 | refs/heads/master | 2022-06-29T05:04:14.300542 | 2022-05-22T10:11:34 | 2022-05-22T10:11:34 | 164,998,626 | 331 | 72 | null | null | null | null | UTF-8 | Python | false | false | 696 | py |
# permute(nums[0...n-1]) = (取出一个数字) + permute(nums[0...n-1] - 这个数字)
class Solution:
def permute(self, nums: List[int]) -> List[List[int]]:
def backtracking(nums, item):
if not nums:
result.append(item)
return
for index... | [
"18310523922@163.com"
] | 18310523922@163.com |
6f83f7dc50cbc2028bf2c6b1e578b94c2a593cb0 | d2c4934325f5ddd567963e7bd2bdc0673f92bc40 | /tests/artificial/transf_Quantization/trend_Lag1Trend/cycle_12/ar_/test_artificial_1024_Quantization_Lag1Trend_12__100.py | 009dead988ececca3e907ac0f1dc2250b82392ff | [
"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 | 275 | py | import pyaf.Bench.TS_datasets as tsds
import pyaf.tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 12, transform = "Quantization", sigma = 0.0, exog_count = 100, ar_order = 0); | [
"antoine.carme@laposte.net"
] | antoine.carme@laposte.net |
91435fe0101353d14673c598094ce8d75d7b6780 | 26c019f7dadceaf773cd292d7364582bc2a278d2 | /user_app/tests/interactors/raw_inputs.py | 0b9d1fcc1eb22362432905c8446daa399ba983be | [] | no_license | DilLip-Chowdary-Codes/Backend_Mini_Projects | 289d5213a1c62d5b2ab26397e0d684632b139ad1 | f69dc6e9de4d621b782b703f2aa41cd126d8a58b | refs/heads/master | 2022-11-12T02:09:36.600636 | 2020-07-09T15:05:21 | 2020-07-09T15:05:21 | 272,417,611 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,638 | py | from user_app.dtos\
import TaskDetailsDto, ProjectDto,\
StateDto, UserDto, ProjectDetailsDto,\
TaskDto, TransitionDetailsDto, ChecklistDetailsDto,\
UpdateTransitionInputDto, ChecklistStatusDto
project_data = {
"name": "projectManagement",
"description": "it's a blaw blaw blaw blaw blaw b... | [
"CoderDil.DilLip@gmail.com"
] | CoderDil.DilLip@gmail.com |
4872c9f499225b41609f8f51dd238b18e51fe7d8 | e079006d43a545baf2e63ef20dfefd6e778f42c2 | /Stark/urls.py | d2264c2278b9bed2c799e1f8f8b6ca59594e745d | [] | no_license | wailaifeike/myAdmin | 34a41f1f8c7b04defa92d1ed3872888ff5295445 | 8f79f8232767bae73d0fd0c326232ca33203c7e2 | refs/heads/master | 2020-04-07T11:10:29.225049 | 2018-11-20T01:55:46 | 2018-11-20T01:55:46 | 158,315,189 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 115 | py | from django.conf.urls import url,include
from Stark import views
urlpatterns = [
url(r'',views.acc_login)
] | [
"you@example.com"
] | you@example.com |
8bde39144d8acee2bd36c7ff65890ffec18fda58 | f5f781ef988d4fa2868c923597a132018eb14041 | /build/ROBOTIS-OP3-msgs/op3_offset_tuner_msgs/cmake/op3_offset_tuner_msgs-genmsg-context.py | 9e14c02a4f494952599bc5018c54c563cbb5ddc4 | [] | no_license | greenechang/christmann_ws_2019fira | 701374a30059ee63faf62cfc8dae8ea783f6c078 | a1ba2846fe1326e54366627d8812fa1bf90c70e1 | refs/heads/master | 2022-11-15T20:55:15.891128 | 2020-07-15T09:52:17 | 2020-07-15T09:52:17 | 279,816,942 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,063 | py | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/robotis/christmann_ws/src/ROBOTIS-OP3-msgs/op3_offset_tuner_msgs/msg/JointOffsetData.msg;/home/robotis/christmann_ws/src/ROBOTIS-OP3-msgs/op3_offset_tuner_msgs/msg/JointOffsetPositionData.msg;/home/robotis/christmann_ws/src/ROBOTIS-OP3-msgs/op3_... | [
"60875012h@ntnu.edu.tw"
] | 60875012h@ntnu.edu.tw |
92476a49a95a1903850e0fff124bebc181d4136e | 32f61223ae8818f64922d69dc8d279428cd568e3 | /AlphaTwirl/AlphaTwirl/Loop/NullCollector.py | 212e63c87a8b257d129830e32131f74f42176eca | [
"BSD-3-Clause"
] | permissive | eshwen/cutflowirl | 959fdead7cc1f58e77e68074a9ee491c3259c6d6 | e20372dc3ce276c1db4e684b8e9f1e719b9e8e7d | refs/heads/master | 2020-04-05T11:20:49.000726 | 2017-11-23T16:15:10 | 2017-11-23T16:15:10 | 81,349,000 | 0 | 0 | null | 2017-11-23T16:15:11 | 2017-02-08T16:15:59 | Python | UTF-8 | Python | false | false | 382 | py | # Tai Sakuma <tai.sakuma@cern.ch>
##__________________________________________________________________||
class NullCollector(object):
def __repr__(self):
return '{}()'.format(self.__class__.__name__)
def addReader(self, datasetName, reader):
pass
def collect(self):
pass
##_______... | [
"eshwen.bhal@bristol.ac.uk"
] | eshwen.bhal@bristol.ac.uk |
ddb052d3917074619f88e5c250e223b616556c1b | 906c6abf6721303449a86c842a97193e86f1e88a | /sm/backup/NTCIR-Evaluation/src/GenerateXml.py | 30fa4354df107cf7417f11691a505ef644d9dd60 | [] | no_license | luochengleo/thuirwork | a5b5bedaa59dd94fde6c58d6c2ddba75fb99d374 | 2bf230949757401c15dee50249a0fa8aded595ad | refs/heads/master | 2020-04-13T12:49:03.752647 | 2014-08-31T08:37:52 | 2014-08-31T08:37:52 | 22,720,301 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,545 | py | #coding=utf8
import xml.etree.ElementTree as ET
from xml.etree.ElementTree import Element
from collections import defaultdict
import sys,csv
import codecs
from bs4 import BeautifulSoup
reload(sys)
sys.setdefaultencoding("utf8")
def loadcsv(filename):
return csv.reader(open(filename))
id2topic = dict()
for l in ... | [
"luochengleo@gmail.com"
] | luochengleo@gmail.com |
2a8a2fea5ef6b27e5ad95edd93fb19dddb4b601a | f445450ac693b466ca20b42f1ac82071d32dd991 | /generated_tempdir_2019_09_15_163300/generated_part005222.py | 554f9ec93f4279524a546fb6081ae0f1d20c7b74 | [] | no_license | Upabjojr/rubi_generated | 76e43cbafe70b4e1516fb761cabd9e5257691374 | cd35e9e51722b04fb159ada3d5811d62a423e429 | refs/heads/master | 2020-07-25T17:26:19.227918 | 2019-09-15T15:41:48 | 2019-09-15T15:41:48 | 208,357,412 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 4,004 | py | from sympy.abc import *
from matchpy.matching.many_to_one import CommutativeMatcher
from matchpy import *
from matchpy.utils import VariableWithCount
from collections import deque
from multiset import Multiset
from sympy.integrals.rubi.constraints import *
from sympy.integrals.rubi.utility_function import *
from sympy.... | [
"franz.bonazzi@gmail.com"
] | franz.bonazzi@gmail.com |
e13db41af418a2896e05121c9e2d591d24eaa882 | 9b6b3f4b30e9bd8a821d8df16bd71e62b9c6eb98 | /day2/data_structs/conversion_4.py | eedfdf0af2d6d721cb076e44d17b34e8eb93b27a | [] | no_license | shobhit-nigam/snape_mar | b7f2155cfcd83482230c339fe45f9ea851061318 | b7b33a767cc00d35a22e40c940b4331e4898c8d5 | refs/heads/main | 2023-03-25T05:44:21.244078 | 2021-03-26T05:27:28 | 2021-03-26T05:27:28 | 350,555,721 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 330 | py | # sorted
avengers = {'captain':'shield', 'ironman':'suit', 'hulk':['smash', 'science'], 'black widow':'energy'}
xmen = ['mystique', 'magneto', 'wolverine']
dc = ('wonder woman', 'batman', 'flash')
stra = "hello"
print(list(stra))
print(sorted(stra))
print(sorted(dc))
print(sorted(xmen))
print(sorted(av... | [
"noreply@github.com"
] | shobhit-nigam.noreply@github.com |
f20916f8c9c13c2a31dbcb18a07523b3185ae3d5 | aca8fc8c2a2de84e94f120e9ca8b12d152bc7cfa | /tests/test_fields_email.py | b9787d20611a2eea1172b40efdcc788bb790da58 | [] | no_license | habibutsu/yadm | de30b364edd40917b2b25457f76cec908f2ffd3d | b3b9f2fdd5987c718b9db600fd7881630bfef944 | refs/heads/master | 2022-12-14T22:14:57.190430 | 2019-03-20T15:52:13 | 2019-04-04T15:52:29 | 296,621,139 | 0 | 0 | null | 2020-09-18T12:55:49 | 2020-09-18T12:55:48 | null | UTF-8 | Python | false | false | 417 | py | import pytest
from yadm.documents import Document
from yadm.fields.email import EmailField, InvalidEmail
class Doc(Document):
e = EmailField()
def test_ok():
doc = Doc()
doc.e = 'E@mA.iL'
assert doc.e == 'e@ma.il'
@pytest.mark.parametrize('bad_email', ['EmA.iL', 'E@mA@iL', 'EmAiL@'])
def test_er... | [
"zzz.sochi@gmail.com"
] | zzz.sochi@gmail.com |
c8e26e30e21138ec04c30db6579b6bd98a620898 | 55de20ff6a7b3e07cffae42d2d9b24178f65daf3 | /dockerhub_show_tags.py | 8c0568a7f12d0b05a91faf4c381b10a296ff8bb3 | [] | no_license | srjayep/pytools | 35f803f1adcc1e93f489475ee12c72ec10161649 | c96b752c7d8679e7dde1657914fa56bd9b4f2cfd | refs/heads/master | 2020-05-29T08:51:34.003012 | 2016-10-05T15:09:05 | 2016-10-05T15:09:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,117 | py | #!/usr/bin/env python
# vim:ts=4:sts=4:sw=4:et
#
# Author: Hari Sekhon
# Date: 2016-05-10 11:26:49 +0100 (Tue, 10 May 2016)
#
# https://github.com/harisekhon/pytools
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn
# and optionally s... | [
"harisekhon@gmail.com"
] | harisekhon@gmail.com |
a97f507d20a0aa26e54224831227833026e7eac6 | b7fab13642988c0e6535fb75ef6cb3548671d338 | /tools/ydk-py-master/cisco-ios-xr/ydk/models/cisco_ios_xr/openconfig_vlan.py | ef926795da3091805a43802d719560c409548218 | [
"Apache-2.0"
] | permissive | juancsosap/yangtraining | 6ad1b8cf89ecdebeef094e4238d1ee95f8eb0824 | 09d8bcc3827575a45cb8d5d27186042bf13ea451 | refs/heads/master | 2022-08-05T01:59:22.007845 | 2019-08-01T15:53:08 | 2019-08-01T15:53:08 | 200,079,665 | 0 | 1 | null | 2021-12-13T20:06:17 | 2019-08-01T15:54:15 | Python | UTF-8 | Python | false | false | 41,152 | py | """ openconfig_vlan
This module defines configuration and state variables for VLANs,
in addition to VLAN parameters associated with interfaces
"""
from ydk.entity_utils import get_relative_entity_path as _get_relative_entity_path
from ydk.types import Entity, EntityPath, Identity, Enum, YType, YLeaf, YLeafList, YLis... | [
"juan.c.sosa.p@gmail.com"
] | juan.c.sosa.p@gmail.com |
779e7b1fc2bfe837f10a8070b3600f71ae8cdf3a | ece7ba486d29d4bc3e87c2046db2c31140e2d86a | /suitcase/mongo_normalized/tests/tests.py | 75f4046965a77899a78b88195844aeadf0dfc188 | [] | no_license | ke-zhang-rd/suitcase-mongo | 31b97bb13b9e6089248f888a6c33824b835de141 | c938bae589ab2fba301814c846c5d5339eb90fb8 | refs/heads/master | 2020-05-31T10:29:15.458932 | 2019-10-18T17:33:03 | 2019-10-18T17:33:03 | 190,241,607 | 0 | 0 | null | 2019-06-04T16:38:12 | 2019-06-04T16:38:11 | null | UTF-8 | Python | false | false | 451 | py | # Tests should generate (and then clean up) any files they need for testing. No
# binary files should be included in the repository.
from suitcase.mongo_normalized import Serializer
def test_export(db_factory, example_data):
documents = example_data()
metadatastore_db = db_factory()
asset_registry_db = ... | [
"dallan@bnl.gov"
] | dallan@bnl.gov |
39ac82b5900d8bff567825bc91b455a0be5074b1 | 4a7804ee05485c345b4e3c39a0c96ed4012542ac | /system/base/less/actions.py | fd506df396c789af3c5b6f73302212caf721a16d | [] | no_license | Erick-Pardus/Pardus | 1fef143c117c62a40e3779c3d09f5fd49b5a6f5c | 2693e89d53304a216a8822978e13f646dce9b1d3 | refs/heads/master | 2020-12-31T02:49:33.189799 | 2013-03-17T06:29:33 | 2013-03-17T06:29:33 | 17,247,989 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 741 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2005-2009 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
de... | [
"namso-01@hotmail.it"
] | namso-01@hotmail.it |
eda2d7a7d548e568bc5fb77caddeb16bfc3b87a0 | 861c248aab85784542fab84eeccedda6c90682d9 | /msgtracker/apps/collector.py | 57d9013ce26b082eb333ef71a105496cc2632ede | [
"MIT"
] | permissive | daleysoftware/msg-tracker | c91cd67e7466c04574c2ed5256a2a0f931dd8647 | 16edb9d555795d0eec625dd954e14f914cbbbe2b | refs/heads/master | 2022-05-16T02:58:44.083469 | 2017-03-01T23:43:24 | 2017-03-01T23:43:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,558 | py | import sched
import time
import sys
import logging
import msgtracker
import datetime
import signal
scheduler = sched.scheduler(time.time, time.sleep)
def _collect_and_log_forever(slack_client):
"""
Collect data from slack API and log in redis. Backend handles logging format. Run forever.
"""
wait_mi... | [
"matt@aerofs.com"
] | matt@aerofs.com |
977aa0a76af026f61c509844bb37c9a7e0e2603a | eb7c15f59f0863b457b272849930dce4ef92e58c | /znc/run | 09e03a3c11edded93c1dd153409c21e45d5db281 | [] | no_license | dozymoe/runit-init-scripts | 40492bc11b9a7f5f974088e7b5e870d97f54354a | ddb8915c6f2da8a5c2acdb5e09f33bc6c027ccdb | refs/heads/master | 2021-01-22T07:06:29.736090 | 2014-06-19T01:32:08 | 2014-06-19T01:32:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 521 | #!/usr/bin/env python
import logging
import os
import sys
from time import sleep
# import external library
sys.path.append('/var/service')
from runit_helper import (
MAXIMUM_CRASHES_DELAY,
check_crash_quota,
check_dependencies,
get_logger,
run,
)
service_name = 'znc'
log = get_logger(service_nam... | [
"dozymoe@gmail.com"
] | dozymoe@gmail.com | |
4b64a051e30b954139e58857c0e08c141725d3be | 8f1d6f17d3bdad867518b7b0a164adfe6aeeed95 | /recognition/vpl/backbones/iresnet.py | c6d3b9c240c24687d432197f976ee01fbf423216 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | xwyangjshb/insightface | 2c7f030a5d1f5a24b18967bd0d775ee33933d37f | ae233babaf7614ef4ef28dac0171205835d78d64 | refs/heads/master | 2022-09-29T07:49:22.944700 | 2022-09-22T11:36:12 | 2022-09-22T11:36:12 | 221,020,460 | 1 | 0 | MIT | 2019-11-11T16:16:56 | 2019-11-11T16:16:55 | null | UTF-8 | Python | false | false | 7,149 | py | import torch
from torch import nn
__all__ = ['iresnet18', 'iresnet34', 'iresnet50', 'iresnet100', 'iresnet200']
def conv3x3(in_planes, out_planes, stride=1, groups=1, dilation=1):
"""3x3 convolution with padding"""
return nn.Conv2d(in_planes,
out_planes,
kernel_size=... | [
"guojia@gmail.com"
] | guojia@gmail.com |
b65b8f7c48e21d63843b88ce2832a2d666bf33d7 | 32f1d0e9c2fbce7f4682b9f79cae5f3df0480de0 | /brevets/flask_brevets.py | ff59123f5a991747db42de10588f90ef1a270ae0 | [
"Artistic-2.0"
] | permissive | UO-CIS-322/proj4-brevets | b0546b3e47db78c74b4c35b52c5527c811eb8ad0 | a1600206886d324eaa3975f561ae6c7fff601b82 | refs/heads/master | 2021-01-21T21:32:21.088892 | 2017-10-13T21:29:38 | 2017-10-13T21:29:38 | 43,849,637 | 0 | 75 | null | 2017-10-22T04:51:19 | 2015-10-07T23:01:01 | Python | UTF-8 | Python | false | false | 1,854 | py | """
Replacement for RUSA ACP brevet time calculator
(see https://rusa.org/octime_acp.html)
"""
import flask
from flask import request
import arrow # Replacement for datetime, based on moment.js
import acp_times # Brevet time calculations
import config
import logging
###
# Globals
###
app = flask.Flask(__name__)
C... | [
"michal.young@gmail.com"
] | michal.young@gmail.com |
859f53a675da269d458e7153e908f2527223ac15 | bf534da18426b49dbee0a0b1870f5f3a85922855 | /ex023.py | 81005cc6e332246276e30c09bd341672794200b7 | [] | no_license | kcpedrosa/Python-exercises | 0d20a72e7e68d9fc9714e3aabf4850fdbeb7d1f8 | ae35dfad869ceb3aac186fce5161cef8a77a7579 | refs/heads/master | 2021-05-20T08:46:29.318242 | 2020-04-01T15:44:36 | 2020-04-01T15:44:36 | 252,205,326 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 315 | py | num = int(input('Digite um numero qualquer: '))
u = num // 1 % 10
d = num // 10 % 10
c = num // 100 % 10
m = num // 1000 % 10
print('Analisando o numero {}'.format(num))
print('A unidade vale {}'.format(u))
print('A dezena vale {}'.format(d))
print('A centena vale {}'.format(c))
print('A milhar vale {}'.format(m)) | [
"kattine.costa@gmail.com"
] | kattine.costa@gmail.com |
994c0795da16cdc04ade8acbce51229b95fa4e8e | 5527d3854ad0840fb4a0a9893447535cd5e6ad0f | /python/ThirteenTeV/QstarToQW_M_1200_TuneCUETP8M1_13TeV_pythia8_cfi.py | 58d9d33c62bab8fd0ee915374feb779697103556 | [] | no_license | danbarto/genproductionsSummer16 | ecf2309c1627b4db3e4a1b8785ca612d9a59426f | 655ef31aa5f05d0117aeef82d107f07a1fd5d822 | refs/heads/master | 2020-03-26T23:12:37.115369 | 2018-08-21T14:23:30 | 2018-08-21T14:23:30 | 145,520,233 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,118 | py | import FWCore.ParameterSet.Config as cms
from Configuration.Generator.Pythia8CommonSettings_cfi import *
from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import *
generator = cms.EDFilter("Pythia8GeneratorFilter",
comEnergy = cms.double(13000.0),
crossSection = cms.untracked.double(65.84),
filterEfficiency ... | [
"daniel.spitzbart@cern.ch"
] | daniel.spitzbart@cern.ch |
ddc32b1926560d046349ee35ff5707643abd8afe | e23a4f57ce5474d468258e5e63b9e23fb6011188 | /140_gui/pyqt_pyside/_exercises/_templates/temp/Mastering GUI Programming with Python/Chapter 3 Handling Events with Signals and Slots/signal_slots_demo.py | f79d2febefd50d50434b21a86eb7d099cee6be09 | [] | no_license | syurskyi/Python_Topics | 52851ecce000cb751a3b986408efe32f0b4c0835 | be331826b490b73f0a176e6abed86ef68ff2dd2b | refs/heads/master | 2023-06-08T19:29:16.214395 | 2023-05-29T17:09:11 | 2023-05-29T17:09:11 | 220,583,118 | 3 | 2 | null | 2023-02-16T03:08:10 | 2019-11-09T02:58:47 | Python | UTF-8 | Python | false | false | 1,488 | py | # ______ ___
# ____ ? ______ ?W.. __ qtw
# ____ ? ______ ?C.. __ qtc
#
#
# c_ MainWindow ?.?W..
#
# ___ -
# s_. -
# sL.. ?.?VBL..
#
# # connecting a signal to a slot
# quitbutton _ ?.?PB.. Quit
# ?.c__.c.. cl..
# la__ .aW.. ?
#
# # connecting a signal with da... | [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
c3eb31bfb07ff76ae317c2d91ec0b1541e01c7c7 | 687fed3e95103b20b804a78659ea79e7918b6aa6 | /maec/bundle/capability.py | 481691ff26e4dd189d834fbd4d0658cf1b75d172 | [
"BSD-3-Clause"
] | permissive | geliefan/python-maec | 02886af1dd3fc07bd89a5323a81920e126a960b4 | dd539b1214f5cf1f445cd5989ce3f93e4fb3b2a8 | refs/heads/master | 2021-01-18T13:04:26.768906 | 2014-07-07T17:16:56 | 2014-07-07T17:16:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 20,716 | py | #MAEC Capability Class
#Copyright (c) 2014, The MITRE Corporation
#All rights reserved
#Compatible with MAEC v4.1
#Last updated 02/18/2014
import maec
import maec.bindings.maec_bundle as bundle_binding
from maec.bundle.behavior_reference import BehaviorReference
from cybox.common import VocabString, String
class C... | [
"ikirillov@mitre.org"
] | ikirillov@mitre.org |
388a6eb4b8b486a5c9c706692097b3b4c38187c7 | 8acffb8c4ddca5bfef910e58d3faa0e4de83fce8 | /ml-flask/Lib/site-packages/pandas/_config/display.py | 57b7af184346cd2f68442d22a2bd7a489047ecad | [
"MIT"
] | permissive | YaminiHP/SimilitudeApp | 8cbde52caec3c19d5fa73508fc005f38f79b8418 | 005c59894d8788c97be16ec420c0a43aaec99b80 | refs/heads/master | 2023-06-27T00:03:00.404080 | 2021-07-25T17:51:27 | 2021-07-25T17:51:27 | 389,390,951 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 129 | py | version https://git-lfs.github.com/spec/v1
oid sha256:f6ba130797f4f1ce2395562efa48f788ebd3a352e26f7c79209f476a3d300866
size 1756
| [
"yamprakash130@gmail.com"
] | yamprakash130@gmail.com |
5705fd2fedee9caeaeaa41e9e65f89a975c95792 | 727f1bc2205c88577b419cf0036c029b8c6f7766 | /out-bin/py/google/fhir/models/model_test.runfiles/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/layers/convolutional.py | 1688b79891c2bcd3cce1b6bb7355c216736014a3 | [
"Apache-2.0"
] | permissive | rasalt/fhir | 55cf78feed3596a3101b86f9e9bbf6652c6ed4ad | d49883cc4d4986e11ca66058d5a327691e6e048a | refs/heads/master | 2020-04-13T00:16:54.050913 | 2019-01-15T14:22:15 | 2019-01-15T14:22:15 | 160,260,223 | 0 | 0 | Apache-2.0 | 2018-12-03T22:07:01 | 2018-12-03T22:07:01 | null | UTF-8 | Python | false | false | 182 | py | /home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/layers/convolutional.py | [
"ruchika.kharwar@gmail.com"
] | ruchika.kharwar@gmail.com |
7248ab453e1a86b06b69a7d02263f0431915da01 | ac01dec84e77323a9c67439f92bf3a9f1a496e61 | /django_app/motif/apps.py | 22b8a8dfd1b0066ff4cb659b0007eb98dbb7d374 | [] | no_license | Monaegi/Julia-WordyGallery | d8c970e8bd25d7cad69254a876a216fecf97e367 | 4031afe1b5d45865a61f4ff4136a8314258a917a | refs/heads/master | 2021-01-23T16:18:09.876372 | 2017-10-13T08:08:25 | 2017-10-13T08:08:25 | 102,736,537 | 1 | 0 | null | 2017-10-13T08:08:26 | 2017-09-07T12:51:47 | Python | UTF-8 | Python | false | false | 85 | py | from django.apps import AppConfig
class MotifConfig(AppConfig):
name = 'motif'
| [
"qufskan9396@gmail.com"
] | qufskan9396@gmail.com |
4592366353bb1a72dfd875e0dfdbd622612baa2b | ef84f06e845d5c42aae2faee84c263f9eb42d92d | /keen/web/views/api/user.py | 46bd2b750294c76a1ca60d1ba6b84a5b3139654b | [] | no_license | beforebeta/keensmb | 0921473df4e92e366695cc03c9fdef96a3be4075 | 5408a42a16c83558229f62c88eec011231a0a797 | refs/heads/master | 2016-09-16T00:37:08.907191 | 2014-03-24T15:31:11 | 2014-03-24T15:31:11 | 14,530,470 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,726 | py | import logging
from uuid import uuid1
from django.http import HttpResponseBadRequest, HttpResponseRedirect
from django.contrib.auth import authenticate, login, logout
from django.core.urlresolvers import reverse
from django.views.decorators.csrf import ensure_csrf_cookie
from rest_framework.decorators import api_view... | [
"a.kulakov@mail.ru"
] | a.kulakov@mail.ru |
e2070525c866d5c13ea17979887ad320706aefe9 | b3e7a3d1e5d50af82b60e6d7b8afa4a077a040ad | /main2.py | 5f83b2d48ceebcd188e66f2ed0f7efb1c605281a | [] | no_license | Namenaro/cheini | d317fb0a6396bf038629490231a175c62e2e6011 | 3b14b58030d1f910265da8c1b859742149df4f6f | refs/heads/master | 2021-05-10T12:30:26.042569 | 2018-02-18T20:03:49 | 2018-02-18T20:03:49 | 118,442,741 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,941 | py | # -*- coding: utf-8 -*
import itertools
import one_experiment_report
import utils
import simple_nets
from math import floor, ceil
import matplotlib.pyplot as plt
import numpy as np
import os
import _pickle as pickle
from keras.callbacks import EarlyStopping
from keras.callbacks import TensorBoard
from keras import op... | [
"nanenaro@gmail.com"
] | nanenaro@gmail.com |
06005fb2c3ba90f593ed444f209cd6a808e3114b | 907cb7612ede31418997ce7b2813c9f2192e6a30 | /phase_cells/focal_evaluate/printout_network.py | a7d12f6f8ac0762947ad20ae88fc7d697979018f | [
"MIT"
] | permissive | shenghh2015/segmentation_models | c3a6f9f0a7fc2ac52d0d1f6b2beef1c69133bae2 | 473c528c724f62ff38ac127747dd8babb7de6b85 | refs/heads/master | 2023-08-14T05:52:36.290536 | 2021-10-19T03:02:46 | 2021-10-19T03:02:46 | 276,793,700 | 0 | 0 | null | 2020-07-03T02:57:39 | 2020-07-03T02:57:38 | null | UTF-8 | Python | false | false | 648 | py | import os
import sys
sys.path.append('../')
import segmentation_models as sm
from segmentation_models import Unet
os.environ["CUDA_VISIBLE_DEVICES"] = '1'
backbone = 'efficientnetb4'
model = Unet(backbone, input_shape = (736,736,3))
network_layers = model.layers
feature_layers = ['block6a_expand_activation', 'block4a... | [
"shenghh2015@gmail.com"
] | shenghh2015@gmail.com |
b99727124520efc1555a5d51225f48be9156a9ec | d8e4dece3a4c35c30ec6a90f6dc7bcf4ff43b4b4 | /searcher/server/query.py | 7e74d75d9f400b0199527b5f3e37b231f9a95987 | [] | no_license | wikty/MiniSearchEngine | c17160a9b65f462fa0690723aa860c6092dea97e | 63f7ef576f48b780fb8cf7fd3f6d955bc0037efd | refs/heads/master | 2021-01-13T02:44:39.591042 | 2018-09-13T06:40:47 | 2018-09-13T06:40:47 | 77,355,791 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 268 | py | from searcher.indexer.pipelines import Pipeline
from .ranker import rank
from .extractor import extract
def process(db, query):
[terms, _] = Pipeline.preprocess(query)
doc_info = db.get_doc_info(terms)
doc_list = rank(db, doc_info, terms)
return extract(doc_list) | [
"xiaowenbin_999@163.com"
] | xiaowenbin_999@163.com |
3a40a1e42f60c1c9f14a8869461d90cc62d7f560 | 60eb98538025c61cf94a91f6c96f9ee81dcd3fdf | /tests/test_rand_affine.py | 1e1a23bc0915f7025bb7fdc388ed9593b196b866 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | gagandaroach/MONAI | 167e7746995d4b6136731881e22ad4df333b16a9 | 79b83d9fac41efae9b90ed2f9ad078d6d664bf64 | refs/heads/master | 2023-06-02T19:54:47.737846 | 2021-06-24T18:34:02 | 2021-06-24T18:34:02 | 270,741,899 | 0 | 0 | Apache-2.0 | 2020-06-08T16:29:32 | 2020-06-08T16:29:31 | null | UTF-8 | Python | false | false | 5,638 | py | # Copyright 2020 - 2021 MONAI Consortium
# 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 wri... | [
"noreply@github.com"
] | gagandaroach.noreply@github.com |
5b3b3aa4586919012b05a07fefa8087dd34de097 | d0d45247209d3eabc1cb6bc0b01a8c23f807820d | /tests/test_utility.py | 8c0fd5031a9c46032e233084a2dbabffcb1e5ae4 | [
"MIT"
] | permissive | yw5aj/trimesh | 2b102c5e265108ebd089023bb1c32b3217c35059 | f7dc490f7431ced7cc121369e96b9b2eeb17490d | refs/heads/master | 2021-01-20T03:25:26.772416 | 2017-04-27T16:15:10 | 2017-04-27T16:15:10 | 89,539,048 | 0 | 0 | null | 2017-04-27T00:37:43 | 2017-04-27T00:37:43 | null | UTF-8 | Python | false | false | 8,140 | py | import trimesh
import unittest
import logging
import time
import os
import sys
import inspect
import numpy as np
import json
from collections import deque
import generic as g
TEST_DIM = (100, 3)
TOL_ZERO = 1e-9
TOL_CHECK = 1e-2
log = logging.getLogger('trimesh')
log.addHandler(logging.NullHandler())
_QUICK = '-q' i... | [
"mik3dh@gmail.com"
] | mik3dh@gmail.com |
919ad93f8397a45a32157a3d9ce108dcda051ccb | 7769cb512623c8d3ba96c68556b2cea5547df5fd | /configs/retinanet_x101_64x4d_fpn_1x.py | c8be724f92d2a09198980ad017f4851b0be09359 | [
"MIT"
] | permissive | JialeCao001/D2Det | 0e49f4c76e539d574e46b02f278242ca912c31ea | a76781ab624a1304f9c15679852a73b4b6770950 | refs/heads/master | 2022-12-05T01:00:08.498629 | 2020-09-04T11:33:26 | 2020-09-04T11:33:26 | 270,723,372 | 312 | 88 | MIT | 2020-07-08T23:53:23 | 2020-06-08T15:37:35 | Python | UTF-8 | Python | false | false | 3,901 | py | # model settings
model = dict(
type='RetinaNet',
pretrained='open-mmlab://resnext101_64x4d',
backbone=dict(
type='ResNeXt',
depth=101,
groups=64,
base_width=4,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=... | [
"connor@tju.edu.cn"
] | connor@tju.edu.cn |
abb7a5ff2e147e6f3a2c6e5b5b06e12ddf6207c3 | 4a1273f72e7d8a07a3fa67ac9f2709b64ec6bc18 | /retiresmartz/tests/test_social_security.py | 79ee980a0f79030246707e0e54844ec9226eb916 | [] | no_license | WealthCity/django-project | 6668b92806d8c61ef9e20bd42daec99993cd25b2 | fa31fa82505c3d0fbc54bd8436cfc0e49c896f3e | refs/heads/dev | 2021-01-19T14:10:52.115301 | 2017-04-12T11:23:32 | 2017-04-12T11:23:32 | 88,132,284 | 0 | 1 | null | 2017-04-13T06:26:30 | 2017-04-13T06:26:29 | null | UTF-8 | Python | false | false | 370 | py | from datetime import date
from django.test import TestCase
from retiresmartz.calculator.social_security import calculate_payments
class SocialSecurityTests(TestCase):
def test_calculate_payments(self):
amounts = calculate_payments(dob=date(1975, 1, 1), income=60000)
self.assertEqual(amounts[67], ... | [
"peterroth0612@gmail.com"
] | peterroth0612@gmail.com |
bb0fd3227823ae168714b2d609f75a815db3c820 | b05761d771bb5a85d39d370c649567c1ff3eb089 | /venv/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/__init__.pyi | f649861fa13ab72cf0f93c2e820af2c7a7f8dc10 | [] | no_license | JawshyJ/Coding_Practice | 88c49cab955eab04609ec1003b6b8c20f103fc06 | eb6b229d41aa49b1545af2120e6bee8e982adb41 | refs/heads/master | 2023-02-19T10:18:04.818542 | 2023-02-06T21:22:58 | 2023-02-06T21:22:58 | 247,788,631 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 96 | pyi | /home/runner/.cache/pip/pool/b4/87/2e/b11aa30f971bc3d814440e95ea0252de4a2d77aa81c6e6be59eb9449f8 | [
"37465112+JawshyJ@users.noreply.github.com"
] | 37465112+JawshyJ@users.noreply.github.com |
4290f33117641c516843aeaf64025823ad951026 | f07a42f652f46106dee4749277d41c302e2b7406 | /Data Set/bug-fixing-5/f8052e4261238ff6c93465b3f0d0f22457f127ce-<container_run>-fix.py | d32a173f5a709bd873f8aaaa81b4fc29a4a7aeb0 | [] | no_license | wsgan001/PyFPattern | e0fe06341cc5d51b3ad0fe29b84098d140ed54d1 | cc347e32745f99c0cd95e79a18ddacc4574d7faa | refs/heads/main | 2023-08-25T23:48:26.112133 | 2021-10-23T14:11:22 | 2021-10-23T14:11:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,425 | py | def container_run(platform: str, nvidia_runtime: bool, docker_registry: str, shared_memory_size: str, local_ccache_dir: str, command: List[str], cleanup: Cleanup, dry_run: bool=False) -> int:
'Run command in a container'
container_wait_s = 600
environment = {
'CCACHE_MAXSIZE': '500G',
'CCACH... | [
"dg1732004@smail.nju.edu.cn"
] | dg1732004@smail.nju.edu.cn |
60ba9feb268c4d6bdb08de9c05f99d96d934f28e | 6b95f96e00e77f78f0919c10b2c90f116c0b295d | /TelstraTPN/models/body.py | 6402d1a63505555d93481a28e94f4ec6e6af57af | [] | no_license | telstra/Programmable-Network-SDK-python | 0522b54dcba48e16837c6c58b16dabde83b477d5 | d1c19c0383af53a5f09a6f5046da466ae6e1d97a | refs/heads/master | 2021-09-19T17:09:06.831233 | 2018-07-30T03:22:26 | 2018-07-30T03:22:26 | 113,531,312 | 3 | 1 | null | 2018-07-30T03:22:27 | 2017-12-08T04:23:15 | Python | UTF-8 | Python | false | false | 3,864 | py | # coding: utf-8
"""
Telstra Programmable Network API
Telstra Programmable Network is a self-provisioning platform that allows its users to create on-demand connectivity services between multiple end-points and add various network functions to those services. Programmable Network enables to connectivity to a g... | [
"steven@developersteve.com"
] | steven@developersteve.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.