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
909213a9973c1d8f3eb65713c5dceb7f61293c51
c0d9fd9aaf65fff29aaf867ba3a1cd55d35788d1
/thumb/fields/video_thumbnail_field/widget.py
c40f72151968efe5907694cc1805813b1135176a
[ "BSD-2-Clause" ]
permissive
AmrAnwar/django-thumb
bb76e5511edca3ae331e00767e5c302ce4f54bfe
ec22446cd1e1721a02dd3d101c3697cf0f309ded
refs/heads/master
2022-11-29T01:47:38.944343
2022-09-21T08:15:25
2022-09-21T08:15:25
138,357,544
12
0
BSD-2-Clause
2022-11-22T07:53:26
2018-06-22T23:53:27
Python
UTF-8
Python
false
false
2,366
py
from django import forms from ..colored_text_field import ColoredTextInput from ..cascade_data import CASCADE_DATA from ..image_thumnail_field import ImageThumbnailInput CASCADE_CHOICES = list( [("", "select a cascade case")] + [(str(cascade_index), cascade[0]) for cascade_index, cascade in enumerate(CAS...
[ "amranwar945@gmail.com" ]
amranwar945@gmail.com
0c748b030025fe67ebf6fdf3a85cd7acb380914e
5b4686ace41ebfcb2c694283b232761010cf31d7
/commands/deviot_choose_display_mode.py
ddd22cf4e81514b3e01948d627fc7200308de35c
[ "Apache-2.0" ]
permissive
gepd/Deviot
bbf4d40fbecb8187255a4ab0f3e4dae7e5a7d985
150caea06108369b30210eb287a580fcff4904af
refs/heads/develop
2023-08-18T04:13:56.932126
2020-07-13T18:02:23
2020-07-13T18:02:23
47,856,861
335
91
Apache-2.0
2023-01-28T02:53:49
2015-12-11T23:56:06
Python
UTF-8
Python
false
false
507
py
from sublime_plugin import WindowCommand from ..libraries.quick_menu import QuickMenu class DeviotChooseDisplayModeCommand(WindowCommand): """ Stores the display mode option selected for the user and save it in the preferences file. Extends: sublime_plugin.WindowCommand """ def run(self): ...
[ "guillermoepd@hotmail.com" ]
guillermoepd@hotmail.com
58be6c6b116aee998632f1b2feeee7dc7e4292cd
b5ed599b776c4c34e9bd985cf72834bbbcad25ac
/Chapter4/SumOfListRecursion.py
c0237838fc67cb2bd89ec780252282a1fc650504
[]
no_license
Kaushiksekar/DSAlgInteractivePython
170c57db14583e1d4923fb6aefce84ec1fdd6772
3560e5a8e564900c9d499504fa26d49dcdcb0784
refs/heads/master
2021-04-12T11:15:54.976931
2018-04-14T17:13:57
2018-04-14T17:13:57
126,722,924
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
def listSum(list1): if len(list1) == 1: return list1[0] else: return list1[0] + listSum(list1[1:]) print(listSum([1,2,3,4,5]))
[ "kaushik3993@gmail.com" ]
kaushik3993@gmail.com
197a1d020d2cfe8dee692e976248b2ff20515a16
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-1444.py
6d499c33b829c13b81501da777f3e18e64053658
[]
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,289
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
393f1e1d4e2b22dc0dce8214a1c28bc18b874f4d
14381f1c66a4027e1612a069d71e3080234fecfc
/weatherman.py
0a1f947db1a8bf72c628d98b8a09efd481bd3f99
[ "MIT" ]
permissive
yuto-moriizumi/Python
1c55153781208f632ebb578d89252614724845d4
2de2903179f187c3c7105e8cf2f9600dded21f25
refs/heads/master
2023-03-24T06:19:02.842821
2021-03-23T08:28:41
2021-03-23T08:28:41
277,742,594
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
from report import get_description as unchi description = unchi() print("Today's weather:", description)
[ "kurvan1112@gmail.com" ]
kurvan1112@gmail.com
df48b74261ed6f6a18fe11a74ca7116ad6b128c3
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_watchers_operations.py
ea0669c30cad73a8bbf74e5dd20d144d6c68177b
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
105,706
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 may ...
[ "noreply@github.com" ]
manoj0806.noreply@github.com
288d0ca5ced91219b4a197f51bfe93758c253b86
3f927f5254e58ecea3c9d9d0f4daffc85156d6f1
/crm/views.py
b30e3439e0c1bff50c9f3b05df31c502dc856da0
[]
no_license
deepdik/toorishshop
38e72e95c1c9e3e02ec2910b3a1def73893d6bc4
438b613f1bfcc83b849811f48c65357ea422cf57
refs/heads/master
2022-12-12T05:12:10.609165
2019-01-06T17:59:27
2019-01-06T17:59:27
164,330,295
1
0
null
2022-12-08T01:20:43
2019-01-06T17:37:14
Python
UTF-8
Python
false
false
64,401
py
from __future__ import print_function from django.shortcuts import render from django.views.generic import TemplateView from django.http import HttpResponseRedirect from django.shortcuts import render from googleapiclient.discovery import build from httplib2 import Http from oauth2client import file, client...
[ "dk5f95@gmail.com" ]
dk5f95@gmail.com
c7e18e72d352a0e8e4db91ed53dbd9f44471b7ba
fb5dd7410679bd28299cfe3841de6fe826d978cb
/src/core/migrations/0005_auto_20201207_1836.py
64b6f100ce9b6c92c5e82a0f07135be96127816d
[]
no_license
IvanYukish/finance-manager
35202fde63a7f519b52d8e09f3f64dd547cccbc5
9147d09cff7543361f5ccefa79ec334a58efc9a1
refs/heads/master
2023-07-11T14:39:17.536557
2021-08-04T23:05:45
2021-08-04T23:05:45
317,544,811
1
0
null
2021-08-23T17:18:10
2020-12-01T13:09:50
CSS
UTF-8
Python
false
false
428
py
# Generated by Django 3.1.3 on 2020-12-07 18:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0004_auto_20201207_1825'), ] operations = [ migrations.AlterField( model_name='debts', name='description', ...
[ "iwan.jukisch@gmail.com" ]
iwan.jukisch@gmail.com
8eff9c7439dde637d31627de4f899aa0551c24f1
a97f789530412fc1cb83170a11811f294b139ee8
/疯狂Python讲义/codes/19/19.2/barh_test.py
6d599b9a156299c3f8e0b59efbad2a80af7a7fb8
[]
no_license
baidongbin/python
3cebf2cc342a15b38bf20c23f941e6887dac187a
1c1398bff1f1820afdd8ddfa0c95ccebb4ee836f
refs/heads/master
2021-07-21T19:23:32.860444
2020-03-07T11:55:30
2020-03-07T11:55:30
195,909,272
0
1
null
2020-07-21T00:51:24
2019-07-09T01:24:31
Python
UTF-8
Python
false
false
1,476
py
import matplotlib.pyplot as plt import numpy as np # 用来正常显示中文标签 plt.rcParams['font.sans-serif'] = ['SimHei'] # 用来正常显示负号 plt.rcParams['axes.unicode_minus'] = False # 构建数据 x_data = ['2011', '2012', '2013', '2014', '2015', '2016', '2017'] y_data = [58000, 60200, 63000, 71000, 84000, 90500, 107000] y_data2 = [52000, 54200...
[ "baidongbin@thunisoft.com" ]
baidongbin@thunisoft.com
d2a5a496985f700bb4960a47b15877953707e73d
98d832289b7437247ce03ea54ad3cb7b95451159
/test/test_created_reference_scan_id_link.py
94b61d6a427e85f2c8130ff8f6f93a0e64dac28b
[ "MIT" ]
permissive
rmehilli-r7/vm-console-client-python
7f02f13345dce4f4d4d85e18da7146daeefbceb9
069041c1c7b53c6b3d8bfdd81b974141bfca3c0c
refs/heads/master
2020-03-23T11:20:33.364442
2018-08-10T20:06:37
2018-08-10T20:06:37
141,498,444
0
0
MIT
2018-08-08T19:58:45
2018-07-18T23:00:41
Python
UTF-8
Python
false
false
48,984
py
# coding: utf-8 """ InsightVM API # Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ...
[ "zachary_youtz@rapid7.com" ]
zachary_youtz@rapid7.com
66211a39680ce1fb98ce072f4bcc2daf88b80087
51d8f003828d6ee6e6611f0e133b1e35cf400601
/ipaxi/ixbr_api/core/utils/makefake.py
6ef19665cfffdc430c7a59c022a27ffed711a7d1
[ "Apache-2.0" ]
permissive
tatubola/xpto
23b5f7a42c13c7d39eb321e52b9b4b2d1ef76c4c
6ed8cec23b06bccb1edf57e6b67af017f9a162d3
refs/heads/master
2020-04-02T11:05:24.560009
2018-10-23T17:41:10
2018-10-23T17:41:10
154,370,519
0
0
null
null
null
null
UTF-8
Python
false
false
18,879
py
from ixbr_api.core.models import * from ixbr_api.core.tests.factories import * CONTACTSBYIX = 15 class MakeFakeData(object): def __new__(cls, *args, **kwargs): if not hasattr(cls, '_instance'): cls._instance = super(MakeFakeData, cls).__new__( cls, *args, **kwargs) re...
[ "dmoniz@nic.br" ]
dmoniz@nic.br
61d80d6085e27dca1345de8bbdbe220d09436811
aee21094d4280862cc1c5b4ec4eb2e61a2c45f3e
/source/sagemaker-python-sdk/tests/unit/test_tfs.py
5bcdbfba8b1eb33e6a80ee22a50a8b94e53ce529
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
ggiallo28/aws-deepracer-local
fc63aa6fffaf5ce537e42268a28ea88195fe5489
e1e069d8f63c877a723715758910d0039edd7ec2
refs/heads/master
2022-10-30T23:01:42.797873
2019-11-04T09:48:54
2019-11-04T09:48:54
219,015,159
3
2
MIT
2022-10-16T04:46:59
2019-11-01T15:44:35
Python
UTF-8
Python
false
false
10,100
py
# Copyright 2017-2018 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" fil...
[ "th3g91@gmail.com" ]
th3g91@gmail.com
abfa065e0669f0ebca97cd0fcf096a691985a579
96d22b720aa724341afc9ecb60951340f18afc11
/bench_run_times/compare_gelsy.py
54510a751a137ff97c3b2c9bd1d2ef97fc650932
[ "MIT" ]
permissive
cjekel/pwlf_scipy_tf_benchmarks
7d10ecd5437ab0a73ddf10cc307bb50950d47033
7fc3a92fc4bd58b53a9839fe139fe0c53528a894
refs/heads/master
2023-03-21T04:56:03.779462
2019-05-15T23:26:50
2019-05-15T23:26:50
180,461,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
import numpy as np import matplotlib.pyplot as plt # factor for 90% coverage with 90% confidence using Normal distribution # with 10 samples from table XII in [1] # [1] Montgomery, D. C., & Runger, G. C. (2014). Applied statistics and # probability for engineers. Sixth edition. John Wiley & Sons. k = 2.535 run_time...
[ "cjekel@gmail.com" ]
cjekel@gmail.com
d131c57a429d7bc9e3f7bcc03878e32f6db37d3b
32904d4841d104143ba0f41cc3aeb749e470f546
/backend/django/apps/memos/migrations/0007_memoattachment_memocomment.py
38b6513ecf0f5f3e2176e62cf023ff8cb3467139
[]
no_license
aurthurm/dispatrace-api-vuejs
20ec5deee015e69bce7a64dc2d89ccae8941b800
56d122318af27ff64755fc515345974631d3026f
refs/heads/master
2023-01-23T23:03:15.438339
2020-10-20T22:09:29
2020-10-20T22:09:29
219,028,985
0
1
null
2022-12-22T18:31:38
2019-11-01T17:08:35
Vue
UTF-8
Python
false
false
2,053
py
# Generated by Django 2.2.6 on 2019-10-25 17:52 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import mptt.fields class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(s...
[ "aurthurmusendame@gmail.com" ]
aurthurmusendame@gmail.com
7c75f12faf85cdd86400124d3913a6fab1f7255e
97f4a8bbd501e03cc0ff463b30cd031a905532fe
/custom_components/yandex_station/humidifier.py
1322fa524feba59f89e2e2ec8c55e654b39c8fbd
[]
no_license
AlexxIT/YandexStation
57ced1544745a71d11e12c74a04afdae657019ad
9966a647d9f1d385ac6f0365b5e0ed0b516686a6
refs/heads/master
2023-08-28T18:50:10.197891
2023-06-15T09:08:23
2023-06-15T09:08:23
236,572,107
1,018
134
null
2023-06-15T08:59:28
2020-01-27T19:15:27
Python
UTF-8
Python
false
false
6,036
py
"""Support for Yandex Smart Home humidifier.""" import logging from typing import Any import homeassistant.helpers.config_validation as cv import voluptuous as vol from homeassistant.components.climate.const import SUPPORT_TARGET_HUMIDITY from homeassistant.components.humidifier import HumidifierEntity from homeassist...
[ "alexey.khit@gmail.com" ]
alexey.khit@gmail.com
fec05f42f7b72c82ba38dc3428a5783483be17a6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03853/s779896391.py
6f97398bb0b315850d271c06415041efea07b88f
[]
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
87
py
a,b=map(int,input().split()) for i in range(a): S=input() print(S) print(S)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7721dbf166413b9eeee07f742fda689f3e4e3158
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201029154240.py
5d26c40dc248b24e75e50c0955ce1170f1062551
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
3,772
py
from django import forms from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock from wagtail.contrib.table_block.blocks import TableBlock #Walidacja problemu from django.core.exceptions import ValidationError from django.co class TitleBlock(blocks.StructBlock): text = blocks.CharBlock...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
d84fb94a99b36b6de87d7c2df65643fe96c30f94
f40ff2ac9d25137230c2a80f74be8fd013e73aca
/utopiantree.py
e8e5b7f386649bb4777219e312191f0aa444d743
[]
no_license
SurajPatil314/HackerRank-challenges
805020147e5227498b674b9da4c99a915627882d
921b1b1d7c0cd4beae54f8833063e16aa33883ea
refs/heads/master
2021-06-30T16:18:27.431389
2021-06-13T22:59:55
2021-06-13T22:59:55
239,815,221
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
''' https://www.hackerrank.com/challenges/utopian-tree/problem The Utopian Tree goes through 2 cycles of growth every year. Each spring, it doubles in height. Each summer, its height increases by 1 meter. Laura plants a Utopian Tree sapling with a height of 1 meter at the onset of spring. How tall will her tree be af...
[ "spatil2@umbc.edu" ]
spatil2@umbc.edu
51dc4dbd22833e715ae231caae8e175f4626a237
344e2956b4e2a30a8ef7532d951f96d995d1dd1e
/18_mmaction/lib/mmcv/mmcv/video/io.py
dfddcfd9d23b2760773cf6ca2fd2a352d4de62ee
[ "Apache-2.0", "LGPL-3.0-only", "MIT", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "GPL-3.0-only" ]
permissive
karndeepsingh/Monk_Object_Detection
e64199705326e4cd65e4b29946cae210a4ef9649
425fa50a3236cb9097389646275da06bf9185f6b
refs/heads/master
2022-12-22T18:26:53.933397
2020-09-28T12:49:50
2020-09-28T12:49:50
299,307,843
1
1
Apache-2.0
2020-09-28T12:52:18
2020-09-28T12:52:17
null
UTF-8
Python
false
false
10,321
py
# Copyright (c) Open-MMLab. All rights reserved. import os.path as osp from collections import OrderedDict import cv2 from cv2 import (CAP_PROP_FOURCC, CAP_PROP_FPS, CAP_PROP_FRAME_COUNT, CAP_PROP_FRAME_HEIGHT, CAP_PROP_FRAME_WIDTH, CAP_PROP_POS_FRAMES, VideoWriter_fourcc) from mmcv....
[ "abhishek4273@gmail.com" ]
abhishek4273@gmail.com
a226024dcb719920028ef52f87364fe61ccdb0d3
235fb362b5af1f7dbd90dc3819fe63f18e074e9d
/learn_django/test_Create/test_Create/wsgi.py
a0497b8ae5db66fb70718326dbcd16b5b0ed7552
[]
no_license
cener-1999/learn_about_python
74c9b8c6a546224261d5577183a946a78ca7e84f
86cfc0a5621f86fc8a1885a39847d40b33137c49
refs/heads/master
2023-04-30T06:38:34.459506
2021-05-18T14:20:29
2021-05-18T14:20:29
368,473,253
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for test_Create project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "1065802928@qq.com" ]
1065802928@qq.com
9cbc729eee969f3724cdb8e89268bcf22b9fc0eb
a25f7829512f09d9a25679b2ccbf0a4d970e8a44
/restiro/generators/__init__.py
90572410a7aa5439101b9ab74141c7cfb5cd6034
[ "MIT" ]
permissive
meyt/restiro
1adaa27e6818ed0de29529b4e76c3829e376e23c
016ffe386656eda9fea490f348e1d5408a1e9608
refs/heads/master
2022-01-17T01:11:51.943211
2019-07-24T06:43:35
2019-07-24T06:43:35
95,980,903
0
0
MIT
2019-04-22T07:28:56
2017-07-01T18:23:55
Python
UTF-8
Python
false
false
136
py
from .base import BaseGenerator from .markdown import MarkdownGenerator from .json import JSONGenerator from .mock import MockGenerator
[ "pasd3000@gmail.com" ]
pasd3000@gmail.com
19f664fb896775e20e494f366d1f1424d2c39aa1
52b5773617a1b972a905de4d692540d26ff74926
/.history/scale_20200709203334.py
f0e58bcaf9e76b14a3ab0ae93d883663fbab5442
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
def balancing(strArr): sides = strArr[0][1:-1].split(", ") left = int(sides[0]) right = int(sides[1]) # here we convert every element in the array to a int as we ignore the first bracket and last bracket # then here we split where there is a comma and space weights = [int(x) for x in strArr[...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
d966f966eff2bfe0046d1c8f0c333cd97e208c4b
4836c4349bd65944b48fef01e2d2b7149479573c
/bin/pip3.6
b991042ffd8e1d511edfe2717f2d425b404b7251
[]
no_license
ogol254/M1
c0b634e2a735002497bdf0114f656d3c12c65194
8761a4228ce91961922f0e722dba8191fce73a9b
refs/heads/master
2020-03-18T17:59:20.979639
2018-05-27T16:46:07
2018-05-27T16:46:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
384
6
#!/Users/Mcogol/venv/M1/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3.6' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( load...
[ "abramogol@gmail.com" ]
abramogol@gmail.com
08bedf82fa1c96657922a3c2500f8c8b9ef6083c
e9032e64138d7b9dd90a330dfe4588e2c83f6667
/google/cloud/compute_v1/services/firewall_policies/transports/base.py
44b407fc53b599b3a5953117712676512b70881f
[ "Apache-2.0" ]
permissive
Ctfbuster/python-compute
6cff2418969009794c3fadadc4c45e20d7b40509
7a9e8324e08c46a93050908760b2b5aca054a863
refs/heads/main
2023-08-26T12:37:52.363526
2021-10-04T15:34:37
2021-10-04T15:34:37
412,884,620
0
0
Apache-2.0
2021-10-02T18:49:05
2021-10-02T18:49:03
null
UTF-8
Python
false
false
13,664
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
Ctfbuster.noreply@github.com
fd48fb9af25fb41caa09a6fdceb03bf2615e8c43
0f1b67ee77adab881409b9bea17dfbc6f8c15c27
/backend/restless_sunset_27759/settings.py
12d0ff62cfdea9c0787f83e5a3e5afd6a3e75538
[]
no_license
crowdbotics-apps/restless-sunset-27759
e7d7279616d1528815c4e33ca55139f5ac5a150c
8ae02190c9fdb515ff75bd9e33523371d97bb3d8
refs/heads/master
2023-05-31T06:22:27.536695
2021-06-06T00:40:25
2021-06-06T00:40:25
374,238,654
0
0
null
null
null
null
UTF-8
Python
false
false
7,129
py
""" Django settings for restless_sunset_27759 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d010596cc59c1d09eea01fdb646b958bd1c2b051
c9fe05f893deff75232aabca4e877c144972249a
/arcpyenv/arcgispro-py3-clone/Lib/site-packages/osgeo/samples/tigerpoly.py
15a90c3c88116baf036cef900fe7a427f5323cb2
[ "Python-2.0" ]
permissive
SherbazHashmi/HackathonServer
4d1dc7f0122a701a0f3a17787d32efe83bc67601
a874fe7e5c95196e4de68db2da0e2a05eb70e5d8
refs/heads/master
2022-12-26T06:46:33.893749
2019-11-03T10:49:47
2019-11-03T10:49:47
218,912,149
3
3
null
2022-12-11T11:52:37
2019-11-01T04:16:38
Python
UTF-8
Python
false
false
7,060
py
#!/usr/bin/env python ############################################################################### # $Id$ # # Project: OGR Python samples # Purpose: Assemble TIGER Polygons. # Author: Frank Warmerdam, warmerdam@pobox.com # ############################################################################### # Copyrigh...
[ "sherbaz.hashmi@gmail.com" ]
sherbaz.hashmi@gmail.com
532b32bc9e36d22b7092537e44b75a301a3bc920
17df5351498798ad348ee1ea3a26835f6ef7de49
/linak_dpg_bt/synchronized.py
8d5623594ea79015df0e03b4386414fcf7a03cd6
[ "MIT" ]
permissive
anetczuk/linak_bt_desk
8e4c8f514d6671af18962b0e13ecda3210778421
7ac5fe1b69638976326842b27d76e52f0cc958fd
refs/heads/master
2023-05-28T04:52:09.859883
2023-05-12T19:58:12
2023-05-12T19:58:12
142,626,557
20
5
null
2018-07-27T21:52:13
2018-07-27T21:52:13
null
UTF-8
Python
false
false
2,547
py
''' Implementation of method '@synchronized' decorator. it reflects functionality of 'synchronized' keyword from Java language. It accepts one optional argument -- name of lock field declared within object. Usage examples: @synchronized def send_dpg_write_command(self, dpgCommandType, data): pass ...
[ "anetczuk@o2.pl" ]
anetczuk@o2.pl
f1a872bbd8dac19294b36e06e80294270286549d
c6e22a6901bc40ba92a0470c6323929368727bbb
/src/podcast/admin.py
c824c01263680eea3888bf711ff6318373ef4be6
[]
no_license
iamgaddiel/learners_coner
bdc47c7caac9898ca3a8836f1ad972afa9f88cf8
fb3ea68de8c02d1f1db6177b7c267a743a0b5a32
refs/heads/main
2023-08-04T06:12:08.728355
2021-09-13T04:24:42
2021-09-13T04:24:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from django.contrib import admin from .models import Podcast admin.site.register(Podcast)
[ "gaddiel@localhost.localdomain" ]
gaddiel@localhost.localdomain
4dde1224a57efff18e13fe73847ae88291ab6578
6ad700a44e2d99d5e66115f10d133451c0e860ee
/yyy.py
0dbff290fe1ee91807ec39a61e8807d0d131f900
[]
no_license
suganthicj/yyy
992388db4a5184ba4779a5e39e8a751ef75333c8
f036e67f1874edc76c4df400275a13737a4e6694
refs/heads/master
2020-06-21T02:05:39.750322
2019-07-17T05:07:44
2019-07-17T05:07:44
197,318,890
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
def isComposite(n): # Corner cases if (n <= 1): return False if (n <= 3): return False # This is checked so that we can skip # middle five numbers in below loop if (n % 2 == 0 or n % 3 == 0): return True i = 5 while(i * i <= n): i...
[ "noreply@github.com" ]
suganthicj.noreply@github.com
028ebf4e6b1845fbf22d97ccc8aada2ef4353edf
efb60258270c70d0b16581e8b6fe32001015b16b
/modules/services/dbservices/media/save_dir_audio_service.py
c7d5ffbcfc1efaa4699c5873b82a1c148fffe38e
[ "LicenseRef-scancode-public-domain" ]
permissive
signeus/API-Web
bd48177201007e2091828458da3572fde4f24755
b9fe99465a178666299a079f99a42dafc80c5bb7
refs/heads/master
2021-01-11T20:30:50.964928
2017-05-19T09:31:01
2017-05-19T09:31:01
79,131,449
1
1
null
2017-04-07T08:42:55
2017-01-16T15:25:05
Python
UTF-8
Python
false
false
493
py
# -*- coding: utf-8 -*- from services.interfaces.i_service import IService class SaveDirAudioService(IService): def __init__(self, core, parameters): super(SaveDirAudioService, self).__init__(core, parameters) def run(self): path = self.parameters.get("path", "unknown/") _id = self.par...
[ "kev.ms93@gmail.com" ]
kev.ms93@gmail.com
18ea2824a677d14685ff06a804a57f4f1f3a119c
9da47968b4a023c33119d040f4d12942047dccf7
/recipients/code/dashboard/dashboard/urls.py
42944346dd97d449ad24d0aec2979fe9c49c0230
[]
no_license
ajgara/whoscorecards
05597de11793de24fcc6109ab1a75ebc49757693
8554e154f666fa4af24bf0782e244c1f3c179dd0
refs/heads/master
2021-01-24T22:28:05.225717
2015-10-22T21:44:44
2015-10-22T21:44:44
25,478,944
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
from django.conf.urls import patterns, include, url from django.conf import settings from django.views.static import serve from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'dashboard.views.home', name='home'), url(r'^admin/', include(admin.site.url...
[ "adi@burgercom.co.za" ]
adi@burgercom.co.za
37493394aee839e6a7f89c89857ef7d0914c18b4
2f5a18e24e1e14c2e778aa0370b9aa2944323415
/abupy/UtilBu/ABuStatsUtil.py
a94d7d0c5cd4c6062ad613a05f5ae7686e6ad96f
[ "MIT" ]
permissive
luqin/firefly
b739ebd61d29f432d58f9fbe20f8886b4547c3e0
2e5ab17f2d20deb3c68c927f6208ea89db7c639d
refs/heads/master
2022-12-22T14:25:18.822625
2019-02-26T15:03:39
2019-02-26T15:03:39
165,602,881
1
0
MIT
2022-12-08T01:38:23
2019-01-14T05:51:34
Python
UTF-8
Python
false
false
30,628
py
# -*- encoding:utf-8 -*- """ 统计相关工具模块 """ from __future__ import absolute_import from __future__ import division from __future__ import print_function try: from collections import OrderedDict except ImportError: from ..ExtBu.odict import OrderedDict from collections import namedtuple, Iterable import log...
[ "bqw_5189@163.com" ]
bqw_5189@163.com
b6ed6298710eb2c6a421aa64540abdca56d7c85b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_galleons.py
8334bd189fb9d336e509df65b4441f348038d30e
[ "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
245
py
from xai.brain.wordbase.nouns._galleon import _GALLEON #calss header class _GALLEONS(_GALLEON, ): def __init__(self,): _GALLEON.__init__(self) self.name = "GALLEONS" self.specie = 'nouns' self.basic = "galleon" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
41415a7eec0ea40d6e56743ac77ede744174333b
8f5f0c3ef83fdd482387973149738f6178477a42
/medium/arithmetic/find_the_duplicate_number.py
a39dfb3b6a44397ae279a9a249f76971a33f567d
[]
no_license
nicokuzak/leetcode
79a5771ad83786cc7dbfd790f8fffcf1ce58794e
39b0235dc429a97a7cba0689d44641a6af6d7a32
refs/heads/main
2023-04-06T21:02:09.553185
2021-04-14T22:21:20
2021-04-14T22:21:20
336,847,511
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
"""Given an array of integers nums containing n + 1 integers where each integer is in the range [1, n] inclusive. There is only one repeated number in nums, return this repeated number. Example 1: Input: nums = [1,3,4,2,2] Output: 2 Example 2: Input: nums = [3,1,3,4,2] Output: 3 Example 3: Input: nums = [1,1] O...
[ "nicokuzak95@gmail.com" ]
nicokuzak95@gmail.com
0f9114ffc547c5c89058181b18e5f8eec218ea51
d99572b009c3c519cee6fcaf0ad3f9cd2d7a13ae
/deeplearn8.py
f460c0b3dcaedc855e2cbcd467b91ba9d08a8cc2
[]
no_license
bhatnagaranshika02/Deep-Learning
10a3f6794bf1265222c8b78555398aea7bbca34e
de851c909fb40f17d07999a65cc269d6b5ee6ff5
refs/heads/master
2023-01-27T20:09:37.500589
2020-12-04T23:43:00
2020-12-04T23:43:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
import numpy as np weights = np.array([1, 2]) input_data = np.array([3, 4]) target = 6 learning_rate = 0.01 preds = (weights*input_data).sum() error = preds - target slope = input_data * error * 2 print(slope)
[ "bhatnagaranshika02@gmail.com" ]
bhatnagaranshika02@gmail.com
2cb541b98ffac5f54ae764f99dae824b9c55bf17
d0c4e3b53310c291ff1faf391b7240cb41ae2a31
/tensorflow_probability/python/internal/auto_batching/xla.py
575aea285a952da733aaa5254fe4bd391738433e
[ "Apache-2.0" ]
permissive
harryprince/probability
0696c47d8f78a4343ebdf7a7a41280a08cec34ce
9439c3d04b4d5e60b8cf721cc5a1dbfac73605d2
refs/heads/master
2020-06-30T20:04:12.874945
2019-08-06T22:38:34
2019-08-06T22:39:36
200,938,780
0
1
Apache-2.0
2019-08-06T23:42:01
2019-08-06T23:42:01
null
UTF-8
Python
false
false
2,073
py
# Copyright 2018 The TensorFlow Probability 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 applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
7c8d823ff49cd459f646d18538c1285dd725138f
b41b996b4a14f11bb3d7676b4539725a93c2d586
/SourceCode/Codesignal-Selenium/SourceNew/Py3/squarePerimeter.py3
0c9af17adb32a6c0750f0dfc0c1849b97df3341d
[]
no_license
mquandvr/selenium
ee2c0e7febb15f4db4d33a8575726f67c48bde05
d7bb4c95d4d0756c66cbf3c69387318fc07219f2
refs/heads/master
2020-06-05T05:49:57.476867
2019-06-18T10:55:27
2019-06-18T10:55:27
192,335,493
0
0
null
null
null
null
UTF-8
Python
false
false
117
py3
int squarePerimeter(int n) { int result = 0; for (int i = 0; i < 4; i++) { result+=n; } return result; }
[ "11130052@st.hcmuaf.edu.vn" ]
11130052@st.hcmuaf.edu.vn
e8c0b63502c01b7f908df1fb3f7f68e3397ca2c2
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_reshuffles.py
d4d2867c23fe73fde20033cb9e9460d4dcd34b5c
[ "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
259
py
from xai.brain.wordbase.verbs._reshuffle import _RESHUFFLE #calss header class _RESHUFFLES(_RESHUFFLE, ): def __init__(self,): _RESHUFFLE.__init__(self) self.name = "RESHUFFLES" self.specie = 'verbs' self.basic = "reshuffle" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
fa4131b83b9bc2e159026691e37231865d73e8ba
5930f323d96e7ed45c01fef63b100e1ad220f764
/catalyst/contrib/dl/callbacks/cutmix_callback.py
642279ee763e5e3b56a96d047a01709ac4c464d5
[ "Apache-2.0" ]
permissive
saswat0/catalyst
8cb91c2392bccdbdd318544e6861e6fe6ac39b33
a35297ecab8d1a6c2f00b6435ea1d6d37ec9f441
refs/heads/master
2023-04-05T00:43:29.124864
2020-06-18T05:41:33
2020-06-18T05:41:33
272,268,902
2
0
Apache-2.0
2020-06-18T05:41:34
2020-06-14T19:24:04
null
UTF-8
Python
false
false
4,315
py
from typing import List import numpy as np import torch from catalyst.core.callbacks import CriterionCallback from catalyst.core.runner import IRunner class CutmixCallback(CriterionCallback): """ Callback to do Cutmix augmentation that has been proposed in `CutMix: Regularization Strategy to Train Stro...
[ "noreply@github.com" ]
saswat0.noreply@github.com
5fdb64d4234410647093b1bb7411e27ec879697f
1141cd4aeffafe496bb7d8a1399ca7c8445edd6e
/tests/ui_tests/test_ui_config_hell.py
876ce1e478d23dcec405f796a0f6e07036954323
[ "Apache-2.0" ]
permissive
amleshkov/adcm
d338c3b7c51e38ffe9a0b2715c85e54bed0c4f46
e1c67e3041437ad9e17dccc6c95c5ac02184eddb
refs/heads/master
2020-11-30T15:35:57.456194
2019-12-16T20:27:06
2019-12-16T20:27:06
230,432,278
0
0
NOASSERTION
2019-12-27T11:30:23
2019-12-27T11:30:22
null
UTF-8
Python
false
false
1,776
py
import os import pytest from adcm_pytest_plugin.utils import get_data_dir # pylint: disable=W0611, W0621 from tests.ui_tests.app.app import ADCMTest from tests.ui_tests.app.pages import Configuration, LoginPage DATADIR = get_data_dir(__file__) BUNDLES = os.path.join(os.path.dirname(__file__), "../stack/") @pytest....
[ "cab@arenadata.io" ]
cab@arenadata.io
3fa2c83c546500af96324893edd0add3698409b3
1b94aae63500b6ff94b0446d01c3c9bee385fad2
/.history/chandori/account/views_20210825231017.py
962f5084c5591398941e7b67df6a489f3776d996
[]
no_license
miracle3070/chandori
71389c2a9df76c242a5895c2c23d4394220f9c8e
b01d1eaa1d9c0d12d7abdc8f164039bcd9c42925
refs/heads/master
2023-08-18T11:46:11.303934
2021-09-28T19:23:22
2021-09-28T19:23:22
393,949,742
0
0
null
null
null
null
UTF-8
Python
false
false
3,292
py
from django.shortcuts import render, redirect from django.contrib.auth import authenticate, login, logout from django.contrib.auth.forms import UserChangeForm from django.utils import timezone from .models import * from .models import BankAccount from .forms import CustomUserChangeForm from django.contrib import messag...
[ "62284729+ehddus980@users.noreply.github.com" ]
62284729+ehddus980@users.noreply.github.com
941d7134dc48a6b37fcc70578c7ecebb24d49a90
939e9dc95a720fef1844d8b52890b9ca688754c2
/outliers/enron_outliers.py
310ba76c1f350da99da7fc011629782a37cbd0ee
[]
no_license
ilyarudyak/ud120-machine-learning
2350d8d451b94106606a486d4ac4a78ff3c4fe63
c9ddce6599b278f40abfe5e15f92c02209dfacb4
refs/heads/master
2021-01-20T22:05:53.258319
2018-06-14T12:59:40
2018-06-14T12:59:40
101,799,504
2
0
null
null
null
null
UTF-8
Python
false
false
686
py
#!/usr/bin/python import pickle import matplotlib.pyplot as plt from tools.feature_format import featureFormat, targetFeatureSplit import numpy as np def get_data(): # read in data dictionary, convert to numpy array data_dict = pickle.load(open('final_project_dataset.pkl','rb')) del data_dict['TOTAL'] ...
[ "ilyarudyak@yahoo.com" ]
ilyarudyak@yahoo.com
b77c353f1ad2cd60e82160dbf7587d168c2f0d15
08c73d76d4f933bae76b5f8519bc0883d2ba184a
/com/data/models.py
290c050bd632fb131842a63bbeac36e46c30efe5
[]
no_license
palencia77/social-core
fa17df4d48d07d2f97041491599f08bcddfb4e20
f7a0812b70c476ce073f8bdb54bbde4d517658cf
refs/heads/master
2021-09-16T01:01:24.109023
2018-05-28T03:36:10
2018-05-28T03:36:10
85,777,596
0
0
null
null
null
null
UTF-8
Python
false
false
11,007
py
''' Created on 19/06/2014 @author: palencia77 ''' from datetime import datetime from mongoengine import * from com.__init__ import * from mongoengine import queryset_manager from com.tools.objects_status import * class User(db.Document): login = db.StringField() facebook_id = db.StringField() id_social_ne...
[ "jpalencia@technisys.com" ]
jpalencia@technisys.com
34a6c530d071afbfe82a7bd521e4964a0e475056
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v11/enums/types/customizer_attribute_status.py
a55a3f6d36c4ffb95a7f855ec2dc9f165968622a
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
1,194
py
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
6046d42a8be0edfd0e6f61ba8a5aa1359e0f0f75
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-mrsp.0/mrsp_ut=3.5_rd=0.8_rw=0.06_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=66/sched.py
24ca03c1050f53f56b98349570171dfcef06cc75
[]
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
435
py
-S 0 -X RUN -Q 0 -L 4 97 300 -S 0 -X RUN -Q 0 -L 4 78 300 -S 0 -X RUN -Q 0 -L 4 73 300 -S 1 -X RUN -Q 1 -L 3 69 250 -S 1 -X RUN -Q 1 -L 3 66 300 -S 1 -X RUN -Q 1 -L 3 62 200 -S 2 -X RUN -Q 2 -L 2 48 150 -S 2 -X RUN -Q 2 -L 2 41 175 -S 2 -X RUN -Q 2 -L 2 40 150 -S 3 -X RUN -Q 3 -L 1...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
549191a5508e7d23bc35f003a2772ba44440c3b9
41586d36dd07c06860b9808c760e2b0212ed846b
/system/base/inary/actions.py
51f407d19d443069040111eb40f7b1876b6bbf54
[]
no_license
SulinOS/SulinRepository
4d5551861f57bc1f4bec6879dfe28ce68c7c125d
9686811a1e06080f63199233561a922fe1f78d67
refs/heads/master
2021-06-15T21:34:25.039979
2021-06-05T13:43:34
2021-06-05T13:43:34
207,672,864
6
3
null
2019-12-06T08:11:22
2019-09-10T22:16:17
Python
UTF-8
Python
false
false
605
py
# -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from inary.actionsapi import get from inary.actionsapi import inarytools from inary.actionsapi import shelltools from inary.actionsapi import pythonmodules def build(): pythonmo...
[ "zaryob.dev@gmail.com" ]
zaryob.dev@gmail.com
a7b8ecc8600ae64fff27cc805a08157f9d474fb8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03816/s472692535.py
0bf949a31b20b3367d9721e32c4c1197579ce541
[]
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
281
py
n = int(input()) a = sorted(list(map(int, input().split()))) eat = 0 l = 0 r = n-1 while l < r: while l < n - 1 and a[l+1] != a[l]: l += 1 while r > 0 and a[r-1] != a[r]: r -= 1 if r <= l: break eat += 1 l += 1 r -= 1 print(n-eat*2)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4c7315c59f37c2824822cae4701239e8f973c9a6
60a831fb3c92a9d2a2b52ff7f5a0f665d4692a24
/IronPythonStubs/release/stubs.min/System/Windows/Controls/__init___parts/ProgressBar.py
6b225c1974edd1cc5337d07575eb6877ff575bf0
[ "MIT" ]
permissive
shnlmn/Rhino-Grasshopper-Scripts
a9411098c5d1bbc55feb782def565d535b27b709
0e43c3c1d09fb12cdbd86a3c4e2ba49982e0f823
refs/heads/master
2020-04-10T18:59:43.518140
2020-04-08T02:49:07
2020-04-08T02:49:07
161,219,695
11
2
null
null
null
null
UTF-8
Python
false
false
57,945
py
class ProgressBar(RangeBase,IResource,IAnimatable,IInputElement,IFrameworkInputElement,ISupportInitialize,IHaveResources,IQueryAmbient): """ Indicates the progress of an operation. ProgressBar() """ def AddLogicalChild(self,*args): """ AddLogicalChild(self: FrameworkElement,child: object) Adds the prov...
[ "magnetscoil@gmail.com" ]
magnetscoil@gmail.com
25edf5e1709e8c999cb8d8d26d28ee82133cf944
628ec414b7807fc50de67345361e41cc68ba3720
/mayan/apps/events/icons.py
8741af807574afd2c754b2d27e0efb1073aa1085
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
TestingCodeReview/Mayan-EDMS
aafe144424ffa8128a4ff7cee24d91bf1e1f2750
d493ec34b2f93244e32e1a2a4e6cda4501d3cf4e
refs/heads/master
2020-05-27T23:34:44.118503
2019-04-05T02:04:18
2019-04-05T02:04:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
from __future__ import absolute_import, unicode_literals from appearance.classes import Icon icon_event_types_subscriptions_list = Icon( driver_name='fontawesome', symbol='list-ol' ) icon_events_list = Icon(driver_name='fontawesome', symbol='list-ol') icon_events_for_object = Icon(driver_name='fontawesome', symbo...
[ "roberto.rosario.gonzalez@gmail.com" ]
roberto.rosario.gonzalez@gmail.com
922ea7da8f1d8bb455f3da5f8e3aa7e842fb3ab4
19eafacbf77452f5059b8524ab1c72954fb6ecf6
/quant_engine/Factor/Analyst/ROE_FY1.py
abb7c47cd55f6bd89402eb415f6fbd7fdc09c69a
[]
no_license
fagan2888/DFZQ
1893fe113428234f7f6f10408043e9b1683fb885
94730b31c8f53ca0ebecdea4327e55d92fb244b3
refs/heads/master
2022-11-17T17:57:55.608746
2020-07-14T10:01:28
2020-07-14T10:01:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,517
py
# 盈利能力因子 ROE_FY1 的计算 # 对齐 report period from factor_base import FactorBase import pandas as pd import numpy as np import datetime from global_constant import N_JOBS, FACTOR_DB from joblib import Parallel, delayed, parallel_backend from influxdb_data import influxdbData from data_process import DataProcess class ROE_...
[ "bright_gl@126.com" ]
bright_gl@126.com
13189888deeee3a661863fd34c894aa4787cd58e
4cd0631100e099e9b154b12b234715ddee0711d3
/model/BiSeNetV2A51.py
a82a22b71dcc648614459fce1abfa0e8638b1bca
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
Ethan-ye/Efficient-Segmentation-Networks
d6dd029c76cb46b89ac00ee2f6a49d9ddcd99a3a
27272e43126a507a6d93b21cd2372f5432f61237
refs/heads/master
2023-04-22T11:10:23.256349
2021-05-07T05:04:40
2021-05-07T05:12:38
281,823,847
0
0
MIT
2020-07-23T01:50:42
2020-07-23T01:50:41
null
UTF-8
Python
false
false
60,031
py
# *- coding: utf-8 -* ########################################################################### # https://github.com/Soulempty/BiseNetv2-pytorch import torch import torch.nn as nn from torch.nn import functional as F from torchsummary import summary from utils.activations import NON_LINEARITY from fvcore.nn.flop_cou...
[ "ye_b@hotmail.com" ]
ye_b@hotmail.com
7d400123827930ea4426b72ad394fba68219b856
6de622e922361beac91e3cfc4cd67829451bc095
/wyzepal/wyzepal/examples/message-history
fb650052f4bdae7a8b5fe58bf6694d9755660181
[]
no_license
WyzePal/api
fd1f1771aa9e1bfeb5d5de102b3f525d905fae29
8646c90148885b1c4286557bd62cfcf844b9d107
refs/heads/master
2020-03-23T15:25:53.559240
2019-03-08T23:54:00
2019-03-08T23:54:00
141,747,661
0
0
null
null
null
null
UTF-8
Python
false
false
415
#!/usr/bin/env python # -*- coding: utf-8 -*- import argparse import wyzepal usage = """message-history <message_id> [options] Example: message-history 42 """ parser = wyzepal.add_default_arguments(argparse.ArgumentParser(usage=usage)) parser.add_argument('message_id', type=int) options = parser.parse_args() clie...
[ "dannym@wyzepal.com" ]
dannym@wyzepal.com
42505fe70d5e1e62150a3a5fe90404a7a83fd63d
42516b0348936e257d04113c2e632dc72ba58e91
/test_env/test_suit_ui_native_apk/test_suit_ui_native_apk_case05.py
dabb1ffacba1db255a1a1217d9e02bc7a0be878f
[]
no_license
wwlwwlqaz/Qualcomm
2c3a225875fba955d771101f3c38ca0420d8f468
a04b717ae437511abae1e7e9e399373c161a7b65
refs/heads/master
2021-01-11T19:01:06.123677
2017-04-05T07:57:21
2017-04-05T07:57:21
79,292,426
1
1
null
null
null
null
UTF-8
Python
false
false
5,095
py
# coding: utf-8 ''' check native apk: alarm @author: U{huitingn<huitingn@qti.qualcomm.com>} @version: version 1.0.0 @requires: python 2.7+ @license: @see: L{TestCaseBase <TestCaseBase>} @note: @attention: @bug: @warning: ''' import fs_wrapper import settings.common as SC from case_uti...
[ "c_wwan@qti.qualcomm.com" ]
c_wwan@qti.qualcomm.com
7f07de87a674fce74e537b03815c9f0175773dfd
3a9f2b3d79cf214704829427ee280f4b49dca70a
/saigon/rat/RuckusAutoTest/tests/zd/CB_AP_CLI_Check_Wlans.py
93b2c57d9cb88aa0a0d9f29f9af7f3c9188362ed
[]
no_license
jichunwei/MyGitHub-1
ae0c1461fe0a337ef459da7c0d24d4cf8d4a4791
f826fc89a030c6c4e08052d2d43af0b1b4b410e3
refs/heads/master
2021-01-21T10:19:22.900905
2016-08-20T03:34:52
2016-08-20T03:34:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,144
py
''' Description: Prerequisite (Assumptions about the state of the testbed/DUT): 1. Build under test is loaded on the AP and Zone Director Required components: 'RuckusAP' Test parameters: Result type: PASS/FAIL Results: PASS: FAIL: Messages: If FAIL the test script returns a messag...
[ "tan@xx.com" ]
tan@xx.com
3d7c87091f35d690835e37012b967b52d9e57aa6
dc280634cd9c6601c1d35cc31debc63fe4d4d88d
/twisted/plugins/anchore_simplequeue.py
bcd31006b26ab16231db135609db5203a309cb19
[ "Apache-2.0" ]
permissive
roachmd/anchore-engine
9fe5166bbce00471516730c270b9dab7658f38d2
521d6796778139a95f51542670714205c2735a81
refs/heads/master
2020-03-26T01:22:25.812770
2018-08-15T06:10:18
2018-08-15T06:10:18
144,364,236
0
0
Apache-2.0
2018-08-11T07:17:22
2018-08-11T07:17:22
null
UTF-8
Python
false
false
2,642
py
import sys import os from twisted.application.service import IServiceMaker from twisted.plugin import IPlugin from twisted.python import log from twisted.python import usage from zope.interface import implements # anchore modules from anchore_engine.configuration import localconfig import anchore_engine.services.comm...
[ "nurmi@anchore.com" ]
nurmi@anchore.com
aca0f8da76438bb92344a411b386bae33b859c61
804d40b874e2eb1f2e9f3f3f124d507bf2b517f1
/env/Lib/site-packages/sqlalchemy/dialects/mysql/json.py
4961ef33b155b194515e5e298d98eb38f3cc976d
[]
no_license
Nestor-Leyva/api-flask
86d5d3053e62767813aeacea5f30cc6a355320d0
55675a02fd79263518b0dfc731a2b4a2be50bd0d
refs/heads/main
2023-08-21T03:00:18.740097
2021-10-04T19:25:38
2021-10-04T19:25:38
413,517,941
0
0
null
null
null
null
UTF-8
Python
false
false
2,121
py
# mysql/json.py # Copyright (C) 2005-2021 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php from __future__ import absolute_import from ... import types as sqltypes ...
[ "noreply@github.com" ]
Nestor-Leyva.noreply@github.com
463affe2ad1841699dfb96a3668f21e2c37af98e
0ce68cc0e9b93ae339e69f9f328e27262ebe0ab9
/art/attacks/inference/membership_inference/label_only_boundary_distance.py
be29c3e16d90254053b6f3121a0fd6f4623acf20
[ "MIT" ]
permissive
igor-barinov/adversarial-robustness-toolbox
ede762bafa471d0d0664e82649f35bf0455c0d9a
10518daca0d5f2eb3bcd64022c2151cadc843443
refs/heads/main
2023-07-16T08:36:51.500788
2021-07-14T15:19:45
2021-07-14T15:19:45
376,598,416
1
0
MIT
2021-06-13T17:09:16
2021-06-13T17:09:15
null
UTF-8
Python
false
false
8,046
py
# MIT License # # Copyright (C) The Adversarial Robustness Toolbox (ART) Authors 2020 # # 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 # r...
[ "beat.buesser@ie.ibm.com" ]
beat.buesser@ie.ibm.com
3413e4da2bfd468cf595d767feb1d2525b88ca04
cdfb77f5fb782ed8c731c6789ba154fefb34b830
/Seção 7/deque.py
1677e2b381400de0a3e586e8e583e9016cf89942
[]
no_license
Yuri-Santiago/curso-udemy-python
7dc83e0ade45e8d959ce12b81098a13617e0a7ca
2af0ddad01b08f6afd0bfe35648212d4ee49f52b
refs/heads/master
2023-04-21T07:11:35.594753
2021-05-18T05:14:56
2021-05-18T05:14:56
350,412,085
1
0
null
null
null
null
UTF-8
Python
false
false
474
py
""" Módulo Collections - Deque Podemos dizer que o Deque é uma lista de alta performance. """ from collections import deque # Criando deques deq = deque('yuri') print(deq) # Adicionando elementos no deque deq.append('m') # Adciona no final print(deq) deq.appendleft('O') # Adiciona no começo print(deq) # Remover...
[ "yurimateussantiago@gmail.com" ]
yurimateussantiago@gmail.com
05e7e379498d8da233aebf0da6207fd6cce541c8
fc9f4e6af9df3d05c507c9e114b956dfc26cd0f0
/chapters/2023/Qualité logicielle dans les notebooks Jupyter/assets/python-scripts/0002_get_basket_composition_for_date_range.py
f241d486a24f743a1215f5f1f900614880dfe8a5
[]
no_license
RIMEL-UCA/RIMEL-UCA.github.io
0f1334bf9ba77a5ef59c63065f2dbe7c00d70f25
3009e69eab06c9dc4f6f2b7f866fa0b00f909516
refs/heads/master
2023-07-03T16:00:05.606141
2023-02-12T14:40:35
2023-02-12T14:40:35
230,765,683
7
29
null
2023-03-05T22:09:35
2019-12-29T15:04:00
Jupyter Notebook
UTF-8
Python
false
false
629
py
#!/usr/bin/env python # coding: utf-8 # In[ ]: import datetime as dt import pandas as pd from gs_quant.markets.baskets import Basket from gs_quant.session import Environment, GsSession # In[ ]: client = 'CLIENT ID' secret = 'CLIENT SECRET' GsSession.use(Environment.PROD, client_id=client, client_secret=secret, ...
[ "vincetl74@gmail.com" ]
vincetl74@gmail.com
c33a7c77d3a95e5a197628b12e94dbd929b9403d
4359911a3546134982c10fa2965a85e3eaf244c1
/test_3d_car_instance.py
34f7356def88cc6d5a44f77c0ef23b095232db3a
[]
no_license
itsme-ranger/ApolloScape_InstanceSeg
154614eefbf4965204cfc243f77ea52a8830322f
816abea8992abdcd54f0fc155620c1b8da41ba2d
refs/heads/master
2022-04-10T02:48:38.147939
2020-02-08T09:36:11
2020-02-08T09:36:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,122
py
"""Perform inference on one or more datasets.""" import argparse import cv2 import os import pprint import sys import matplotlib #matplotlib.use('Agg') import torch os.environ['CUDA_VISIBLE_DEVICES'] = '1' import _init_paths # pylint: disable=unused-import from core.config import cfg, merge_cfg_from_file, merge_cfg_...
[ "stevenwudi@gmail.com" ]
stevenwudi@gmail.com
91f7ff0874a31b537fe71f816acf68fdd71e2cf6
321cc8a471b6cf7134edb292bc905bb6ffde1a13
/SaveOnTech/SnapDeal/apps.py
56b875222513c2b19800d3452d118de53f3b9598
[]
no_license
Murgowt/SaveOnTech
da386748ab8c016f494dadb779a380c3de8cbd10
9d838adefdcc41a2130cd3e1d9ee729d967ce731
refs/heads/master
2020-07-21T20:42:09.586624
2019-10-09T14:28:36
2019-10-09T14:28:36
206,971,575
4
1
null
2019-10-09T14:28:03
2019-09-07T13:23:58
Python
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class SnapdealConfig(AppConfig): name = 'SnapDeal'
[ "noreply@github.com" ]
Murgowt.noreply@github.com
d185dff0848d40badb6664ead738792964b15ce0
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/pzQXHMqizBmaLDCHc_17.py
92b7a0873f57358e73a7f1a469c02827953bbc1a
[]
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
450
py
def calculate_damage(your_type, opponent_type, attack, defense): effectiveness=1 d = {('fire','grass'):2,('fire','water'):0.5,('fire','electric'):1,('water', 'grass'):0.5, ('water', 'electric'):0.5,('grass', 'electric'):1, ('grass','fire'):0.5,("grass", "water"):2} for i in d: if i == (your_type,opp...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
9c2abe985a3afab65e9881bb794b7c361855e052
91b2fb1fb6df216f2e365c3366bab66a567fc70d
/Week09/每日一题/61. 旋转链表.py
5edbeab4480fb64151aaafd831aeb3035a12ede2
[]
no_license
hrz123/algorithm010
d17aee642f03f607a7984beb099eec18f2de1c8e
817911d4282d2e226518b3533dff28282a91b3d4
refs/heads/master
2022-12-20T14:09:26.365781
2020-10-11T04:15:57
2020-10-11T04:15:57
270,178,423
1
0
null
2020-06-07T03:21:09
2020-06-07T03:21:09
null
UTF-8
Python
false
false
4,281
py
# 61. 旋转链表.py # Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def rotateRight(self, head: ListNode, k: int) -> ListNode: if not head: return head size = self.get_size(head) k %= size ...
[ "2403076194@qq.com" ]
2403076194@qq.com
fa19bb1aae904e95f252db7303fe8a7bf7953dce
fd882ae9ceab15868b102328ec33e9d3dbe73cb4
/devil/devil/android/sdk/adb_compatibility_devicetest.py
d4e63ade953b10753d42d875a72bf7d2d58d2169
[ "BSD-3-Clause" ]
permissive
rohitrayachoti/catapult
9a904e4120dabdc61643897610ad894b06faa52b
cd2eebd327e35c839149f7a4d888b046d628df12
refs/heads/master
2022-03-16T11:47:18.234529
2020-10-09T20:10:31
2020-10-09T21:41:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,676
py
#!/usr/bin/env python # Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import contextlib import os import posixpath import random import signal import sys import unittest if sys.version_info.major >= 3: ...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
0e5570449a1fc4e0ffc94af74051560a30a4798b
2d0d39b7c066d6f98199e5968dfe2ad3f078eb4a
/Python3/Dictionaries/pop_popitems_update.py
37b39a2443fcda48fefc11e58ea3e32b96916f87
[ "MIT" ]
permissive
norbertosanchezdichi/TIL
a232b8648eb41cfb6d74ed6f09affba94c7d6bbb
45304c1896725fb8ffbe957f4da5f9a377f7ad62
refs/heads/master
2023-05-26T20:04:50.146277
2023-05-20T17:10:44
2023-05-20T17:10:44
222,038,339
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
student = { 'name': 'Norberto', 'owns_parrot' : True, 'favorite_language': 'Python', 25 : 'my favorite number!'} print(f'{student =}') print(f'{student.pop(25) =}') print(f'{student =}') print(f'{student.popitem() =}') print(f'{student.popitem() =}') print(f'{student =}') person = {'city': 'Los Angel...
[ "norbertosanchezdichi@users.noreply.github.com" ]
norbertosanchezdichi@users.noreply.github.com
e5ef6e99151307ff308b5f59eb0e82f785a86ec7
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/sympy/2015/12/authors_update.py
be1a714c8269f40c37c1f3444979dfcf925bc2b3
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
2,770
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ A tool generate AUTHORS. We started tracking authors before moving to git, so we have to do some manual rearrangement of the git history authors in order to get the order in AUTHORS. """ from __future__ import unicode_literals from __future__ import print_function imp...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
3f9e25b9467dc1ba529923a9c89c66a19ee6aacd
19cf0afe2ee84711337a661630974c74dd29d946
/CLOVER/nature2017/mcs_energy.py
314bfeee39f64e5f79f591c488f20ac33ab1abe2
[]
no_license
zhpfu/proj_CEH
b253bfe9334a372af7d9de7ba21cb57e52b4f370
b4be27bdf1e4452baff276014da014b7ff89fddc
refs/heads/master
2022-12-26T11:27:48.126308
2020-10-02T19:06:36
2020-10-02T19:06:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
from decimal import Decimal lv = 2.26*1e6 # energy of evaporation in J / kg of water seconds_day = (60*60*24) storm_acc_rain = 19 # mm / storm on average or kg / m2 wetted_area = 100000*1e6 # storm area in square metres 12 m/s over 24 hours storm_per_m2 = storm_acc_rain * lv # J / m2 = W s / m2 print('%.2E'...
[ "cornelia.klein@gmx.de" ]
cornelia.klein@gmx.de
9b6dba52e389e6fefc316b128ba47280ee641249
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5648941810974720_1/Python/iakl/solution_large.py
d656ecb440e5e40876b6bfd9698fe80d36b9c7e0
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,402
py
input_file = "A-large.in" output_file = "A-large.out" in_f = open(input_file) T = -1 N = -1 tcs = [] for l in in_f: sl = l.strip() if len(sl) == 0: continue if T == -1: T = int(sl) continue tcs.append(sl) in_f.close() out_f = open(output_file, "w") def O...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
d773bda77e43e291d97be37bee13c098710d31cf
7c551e749064b25af706b9167211050f8c6ad0a9
/signatures/windows/infostealer_keylogger.py
53b784f83f339cd94322d7f17b1539b9363316a7
[]
no_license
dashjuvi/Cuckoo-Sandbox-vbox-win7
fa382828b4895c5e1ee60b37a840edd395bf1588
a3a26b539b06db15176deadeae46fc0476e78998
refs/heads/master
2020-03-12T08:33:06.231245
2019-01-14T23:09:02
2019-01-14T23:09:02
130,529,882
6
1
null
null
null
null
UTF-8
Python
false
false
1,333
py
# Copyright (C) 2012 Thomas "stacks" Birn (@stacksth) # Copyright (C) 2014 Claudio "nex" Guarnieri (@botherder) # # 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,...
[ "diegovm14@gmail.com" ]
diegovm14@gmail.com
0120a0666de2492a42fec06064f920cf942ac669
0c6100dc16291986fab157ed0437f9203f306f1b
/2000- 3000/2356.py
6b7f8786e155e42660feea4e0eb1af9ab1f4caa9
[]
no_license
Matuiss2/URI-ONLINE
4c93c139960a55f7cc719d0a3dcd6c6c716d3924
6cb20f0cb2a6d750d58b826e97c39c11bf8161d9
refs/heads/master
2021-09-17T09:47:16.209402
2018-06-30T08:00:14
2018-06-30T08:00:14
110,856,303
13
1
null
null
null
null
UTF-8
Python
false
false
273
py
while True: try: seq1 = input() seq2 = input() except EOFError: break if seq2 in seq1: # Se a sequencia 2 estiver contida na sequencia 1, ela é resistente print("Resistente") else: print("Nao resistente")
[ "noreply@github.com" ]
Matuiss2.noreply@github.com
9f40b8886fbf044b37fa72687a25fec88bcc83bd
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/firmware/ctrlrfwstatusconttask.py
d1446fcbd5bc1d51ffddb1e46f07fdf5aef3fd10
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
17,201
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
accfc0d6128d53607169652f5d408409eb9af9b3
40404006721939f6f65f74d289d6f4614d3bf8bc
/identYwaf.py
148d9f24b52c8a9684d80c43a2ef6c69af051d61
[ "MIT" ]
permissive
zan00789/identYwaf
71236377e82378ee59aa24185398b5d39ebb4dbf
5c88e7925aa94621eb23d494d916e5c614ae47a1
refs/heads/master
2020-04-25T12:07:52.510372
2019-02-26T10:33:12
2019-02-26T10:33:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,208
py
#!/usr/bin/env python """ Copyright (c) 2019 Miroslav Stampar (@stamparm), MIT See the file 'LICENSE' for copying permission The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. """ from __future__ import print_function import base64 import c...
[ "miroslav.stampar@gmail.com" ]
miroslav.stampar@gmail.com
773f7fef36812d17cd02f2a0c2a452e95541bfd7
6872caaa6c3bb59995627064ed1ab63df403bdf6
/eyantra_provider/venv/Lib/site-packages/authlib/jose/rfc7518/_backends/_key_cryptography.py
066c5da1e86247fa58b95e4ddde79714d1aed8d9
[ "MIT" ]
permissive
Andreaf2395/OpenID-Provider
3189780631d9057140e233930ace72e9bfc76e58
cdedd42cc49e6f03e3b2570c03fb1f4a2c83be34
refs/heads/Sameeksha_Final_Provider
2023-08-21T16:05:42.864159
2020-06-18T18:47:16
2020-06-18T18:47:16
273,314,708
0
0
MIT
2020-06-18T18:48:34
2020-06-18T18:44:29
Python
UTF-8
Python
false
false
1,580
py
from cryptography.hazmat.primitives.serialization import ( load_pem_private_key, load_pem_public_key, load_ssh_public_key ) from cryptography.hazmat.primitives.asymmetric.rsa import ( RSAPrivateKey, RSAPublicKey ) from cryptography.hazmat.primitives.asymmetric.ec import ( EllipticCurvePrivateKey, EllipticCu...
[ "sameekshabhatia6@gmail.com" ]
sameekshabhatia6@gmail.com
01916b1dc80855030aa378e97495ed5099a7b2a1
1c562b288a92dbef9ee76744f73acd334ba56306
/jaguar/tests/test_room_metadata.py
38f6ba87fbbf6b36be13158c768b806276852ce4
[]
no_license
mkhfring/pychat
862ffaaee01ea5927e94640e19d88d698ed170af
8d7c4ea8eb35d8216c2f4194b00483995052b8ea
refs/heads/master
2021-03-13T07:13:55.433143
2020-03-11T18:44:26
2020-03-11T18:44:26
246,652,274
2
0
null
null
null
null
UTF-8
Python
false
false
803
py
from bddrest.authoring import status, response from jaguar.tests.helpers import AutoDocumentationBDDTest class TestRoomMetadata(AutoDocumentationBDDTest): def test_metadata(self): with self.given('Test metadata verb', '/apiv1/rooms', 'METADATA'): assert status == 200 fields = res...
[ "khajezade.mohamad@gmail.com" ]
khajezade.mohamad@gmail.com
9df6392902b582ba186f117b11700d66985b2de9
ef243d91a1826b490e935fa3f3e6c29c3cc547d0
/lxml/etree/CommentBase.py
29cd0fa1b6fe12df733b0e6bce2364a1a113ec15
[]
no_license
VentiFang/Python_local_module
6b3d0b22399e817057dfd15d647a14bb1e41980e
c44f55379eca2818b29732c2815480ee755ae3fb
refs/heads/master
2020-11-29T11:24:54.932967
2019-12-25T12:57:14
2019-12-25T12:57:14
230,101,875
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
# encoding: utf-8 # module lxml.etree # from F:\Python\Python36\lib\site-packages\lxml\etree.cp36-win_amd64.pyd # by generator 1.147 """ The ``lxml.etree`` module implements the extended ElementTree API for XML. """ # imports import builtins as __builtins__ # <module 'builtins' (built-in)> from ._Comment import _Comm...
[ "5149528+ventifang@user.noreply.gitee.com" ]
5149528+ventifang@user.noreply.gitee.com
520fb4963fd27b6f09e539e0d5fdf44b99f18a32
ba1d0f05e2faf2f21f076c90960e436db2930d36
/src/items/view.py
be96e57742877f7c5343250254dacff23ff56a4a
[ "MIT" ]
permissive
elipavlov/items
94d553d05bab4e444c1172f96045058da387db64
c935e3321284af251c3339e72531f26e9dd64802
refs/heads/master
2021-01-22T20:18:27.036787
2017-03-20T18:18:20
2017-03-20T18:18:20
85,308,199
0
0
null
null
null
null
UTF-8
Python
false
false
2,752
py
# coding=utf-8 from sqlite3 import IntegrityError from flask import json, request, url_for, flash, jsonify, session from items.exceptions import DataExtractionError from sqlalchemy import exc from .config import app from .models import db, Item from logging import getLogger logger = getLogger(__name__) def _proce...
[ "eli.pavlov.vn@gmail.com" ]
eli.pavlov.vn@gmail.com
bbd765025d00ad5f5576e91fbfc14956a25fa47a
c600f82e32bb1cbe22c6aff42371b1526ecae440
/src/livestreamer/packages/flashmedia/flv.py
7671fe0f2ae8ded170b8b509a32fa79bb9459f33
[ "BSD-2-Clause" ]
permissive
john-peterson/livestreamer
6445a91cfd6f2002c2184c8c125934a1b5616cea
5b268a9cf1a157bbd2fecd3e61c110f046680ab1
refs/heads/master
2020-12-01T03:02:56.109651
2012-12-30T16:14:15
2012-12-30T16:14:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
#!/usr/bin/env python from .tag import Header, Tag from .compat import is_py2 class FLV(object): def __init__(self, fd=None): self.fd = fd self.header = Header.deserialize(self.fd) def __iter__(self): return self def __next__(self): try: tag = Tag.deserialize(...
[ "chrippa@tanuki.se" ]
chrippa@tanuki.se
a217ad299a4c52b3e630ca5237cbe36640af382d
77e22775135dff0de080573c7a6e83ef373fe4cb
/dl/data/base/datasets.py
20962cd49a0f1a1f01673ec07dc9f00f7f197657
[ "MIT" ]
permissive
flyingGH/pytorch.dl
bfcd23ddbc7d405cbba7ce15695e0dda75b755fe
d82aa1191c14f328c62de85e391ac6fa1b4c7ee3
refs/heads/master
2023-06-01T11:21:15.636450
2021-03-31T05:47:31
2021-03-31T05:47:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,809
py
from torch.utils.data import Dataset import abc, os, cv2 import numpy as np from pycocotools.coco import COCO from xml.etree import ElementTree as ET from .exceptions import _TargetTransformBaseException, MaximumReapplyError from .._utils import DATA_ROOT, _get_xml_et_value, _check_ins reapply_in_exception = True max...
[ "kado_89_ssp_jun@yahoo.co.jp" ]
kado_89_ssp_jun@yahoo.co.jp
c2f89f6c6b456ec887bd59fcc97d7a64f2a6337c
a58d930f68712bc9635911af646711201bd1634d
/Lib/site-packages/flask_debugtoolbar/panels/sqlalchemy.py
ded1c101a228d80486fb6d8e410af07cb20adbe6
[ "MIT" ]
permissive
kyle8998/AppGen
9999d5d895531ab2dd704e54f016d0e12e74e81a
4cc9e57c85363d41dc39c8a4687c9f6ada103beb
refs/heads/master
2022-12-01T17:06:02.824557
2017-11-20T21:53:23
2017-11-20T21:53:23
84,370,560
2
1
MIT
2022-11-27T00:26:13
2017-03-08T22:05:01
Python
UTF-8
Python
false
false
4,128
py
try: from flask_sqlalchemy import get_debug_queries, SQLAlchemy except ImportError: sqlalchemy_available = False get_debug_queries = SQLAlchemy = None else: sqlalchemy_available = True from flask import request, current_app, abort, json_available, g from flask_debugtoolbar import module from flask_debu...
[ "kylelim8998@gmail.com" ]
kylelim8998@gmail.com
f06396f839a325246ee0801bec2dd517652b1377
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/76/usersdata/179/39313/submittedfiles/jogoDaVelha.py
dc18ac8faf0b1370501cfc88faf49f897ae00dfb
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
# -*- coding: utf-8 -*- import math x1 = int(input('Digite x1: ')) x2 = int(input('Digite x2: ')) x3 = int(input('Digite x3: ')) x4 = int(input('Digite x4: ')) x5 = int(input('Digite x5: ')) x6 = int(input('Digite x6: ')) x7 = int(input('Digite x7: ')) x8 = int(input('Digite x8: ')) x9 = int(input('Digite x9: ')) if x...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
807298af3e1ebd4145bdd555747f385744339491
309dbf12ce8bb5ddb935978628f9a675141cffa5
/rev-linked-list/reversell.py
44d54c38073c38ee870b2913c2de6fd2e49990dc
[]
no_license
eljlee/hb-code-challenges
38cc55df8cbf13f1c516cc315734ea029c6ce08d
3a190794483003a52ca7fd43349dad6aed252eee
refs/heads/master
2020-03-08T06:21:14.977981
2018-05-01T06:07:06
2018-05-01T06:07:06
127,969,767
0
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
"""Given linked list head node, return head node of new, reversed linked list. For example: >>> ll = Node(1, Node(2, Node(3))) >>> reverse_linked_list(ll).as_string() '321' """ class Node(object): """Class in a linked list.""" def __init__(self, data, next=None): self.data = data ...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
01fbc51fb60705df1d17f7752984ecf95387c70c
76e6d4f93078327fef8672133fc75a6f12abc240
/ABC166/Test_C.py
21670db70c1607836575dd879ec8512eea46c6fc
[]
no_license
adusa1019/atcoder
1e8f33253f6f80a91d069b2f3b568ce7a2964940
f7dbdfc021425160a072f4ce4e324953a376133a
refs/heads/master
2021-08-08T04:41:36.098678
2021-02-01T07:34:34
2021-02-01T07:34:34
89,038,783
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
import pytest from C import solve def test_solve(): assert solve('4 3\n1 2 3 4\n1 3\n2 3\n2 4') == '2' assert solve('6 5\n8 6 9 1 2 1\n1 3\n4 2\n4 3\n4 6\n4 6') == '3'
[ "symphony20030829@yahoo.co.jp" ]
symphony20030829@yahoo.co.jp
b9eb79ac90d988d56bfe2b1946ca1d9a20bc13c4
20a18ea0d2738477c5a117f80154c195c6ff2679
/nova/tests/unit/scheduler/filters/test_vcpu_model_filter.py
29e35d8e88efc3989c239a0f1635d3a3eb84a908
[ "Apache-2.0" ]
permissive
hustlzp1981/stx-nova
1300fa9757a29b2d00ef587c71ebd98171077d10
c52432b3e7a240817a2de06321a2459f4862ab6a
refs/heads/master
2020-04-26T03:21:12.797447
2019-03-01T17:40:14
2019-03-01T17:40:14
173,264,343
0
0
Apache-2.0
2019-03-01T08:28:15
2019-03-01T08:28:15
null
UTF-8
Python
false
false
7,430
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...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
dfc6c6bcfb803410e8e29e9372cbfc20346520ac
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_101342.12+260620.0/sdB_SDSSJ_101342.12+260620.0_lc.py
9a011b1d702d1b617d49f9c4a2d9a77ee7bb3f10
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[153.4255,26.105556], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_SDSSJ_101342.12+260620.0 /sdB_SDSSJ_101342.12+260620.0_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.010388897...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
6d08ddadf72bb842f38dcab1040eb5c887a7b5ba
e6e81d0cd02223ca27f2c3f544b3c116e7617270
/LeetCodePremium/77.combinations.py
4e7d7a1ed0cc1d5b18cdec815c2f06e8eceb101c
[]
no_license
ashjambhulkar/objectoriented
86166640b0546713095dd5d8804fc78d31782662
6f07b50590ceef231be38d6d7b8c73a40c1152e9
refs/heads/master
2022-05-03T23:28:38.674275
2022-04-26T21:37:31
2022-04-26T21:37:31
249,091,045
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
# # @lc app=leetcode id=77 lang=python3 # # [77] Combinations # # @lc code=start class Solution: def combine(self, n: int, k: int) -> List[List[int]]: # sample = [i for i in range(1, n+1)] # result = [] # def helper(sample, temp): # if len(temp) == k: # result.ap...
[ "ashjambhulkar@hotmail.com" ]
ashjambhulkar@hotmail.com
fa732dd4d96554ba0973ad299250f13f74a6166d
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/monitor/azure-monitor-opentelemetry-exporter/azure/monitor/opentelemetry/exporter/_generated/models/_models.py
2eb7716c2c9269fe361603bddfbac2c620bc5c8d
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
36,791
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 may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
55218c19699e0f4849573cdf5d530c474390d190
65a3f548503cd1bdd9a429704aec630c0a507b4b
/src/genie/libs/parser/nxos/tests/test_show_igmp.py
c6905b6a9441834d1d68c3345e34ad3712d4ebff
[ "Apache-2.0" ]
permissive
LouiseSianEvans/genieparser
75c3c73612db4a7cb31f657dc6ad9f25b5bfebb5
7dd4d81834479e35a6c08254e10e7692b00b897b
refs/heads/master
2020-04-30T15:25:04.158694
2019-03-27T22:58:15
2019-03-27T22:58:15
176,919,539
0
0
Apache-2.0
2019-03-21T10:10:46
2019-03-21T10:10:43
Python
UTF-8
Python
false
false
51,984
py
# Python import unittest from unittest.mock import Mock # ATS from ats.topology import Device # Metaparset from genie.metaparser.util.exceptions import SchemaEmptyParserError, \ SchemaMissingKeyError # Parser from genie.libs.parser.nxos.show_igmp import ShowIpIgmpInterface, \ ...
[ "jeaubin@cisco.com" ]
jeaubin@cisco.com
972ea4c7a9f98ddd846f80c492b024ad39d1440a
60a7e7dc2ba82c5c74352dc8466a9becba068e2e
/backend2/userapi1/migrations/0001_initial.py
8c0c9e319f589c09a402c93581e1c8af2e666c7e
[]
no_license
TestTask12/SKD-Django-
d7b445d8afd32fe5aa877c31451b7f2d932d2fe7
47bf79071d2781d129794e9b47d396cfd9162d00
refs/heads/master
2023-07-06T10:08:04.156998
2021-08-02T12:26:04
2021-08-02T12:26:04
387,738,104
0
0
null
null
null
null
UTF-8
Python
false
false
1,970
py
# Generated by Django 3.2.5 on 2021-07-23 10:53 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "sumankumariideal@gmail.com" ]
sumankumariideal@gmail.com
cd347060e1da3d2391d0143e12892f9eac6c4346
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/storage/azure-mgmt-storage/generated_samples/blob_containers_put_immutability_policy_allow_protected_append_writes_all.py
959e1d06da38a2e43845d975a656d18959590c16
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
1,700
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 may ...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
980c0b0837b2db2ae0a95f0e3aec09938d06100f
a5698f82064aade6af0f1da21f504a9ef8c9ac6e
/huaweicloud-sdk-cce/huaweicloudsdkcce/v3/model/cce_job_spec.py
dc9786d83d3d306eea915bbbb9939ea87a5e228b
[ "Apache-2.0" ]
permissive
qizhidong/huaweicloud-sdk-python-v3
82a2046fbb7d62810984399abb2ca72b3b47fac6
6cdcf1da8b098427e58fc3335a387c14df7776d0
refs/heads/master
2023-04-06T02:58:15.175373
2021-03-30T10:47:29
2021-03-30T10:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,808
py
# coding: utf-8 import pprint import re import six class CCEJobSpec: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
bec2ac58d9e5663e3e2e4ecdcd53faa846e92d59
e65ae5bd9ae1c93e7117e630f7340bc73aa71212
/lib/gevent/greentest/test__greenletset.py
ffe4e308e45094f2aa246d25c391c328edcf36aa
[ "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
3,222
py
import time import greentest import gevent from gevent import pool DELAY = 0.1 class SpecialError(Exception): pass class Undead(object): def __init__(self): self.shot_count = 0 def __call__(self): while True: try: gevent.sleep(1) except SpecialE...
[ "matrix.nad@gmail.com" ]
matrix.nad@gmail.com
26a281cbfa087655cdab4c27c6fd0c9a2db3e8f2
77da9a5aac6598df2dea6088e068e973e3da52ad
/benchmarks/1d16pu/config.py
b5869320a3d278e60c3593dff0db31f503088bc8
[]
no_license
GiggleLiu/projectx
e9e5960d5892c4efcad0a0a7cc5e7ff72ca50458
170f990939549949de203004c03ed68762ba23b4
refs/heads/master
2021-09-08T17:28:22.473021
2018-03-11T10:32:32
2018-03-11T10:32:32
109,708,185
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
import numpy as np from models.wanglei6 import WangLei6 powerlist_list = [ [[1,0,1],[1,1]], [[1,0,1],[1,1]], [[1,0,1],[1,1]], [[1,0,1],[1,1]], [[1,0,1],[1,1]], [[1,0,1],[1,1]], ] num_features_list = [ [20], [20], [20], [20], [20], [20], [20], [20...
[ "cacate0129@gmail.com" ]
cacate0129@gmail.com
33cfc768934e8033b6bdcf3758e69a8c15adb0b0
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/opcodes/cases/test_map_mem_nat_100.py
68ed860f3164c948df0a2f3f9efad4284fc8d31b
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
886
py
from unittest import TestCase from tests import abspath from pytezos.repl.interpreter import Interpreter from pytezos.michelson.converter import michelson_to_micheline from pytezos.repl.parser import parse_expression class OpcodeTestmap_mem_nat_100(TestCase): def setUp(self): self.maxDiff = None ...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
eebf77058bb72e39adc7e144c70efde6975f3eb4
c380e7c61c97cb03531e4f33fe31c99c7593c70b
/contrib/splunk-sdk-python/examples/explorer/explorer.py
ae4f6d06e2597a0764a43d3e6d0bccc93b209569
[ "Apache-2.0" ]
permissive
skada/splunk-appframework
09bd777bc7c28b6b460eb8b7397288b559d9bf3d
8d07f81a9c37b8a0a2b9432bdd6fd78e98e458cc
refs/heads/master
2020-12-01T01:17:03.481885
2013-03-09T05:51:27
2013-03-09T05:51:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,029
py
#!/usr/bin/env python # # Copyright 2011-2012 Splunk, 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...
[ "itay@neeman.net" ]
itay@neeman.net
973003a6f81d1d8e405f3dfccf3199500bca22db
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_0833+211/sdB_PG_0833+211_lc.py
04021942ce6aaaa0c17094607e8f65d9c8e1e284
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[129.082042,20.963314], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_PG_0833+211 /sdB_PG_0833+211_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
ae9fd9989ac06924eaff500bcc8d0d390707e66e
cbd865bdba079069ba52e4bf78dd1395acb99d5b
/30.py
08bb5c96aa2900c43d824aea65e74eae9541e17a
[]
no_license
anhnguyendepocen/100-pythonExercises
52e72c214885e993207241b28124382365f28126
1f69184ba819b1a9d3880530aa349ae677dc1254
refs/heads/master
2022-01-17T14:00:16.390389
2019-03-23T19:22:13
2019-03-23T19:22:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
# Exercise No.30 # Why is there an error here? # def foo(a=2, b): # return a + b # Solution # Because default arguments must be listed at the end of the parameters list. If you list them at the beginning python # will get confused because it is not sure if you are changing the default argument's value or passing t...
[ "eduardessc0@hotmail.com" ]
eduardessc0@hotmail.com
aaeaef1286a253db035fa39dbb376b08736d9761
aa9afb14c2e0871afc200d2a7e981334ae97974a
/item_engine/builders/package/mb1.py
aa7e39d194dd52ee9a7a12ae037540dfd42744ad
[ "MIT" ]
permissive
GabrielAmare/TextEngine
bd53357526cb0e31f5aae80dacfa02b004683017
39ceb323a63af35e32c4be34ae35a77e811bc973
refs/heads/main
2023-05-01T13:03:54.929892
2021-05-21T07:44:56
2021-05-21T07:44:56
344,866,828
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
from item_engine.textbase.elements import Char, Token from typing import Iterator def function(src: Iterator[Char]) -> Iterator[Token]: cur: Token = Token(at=0, to=0, value=0) for old in src: while cur.to == old.at: new: Token = cur.develop(_function(cur, old), old) if not new....
[ "67603418+GabrielAmare@users.noreply.github.com" ]
67603418+GabrielAmare@users.noreply.github.com
8b262c3bfa84526014f073bef31780e8a33dcc89
04dbbfea381996e207f4ff65ce1fc5a297cd2b79
/MIT_ocw/6.006F11/JUNK/timing_exc.py
8c9685bec8e99aa00d62a059bf8762dd3773c80d
[]
no_license
Ru0ch3n/MOOCs
30081d1905ed5916bcbad640a30cdace3a1e3ce0
93acda7879cb5fd96cddb5be9148bb22e025fbb7
refs/heads/master
2021-09-21T16:34:31.536725
2018-08-28T18:05:48
2018-08-28T18:05:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,475
py
import math import string import timeit import scipy.optimize # Parameter generation routines def lg(x): return math.log(x)/math.log(2.0) def sqrt(x): return math.sqrt(x) def make_param_list(spec_string,growth_factor): """ Generate a list of dictionaries given maximum and minimum values for each...
[ "cc.rafaz@zafar.cc" ]
cc.rafaz@zafar.cc
dc2171d0ee0d6fe1239997e6fb0b4e5ca1c6b440
38558ac2e78837e7f975364f03a1f55fb02103af
/PRA practice/PRA S.py
b414adcbe405d0e17e933b2fa4b89f09bb0e79b5
[]
no_license
SOURADEEP-DONNY/WORKING-WITH-PYTHON
a0bc2ff5ddab1b25563927c8f361c6512683d6ff
5198d14f0711a3ba7f2fe8bac61d6404c20ea40c
refs/heads/master
2023-07-14T04:49:08.399519
2021-08-29T15:22:33
2021-08-29T15:22:33
270,723,307
1
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
class Employee: def __init__(self,emp_id,emp_name,role): self.employeeId=emp_id self.employeeName=emp_name self.geInRole=role self.status="In Service" class Organization: def __init__(self,emp_list): self.employeeList=emp_list def updateEmployeeStatus(self,no...
[ "noreply@github.com" ]
SOURADEEP-DONNY.noreply@github.com
f72b33efb196f6401894f4994d0802946bc39515
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/cloud/gkehub/v1alpha/gkehub-v1alpha-py/google/cloud/gkehub/servicemesh_v1alpha/types/servicemesh.py
c524b4cb240d7c3bf95c02aa269442cef01aa673
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,838
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com