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
03d4807bf6ae79a977ee60b6b4de35c94aeb6e7f
88a5dae03f0304d3fb7add71855d2ddc6d8e28e3
/main/ext/__init__.py
362e9cace53732e41d9341d5e951472eba630fbc
[ "Apache-2.0" ]
permissive
huangpd/Shape
eabb59781ac6a055f7b7036fef926023cbcd4882
fddbbb765e353584752066f7c839293ebd10c4df
refs/heads/master
2020-03-26T13:04:22.224367
2018-05-10T09:06:10
2018-05-10T09:06:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
#-*-coding:utf-8-*- from flask_bcrypt import Bcrypt bcrypt = Bcrypt() from flask_bootstrap import Bootstrap bootstrap = Bootstrap() from flask_mail import Mail mail=Mail() from flask_login import LoginManager login_manager = LoginManager() login_manager.login_view="auth.login_index" login_manager.session_protection=...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
8426f5e2a7f3115533abb324288bc031ba59ff53
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/guestconfiguration/outputs.py
b1d2bbd2207b1aaffbc05852618b9e218ea32400
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,362
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilities, _tables from ...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
b4e76b67a52d7e11e271463c76c756cd39c39301
f09978f2a0850278255bd198222cd3990cb0c687
/gear/schema.py
9e678012c38374b5baee61fdf28ff22143a7874c
[]
no_license
szpone/climbing-gear
0e4e53b99a0b550c0e172af21c2c9e08e2c3f1ba
78ab13b97b4b66464859b95ba6e5ed8587d5e60c
refs/heads/master
2022-12-12T11:08:57.277056
2019-06-05T16:06:02
2019-06-05T16:06:02
185,016,538
1
0
null
2022-11-22T03:49:28
2019-05-05T10:30:11
Python
UTF-8
Python
false
false
514
py
import graphene from graphene_django.types import DjangoObjectType, ObjectType from .models import Gear class GearType(DjangoObjectType): class Meta: model = Gear class Query(ObjectType): gear = graphene.Field(GearType, id=graphene.Int()) gears = graphene.List(GearType) def resolve_gear(sel...
[ "nikola.adamus@gmail.com" ]
nikola.adamus@gmail.com
4eee374d40da98978fa6eead0dbd109ebd17f59e
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2449/60657/249828.py
b6f2e07860c983d2311d854da47037a89843a79d
[]
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
152
py
import math A=input().split(',') B=input() def judge(A,B): if A.count(B)!=0: return A.index(B) else: return -1 print(judge(A,B))
[ "1069583789@qq.com" ]
1069583789@qq.com
7b91e3b074f85271a746505ec2100144aaa01af3
d7641647d67d110e08997767e85bbea081c2537b
/bitmovin_api_sdk/models/filter.py
6836a5d837fc6e5d357ec0e2fa2c5884394e48d2
[ "MIT" ]
permissive
aachenmax/bitmovin-api-sdk-python
d3ded77c459852cbea4927ff28c2a4ad39e6026a
931bcd8c4695a7eb224a7f4aa5a189ba2430e639
refs/heads/master
2022-11-16T08:59:06.830567
2020-07-06T07:16:51
2020-07-06T07:16:51
267,538,689
0
1
MIT
2020-07-06T07:16:52
2020-05-28T08:44:44
Python
UTF-8
Python
false
false
1,781
py
# coding: utf-8 from six import string_types, iteritems from bitmovin_api_sdk.common.poscheck import poscheck_model from bitmovin_api_sdk.models.bitmovin_resource import BitmovinResource import pprint class Filter(BitmovinResource): discriminator_value_class_map = { 'CROP': 'CropFilter', 'CONFO...
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
f59eef689da00fb5d14fdfaddf69c05fcdb4d412
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/labservices/azure-mgmt-labservices/azure/mgmt/labservices/models/lab_account_fragment.py
0e3a2fb1fa1897771c1c81ee386226f6730a5827
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
2,376
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
d82cf9e821ecf30bd91d020d422728952809a303
597ed154876611a3d65ca346574f4696259d6e27
/dbaas/workflow/steps/tests/test_vm_step.py
1f05feed7c79364c570f0ed132f5da3578825a91
[]
permissive
soitun/database-as-a-service
41984d6d2177734b57d726cd3cca7cf0d8c5f5d6
1282a46a9437ba6d47c467f315b5b6a3ac0af4fa
refs/heads/master
2023-06-24T17:04:49.523596
2018-03-15T19:35:10
2018-03-15T19:35:10
128,066,738
0
0
BSD-3-Clause
2022-05-10T22:39:58
2018-04-04T13:33:42
Python
UTF-8
Python
false
false
1,661
py
from mock import patch from physical.tests.factory import HostFactory, EnvironmentFactory from ..util.vm import VmStep, MigrationWaitingBeReady from . import TestBaseStep @patch('workflow.steps.util.vm.get_credentials_for', return_value=True) @patch('workflow.steps.util.vm.CloudStackProvider', return_value=object) cl...
[ "mauro_murari@hotmail.com" ]
mauro_murari@hotmail.com
1dfee621f2c8bf35b8a73f7fbbb1a64d238e125a
bbb21bb79c8c3efbad3dd34ac53fbd6f4590e697
/week3/TODO/TODO/settings.py
947cd11c197d9ed2bf30a09cd9c4016007788b22
[]
no_license
Nusmailov/BFDjango
b14c70c42da9cfcb68eec6930519da1d0b1f53b6
cab7f0da9b03e9094c21efffc7ab07e99e629b61
refs/heads/master
2020-03-28T21:11:50.706778
2019-01-21T07:19:19
2019-01-21T07:19:19
149,136,999
0
0
null
null
null
null
UTF-8
Python
false
false
3,094
py
""" Django settings for TODO project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bu...
[ "nusmailov@gmail.com" ]
nusmailov@gmail.com
cdc0900d3b2677c0be666cbdd443353d5385757e
64ffb2e803a19e5dc75ec8fa0f277609d34e0cc7
/dynamodb/update_counter_atomically.py
ddfbf9dfad90311a0332a3cbd1a990c0830b6c51
[]
no_license
arunpa0206/awstraining
687bc4206dfd65693039c525e8a4ff39d14e89d5
2eae2353b75a2774f9f47b40d76d63c7f9e08bb4
refs/heads/master
2021-05-10T15:06:48.652021
2019-08-20T10:36:29
2019-08-20T10:36:29
118,538,574
0
2
null
null
null
null
UTF-8
Python
false
false
954
py
from __future__ import print_function # Python 2/3 compatibility import boto3 import json import decimal # Helper class to convert a DynamoDB item to JSON. class DecimalEncoder(json.JSONEncoder): def default(self, o): if isinstance(o, decimal.Decimal): if o % 1 > 0: return float...
[ "mail_arunn@yahoo.com" ]
mail_arunn@yahoo.com
303d2e67444557cb4fd051f1250a360cb9ef821c
892c7bd301eeadf57b546f039faf499448112ddc
/organizacion/migrations/0004_escuelacampo.py
0f8af8ca46dffde4815519fa6295128bd78c2024
[ "MIT" ]
permissive
ErickMurillo/aprocacaho
beed9c4b031cf26a362e44fc6a042b38ab246c27
eecd216103e6b06e3ece174c89d911f27b50585a
refs/heads/master
2022-11-23T15:03:32.687847
2019-07-01T19:16:37
2019-07-01T19:16:37
53,867,804
0
1
MIT
2022-11-22T01:02:51
2016-03-14T15:23:39
HTML
UTF-8
Python
false
false
903
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-08-04 14:26 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('organizacion', '0003_auto_20160803_2128'), ] operat...
[ "erickmurillo22@gmail.com" ]
erickmurillo22@gmail.com
1b595d943f2f3026a02236c4b6a6caade13ea718
ea6b3b74c8f1ff9333c5d4b06a0e4dd9bbdb3bba
/tests/protocol/test_json_protocol.py
5a79da739005fd27e01a88e27d335942a77b03c2
[ "MIT" ]
permissive
sgalkina/venom
d495d296a388afcb25525491bbbe590bfd258a05
e372ab9002e71ba4e2422aabd02143e4f1247dba
refs/heads/master
2021-01-23T03:27:17.239289
2017-03-24T15:05:56
2017-03-24T15:05:56
86,077,951
0
0
null
2017-03-24T14:40:46
2017-03-24T14:40:46
null
UTF-8
Python
false
false
5,448
py
from unittest import SkipTest from unittest import TestCase from venom import Message from venom.common import StringValue, IntegerValue, BoolValue, NumberValue from venom.exceptions import ValidationError from venom.fields import String, Number, Field, Repeat from venom.protocol import JSON class Foo(Message): ...
[ "lars@lyschoening.de" ]
lars@lyschoening.de
3129d119bb1773e4909ac9e1ecf759cef0cad06e
539789516d0d946e8086444bf4dc6f44d62758c7
/inference/python/inference.py
7fc210e7978a31556f20ba12d8a1baa22d2ff6c4
[]
no_license
hoangcuong2011/etagger
ad05ca0c54f007f54f73d39dc539c3737d5acacf
611da685d72da207870ddb3dc403b530c859d603
refs/heads/master
2020-05-03T15:15:33.395186
2019-03-28T01:40:21
2019-03-28T01:40:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,683
py
from __future__ import print_function import sys import os path = os.path.dirname(os.path.abspath(__file__)) + '/../..' sys.path.append(path) import time import argparse import tensorflow as tf import numpy as np # for LSTMBlockFusedCell(), https://github.com/tensorflow/tensorflow/issues/23369 tf.contrib.rnn # for QRNN...
[ "hazzling@gmail.com" ]
hazzling@gmail.com
da0de991295a250dbfc4238a27b5f8573f7770a8
48c6b58e07891475a2c60a8afbbbe6447bf527a7
/src/tests/control/test_orders.py
74c7007fa3a989b7c5f5133361a5abbc1a3dcc33
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
awg24/pretix
a9f86fe2dd1f3269734ed39b3ea052ef292ff110
b1d67a48601838bac0d4e498cbe8bdcd16013d60
refs/heads/master
2021-01-15T23:40:28.582518
2015-08-27T14:05:18
2015-08-27T14:05:18
42,126,402
1
0
null
2015-09-08T16:58:52
2015-09-08T16:58:51
null
UTF-8
Python
false
false
3,084
py
from datetime import timedelta from decimal import Decimal import pytest from django.utils.timezone import now from pretix.base.models import ( Event, EventPermission, Item, Order, OrderPosition, Organizer, OrganizerPermission, User, ) @pytest.fixture def env(): o = Organizer.objects.create(name='Dummy'...
[ "mail@raphaelmichel.de" ]
mail@raphaelmichel.de
56ac5f435c1505b586a07d2bf83a64eff2564702
60b5a9a8b519cb773aca004b7217637f8a1a0526
/customer/urls.py
2bf028b3dc13eed4b4e9793741b3f478b4d5d355
[]
no_license
malep2007/dag-bragan-erp-backend
76ce90c408b21b0bda73c6dd972e2f77b7f21b1f
e98182af2848a6533ddd28c586649a8fee1dc695
refs/heads/master
2021-08-11T01:29:27.864747
2019-01-15T17:46:26
2019-01-15T17:46:26
151,831,965
0
0
null
2021-06-10T20:56:21
2018-10-06T11:10:12
Python
UTF-8
Python
false
false
437
py
from django.urls import path, reverse from . import views urlpatterns = [ path('', views.CustomerListView.as_view(), name='index'), path('<int:pk>/', views.CustomerDetailView.as_view(), name="detail"), path('edit/<int:pk>/', views.CustomerUpdateView.as_view(), name='edit'), path('add/', views.CustomerC...
[ "ephraim.malinga@gmail.com" ]
ephraim.malinga@gmail.com
a1b2d1e62a5a9c0b2e499246d138951a2a9f20f9
64a80df5e23b195eaba7b15ce207743e2018b16c
/Downloads/adafruit-circuitpython-bundle-py-20201107/lib/adafruit_wsgi/wsgi_app.py
44171f51cfa9e62e9b7fdc09a66fc806d95d7b4a
[]
no_license
aferlazzo/messageBoard
8fb69aad3cd7816d4ed80da92eac8aa2e25572f5
f9dd4dcc8663c9c658ec76b2060780e0da87533d
refs/heads/main
2023-01-27T20:02:52.628508
2020-12-07T00:37:17
2020-12-07T00:37:17
318,548,075
0
0
null
null
null
null
UTF-8
Python
false
false
4,807
py
# The MIT License (MIT) # # Copyright (c) 2019 Matthew Costi for Adafruit Industries # # 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 ...
[ "aferlazzo@gmail.com" ]
aferlazzo@gmail.com
2ebfb27d864daa8609758160bd3ee3c6122b704a
e147827b4f6fbc4dd862f817e9d1a8621c4fcedc
/apps/doc/views.py
ab450d855ef75b700dd41676295f6518652efa34
[]
no_license
Jsummer121/DjangoBolgProject
ba3ebe27a1ac67439de67b9f10c17d1c16e43f84
d64f9579d29ac5e3979d40303e84f4be6852fa96
refs/heads/master
2023-01-30T16:26:33.566665
2020-12-15T12:00:16
2020-12-15T12:00:16
321,654,994
0
0
null
null
null
null
UTF-8
Python
false
false
1,834
py
from django.shortcuts import render from django.views import View from django.http import HttpResponse, FileResponse, StreamingHttpResponse, Http404 from doc import models import requests from django.utils.encoding import escape_uri_path from Django_pro.settings import DOC_FILE_URL def doc(request): docs = models...
[ "jxxaizwt@icloud.com" ]
jxxaizwt@icloud.com
8329fa5bea57d4f6278bd16ce249d56f50672bc7
2c872fedcdc12c89742d10c2f1c821eed0470726
/pyNet/day06/code/test_poll.py
5f18a3bc99a060b68f525c9f9e72ac31b6e740a3
[]
no_license
zuigehulu/AID1811
581c3c7a37df9fa928bc632e4891fc9bafe69201
10cab0869875290646a9e5d815ff159d0116990e
refs/heads/master
2020-04-19T16:33:04.174841
2019-01-30T07:58:24
2019-01-30T07:58:24
168,307,918
1
0
null
null
null
null
UTF-8
Python
false
false
193
py
from multiprocessing import Pool from time import sleep L = [1,2,3,4,5] def a(ne): print(ne**2) sleep(2) pool = Pool() for i in L: pool.apply_async(a,(i,)) pool.close() pool.join()
[ "442315617@qq.com" ]
442315617@qq.com
0a5a579dd0a6d232526835dc574518dcbab6e108
8393f28f390e222b0429fc4f3f07590f86333d8d
/linux-stuff/bin/svn-merge-meld
7c7beb77f18c8c2b9a4dbfe1bd016a679f58f12d
[]
no_license
jmangelson/settings
fe118494252da35b175d159bbbef118f22b189fb
df9291f8947ba1ceb7c83a731dfbe9e775ce5add
refs/heads/master
2021-01-16T17:39:24.105679
2015-02-20T01:17:26
2015-02-20T01:17:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
682
#!/usr/bin/env python # svn merge-tool python wrapper for meld import sys import subprocess # path to meld ($ which meld) meld = "/usr/bin/meld" log = False f = open('/tmp/svn-merge-meld.log', 'a') def main(): if log: f.write("call: %r\n" % sys.argv) # file paths base = sys.argv[1] theirs = sys...
[ "devnull@localhost" ]
devnull@localhost
55b1ef245e9a7cb31d87bfd61a9576b63fdc7fdc
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/scaleform/daapi/view/lobby/cybersport/staticformationunitview.py
8a3ccb32d12fe54c88e9e5068baa81fe574abd77
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
14,220
py
# 2015.11.18 11:53:51 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/cyberSport/StaticFormationUnitView.py import BigWorld from UnitBase import UNIT_OP from gui import makeHtmlString from gui.Scaleform.genConsts.TOOLTIPS_CONSTANTS import TOOLTIPS_CONSTANTS from gui.shared...
[ "info@webium.sk" ]
info@webium.sk
0a551818b8e85dd12f84691ab34b3df1f13c138e
14ddda0c376f984d2a3f7dcd0ca7aebb7c49648d
/bnn_mcmc_examples/examples/mlp/noisy_xor/setting2/mcmc/metropolis_hastings/pilot_visual_summary.py
34d2bb1186d2c1da6be83394dc47fe6431283c68
[ "MIT" ]
permissive
papamarkou/bnn_mcmc_examples
62dcd9cc0cf57cda39aa46c2f2f237bbcd2d35bb
7bb4ecfb33db4c30a8e61e31f528bda0efb24e3d
refs/heads/main
2023-07-12T20:51:28.302981
2021-08-22T13:06:17
2021-08-22T13:06:17
316,554,634
1
1
null
null
null
null
UTF-8
Python
false
false
1,553
py
# %% Import packages import kanga.plots as ps from kanga.chains import ChainArray from bnn_mcmc_examples.examples.mlp.noisy_xor.setting2.mcmc.constants import diagnostic_iter_thres from bnn_mcmc_examples.examples.mlp.noisy_xor.setting2.mcmc.metropolis_hastings.constants import sampler_output_pilot_path from bnn_mcmc...
[ "theodore.papamarkou@gmail.com" ]
theodore.papamarkou@gmail.com
44dc7ace3c96940a36a7ea468124c78e03900455
1620e0af4a522db2bac16ef9c02ac5b5a4569d70
/Ekeopara_Praise/Phase 2/LIST/Day44 Tasks/Task4.py
e3f303c59954e7bec5cf6fa62b4f49925de56d80
[ "MIT" ]
permissive
Ekeopara-Praise/python-challenge-solutions
cda07902c9ffc09ba770ae7776e5e01026406a05
068b67c05524b5c5a0d6084315eca3424c768421
refs/heads/master
2022-12-15T15:29:03.031583
2020-09-25T06:46:27
2020-09-25T06:46:27
263,758,530
2
0
null
2020-05-13T22:37:33
2020-05-13T22:37:32
null
UTF-8
Python
false
false
141
py
'''4. Write a Python program to concatenate elements of a list. ''' num = ['1', '2', '3', '4', '5'] print('-'.join(num)) print(''.join(num))
[ "ekeoparapraise@gmail.com" ]
ekeoparapraise@gmail.com
46b56de9bf7ead1838fe58206ae4c91ce5bcfbb2
00792a90bfa302af8614f4a5f955c071ed320acf
/apps/control_params/tests.py
c93cb528dd87a34cb25ffb1ba372511159998b42
[]
no_license
elcolie/HT6MInterface
dceb8f5e9b501b8836904559bd40259ccfe49085
04abf3cc73618c1cf059fa67da8a043ec9fb43b3
refs/heads/master
2022-02-04T08:02:49.023460
2021-01-21T06:55:39
2021-01-21T06:55:39
123,398,906
0
0
null
2022-01-21T20:20:29
2018-03-01T07:30:16
JavaScript
UTF-8
Python
false
false
4,395
py
from django.test import TestCase from apps.control_params.api.serializers import ControlParameterSerializer from apps.control_params.models import ControlParameter from apps.heating_params.models import HeatingParameter class TestControlParameter(TestCase): def setUp(self): pass def test_blank_initi...
[ "sarit@elcolie.com" ]
sarit@elcolie.com
07feee452428ecf97bd5edc3add50468a4a465d2
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_309/ch26_2019_08_19_14_12_37_089425.py
8dadd9e96c3304269c01917bc7478e247c45840a
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
dias = int(input("dias:")) horas = int(input("horas:")) minutos = int(input("minutos:")) segundos = int(input("segundos:")) print((dias*86.400 + horas*3.600 + minutos*60 + segundos))
[ "you@example.com" ]
you@example.com
ef8433f6bae0df2f57342d5ef4f9efcd844ecde0
ddf1267a1a7cb01e70e3b12ad4a7bfaf291edb3e
/src/search/tasks.py
2c428bb843cb84de7aa107d3c9693be9e16496f7
[ "MIT" ]
permissive
Garinmckayl/researchhub-backend
46a17513c2c9928e51db4b2ce5a5b62df453f066
cd135076d9a3b49a08456f7ca3bb18ff35a78b95
refs/heads/master
2023-06-17T04:37:23.041787
2021-05-18T01:26:46
2021-05-18T01:26:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,339
py
from oauth.utils import get_orcid_works, check_doi_in_works from paper.models import Paper from paper.utils import download_pdf from researchhub.celery import app from utils.orcid import orcid_api from user.models import Author from purchase.models import Wallet VALID_LICENSES = [] @app.task def download_pdf_by_lice...
[ "lightning.lu7@gmail.com" ]
lightning.lu7@gmail.com
3fa9322ab882012f8dd6fc64efa180bbd27ec444
f0856e60a095ce99ec3497b3f27567803056ac60
/keras/keras19~31[scaler, CNN(GAP,DNN)]/keras31_cifar100_3_Djsull.py
9150dcc697bf72ace67e7f4f1b9da8a5c55e6d9b
[]
no_license
hjuju/TF_Study-HAN
dcbac17ce8b8885f5fb7d7f554230c2948fda9ac
c0faf98380e7f220868ddf83a9aaacaa4ebd2c2a
refs/heads/main
2023-09-04T09:13:33.212258
2021-10-27T08:00:49
2021-10-27T08:00:49
384,371,952
1
0
null
null
null
null
UTF-8
Python
false
false
4,418
py
import numpy as np from sklearn.model_selection import train_test_split from sklearn.preprocessing import MinMaxScaler, StandardScaler, RobustScaler, QuantileTransformer,MaxAbsScaler, PowerTransformer, OneHotEncoder from tensorflow.keras.datasets import cifar100 from tensorflow.keras.models import Sequential, Model fro...
[ "tkackeowjs@naver.com" ]
tkackeowjs@naver.com
c97e9f32dd8b94b6bb3365179ef73965eccd8be5
bedae10cbaf676d8f309fa593028558d9a6e9c6b
/Algorithm/Easy/1000+/1206NextGreaterElementI.py
dfcffec1d8a09564dfb341ed4eb30870284fee73
[ "MIT" ]
permissive
MartinYan623/Lint-Code
5800d61a54f87306c25ff2e3d535145312b42c66
57d2fa441d6496234615736e3f55d0b71aaa51dc
refs/heads/master
2021-06-06T13:51:19.587424
2021-04-21T12:23:19
2021-04-21T12:23:19
139,412,536
0
0
null
2020-08-08T10:28:52
2018-07-02T08:18:11
Python
UTF-8
Python
false
false
627
py
class Solution: """ @param nums1: an array @param nums2: an array @return: find all the next greater numbers for nums1's elements in the corresponding places of nums2 """ def nextGreaterElement(self, nums1, nums2): # Write your code here for i in range(len(nums1)): i...
[ "Maitong_y@163.com" ]
Maitong_y@163.com
964de307289972354a1b551f7c32d12f000e98d4
95ec5d4d14516be1a1fdcc8bd1fb29279dfaff3c
/settings.py
513790faf5a80aaabdf246439d26eae875211e35
[]
no_license
gitter-badger/dev4gov.org
16e25621a81552a6458cdd21cb96f17c7e222350
a03165e921d0e76ad4283c970b3e0540f7d53c75
refs/heads/master
2021-01-18T06:52:15.360799
2011-08-21T09:01:55
2011-08-21T09:01:55
41,620,266
0
0
null
2015-08-30T07:25:32
2015-08-30T07:25:32
null
UTF-8
Python
false
false
5,041
py
# Django settings for dev4gov_org project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAM...
[ "sirmmo@gmail.com" ]
sirmmo@gmail.com
d8600af0b88b95f8cda4ccde3d48eef8e17c2e47
436177bf038f9941f67e351796668700ffd1cef2
/venv/Lib/site-packages/sklearn/tests/test_calibration.py
b8585c22bb36278fb772ff8f40c7129b07a1ad2e
[]
no_license
python019/matplotlib_simple
4359d35f174cd2946d96da4d086026661c3d1f9c
32e9a8e773f9423153d73811f69822f9567e6de4
refs/heads/main
2023-08-22T18:17:38.883274
2021-10-07T15:55:50
2021-10-07T15:55:50
380,471,961
29
0
null
null
null
null
UTF-8
Python
false
false
22,088
py
# Authors: Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr> # License: BSD 3 clause import pytest import numpy as np from numpy.testing import assert_allclose from scipy import sparse from sklearn.base import BaseEstimator from sklearn.model_selection import LeaveOneOut, train_test_split from ...
[ "82611064+python019@users.noreply.github.com" ]
82611064+python019@users.noreply.github.com
6c35b1cfd607a05efda8da84959d5075ad4cce77
4db21365bd1f78d0c3258efba0af2cb10696fa32
/main/settings.py
073da02a715681d860283236b176447a2fa5284c
[]
no_license
gichimux/beegee_cms
e62a2da86cc23395f3ce8a1dc3041dc9742a2315
c4395f6d0bc334cb4158208d6d2a124c70da9ed0
refs/heads/master
2020-08-07T21:11:53.345827
2019-10-08T08:53:52
2019-10-08T08:53:52
213,588,094
0
0
null
null
null
null
UTF-8
Python
false
false
3,088
py
""" Django settings for main project. Generated by 'django-admin startproject' using Django 1.11. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os # B...
[ "gichimumwai1@gmail.com" ]
gichimumwai1@gmail.com
96dbfb206fea6616d529302a4dd2d8b79d04dcdb
4e8876d7b29cf9fb05849da77553b8a7e3783bdc
/src/plugins/processing/algs/gdal/contour.py
e25947294d997251bea2fcf065aa480f5e025270
[]
no_license
hydrology-tep/hep-qgis-plugin-lite
48477f504b6fc1a9a9446c7c7f5666f4b2ccfee7
781cbaa1b3e9331de6741dd44a22322048ab176c
refs/heads/master
2021-03-27T17:01:18.284421
2018-06-27T12:09:58
2018-06-27T12:09:58
70,825,462
0
0
null
null
null
null
UTF-8
Python
false
false
3,908
py
# -*- coding: utf-8 -*- """ *************************************************************************** contour.py --------------------- Date : September 2013 Copyright : (C) 2013 by Alexander Bruy Email : alexander bruy at gmail dot com **********...
[ "joaa@localhost.localdomain" ]
joaa@localhost.localdomain
ab5d8fbd62d3448fb69cf6581a66121ca6459a25
459929ce79538ec69a6f8c32e608f4e484594d68
/venv/Lib/site-packages/virtualbox/__about__.py
600822f21eb32a6edbdfa087453d0b2e1ea10fc2
[ "Apache-2.0" ]
permissive
yychai97/Kubernetes
ec2ef2a98a4588b7588a56b9d661d63222278d29
2955227ce81bc21f329729737b5c528b02492780
refs/heads/master
2023-07-02T18:36:41.382362
2021-08-13T04:20:27
2021-08-13T04:20:27
307,412,544
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
__title__ = "virtualbox" __author__ = "Michael Dorman" __author_email__ = "mjdorma+pyvbox@gmail.com" __maintainer__ = "Seth Michael Larson" __maintainer_email__ = "sethmichaellarson@gmail.com" __version__ = "2.1.1" __license__ = "Apache-2.0" __url__ = "https://github.com/sethmlarson/virtualbox-python"
[ "49704239+yychai97@users.noreply.github.com" ]
49704239+yychai97@users.noreply.github.com
4749bf6ccf6bd5a56d395c5462ac67cbfea6b435
7936ebf5b94c3d153fb55248b52db2eff724427c
/11/homework11/zhihu_top100.py
6fb64a0e8b94e74945b6a87d6f31271cd6307984
[ "MIT" ]
permissive
xiaodongzi/pytohon_teach_material
f9e95f7b294a9e49d86d1a8e25cbef5efef3aaf7
13ed128a993637d0203f1f8c5419d781d7212883
refs/heads/master
2021-05-30T09:48:16.898483
2016-01-24T17:02:34
2016-01-24T17:02:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
# coding: utf-8 import requests from pyquery import PyQuery as pq question_num = 1 page_num = 1 to_stop = False scrap_questions_num = 100 while True: url = "http://www.zhihu.com/topic/19776749/top-answers?page=%d" % (page_num) res = requests.get(url) # print res.encoding for p in pq(res.content).find...
[ "seerjk@gmail.com" ]
seerjk@gmail.com
0bf78b5a94b1e07dee662b8e341ee34aea435e03
54857571461a579bed30cee27871aaa5fe396bcc
/nltk-0.9.7/src/nltk/inference/inference.py
0b6d64c2a35e50e6cfaa2627aae6c30fe56517a5
[]
no_license
ahmedBazaz/affective-text-classification
78375182e800b39e0e309e8b469e273c0d9590f0
719e9b26e60863c620662564fb9cfeafc004777f
refs/heads/master
2021-01-10T14:50:01.100274
2009-01-09T03:59:01
2009-01-09T03:59:01
48,296,612
0
0
null
null
null
null
UTF-8
Python
false
false
3,176
py
# Natural Language Toolkit: Interface to Theorem Provers # # Author: Dan Garrette <dhgarrette@gmail.com> # Ewan Klein <ewan@inf.ed.ac.uk> # # URL: <http://www.nltk.org/> # For license information, see LICENSE.TXT from nltk.sem import logic import api import tableau import prover9 import mace i...
[ "tytung@6129d76e-ddfe-11dd-a37d-c9d1c40e0883" ]
tytung@6129d76e-ddfe-11dd-a37d-c9d1c40e0883
f36f09b4e05bbc16b9f5367879c5ca25aebf7d66
bd55c7d73a95caed5f47b0031264ec05fd6ff60a
/apps/qa/migrations/0006_coupon_vendor_branch.py
35b01a8e9fea5a66447f1b448de6613892793c36
[]
no_license
phonehtetpaing/ebdjango
3c8610e2d96318aff3b1db89480b2f298ad91b57
1b77d7662ec2bce9a6377690082a656c8e46608c
refs/heads/main
2023-06-26T13:14:55.319687
2021-07-21T06:04:58
2021-07-21T06:04:58
381,564,118
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
# Generated by Django 2.0.5 on 2019-03-12 08:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0123_auto_20190312_1736'), ('qa', '0005_auto_20190312_1732'), ] operations = [ migrations.A...
[ "phonehtetpaing1221@gmail.com" ]
phonehtetpaing1221@gmail.com
5c15afa29895acb8165f67f96d1744092f542d33
ed269e9a4d9d6bfbb833381b7aef65a23f391fe2
/比赛/5479. 千位分隔数.py
f95b565d2780cc9f0cda6a36ec21c68410b1d997
[]
no_license
Comyn-Echo/leeCode
fcff0d4c4c10209a47bd7c3204e3f64565674c91
67e9daecb7ffd8f7bcb2f120ad892498b1219327
refs/heads/master
2023-04-28T17:35:52.963069
2021-05-19T01:52:16
2021-05-19T01:52:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
class Solution(object): def thousandSeparator(self, n): """ :type n: int :rtype: str """ ans ="" res= n % 1000 n = n // 1000 ans = str(res) + ans if n ==0: return ans if len(str(res)) == 2: ans = "0" + ans ...
[ "2892211452aa@gmail.com" ]
2892211452aa@gmail.com
a38219cf230e02a4b51f77acdf5bb58c8c66cc5d
c2ae65792af1fab2e7843303ef90790819f872e8
/SampleCodes/Webview/v3/lib/python3.5/copyreg.py
3ba6ec1ff37b3f84594bbbe694537c660c2574bd
[]
no_license
behappyyoung/PythonSampleCodes
47c224ca76ce509a03c8b75ef6b4bf7f49ebdd7f
f7640467273fa8ea3c7e443e798737ca5bcea6f9
refs/heads/master
2023-03-15T00:53:21.034605
2023-02-13T17:12:32
2023-02-13T17:12:32
26,919,763
3
3
null
2023-03-07T12:45:21
2014-11-20T15:57:16
Python
UTF-8
Python
false
false
97
py
/usr/local/Cellar/python3/3.5.2/Frameworks/Python.framework/Versions/3.5/lib/python3.5/copyreg.py
[ "ypark@stanfordhealthcare.org" ]
ypark@stanfordhealthcare.org
172a86f3c38e5011aa0bf1ac25cc91867d724c2f
9e5353ba6e50f77a40a765bd494d8bfb990c8922
/stream_backend/api/serializers.py
d5946df70464fd9e7b8cffcfad2c351823f30c86
[]
no_license
admiralbolt/stream-stuff
d9e24f1d78ac142416525b9b42cc53ef0bc4712a
29cfa96f9e8d40c531362aced47ebacadccbe759
refs/heads/master
2023-08-05T00:02:17.812991
2021-09-23T05:47:16
2021-09-23T05:47:16
261,022,447
7
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
import json from rest_framework import serializers from api import models class JsonSerializer(serializers.Field): """Custom serializer for json fields. Internally json fields are represented as a string. Externally it's json. What the fuck did you expect? """ def to_representation(self, val...
[ "aviknecht@gmail.com" ]
aviknecht@gmail.com
3794ad4e6c4c29f51277e6c3db63938934199c94
912b3b5321c7e26887af94cf2f97e4892c8c956a
/Day6/1_os模块.py
e6c1d55e65f6ce1f83dbdb50a2a2369a9e7f34ed
[]
no_license
nmap1208/2016-python-oldboy
a3a614694aead518b86bcb75127e1ed2ef94604a
873820e30aeb834b6a95bae66259506955436097
refs/heads/master
2021-05-31T04:43:14.636250
2016-05-06T01:24:39
2016-05-06T01:24:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
# -*- coding:utf-8 -*- import os a = os.popen('ls') print(type(a)) print(a.read()) b = os.system('ls') print(b) c = os.stat('1_os模块.py') print(c) print(os.path.isfile('.')) print(os.path.isdir('.')) print() print(os.path.isfile('1_os模块.py')) print(os.path.isdir('1_os模块.py'))
[ "yangk@ersoft.cn" ]
yangk@ersoft.cn
e01e2b05fabcddca2a5a6ff51953f8e148933344
34ddec647d6ad357c1527cf713eaeaee4eb575aa
/2020/24/part1.py
15437d944874572ab3349f6d824f88d3d20bf217
[ "Unlicense" ]
permissive
cheshyre/advent-of-code
98327c564f6b401244778aaf9a16043000b4d85e
7ecb827745bd59e6ad249707bd976888006f935c
refs/heads/master
2022-12-21T15:53:38.789228
2022-12-20T20:07:28
2022-12-20T20:07:28
75,426,961
1
0
null
null
null
null
UTF-8
Python
false
false
490
py
import os import hex_grid cur_dir = os.path.dirname(os.path.abspath(__file__)) tiles_count = {} with open(f"{cur_dir}/input") as f: for line in f: instrs = hex_grid.parse_instructions(line) point = (0, 0) for i in instrs: point = hex_grid.apply_instruction_to_point(point, i) ...
[ "heinz.matthias.3@gmail.com" ]
heinz.matthias.3@gmail.com
8ca1f76025a6c70f3e1501bb42a2497806635dcd
bb150497a05203a718fb3630941231be9e3b6a32
/framework/e2e/jit/test_TransformerDecoderLayer_base.py
a05bd02f5bfde173c39458efb57dde220590c836
[]
no_license
PaddlePaddle/PaddleTest
4fb3dec677f0f13f7f1003fd30df748bf0b5940d
bd3790ce72a2a26611b5eda3901651b5a809348f
refs/heads/develop
2023-09-06T04:23:39.181903
2023-09-04T11:17:50
2023-09-04T11:17:50
383,138,186
42
312
null
2023-09-13T11:13:35
2021-07-05T12:44:59
Python
UTF-8
Python
false
false
668
py
#!/bin/env python # -*- coding: utf-8 -*- # encoding=utf-8 vi:ts=4:sw=4:expandtab:ft=python """ test jit cases """ import os import sys sys.path.append(os.path.abspath(os.path.dirname(os.getcwd()))) sys.path.append(os.path.join(os.path.abspath(os.path.dirname(os.getcwd())), "utils")) from utils.yaml_loader import Ya...
[ "825276847@qq.com" ]
825276847@qq.com
7779863b118dff78c2699620fdef4105a1714c2c
ad2777c974326177b7036f023301c19e7ecbf4e8
/rolld.py
c25440d5a316afa3b13b57ddfd90b978c8491674
[]
no_license
lraulin/bin
c67f5f52667a4d63e4ceace8837750e0e5dc2287
a67026b920fea5d8731c47bad448f977f245a58d
refs/heads/master
2021-01-22T04:15:08.948736
2018-06-21T00:20:10
2018-06-21T00:20:10
92,446,171
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
import random def roll(max): roll1 = max * random.random()
[ "leeraulin@gmail.com" ]
leeraulin@gmail.com
9f96bd3e842b17ffff0232b9c3744b778aa03a07
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_None/trend_MovingAverage/cycle_0/ar_/test_artificial_32_None_MovingAverage_0__20.py
4d34289521e410c56e4feef0b93dd14485083f72
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
262
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "MovingAverage", cycle_length = 0, transform = "None", sigma = 0.0, exog_count = 20, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
00054f224feac895bdeb59caf0cd9aa1a4ec7ba7
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/13102401.py
51ba130c83268a3466ef39a7a7bdf749d0a89dca
[]
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
1,746
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/13102401.py generated: Fri, 27 Mar 2015 15:48:14 # # Event Type: 13102401 # # ASCII decay Descriptor: [B_s0 -> rho+ K-]cc # from Configurables import Generation Generation().EventType = 13102401 Generation().SampleGenerationTool = "SignalRepeatedHadroniza...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
2a95a869e7d772ab128482d441931e4fa0c543aa
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/FGzWE8vNyxtTrw3Qg_9.py
5ad6edc044c49e09b4fc47b751fcc79350dfb72e
[]
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
725
py
def get_nbrs(grid, r, c): nbrs = [[r+dr, c+dc] for dr, dc in [[-1,0],[0,1],[1,0],[0,-1]]] return [[nr, nc] for nr, nc in nbrs if 0<=nr<len(grid) and 0<=nc<len(grid[0]) and grid[nr][nc]==1] ​ def is_region(grid, r, c): if grid[r][c] != 1: return False # set all interconnected cells in region to 0 # using back...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1af7478a5ccc39c7e8958468814792161a1bd6df
70c3cf5f0c58b0074b33f653500604b5f4f7e198
/rm_scraping/scrape.py
4de5cfa3e045ca42c9b60e3faf2c82cac2d44c8e
[]
no_license
colinmorris/wiki-controversial-titles
659a7264c7fe652b696e20414acbd74a4cb1b3f6
b089c08655527e10624ecd912a0058fd1f150778
refs/heads/master
2020-06-03T05:04:07.017575
2019-07-27T22:32:34
2019-07-27T22:32:34
191,450,697
1
0
null
null
null
null
UTF-8
Python
false
false
3,391
py
import csv import os import mwclient import argparse import pandas as pd from RM import RM from constants import * FLUSH_EVERY = 50 LIMIT = 0 NEXT_ID = 0 def scrape_rms_for_title(title, f_fail, debug=0): global NEXT_ID pg = wiki.pages[title] section_ix = 1 while 1: try: section = pg.text(section=s...
[ "colin.morris2@gmail.com" ]
colin.morris2@gmail.com
d6cbdb0585782c2794ba7450f08232c03959e33d
eefb06b0d8c8c98c1e9cfc4c3852d5c453eb5429
/data/input/alan-hicks/django-dmarc/dmarc/views.py
9a3cac700e01af8df8f7ac8922d8369c5b52f135
[]
no_license
bopopescu/pythonanalyzer
db839453bde13bf9157b76e54735f11c2262593a
8390a0139137574ab237b3ff5fe8ea61e8a0b76b
refs/heads/master
2022-11-22T02:13:52.949119
2019-05-07T18:42:52
2019-05-07T18:42:52
282,079,884
0
0
null
2020-07-23T23:46:09
2020-07-23T23:46:08
null
UTF-8
Python
false
false
1,280
py
#---------------------------------------------------------------------- # Copyright (c) 2015, Persistent Objects Ltd http://p-o.co.uk/ # # License: BSD #---------------------------------------------------------------------- """ DMARC views http://dmarc.org/resources/specification/ """ from django.contrib.admin.views.de...
[ "rares.begu@gmail.com" ]
rares.begu@gmail.com
7e618e38824b5016cc3f2a51fcaa867cf87c2493
a6f7b9c9cdfbc44af3c1c332abc94450cbd0e61b
/binpack/apps.py
cfdc666405675fd847c0dec63cbed9680510946a
[]
no_license
igorpejic/visapi
fe2e03a22d2e55e9fe7b31a2b21f098a83743c4d
29564eb69efb691f7c27e45a4265dc803efcac8b
refs/heads/master
2022-12-11T09:21:21.459796
2020-12-18T05:48:57
2020-12-18T05:48:57
224,496,779
9
1
null
2022-12-08T04:22:42
2019-11-27T18:51:07
Jupyter Notebook
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class BinpackConfig(AppConfig): name = 'binpack'
[ "igor.pejic@dr.com" ]
igor.pejic@dr.com
0e58b2eb4476360bd160080cb9a03e7fcad7a6e2
490ffe1023a601760ae7288e86723f0c6e366bba
/kolla-docker/zun-ui/zun_ui/enabled/_2340_admin_container_providervms_panel.py
4812c633141e50e75d7f5283c994e5efb453fe51
[ "Apache-2.0" ]
permissive
bopopescu/Cloud-User-Management
89696a5ea5d2f95191327fbeab6c3e400bbfb2b8
390988bf4915a276c7bf8d96b62c3051c17d9e6e
refs/heads/master
2022-11-19T10:09:36.662906
2018-11-07T20:28:31
2018-11-07T20:28:31
281,786,345
0
0
null
2020-07-22T21:26:07
2020-07-22T21:26:06
null
UTF-8
Python
false
false
964
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
[ "Mr.Qinlichao@hotmail.com" ]
Mr.Qinlichao@hotmail.com
6133de21acc69badb689577af432bce59a5def07
14cef240063145bba81d7ac4bd25ed671585527c
/core/database/crud/bottify_user.py
4433dceb8bad52c68591d531e46bc649e45080ee
[]
no_license
Kroonjay/Bottify
f139d3cf6753c36b85ec061888a88c9f82dfd715
c30c9cf924d19d053b0f678eb9d69143398ea83a
refs/heads/main
2023-07-30T02:10:08.878698
2021-09-29T16:30:35
2021-09-29T16:30:35
411,117,108
0
3
null
null
null
null
UTF-8
Python
false
false
2,716
py
import logging from databases import Database from uuid import UUID from core.security.password import get_password_hash from core.models.user import BottifyUserInModel, BottifyUserModel from core.database.tables.bottify_user import get_bottify_user_table from core.database.helpers import build_model_from_row use...
[ "scoutfullner96@gmail.com" ]
scoutfullner96@gmail.com
6ec3308ca74aee29ace51e8fb3b39a143120e86f
29eacf3b29753d65d8ec0ab4a60ea1f7ddecbd68
/tests/api_workflow/test_api_workflow_selection.py
73147fd03b6bbd08ffaf12ded248a6f812a0cb81
[ "MIT" ]
permissive
lightly-ai/lightly
5b655fe283b7cc2ddf1d7f5bd098603fc1cce627
5650ee8d4057139acf8aa10c884d5d5cdc2ccb17
refs/heads/master
2023-08-17T11:08:00.135920
2023-08-16T12:43:02
2023-08-16T12:43:02
303,705,119
2,473
229
MIT
2023-09-14T14:47:16
2020-10-13T13:02:56
Python
UTF-8
Python
false
false
7,897
py
from typing import List import pytest from pytest_mock import MockerFixture from lightly.active_learning.config.selection_config import SelectionConfig from lightly.api import ApiWorkflowClient, api_workflow_selection from lightly.openapi_generated.swagger_client.models import ( JobResultType, JobState, J...
[ "noreply@github.com" ]
lightly-ai.noreply@github.com
8fe975eac45d0cbc7088a107247e236f4fea121b
79a836022275b94b687325ae36980cafe6d66788
/setup.py
18eba6b9644a02f8b6a1d99711326daac0f2de62
[]
no_license
reminder-bot/start
1194adede56c46b587e27b003c0c401ceb7b9056
33c613d5a9c168635ad221d864e25d27c726ae5a
refs/heads/master
2020-03-21T23:34:21.716780
2018-08-30T20:13:14
2018-08-30T20:13:14
139,195,178
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
import os import configparser try: os.mkdir('../DATA') except FileExistsError: pass files = ['todos'] contents = ['{}'] for fn, content in zip(files, contents): if fn + '.json' in os.listdir('../DATA/'): continue f = open('../DATA/' + fn + '.json', 'w') f.write(content) f.close() if...
[ "judewrs@gmail.com" ]
judewrs@gmail.com
d7420989469dab17d9f1146e6f856d16c343fb1e
054eefaa17157b32869ea986347b3e539d2bf06b
/big_o_coding/Green_06/midterm1.py
bbd16356c363c790e981dd3ec7c049cf0c48699b
[]
no_license
baocogn/self-learning
f2cb2f45f05575b6d195fc3c407daf4edcfe7d0e
f50a3946966354c793cac6b28d09cb5dba2ec57a
refs/heads/master
2021-07-12T23:32:14.728163
2019-02-10T14:24:46
2019-02-10T14:24:46
143,170,276
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
n = int(input()) result = 1 if n == 1: result = 1 * 15000 elif 2 <= n <= 5: result = 1 * 15000 + (n - 1) * 13500 elif 6 <= n <= 11: result = 1 * 15000 + 4 * 13500 + (n - 5) * 11000 elif n >= 12: result = int((1 * 15000 + 4 * 13500 + (n - 5) * 11000) * (1 - 0.1)) print(result )
[ "baocogn123@gmail.com" ]
baocogn123@gmail.com
addce9e9601f6db6495755d3b9f0ef59ec7bae2b
ac6a1789722de5e37be54b39b964beef005d111d
/rest_registration/utils/validation.py
d23aac4f20409a39eba749fbb9ac6225315dc012
[ "MIT" ]
permissive
sunbeamer/django-rest-registration
cd194ccf152c62802ca6f7d7a048764da8aadf8a
dd25b84d0151630659da4c2c17ed48d26238e006
refs/heads/master
2023-03-29T10:39:06.225559
2021-03-25T23:21:46
2021-03-25T23:21:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,971
py
import functools from collections import OrderedDict from collections.abc import Mapping from typing import Any, Callable, Dict, Iterable, List from django.contrib.auth.password_validation import validate_password from django.core.exceptions import ValidationError as DjangoValidationError from django.utils.translation...
[ "apragacz@o2.pl" ]
apragacz@o2.pl
64cbfec3f3acc0e1d61883835c5f39fc1e73c1c0
9845815f0ff30819d6504adcac96b45deb865697
/forestConfigs/runForest_PbPb_MIX_75X_JECv4_localVoronoi.py
0ba7b44a0af6b2ba9e08c237c363a9fe1e412f27
[]
no_license
dgulhan/forestConfigs
8efc4dc5f2341e877ae46dca8d9ae3dbe2d5895d
743178fa48457f6b6bdd49c9337931a4299b3994
refs/heads/master
2021-01-19T11:22:51.780050
2015-12-04T17:50:36
2015-12-04T17:50:36
22,839,818
0
0
null
null
null
null
UTF-8
Python
false
false
18,648
py
import FWCore.ParameterSet.Config as cms process = cms.Process('HiForest') process.options = cms.untracked.PSet( # wantSummary = cms.untracked.bool(True) #SkipEvent = cms.untracked.vstring('ProductNotFound') ) ##################################################################################### # HiForest labe...
[ "dgulhan@cern.ch" ]
dgulhan@cern.ch
c8275c0263fa17dd5c699419bd33e02aa94828bc
384813261c9e8d9ee03e141ba7270c48592064e9
/new_project/fastsklearnfeature/interactiveAutoML/new_bench/multiobjective/metalearning/openml_data/private_models/randomforest/sam_node.py
8fbb83881a619090a269f8cb2979875d31f3c78e
[]
no_license
pratyushagnihotri/DFS
b99d87c085e67888b81c19629c338dae92272a3b
3b60e574905e93c24a2b883cc251ecc286cb2263
refs/heads/master
2023-04-18T22:17:36.816581
2021-04-20T13:41:29
2021-04-20T13:41:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,128
py
''' A class defining the nodes in our Differentially Private Random Decision Forest ''' from collections import defaultdict import random import numpy as np import math from scipy import stats # for Exponential Mechanism class node: def __init__(self, parent_node, split_value_from_parent, splitting_attribute, t...
[ "neutatz@googlemail.com" ]
neutatz@googlemail.com
44ed7aab029125950b6f5f506929e89f4de0dcdf
6968c7f9d2b20b5296663829f99a27d184a59fc1
/autodisc/autodisc/gui/jupyter/imagelistwidget.py
b6152e78a221de869f622b5b6696836db4ed377e
[ "MIT", "Apache-2.0" ]
permissive
flowersteam/automated_discovery_of_lenia_patterns
d42dff37323d51732571b33845c0562d844f498f
97cc7cde2120fa95225d1e470e00b8aa8c034e97
refs/heads/master
2020-06-29T07:08:58.404541
2020-05-14T07:37:10
2020-05-14T07:37:10
200,470,902
13
2
null
null
null
null
UTF-8
Python
false
false
6,855
py
import autodisc as ad import ipywidgets import numpy as np import IPython.display class ImageListWidget(ipywidgets.VBox): @staticmethod def get_default_gui_config(): default_config = ad.Config() default_config.elements_per_page = 100 default_config.output_layout = ad.Config() ...
[ "chris.reinke@inria.fr" ]
chris.reinke@inria.fr
2ac952f31d08278c866ed2990a35fd7f970f3e15
fdf3aff5344271ef69ac7441c5dbca9cbf832cd1
/car_location/location/models/__init__.py
1219e9aa74d0d07e37129adcf33bba5812ee7ee2
[]
no_license
lffsantos/DesafioPython
6069b3277780326611e34ae024f7506f3d56c5b4
fbc451b77c0310630fd95cbd23c339e194af88d1
refs/heads/master
2021-01-17T07:42:12.181187
2016-01-19T03:39:20
2016-01-19T03:39:20
49,730,610
0
0
null
2016-01-19T03:39:22
2016-01-15T16:25:30
JavaScript
UTF-8
Python
false
false
277
py
__author__ = 'lucas' from car_location.location.models import categoriaveiculo from car_location.location.models import veiculo from car_location.location.models import cliente from car_location.location.models import locacao from car_location.location.models import devolucao
[ "lffsantos@gmail.com" ]
lffsantos@gmail.com
9b86763b34bce30afdb20d256f2e76972cc7a3ed
06919b9fd117fce042375fbd51d7de6bb9ae14fc
/py/tests/problems/hashtable/sparse_matrix.py
6ffec84f318bf38c68b1a11b7e3818d670628f49
[ "MIT" ]
permissive
bmoretz/Daily-Coding-Problem
0caf2465579e81996869ee3d2c13c9ad5f87aa8f
f79e062e9f6e7b18b7e95c071fbe71ad104affcb
refs/heads/master
2022-12-07T15:41:06.498049
2021-11-18T19:45:19
2021-11-18T19:45:19
226,376,236
1
0
MIT
2022-11-22T09:20:23
2019-12-06T17:17:00
C++
UTF-8
Python
false
false
1,219
py
import unittest from dcp.problems.hashtable.sparse_matrix import SparseMatrix class Test_SparseMatrix(unittest.TestCase): def setUp(self): pass def test_case1(self): mat = [[0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1], \ [0, 0, 0, 0...
[ "bmoretz82@gmail.com" ]
bmoretz82@gmail.com
4404d9fc262775f54d590079477f8a1ba5b93179
e65ae5bd9ae1c93e7117e630f7340bc73aa71212
/lib/gevent/greentest/test__semaphore.py
480ec0e930466916a152bfe75550bf85470a4e0e
[ "MIT" ]
permissive
nadirhamid/oneline
e98ff1ed81da0536f9602ecdde2fb2a4fe80d256
833ebef0e26ae8e0cc452756381227746d830b23
refs/heads/master
2021-01-21T04:27:41.715047
2016-05-30T03:50:34
2016-05-30T03:50:34
23,320,578
1
2
NOASSERTION
2020-03-12T17:22:24
2014-08-25T16:29:36
Python
UTF-8
Python
false
false
640
py
import greentest import gevent from gevent.lock import Semaphore class TestTimeoutAcquire(greentest.TestCase): # issue 39 def test_acquire_returns_false_after_timeout(self): s = Semaphore(value=0) result = s.acquire(timeout=0.01) assert result is False, repr(result) def test_rele...
[ "matrix.nad@gmail.com" ]
matrix.nad@gmail.com
58c7af9907e90657db990a4e460eb35ea902d102
f3693916a8b118bf139364604dac3f51235ed613
/functional/Components/Authorization_System/Authorization_System_generateToken_POST/test_TC_43372_Authorizationsystems_POST_Pastdate_For_Not_Before_Time.py
fbedd554265220c2b614fc0c146a20e9c5d9bc1c
[]
no_license
muktabehera/QE
e7d62284889d8241d22506f6ee20547f1cfe6db1
3fedde591568e35f7b80c5bf6cd6732f8eeab4f8
refs/heads/master
2021-03-31T02:19:15.369562
2018-03-13T02:45:10
2018-03-13T02:45:10
124,984,177
0
0
null
null
null
null
UTF-8
Python
false
false
5,941
py
# -*- coding: UTF-8 -*- """PFE Component Tests - Authorization_Systems. * TC-43372 - Authorization_Systems POST: Verify that user is unable to generate Token on providing time before expiration time for 'notBeforeTime' field using request POST /authorizationSystems/{id}/generateToken ". Equivalent test CURL com...
[ "mbehera@qumu.com" ]
mbehera@qumu.com
de4031edd500d91f3c5f79daceda0b6ddd0c105d
53faa0ef3496997412eb5e697bc85eb09a28f8c9
/pipeline/0x02-databases/34-log_stats.py
cd026394d8134a1af7cdf365a1a6c146de8897f9
[]
no_license
oran2527/holbertonschool-machine_learning
aaec2ffe762b959573f98a5f4e002272a5d643a3
8761eb876046ad3c0c3f85d98dbdca4007d93cd1
refs/heads/master
2023-08-14T00:37:31.163130
2021-09-20T13:34:33
2021-09-20T13:34:33
330,999,053
0
2
null
null
null
null
UTF-8
Python
false
false
768
py
#!/usr/bin/env python3 """ stats about Nginx logs stored in MongoDB """ from pymongo import MongoClient if __name__ == "__main__": """ stats about Nginx logs stored in MongoDB """ client = MongoClient('mongodb://127.0.0.1:27017') collection_logs = client.logs.nginx num_docs = collection_logs.count_doc...
[ "orlago250183@gmail.com" ]
orlago250183@gmail.com
cbe4d8dfdab89e21fe288bd6986ab78a30943da9
a1807bf5ca332fecc7e775c9bde25eeed318db9d
/disclosure_backend/tests/test_docgen.py
63a82b798a7aed4f2eaba4f1d41ba995ffbe972e
[]
no_license
MrMaksimize/disclosure-backend
2c6a8936c08cd4c3ff328ee114a8050e410989cf
6d97305b4656bd630b9e12aef953daed51c84ed7
refs/heads/master
2020-12-26T00:46:07.104157
2016-01-06T17:04:38
2016-01-06T17:04:38
49,169,984
0
0
null
2016-02-12T14:05:13
2016-01-07T00:19:30
Python
UTF-8
Python
false
false
479
py
import os from django.conf import settings from django.core.management import call_command from rest_framework.test import APITestCase class DocGenerationTest(APITestCase): def test_generate_docs(self): """ Test createcalaccessrawmodeldocs""" call_command('createcalaccessrawmodeldocs') # ...
[ "bcipolli@ucsd.edu" ]
bcipolli@ucsd.edu
a94dbdf4fc6e774943ac77d02fc7c1c4ab4a4eff
99767736ea5f34be4438ce689fc27454dffbf15c
/build/lib/sqlalchemy_nav/__init__.py
f5667ece8a87d320adf715b232e0f99d96ab7b47
[ "MIT" ]
permissive
dsbowen/sqlalchemy-nav
4600ff85c99878d98167fee000d5b9cd6a0a90bc
d60b28fe74cdde65de68a140d0c2845d92fb9b0f
refs/heads/master
2020-08-02T09:35:27.233849
2020-06-10T16:50:22
2020-06-10T16:50:22
211,304,650
1
0
null
null
null
null
UTF-8
Python
false
false
609
py
"""Mixins for SQLAlchemy-Nav SQLAlchemy-Nav Mixins can be used to create dynamic navigation bar models compatible with Bootstrap 4. Navigation bars can contain navigation items, dropdown items, and custom html. All models store their HTML in a `MutableSoup` attribute, `body`. This is essentially a `BeautifulSoup` ...
[ "dsbowen@wharton.upenn.edu" ]
dsbowen@wharton.upenn.edu
4239b59efd8be01546de57fd9436920f76c9aaf9
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_089/ch14_2020_03_09_13_31_11_006129.py
151ce51fd678c102515933e6bb62da962336d66d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
def calcula_distancia_do_projetil(v,t,h): D= (v**2/2*9.8)*(1+(1+(2*9.8*h)/v**2*(math.sin(t))**2))*math.sin(2*t) return D
[ "you@example.com" ]
you@example.com
a3bd9f7287b261d6b7e3c747f1d10e15bca2a1c1
2855f26e603ec7bf5b18876b54b75ee4577bdf2c
/witdraw/forms.py
65f12090c349714d0754149c7cec48b2f49658bc
[]
no_license
zkenstein/ppob_multipay_v2
e8ea789c395c6fa5b83ba56fbaf5ea08a2a77a14
85296f925acf3e94cc371637805d454581391f6e
refs/heads/master
2022-03-04T13:53:30.893380
2019-11-16T22:49:50
2019-11-16T22:49:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
from django import forms from django.contrib.auth.models import User from .models import Witdraw MIN_COMMISION = 10000 class WitdrawForm(forms.ModelForm): class Meta: model = Witdraw fields = [ 'create_by', 'amount' ] def __init__(self, *args, **kwargs): super(Witd...
[ "anderi.setiawan@gmail.com" ]
anderi.setiawan@gmail.com
d4e3751b2d4796c72be497007fe4c7d8ca67e18e
6db97ab761d59452c05611354637dfb2ce693c96
/src/compas_fab/geometry/frame.py
60723945ebff9a82556936c9e69f14253f61e9df
[ "MIT" ]
permissive
Mahdi-Soheyli/compas_fab
e885efbdd5531ae5f245bf02b2f1acce0a308680
0e7d426903a5d9a1bca947cd7a1251031c4c71b4
refs/heads/master
2020-05-02T16:53:13.265526
2019-03-20T13:37:37
2019-03-20T13:37:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
34
py
from compas.geometry import Frame
[ "casas@arch.ethz.ch" ]
casas@arch.ethz.ch
ac33c346ad83106d32dfc516843c5835c52734e9
3ed70536d4d06b2ac43b64976ddc43a5d7025b31
/uri1091.py
4cb102241664ec3f00f7c77717e8df84b2c4c8f9
[]
no_license
LuisHenrique01/Questoes_URI
7f1d397e3cd055349939184603eb86cb4bf43d65
35c8e77eb7cd9da96df4268b5d71f3ad87446c89
refs/heads/master
2020-07-22T08:12:12.700484
2020-04-12T17:39:29
2020-04-12T17:39:29
207,126,339
3
0
null
null
null
null
UTF-8
Python
false
false
648
py
def main(): while True: rep = int(input()) if rep == 0: break div_x, div_y = list(map(int, input().split())) for _ in range(rep): ponto_x, ponto_y = list(map(int, input().split())) if ponto_x == div_x or ponto_y == div_y: print('divisa') ...
[ "luizbueno1201@gmail.com" ]
luizbueno1201@gmail.com
bbb33c2583e79f2ebfcf80477d93aa479721526b
648f742d6db2ea4e97b83c99b6fc49abd59e9667
/common/vault/oas/models/contracts_smart_contract.py
d5d7062b8e4de5bd91efe115deb981877b802760
[]
no_license
jmiller-tm/replit
c56ce63718f6eb2d9b53bd09d3f7b3ef3496cb86
c8e6af3268c4ef8da66516154850919ea79055dc
refs/heads/main
2023-08-30T00:49:35.738089
2021-11-16T23:09:08
2021-11-16T23:09:08
428,809,777
0
0
null
null
null
null
UTF-8
Python
false
false
5,856
py
# coding: utf-8 """ vault/kernel/core_api/proto/v1/accounts/core_api_account_schedule_tags.proto No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: version not set Generated by: https://github.com/swagger-api/...
[ "jmiller@jmiller-tm00769-mbp.nomad.thomac.net" ]
jmiller@jmiller-tm00769-mbp.nomad.thomac.net
0db6856e41bbe6b3773d8320f95dd2e5edbcc1d6
451f158c20fd425bc9d14c8e27e1a8f415423276
/novels_search/config/config.py
d38b0dcf8002cdb6327e83d0f826c02ffffffbc9
[ "Apache-2.0" ]
permissive
TimeCharmer/novels-search
3767a77c237426a66f25287abae3c0a44528cf52
ab8152ff12d828dba0a8b52aa9c08675b21a1c5f
refs/heads/master
2021-01-19T14:21:28.438011
2017-04-12T09:37:48
2017-04-12T09:37:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
#!/usr/bin/env python import logging from aiocache import RedisCache # Search engine URL_PHONE = 'https://m.baidu.com/s' URL_PC = 'http://www.baidu.com/s' BAIDU_RN = 15 SO_URL = "https://www.so.com/s" USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883...
[ "xiaozizayang@gmail.com" ]
xiaozizayang@gmail.com
a71c39e3394fc5cc6525d2128a4f4548fe0a677b
042bd40e554ac7fcd618c334ae98b4f43248a250
/interfaces/python/lib/ocean_dummy.py
41ebdac07d314bb378d87fb2fc951791b1c79acd
[ "Apache-2.0" ]
permissive
kant/ocean-tensor-package
8a62df968335de2057ff095f0910e5ad5fcff8e1
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
refs/heads/master
2020-03-29T04:01:22.064480
2018-09-19T19:17:19
2018-09-19T19:17:19
149,511,923
0
0
Apache-2.0
2018-09-19T21:03:14
2018-09-19T21:03:14
null
UTF-8
Python
false
false
925
py
# ------------------------------------------------------------------------- # Copyright 2018, IBM Corp. # # 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/L...
[ "evandenberg@us.ibm.com" ]
evandenberg@us.ibm.com
8817c54b5350de86ca658ecf083530659a7b4852
ba0e07b34def26c37ee22b9dac1714867f001fa5
/unreleased/azure-mgmt-eventhub/azure/mgmt/eventhub/models/consumer_group_create_or_update_parameters.py
22ea6ee0888f32dfc1f858599060ca80abe0a49a
[ "MIT" ]
permissive
CharaD7/azure-sdk-for-python
b11a08ac7d24a22a808a18203072b4c7bd264dfa
9fdf0aac0cec8a15a5bb2a0ea27dd331dbfa2f5c
refs/heads/master
2023-05-12T12:34:26.172873
2016-10-26T21:35:20
2016-10-26T21:35:20
72,448,760
1
0
MIT
2023-05-04T17:15:01
2016-10-31T15:14:09
Python
UTF-8
Python
false
false
2,128
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
0db5b3deb80041a74fe00a76329d36249f0746ad
42dd79c614b775e6e8e782ea7ab332aef44251b9
/extra_apps/xadmin/views/website.py
02012eff0b7d66b2d7a36ed53d7a74ac75de61ae
[]
no_license
Annihilater/imooc
114575638f251a0050a0240d5a25fc69ef07d9ea
547046cff32ce413b0a4e21714cb9ab9ce19bc49
refs/heads/master
2020-05-03T09:06:18.247371
2019-12-04T09:24:55
2019-12-04T09:24:55
178,545,115
0
0
null
null
null
null
UTF-8
Python
false
false
2,949
py
from __future__ import absolute_import from django.utils.translation import ugettext as _ from django.contrib.auth import REDIRECT_FIELD_NAME from django.views.decorators.cache import never_cache from django.contrib.auth.views import LoginView as login from django.contrib.auth.views import LogoutView as logout from dja...
[ "yanmiexingkong@gmail.com" ]
yanmiexingkong@gmail.com
592f65c3845cec1b556e21772988fe41c2d61145
aca2258cf58e0d2c7e4939e73bcb82b6c135282c
/libs/Mailman/mailman/commands/tests/test_membership.py
6cf4802c6c8546a83b4d135e007b28482e0492be
[]
no_license
masomel/py-import-analysis
cfe6749a1d7430b179559b9e0911b8c8df507be7
7edf8148e34b9f73ca6433ceb43a1770f4fa32c1
refs/heads/master
2021-03-16T10:00:24.205301
2019-08-01T20:32:34
2019-08-01T20:32:34
112,668,748
1
0
null
null
null
null
UTF-8
Python
false
false
2,117
py
# Copyright (C) 2016-2017 by the Free Software Foundation, Inc. # # This file is part of GNU Mailman. # # GNU Mailman 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 you...
[ "msmelara@gmail.com" ]
msmelara@gmail.com
4b0e7d05d72b190fc3957af9c61e79e11a21b644
abccdbf9b0849b47960c3c352870793405debfed
/0x07-python-test_driven_development/4-print_square.py
fab6205b3d5afa34eec331a57f3ea50045fc96f1
[]
no_license
hunterxx0/holbertonschool-higher_level_programming
88b1b0f31b536c6940f2e64a6924a06ba9cbf193
44064cf0722cd20d93f58b64ab185d2898770d73
refs/heads/master
2022-12-20T12:14:15.877147
2020-09-24T21:25:54
2020-09-24T21:25:54
259,276,369
0
1
null
null
null
null
UTF-8
Python
false
false
451
py
#!/usr/bin/python3 """ a square printing function: print_square():: >>> def print_square(1): # """ def print_square(size): """ Prints a square of size 'size' """ if type(size) is not int: raise TypeError('size must be an integer') elif size < 0: raise ValueError('size must be >= 0'...
[ "azouzimhamed@gmail.com" ]
azouzimhamed@gmail.com
a8c4360159626be4980ee48d7a6491db264ceafc
162e2588156cb2c0039c926c5c442363d9f77b00
/tests/integration_tests/data_steward/analytics/cdr_ops/report_runner_test.py
c00229bcb0b01b9d9828c4aa35f5c20ef5eb9760
[ "MIT" ]
permissive
nishanthpp93/curation
38be687240b52decc25ffb7b655f25e9faa40e47
ac9f38b2f4580ae806121dd929293159132c7d2a
refs/heads/develop
2022-08-08T20:33:53.125216
2021-12-03T21:38:48
2021-12-03T21:38:48
155,608,471
1
0
MIT
2020-10-09T01:14:39
2018-10-31T18:54:34
Python
UTF-8
Python
false
false
3,081
py
import os import unittest from tempfile import NamedTemporaryFile from pathlib import PurePath from bs4 import BeautifulSoup as bs from analytics.cdr_ops.report_runner import IPYNB_SUFFIX, HTML_SUFFIX, main TEST_NOTEBOOK = """ # --- # jupyter: # jupytext: # text_representation: # extension: .py # fo...
[ "noreply@github.com" ]
nishanthpp93.noreply@github.com
a4ca9efbd49fe56401b0c9f2e47ed03de5d2e30e
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-3865.py
b81595c3efd5b844c317e6d5fbd8ebfbb6201a00
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,291
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
5846bc204c7e1842e8b5ea77991c70bcba7181e3
8e24e8bba2dd476f9fe612226d24891ef81429b7
/geeksforgeeks/python/python_all/52_14.py
ac7dd979fdab752a1073fb88aae9f43db82f325a
[]
no_license
qmnguyenw/python_py4e
fb56c6dc91c49149031a11ca52c9037dc80d5dcf
84f37412bd43a3b357a17df9ff8811eba16bba6e
refs/heads/master
2023-06-01T07:58:13.996965
2021-06-15T08:39:26
2021-06-15T08:39:26
349,059,725
1
1
null
null
null
null
UTF-8
Python
false
false
3,219
py
Python – Test for Even values dictionary values lists Given a dictionary with lists as values, map Boolean values depending upon all values in List are Even or not. > **Input** : {“Gfg” : [6, 8, 10], “is” : [8, 10, 12, 16], “Best” : [10, 16, > 14, 6]} > **Output** : {‘Gfg’: True, ‘is’: True, ‘Best’: Tr...
[ "qmnguyenw@gmail.com" ]
qmnguyenw@gmail.com
8eef75cab1181157c9944e567533b91f03ae8168
7f0c02b3eef636cc382484dd8015207c35cc83a8
/lib/python/treadmill/runtime/linux/image/_docker.py
fa24bbf1455842f1673f31d8a4867769d207bc30
[ "Apache-2.0" ]
permissive
ceache/treadmill
4efa69482dafb990978bfdcb54b24c16ca5d1147
26a1f667fe272ff1762a558acfd66963494020ca
refs/heads/master
2021-01-12T12:44:13.474640
2019-08-20T23:22:37
2019-08-20T23:22:37
151,146,942
0
0
Apache-2.0
2018-10-01T19:31:51
2018-10-01T19:31:51
null
UTF-8
Python
false
false
4,405
py
"""Docker funtion in linux runtime """ import grp # pylint: disable=import-error import io import logging import os from treadmill import exc from treadmill import fs from treadmill import subproc from treadmill import supervisor from treadmill import utils from treadmill import dockerutils from treadmill.appcfg im...
[ "ceache@users.noreply.github.com" ]
ceache@users.noreply.github.com
34698f6c132ed077c67d3a15f869d8d78bcefe61
3e3863e9eced23d646cd039a395b08ed6d1f3929
/training/medium/robbery-optimisation.py
ca3d8f40995da67cf5301d321958008d3857282b
[]
no_license
Coni63/CG_repo
dd608bdbd2560598a72339d150ec003e6b688cac
d30e01dfe2a12e26c85799c82cf38e606ffdbc16
refs/heads/master
2020-06-25T04:03:54.260340
2019-10-20T16:16:40
2019-10-20T16:16:40
199,195,242
4
0
null
null
null
null
UTF-8
Python
false
false
492
py
import sys import math # Auto-generated code below aims at helping you parse # the standard input according to the problem statement. n = int(input()) housevalue = [int(input()) for i in range(n)] n = len(housevalue) pn = housevalue[0] qn = 0 for i in range(1, n): pn1 = pn qn1 = q...
[ "=" ]
=
fc9f01887c4a6b276e93e9c6fd48ae39dd9e98b0
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R2/benchmark/startQiskit_Class66.py
de1dd2f58ce2a9d58b5a7c4f8933d6310d93f36a
[ "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
5,442
py
# qubit number=3 # total number=11 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collections import Counter from...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
463cdc82d5cd7cd1180bc5eaf2219bb87377ff45
c9ad6ad969de505b3c8471c6f46dfd782a0fb498
/0x07-python-test_driven_development/2-matrix_divided.py
e9a56cfcebadaa9b6d3ac60f351c118538368d68
[]
no_license
enterpreneur369/holbertonschool-higher_level_programming
002fd5a19b40c8b1db06b34c4344e307f24c17ac
dd7d3f14bf3bacb41e2116d732ced78998a4afcc
refs/heads/master
2022-06-20T00:57:27.736122
2020-05-06T14:26:10
2020-05-06T14:26:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,261
py
#!/usr/bin/python3 """ Module 2-matrix_mul Module that contains the function matrix_mul """ def matrix_mul(m_a, m_b): """ Returns a product matrix Arguments: m_a (list:int, list:float): First matrix m_b (list:int, list:float): Second matrix """ res = [] row_err = "Each row of the...
[ "jose.calderon@holbertonschool.com" ]
jose.calderon@holbertonschool.com
b150f199a4268e8ab72d5c9a9ce49b2d6abe73d4
698cb8d24879fe75669af6f2667c3f88660a0a1e
/deepModel/s11b_ALS_CONCAT.py
29627c713b760a2dcfce82233dba73e25b24c24f
[]
no_license
HuichuanLI/Recommand-Algorithme
c83c5d34d75eebd127e2aef7abc8b7152fc54f96
302e14a3f7e5d72ded73b72a538596b6dc1233ff
refs/heads/master
2023-05-11T03:01:30.940242
2023-04-30T08:03:19
2023-04-30T08:03:19
187,097,782
71
19
null
null
null
null
UTF-8
Python
false
false
4,293
py
import numpy as np from data_set import filepaths as fp from torch.utils.data import DataLoader from torch import nn import torch.nn.functional as F import torch from sklearn.metrics import precision_score, recall_score, accuracy_score from basic_sim import dataloader class ALS_MLP(nn.Module): def __in...
[ "lhc14124908@163.com" ]
lhc14124908@163.com
78b7438d65e518367530ce1ce4adeed283a97e9a
002ee33a04a6a74c10be79a2d667871de90fe728
/faq/views.py
4c8191dd9394c62569a71e75a3d988cd4a34e227
[]
no_license
Code-Institute-Submissions/final-milestone-eCommerce
dc5866c61acd31bbf59ed31168e3e8110262a737
d1547f90dc26ca20be299b98966865ef88df0027
refs/heads/master
2022-11-26T00:27:32.014852
2020-08-07T14:44:55
2020-08-07T14:44:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
from django.shortcuts import render from .models import FAQ def show_faqs(request): """Renders all of the current frequently asked questions to the faq.html page """ faqs = FAQ.objects.all() return render(request, 'faq/faq.html', {'faqs': faqs})
[ "adrian.havenga@yahoo.com" ]
adrian.havenga@yahoo.com
41ae5d87df532d2ee47b6a435c5e70a35ee8c637
f8295c4b18d76d2c4467de8351802c2c741f06d9
/example_project/example_project/urls.py
f8969c615b427f40f3029ac2d2ff64d5671751db
[]
no_license
stefanw/django-wikidata
993b95ea7060c22a1c7ba4cdb46f3fbeb9338aca
41b41650a1f5b893a7aa7855864a9a05e8e5d372
refs/heads/master
2020-04-24T20:25:31.897429
2019-02-24T09:38:52
2019-02-24T09:38:52
172,243,029
4
0
null
null
null
null
UTF-8
Python
false
false
757
py
"""example_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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') Cla...
[ "mail@stefanwehrmeyer.com" ]
mail@stefanwehrmeyer.com
0b026b7588cfd52cc92d6fd76b2985618ef2f533
60ca69e2a4c6b05e6df44007fd9e4a4ed4425f14
/beginner_contest/175/C.py
430190fbe6f342eff4aae54d28abe6bb704ad2fd
[ "MIT" ]
permissive
FGtatsuro/myatcoder
12a9daafc88efbb60fc0cd8840e594500fc3ee55
25a3123be6a6311e7d1c25394987de3e35575ff4
refs/heads/master
2021-06-13T15:24:07.906742
2021-05-16T11:47:09
2021-05-16T11:47:09
195,441,531
0
0
MIT
2021-05-16T11:47:10
2019-07-05T16:47:58
Python
UTF-8
Python
false
false
331
py
import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) x, k, d = map(int, input().split()) x = abs(x) if x - (k * d) >= 0: print(x - (k * d)) sys.exit(0) else: remain = k - (x // d) p_min = x % d n_min = abs(p_min -d) if remain % 2 == 0: print(p_min) else: pr...
[ "204491+FGtatsuro@users.noreply.github.com" ]
204491+FGtatsuro@users.noreply.github.com
84c2d1b9d4d9b14db0bd5e93aeac841a4e9ea9b0
ddd3b6663fbcc5b64fe9a96a3da87dd1460e1ab4
/src/routes/user.py
8908f3e57f79e7b83ad52961a8451953a51f62fe
[]
no_license
ranihorev/scihive-backend
3d72e35829d97368a331bc85c362c7af29b63eb9
d246a8ed07b0fd793a1a9c3497c976cbd4957b3d
refs/heads/master
2022-06-17T17:32:35.834425
2021-04-02T14:40:07
2021-04-02T14:40:07
184,781,038
13
4
null
2022-05-25T03:51:56
2019-05-03T15:41:16
Python
UTF-8
Python
false
false
5,862
py
import os from flask import Blueprint, jsonify import logging from flask_jwt_extended.view_decorators import jwt_optional from flask_restful import Api, Resource, abort, reqparse, marshal_with, fields from flask_jwt_extended import (create_access_token, jwt_required, jwt_refresh_token_required, ...
[ "ranihorev@gmail.com" ]
ranihorev@gmail.com
73797439d36e04dea271e61b61aa8620a1227750
f3b233e5053e28fa95c549017bd75a30456eb50c
/CDK2_input/L26/26-1S_wat_20Abox/set_1.py
36b3bd309b7e3c60deb656a873098ec88d7a6bb5
[]
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
737
py
import os dir = '/mnt/scratch/songlin3/run/CDK2/L26/wat_20Abox/ti_one-step/26_1S/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_1.in' temp_pbs = filesdir + 'temp_1.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lambd...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
5af6b7fe044a6e854da42d9b35f8adab2005fab2
8e138461e9ed8e36245965e215685ce978742535
/qiskit/transpiler/passes/utils/gate_direction.py
90e66821a268e9c5a5fce4ec630584ef532d26a3
[ "Apache-2.0" ]
permissive
faraimazh/qiskit-terra
15d8c378114ee109f7b757a7d3795b4c9079c0a8
11c2e3ed89452cb6487db784c17c68a8a6284a57
refs/heads/master
2023-03-16T11:31:27.071954
2022-09-27T00:33:02
2022-09-27T00:33:02
220,650,207
0
0
Apache-2.0
2023-03-06T18:13:26
2019-11-09T13:59:40
Python
UTF-8
Python
false
false
8,988
py
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
[ "noreply@github.com" ]
faraimazh.noreply@github.com
49b4e0b91d57155a69ce4080265a0ee06dd8bf3c
159d4ae61f4ca91d94e29e769697ff46d11ae4a4
/venv/lib/python3.9/site-packages/webdriver_manager/archive.py
f827dc3151deda496a84de6fc9aa5809d377ab0e
[ "MIT" ]
permissive
davidycliao/bisCrawler
729db002afe10ae405306b9eed45b782e68eace8
f42281f35b866b52e5860b6a062790ae8147a4a4
refs/heads/main
2023-05-24T00:41:50.224279
2023-01-22T23:17:51
2023-01-22T23:17:51
411,470,732
8
0
MIT
2023-02-09T16:28:24
2021-09-28T23:48:13
Python
UTF-8
Python
false
false
1,045
py
import tarfile import zipfile class Archive(object): def __init__(self, path: str): self.file_path = path def unpack(self, directory): if self.file_path.endswith(".zip"): return self.__extract_zip(directory) elif self.file_path.endswith(".tar.gz"): return self...
[ "davidycliao@gmail.com" ]
davidycliao@gmail.com
3fc799fe13345e1eae8b48fa05b126090829b332
5a96112e11834d400a59b76caee33fd63831e273
/python3_API_framework_V2/TestCases/test_api_v2.py
60c0bfcfe591a2359e2ea5d8e3fd20024415a63f
[]
no_license
zhaozongzhao/interface_test
d3f93c8220cb5fab5f063ce7e315e54b2f623ce6
f63f7e188639b34a8b80c9ce57591d9cabe3f4f8
refs/heads/master
2020-05-02T03:21:51.633352
2019-04-10T15:32:12
2019-04-10T15:32:12
177,726,854
0
0
null
null
null
null
UTF-8
Python
false
false
3,456
py
import unittest from Common.DoExcel import DoExcel import os from Common import myRequest import ddt from Common import dir_config from Common import myLogger2 import logging import re #实例 化日志对象 #logger = MyLogger() # 获取所有的测试数据 excelfile = dir_config.testcase_dir + "/api_info_1.xlsx" de = DoExcel(excelfi...
[ "2206321864@qq.com" ]
2206321864@qq.com
4b9394fcf22a80069c7b0fa99773765f13fc7a07
7d2f933ed3c54e128ecaec3a771817c4260a8458
/venv/Lib/site-packages/mpl_toolkits/mplot3d/art3d.py
2d28a808af66a5141266c6950f5966ee40a2a899
[]
no_license
danielmoreira12/BAProject
c61dfb1d0521eb5a28eef9531a00e744bfb0e26a
859f588305d826a35cc8f7d64c432f54a0a2e031
refs/heads/master
2021-01-02T07:17:39.267278
2020-02-25T22:27:43
2020-02-25T22:27:43
239,541,177
0
0
null
null
null
null
UTF-8
Python
false
false
27,020
py
# art3d.py, original mplot3d version by John Porter # Parts rewritten by Reinier Heeres <reinier@heeres.eu> # Minor additions by Ben Axelrod <baxelrod@coroware.com> """ Module containing 3D artist code and functions to convert 2D artists into 3D versions which can be added to an Axes3D. """ import math import numpy a...
[ "danielmoreira12@github.com" ]
danielmoreira12@github.com
d3929dc97598aab6a7af1debfbe632157c441bb5
0b01cb61a4ae4ae236a354cbfa23064e9057e434
/alipay/aop/api/request/AlipayOpenMiniVersionListQueryRequest.py
ad88c60fc343c2034182b816202dcf7724a44190
[ "Apache-2.0" ]
permissive
hipacloud/alipay-sdk-python-all
e4aec2869bf1ea6f7c6fb97ac7cc724be44ecd13
bdbffbc6d5c7a0a3dd9db69c99443f98aecf907d
refs/heads/master
2022-11-14T11:12:24.441822
2020-07-14T03:12:15
2020-07-14T03:12:15
277,970,730
0
0
Apache-2.0
2020-07-08T02:33:15
2020-07-08T02:33:14
null
UTF-8
Python
false
false
3,184
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * class AlipayOpenMiniVersionListQueryRequest(object): def __init__(self, biz_model=None): self._biz_model = biz_model self._version = "1.0"...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
d9aecb93dc9206914cef8b2032e80586cb4021f3
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/eqptcapacity/l3totalusagecap1w.py
8a9e840a82e552ac433c1581e5975f775e7ff967
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
19,132
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
e1bbce8655b1596bb2a77c6db900e7a854d70cf5
2c16e24486ac92bbd37f5c6d0d00ec4ba4d48e56
/ex/ex1.py
0d5193b36e4107bb3f5edf45a87b64307424927a
[]
no_license
alagram/lpthw
386b6cf7534e2f7dba2e5832d6975107f27ceb9b
656e7526006de80354917da881cbcbb3dbe8523a
refs/heads/master
2021-01-10T20:55:35.461722
2014-09-16T18:33:50
2014-09-16T18:33:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
# print "Hello World!" # print "Hello Again" # print "I like tying this." # print "This is fun." # print "Yay! Printing." # print "I'd much rather you 'not'." # print 'I "said" do not tocuh this.' print "I am still printing..."
[ "albert.agram@gmail.com" ]
albert.agram@gmail.com
46efd06e7181e3095d182fdcacca6baea3973712
8d375652e44b67d73102fee7abc1abaab4cb4329
/mcompiler/kernel/makeref.py
9dfdeb93aea606402be14eef4fbc0d4790b57a87
[ "MIT" ]
permissive
paulscottrobson/old-m-versions
6d2061e36f2a5aaef388a4786406f876f0a06e0b
c2edb4200d32e066223ace4fd05837a485302645
refs/heads/master
2020-04-04T03:09:25.399283
2018-11-01T12:14:57
2018-11-01T12:14:57
155,709,691
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
# *********************************************************************************************** # *********************************************************************************************** # # Name : makeref.py # Purpose : make reference file. # Author : Paul Robson (paul@robsons.org.uk) # Created : 17th...
[ "paul@robsons.org.uk" ]
paul@robsons.org.uk
2a976186b04e2414a02608208b9b889bdc4db0de
1b8fba01309da37f8d0ff408765c1d545fc588d6
/tests/data/test_d2go_datasets.py
8f5c1514bfeff7ecb756ed09dba2c86dcd1c1ecd
[ "Apache-2.0" ]
permissive
supriyar/d2go
9bd54bcb2704c91d7bf0d5fceab2ac4f23d59346
9dc1600b05ecf60fab556599b4c0bc6c32837449
refs/heads/main
2023-08-11T16:19:50.578547
2021-10-01T17:43:32
2021-10-01T17:44:49
413,646,825
0
0
Apache-2.0
2021-10-05T02:20:59
2021-10-05T02:20:58
null
UTF-8
Python
false
false
10,262
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import copy import json import os import unittest import d2go.data.extended_coco as extended_coco from d2go.data.keypoint_metadata_registry import ( KEYPOINT_METADATA_REGISTRY, KeypointMetadata, get_keypoint_meta...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
0d2ea1c5f31a044d68ce7bb06f65aaa2ee8a1422
327981aeef801fec08305d70270deab6f08bc122
/13.tkinter与银行系统实战/thinker/18.Combobox下拉控件.py
0dc0692ce37fde2328c063bb484b27127a142176
[]
no_license
AWangHe/Python-basis
2872db82187b169226271c509778c0798b151f50
2e3e9eb6da268f765c7ba04f1aefc644d50c0a29
refs/heads/master
2020-03-20T12:15:44.491323
2018-06-15T08:24:19
2018-06-15T08:24:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
# -*- coding: utf-8 -*- import tkinter from tkinter import ttk #创建主窗口 win = tkinter.Tk() #设置标题 win.title("魔兽世界") #设置大小和位置 大小400x400 距离左侧400,距离上侧100 win.geometry("400x400+400+100") #绑定变量 cv = tkinter.StringVar() com = ttk.Combobox(win, textvariable = cv) com.pack() #设置下拉数据 com["value"] = ("济南", "青岛", "济宁") #设置默认值 ...
[ "huanji2209747841@foxmail.com" ]
huanji2209747841@foxmail.com
c6e6e1ef088631e80462884b26b6f3bdfea593fb
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res/scripts/client/messenger/proto/bw_chat2/find_criteria.py
ea24304c044114f780246fdbce4279659cbd77a3
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,701
py
# 2016.02.14 12:42:53 Střední Evropa (běžný čas) # Embedded file name: scripts/client/messenger/proto/bw_chat2/find_criteria.py from constants import PREBATTLE_TYPE from messenger.ext import channel_num_gen from messenger.m_constants import BATTLE_CHANNEL, PROTO_TYPE from messenger.proto.interfaces import IEntityFindCr...
[ "info@webium.sk" ]
info@webium.sk
8edf548db029dd530fa8bddd6f142a6ecd491f48
3dfb4ee39555b30e6e0c6fcdbef371864e69f694
/google-cloud-sdk/lib/googlecloudsdk/api_lib/dns/transaction_util.py
e0444226d947ade648184a8d0f468d647f579eed
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
MD-Anderson-Bioinformatics/NG-CHM_Galaxy
41d1566d5e60416e13e023182ca4351304381a51
dcf4886d4ec06b13282143ef795c5f0ff20ffee3
refs/heads/master
2021-06-02T21:04:12.194964
2021-04-29T14:45:32
2021-04-29T14:45:32
130,249,632
0
1
null
2020-07-24T18:35:21
2018-04-19T17:25:33
Python
UTF-8
Python
false
false
5,070
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 ag...
[ "rbrown@insilico.us.com" ]
rbrown@insilico.us.com
58a5ffe0456fe028034da211b3db8c3daf7f4530
7642f70954b73aca0d56f03b3e3577ee5648c752
/ppm/settings.py
5bfa923c2b43f7b3d5b3ae1d8a2264a866af4505
[]
no_license
alviandk/ppm
8e5dfb2ca9a98b460c9b0a71be68b5310ed56d87
eea4d37904f86b4ec9cded6091b89d18244b85a9
refs/heads/master
2021-01-10T21:05:22.931101
2014-11-13T09:24:36
2014-11-13T09:24:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,100
py
""" Django settings for ppm project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) import...
[ "alviandk@gmail.com" ]
alviandk@gmail.com