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
f280c39f7214cc27bd841b0e53dbfb11c472c4c1
a9672f0eb530d0d550070b48fe9d324063ace40b
/dataset/extend_existing_dataset.py
483a1e4831792d7f6b9b1a2af81868d98beb345d
[ "BSD-3-Clause" ]
permissive
SandUhrGucker/Voice-Cloning-App
7e025e5493ec0db723e057478e4a11080ed327a3
58488aa5690fcb94c778fb6f4d4d909b9f223c72
refs/heads/main
2023-07-31T13:10:53.383959
2021-09-20T18:53:59
2021-09-20T18:53:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,352
py
import argparse import logging import os from os.path import dirname, abspath import sys sys.path.append(dirname(dirname(abspath(__file__)))) from dataset.audio_processing import convert_audio from dataset.clip_generator import extend_dataset, MIN_LENGTH, MAX_LENGTH from dataset.analysis import save_dataset_info de...
[ "bandrew01@qub.ac.uk" ]
bandrew01@qub.ac.uk
c8266c779bd15012980580dab2a2b0f598c212e9
38ba13df9ea6e53c7b924cad1f3bea2de59c7a6a
/nibbler/trading/collectors/AlgoTrader/utils/__init__.py
35df5938672fc9ea34ff2f1b55ef71e5816f2d1b
[]
no_license
JizzFactoryEmployee/nibblerppman
0fbc1ce662cf8b4868b41a97291250fae29dc41d
160e557578a3e8a614450354f6ade233d32b052f
refs/heads/master
2022-11-14T01:10:31.743000
2020-07-04T01:21:52
2020-07-04T01:21:52
273,835,770
0
1
null
null
null
null
UTF-8
Python
false
false
339
py
time_frames = { '1m': 60*1000, '5m': 60*1000, '15m': 60*1000, '1h': 60*60*1000, '2h': 2*60*60*1000, '4h': 4*60*60*1000, '12h': 12*60*60*1000, 'd': 24*60*60*1000, 'w': 7*24*60*60*1000, 'M': 30*24*60*60*1000, } from .function_time_frame_multiplier import ( time_frame_mex, time...
[ "52958901+JizzFactoryEmployee@users.noreply.github.com" ]
52958901+JizzFactoryEmployee@users.noreply.github.com
c7486e10f1985261033d2b69fb7b594037405208
8d3dddecd11126f51440a4aebe8913d90b6d4e0e
/attractions_qunar/attractions_qunar/pipelines.py
d8ef0ed2a585de97f717b11bada2a590c8da4982
[]
no_license
ivanliu1989/routes-scraper
108168c4225df70172df4a41869e650efd0ff0dc
251e03a68d09fd311f0e49545001b777eb8460df
refs/heads/master
2020-04-22T16:05:11.328359
2019-03-03T08:24:38
2019-03-03T08:24:38
170,497,043
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html class AttractionsQunarPipeline(object): def process_item(self, item, spider): return item
[ "ivan.liuyanfeng@gmail.com" ]
ivan.liuyanfeng@gmail.com
647ee5c0365253201ebc228f53866ed68e2dac87
f55d730de1f9740aa8cc56b5d404b454dc560963
/todo_app/todo/apps.py
26ae8991b56b54f8890c2dd09e5b7dc38b2cd723
[]
no_license
momchilantonov/ToDoApp
4857e5d1c7f9d5ae8b2051f0114d1e59666d9a54
546032b977658ef1b5767abc049e4cced1840def
refs/heads/main
2023-06-01T03:02:37.347426
2021-06-23T10:07:11
2021-06-23T10:07:11
374,223,703
1
0
null
null
null
null
UTF-8
Python
false
false
149
py
from django.apps import AppConfig class TodoConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'todo_app.todo'
[ "eng.antonov@gmail.com" ]
eng.antonov@gmail.com
866d59ff1f0d2711412caf59b1629bc830a0a8ba
7486b3af4d4413a96b3e0bf76f776cd8605d7c05
/WonyJeong/programmers/level2/124.py
3c76022eaa94e98f79a36ece320078fa5e57430b
[]
no_license
WonyJeong/algorithm-study
7146e18ec9a3d7f46910e31890768b2e37f8b9b4
dd659bf75c902800bed226d392d144b691d8e059
refs/heads/main
2023-03-31T14:38:47.365622
2021-04-02T01:35:36
2021-04-02T01:35:36
334,309,434
3
1
null
null
null
null
UTF-8
Python
false
false
542
py
# def solution(n): # answer = "" # arr = ["4", "1", "2"] # while n: # answer = arr[n % 3] + answer # n = n // 3 - (n % 3 == 0) # return answer # for i in range(1, 15): # print(i, " : ", solution(i)) # 9494 import sys input = sys.stdin.readline if __name__ == "__main__": N = ...
[ "59948675+WonyJeong@users.noreply.github.com" ]
59948675+WonyJeong@users.noreply.github.com
5454e587a38bd0c25fc6e81b25d9de677ba6d29e
ef3a7391b0a5c5d8e276355e97cbe4de621d500c
/venv/Lib/site-packages/wasabi/tables.py
a6c71603a2adcb97ef07d9afa29efc2944a607c1
[ "Apache-2.0", "MIT" ]
permissive
countBMB/BenjiRepo
143f6da5d198ea6f06404b4559e1f4528b71b3eb
79d882263baaf2a11654ca67d2e5593074d36dfa
refs/heads/master
2022-12-11T07:37:04.807143
2019-12-25T11:26:29
2019-12-25T11:26:29
230,090,428
1
1
Apache-2.0
2022-12-08T03:21:09
2019-12-25T11:05:59
Python
UTF-8
Python
false
false
3,941
py
# coding: utf8 from __future__ import unicode_literals, print_function from .util import to_string, zip_longest, basestring_ ALIGN_MAP = {"l": "<", "r": ">", "c": "^"} def table( data, header=None, footer=None, divider=False, widths="auto", max_col=30, spacing=3, aligns=None, mu...
[ "bengmen92@gmail.com" ]
bengmen92@gmail.com
c890957d28cadac134e3484f1a486d85c08e3454
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_buffets.py
235a40b7167bfe4459bba376990f1586441cf568
[ "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
238
py
from xai.brain.wordbase.verbs._buffet import _BUFFET #calss header class _BUFFETS(_BUFFET, ): def __init__(self,): _BUFFET.__init__(self) self.name = "BUFFETS" self.specie = 'verbs' self.basic = "buffet" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1be6d2a87f5e4bc6b2fb71d1525a1f78a6dadd41
e04dbc32247accf073e3089ed4013427ad182c7c
/sumitb2019/C.py
3653705f97554a609bfbf09a858d5d307f6c71a6
[]
no_license
twobooks/atcoder_training
9deb237aed7d9de573c1134a858e96243fb73ca0
aa81799ec87cc9c9d76de85c55e99ad5fa7676b5
refs/heads/master
2021-10-28T06:33:19.459975
2021-10-20T14:16:57
2021-10-20T14:16:57
233,233,854
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
# from math import factorial,sqrt,ceil,gcd # from itertools import permutations as permus from collections import deque,Counter # import re # from functools import lru_cache # 簡単メモ化 @lru_cache(maxsize=1000) # from decimal import Decimal, getcontext # # getcontext().prec = 1000 # # eps = Decimal(10) ** (-100) # import ...
[ "twobookscom@gmail.com" ]
twobookscom@gmail.com
9be1a32eae5acfc9bd5b8570c0052eb586a1891e
956fd28ea7a7ec83b62cd85691c512e735e60b3a
/bin/azure/mgmt/datamigration/models/project_task_properties_py3.py
cbd010514ded3c5031944e6c904da5df706b5e3a
[ "MIT" ]
permissive
zdmc23/bash-lambda-layer
5517a27809d33801c65504c11f867d0d511b2e1c
e762df0189cfb894dab2d96bae1655b8857d5efb
refs/heads/master
2021-01-05T02:32:20.765963
2020-02-16T09:41:47
2020-02-16T09:41:47
240,846,840
0
0
MIT
2020-02-16T06:59:55
2020-02-16T06:59:54
null
UTF-8
Python
false
false
2,820
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 ...
[ "191707+zdmc23@users.noreply.github.com" ]
191707+zdmc23@users.noreply.github.com
381379527748a48ff699ba2f1009df2440fa6a78
906b969c383a440940af12f0e1cc01daedc475aa
/data_store/mongo_paginator.py
07c4ecb439f02eb6a36d85a57a4e659afb6101f2
[]
no_license
ok-water-survey/api
6f11a1ac2bb0f4b6822c26fae684447a726bc24b
3e39910ae9c09d208ce2a855a8920d659ed7049b
refs/heads/master
2021-01-22T03:54:27.868634
2015-01-14T16:53:16
2015-01-14T16:53:16
25,709,674
0
0
null
null
null
null
UTF-8
Python
false
false
2,432
py
__author__ = 'mstacy' import ast import math import collections from ordereddict import OrderedDict from rest_framework.templatetags.rest_framework import replace_query_param def MongoDataPagination(DB_MongoClient, database, collection, query=None, page=1, nPerPage=None, uri=''): db = DB_MongoClient if query...
[ "mbstacy@gmail.com" ]
mbstacy@gmail.com
805c58d57c9fad852f9e5bb34ff321d60b1010a5
11f5853044bdfe25c85951b5c540bf759478c7d0
/test/test_sequence_context.py
76aa96db3e0a72c7c035b926cc88ed29fd55fb41
[ "Apache-2.0" ]
permissive
alexanderwhatley/pepnet
2dbe894d31cfeef4b7404092ad6034640a33e791
82a3087262917d4780ed8facbd49b766f2ff9200
refs/heads/master
2020-04-21T06:03:12.297328
2019-02-06T20:55:50
2019-02-06T20:55:54
169,356,393
0
0
Apache-2.0
2019-02-06T04:49:07
2019-02-06T04:49:06
null
UTF-8
Python
false
false
745
py
from pepnet import Predictor, SequenceInput, Output import numpy as np def test_model_with_fixed_length_context(): model = Predictor( inputs={ "upstream": SequenceInput(length=1, variable_length=False), "downstream": SequenceInput(length=1, variable_length=False), "pept...
[ "alex.rubinsteyn@gmail.com" ]
alex.rubinsteyn@gmail.com
6830ac1d3b3ee6a74480064ecb8f6c97a4c32311
653eaef652627b155569b5fe9ab9bb3607fc1e78
/alg/counterfactual_recurrent_network/CRN_model.py
50092cc6d21a77d201ad5cdb8d3df7da96bc1d1c
[ "BSD-3-Clause", "MIT" ]
permissive
IlyaTrofimov/mlforhealthlabpub
11ab86a83bd2ffd2574364a956b322b0c62406ae
190cbad2faae9e559ffe7a68143df7f747d70adc
refs/heads/main
2023-04-16T03:58:38.423288
2021-04-21T10:22:43
2021-04-21T10:22:43
358,528,623
0
0
NOASSERTION
2021-04-16T08:25:26
2021-04-16T08:25:25
null
UTF-8
Python
false
false
23,932
py
''' Title: Estimating counterfactual treatment outcomes over time through adversarially balanced representations Authors: Ioana Bica, Ahmed M. Alaa, James Jordon, Mihaela van der Schaar International Conference on Learning Representations (ICLR) 2020 Last Updated Date: January 15th 2020 Code Author: Ioana Bica (ioana....
[ "e.s.saveliev@gmail.com" ]
e.s.saveliev@gmail.com
c2cd7ebdf774bed98d83547aca4237ab5a6368de
e76fda1fba459456c4bc105e7a6dcc6277a1a26c
/django_cv/blog/views.py
8c57056ca229de5098c6a2de02c156e4b20facf7
[]
no_license
lafabo/i-love-tutorials
6bb2a684a201975ab523d9721b02761a6269853c
eafcd47fd62e770107c7e1f08e0d6d60a539f1ec
refs/heads/master
2021-01-21T04:46:56.365199
2016-07-20T17:38:03
2016-07-20T17:38:03
47,709,568
0
1
null
null
null
null
UTF-8
Python
false
false
470
py
from django.shortcuts import render, get_object_or_404 from django.utils import timezone from .models import Post # Create your views here. def post_list(request): posts = Post.objects.filter(published_date__lte=timezone.now()).order_by('published_date') return render(request, 'blog/post_list.html', {'posts':...
[ "lazyfatboy@ya.ru" ]
lazyfatboy@ya.ru
f71826cc4a17768511a502866746130a64bd50c5
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/145.py
fdf3695e27e276ca2a4e819ce28982205a858fd0
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,398
py
""" imports """ from __future__ import division import glob, pickle, os, time, sys, argparse from copy import copy from numpy import array, sin, cos import numpy as np from pylab import * from pprint import pprint """ global variables """ """ classes """ """ functions """ def solve(C, F, X): current_production =...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
fd357ce22203e6ff0b435b0b66e4f227c52cbb08
4c0cfe74b972b6f758d479920118185f07b3ae66
/lab/lab01/tests/q3_1_2.py
fbb2f30f45921e7bc06228e82c457a74816bf068
[ "BSD-3-Clause" ]
permissive
ds-modules/Colab-data-8
20a72aee6b7d051d2aff50a49f02c89891201971
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
refs/heads/main
2023-05-29T04:05:47.976935
2021-06-02T23:15:06
2021-06-02T23:15:06
333,593,562
1
3
null
null
null
null
UTF-8
Python
false
false
2,355
py
test = { 'name': 'q3_1_2', 'points': 1, 'suites': [ { 'cases': [ { 'code': ">>> #It looks like you didn't give anything the name;\n" ">>> # seconds_in_a_decade. Maybe there's a typo, or maybe you ;\n" '>>> # ...
[ "cheungclj108@berkeley.edu" ]
cheungclj108@berkeley.edu
8b7d0a3296d50691cf8a0cffe573214b9f553a5d
f68afe06e4bbf3d523584852063e767e53441b2b
/Toontown/toontown/coghq/CogHQExterior.py
07ead6fdae6591c90c12eaf8a283850ce41ffca2
[]
no_license
DankMickey/Toontown-Offline-Squirting-Flower-Modded-
eb18908e7a35a5f7fc95871814207858b94e2600
384754c6d97950468bb62ddd8961c564097673a9
refs/heads/master
2021-01-19T17:53:36.591832
2017-01-15T02:00:04
2017-01-15T02:00:04
34,639,744
1
1
null
null
null
null
UTF-8
Python
false
false
6,228
py
from direct.directnotify import DirectNotifyGlobal from toontown.battle import BattlePlace from direct.fsm import ClassicFSM, State from direct.fsm import State from toontown.toonbase import ToontownGlobals from pandac.PandaModules import * from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs f...
[ "jareddarty96@gmail.com" ]
jareddarty96@gmail.com
31fdae76ee89f60e923d6125f8b0c0979a77f28c
d5b48163d236ca770be8e687f92192e2971397e8
/d2.py
f4cf2b96e37d9a200f82ba75ba05811c122464ae
[]
no_license
Kunal352000/python_program
191f5d9c82980eb706e11457c2b5af54b0d2ae95
7a1c645f9eab87cc45a593955dcb61b35e2ce434
refs/heads/main
2023-07-12T19:06:19.121741
2021-08-21T11:58:41
2021-08-21T11:58:41
376,606,535
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
str=input("Enter your string: ").casefold() dic={} for ch in str: if ch in dic: dic[ch]=dic[ch]+1 else: dic[ch]=1 for i in dic: print(i,":",dic[i])
[ "noreply@github.com" ]
Kunal352000.noreply@github.com
8ab606702f52dcff5be842c17d706af92de48878
bd2c549edd6dc38d7d9aaae0781d5e613e28b2a2
/guvi79.py
92681e422696b5ff56ce8e268740c63400738848
[]
no_license
pavanimallem/pavs1
18843530de9f3166332fd077f88320e4dba7d760
ce766a781dbb46594e319c086ff4f1648ca21d25
refs/heads/master
2020-03-24T07:14:15.466577
2018-09-11T11:26:07
2018-09-11T11:26:07
142,557,394
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
N,M=map(int,raw_input().split()) K=N*M for i in range(K+1): if K==i*i: print("yes") break else: print "no"
[ "noreply@github.com" ]
pavanimallem.noreply@github.com
4983254baacc2fcd9bba2d3cd421902e7fafd6a7
986a791e0702d354aa1fc7bb0a678bf5d5282564
/ax/models/torch/botorch_defaults.py
a64651634f8969ba24bc9ba7cb4400dc822c4bb1
[ "MIT" ]
permissive
jshuadvd/Ax
ab7892979eb22f5dd3488f5aa9a81a110c7c1120
e4d7826fd9839ec411c08e129acabd3c29154103
refs/heads/master
2020-07-28T16:42:59.404248
2019-09-19T02:02:27
2019-09-19T02:03:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,983
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from typing import Any, Callable, Dict, List, Optional, Tuple import torch from botorch.acquisition.acquisition import AcquisitionFunction from botorch.acquisition.objective import ConstrainedMCObjective, LinearMCObjective ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
d8030447090aa7eec30c37b4ae3f45b0fd8aeb50
60c4255fb0cf7ed817ff09d8113bf404cde8e12b
/env/lib/python2.7/site-packages/django/conf/locale/sv/formats.py
98efdf170c00c4b092105bb360b3f70f4e8332e7
[]
no_license
adamjberg/finna-be-octo-ninja
83aba13f619d4fbfb5308e48336917f0ada0459d
cf16bfcb3d7bb4e878ba0b99ad701b5cda8be34c
refs/heads/master
2021-01-10T20:19:20.849476
2014-01-11T05:42:23
2014-01-11T05:42:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
# -*- encoding: utf-8 -*- # This file is distributed under the same license as the Django package. # from __future__ import unicode_literals # The *_FORMAT strings use the Django date format syntax, # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date DATE_FORMAT = 'j F Y' TIME_FORMAT = 'H:i...
[ "ilikecattle@gmail.com" ]
ilikecattle@gmail.com
327ba90dccd54195e75cd71f17b040212a27108f
f5863cf378bce80d3aa459941dff79ea3c8adf5d
/Leetcode/80.Remove_Duplicates_from_Sorted_Array_II.py
ed2977219a1a145be0cf2b19d26cfb295afc768f
[]
no_license
Taeg92/Problem_solving
815c13ae7895708948482eeb05411322be00ac12
15c0fe0eda4f77d974451777cb01d10882d8aaa9
refs/heads/master
2021-11-18T22:03:21.727840
2021-09-06T14:21:09
2021-09-06T14:21:09
235,335,532
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
class Solution(object): def removeDuplicates(self, nums): """ :type nums: List[int] :rtype: int """ idx = 0 for num in nums: if idx < 2 or num != nums[idx-2]: nums[idx] = num idx = idx + 1 return idx nums = [1, 1...
[ "gtg92t@gmail.com" ]
gtg92t@gmail.com
f567892b375898d2f9e2c1370a515b0984a11f34
f0987e17aea6668158cd334c1fbacfe6286d3c77
/NITA/lib/jnpr/toby/tmp/RLI/RLI-27K/RLI-27608/Apps/fw_ms_filter_length.py
f3ef23b3af736df13fa3dd6599bba08b7ddaf50c
[]
no_license
fengyun4623/file
00bf21f952ea3f95ffc9fe18448b244b26b7fadb
3966c63d48557b0b94303896eed7a767593a4832
refs/heads/master
2023-04-02T05:01:25.066052
2020-07-29T16:15:31
2020-07-29T16:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,259
py
import sys,time,os,argparse from grpc.beta import implementations import firewall_service_pb2,jnx_addr_pb2,authentication_service_pb2 from firewall_service_pb2 import * from jnx_addr_pb2 import * from authentication_service_pb2 import * from grpc.framework.interfaces.face.face import * parser = argparse.ArgumentParser...
[ "srigupta@juniper.net" ]
srigupta@juniper.net
8ae65a6c0f57089c39e0396a9ff9bfa5bed30b79
16daab90ef28ada0e3efc4d38f8c4d62df30c43f
/Speaker-Verification/dataloader.py
590e3aacc8790eed435482c97ef137b2577d717b
[]
no_license
AntoniaLovjer/adversarial_robustness_audio
7ba60a0bdf50ed428eecdbc3a2adbbf583129877
34ffecaf73332698fccb0d90d2932dde09cc77a5
refs/heads/master
2020-09-22T12:16:54.420697
2019-12-02T14:22:38
2019-12-02T14:22:38
225,189,551
1
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
import os import re from glob import glob import torch import pandas as pd WORDS = 'yes no up down left right on off stop go silence unknown'.split() id2name = {i: name for i, name in enumerate(WORDS)} name2id = {name: i for i, name in id2name.items()} def load_data(data_dir): """ Return 2 lists of tuples: [(...
[ "google-dl-platform@googlegroups.com" ]
google-dl-platform@googlegroups.com
cc1d375be7815c3471c6daf7cbea65c02c7d0482
3b786d3854e830a4b46ee55851ca186becbfa650
/SystemTesting/pylib/vmware/linux/cli/linux_switch_impl.py
0b223e09d9aa54b664e17ddd52aef79123d7ea00
[]
no_license
Cloudxtreme/MyProject
d81f8d38684333c22084b88141b712c78b140777
5b55817c050b637e2747084290f6206d2e622938
refs/heads/master
2021-05-31T10:26:42.951835
2015-12-10T09:57:04
2015-12-10T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,789
py
import vmware.common.utilities as utilities import vmware.interfaces.switch_interface as switch_interface import vmware.parsers.horizontal_table_parser as horizontal_table_parser import vmware.schema.switch.arp_table_schema as arp_table_schema import vmware.schema.switch.logical_switch_schema as logical_switch_schema i...
[ "bpei@vmware.com" ]
bpei@vmware.com
8c757e728d9b1d70c2a7f43d7d50e4cad5895c90
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/dockerized-gists/7485132/snippet.py
eecd6e2d90eb2489e1c6d00d27db4c3719557144
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
1,920
py
""" The Pool module provides some classes for managing a fixed-size thread-safe pool of functionally identical objects. One use for this is database connections, which tend to take awhile to create. Pool class that manages the pool of objects. Constructor class used to create new instances of items in the Pool. For ...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
cd337e0d2b894589f48c3ec1e73609dc98c7cf3a
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayCommerceKidsRelationQueryResponse.py
2e7bc0d8e1af57db2e86b5335fa2c3b97ab35b64
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,091
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse from alipay.aop.api.domain.UserInfoVO import UserInfoVO class AlipayCommerceKidsRelationQueryResponse(AlipayResponse): def __init__(self): super(AlipayCommerceKidsRelationQueryResp...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
e87c9851e2a257f3a6f30c0d4aaa4feb2ddab3f8
eab72229ae04d1160704cbf90a08a582802a739c
/network.py
871f969fcafec392143f3dd51e648f4afb7a1b5b
[ "MIT" ]
permissive
megatazm/Crowd-Counting
444d39b0e3d6e98995f53badf4c073829038b6b7
647a055baccee2c3b6b780f38930e2ffd14d1664
refs/heads/master
2022-04-01T04:49:16.409675
2020-01-31T21:24:02
2020-01-31T21:24:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,957
py
import numpy as np import cv2 #import tensorflow as tf import tensorflow.compat.v1 as tf tf.disable_v2_behavior() import glob import os import random import math from matplotlib import pyplot as plt #from matplotlib.pyplot import cm from PIL import Image #from keras.models import load_model #import sys #from heatmap im...
[ "gpsunicamp016@gmail.com" ]
gpsunicamp016@gmail.com
ba3b6c4fcd09c39307eb920d7fc4fae0708ca11c
5f6b05b4a953a4cf4692b1164391bb57ad097e9d
/graph_nets-master_tf2/graph_nets/tests/modules_test.py
a4365baa76e1fd6002f1df6408823ab861801fe4
[ "Apache-2.0" ]
permissive
2877992943/somelib
0972fea9b7b22435d3086a71690102388d642a3a
83a3c40501a9fa667564391b57b1e1bbc63a2290
refs/heads/master
2021-01-03T17:06:22.607657
2020-02-13T02:53:06
2020-02-13T02:53:06
240,163,483
0
0
null
null
null
null
UTF-8
Python
false
false
48,995
py
# Copyright 2018 The GraphNets Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "2877992943@qq.com" ]
2877992943@qq.com
6d1f6f15112b1fc0a2a3b86385e1f8c6d9ccc2c6
c94914207f9a3918d0cd09807a101e81a8e7d9a8
/Finance/Project Alpha/ProjectAlpha/risk.py
d757e8ef74c1c99631a212d1c47fd4a172fc535c
[]
no_license
matthewmercuri/codedeposit
eb8265d6219284ee75cba2e1abf50f1b0ef17a09
f51d3b1bdacec96af699bc8feb993f6ed60f772c
refs/heads/main
2023-06-10T21:27:42.550236
2021-07-08T20:57:53
2021-07-08T20:57:53
373,534,219
0
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
import numpy as np ''' Ideally, we would want to put these metrics in a df or database with the return series of the portfolio. How would this translate to when we use these metrics to backtest a portfolio that trades? - want to figure out a way where we can just pass the history to any one method and have a result o...
[ "mercurimatthew@gmail.com" ]
mercurimatthew@gmail.com
a5cfaddec32dede10839f846563eaef3853c4601
4e5141121d8b4015db233cbc71946ec3cfbe5fe6
/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-ifmgr-cfg/gn-create-xr-ifmgr-cfg-34-ydk.py
a3abe62056bc1ac1ba680e56c1d574ac69b5d763
[ "Apache-2.0" ]
permissive
itbj/ydk-py-samples
898c6c9bad9d6f8072892300d42633d82ec38368
c5834091da0ebedbb11af7bbf780f268aad7040b
refs/heads/master
2022-11-20T17:44:58.844428
2020-07-25T06:18:02
2020-07-25T06:18:02
282,382,442
1
0
null
2020-07-25T06:04:51
2020-07-25T06:04:50
null
UTF-8
Python
false
false
3,721
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, 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 applicab...
[ "deom119@gmail.com" ]
deom119@gmail.com
bff56bbdcdcd2052423680ef460434500e1e3f6d
64660f7d708569135777d3ae429feed513f5d87f
/notebooks/_solutions/pandas_06_data_cleaning2.py
63584f4c83d54a6bb5b985d4237a721a10f351d6
[ "BSD-3-Clause" ]
permissive
jorisvandenbossche/DS-python-data-analysis
ea8fd46e9160d00be8550aa8d87ea33146161b54
be5d5030e891590990f9044ac66b116799d83fe5
refs/heads/main
2022-12-13T03:53:52.365280
2022-12-04T18:54:39
2022-12-04T18:54:39
73,628,771
87
67
BSD-3-Clause
2022-12-12T15:00:28
2016-11-13T16:39:51
Jupyter Notebook
UTF-8
Python
false
false
78
py
casualties = casualties_nl.rename(columns=clean_column_name) casualties.head()
[ "noreply@github.com" ]
jorisvandenbossche.noreply@github.com
44d1bb63f6fb5cac8e01d44a916c0761f1f59078
d58bc2475a41e7c36e22947565c099908f84cfd6
/samples/openapi3/client/petstore/python-experimental/petstore_api/paths/user_logout/get.py
c8a52c7734766188dde2478208cb0fdeff83f8cb
[ "Apache-2.0" ]
permissive
yaronius/openapi-generator
d8390dc2cfd9330d3f05a1f517612d793e332ead
9f3fac53c1689b82bf4c99b664e10e4a5decfb8e
refs/heads/master
2022-11-03T02:27:44.670087
2022-08-17T12:17:30
2022-08-17T12:17:30
175,407,506
0
0
Apache-2.0
2023-09-04T20:41:29
2019-03-13T11:30:05
Java
UTF-8
Python
false
false
4,404
py
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import re # noqa: F401 import sys # noqa: F401 import typing import urllib3 import functools # noqa: F401 from petstore_api import api_client, exceptions import decimal # noqa: F401 from datetime import d...
[ "noreply@github.com" ]
yaronius.noreply@github.com
6136bbbbebc5bb771fd00b992c25ef41855cd34d
c3d5dcf3c18e0e652d81cdf2edb87bdc0e3f2c72
/user/models.py
1978c2d4f31c9d846418bad20d246153683fb04f
[]
no_license
webclinic017/easy_ledger
bc6743e4826d6d67d2d2b7f38476760077b2c7c3
9e85a726000cc54fc77d368a48a828a716664c07
refs/heads/main
2023-04-10T09:11:15.530056
2021-04-23T09:35:14
2021-04-23T09:35:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
from django.db import models from django.contrib.auth.models import AbstractUser from django.utils.translation import ugettext_lazy as _ from django.conf import settings class User(AbstractUser): username = models.CharField(max_length=200, blank=True, null=True) email = models.EmailField(_('email address'), u...
[ "ppark9553@gmail.com" ]
ppark9553@gmail.com
91fc770e5872a64b5c1af1537736fd0d19afceae
28024c936d258d56e3c02bfda44204fab8f32964
/client/dvaclient/constants.py
a156927b6d8fd9bd73732cbd03f6105d087656ee
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
skgone/DeepVideoAnalytics
c1db730af253a2ec3acb9c7e6cce82d3264b72f2
6897dd92feed23af974dbcb7b5f0d2a9377f66b2
refs/heads/master
2021-07-01T01:36:07.086632
2020-09-20T10:07:26
2020-09-20T10:07:26
137,233,795
0
0
null
2018-06-13T15:19:50
2018-06-13T15:19:49
null
UTF-8
Python
false
false
443
py
SCHEDULE = 'S' PROCESS = 'V' QUERY = 'Q' DETECTION = 'D' INDEXING = 'I' TRAINAPPROX = 'A' CLASSIFICATION = 'C' IMAGES = 'I' VIDEOS = 'V' INDEX = 'X' TENSORFLOW = 'T' CAFFE = 'C' PYTORCH = 'P' OPENCV = 'O' MXNET = 'M' INDEXER = 'I' APPROXIMATOR = 'P' DETECTOR = 'D' ANALYZER = 'A' SEGMENTER = 'S' YOLO = "Y" TFD = "T" EXA...
[ "akshayubhat@gmail.com" ]
akshayubhat@gmail.com
a6c4d1ea49aea7407ef9c59364ed2480517c29ca
b170bd640f7259d641008a974a59ae7111788ca1
/dcgan.py
461d9841337d1f2a6656215a573991491876b815
[]
no_license
kant/chainer-dcgan
b75522fd09a3e4936d68e175318dfedb6e574480
20062e3e6c1156857363ea0ed3cfe4abd63b2a8c
refs/heads/master
2020-04-26T05:37:14.165650
2017-09-14T09:17:01
2017-09-14T09:17:01
173,340,366
0
0
null
2019-03-01T17:14:22
2019-03-01T17:14:21
null
UTF-8
Python
false
false
4,667
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import chainer from chainer import training from chainer.training import extensions from net import Discriminator from net import Generator from updater import DCGANUpdater from visualize import out_generated_image def main(): ...
[ "ytkmkw@gmail.com" ]
ytkmkw@gmail.com
8c89741248027e94946cf868971e08a4eb9cc57c
5bd4206a94086d75b2808c4929063fb6b50108f5
/loopy/transform/iname.py
4c3cd0a6988b269139eceb7028423407765282f6
[ "MIT" ]
permissive
christophsk/loopy
7c10f30810be223c56ba99d64061b781b1cd62b0
baef6e7603b2bba683327fd43cb006864c225aa6
refs/heads/master
2021-06-01T08:17:54.948840
2016-07-14T02:16:16
2016-07-14T02:16:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
47,451
py
from __future__ import division, absolute_import __copyright__ = "Copyright (C) 2012 Andreas Kloeckner" __license__ = """ 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, incl...
[ "inform@tiker.net" ]
inform@tiker.net
fe77dea5d4d477345bc22432f871ea702b083913
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03106/s992142201.py
9c7161f9a8277d4dc2ac8882018659d1ef28d852
[]
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
143
py
a,b,k=map(int,input().split()) Min=min(a,b) l=[] for i in range(Min,0,-1): if a%i==0 and b%i==0: l.append(i) #print(l) print(l[k-1])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e25a8b7a032e5d796003b9abe21a15a6d1a72cc6
3141eceaae7509301a125e10c5ba4ec4c24b6412
/pydruid/db/sqlalchemy.py
9ac51f822a4441fd3639443b990874982ba159e5
[ "Apache-2.0" ]
permissive
isabella232/pydruid_DEPRECATED
a6959112709845632d51976661bb7358efc227c7
471bc21308f98a7f9d245e2ea76e54892bd0b805
refs/heads/lyft
2023-03-11T08:29:49.961290
2020-10-09T19:17:20
2020-10-09T19:17:20
315,906,418
0
0
NOASSERTION
2021-02-23T18:56:22
2020-11-25T10:36:33
null
UTF-8
Python
false
false
7,412
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from sqlalchemy.engine import default from sqlalchemy.sql import compiler from sqlalchemy import types import pydruid.db from pydruid.db import exceptions RESERVED_SCH...
[ "maximebeauchemin@gmail.com" ]
maximebeauchemin@gmail.com
21641b139d3431097cf789c444bfd4c467e6ebe1
20d1bf9505929948f3fc50040e1471baadbe0351
/keras_frcnn/muscima_annotation_generator.py
708bb5917465720f3738e2e50da596878874f90b
[ "MIT" ]
permissive
JuanuMusic/MusicObjectDetector
1d1c57508196fe66f8a3a4acb4ef3ea28f652510
0382c36fa4b4ac29d80980204b0710a5af3c0bad
refs/heads/master
2021-09-02T07:27:06.277597
2017-12-31T12:54:44
2017-12-31T12:54:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,787
py
import os from itertools import groupby from lxml import etree from typing import List, Tuple from lxml.etree import Element, SubElement def create_annotations_in_plain_format(exported_annotations_file_path: str, objects_appearing_in_cropped_image: List[ Tuple[str, str, Tuple[int, int, int, int]]]): with ope...
[ "alexander.pacha@gmail.com" ]
alexander.pacha@gmail.com
f22791718a15c54fba750f4dd80a0d6972ecc52f
077f29021738c3b577c7c3d9ef5851d76e93cbed
/demo/assignments/days_between.py
bff4dffec1b0f26912c3685b986474e7419edc8c
[]
no_license
srikanthpragada/PYTHON_10_JULY_2020
fb410d87260eb290ebcc5ac6a88b6d6b01ee15b5
b7a586cbcd49934d36facb4dd748c54038838334
refs/heads/master
2022-12-05T09:05:33.192365
2020-08-26T14:27:09
2020-08-26T14:27:09
279,319,937
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
from datetime import datetime, date file = open("dates.txt", "rt") dates = [] for line in file: parts = line.strip().split(",") try: if len(parts) == 2: fd = datetime.strptime(parts[0], "%d-%m-%Y") sd = datetime.strptime(parts[1], "%d-%m-%Y") elif len(parts) == 1: ...
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
32369f6c433f82f5061430fab8e40f62b23a08e0
7deda84f7a280f5a0ee69b98c6a6e7a2225dab24
/KBL/migrations/0009_auto_20200514_1542.py
3b32eeb87339f7dfb830c0485a45742ab4d6c936
[]
no_license
Cornex-Inc/Coffee
476e30f29412373fb847b2d518331e6c6b9fdbbf
fcd86f20152e2b0905f223ff0e40b1881db634cf
refs/heads/master
2023-01-13T01:56:52.755527
2020-06-08T02:59:18
2020-06-08T02:59:18
240,187,025
0
0
null
2023-01-05T23:58:52
2020-02-13T05:47:41
Python
UTF-8
Python
false
false
444
py
# Generated by Django 2.1.15 on 2020-05-14 15:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('KBL', '0008_customer_company_date_establishment'), ] operations = [ migrations.AlterField( model_name='customer_company', ...
[ "khm4321@naver.com" ]
khm4321@naver.com
01de42efe5caf477e9a65304c3a50ec28a367993
9b8b2b867379d04bdd2568bfd211f456401ce702
/LogisticandSVM.py
ceaef98d4cbe1b3622d090e09ed77873dda733fb
[]
no_license
bhatnagaranshika02/Machine-Learning-Practice
fb246ba5bac20aae18c58a7f58b529c63fd09bdd
7790bb624d467c221749c7a16f4e2486668e6dbe
refs/heads/master
2022-11-19T09:27:52.848116
2020-07-20T21:08:16
2020-07-20T21:08:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
from sklearn import datasets digits=datasets.load_digits() X_train,x_test,Y_train,y_test=train_test_split(digits.data,digits.target) lr = LogisticRegression() lr.fit(X_train, y_train) print(lr.score(X_train, y_train)) print(lr.score(X_test, y_test)) # Apply SVM and print scores svm = SVC() svm.fit(X_train, y_train) pr...
[ "bhatnagaranshika02@gmail.com" ]
bhatnagaranshika02@gmail.com
6c730c4a0976bf8d2ad2c79816467ea1a0eff151
090324db0c04d8c30ad6688547cfea47858bf3af
/soko/struct/glue.py
821c9fd3e606fc467d0a40edc857959287d960d6
[]
no_license
fidlej/sokobot
b82c4c36d73e224d0d0e1635021ca04485da589e
d3d04753a5043e6a22dafd132fa633d8bc66b9ea
refs/heads/master
2021-01-21T13:14:29.523501
2011-06-12T07:34:14
2011-06-12T07:34:14
32,650,745
1
0
null
null
null
null
UTF-8
Python
false
false
901
py
from soko.env.env import Env from soko.struct.expanders.pushexpander import PushExpander from soko.struct.estimators import sokoestimator from soko.struct import modeling class EnvGlue(Env): def __init__(self, maze): self.maze = maze def configure(self, config): #TODO: allow to use different ...
[ "ivo@danihelka.net" ]
ivo@danihelka.net
e5abebf008390550a580703fa551688a1b0449eb
6eec2948c0907b5377de51e61014a48dff3d5ce7
/cairo2/arcos.py
4c1d2659d7d0e1656107dd73408a3a525d35e77a
[]
no_license
clcneogeek325/Script_python
4da937cb2caee93a2e0eb945e77ccac8e88ec4bc
87607c97fa738b3e64aefbe0e8c4425724ecff73
refs/heads/master
2021-01-17T07:44:07.124077
2016-06-04T03:26:44
2016-06-04T03:26:44
15,943,668
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
#!/usr/bin/env python import gtk, pygtk, cairo pygtk.require('2.0') class dibujar: def __init__(self): self.ventana = gtk.Window(gtk.WINDOW_TOPLEVEL) self.ventana.set_position(gtk.WIN_POS_CENTER) self.ventana.set_size_request(400,300) self.ventana.set_title("Dibujando un circulo") self.areaDibujo = gtk.Drawi...
[ "clcneogeek@gmail.com" ]
clcneogeek@gmail.com
60309ee1fa094f91a63de0035ad8e89d9948f64f
6a2539df3313167850c2cbace97e83cf5939f813
/29/02/5.py
2b7dcbd0ecfe534f8894fedfc77786e2f7267a8a
[ "CC0-1.0" ]
permissive
pylangstudy/201705
24936de9347c37905c853d4c59ee2ff8b8949969
c69de524faa67fa2d96267d5a51ed9794208f0e4
refs/heads/master
2021-01-22T03:22:38.215696
2017-06-09T02:50:52
2017-06-09T02:50:52
92,374,699
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
a = 'True!!' if True else 'False...' print(a)
[ "pylangstudy@yahoo.co.jp" ]
pylangstudy@yahoo.co.jp
b6094ed7de55c1744bf0c91b68d39a96cfc1bc13
182bc0ab5886aed9ef4236645e0f0ac8986f0b21
/pypilot/serialprobe.py
19ab080e7b1f9c46a9fcefc0547bd07b40780e60
[]
no_license
dmdelorme/pypilot
ad95fe48c0ec7dcbabd36b89dd9ff9337f1502b3
39b2573e6c687fbc8786431014d028af4e2c56eb
refs/heads/master
2020-04-16T10:33:34.552610
2019-01-08T23:13:46
2019-01-08T23:13:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,361
py
#!/usr/bin/env python # # This Program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public # License as published by the Free Software Foundation; either # version 3 of the License, or (at your option) any later version. import sys, os, time import json pypilot_dir...
[ "seandepagnier@gmail.com" ]
seandepagnier@gmail.com
8e790772dc1b98f875809de6ee3c8a4febabb32f
a81d21f98dd558416f8731f001cb8151d8309f4f
/interviewbit/test/test_kmp.py
c6f61524a22f6d1a9b02a51773adcef0494da13f
[]
no_license
marquesarthur/programming_problems
1128c38e65aade27e2435f7987d7ee2b328fda51
2f7df25d0d735f726b7012e4aa2417dee50526d9
refs/heads/master
2022-01-25T18:19:02.575634
2022-01-18T02:07:06
2022-01-18T02:07:06
32,213,919
2
0
null
2020-10-13T01:29:08
2015-03-14T13:44:06
Python
UTF-8
Python
false
false
525
py
import unittest from interviewbit.stringm.kmp import KMP class KMPTest(unittest.TestCase): def test_base_case(self): s = KMP() pattern = "ABCDABD" str = "ABC ABCDAB ABCDABCDABDE" ret = [15] result = s.search(pattern, str) self.assertEqual(result, ret) def...
[ "marques.art@gmail.com" ]
marques.art@gmail.com
fd96b02df510870d46c989b700494017c3aca79a
1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc
/venv/lib/python2.7/site-packages/ansible/modules/network/fortios/fortios_log_fortianalyzer_filter.py
ff2ae4eb1c590af8b604708db6ee1d3213a97e17
[ "MIT" ]
permissive
otus-devops-2019-02/devopscourses_infra
1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c
e42e5deafce395af869084ede245fc6cff6d0b2c
refs/heads/master
2020-04-29T02:41:49.985889
2019-05-21T06:35:19
2019-05-21T06:35:19
175,780,457
0
1
MIT
2019-05-21T06:35:20
2019-03-15T08:35:54
HCL
UTF-8
Python
false
false
12,113
py
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2019 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Lic...
[ "skydevapp@gmail.com" ]
skydevapp@gmail.com
a388c7647550a18d118c61a5e81bd0186660777e
c152873f28e62dbbf7100f789364cf5a7e578a38
/sncosmo/magsystems.py
c593a6f5d5ba4252b6c47ecf478a3b8eef6aea91
[ "BSD-3-Clause" ]
permissive
barentsen/sncosmo
d537b906e3f61098a731ff5d2fefcc251935a30f
7276566ef3e2b7fd21beba25cc72dbcedf55e161
refs/heads/master
2020-12-24T12:01:00.052524
2016-11-06T03:28:08
2016-11-06T03:51:53
73,101,477
0
0
null
2016-11-07T17:03:28
2016-11-07T17:03:28
null
UTF-8
Python
false
false
4,853
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst import abc import math import numpy as np import astropy.units as u import astropy.constants as const from ._registry import Registry from .bandpasses import get_bandpass __all__ = ['get_magsystem', 'MagSystem', 'SpectralMagSystem', 'ABMagSy...
[ "kylebarbary@gmail.com" ]
kylebarbary@gmail.com
386035a852c2dc374f26af267d7ccd3a54c081a1
0e338d96c395950090c9252a73fc6dd2169decf0
/p4ss/sniff_veth0.py
c5e92907b4b9af4fe982b28d76e722391d117e7b
[]
no_license
hotephen/p4-dev
4281fbecbef406e5dfe48774d5f555235b4dfc1d
8476734562511cde6663a4910b71dfaeed7bf34b
refs/heads/master
2023-01-12T04:40:41.786827
2022-12-30T05:30:23
2022-12-30T05:30:23
130,222,370
0
2
null
null
null
null
UTF-8
Python
false
false
1,244
py
#!/usr/bin/env python import sys import struct from scapy.all import sniff, sendp, hexdump, get_if_list, get_if_hwaddr, bind_layers from scapy.all import Packet, IPOption from scapy.all import * from scapy.layers.inet import _IPOption_HDR from scapy.all import IP, TCP, UDP, Raw, Ether, Padding from time import sleep...
[ "you@example.com" ]
you@example.com
74fd5bc6912ca3e02e94ad89eefdbae7bae13d48
91bd58191c9a25bc92f5372d5344b808b4f5ce5e
/tf_experiments/plot_keras.py
93125da3cda7913711ae56da77efd762450c7df8
[]
no_license
CBMM/Generalization-Puzzles-in-Deep-Networks-1
c25c29b05b0439cd4cf0b53ce902b1ce5d775b6c
f7fa35fb68a9badab6843689f30b67e59fd379a3
refs/heads/master
2023-03-13T01:39:53.479689
2021-03-05T00:33:32
2021-03-05T00:33:32
449,828,772
0
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
import matplotlib.pyplot as plt import pickle import os import numpy as np from pdb import set_trace as st def plot_keras(history): ''' :param history: the dictionary history saved by keras. :return: ''' nb_epochs = len(history['acc'],) # Plots for training and testing process: loss and accu...
[ "brando90@mit.edu" ]
brando90@mit.edu
7b881aa2ae99aba2c17a00a8a1eebb4c614a982c
90c6485784db418b660e88bb3e76ee242475af85
/libs/DROP_DATABASE_V2.py
b6d35abfb1f46d36692842d89dc82728b512c348
[]
no_license
lamtov/project_tuannv48_sql_manager
204f00809226ae9129ae45a9acd799c3c3bb5889
c4ec4d6de251f7d2622e61b34dd11163660839ec
refs/heads/master
2023-01-08T12:01:06.029465
2020-11-12T00:14:17
2020-11-12T00:14:17
311,110,631
0
0
null
null
null
null
UTF-8
Python
false
false
20,433
py
Mai's comment: 1. flask là gì 2. các gói repository offline có mục đích gì, giải thích rõ hơn 3. Docker Iage là gì, có mục đích gì 4. Các mục có giải thích phía dưới thì phải có chú thích (ví dụ xem mục 2.1) 5. Đối với mỗi khối Mô tả chi tiết URL, phương thức, body request mẫu và body response để hình dung 6. Có một lu...
[ "tovanlam20132223@gmail.com" ]
tovanlam20132223@gmail.com
d40611b67fe7924473c6b498aa710a8ffbb3d8f6
434d5256fa47c6bec0e5d79917f2d09b52490fa0
/examples/mlsdc_mg.py
852fde05462da146465a83f88cd175be0e8dbe54
[]
no_license
Parallel-in-Time/PyPinT
2d0a54d21a6b50863c6acef69eb9a86d3bcc7fcf
90aed34cf43d633e44f56444f6c5d4fa39619663
refs/heads/master
2016-08-03T18:58:05.269042
2014-06-10T08:27:30
2014-06-10T08:32:45
19,447,961
0
2
null
2014-06-02T14:26:08
2014-05-05T07:39:20
Python
UTF-8
Python
false
false
8,785
py
# coding=utf-8 """ .. moduleauthor:: Torbjörn Klatt <t.klatt@fz-juelich.de> .. moduleauthor:: Dieter Moser <d.moser@fz-juelich.de> """ from collections import OrderedDict import numpy as np dt = 0.001 from pypint.utilities.logging import LOG, print_logging_message_tree, VERBOSITY_LVL1, SEPARATOR_LVL1, SEPARATOR_LVL2...
[ "t.klatt@fz-juelich.de" ]
t.klatt@fz-juelich.de
990899041c7f51cc4a3c9a3c649736772d803b5f
0d949e3373deb48b715080fce4ea397d656cd701
/garfield/deterrence/tests/test_admin.py
353d770887788d87516d26d2b46256e75be499f0
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
RobSpectre/garfield
f291d6022024a6238839db4a2dee47be1e1501c5
ab806b7ad9221bd1b17c92daadd0a53a4f261cbe
refs/heads/master
2022-07-27T05:40:07.533290
2021-06-10T17:38:46
2021-06-10T17:38:46
106,447,706
3
1
MIT
2022-04-22T20:51:54
2017-10-10T17:14:21
Python
UTF-8
Python
false
false
723
py
from django.test import RequestFactory from django.test import TestCase from deterrence.admin import DeterrenceMessageInline class DeterrenceInlineTestCase(TestCase): def setUp(self): self.factory = RequestFactory() self.request = self.factory.get("/stuff") def test_deterrence_message_inlin...
[ "rob@brooklynhacker.com" ]
rob@brooklynhacker.com
2a33a9ba5550d1e34ea409bff8c0c42eb0988458
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_inbound_nat_rules_operations.py
4cf4860cf8f810796c6773d6e6b8b8e59f35b58f
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
22,430
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" ]
catchsrinivas.noreply@github.com
ad9deeab0d64712cb21fa7a68f0bae20d525d236
7ab85ba79a6553659f0b324ecebb4bb39f8a8a1c
/class_method2.py
03efa5297b7caf919e9d4354c4ec872da162c672
[]
no_license
subinmun1997/my_python
b75db77a035fa8f531d9872bf33a1818a002206a
634acc948e7758f5d26084536c506e7da45cd53c
refs/heads/master
2022-12-28T21:11:40.173378
2020-10-16T08:02:18
2020-10-16T08:02:18
292,875,851
0
0
null
null
null
null
UTF-8
Python
false
false
287
py
class Simple: count = 0 def __init__(self): Simple.count += 1 @classmethod def get_count(cls): return cls.count # cls에 전달되는 것은 Simple 클래스 def main(): print(Simple.get_count()) s = Simple() print(Simple.get_count()) main()
[ "qzxy812@gmail.com" ]
qzxy812@gmail.com
a6dcf6ed3c58a620fd57e409629611ca0ccf68e2
45a61af9028a1805c08b6f7638c7aebe8140bd2d
/Hydrology/old/Correlaciones_regresiones_v2.15.0.py
839246f267e100849c82e0b1f5bc154c068a6d5a
[]
no_license
gumilar19/Personal
1c1fac036af3a4b9d4d425b7c8cb604271b94fd2
c666b07c5184006aca8e6ad946cc98ef72dfe9fe
refs/heads/master
2023-08-14T20:39:07.164849
2021-09-29T11:19:10
2021-09-29T11:19:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,996
py
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. Author: CCCM """ #%% Preambulo def limpiar_kernel(): try: from IPython import get_ipython get_ipython().magic('clear') get_ipython().magic('reset -f') except: pass limpiar_kernel() import pa...
[ "52244870+ccalvocm@users.noreply.github.com" ]
52244870+ccalvocm@users.noreply.github.com
67ae26888983b46d5e6b9c5b7eaff0f630ef0073
1ca4f7d65ecc85f3607f4e56216875b094219e0d
/144.py
c8e7a5409b60bc2ce3e2667cb4a399e17940ef33
[]
no_license
ZhangRui111/MyLeetCode
4c1ac6b309b6c497956a46b1054201c06813c563
168fb5a720847721aad426a48a09999b59285794
refs/heads/master
2023-06-08T03:09:26.594980
2021-07-05T00:30:13
2021-07-05T00:30:13
381,576,497
1
0
null
null
null
null
UTF-8
Python
false
false
1,125
py
""" tag: 栈;树 144. 二叉树的前序遍历 https://leetcode-cn.com/problems/binary-tree-preorder-traversal/ """ # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution1: """ Recursion """...
[ "zhangruisg111@163.com" ]
zhangruisg111@163.com
6515831fad7e7e60012980b3868f8fcee9c1ee01
3e50ed55208122b2f8b34e7f26f33c9ef70efce5
/python/pygame_home/full_screen.py
15f4ea3d3d06f15105b62e1d69837b5d38a8c3fe
[]
no_license
brady-wang/mac_home
b8343da428a4e6696b89d0e6a53ff0dfc87ffd21
c56a739c31d3c0f62d26d8512fe1a90c036a1f96
refs/heads/master
2023-01-14T11:42:02.544322
2019-10-02T11:47:27
2019-10-02T11:47:27
193,177,718
0
0
null
2023-01-04T13:55:31
2019-06-22T01:27:10
PHP
UTF-8
Python
false
false
754
py
# *_*coding:utf-8 *_* import pygame from pygame.locals import * from sys import exit background_image = 'images/bk.jpg' pygame.init() screen = pygame.display.set_mode((640, 480), 0, 32) background = pygame.image.load(background_image).convert() Fullscreen = False while True: for event in pygame.event.get(): ...
[ "brady.wang@qq.com" ]
brady.wang@qq.com
b58ad3496928f3809ec4c67f94811bbc30c644b9
3f53e38076713ab49fd03a54c7c9d3e21de5eb14
/Pyrado/scripts/training/bob-d_dql.py
421de7b102c0d48ccc9e952111e4b2879f71b26f
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
arlene-kuehn/SimuRLacra
4510473789d1c8927c8d5969a9606238523d5dd7
15901f70f0538bce19acdda2a0018984f67cc0fe
refs/heads/master
2023-01-28T13:10:05.607575
2020-12-04T14:47:01
2020-12-04T14:47:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,718
py
# Copyright (c) 2020, Fabio Muratore, Honda Research Institute Europe GmbH, and # Technical University of Darmstadt. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source ...
[ "fabio.muratore@famura.net" ]
fabio.muratore@famura.net
f1ff9eb781befbc411938d6dca7c4e91b57ac891
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.0_rd=0.65_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=94/params.py
50a976b4643a17024e6aad70bfb0d7da1bcc731c
[]
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
255
py
{'cpus': 4, 'duration': 30, 'final_util': '3.056548', 'max_util': '3.0', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.65', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'GSN-EDF', 'trial': 94, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
c3ec0afea7ee4fa6e33481c3719572532fe791c2
c7f43c4cc0ee84a5fe246b67f51e30b8d726ebd5
/keras/keras46_MC_1_fashion.py
1a2eaf22ee6fd437d4d6962fe544b82cd65f86a1
[]
no_license
89Mansions/AI_STUDY
d9f8bdf206f14ba41845a082e731ea844d3d9007
d87c93355c949c462f96e85e8d0e186b0ce49c76
refs/heads/master
2023-07-21T19:11:23.539693
2021-08-30T08:18:59
2021-08-30T08:18:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,978
py
# CNN # fashion_mnist # from tensorflow.keras.callbacks import ModelCheckpoint import numpy as np import matplotlib.pyplot as plt from tensorflow.keras.datasets import fashion_mnist #1. DATA (x_train, y_train), (x_test, y_test) = fashion_mnist.load_data() print(x_train.shape, y_train.shape) # (60000, 28, 28)--> 흑백 1 ...
[ "hwangkei0212@gmail.com" ]
hwangkei0212@gmail.com
66cba8cea9deee015eb75c5dcb0821fc6757469a
1ef536d93c6616f9793e57a9ebc6b44248d50202
/move_product_out_to_in/customer_code/models/res_partner.py
7b6b7f6d481a13d3ea17555ec3913e2e3a386849
[]
no_license
mohamed4185/Express
157f21f8eba2b76042f4dbe09e4071e4411342ac
604aa39a68bfb41165549d605d40a27b9251d742
refs/heads/master
2022-04-12T17:04:05.407820
2020-03-09T14:02:17
2020-03-09T14:02:17
246,014,712
1
3
null
null
null
null
UTF-8
Python
false
false
279
py
# -*- coding: utf-8 -*- from odoo import api, fields ,models from odoo.exceptions import ValidationError import logging _logger = logging.getLogger(__name__) class ResPartner(models.Model): _inherit="res.partner" customer_code=fields.Char('Code',size=10)
[ "mohamed.abdelrahman@businessborderlines.com" ]
mohamed.abdelrahman@businessborderlines.com
4a42cd4a8c1653a170f6d0bcdd745e2fc8287620
7137161629a1003583744cc3bd0e5d3498e0a924
/airflow/sensors/external_task.py
c4510015138e01d416c907cfacebc4d48c0d7c31
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
jbampton/airflow
3fca85975854eb916f16143b659a9119af143963
dcfa14d60dade3fdefa001d10013466fe4d77f0d
refs/heads/master
2023-05-25T22:31:49.104069
2021-09-18T19:18:32
2021-09-18T19:18:32
247,645,744
3
0
Apache-2.0
2020-03-16T08:12:58
2020-03-16T08:12:57
null
UTF-8
Python
false
false
14,226
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
jbampton.noreply@github.com
7178d7fb0f535f9f31617612709df1b85386f6ef
8c92787a518bea3d528641311939137f7f37b56c
/grab/spider/error.py
056eaeef85e057b70d0019b7e1da520f8fcb7d46
[ "MIT" ]
permissive
brabadu/grab
8d973d5052bc60d06d67e1ea82814a939dea6877
92b1d68ceeece3087e053064520261a7aef3bd02
refs/heads/master
2021-01-17T22:16:16.923189
2013-10-02T20:28:44
2013-10-02T20:28:44
13,282,380
1
0
null
null
null
null
UTF-8
Python
false
false
971
py
__all__ = ('SpiderError', 'SpiderMisuseError', 'FatalError', 'StopTaskProcessing', 'SpiderInternalError', 'NoTaskHandler', 'NoDataHandler') class SpiderError(Exception): "Base class for Spider exceptions" class SpiderMisuseError(SpiderError): "Improper usage of Spider framework" class...
[ "lorien@lorien.name" ]
lorien@lorien.name
9668b5f349cdc67a5166ee2ddb3178f990d70225
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/Keyboard-Layout-Editor/__init__.py
3eaf1adc8f98d6f2aa0df9bec87cf4e5246ec300
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,510
py
# addon details bl_info = { "name": "Import: KLE Raw JSON format (.json)", "author": "/u/kdem007 /u/jacopods", "version": (2, 4), "blender": (2, 79, 0), "location": "File > Import-Export > Keyboard Layout Editor Raw (.json) ", "description": "Import Keyboard Layouts", "warning": "", ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
353adba7584ba5ce57a5bfcec27a0bac66b5c7da
496da9f56598029d9f34b4b5eb7689750f476707
/analysis/pmf.py
7adfe8a19822fe31486c268a6bb27c4028aa169f
[]
no_license
wangyp36/llcsim
e22d56b6cdb5ca0f643e3134b3b24ac549bbfb0e
8ffae44e5ff2f7fe0e6f51f32d0899acd98ec61d
refs/heads/master
2021-10-11T08:37:55.231820
2019-01-23T22:56:28
2019-01-23T22:56:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,157
py
#!/usr/bin/env python import mdtraj as md import numpy as np import pymbar import argparse from llcsim.setup.residue_topology import Residue from llcsim.analysis import Atom_props import matplotlib.pyplot as plt import warnings warnings.simplefilter(action='ignore', category=FutureWarning) def initialize(): pa...
[ "benjamin.coscia@colorado.edu" ]
benjamin.coscia@colorado.edu
9a4bc2cd59a6a8bf06f6eca10852f04a5b9a2621
dde8b97eee29cd6af17082cf84773d50bea7ca42
/WHAnalysis/Configuration/python/skimming_ett_cff.py
9894ce4a59888484a2e68d200d588496a4f1e0a8
[]
no_license
calabria/WHAnalysis
557cee96fe1dfe221a3a76f99b92f59c0800a8eb
6cdcc0b73d94261f5ff7822b8bf5e48bc08268ae
refs/heads/master
2021-01-23T13:36:11.593683
2014-04-12T10:39:44
2014-04-12T10:39:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
import FWCore.ParameterSet.Config as cms from electronHistos_ett_cff import * skimmedElectrons = cms.EDFilter("PATElectronSelector", src = cms.InputTag("electronVariables"), cut = cms.string('pt > 24. && abs(eta) < 2.1 && ((isEB && userFloat("PFRelIsoDB04") < 0.15) || ...
[ "cesare.calabria23@gmail.com" ]
cesare.calabria23@gmail.com
6bc04cbe9bef936e8b03f30257dd980642088635
e70b678712a355a0b51632728c7781b0bdcf29f4
/Algorithms/Python/Next-Permutation.py
25484560a873d416844a871ab406890796b55883
[]
no_license
keyi/Leetcode_Solutions
b3e3c6835ed335d7d4ad53a1b37e59ac15fcf3af
69e4e969b435ff2796bd7c4b5dad9284a853ab54
refs/heads/master
2020-05-21T23:36:20.450053
2018-11-11T03:45:28
2018-11-11T03:45:28
33,714,612
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
class Solution(object): def nextPermutation(self, nums): """ :type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead. """ left, right = -1, -1 for i in range(len(nums) - 1): if nums[i] < nums[i + 1]: left = ...
[ "yike921012@gmail.com" ]
yike921012@gmail.com
2c46f60d2fd89cab8c491fad1b4dd269924164bf
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_118/977.py
29a7741a218216554f1a711e65d07a2ace5e8d80
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
import math def isPal(n): if n%1 != 0: return False sn = str(long(n)) for i in xrange(0, len(sn)): if (sn[i] != sn[-i-1]): return False return True if __name__ == "__main__": T = int(raw_input()) for c in xrange(1,T+1): [A, B] = map(lambda x: long(x), raw_input().split()) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2da7102a1a8c84e25261aa94efbfe23b159ec9aa
f769e0a8e80f604502a63ae0073b8e95c771bad8
/blog_app/urls.py
75de32e6b39b93bb047cf5261111293302901881
[]
no_license
Justprince234/blog
6c318f005346086b2df28741e689a032646d1c9f
25004f3731045384dd423f8e6375a5e609fd5548
refs/heads/master
2023-01-23T14:07:36.119180
2020-08-06T00:57:07
2020-08-06T00:57:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
from django.urls import path from blog_app import views app_name = 'blog_app' urlpatterns = [ path('category/<slug:slug>', views.blog_category, name='blog_category'), path('search/', views.search, name='search'), path('<slug:slug>/', views.post_detail, name='post_detail'), path('', views.post_list, n...
[ "princewilljackson@ymail.com" ]
princewilljackson@ymail.com
79ace01feaaf47a4d80a5259ed902b36c4c7207c
9028b6983685a3ace074049fccf2b8c503b77de8
/PyStationB/libraries/GlobalPenalisation/gp/base/chain_rule.py
c6d02e92c609b00f5467ad8833e4b3110a301889
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
mebristo/station-b-libraries
7f5517e5e77e6cdc54c03355804b8c0a4fcae65b
40bab526af6562653c42dbb32b174524c44ce2ba
refs/heads/main
2023-09-03T03:54:53.181082
2021-10-01T03:21:11
2021-10-01T03:21:11
412,871,835
0
0
MIT
2021-10-02T17:53:07
2021-10-02T17:53:06
null
UTF-8
Python
false
false
3,144
py
# ------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. # ----------------------------------------------------------------------...
[ "noreply@github.com" ]
mebristo.noreply@github.com
78d810e3b5a2e9540be39cafd4404716991161ff
119f87ff16278614dce6571a451c54b839a4bead
/catalyst/utils/meters/ppv_tpr_f1_meter.py
3fb52f541fa221d5341855724b7597f9e2967f65
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
valyukov/catalyst
17e6243cd2b0f9c790645647b7946ef05c1b57fa
a1d2638f22ff7bede74410baeb8bc6a7aff036df
refs/heads/master
2020-08-04T17:01:27.565749
2020-02-15T13:33:44
2020-02-15T13:33:44
212,212,412
0
0
Apache-2.0
2019-10-01T22:39:05
2019-10-01T22:39:05
null
UTF-8
Python
false
false
3,662
py
from collections import defaultdict import torch from . import meter def f1score(precision_value, recall_value, eps=1e-5): """ Calculating F1-score from precision and recall to reduce computation redundancy. Args: precision_value: precision (0-1) recall_value: recall (0-1) Return...
[ "scitator@gmail.com" ]
scitator@gmail.com
59fd2d2296999f253b25fe78c0624d986b164c3f
7911da973079f325a515cd2ee66f7590a9f32e48
/great_divice.py
5edc06a2eac8745bdbb62b1d2d89b3b76c151283
[]
no_license
Ponkiruthika112/Guvi
5d2ff3dcf55d6c52c0f09a1e577d8b11632c7a92
319e5b4dab5654fabc25ef15c1d528f76d833c15
refs/heads/master
2020-04-21T06:05:03.581658
2018-08-02T05:53:48
2018-08-02T05:53:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
n1=int(input("N1 value:")) n2=int(input("N2 value:")) maximum=1 for x in range(1,min(n1,n2)+1): if n1%x==0 and n2%x==0: if x>maximum: maximum=x print("Ans is:",maximum)
[ "noreply@github.com" ]
Ponkiruthika112.noreply@github.com
905ef18e702d20a1fcff2e1cadc2674abfa4e3af
6dae31f10260e39feae9d268e3ebe6d23146575a
/galaxy/bin_eBOSS_ELG/create_stack_list_ELG_all.py
55cc2990fa24df1a48b2ead2e16fef481eaded1d
[ "CC0-1.0" ]
permissive
JohanComparat/pySU
e55eba92f0660e733468bce618595a03dc25a3d2
4169e11414be661dc0c01c774e64fb8ce6242825
refs/heads/master
2021-12-25T11:06:04.315554
2021-10-11T12:03:22
2021-10-11T12:03:22
44,340,565
1
2
null
null
null
null
UTF-8
Python
false
false
1,530
py
#! /usr/bin/env python """ This script produces the stacks for emission line luminosity limited samples. """ import sys import os from os.path import join import glob import numpy as n import astropy.io.fits as fits import SpectraStackingEBOSS as sse from scipy.interpolate import interp1d from astropy.cosmology imp...
[ "johan.comparat@gmail.com" ]
johan.comparat@gmail.com
da2c73030f131e6a6657b73707e086a447727784
558e979b7c6d5dc2599453392ed624265a831d0d
/glamazer/favorites/models.py
cdc9a8d82dafb91981adcda84c1f1522fd8fdf14
[]
no_license
SpeeDly/partytask
af08ca089d518bc0d09dda61e68ce3c1d117ab2b
c9a813bc130c41995140adaa4a19344791b89968
refs/heads/master
2021-01-10T15:42:41.761160
2016-02-15T13:48:13
2016-02-15T13:48:13
51,758,449
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
from django.db import models from django.contrib.auth.models import User from glamazer.listings.models import Listing class Favorite(models.Model): user = models.ForeignKey(User) listing = models.ForeignKey(Listing) date = models.DateTimeField(auto_now_add=True)
[ "zhuhov@gmail.com" ]
zhuhov@gmail.com
5e03fc0c1a8453bd3880c448edf424c8704ddbc0
54bd004dd18f23b46fd75288823977a93d6c7c9d
/Python_basics/p38.py
d7497f9f0ff4cade758fa4609d61848746daea7f
[]
no_license
Gagangithub1988/Python
13f914a200f6f4750c1b7da1467ca7e3f48814d0
8c9ba1902ac45841fd3145d49b08547420f15f2d
refs/heads/master
2022-11-03T22:12:51.799829
2020-06-20T06:46:45
2020-06-20T06:46:45
273,642,890
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
def fun(x,y): result = (x+y)**2 return result print(fun(3,4))
[ "noreply@github.com" ]
Gagangithub1988.noreply@github.com
b109cb8b121bd51d0db13746d6f51a2a11d5ce4e
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa2/sample/class_def_attr-107.py
7f478ef28ce91a5201adf88cbe7f4d1ad105b948
[]
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
216
py
class A(object): x:int = 1 class B(A): def __init__(self: "B"): pass class C(B): z:bool = True a:A = None b:B = None c:C = None a = A() b = B() c = C() $Statement b.x = a.x c.z = a.x == b.x
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
361eb11c018dc172bfabcdcd14403d0fe324b70b
4717e299b70d658f607becacd5f202cdba904181
/scripts/mount-image-partitions.sh
f17ca7525822a6916e1d6b07b2ee4de504e51ea7
[ "MIT" ]
permissive
deets/yocto-pi-lap-timer
8ea4840320675cb3c22a73fc25199fb96d379f9b
857ea7e27ed3df979fbf22129da428430a40426c
refs/heads/master
2023-01-24T06:36:28.649809
2023-01-01T18:13:37
2023-01-01T18:13:37
245,871,535
0
0
MIT
2023-01-20T22:30:26
2020-03-08T19:04:35
C++
UTF-8
Python
false
false
3,685
sh
#!/usr/bin/env python3 # -*- mode: python -*- # Copyright: 2020, Diez B. Roggisch, Berlin . All rights reserved. import argparse import json import logging import os import subprocess import sys USAGE = """Images containing several partitions are cumbersome to inspect. You need to figure out partition block ranges, an...
[ "deets@web.de" ]
deets@web.de
ed149966b9509c17ce4cb3de3841e639cb2c9a4b
88ae8695987ada722184307301e221e1ba3cc2fa
/chrome/browser/ui/webui/side_panel/read_anything/DEPS
0d08619c1aa0d97e9806133820d5e14f04bdfaf3
[ "BSD-3-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
230
include_rules = [ "+chrome/common/accessibility", ] specific_include_rules = { "read_anything_page_handler\.*": [ "+chrome/browser/ui/views/side_panel/read_anything", "+chrome/browser/ui/views/frame/browser_view.h", ], }
[ "jengelh@inai.de" ]
jengelh@inai.de
54f7efa4be54b7bfa4d320fc695d8ebaee3721de
d191a04a3ded41175ea84ae88ebddb4f262b7fb1
/tree/leaf-similar_trees.py
f3e2de3f3491a207853a3eb9634c2e7fd4401330
[]
no_license
YLyeliang/now_leet_code_practice
ae4aea945bae72ec08b11e57a8f8a3e81e704a54
204d770e095aec43800a9771fe88dd553463d2f7
refs/heads/master
2022-06-13T20:22:51.266813
2022-05-24T05:29:32
2022-05-24T05:29:32
205,753,056
3
0
null
null
null
null
UTF-8
Python
false
false
2,193
py
# Consider all the leaves of a binary tree. From left to right order, the values of those leaves form a leaf value sequence. # # 3 # 5 1 # 6 2 9 8 # 7 4 # For example, in the given tree above, the leaf value sequence is (6, 7, 4, 9, 8). # # Two binary trees are considered leaf-simil...
[ "k87974@163.com" ]
k87974@163.com
832551fed04256accf01a92952917bc2b13db83a
772b0df2635b95644ea3eb370103174804024167
/scripts/exonU.py
ae8f5252c8e3b2a19529d53f4cea5dae88284b92
[ "MIT" ]
permissive
4dn-dcic/clodius
ec909bda90a9df13fa1b85472951f6cf149213a5
aa31b3d90a5a9fec883c20cab31ad4d347cd52cd
refs/heads/develop
2020-04-17T23:31:32.114043
2019-04-02T14:01:46
2019-04-02T14:01:46
167,038,915
0
0
MIT
2019-03-28T20:10:46
2019-01-22T17:43:32
Python
UTF-8
Python
false
false
4,095
py
from __future__ import print_function __author__ = "Alaleh Azhir,Peter Kerpedjiev" #!/usr/bin/python import collections as col import sys import argparse class GeneInfo: def __init__(self): pass def merge_gene_info(gene_infos, gene_info): ''' Add a new gene_info. If it's txStart and txEnd overl...
[ "pkerpedjiev@gmail.com" ]
pkerpedjiev@gmail.com
acfa4053f94dbce50a7b89103402ace6cd401a3d
65329299fca8dcf2e204132624d9b0f8f8f39af7
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/interfaces/interface/timers/__init__.py
104d9b2637c313bdee6b3a7271d1e67c2fbb956f
[ "Apache-2.0" ]
permissive
darylturner/napalm-yang
bf30420e22d8926efdc0705165ed0441545cdacf
b14946b884ad2019b896ee151285900c89653f44
refs/heads/master
2021-05-14T12:17:37.424659
2017-11-17T07:32:49
2017-11-17T07:32:49
116,404,171
0
0
null
2018-01-05T16:21:37
2018-01-05T16:21:36
null
UTF-8
Python
false
false
14,642
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from decimal import Decimal from bitarray import bitar...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
6d26e7d8a39dea94a32fcdd63dc99c2a597f95bb
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2821/60651/234231.py
f4edee98f21804eb117fe388b3c8b273936dceec
[]
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
490
py
n=int(input()) list1=input().split() list1=[int(x) for x in list1] p1=0 p2=0 while(len(list1)>1): if list1[0]>=list1[len(list1)-1]: p1+=list1[0] del(list1[0]) else: p1+=list1[len(list1)] del(list1[len(list1)]) if list1[0]>=list1[len(list1)-1]: p2+=list1[0] ...
[ "1069583789@qq.com" ]
1069583789@qq.com
75a398246bbdcce760ca60cf2878fa345bbdca0c
099256b28df65fb7c90c077b060dca16b8655235
/reinforcement_learning/0x00-q_learning/2-epsilon_greedy.py
2430cee4b9e0d6d3beea190f0e178793a8c3ec3b
[]
no_license
Immaannn2222/holbertonschool-machine_learning
1cebb9a889b363669bed7645d102dc56ab943c08
80bf8d3354702f7fb9f79bbb5ed7e00fc19f788d
refs/heads/master
2023-08-01T05:35:00.180472
2021-09-22T20:28:17
2021-09-22T20:28:17
317,624,526
1
0
null
null
null
null
UTF-8
Python
false
false
337
py
#!/usr/bin/env python3 """Q-Learning""" import gym import numpy as np def epsilon_greedy(Q, state, epsilon): """uses epsilon-greedy to determine the next action""" p = np.random.uniform(0, 1) if p < epsilon: action = np.random.randint(Q.shape[1]) else: action = np.argmax(Q[state, :]) ...
[ "imennaayari@gmail.com" ]
imennaayari@gmail.com
03677753672e492a352d7591d8b920b07ca19949
b96f1bad8a74d31d8ff79bc955813bfcd17d7b26
/560. Subarray Sum Equals K.py
7388bfa4045464b95f7ef4a1835a360ec064851a
[]
no_license
brianhu0716/LeetCode-Solution
e7177af15e84e833ce8ab05027683ed4ac489643
158a4359c90b723545b22c4898047274cc1b80a6
refs/heads/main
2023-07-11T05:29:56.783795
2021-08-28T12:53:14
2021-08-28T12:53:14
374,991,658
0
0
null
null
null
null
UTF-8
Python
false
false
2,527
py
# -*- coding: utf-8 -*- """ Created on Sun Apr 4 18:21:15 2021 @author: Brian """ ''' 前綴和(Prefix Sum)的概念,前綴和是指由index = 0至index = i(i < len(nums))所累加成的數字組成的數列,此種概念非常適合解 這類序列中有正有負,又要求必須要連續的題型,以此題為例,目標是要找到和為k的子序列個數,因此我們先建立一個由前綴和為key值, 出現次數為value值的表,每當我們計算一次前綴和後我們同時可以查表中是否有出現當前prefixSum - k的key出現,有的話代表prefixSum - k 對應的次數...
[ "85205343+brianhu0716@users.noreply.github.com" ]
85205343+brianhu0716@users.noreply.github.com
c2a8f3da8dd2bd5019bd6fc5e761b3e7657d292d
a439ca43178d38cfe6daaee50ea134ca6c52b502
/thaniya_server_upload/src/thaniya_server_upload/__init__.py
bc23281f002d4aaf2bd5c044627665570e87f050
[ "Apache-2.0" ]
permissive
jkpubsrc/Thaniya
37ca727abdc6f9f605257813889fe3a033995bba
4ebdf2854e3d7888af7396adffa22628b4ab2267
refs/heads/master
2023-03-05T20:58:59.528746
2021-02-15T19:31:06
2021-02-15T19:31:06
331,318,787
1
0
null
null
null
null
UTF-8
Python
false
false
188
py
 __version__ = "0.2021.1.20" from .UploadHttpdCfg import UploadHttpdCfg from .IAppRuntimeUserMgr import IAppRuntimeUserMgr from .AppRuntimeUploadHttpd import AppRuntimeUploadHttpd
[ "pubsrc@binary-overflow.de" ]
pubsrc@binary-overflow.de
a9ffb5601e405aada062d39d769a9c49544fc474
092056c026f3ef162c31bca004a596bbe78948e9
/w261/wk3/reducer_hw32.py
10741e7585b2d326ecaeb8047f54c062d1939548
[]
no_license
sayantansatpati/ml
4138bbafd216a8ad848a56e4818163649a28b6a9
9f1765b716f39a1ef159db98b2813761bbc14b60
refs/heads/master
2021-01-19T03:19:42.734130
2019-03-12T15:44:15
2019-03-12T15:44:15
36,243,314
4
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
#!/usr/bin/python import sys import re import heapq itemset_1_cnt = 0 itemset_2_cnt = 0 itemset_1_last = None itemset_2_last = None ''' a1,* 1 a1,* 1 a1,b1 1 a1,b1 1 a1,b2 1 a1,b2 1 a2,* 1 ''' THRESHOLD = 100 # Store Itemsets 2 dict = {} for line in sys.stdin: # Remove leading & trailing chars line = l...
[ "sayantan.satpati.sfbay@gmail.com" ]
sayantan.satpati.sfbay@gmail.com
f2771a5178bd4266291d576c422b0f411c8ebd69
c5ac7d9c4e4ad2f7809777c4e54f56b99eba1188
/Elastix/Elastix.py
a886293f63dcbd5628cf9d44c9f8f024a9b16d38
[]
no_license
mirabelarusu/SlicerElastix
e4843c401097b6c4835a49916657d9fb22e68b7b
7d3deb3985d63344eb501892ae04a05e8bbbd253
refs/heads/master
2020-03-26T12:21:54.733526
2018-05-30T19:39:15
2018-05-30T19:39:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,884
py
import os import unittest import vtk, qt, ctk, slicer from slicer.ScriptedLoadableModule import * import logging # # Elastix # class Elastix(ScriptedLoadableModule): """Uses ScriptedLoadableModule base class, available at: https://github.com/Slicer/Slicer/blob/master/Base/Python/slicer/ScriptedLoadableModule.py ...
[ "lasso@queensu.ca" ]
lasso@queensu.ca
dd9892018dc6b2d6514d2081c8fca5562e57d115
65fe8e97656d41074e25219268c7b0a78fafb398
/camera_infer.py
7e74deaef16d9506c93f9ad054a23474383cb7d8
[ "Apache-2.0" ]
permissive
Wblossom/Tensorflow-FaceRecognition
c48923f9ed8695380f251b5a81bcccafae33f44b
bc567fb53dc11554bfaf612f3a21045f7ab24876
refs/heads/master
2022-12-07T10:07:18.290096
2020-08-27T02:35:25
2020-08-27T02:35:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,491
py
import cv2 import numpy as np import sklearn import config from utils import face_preprocess from PIL import ImageFont, ImageDraw, Image from utils.utils import feature_compare, load_mtcnn, load_faces, load_mobilefacenet, add_faces # 人脸识别阈值 VERIFICATION_THRESHOLD = config.VERIFICATION_THRESHOLD # 检测人脸检测模型 mtcnn_detec...
[ "yeyupiaoling@foxmail.com" ]
yeyupiaoling@foxmail.com
a5c4298eb129e99af9224110f4761b4b8ed3bd22
67117705720a3e3d81253ba48c1826d36737b126
/Wk10_STRANDS/get_valid1.py
df448f30ab90cf1b517fb5526efd7d00ee5ea597
[]
no_license
pyliut/Rokos2021
41f0f96bc396b6e8a5e268e31a38a4a4b288c370
70753ab29afc45766eb502f91b65cc455e6055e1
refs/heads/main
2023-08-13T17:29:30.013829
2021-09-26T19:01:35
2021-09-26T19:01:35
382,092,802
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
# -*- coding: utf-8 -*- """ Created on Tue Aug 10 13:24:32 2021 @author: pyliu """ import pandas as pd def get_valid1(df, adjacent): df = df.loc[ ( df["origin"].isin(adjacent.keys()) & df["target"].isin(adjacent.keys()) ), :] df = df[["_id", "status", "origin", "target", "edge_id","date_finish...
[ "noreply@github.com" ]
pyliut.noreply@github.com
bb57a1105696946aa3421b5e5bf5cdc028143bb2
7cf8eb48e36e1aabf78f8fc4f9d5cfb0cfbc936b
/chapter3/odd_numbers.py
d8b26985e7ce50401bfd78fd04de691b15df0715
[ "Apache-2.0" ]
permissive
AbdallahAhmed1999/WDMM-1402
47c6775e83ba01f7914451a181746c7f8acbff8b
1d34a3c4bbedb6e2fcd1f45cc81e6aae5adad7d0
refs/heads/master
2020-04-23T23:14:15.570154
2018-12-24T11:58:49
2018-12-24T11:58:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
# print odd numbers from 1 to 10 (1, 3, 5, ..., 9) for i in range(11): if i % 2 == 1: print(i)
[ "motaz.saad@gmail.com" ]
motaz.saad@gmail.com
2993c86ec6a80448c6afc224530dff735ad239be
81d635211686b1bc87af5892bd9e0fb95cc2ddb8
/adwords api/googleads-python-lib-master/examples/dfp/v201502/custom_targeting_service/get_custom_targeting_keys_by_statement.py
0812eb4235de6320b09005b1154ac6fbaf2ee011
[ "Apache-2.0" ]
permissive
analyticsbot/Python-Code---Part-2
de2f0581258b6c8b8808b4ef2884fe7e323876f0
12bdcfdef4472bcedc77ae61707c25a4a09cba8a
refs/heads/master
2021-06-04T05:10:33.185766
2016-08-31T13:45:45
2016-08-31T13:45:45
66,679,512
3
0
null
null
null
null
UTF-8
Python
false
false
1,953
py
#!/usr/bin/python # # Copyright 2015 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 b...
[ "ravi.shankar1788@gmail.com" ]
ravi.shankar1788@gmail.com
52438bbc1d7accc32306a2504e0b0ac1b2143bf5
505343f6ace00d22f8753c1a943a5794a619e698
/katas/Python/5 kyu/Eight ways to iterate over table 5af5c18786d075cd5e00008b.py
24fec5621cd28f0bfe275dbea42300fdad8dd66c
[]
no_license
bullet1337/codewars
7652e50bf768bc47976a9124dd98b93602d4d458
ba7f13ddd766158b41e036dae5d6b15f7f08761a
refs/heads/master
2020-03-27T05:04:03.751302
2019-04-30T17:45:39
2019-04-30T17:45:39
145,991,995
1
0
null
null
null
null
UTF-8
Python
false
false
842
py
# https://www.codewars.com/kata/5af5c18786d075cd5e00008b DIRECTION_UP, DIRECTION_LEFT, DIRECTION_DOWN, DIRECTION_RIGHT = range(1,5) class Table: def __init__(self, data): self.data = data def get_range(self, dir): if dir == DIRECTION_UP: return range(len(self.data) - 1, -1...
[ "alichek95@mail.ru" ]
alichek95@mail.ru
92aacf961b4b95d0e6211c1e212a46717c305669
a145974f133dbbce352a2c001f3b386b04a3b1e7
/network_manage_api/apps/networks_manage/apps.py
c6b4a0cf2a88ed6a05076f662513e6b86e1d4069
[]
no_license
571451370/network_manage
fa04db513e8da82cb610c28e918bb7e896b73350
1efcb4f79dc3f7be45e3789e461f1a4ccb7e8dec
refs/heads/master
2023-03-18T09:52:01.928312
2020-10-29T07:31:38
2020-10-29T07:31:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
from django.apps import AppConfig class NetworksManageConfig(AppConfig): name = 'networks_manage'
[ "l" ]
l
10901ab549fe64751337168cade0014abf98999b
c85b91bfdd7eb2fa5a7d6c6a9b722c8548c83105
/vscode/extensions/ms-python.python-2020.3.69010/languageServer.0.5.31/Typeshed/stdlib/2/multiprocessing/util.pyi
76f9424a6774726392f442e22dae101e2e626220
[ "MIT", "Apache-2.0" ]
permissive
ryangniadek/.dotfiles
ddf52cece49c33664b56f01b17d476cf0f1fafb1
be272baf6fb7d7cd4f4db1f6812b710196511ffe
refs/heads/master
2021-01-14T07:43:12.516127
2020-03-22T20:27:22
2020-03-22T20:27:22
242,632,623
0
0
MIT
2020-09-12T17:28:01
2020-02-24T02:50:06
Python
UTF-8
Python
false
false
741
pyi
from typing import Any import threading SUBDEBUG = ... # type: Any SUBWARNING = ... # type: Any def sub_debug(msg, *args): ... def debug(msg, *args): ... def info(msg, *args): ... def sub_warning(msg, *args): ... def get_logger(): ... def log_to_stderr(level=None): ... def get_temp_dir(): ... def regis...
[ "ryan@gniadek.net" ]
ryan@gniadek.net
646938fdb988b0da4f7455fce4fddf228f6bd0b0
254e35ed13abb5670eb664c1b17cb77d6b2d6289
/LeetCode/python/_229.MajorityElementII.py
f84f099e6907b3b8184ac96ff90db0bcae53f8a1
[]
no_license
bobby20180331/Algorithms
475f7b29efcab829bc97b18a088600d406850fc7
c56967e292b34162438f86bfc4c76925329105dd
refs/heads/master
2023-04-23T04:36:26.977179
2021-02-04T06:47:41
2021-02-04T06:47:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,544
py
#难点在于 linear time and in O(1) #没思路,查了下,好像用Boyer-Moore Majority Vote algorithm #这个算法是解决这样一个问题:从一个数组中找出出现半数以上的元素。 这道题是求n/3 ''' 每次都找出一对不同的元素,从数组中删掉,直到数组为空或只有一种元素。 不难证明,如果存在元素e出现频率超过半数,那么数组中最后剩下的就只有e。 ''' class Solution(object): def majorityElement(self, nums): """ :type nums: List[int] :rtyp...
[ "noreply@github.com" ]
bobby20180331.noreply@github.com
4ca4ef13e503c3348a0195e98d2a84a5902c7db3
83ecabbeea8b17a3fd9b8142062f09c76198e232
/test/test_document_2.py
34e6255c4f1a7ac910d2259eec0bfd0bc5f5172c
[]
no_license
junetigerlee/python-wso2-apim-publisherclient
387f581bb48645b35f256159cce0031babd493f0
5e1cadeab4eb37ebc93e46b45d6d1f98f4fdfde9
refs/heads/master
2021-01-01T16:11:45.362270
2017-07-25T06:20:46
2017-07-25T06:20:46
97,783,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,237
py
# coding: utf-8 """ WSO2 API Manager - Publisher API This specifies a **RESTful API** for WSO2 **API Manager** - Publisher. Please see [full swagger definition](https://raw.githubusercontent.com/wso2/carbon-apimgt/v6.0.4/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher/src/main/resources/publisher...
[ "junetigerlee@gmail.com" ]
junetigerlee@gmail.com
cf7d9faca9205cada39610e551a3816b38472e19
f92ffbbaf2783dbd566e2d11d065fc02fb6255f7
/.c9/metadata/workspace/My_Study/myform/urls.py
85aaf9fc439fe708fa5892ec6fb677f2ce0b8139
[]
no_license
chelseashin/django_practice
20551810f31ffea1c7eb1ea301ffdbb2890a6830
6c28e44aa6c8b646d98e32307827c5ced5ba2c59
refs/heads/master
2020-06-04T09:19:26.404723
2019-06-14T15:10:36
2019-06-14T15:10:36
191,962,567
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
{"filter":false,"title":"urls.py","tooltip":"/My_Study/myform/urls.py","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":15,"column":32},"end":{"row":15,"column":32},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapT...
[ "chaewonshin95@gmail.com" ]
chaewonshin95@gmail.com
639d0089dc164b752a30ef726417d9d4557180ea
4fcad69a9b2aec97fa29e0010d82f0f085cdc446
/tsampi/pypy/lib_python-bak/hypothesis/utils/__init__.py
44d438c8e378b5f27ebbb6ac0833bbf585e8de04
[]
no_license
tsampi/tsampi-0
b64d4457f58314343630b04232c6ecc74c7bfda1
5e0183e80718d5668b4b5b96631853942e344b64
refs/heads/master
2021-01-19T04:35:05.640785
2016-09-12T18:34:25
2016-09-12T18:34:25
49,612,767
1
3
null
2016-03-25T10:35:41
2016-01-14T01:02:18
Python
UTF-8
Python
false
false
800
py
# coding=utf-8 # # This file is part of Hypothesis (https://github.com/DRMacIver/hypothesis) # # Most of this work is copyright (C) 2013-2015 David R. MacIver # (david@drmaciver.com), but it contains contributions by others. See # https://github.com/DRMacIver/hypothesis/blob/master/CONTRIBUTING.rst for a # full list of...
[ "tim@readevalprint.com" ]
tim@readevalprint.com